/* =============================================================
   Steady Life — folha de estilo única
   Herda os tokens do design system do app Flutter
   (lib/ui/theme/app_colors.dart, app_typography.dart, app_spacing.dart)
   ============================================================= */

/* ---------- 0. Fonte Nunito, hospedada aqui mesmo ----------
   A mesma fonte do app. Fica no seu servidor em vez de vir do
   Google: carrega mais rápido, funciona offline e não entrega o
   IP dos seus visitantes para ninguém.
   Nunito © The Nunito Project Authors — SIL Open Font License 1.1
   (licença completa em /assets/fonts/OFL.txt)
   ----------------------------------------------------------- */
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/nunito-400.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/nunito-600.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/nunito-700.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 800; font-display: swap; src: url('/assets/fonts/nunito-800.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 900; font-display: swap; src: url('/assets/fonts/nunito-900.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-style: italic; font-weight: 600; font-display: swap; src: url('/assets/fonts/nunito-600-italic.woff2') format('woff2'); }

/* ---------- 1. Tokens ---------- */
:root {
  /* Cores — idênticas ao AppColors do app */
  --bg:          #0F1417;
  --surface:     #18211F;
  --surface-alt: #1E2A27;
  --line:        #2B3A36;
  --bubble-line: #3A5049;
  --track:       #22302C;

  --gold:        #D7B25A;
  --gold-soft:   #F0D99A;
  --gold-shadow: #8A6C2B;
  --gold-ink:    #3A2C0A;

  --text:        #EEF2F0;
  --muted:       #8FA39C;

  --green:       #5BBD6A;
  --green-bg:    #16281B;
  --green-line:  #3D6A4B;
  --green-text:  #A8D8B8;

  --amber-bg:    #2C2115;
  --amber-line:  #7A5A2C;
  --amber-text:  #F0D3AB;

  --danger:      #C97E74;

  /* Espaçamento — AppSpacing */
  --xs: 4px;  --sm: 8px;  --md: 16px;  --lg: 24px;  --xl: 32px;
  --r: 16px;  --r-lg: 22px;  --r-pill: 999px;

  /* Ritmo vertical das seções */
  --section: clamp(72px, 11vw, 132px);
  --maxw: 1120px;
  --readw: 62ch;
}

/* ---------- 2. Reset enxuto ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--gold); color: var(--gold-ink); }

/* ---------- 3. Textura: o "mármore" discreto do fundo ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/></filter><rect width='140' height='140' filter='url(%23n)'/></svg>");
}

/* ---------- 4. Utilidades ---------- */
.wrap { width: min(100% - 40px, var(--maxw)); margin-inline: auto; position: relative; z-index: 1; }
.narrow { width: min(100% - 40px, 760px); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--gold-ink);
  padding: 10px 18px; border-radius: var(--r); font-weight: 800;
  transition: top .2s;
}
.skip:focus { top: 16px; }

/* ---------- 5. Tipografia ---------- */
.kicker {
  font-size: 12px; letter-spacing: 1.8px; font-weight: 800;
  color: var(--gold); text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
}
.kicker::before {
  content: ''; width: 26px; height: 1px; background: var(--gold); opacity: .6;
}
.kicker.no-rule::before { display: none; }

h1, h2, h3, h4 { font-weight: 800; line-height: 1.18; letter-spacing: -.015em; }
h1 { font-size: clamp(34px, 5.4vw, 56px); }
h2 { font-size: clamp(28px, 4.2vw, 42px); }
h3 { font-size: clamp(19px, 2.2vw, 23px); line-height: 1.3; }

.lede {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--muted);
  max-width: var(--readw);
  line-height: 1.7;
}
.lede strong { color: var(--text); font-weight: 700; }

.quote {
  font-style: italic; font-weight: 600;
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.5;
  color: var(--gold-soft);
}
.quote-by {
  display: block; margin-top: var(--md);
  font-style: normal; font-size: 13px; letter-spacing: 1.6px;
  font-weight: 800; text-transform: uppercase; color: var(--muted);
}

