/* Kasou: estilos da landing page (sem frameworks, sem JavaScript) */

:root {
  --bg: #FAF8F5;
  --bg-2: #F4ECFA;
  --surface: #FFFFFF;
  --ink: #3D332F;
  --muted: #6B6360;
  --line: #EAE5DF;
  --green: #2E7D5A;
  --green-soft: #ECF6F0;
  --gold: #6B4990;
  --gold-hover: #4E356A;
  --gold-soft: #E8DDF5;
  --gold-accent: #8862B5;
  --on-gold: #FFFFFF;
  --on-green: #FFFFFF;
  --shadow-sm: 0 1px 2px rgba(61, 51, 47, .06), 0 4px 12px rgba(61, 51, 47, .05);
  --shadow: 0 2px 6px rgba(61, 51, 47, .06), 0 18px 40px rgba(61, 51, 47, .10);
  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 16px;
  --max: 1120px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1C1720;
    --bg-2: #221C27;
    --surface: #26202B;
    --ink: #F3EEF5;
    --muted: #B6ABA6;
    --line: #3B3242;
    --green: #8FD1B2;
    --green-soft: #1F332A;
    --gold: #C3A6E6;
    --gold-hover: #D5C2EE;
    --gold-soft: #3A2D4A;
    --gold-accent: #C3A6E6;
    --on-gold: #1C1720;
    --on-green: #13241D;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .35), 0 4px 12px rgba(0, 0, 0, .2);
    --shadow: 0 2px 6px rgba(0, 0, 0, .35), 0 18px 40px rgba(0, 0, 0, .35);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6.2vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }

