/* Base comum: reset, escala de espaço (4 8 12 16 24 32 48 64), componentes. Cor só por variável do tema. */
:root {
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;
  --t-sm: 0.875rem; --t-md: 1rem; --t-lg: 1.125rem; --t-xl: 1.5rem; --t-2xl: 2rem; --t-3xl: 2.5rem; --t-4xl: 3.5rem;
  --medida: 36rem;
  --raio: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--fonte); font-size: var(--t-md); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:where(a, button, summary, [tabindex]):focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.skip { position: absolute; left: var(--s4); top: -100px; padding: var(--s2) var(--s4); background: var(--fg); color: var(--bg); z-index: 10; }
.skip:focus { top: var(--s4); }

.wrap { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: var(--s5); }
.hero-texto, .secao .wrap > * { max-width: var(--medida); }
.secao { padding-block: var(--s7); }
h1 { font-size: var(--t-3xl); line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; text-wrap: balance; }
h2 { font-size: var(--t-xl); line-height: 1.25; font-weight: 700; margin-bottom: var(--s5); text-wrap: balance; }
.lead { font-size: var(--t-lg); color: var(--muted); margin-top: var(--s4); text-wrap: pretty; }

.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 56px; padding: var(--s3) var(--s6); border-radius: var(--raio);
  background: var(--accent); color: var(--accent-fg); text-decoration: none;
  font-weight: 800; font-size: var(--t-lg); text-align: center;
  transition: transform 120ms ease, filter 120ms ease;
}
.botao:hover { filter: brightness(1.08); }
.botao:active { transform: translateY(1px); }
.botao.secundario { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 2px var(--line); font-weight: 700; }
.botoes { display: grid; gap: var(--s3); justify-items: stretch; width: min(100%, 24rem); }
.hero-texto .botoes { margin-top: var(--s5); }
.hero-texto .botoes .botao { margin-top: 0; }
.final .botoes { margin: var(--s2) auto 0; }
.nota { font-size: var(--t-sm); color: var(--muted); margin-top: var(--s3); max-width: 28rem; }
.nota a { text-underline-offset: 3px; }

.pontos { display: grid; gap: var(--s4); }
.pontos li { padding-left: var(--s6); position: relative; }
.pontos li::before {
  content: ""; position: absolute; left: 0; top: 0.4em; width: var(--s4); height: var(--s4);
  border-radius: 50%; background: var(--accent);
}
.pontos strong { display: block; font-weight: 700; }
.pontos span { color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chips li { padding: var(--s2) var(--s4); border: 2px solid var(--line); border-radius: 999px; font-weight: 600; }

.passos { display: grid; gap: var(--s4); counter-reset: p; }
.passos li { counter-increment: p; display: grid; grid-template-columns: var(--s6) 1fr; gap: var(--s3); align-items: start; }
.passos li::before {
  content: counter(p); display: grid; place-items: center; width: var(--s6); height: var(--s6);
  border-radius: 50%; background: var(--fg); color: var(--bg); font-weight: 800; font-size: var(--t-sm);
}

.aviso { border: 2px solid var(--line); border-radius: var(--raio); padding: var(--s5); background: var(--surface); }
.aviso h2 { font-size: var(--t-lg); margin-bottom: var(--s3); }
.aviso p + p { margin-top: var(--s3); }

.final { text-align: left; }
.final .botao { margin-top: var(--s2); }

.rodape { border-top: 2px solid var(--line); padding-block: var(--s6); font-size: var(--t-sm); color: var(--muted); }
.rodape p + p { margin-top: var(--s2); }
.rodape a { color: var(--fg); text-underline-offset: 3px; }

/* Página de privacidade */
.doc { padding-block: var(--s7); max-width: var(--medida); }
.doc h1 { font-size: var(--t-2xl); margin-bottom: var(--s5); }
.doc h2 { margin-top: var(--s6); margin-bottom: var(--s3); }
.doc p + p, .doc ul + p, .doc p + ul { margin-top: var(--s3); }
.doc ul { list-style: disc; padding-left: var(--s5); display: grid; gap: var(--s2); }
.voltar { display: inline-block; margin-bottom: var(--s5); font-weight: 700; text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
.hero-texto .botao { margin-top: var(--s5); }
