/* ============================================================
   Berkshire — landing page
   Paleta: verde-escuro #1B4332 · creme · dourado sutil
   Títulos: serif (Georgia stack) · Corpo: sans (system stack)
   ============================================================ */

:root {
  --verde-900: #0F2A1D;
  --verde-800: #1B4332;
  --verde-700: #2D6A4F;
  --creme: #FAF6EC;
  --creme-escuro: #F1EADA;
  --branco: #FFFFFF;
  --dourado: #C6A353;
  --dourado-escuro: #9A7B2E;
  --texto: #26332C;
  --texto-suave: #56645B;
  --texto-claro: #F3EFE3;
  --texto-claro-suave: #C9D2C6;
  --borda: #E2DAC6;
  --sombra: 0 2px 12px rgba(15, 42, 29, 0.08);

  --fonte-titulo: Georgia, "Times New Roman", Times, serif;
  --fonte-corpo: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: var(--fonte-corpo);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--texto);
  background: var(--creme);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  font-family: var(--fonte-titulo);
  font-weight: 700;
  line-height: 1.15;
  color: var(--verde-800);
}

a {
  color: var(--verde-700);
}

.container {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container-estreito {
  max-width: 46rem;
}

/* ---------- Acessibilidade ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--dourado);
  color: var(--verde-900);
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid var(--dourado);
  outline-offset: 2px;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 0.375rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease,
    border-color 0.15s ease;
}

.btn-primario {
  background: var(--dourado);
  color: var(--verde-900);
  border: 2px solid var(--dourado);
}

.btn-primario:hover {
  background: var(--dourado-escuro);
  border-color: var(--dourado-escuro);
  color: var(--branco);
}

.btn-secundario {
  background: transparent;
  color: var(--texto-claro);
  border: 2px solid rgba(250, 246, 236, 0.55);
}

.btn-secundario:hover {
  border-color: var(--creme);
  background: rgba(250, 246, 236, 0.08);
}

.btn-compacto {
  padding: 0.45rem 1rem;
  font-size: 0.9375rem;
}

.btn-grande {
  padding: 1rem 2.2rem;
  font-size: 1.125rem;
}

/* ---------- Topo ---------- */
.topo {
  background: var(--verde-900);
  border-bottom: 1px solid rgba(198, 163, 83, 0.35);
}

.topo-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.marca {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.marca-simbolo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--dourado);
  color: var(--verde-900);
  font-family: var(--fonte-titulo);
  font-size: 1.25rem;
  font-weight: 700;
}

.marca-nome {
  font-family: var(--fonte-titulo);
  font-size: 1.35rem;
  color: var(--creme);
  letter-spacing: 0.02em;
}

.menu {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
  flex-wrap: wrap;
}

.menu a {
  color: var(--texto-claro);
  text-decoration: none;
  font-size: 0.9375rem;
}

.menu a:hover {
  color: var(--dourado);
}

.menu .btn-primario {
  color: var(--verde-900);
}

.menu .btn-primario:hover {
  color: var(--branco);
}

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(
      ellipse at 50% -20%,
      rgba(198, 163, 83, 0.18),
      transparent 60%
    ),
    linear-gradient(175deg, var(--verde-900) 0%, var(--verde-800) 100%);
  color: var(--texto-claro);
  text-align: center;
  padding: 5.5rem 0 6rem;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8125rem;
  color: var(--dourado);
  margin-bottom: 1.25rem;
}

.hero h1 {
  color: var(--creme);
  font-size: clamp(2.4rem, 6vw, 3.9rem);
  max-width: 20ch;
  margin: 0 auto 1.25rem;
}

.hero-sub {
  max-width: 44rem;
  margin: 0 auto 2.25rem;
  font-size: 1.1875rem;
  color: var(--texto-claro-suave);
}

.hero-sub strong {
  color: var(--creme);
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-aviso {
  margin-top: 1.75rem;
  font-size: 0.8125rem;
  color: var(--texto-claro-suave);
  letter-spacing: 0.04em;
}

/* ---------- Seções ---------- */
.secao {
  padding: 4.5rem 0;
}

.secao-alt {
  background: var(--branco);
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--dourado-escuro);
  margin-bottom: 0.5rem;
}

.kicker-clara {
  color: var(--dourado);
}

.secao h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 2rem;
}

/* ---------- Passos ---------- */
.passos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  list-style: none;
  counter-reset: passo;
}

