/* 🌿 Tema: Consultoria Gratuita — Terapeuta Lorena Jacob */
/* Estilo leve, responsivo e otimizado para mobile-first */

/* ----------- Variáveis de cor e fonte ----------- */
:root {
  --azul-pastel: #a6b8ff;
  --amarelo-pastel: #ffeab6;
  --branco: #ffffff;
  --cinza-claro: #f8f8f8;
  --fonte-principal: "Quicksand", sans-serif;
  --fonte-secundaria: "Poppins", sans-serif;
  --fonte-corpo: "Montserrat", sans-serif;
}

/* ----------- Reset básico ----------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--fonte-corpo);
  background-color: var(--branco);
  color: #333;
  overflow-x: hidden;
}

/* ----------- Seção Hero (principal) ----------- */
.hero {
  background-image: url("Imagens/backgroud.pc.jpg");
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  padding: 80px 20px;                 /* mantido */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: background-image 0.5s ease-in-out;
  z-index: 1;
}

/* Novo wrapper de conteúdo do hero (substitui .hero-container/.hero-text) */
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 700px;                   /* mantido */
  width: 100%;
  /* Fundo opcional para legibilidade — se quiser sem “véu”, troque por 'background: transparent' */
  background: rgba(255, 255, 255, 0.0);  /* transparente por padrão (você pediu sem opacidade no fundo) */
  /* Se desejar um véu leve, use:
     background: rgba(255, 255, 255, 0.7);
     backdrop-filter: blur(3px);
     -webkit-backdrop-filter: blur(3px);
  */
  border-radius: 20px;
  padding: 0;                         /* respeita o espaçamento que já vem do .hero */
}

.hero h1 {
  font-family: var(--fonte-principal);
  font-weight: 700;
  font-size: 2rem;                    /* mantido */
  line-height: 1.3;                   /* mantido */
  color: #1d2b4d;
}

.hero h1 span {
  color: var(--azul-pastel);
}

.hero p {
  font-family: var(--fonte-secundaria);
  font-size: 1rem;                    /* mantido */
  margin-top: 15px;                   /* mantido */
  margin-bottom: 25px;                /* mantido */
  color: #333;
}

/* ----------- Botão principal ----------- */
.btn-cta {
  display: inline-block;
  background: var(--amarelo-pastel);  /* mantido da sua versão */
  color: #333;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;                    /* mantido */
  padding: 12px 28px;                 /* mantido */
  border-radius: 30px;                /* mantido */
  box-shadow: 0 4px 10px rgba(166, 184, 255, 0.4);
  transition: 0.3s ease;
  position: relative;
  z-index: 40;                        /* garante topo */
  cursor: pointer;
}

.btn-cta:hover {
  background: var(--azul-pastel);
  color: var(--branco);
}

/* ----------- Formulário ----------- */
.form-section {
  background: var(--cinza-claro);
  padding: 60px 20px;                 /* mantido */
  display: flex;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 0;
}

.form-container {
  max-width: 400px;
  width: 100%;
}

.form-container h2 {
  font-family: var(--fonte-principal);
  color: #1d2b4d;
  font-size: 1.5rem;                  /* mantido */
  margin-bottom: 10px;                /* mantido */
}

.form-container p {
  font-family: var(--fonte-secundaria);
  font-size: 1rem;                    /* mantido */
  margin-bottom: 25px;                /* mantido */
  color: #555;
}

.contact-form input,
.contact-form select {
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 25px;
  font-family: var(--fonte-corpo);
  font-size: 1rem;
  outline: none;
  transition: 0.2s;
}

.contact-form input:focus,
.contact-form select:focus {
  border-color: var(--azul-pastel);
  box-shadow: 0 0 6px rgba(166, 184, 255, 0.5);
}

.btn-submit {
  background: var(--azul-pastel);
  color: var(--branco);
  border: none;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
  width: 100%;
}

.btn-submit:hover {
  background: var(--amarelo-pastel);
  color: #333;
}

/* ----------- Responsividade ----------- */

/* 📱 Mobile */
@media screen and (max-width: 768px) {
  .hero {
    background-image: url("Imagens/backgroud.mobile.jpg");
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 180px;               /* mantido: desce o conteúdo para não tampar o rosto */
    padding-bottom: 100px;            /* mantido */
    padding-left: 25px;               /* mantido */
    padding-right: 25px;              /* mantido */
    transition: background-image 0.5s ease-in-out;
  }

  /* Em vez de translateY (que cria stacking context), use margin-top */
  .hero-content {
    margin-top: 40px;                 /* equivalente ao seu translateY(40px) */
    padding: 0 0;                     /* sem padding extra pra manter proporção que você já definiu */
    text-align: center;
  }

  .hero h1 {
    font-size: 1.6rem;                /* mantido */
    line-height: 1.3;
  }

  .hero p {
    font-size: 0.85rem;               /* mantido */
    margin-top: 15px;
    margin-bottom: 25px;
  }

  .form-container {
    max-width: 100%;
    padding: 0 10px;
  }

  .btn-cta {
    width: 100%;
    padding: 14px 0;
    font-size: 1rem;
  }
}

/* 💻 Desktop */
@media screen and (min-width: 1024px) {
  .hero {
    text-align: left;
    padding: 120px 100px;             /* mantido */
  }

  .hero-content {
    max-width: 800px;                 /* mantido do seu container desktop */
  }

  .hero h1 {
    font-size: 2.6rem;                /* mantido */
  }

  .form-section {
    padding: 100px 0;                 /* mantido */
  }
}
