:root {
  --night: #1b1640;
  --night-2: #241d52;
  --ink: #f3ead7;
  --soft: #c9bfe6;
  --gold: #f0b94a;
  --gold-2: #ffd77a;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--night); }
body {
  margin: 0; color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: radial-gradient(1200px 600px at 50% -10%, #3a2d7a 0%, var(--night) 60%) fixed;
}
img.px { image-rendering: pixelated; image-rendering: crisp-edges; }
a { color: var(--gold-2); }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 16px; }

header.hero { text-align: center; padding: 28px 0 8px; }
header.hero .logo { width: min(480px, 90vw); height: auto; }
header.hero .tag { font-size: 20px; color: var(--soft); margin: 18px auto 4px; max-width: 34em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.banner { width: 100%; height: auto; border-radius: 12px; border: 3px solid #3a2d7a; display: block; }

.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 22px 0 6px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 26px; border-radius: 12px; text-decoration: none;
  font-weight: 800; font-size: 19px; letter-spacing: .02em;
  background: var(--gold); color: var(--night); border: 3px solid var(--gold-2);
  box-shadow: 0 4px 0 #a8741c;
}
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 #a8741c; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--soft); box-shadow: none; }
.note { text-align: center; color: var(--soft); font-size: 15px; margin: 4px 0 0; }

section { padding: 34px 0; }
h2 { font-size: 26px; margin: 0 0 14px; color: var(--gold-2); }
.story { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.story figure { margin: 0; background: var(--night-2); border-radius: 10px; overflow: hidden; border: 2px solid #3a2d7a; }
.story img { width: 100%; height: auto; display: block; }
.story figcaption { padding: 10px 12px; font-size: 15px; color: var(--soft); }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 22px; padding: 0; list-style: none; }
.features li { background: var(--night-2); border-radius: 10px; padding: 12px 14px; border: 2px solid #3a2d7a; }
.features b { color: var(--gold-2); }
.price { background: var(--night-2); border: 3px solid var(--gold); border-radius: 14px; padding: 18px 20px; }
.price p { margin: 6px 0; }
.stores { margin-top: 10px; }

footer { padding: 28px 0 40px; color: var(--soft); font-size: 14px; border-top: 1px solid #3a2d7a; margin-top: 20px; }
footer nav { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
footer button.link { background: none; border: 0; padding: 0; color: var(--gold-2); text-decoration: underline; font: inherit; cursor: pointer; }

/* Páginas de texto (privacidade, termos, reembolso, suporte) */
main.doc { max-width: 760px; margin: 0 auto; padding: 24px 16px 40px; overflow-wrap: break-word; }
main.doc h1 { color: var(--gold-2); font-size: 28px; margin-bottom: 4px; }
main.doc h2 { font-size: 20px; margin-top: 26px; }
main.doc h3 { font-size: 17px; margin: 18px 0 4px; color: var(--gold-2); }
main.doc .updated { color: var(--soft); font-size: 15px; margin-top: 0; }
main.doc .box { background: var(--night-2); border: 2px solid #3a2d7a; border-radius: 10px; padding: 12px 16px; }
main.doc .box ul { margin: 6px 0; padding-left: 20px; }
main.doc details { background: var(--night-2); border: 2px solid #3a2d7a; border-radius: 10px; padding: 10px 14px; margin: 10px 0; }
main.doc summary { cursor: pointer; font-weight: 700; }
main.doc details[open] summary { color: var(--gold-2); margin-bottom: 6px; }
main.doc details p, main.doc details ol, main.doc details ul { margin: 6px 0; }
main.doc .draft { background: #5a2333; border: 2px solid #ff8a8a; border-radius: 10px; padding: 10px 14px; color: #ffe1e1; }
footer.doc { max-width: 760px; margin: 0 auto; padding: 24px 16px 40px; }
footer .company { margin-top: 2px; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .story, .features { grid-template-columns: 1fr; }
  header.hero .tag { font-size: 17px; }
}