.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head h2 { margin-block: var(--md) var(--md); }
.section-head.center { margin-inline: auto; }
.section-head.center .kicker::before { display: none; }

/* ---------- 6. Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px;
  border-radius: var(--r);
  font-weight: 800; font-size: 15px; letter-spacing: .4px;
  text-decoration: none; border: 0; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-gold {
  background: linear-gradient(180deg, #E0BE63, var(--gold-soft));
  color: var(--gold-ink);
  box-shadow: 0 4px 0 var(--gold-shadow);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--gold-shadow); }
.btn-gold:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--gold-shadow); }

.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--bubble-line); background: var(--surface); }

@media (prefers-reduced-motion: reduce) {
  .btn:hover, .btn:active { transform: none; }
}

.btn-row { display: flex; flex-wrap: wrap; gap: var(--md); align-items: center; }
.btn-note { font-size: 13px; color: var(--muted); }
@media (max-width: 560px) {
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
}

/* ---------- 7. Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; letter-spacing: -.02em; font-size: 17px; }
.brand svg { width: 31px; height: 31px; flex: none; }

.nav-links { display: flex; align-items: center; gap: var(--lg); }
.nav-links a {
  text-decoration: none; font-size: 14.5px; font-weight: 600; color: var(--muted);
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.btn-gold { color: var(--gold-ink); }
.nav-links a.btn-gold:hover { color: var(--gold-ink); }
.nav-links .btn { padding: 10px 20px; font-size: 14px; }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; cursor: pointer; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-block: 1px solid var(--line);
    padding: var(--sm) 20px var(--md);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: var(--md); justify-content: center; }
}

/* ---------- 8. Hero ---------- */
.hero { padding-block: clamp(56px, 9vw, 104px) var(--section); position: relative; overflow: hidden; }
.hero::after {
  /* halo dourado muito suave atrás do celular */
  content: ''; position: absolute; z-index: 0;
  right: -10%; top: 4%; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(215,178,90,.13), transparent 68%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px);
  align-items: center; position: relative; z-index: 1;
}
.hero h1 { margin-block: var(--lg) var(--lg); }
.hero h1 em { font-style: normal; color: var(--gold-soft); }
.hero .lede { margin-bottom: var(--xl); }
.hero .btn-row { margin-bottom: var(--lg); }

.hero-proof { display: flex; flex-wrap: wrap; gap: var(--lg); font-size: 13.5px; color: var(--muted); }
.hero-proof span { display: inline-flex; align-items: center; gap: 7px; }
.hero-proof svg { width: 15px; height: 15px; flex: none; color: var(--gold); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { margin-top: var(--xl); }
}

/* ---------- 9. Mockup do celular (CSS puro, sem imagem) ---------- */
.phone-stack { display: flex; justify-content: center; align-items: center; gap: -40px; position: relative; }
.phone {
  width: 288px; flex: none;
  border-radius: 40px;
  background: var(--bg);
  border: 8px solid #05090A;
  box-shadow: 0 34px 70px -18px rgba(0,0,0,.85), 0 0 0 1px var(--line);
  overflow: hidden;
  position: relative;
}
.phone::before { /* recorte da câmera */
  content: ''; position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 74px; height: 20px; background: #05090A; border-radius: var(--r-pill); z-index: 5;
}
.phone-screen { padding: 38px 14px 14px; min-height: 552px; display: flex; flex-direction: column; }
.phone-2 { transform: scale(.82) translateX(-18%) rotate(-4deg); opacity: .55; filter: saturate(.7); position: absolute; left: 0; z-index: -1; }

@media (max-width: 520px) {
  .phone { width: 258px; }
  .phone-2 { display: none; }
}

/* -- barra de status falsa -- */
.p-status { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--muted); padding: 0 6px 12px; font-weight: 700; }