.passo {
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: 0.625rem;
  padding: 1.75rem;
  box-shadow: var(--sombra);
}

.passo-numero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--verde-800);
  color: var(--dourado);
  font-family: var(--fonte-titulo);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.passo h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.passo p {
  color: var(--texto-suave);
  font-size: 0.9875rem;
}

/* ---------- Mentores ---------- */
.mentores-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.mentor-card {
  background: var(--creme);
  border: 1px solid var(--borda);
  border-top: 4px solid var(--dourado);
  border-radius: 0.625rem;
  padding: 2rem;
  box-shadow: var(--sombra);
}

.mentor-monograma {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background: var(--verde-800);
  color: var(--creme);
  font-family: var(--fonte-titulo);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 1.1rem;
}

.mentor-card h3 {
  font-size: 1.5rem;
}

.mentor-papel {
  color: var(--dourado-escuro);
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 0.9rem;
}

.mentor-card > p:not(.mentor-papel) {
  color: var(--texto-suave);
}

.mentor-frase {
  margin-top: 1.25rem;
  padding-left: 1rem;
  border-left: 3px solid var(--dourado);
  font-family: var(--fonte-titulo);
  font-style: italic;
  color: var(--verde-800);
}

/* ---------- Cartas (seção escura) ---------- */
.secao-escura {
  background: linear-gradient(160deg, var(--verde-800), var(--verde-900));
  color: var(--texto-claro);
}

.secao-escura h2 {
  color: var(--creme);
}

.secao-escura p {
  color: var(--texto-claro-suave);
}

.secao-escura strong {
  color: var(--creme);
}

.cartas-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.cartas-texto p + p {
  margin-top: 1rem;
}

.cartas-exemplo {
  background: rgba(250, 246, 236, 0.06);
  border: 1px solid rgba(198, 163, 83, 0.45);
  border-radius: 0.625rem;
  padding: 2rem;
}

.cartas-exemplo blockquote {
  font-family: var(--fonte-titulo);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--creme);
}

.cartas-exemplo figcaption {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--dourado);
}

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
  box-shadow: var(--sombra);
}

.faq-item summary {
  cursor: pointer;
  padding: 1.1rem 1.4rem;
  font-family: var(--fonte-titulo);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--verde-800);
  list-style-position: inside;
}

.faq-item summary:hover {
  color: var(--verde-700);
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--borda);
}

.faq-item p {
  padding: 1.1rem 1.4rem;
  color: var(--texto-suave);
}

/* ---------- CTA final ---------- */
.secao-cta {
  background: var(--creme-escuro);
  text-align: center;
}

.cta-final h2 {
  max-width: 26ch;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0.75rem;
}

.cta-final p {
  color: var(--texto-suave);
  margin-bottom: 2rem;
}

/* ---------- Rodapé ---------- */
.rodape {
  background: var(--verde-900);
  color: var(--texto-claro-suave);
  padding: 3rem 0;
  font-size: 0.875rem;
}

.rodape-aviso {
  max-width: 56rem;
  margin-bottom: 1.5rem;
}

.rodape-aviso strong {
  color: var(--creme);
}

.rodape-info a {
  color: var(--dourado);
}

/* ---------- Responsivo ---------- */
@media (max-width: 56rem) {
  .passos,
  .mentores-grid,
  .cartas-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 4rem 0 4.5rem;
  }

  .topo-inner {
    justify-content: center;
  }
}

/* ---------- Dark mode (bônus) ---------- */
@media (prefers-color-scheme: dark) {
  :root {
    --creme: #101B14;
    --creme-escuro: #0C1510;
    --branco: #16241B;
    --texto: #E4E7DE;
    --texto-suave: #A9B4A6;
    --borda: #29392E;
    --sombra: 0 2px 12px rgba(0, 0, 0, 0.35);
  }

  body {
    background: var(--creme);
  }

  h1,
  h2,
  h3,
  .faq-item summary,
  .mentor-frase {
    color: #DCE5D8;
  }

  a {
    color: #8FBFA5;
  }

  .marca-nome,
  .hero h1 {
    color: #F3EFE3;
  }

  .mentor-monograma,
  .passo-numero {
    background: #23402F;
  }

  .secao-escura {
    background: linear-gradient(160deg, #142E20, #0A1911);
  }

  .topo,
  .rodape {
    background: #0A1911;
  }
}