a { color: var(--gold); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--gold-accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.pular {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 10px;
  z-index: 20;
}
.pular:focus { top: 12px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.envelope {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: 20px;
}
@media (max-width: 400px) { .envelope { padding-inline: 16px; } }

/* Cabeçalho */
.topo {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
@supports not (background: color-mix(in srgb, red 50%, blue)) {
  .topo { background: var(--bg); }
}
.topo .envelope {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  min-height: 66px;
}
.marca {
  font: 600 2rem/1 var(--serif);
  color: var(--gold);
  text-decoration: none;
  letter-spacing: -.01em;
}
.nav ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: .95rem;
}
.nav a:hover { color: var(--gold); text-decoration: underline; }
.topo-acoes { display: flex; align-items: center; gap: 14px; }
.topo-acoes .entrar { color: var(--ink); font-size: .95rem; font-weight: 500; text-decoration: none; }
.topo-acoes .entrar:hover { text-decoration: underline; }
@media (max-width: 900px) { .nav { display: none; } }

/* Botões */
.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  font: 600 1rem/1.2 var(--sans);
  text-decoration: none;
  border: 2px solid var(--gold);
  background: var(--gold);
  color: var(--on-gold);
  box-shadow: var(--shadow-sm);
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.botao:hover { background: var(--gold-hover); border-color: var(--gold-hover); }
.botao:active { transform: translateY(1px); }
.botao.contorno { background: transparent; color: var(--ink); border-color: var(--line); box-shadow: none; }
.botao.contorno:hover { background: var(--surface); border-color: var(--muted); }
.botao.pequeno { min-height: 40px; padding: 8px 16px; font-size: .92rem; }
.botao svg { flex: none; }
@media (prefers-reduced-motion: reduce) { .botao { transition: none; } .botao:active { transform: none; } }

/* Hero */
.hero {
  padding-block: clamp(40px, 7vw, 88px) clamp(48px, 7vw, 96px);
  background:
    radial-gradient(60% 50% at 85% 20%, var(--gold-soft), transparent 70%),
    radial-gradient(50% 50% at 10% 90%, var(--bg-2), transparent 70%);
}
.hero .envelope {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 900px) {
  .hero .envelope { grid-template-columns: minmax(0, 1fr); }
}
.selo-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px 6px 8px;
  font-size: .9rem;
  font-weight: 500;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.selo-tag .ponto {
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold-soft); color: var(--gold);
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .lead {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 40ch;
}
.acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.miudo { font-size: .92rem; color: var(--muted); margin-top: 16px; max-width: 46ch; }
.prova {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  font-size: .92rem;
  color: var(--muted);
}
.prova li { display: flex; align-items: center; gap: 8px; }
.prova strong { color: var(--ink); font-weight: 600; }
.prova svg { color: var(--green); flex: none; }

/* Mock da jornada (só HTML/CSS) */
.mock {
  position: relative;
  margin: 0;
  justify-self: center;
  width: min(380px, 100%);
  padding: 30px 0 8px;
}
.mock-tela {
  margin-inline: 14px;
  background: var(--bg);
  border: 9px solid var(--ink);
  border-radius: 40px;
  box-shadow: var(--shadow);
  padding: 30px 14px 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: .82rem;
}
.mock-tela::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 76px;
  height: 18px;
  border-radius: 999px;
  background: var(--ink);
}
.mt-topo { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mt-marca { font: 600 1.35rem/1 var(--serif); color: var(--gold); }
.mt-pilula {
  font-size: .7rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  background: var(--gold-soft); color: var(--gold);
  border-radius: 999px; padding: 3px 9px;
}
.mt-titulo { font: 600 1.6rem/1.05 var(--serif); margin: 2px 0 0; }
.mt-perfil { margin: 0; color: var(--muted); font-size: .78rem; }
.mt-total {
  background: var(--surface);
  border-radius: 14px;
  padding: 12px;
  box-shadow: var(--shadow-sm);
}
.mt-total small { display: block; color: var(--muted); font-size: .72rem; }
.mt-total strong { display: block; font: 600 1.55rem/1.1 var(--serif); margin: 2px 0 8px; }
.mt-linha { display: flex; justify-content: space-between; align-items: baseline; font-size: .74rem; color: var(--muted); }
.mt-linha b { color: var(--green); font-size: .85rem; }
.barra {
  height: 7px;
  border-radius: 99px;
  background: var(--green-soft);
  margin-top: 5px;
  overflow: hidden;
}
.barra i { display: block; height: 100%; width: var(--p, 0%); background: var(--green); border-radius: 99px; }
.mt-cat {
  border-radius: 14px;
  padding: 10px 12px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.mt-cat-topo { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.mt-cat-topo b { font-weight: 600; font-size: .86rem; }
.mt-cat-topo span { color: var(--ink); font-size: .78rem; white-space: nowrap; }
.mt-forn {
  display: flex; align-items: center; gap: 8px;
  margin-top: 7px; padding-top: 7px;
  border-top: 1px dashed var(--line);
  color: var(--muted); font-size: .74rem; line-height: 1.3;
}
.mt-forn .ponto {
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; flex: none;
  background: var(--gold-soft); color: var(--gold);
}
.mt-forn em { font-style: normal; color: var(--gold); font-weight: 600; }
.flutua {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 7px 11px;
  font-size: .76rem;
  font-weight: 500;
  line-height: 1.25;
  box-shadow: var(--shadow);
  max-width: 190px;
}
.flutua svg { flex: none; }
.flutua.ok svg { color: var(--green); }
.flutua.ouro svg { color: var(--gold); }
.f1 { top: 0; right: 0; }
.f2 { bottom: 24px; left: 0; }
.mock figcaption {
  text-align: center;
  font-size: .8rem;
  color: var(--muted);
  margin-top: 14px;
}
@media (min-width: 1000px) {
  .f1 { right: -28px; top: 54px; }
  .f2 { left: -40px; bottom: 24px; }
}
@media (prefers-reduced-motion: no-preference) {
  .flutua { animation: boia 6s ease-in-out infinite; }
  .f2 { animation-delay: -3s; }
}
@keyframes boia { 50% { transform: translateY(-6px); } }

/* Seções */
.secao { padding-block: clamp(56px, 8vw, 104px); }
.secao.alt { background: var(--bg-2); }
.secao-topo { max-width: 700px; margin-bottom: 40px; }
.secao-topo p { color: var(--muted); font-size: 1.1rem; }
.secao-topo.centro { margin-inline: auto; text-align: center; }
.sobretitulo {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.grade {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.cartao {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.cartao p { color: var(--muted); margin: 0; }
.cartao h3 { font-size: 1.45rem; }
.icone {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--gold-soft); color: var(--gold);
  display: grid; place-items: center;
  margin-bottom: 14px;
}
.icone.ouro { background: var(--gold-soft); color: var(--gold); }
.cartao.tinto-verde { background: var(--green-soft); box-shadow: none; }
.cartao.tinto-verde p { color: var(--ink); }

/* Como funciona */
.etapas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: etapa;
}
.etapa {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.etapa::before {
  counter-increment: etapa;
  content: counter(etapa);
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font: 600 1.4rem/1 var(--serif);
  background: var(--gold-soft);
  color: var(--gold);
  margin-bottom: 12px;
}
.etapa h3 { font-size: 1.45rem; margin-bottom: .3em; }
.etapa p { color: var(--muted); margin: 0; }
.etapa .detalhe {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bg);
  font-size: .86rem;
  color: var(--ink);
}
.etapa .detalhe span { display: block; color: var(--muted); font-size: .76rem; }
.nota-etapas {
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}
.nota-etapas p { margin: 0; color: var(--muted); max-width: 60ch; }

/* Antes × depois */
.comparar {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  font-size: 1rem;
}
.comparar caption { text-align: left; caption-side: bottom; padding-top: 12px; font-size: .88rem; color: var(--muted); }
.comparar th, .comparar td { padding: 16px 20px; text-align: left; vertical-align: top; }
.comparar thead th {
  font: 600 .8rem/1.2 var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg);
}
.comparar thead th.com { color: var(--gold); background: var(--gold-soft); }
.comparar tbody tr + tr > * { border-top: 1px solid var(--line); }
.comparar tbody th { font-weight: 600; width: 18%; }
.comparar td.sem { color: var(--muted); width: 38%; }
.comparar td.com { background: color-mix(in srgb, var(--gold-soft) 55%, transparent); }
.comparar td.com::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  margin-right: 10px;
  vertical-align: middle;
}
@media (max-width: 680px) {
  .comparar, .comparar tbody, .comparar tr, .comparar th, .comparar td { display: block; width: auto; }
  .comparar thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .comparar tbody th { padding-bottom: 4px; width: auto; }
  .comparar td { padding-top: 6px; padding-bottom: 10px; }
  .comparar td.sem, .comparar td.com { width: auto; }
  .comparar td::before {
    content: attr(data-rotulo);
    display: block;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 2px;
  }
  .comparar td.com::before {
    content: attr(data-rotulo);
    display: block;
    width: auto; height: auto; border-radius: 0; background: none;
    margin-right: 0; color: var(--gold);
  }
  .comparar td.com { padding-bottom: 18px; }
  .comparar tbody tr + tr > * { border-top: 0; }
  .comparar tbody tr + tr { border-top: 1px solid var(--line); }
  .comparar caption { display: block; padding: 12px 20px 16px; }
}

/* Selo */
.passos { counter-reset: passo; }
.passos .cartao { position: relative; }
.passos .cartao::before {
  counter-increment: passo;
  content: counter(passo);
  font: 600 2.2rem/1 var(--serif);
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}
.numeros {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: 18px 32px;
  margin-top: 32px;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--gold-soft);
}
.numeros strong { display: block; font: 600 2.6rem/1 var(--serif); color: var(--gold); }
.numeros span { font-size: .95rem; color: var(--ink); }
.numeros p { grid-column: 1 / -1; margin: 0; font-size: .86rem; color: var(--ink); opacity: .85; }

/* Preços */
.planos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.plano {
  background: var(--surface);
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow-sm);
}
.plano.destaque { border-color: var(--gold-accent); box-shadow: var(--shadow); }
.plano h3 { margin: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.etiqueta {
  font: 600 .78rem/1 var(--sans);
  background: var(--gold-soft);
  color: var(--gold);
  border-radius: 999px;
  padding: 5px 10px;
}
.preco { font: 600 2.6rem/1.1 var(--serif); margin: 8px 0 0; }
.periodo { color: var(--muted); margin: 0; }
.equivale { font-size: .92rem; color: var(--gold); font-weight: 600; margin: 0; }
.aviso-preco { margin-top: 28px; font-size: .9rem; color: var(--muted); max-width: 780px; }
.incluso {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 10px 24px;
}
.incluso li { display: flex; gap: 10px; align-items: flex-start; }
.incluso svg { flex: none; margin-top: 4px; color: var(--green); }
.antes-de-assinar {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--gold-soft);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 0 0 28px;
  max-width: 780px;
}
.antes-de-assinar svg { flex: none; color: var(--gold); margin-top: 3px; }
.antes-de-assinar p { margin: 0; }

/* FAQ */
.faq { max-width: 800px; }
.faq details {
  background: var(--surface);
  border-radius: 14px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 52px 16px 20px;
  position: relative;
  font-weight: 500;
  font-size: 1.05rem;
  border-radius: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 10px;
  font: 400 1.7rem/1.2 var(--serif);
  color: var(--gold);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding: 0 20px; }
.faq details p:last-child { padding-bottom: 18px; margin-bottom: 0; }

/* Chamada final */
.final {
  background: var(--gold);
  color: var(--on-gold);
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(32px, 6vw, 56px);
  text-align: center;
}
.final h2 { color: inherit; }
.final p { max-width: 52ch; margin-inline: auto; opacity: .92; }
.final .acoes { justify-content: center; }
.final .botao { background: var(--surface); color: var(--gold); border-color: var(--surface); }
.final .botao:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.final .botao.contorno { background: transparent; color: var(--on-gold); border-color: currentColor; }

/* Página de texto */
.texto { max-width: 720px; padding-block: clamp(48px, 8vw, 88px); }
.texto h2 { font-size: 1.9rem; margin-top: 1.4em; }
.texto ol, .texto ul { padding-left: 1.3em; }
.texto li { margin-bottom: .4em; }
.nota {
  background: var(--gold-soft);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-block: 24px;
}
.nota p:last-child { margin: 0; }

/* Rodapé */
.rodape {
  border-top: 1px solid var(--line);
  padding-block: 40px;
  font-size: .95rem;
  color: var(--muted);
}
.rodape .envelope {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  justify-content: space-between;
}
.rodape ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.rodape a { color: var(--ink); }
.rodape .marca { font-size: 1.6rem; color: var(--gold); }

/* Revelar ao rolar: só onde o navegador suporta e sem redução de movimento.
   Sem suporte, o conteúdo aparece normalmente. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .revelar {
      animation: revelar linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
  }
}
@keyframes revelar {
  from { opacity: .001; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