/* -- topo com ofensiva -- */
.p-top { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 14px; }
.p-chip {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--surface-alt); border: 1px solid var(--line);
  padding: 5px 11px; border-radius: var(--r-pill); font-size: 12px; font-weight: 800;
}
.p-chip.gold { color: var(--gold); border-color: var(--gold-shadow); }

/* -- caminho serpenteante -- */
.p-phase {
  background: linear-gradient(90deg, var(--surface-alt), transparent);
  border-left: 3px solid var(--gold);
  padding: 9px 12px; border-radius: 0 10px 10px 0; margin-bottom: var(--md);
}
.p-phase b { display: block; font-size: 13px; }
.p-phase span { font-size: 11px; color: var(--muted); }

.p-path { position: relative; flex: 1; padding-top: var(--sm); }
.p-node {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800; font-size: 15px;
  margin: 0 auto 16px;
  position: relative;
}
.p-node.done { background: var(--green-bg); border: 2px solid var(--green-line); color: var(--green-text); box-shadow: 0 4px 0 #0d1a10; }
.p-node.now {
  background: linear-gradient(180deg, #E0BE63, var(--gold-soft));
  color: var(--gold-ink); box-shadow: 0 5px 0 var(--gold-shadow);
}
.p-node.locked { background: var(--surface); border: 2px solid var(--line); color: #55655F; box-shadow: 0 4px 0 #0b1012; }
.p-node.l { margin-left: 22%; } .p-node.r { margin-right: 22%; }
.p-node .tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--gold-ink);
  font-size: 9px; font-weight: 900; letter-spacing: .8px;
  padding: 3px 8px; border-radius: var(--r-pill); white-space: nowrap;
}

/* -- tela da lição -- */
.p-progress { height: 9px; background: var(--track); border-radius: var(--r-pill); overflow: hidden; margin-bottom: var(--md); }
.p-progress i { display: block; height: 100%; width: 62%; background: var(--gold); border-radius: var(--r-pill); }
.p-bubble {
  background: var(--surface); border: 1px solid var(--bubble-line);
  border-radius: 14px; padding: 13px 14px; font-size: 12.5px; line-height: 1.55;
  margin-bottom: var(--md); position: relative;
}
.p-bubble::after {
  content: ''; position: absolute; bottom: -7px; left: 26px;
  width: 12px; height: 12px; background: var(--surface);
  border-right: 1px solid var(--bubble-line); border-bottom: 1px solid var(--bubble-line);
  transform: rotate(45deg);
}
.p-alt {
  border: 1px solid var(--line); background: var(--surface);
  border-radius: 12px; padding: 11px 13px; font-size: 12.5px; margin-bottom: 9px;
  box-shadow: 0 3px 0 #0b1012;
}
.p-alt.ok { background: var(--green-bg); border-color: var(--green-line); color: var(--green-text); box-shadow: 0 3px 0 #0d1a10; }
.p-alt.amber { background: var(--amber-bg); border-color: var(--amber-line); color: var(--amber-text); box-shadow: 0 3px 0 #1a1309; }
.p-feedback {
  background: var(--green-bg); border: 1px solid var(--green-line); color: var(--green-text);
  border-radius: 12px; padding: 11px 13px; font-size: 12px; line-height: 1.55; margin-top: auto;
}
.p-cta {
  margin-top: 12px; text-align: center; font-weight: 900; font-size: 13px;
  background: linear-gradient(180deg, #E0BE63, var(--gold-soft)); color: var(--gold-ink);
  padding: 12px; border-radius: 12px; box-shadow: 0 4px 0 var(--gold-shadow);
}

/* ---------- 10. Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(22px, 3vw, 30px);
  position: relative; overflow: hidden;
  transition: border-color .25s, transform .25s;
}
.card:hover { border-color: var(--bubble-line); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }

.grid { display: grid; gap: var(--md); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .g-3, .g-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }

.icon {
  width: 44px; height: 44px; border-radius: 13px;
  display: grid; place-items: center; margin-bottom: var(--md);
  background: var(--surface-alt); border: 1px solid var(--line); color: var(--gold);
}
.icon svg { width: 21px; height: 21px; }

/* ---------- 11. O problema (momentos) ---------- */
.moment {
  border-left: 2px solid var(--line);
  padding: var(--sm) 0 var(--sm) var(--lg);
  transition: border-color .3s;
}
.moment:hover { border-left-color: var(--gold); }
.moment b { display: block; font-size: 16px; margin-bottom: 6px; }
.moment span { color: var(--muted); font-size: 14.5px; }

/* ---------- 12. Dicotomia do controle ---------- */
.dico {
  display: grid; grid-template-columns: 1fr 1px 1fr;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; background: var(--surface);
}
.dico-col { padding: clamp(24px, 3.4vw, 38px); }
.dico-rule { background: linear-gradient(180deg, transparent, var(--gold), transparent); }
.dico-col h3 { margin-bottom: var(--md); display: flex; align-items: center; gap: 10px; }
.dico-col ul { list-style: none; padding: 0; display: grid; gap: 11px; }
.dico-col li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--muted); }
.dico-col li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; margin-top: 9px; flex: none; }
.dico-mine li::before { background: var(--green); }
.dico-mine li { color: var(--text); }
.dico-not li::before { background: #4A5A55; }
.dico-tag { font-size: 12px; letter-spacing: 1.6px; font-weight: 800; text-transform: uppercase; }
.dico-mine .dico-tag { color: var(--green); }
.dico-not .dico-tag { color: var(--muted); }
@media (max-width: 760px) {
  .dico { grid-template-columns: 1fr; }
  .dico-rule { height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
}

/* ---------- 13. Passo a passo do dia ---------- */
.steps { counter-reset: s; display: grid; gap: var(--md); grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: var(--lg); }
.step::before {
  counter-increment: s; content: counter(s, decimal-leading-zero);
  display: block; font-size: 13px; font-weight: 900; letter-spacing: 1.5px; color: var(--gold);
  padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--line);
}
.step b { display: block; font-size: 17px; margin-bottom: 7px; }
.step span { color: var(--muted); font-size: 14.5px; }

/* ---------- 14. Grade dos 45 dias ---------- */
.days {
  display: grid; grid-template-columns: repeat(15, 1fr); gap: 7px;
  max-width: 620px;
}
@media (max-width: 620px) { .days { grid-template-columns: repeat(9, 1fr); } }
.day {
  aspect-ratio: 1; border-radius: 5px;
  background: var(--surface-alt); border: 1px solid var(--line);
  opacity: 0; transform: scale(.5);
  animation: pop .45s cubic-bezier(.2,.9,.3,1.3) forwards;
}
.day.f1 { background: #24312C; border-color: #35473F; }
.day.f2 { background: #3A3A26; border-color: #57532F; }
.day.f3 { background: rgba(215,178,90,.55); border-color: var(--gold); }
.day.free { box-shadow: inset 0 0 0 1.5px var(--green); }
@keyframes pop { to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .day { animation: none; opacity: 1; transform: none; }
}
.days-legend { display: flex; flex-wrap: wrap; gap: var(--lg); margin-top: var(--lg); font-size: 13px; color: var(--muted); }
.days-legend span { display: inline-flex; align-items: center; gap: 8px; }
.days-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }

.phase-list { display: grid; gap: var(--md); }
.phase-item { border-left: 3px solid var(--line); padding-left: var(--md); }
.phase-item.a { border-left-color: #35473F; }
.phase-item.b { border-left-color: #57532F; }
.phase-item.c { border-left-color: var(--gold); }
.phase-item b { display: block; font-size: 16px; }
.phase-item span { color: var(--muted); font-size: 14.5px; }

/* ---------- 15. Comparativo ---------- */
.vs { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.vs-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; border-bottom: 1px solid var(--line); }
.vs-row:last-child { border-bottom: 0; }
.vs-row > * { padding: 15px var(--md); font-size: 14.5px; display: flex; align-items: center; gap: 9px; }
.vs-head { background: var(--surface-alt); font-weight: 800; font-size: 13px; letter-spacing: .4px; }
.vs-head .us { color: var(--gold); }
.vs-row > *:nth-child(1) { color: var(--muted); }
.vs-row > *:nth-child(2) { border-inline: 1px solid var(--line); }
.vs-row > *:nth-child(3) { background: rgba(215,178,90,.05); }
.vs svg { width: 16px; height: 16px; flex: none; }
.vs .yes { color: var(--green); } .vs .no { color: #5A6B65; }
@media (max-width: 700px) {
  .vs-row { grid-template-columns: 1fr; }
  .vs-row > *:nth-child(2), .vs-row > *:nth-child(3) { border-inline: 0; border-top: 1px solid var(--line); }
  .vs-head { display: none; }
  .vs-row > *:nth-child(2)::before { content: 'Apps de frases: '; color: var(--muted); font-size: 12px; }
  .vs-row > *:nth-child(3)::before { content: 'Steady Life: '; color: var(--gold); font-size: 12px; font-weight: 800; }
}

/* ---------- 16. Preço ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--md); align-items: stretch; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.plan { display: flex; flex-direction: column; }
.plan.hero-plan { border-color: var(--gold-shadow); background: linear-gradient(180deg, rgba(215,178,90,.07), var(--surface)); }
.plan-tag {
  position: absolute; top: 0; right: 0;
  background: var(--gold); color: var(--gold-ink);
  font-size: 10.5px; font-weight: 900; letter-spacing: 1.2px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 0 var(--r-lg) 0 12px;
}
.plan-name { font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; font-weight: 800; color: var(--muted); }
.plan-price { font-size: clamp(30px, 4vw, 40px); font-weight: 800; letter-spacing: -.02em; margin: 12px 0 2px; }
.plan-price small { font-size: 15px; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.plan-sub { font-size: 13.5px; color: var(--muted); min-height: 20px; }
.plan ul { list-style: none; padding: 0; margin: var(--lg) 0 var(--lg); display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; font-size: 14.5px; align-items: flex-start; }
.plan li svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--gold); }
.plan .btn { margin-top: auto; width: 100%; }

/* ---------- 17. FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
}
.faq details[open] { border-color: var(--bubble-line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 22px;
  font-weight: 700; font-size: 16px;
  display: flex; justify-content: space-between; align-items: center; gap: var(--md);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; color: var(--gold); font-size: 22px; font-weight: 400;
  flex: none; transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 22px 20px; color: var(--muted); font-size: 15px; max-width: var(--readw); }
.faq .faq-body a { color: var(--gold-soft); }

/* ---------- 18. Botões das lojas ---------- */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 11px 20px 11px 17px;
  background: var(--surface); border: 1px solid var(--bubble-line);
  border-radius: 14px; text-decoration: none;
  transition: border-color .2s, transform .18s ease, background .2s;
}
.store:hover { border-color: var(--gold); background: var(--surface-alt); transform: translateY(-2px); }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: block; line-height: 1.15; }
.store .over { font-size: 10.5px; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.store .name { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }

/* versão compacta, usada dentro dos cartões de plano */
.store-row { display: grid; gap: 8px; margin-top: auto; }
.store-mini {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 11px 14px; border-radius: 12px; text-decoration: none;
  font-size: 14px; font-weight: 800; letter-spacing: .2px;
  background: var(--surface-alt); border: 1px solid var(--line);
  transition: border-color .2s, background .2s;
}
.store-mini:hover { border-color: var(--gold); background: var(--surface); }
.store-mini svg { width: 17px; height: 17px; flex: none; }
.plan.hero-plan .store-mini { background: rgba(215,178,90,.12); border-color: var(--gold-shadow); }
.plan.hero-plan .store-mini:hover { background: rgba(215,178,90,.2); }

@media (prefers-reduced-motion: reduce) { .store:hover { transform: none; } }

/* faixa final de download */
.download {
  border: 1px solid var(--gold-shadow);
  background: linear-gradient(180deg, rgba(215,178,90,.08), var(--surface));
  border-radius: var(--r-lg);
  padding: clamp(30px, 5vw, 56px);
  text-align: center;
}
.download h2 { margin-bottom: var(--md); }
.download .lede { margin-inline: auto; margin-bottom: var(--xl); }
.download .stores { justify-content: center; }
.download-note { font-size: 12.5px; color: var(--muted); margin-top: var(--lg); }

/* ---------- 19. Rodapé ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: var(--section) var(--xl); margin-top: var(--section); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--xl); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid h4 { font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold); margin-bottom: var(--md); }
.foot-grid ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.foot-grid a { text-decoration: none; color: var(--muted); font-size: 14.5px; }
.foot-grid a:hover { color: var(--text); }
.foot-about p { color: var(--muted); font-size: 14.5px; max-width: 42ch; margin-top: var(--md); }
.foot-bottom {
  margin-top: var(--section); padding-top: var(--lg); border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: var(--md); justify-content: space-between;
  font-size: 13px; color: var(--muted);
}

/* ---------- 20. Páginas de texto (termos, privacidade, suporte) ---------- */
.doc { padding-block: clamp(48px, 7vw, 88px) 0; }
.doc h1 { font-size: clamp(30px, 4.6vw, 46px); margin-block: var(--md) var(--md); }
.doc .updated { color: var(--muted); font-size: 13.5px; }
.doc-body { max-width: var(--readw); margin-top: var(--xl); }
.doc-body h2 { font-size: clamp(21px, 2.6vw, 26px); margin-top: clamp(44px, 6vw, 76px); margin-bottom: var(--md); scroll-margin-top: 90px; }
.doc-body > h2:first-child { margin-top: var(--lg); }
.doc-body h3 { margin-top: var(--xl); margin-bottom: var(--sm); font-size: 17px; }
.doc-body p, .doc-body li { color: #C4D2CD; font-size: 15.5px; }
.doc-body p { margin-bottom: var(--md); }
.doc-body ul, .doc-body ol { margin: 0 0 var(--md); padding-left: var(--lg); display: grid; gap: 8px; }
.doc-body a { color: var(--gold-soft); }
.doc-body strong { color: var(--text); }
.doc-body table { width: 100%; border-collapse: collapse; margin-bottom: var(--md); font-size: 14.5px; }
.doc-body th, .doc-body td { border: 1px solid var(--line); padding: 11px 13px; text-align: left; vertical-align: top; }
.doc-body th { background: var(--surface-alt); font-size: 13px; letter-spacing: .4px; }
.callout {
  background: var(--surface); border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--r) var(--r) 0;
  padding: var(--md) var(--lg); margin-bottom: var(--lg);
}
.callout p:last-child { margin-bottom: 0; }
.toc {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: var(--lg); margin-bottom: var(--xl);
}
.toc b { font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold); }
.toc ol { margin: var(--md) 0 0; padding-left: var(--lg); display: grid; gap: 7px; }
.toc a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.toc a:hover { color: var(--gold-soft); }

/* ---------- 21. Revelação no scroll ----------
   Regra de ouro: o conteúdo NASCE visível. Só escondemos quando o
   navegador confirma que tem JavaScript ligado (`scripting: enabled`).
   Assim, se o JS falhar ou estiver desligado, o site continua legível. */
@media (scripting: enabled) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
  .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 22. 404 ---------- */
.err-page { min-height: 68vh; display: grid; place-items: center; text-align: center; }
.err-page .num { font-size: clamp(78px, 16vw, 150px); font-weight: 800; color: var(--surface-alt); line-height: 1; letter-spacing: -.04em; }
