/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* VARIÁVEIS */
:root {
  --pink: #ff2f7a;
  --blue: #2f5bd3;
  --cyan: #1bb3d9;
  --white: #ffffff;
  --gray: #f5f7fa;
  --dark: #1a1a1a;
}

/* BODY */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--gray);
  color: var(--dark);
}

/* CONTAINER */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 60px 20px;
}

/* FLEX */
.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* TEXT */
.center {
  text-align: center;
}

/* ========================= */
/* HEADER */
/* ========================= */

.header {
  position: fixed;
  width: 100%;
  top: 0;
  background: white;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  z-index: 1000;
}

.logo img {
  height: 70px;
}

/* MENU DESKTOP */
.menu {
  display: flex;
}

.menu a {
  margin: 0 12px;
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: 0.3s;
}

.menu a:hover {
  color: var(--pink);
}

/* AÇÕES */
.actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* BOTÃO MOBILE */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* MENU MOBILE */
.menu-mobile {
  display: none;
  flex-direction: column;
  background: white;
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.menu-mobile a {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  color: var(--dark);
}

/* ========================= */
/* BOTÕES */
/* ========================= */

.btn-primary {
  background: var(--pink);
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #e0266a;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
}

/* ========================= */
/* HERO */
/* ========================= */

.hero {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: white;
  text-align: center;
  padding: 140px 20px 80px;
}

.hero-content {
  max-width: 800px;
  margin: auto;
}

.hero h1 {
  font-size: 3rem;
}

.hero p {
  margin-top: 15px;
  font-size: 1.2rem;
}

.hero-buttons {
  margin-top: 30px;
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================= */
/* GRID + CARDS */
/* ========================= */

.grid-custom {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.card {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-8px);
}

/* ========================= */
/* SEÇÕES */
/* ========================= */

.section-light {
  background: white;
  padding: 60px 20px;
}

.cta {
  background: var(--blue);
  color: white;
  text-align: center;
  padding: 60px 20px;
}

/* ========================= */
/* FORM */
/* ========================= */

form input,
form textarea,
form select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 10px;
}

form input:focus,
form textarea:focus {
  border-color: var(--pink);
  outline: none;
}

/* ========================= */
/* MODAL */
/* ========================= */

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
}

.modal-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
}

.modal-box {
  position: relative;
  background: white;
  width: 95%;
  max-width: 500px;
  border-radius: 12px;
  padding: 25px;
  z-index: 2;
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ========================= */
/* FOOTER */
/* ========================= */

footer {
  background: var(--dark);
  color: white;
  text-align: center;
  padding: 20px;
}

/* ========================= */
/* WHATS FLOAT */
/* ========================= */

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 55px;
  height: 55px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  z-index: 9999;
  transition: 0.3s;
}

/* IMAGEM DENTRO */
.whatsapp-float img {
  width: 28px;
  height: 28px;
}

/* HOVER */
.whatsapp-float:hover {
  transform: scale(1.1);
}

/* ========================= */
/* RESPONSIVO */
/* ========================= */

@media (max-width: 768px) {

  .hero h1 {
    font-size: 2rem;
  }

  .flex-between {
    flex-direction: row;
  }

  /* ESCONDE MENU DESKTOP */
  .menu {
    display: none;
  }

  /* MOSTRA BOTÃO MOBILE */
  .menu-toggle {
    display: block;
  }

  .actions {
    gap: 5px;
  }

    .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }

  .whatsapp-float img {
    width: 24px;
    height: 24px;
  }

}