/* Base das páginas públicas (início e download): servidas sem o app e sob a CSP do servidor, sem estilos inline. */
@font-face { font-family: Inter; src: url('/fonts/inter-variable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #101419;
  --band: #151b22;
  --surface: #171d25;
  --surface-2: #1c242e;
  --surface-3: #222b36;
  --line: #303c49;
  --line-soft: #263140;
  --text: #eef3f8;
  --soft: #c9d4e0;
  --body: #b8c6d6;
  --muted: #96a7bb;
  --mint: #63e5bf;
  --mint-hover: #86edcf;
  --mint-ink: #0b1a15;
  --mint-tint: #17302a;
  --peach: #ffb37a;
  --lilac: #8c9cff;
  --pink: #e98bc4;
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); overflow-x: hidden; }
a { color: var(--mint); text-decoration: none; }
a:hover { color: #9af0d6; }
button { font: inherit; color: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--mint); outline-offset: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 10; padding: 10px 16px; border-radius: 10px; background: var(--mint); color: var(--mint-ink); font-weight: 700; }
.skip-link:focus { top: 16px; }

.wrap { max-width: 1240px; margin: 0 auto; padding-inline: 24px; }
.display { font-weight: 800; letter-spacing: -0.035em; line-height: 1; margin: 0; }
.eyebrow { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mint); }
.lead { margin: 0; font-size: 20px; line-height: 1.55; color: var(--body); }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font: 600 15px/1 Inter, sans-serif; white-space: nowrap; transition: transform .15s, background-color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-mint { background: var(--mint); color: var(--mint-ink); }
.btn-mint:hover { background: var(--mint-hover); color: var(--mint-ink); }
.btn-ghost { background: var(--surface-3); border-color: var(--line); color: var(--text); }
.btn-ghost:hover { background: #2a3542; color: #fff; }
.btn-lg { min-height: 60px; padding: 0 30px; font-size: 17px; }
.btn-lg svg { width: 22px; height: 22px; }
.btn[aria-disabled="true"] { opacity: .6; pointer-events: none; }

/* Cabeçalho */
.site-header { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; padding-block: 22px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.logo:hover { color: var(--text); }
.logo img { width: 36px; height: 36px; display: block; }
.site-nav { display: flex; gap: 28px; flex-wrap: wrap; flex: 1 1 auto; }
.site-nav a { color: var(--soft); font-size: 15px; font-weight: 500; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; }
.header-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Rodapé */
.site-footer { border-top: 1px solid var(--surface-3); }
.footer-grid { display: flex; flex-wrap: wrap; gap: 48px; padding-block: 56px; }
.footer-brand { flex: 2 1 260px; }
.footer-brand p { margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.footer-col { flex: 1 1 160px; display: flex; flex-direction: column; }
.footer-col b { font-size: 14px; margin-bottom: 8px; }
.footer-col a { color: var(--muted); font-size: 14px; line-height: 2; }
.footer-col a:hover { color: var(--text); }
.language-picker { display: inline-flex; flex-direction: column; gap: 6px; margin-top: 20px; font-size: 13px; color: var(--muted); }
.language-picker select { min-height: 40px; padding: 0 12px; border-radius: 10px; background: var(--surface); color: var(--text); border: 1px solid var(--line); font: 500 14px Inter, sans-serif; }

/* Avatares e peças das ilustrações */
.dot { display: inline-block; border-radius: 50%; flex: none; }
.c-mint { background: var(--mint); }
.speaking { box-shadow: 0 0 0 3px var(--surface-2), 0 0 0 6px var(--mint); }
.tag-live { display: inline-block; font-size: 11px; font-weight: 700; color: var(--mint-ink); background: var(--mint); padding: 4px 8px; border-radius: 6px; letter-spacing: .02em; }

@media (max-width: 720px) {
  .site-header { gap: 16px; flex-wrap: nowrap; justify-content: space-between; }
  .site-nav, .header-actions .btn-mint { display: none; }
  .lead { font-size: 18px; }
  .btn-lg { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }
