/* Nossa Fase: base dividida pela página de venda, pelo editor e pelas páginas de termos.
   Branco de verdade, texto quase preto, um acento coral de coração, Geist; pixel só no jogo e em detalhe pequeno. */
:root {
  --fundo: #ffffff;
  --texto: #16141a;
  --suave: #5f5b66;
  --linha: #e9e7ec;
  --cinza: #f6f5f7;
  --acento: #e5484d;
  --acento-escuro: #c7353a;
  --acento-claro: #fdeced;
  --escuro: #17141c;
  --ok: #1f9d55;
  --raio: 14px;
  --max: 1120px;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--fundo); color: var(--texto);
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.025em; line-height: 1.12; font-weight: 650; text-wrap: balance; }
p { margin: 0; }
.pixel { image-rendering: pixelated; image-rendering: crisp-edges; }
.miolo { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .miolo { padding: 0 32px; } }

/* cabeçalho */
.topo {
  position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.topo.rolou { border-color: var(--linha); }
.topo .miolo { display: flex; align-items: center; gap: 20px; height: 60px; }
.marca { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; letter-spacing: -0.02em; font-size: 18px; text-decoration: none; }
.marca svg { width: 22px; height: 20px; }
.nav { display: none; gap: 26px; margin-left: auto; font-size: 15px; color: var(--suave); }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--texto); }
.topo .botao { margin-left: auto; }
@media (min-width: 820px) { .nav { display: flex; } .topo .botao { margin-left: 8px; } }

/* botões */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .12s ease, background .15s, box-shadow .15s; -webkit-tap-highlight-color: transparent;
}
.botao:active { transform: translateY(1px); }
.botao.cheio { background: var(--acento); color: #fff; box-shadow: 0 3px 0 var(--acento-escuro); }
.botao.cheio:hover { background: #ec5257; }
.botao.cheio:active { box-shadow: 0 1px 0 var(--acento-escuro); transform: translateY(2px); }
.botao.vazado { background: #fff; color: var(--texto); border-color: var(--texto); box-shadow: 0 3px 0 var(--texto); }
.botao.vazado:active { box-shadow: 0 1px 0 var(--texto); transform: translateY(2px); }
.botao.leve { background: var(--cinza); color: var(--texto); }
.botao.pequeno { min-height: 40px; padding: 0 16px; font-size: 15px; box-shadow: none; }
.botao[disabled] { opacity: .55; cursor: default; }
.botao svg { flex: none; }

/* rodapé */
.rodape { border-top: 1px solid var(--linha); padding: 36px 0 44px; color: var(--suave); font-size: 14px; }
.rodape .miolo { display: grid; gap: 18px; }
.rodape nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.rodape nav a { text-decoration: none; }
.rodape nav a:hover { color: var(--texto); }
.rodape .selos { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.rodape .selos span { display: inline-flex; align-items: center; gap: 6px; }

/* página de texto (termos, privacidade, reembolso) */
.texto-legal { max-width: 680px; padding: 48px 16px 64px; margin: 0 auto; }
.texto-legal h1 { font-size: 32px; margin-bottom: 8px; }
.texto-legal .quando { color: var(--suave); font-size: 14px; margin-bottom: 28px; }
.texto-legal h2 { font-size: 19px; margin: 30px 0 8px; }
.texto-legal p, .texto-legal li { color: #34313a; margin-bottom: 8px; }
.texto-legal ul { padding-left: 20px; margin: 0 0 8px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
