/* =========================================================
   1. CORES PRINCIPAIS DO SITE
   ========================================================= */

:root {
  --white: #fffdf9;

  /* Fundos claros */
  --soft: #f5eee6;
  --soft-2: #eee1d3;

  /* Tons terrosos */
  --earth: #8a6048;
  --earth-dark: #5e4030;
  --earth-mid: #a87858;

  /* Textos */
  --text: #5d493d;
  --muted: #887466;

  /* Bordas e sombras */
  --border: rgba(94, 64, 48, 0.16);
  --shadow: 0 18px 60px rgba(94, 64, 48, 0.09);
}



/* =========================================================
   2. CONFIGURAÇÕES GERAIS DO SITE
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  background: var(--white);

  color: var(--text);

  font-family: "Montserrat", sans-serif;

  line-height: 1.7;
}



/* =========================================================
   3. LINKS E IMAGENS
   ========================================================= */

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}



/* =========================================================
   4. CONTAINER PRINCIPAL
   Controla a largura do conteúdo do site
   ========================================================= */

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}



/* =========================================================
   5. CABEÇALHO / MENU
   ========================================================= */

.header {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;

  z-index: 1000;

  background: rgba(255, 253, 249, 0.92);

  backdrop-filter: blur(14px);

  border-bottom: 1px solid var(--border);

  transition: 0.3s;
}


/* Sombra que aparece quando a pessoa rola a página */

.header.scrolled {
  box-shadow: 0 10px 30px rgba(94, 64, 48, 0.08);
}


/* Organização do conteúdo do menu */

.nav-wrap {
  min-height: 78px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;
}



/* =========================================================
   6. LOGO / NOME DA CASA
   ========================================================= */

.brand {
  display: flex;
  align-items: center;

  gap: 12px;

  color: var(--earth-dark);

  font-weight: 700;
}


.brand-mark {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}


/* =========================================================
   7. LINKS DO MENU
   ========================================================= */

.nav {
  display: flex;

  gap: 28px;

  font-size: 14px;

  font-weight: 600;
}


.nav a {
  position: relative;
}


/* Linha que aparece embaixo do menu */

.nav a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -6px;

  width: 0;
  height: 1px;

  background: var(--earth);

  transition: 0.25s;
}


.nav a:hover::after {
  width: 100%;
}



/* =========================================================
   8. BOTÃO DO MENU MOBILE
   ========================================================= */

.menu-toggle {
  display: none;

  background: none;

  border: 0;

  cursor: pointer;

  padding: 8px;
}


.menu-toggle span {
  display: block;

  width: 26px;
  height: 2px;

  background: var(--earth-dark);

  margin: 5px 0;
}



/* =========================================================
   9. PRIMEIRA PARTE DO SITE / HERO
   ========================================================= */

.hero {
  min-height: 100vh;

  display: flex;

  align-items: flex-end;

  position: relative;

  padding: 145px 0 100px;


  /* =====================================================
     FOTO DO FUNDO DO COMEÇO DO SITE

     TROQUE SOMENTE O CAMINHO DA IMAGEM ABAIXO
     ===================================================== */

  background-image: url("img/foto-inicio.png");


  /* Posição da imagem */

  background-position: center;


  /* Faz a foto preencher o espaço */

  background-size: cover;


  /* Impede repetição */

  background-repeat: no-repeat;
}



/* =========================================================
   10. CAMADA BRANCA SOBRE A FOTO DO COMEÇO
   ========================================================= */

.hero-overlay {
  position: absolute;

  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(255, 253, 249, 0.98) 0%,
    rgba(255, 253, 249, 0.90) 48%,
    rgba(255, 253, 249, 0.46) 100%
  );
}



/* =========================================================
   11. DEGRADÊ ENTRE O HERO E A PRÓXIMA SEÇÃO
   ========================================================= */

.hero::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: 0;

  height: 150px;

  background: linear-gradient(
    transparent,
    var(--white)
  );
}



