/* Site de apresentação do Cresça — estilo compartilhado.
   Os tokens são os mesmos do app (tailwind.config.js): site e produto
   precisam parecer a mesma marca. Sem build, de propósito (ver CLAUDE.md §2):
   HTML + CSS puros, servidos por qualquer host estático. */

:root {
  --base: #f4f7f3;
  --card: #ffffff;
  --brand: #2f6b52;
  --brand-claro: #4a8a5b;
  --brandsoft: #eaf2ed;
  --accent: #e8a54b;
  --accentsoft: #fcf3e3;
  --ink: #1e2a26;
  --muted: #6b7a72;
  --line: #dde6e0;
  --r: 20px;
  --rr: 28px;
  --envelope: 1060px;
}

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/fraunces-latin-wght-normal.woff2') format('woff2-variations');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
}

* {
  box-sizing: border-box;
  margin: 0;
}

body {
  background: var(--base);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

a {
  color: var(--brand);
}

.envelope {
  max-width: var(--envelope);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Navegação (as "abas" do site) ---------- */

.topo {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 247, 243, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topo .envelope {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.marca {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-right: auto;
}
.marca .selo {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-claro) 62%, var(--accent) 100%);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.marca .selo svg {
  width: 20px;
  height: 20px;
}
.abas {
  display: flex;
  gap: 4px;
}
.abas a {
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.abas a:hover {
  background: var(--brandsoft);
  color: var(--brand);
}
.abas a[aria-current='page'] {
  background: var(--brandsoft);
  color: var(--brand);
}
@media (max-width: 760px) {
  .topo .envelope {
    height: auto;
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
    gap: 10px;
  }
  .marca {
    margin-right: 0;
    width: 100%;
  }
  .abas {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .abas::-webkit-scrollbar {
    display: none;
  }
}

/* ---------- Herói ---------- */

.hero {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-claro) 62%, var(--accent) 100%);
  color: #fff;
  border-radius: 0 0 var(--rr) var(--rr);
  padding: 84px 0 92px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30, 42, 38, 0.14);
}
.hero .envelope {
  position: relative;
  z-index: 1;
}
.hero.centro .envelope {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.hero h1 {
  font-size: clamp(2.3rem, 6vw, 3.7rem);
  color: #fff;
  max-width: 18ch;
}
.hero .sobrelinha {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.hero p.lead {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.94);
  max-width: 46ch;
}
.broto-grande {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
}

/* ---------- Botões ---------- */

.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--brand);
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 34px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 10px 30px -6px rgba(30, 42, 38, 0.35);
  transition: transform 0.12s ease;
}
.cta:hover {
  transform: translateY(-2px);
}
.cta.verde {
  background: var(--brand);
  color: #fff;
}
.nota {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- Seções ---------- */

section {
  padding: 76px 0;
}
.kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}
h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  margin: 10px 0 14px;
  max-width: 22ch;
}
.lead {
  color: var(--muted);
  max-width: 44ch;
  font-size: 1.02rem;
}

/* ---------- Cards de recurso ---------- */

.grelha {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 40px;
}
.cartao {
  background: var(--card);
  border-radius: var(--rr);
  padding: 28px;
}
.cartao .icone {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--brand));
  margin-bottom: 16px;
}
.cartao .icone svg {
  width: 23px;
  height: 23px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cartao h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}
.cartao p {
  font-size: 0.94rem;
  color: var(--muted);
}

/* ---------- Recurso em detalhe (alterna lado) ---------- */

.detalhe {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 44px 0;
  border-top: 1px solid var(--line);
}
.detalhe:first-of-type {
  border-top: 0;
}
.detalhe h3 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin: 8px 0 12px;
}
.detalhe p {
  color: var(--muted);
}
.detalhe ul {
  margin-top: 16px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.detalhe li {
  display: flex;
  gap: 10px;
  font-size: 0.95rem;
}
.detalhe li::before {
  content: '✓';
  color: var(--brand);
  font-weight: 700;
  flex-shrink: 0;
}
.ilustra {
  border-radius: var(--rr);
  background: var(--brandsoft);
  min-height: 240px;
  display: grid;
  place-items: center;
  padding: 32px;
}
.ilustra.quente {
  background: var(--accentsoft);
}
.ilustra svg {
  width: 76px;
  height: 76px;
  stroke: var(--brand);
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.55;
}
@media (max-width: 820px) {
  .detalhe {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .detalhe .ilustra {
    order: -1;
    min-height: 160px;
  }
}

/* ---------- Faixa de destaque ---------- */

.faixa {
  background: var(--brandsoft);
  border-radius: var(--rr);
}
.faixa .envelope {
  padding-top: 60px;
  padding-bottom: 60px;
}
.dupla {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.dupla ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.dupla li {
  display: flex;
  gap: 11px;
  font-size: 0.97rem;
}
.dupla li::before {
  content: '✓';
  color: var(--brand);
  font-weight: 700;
  flex-shrink: 0;
}
@media (max-width: 760px) {
  .dupla {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ---------- Passos numerados ---------- */

.passos {
  counter-reset: passo;
  list-style: none;
  padding: 0;
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 40ch;
}
.passos li {
  counter-increment: passo;
  display: flex;
  gap: 15px;
  align-items: baseline;
  font-size: 0.97rem;
}
.passos li::before {
  content: counter(passo);
  flex-shrink: 0;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: var(--accentsoft);
  color: var(--brand);
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-grid;
  place-items: center;
}
.escolha {
  display: flex;
  gap: 8px;
  margin-top: 26px;
}
.escolha button {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: 999px;
  padding: 9px 22px;
  font: inherit;
  font-size: 0.87rem;
  font-weight: 600;
  cursor: pointer;
}
.escolha button[aria-selected='true'] {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

/* ---------- Rodapé ---------- */

footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 64px;
  font-size: 0.82rem;
  color: var(--muted);
}
footer .envelope > * + * {
  margin-top: 12px;
}
footer .links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

[hidden] {
  display: none !important;
}
