/* Tokens espelham apps/mobile/src/theme/theme.ts. Para reestilizar, mude só este bloco. */
:root {
  --bg: #fcf9f2;
  --bg-alt: #f6f3ec;
  --text: #1c1c18;
  --muted: #4a4639;
  --accent: #775a00;
  --on-accent: #ffffff;
  --line: #d4d1c4;
  --focus: #775a00;
  --serif: Newsreader, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e141b;
    --bg-alt: #141c25;
    --text: #f4f1ea;
    --muted: #c9c4b6;
    --accent: #f2be71;
    --on-accent: #0e141b;
    --line: #2c3541;
    --focus: #f2be71;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 1rem/1.65 var(--sans); }
h1, h2, h3, .brand { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 6vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: 1.25rem; margin-top: 1.6em; }
p { margin: 0 0 1em; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

.topbar { position: sticky; top: 0; z-index: 5; background: var(--bg); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { font-size: 1.5rem; margin: 0; color: var(--text); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.nav { display: none; margin-left: auto; gap: 4px; }
.nav a { color: var(--text); text-decoration: none; padding: 10px 12px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 8px; }
.nav a:hover { color: var(--accent); }
.topbar .btn { margin-left: auto; }
@media (min-width: 900px) { .nav { display: flex; } .topbar .btn { margin-left: 0; } }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; min-width: 44px; padding: 0 24px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid var(--accent); transition: transform .2s ease, background-color .2s ease; }
.btn:active { transform: scale(.96); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-secondary { background: transparent; color: var(--accent); }
.btn-sm { min-height: 44px; padding: 0 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.5em 0 0; }
.center .actions { justify-content: center; }

.hero { padding: clamp(48px, 12vw, 120px) 0; }
/* Frase de marca: pequena, espaçada, dourada — acima do título. */
.kicker {
  margin: 0 0 0.75rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero h1 { max-width: 22ch; }
.lead { font-size: clamp(1.1rem, 2.5vw, 1.35rem); color: var(--muted); max-width: 40ch; }

.section { padding: clamp(40px, 8vw, 80px) 0; }
.alt { background: var(--bg-alt); }
.steps, .cards { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 16px; }
.steps { counter-reset: passo; }
.steps li, .cards li { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.alt .cards li { background: var(--bg); }
.steps li { counter-increment: passo; }
.steps li::before { content: counter(passo); display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 700; margin-bottom: 12px; }
.steps h3, .cards h3 { margin: 0 0 .4em; font-size: 1.15rem; }
.steps p, .cards p { margin: 0; color: var(--muted); }
@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }

details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); margin: 0 0 12px; }
summary { cursor: pointer; padding: 14px 20px; min-height: 48px; font-weight: 700; display: flex; align-items: center; }
details[open] summary { color: var(--accent); }
details p { padding: 0 20px 16px; margin: 0; color: var(--muted); }

.footer { border-top: 1px solid var(--line); padding: 24px 0; color: var(--muted); }
.footer-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer p { margin: 0; }
.footer a { display: inline-flex; align-items: center; min-height: 44px; }

/* Política de Privacidade: leitura longa, com âncoras por seção. */
.legal h1 { margin-bottom: 8px; }
.legal h2 { margin-top: 2.2em; scroll-margin-top: 80px; }
.legal h2:first-of-type { margin-top: 1.4em; }
.legal .muted { color: var(--muted); margin-bottom: 1.2em; }
.legal .lead { max-width: none; margin-bottom: 1.4em; }
.legal .note {
  border: 1px solid var(--line); border-left: 4px solid var(--accent);
  background: var(--bg-alt); border-radius: var(--radius);
  padding: 16px 20px; margin: 0 0 2em; color: var(--muted);
}
.legal .plain { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.legal .plain li { position: relative; padding-left: 22px; }
.legal .plain li::before {
  content: ""; position: absolute; left: 4px; top: .62em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