/* =========================================================
   12. CONTEÚDO DO COMEÇO
   ========================================================= */

/* =========================================================
   TEXTO DO INÍCIO - LADO DIREITO
   ========================================================= */

/* =========================================================
   TEXTO DO INÍCIO - LADO DIREITO
   ========================================================= */

/* =========================================================
   TEXTO DO INÍCIO - LADO ESQUERDO
   ========================================================= */

.hero-content {
  position: relative;
  z-index: 2;

  /* Largura do conteúdo */
  max-width: 720px;

  /* Texto alinhado pela esquerda */
  text-align: left;
}


/* =========================================================
   POSIÇÃO DO CONTEÚDO NO LADO ESQUERDO
   ========================================================= */

.hero-content.container {

  /* Largura ocupada pelo conteúdo */
  width: 52%;

  /* Distância da lateral esquerda */
  margin-left: 7%;

  /* Remove o posicionamento da direita */
  margin-right: auto;
}


/* =========================================================
   TAMANHO DO TÍTULO DO INÍCIO
   ========================================================= */

.hero-content h1 {
  font-size: clamp(52px, 5vw, 76px);
}


/* =========================================================
   13. TEXTOS PEQUENOS SOBRE OS TÍTULOS
   Exemplo:
   FÉ • ANCESTRALIDADE • PROPÓSITO
   ========================================================= */

.eyebrow {
  margin: 0 0 10px;

  text-transform: uppercase;

  letter-spacing: 0.18em;

  color: var(--earth);

  font-size: 12px;

  font-weight: 700;
}



/* =========================================================
   14. TÍTULOS DO SITE
   ========================================================= */

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;

  color: var(--earth-dark);

  line-height: 1.05;
}


/* Título principal */

h1 {
  font-size: clamp(52px, 8vw, 96px);

  font-weight: 600;

  margin: 10px 0 22px;
}


/* Títulos das seções */

h2 {
  font-size: clamp(40px, 5vw, 62px);

  font-weight: 600;

  margin: 8px 0 24px;
}


/* Títulos menores */

h3 {
  font-size: 31px;

  margin: 10px 0 14px;
}



/* =========================================================
   15. TEXTO DO COMEÇO
   ========================================================= */

.hero-text {
  max-width: 650px;

  font-size: 19px;

  color: var(--muted);
}



/* =========================================================
   16. ÁREA DOS BOTÕES
   ========================================================= */

.hero-actions,
.contact-actions {
  display: flex;

  gap: 12px;

  flex-wrap: wrap;

  margin-top: 30px;
}



/* =========================================================
   17. BOTÕES
   ========================================================= */

.btn {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  padding: 14px 22px;

  border-radius: 999px;

  font-weight: 700;

  font-size: 14px;

  transition: 0.25s;
}


.btn:hover {
  transform: translateY(-2px);
}



/* BOTÃO MARROM */

.btn-primary {
  background: var(--earth);

  color: #ffffff;
}



/* BOTÃO CONTORNO */

.btn-outline {
  border: 1px solid var(--earth-mid);

  color: var(--earth-dark);

  background: rgba(255, 255, 255, 0.38);
}



/* =========================================================
   18. CONFIGURAÇÃO PADRÃO DAS SEÇÕES
   ========================================================= */

.section {
  padding: 100px 0;
}



/* Seções com fundo bege */

.section-soft {
  background: var(--soft);
}



/* Texto introdutório das seções */

.section-intro {
  max-width: 800px;

  color: var(--muted);

  font-size: 17px;
}



/* =========================================================
   19. SEÇÃO "NOSSA ESSÊNCIA"
   Texto de um lado e imagem do outro
   ========================================================= */

.two-columns {
  display: grid;

  grid-template-columns: 1.05fr 0.95fr;

  gap: 58px;

  align-items: center;
}


.two-columns p {
  color: var(--muted);
}


.emphasis {
  color: var(--earth-dark) !important;

  font-weight: 700;
}



/* =========================================================
   20. FOTO DO MEIO DO SITE

   TROQUE A IMAGEM AQUI
   ========================================================= */

.image-card {
  min-height: 560px;

  border-radius: 28px;


  /* FOTO DO MEIO */

  background-image: url("img/foto-meio.png");


  /* POSIÇÃO DA FOTO */

  background-position: center;


  /* PREENCHE TODO O QUADRO */

  background-size: cover;


  /* NÃO REPETE */

  background-repeat: no-repeat;


  box-shadow: var(--shadow);

  border: 1px solid var(--border);
}



/* =========================================================
   21. CARDS DE INFORMAÇÕES
   ========================================================= */

.stats-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 18px;

  margin-top: 36px;
}


.stat-card {
  background: #ffffff;

  border: 1px solid var(--border);

  border-radius: 22px;

  padding: 28px;

  box-shadow: var(--shadow);
}


.stat-card strong {
  display: block;

  color: var(--earth);

  font-family: "Cormorant Garamond", serif;

  font-size: 38px;

  line-height: 1;
}


.stat-card span {
  display: block;

  margin-top: 10px;

  color: var(--muted);

  font-size: 14px;
}



/* =========================================================
   22. CAIXA DE AVISO
   ========================================================= */

.notice {
  margin-top: 25px;

  border: 1px dashed var(--earth-mid);

  background: #fffaf5;

  border-radius: 18px;

  padding: 18px 20px;

  color: var(--earth-dark);
}



/* =========================================================
   23. SEÇÃO MISSÃO
   ========================================================= */

.mission-section {
  padding: 90px 0;

  background: linear-gradient(
    135deg,
    #f7f0e8,
    #ead9c8
  );
}



/* FRASE GRANDE */

blockquote {
  margin: 12px 0 0;

  max-width: 980px;

  font-family: "Cormorant Garamond", serif;

  font-size: clamp(34px, 5vw, 58px);

  line-height: 1.18;

  color: var(--earth-dark);
}



/* =========================================================
   24. TÍTULOS DAS SEÇÕES
   ========================================================= */

.section-heading {
  max-width: 820px;

  margin-bottom: 38px;
}



/* =========================================================
   25. TRABALHOS DA SEMANA
   ========================================================= */

.schedule-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 18px;
}



/* =========================================================
   26. CARDS
   Trabalhos / Cursos / Contato
   ========================================================= */

.day-card,
.course-card,
.contact-card {
  background: #ffffff;

  border: 1px solid var(--border);

  border-radius: 24px;

  padding: 28px;

  box-shadow: var(--shadow);
}



/* Dia da semana / categoria do curso */

.day-card span,
.course-card span {
  font-size: 12px;

  text-transform: uppercase;

  letter-spacing: 0.15em;

  color: var(--earth);

  font-weight: 700;
}



/* Texto dentro dos cards */

.day-card p,
.course-card p,
.contact-card p {
  color: var(--muted);
}



/* Observação pequena */

.day-card small {
  display: block;

  color: var(--muted);

  font-size: 12px;

  margin-top: 14px;
}



/* Observação depois dos trabalhos */

.schedule-note {
  margin-top: 22px;

  font-size: 13px;

  color: var(--muted);
}



/* =========================================================
   27. CURSOS
   ========================================================= */

.courses-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 20px;
}



/* Link dos cursos */

.text-link {
  display: inline-block;

  margin-top: 12px;

  color: var(--earth);

  font-weight: 700;
}



/* =========================================================
   28. CONTATO
   ========================================================= */

.contact-grid {
  display: grid;

  grid-template-columns: 1fr 0.85fr;

  gap: 50px;

  align-items: start;
}



/* Espaçamento entre informações */

.contact-card > div + div {
  margin-top: 20px;
}


.contact-card strong {
  color: var(--earth-dark);
}



/* =========================================================
   29. RODAPÉ
   ========================================================= */

.footer {
  border-top: 1px solid var(--border);

  background: #faf6f1;

  padding: 30px 0;

  color: var(--muted);

  font-size: 13px;
}


.footer-wrap {
  display: flex;

  justify-content: space-between;

  gap: 20px;

  align-items: center;
}



/* =========================================================
   30. MENSAGEM POP-UP
   Usada pelo JavaScript
   ========================================================= */

.toast {
  position: fixed;

  right: 24px;
  bottom: 24px;

  background: var(--earth-dark);

  color: #ffffff;

  padding: 14px 18px;

  border-radius: 14px;

  opacity: 0;

  transform: translateY(20px);

  pointer-events: none;

  transition: 0.3s;

  z-index: 1200;

  max-width: 320px;
}



/* Quando o JavaScript mostra a mensagem */

.toast.show {
  opacity: 1;

  transform: translateY(0);
}



/* =========================================================
   31. ANIMAÇÃO DOS ELEMENTOS
   ========================================================= */

.reveal {
  opacity: 0;

  transform: translateY(24px);

  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}



/* Quando o elemento aparece na tela */

.reveal.visible {
  opacity: 1;

  transform: none;
}



/* =========================================================
   32. TABLET
   Telas menores que 900px
   ========================================================= */

@media (max-width: 900px) {

  /* Mostra botão hambúrguer */

  .menu-toggle {
    display: block;
  }


  /* Menu mobile */

  .nav {
    position: absolute;

    top: 78px;
    left: 0;
    right: 0;

    background: var(--white);

    border-bottom: 1px solid var(--border);

    display: none;

    flex-direction: column;

    padding: 22px 4%;

    gap: 18px;
  }


  /* JavaScript adiciona essa classe */

  .nav.open {
    display: flex;
  }


  .brand-text {
    font-size: 14px;
  }


  /* Coloca as colunas uma embaixo da outra */

  .two-columns,
  .contact-grid {
    grid-template-columns: 1fr;
  }


  /* Trabalhos ficam em 2 colunas */

  .schedule-grid {
    grid-template-columns: repeat(2, 1fr);
  }


  /* Reduz foto do meio */

  .image-card {
    min-height: 420px;
  }

}



/* =========================================================
   33. CELULAR
   Telas menores que 640px
   ========================================================= */

@media (max-width: 640px) {

  /* Título principal */

  h1 {
    font-size: 52px;
  }


  /* Primeira seção */

  .hero {
    min-height: 92vh;

    padding-bottom: 80px;


    /*
      MUDE ESTE VALOR CASO A FOTO ESTEJA CORTANDO
      A PESSOA OU OBJETO PRINCIPAL

      Exemplos:

      center
      top
      70% center
      30% center
    */

    background-position: 65% center;
  }


  /* Camada branca no celular */

  .hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(255, 253, 249, 0.98),
      rgba(255, 253, 249, 0.84)
    );
  }


  /* Espaçamento menor */

  .section {
    padding: 75px 0;
  }


  /* Tudo vira uma coluna */

  .stats-grid,
  .schedule-grid,
  .courses-grid {
    grid-template-columns: 1fr;
  }


  /* Rodapé */

  .footer-wrap {
    flex-direction: column;

    align-items: flex-start;
  }

}
/* Investimento e condição de lançamento — curso Entre Ervas */
.courses-grid { align-items: start; }
.course-investment {
  border-top: 1px solid var(--border);
  padding-top: 10px;
  margin-top: 14px;
  line-height: 1.2;
}
.course-investment-label {
  color: #b65d38;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}
.course-investment > strong {
  display: block;
  color: var(--earth-dark);
  font-family: "Montserrat", sans-serif;
  font-size: 38px;
  font-weight: 700;
}
.course-launch-note {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #f7efe7;
  line-height: 1.35;
}
.course-gift-icon { flex-shrink: 0; color: #bd704b; }
.course-launch-note strong {
  display: block;
  color: var(--earth-dark);
  font-size: 14px;
  font-weight: 600;
}
.course-launch-note p {
  margin: 4px 0 0;
  font-size: 14px;
}
