/* Fontes incluídas localmente sob SIL Open Font License 1.1. */
@font-face { font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/Anton-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/Barlow-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/Barlow-SemiBold.ttf') format('truetype'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap; src: url('../assets/fonts/Barlow-Bold.ttf') format('truetype'); }
:root {
  --bg: #0d0d0d;
  --card: #1a1a1a;
  --line: #333333;
  --ink: #f6f2e7;
  --muted: #b3ad9d;
  --accent: #ffc400;
  --accent-ink: #111111;
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.45; }
body { min-height: 100%; }
main { max-width: 520px; margin: 0 auto; padding: 20px 16px 40px; display: flex; flex-direction: column; gap: 18px; }
[hidden] { display: none !important; }
h1, h2, .display { font-family: var(--display); font-weight: 400; letter-spacing: 0.01em; text-transform: uppercase; margin: 0; text-wrap: balance; }
h1 { font-size: 2.6rem; line-height: 1.02; }
h2 { font-size: 1.5rem; line-height: 1.15; }
p { margin: 0; }
.muted { color: var(--muted); }
.eyebrow { font-weight: 700; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.logo { display: block; margin: 0 auto; width: 100%; height: auto; background: #fff; border-radius: 16px; padding: 6px; }
.logo-lg { max-width: 280px; }
.logo-md { max-width: 200px; }
.logo-sm { max-width: 110px; border-radius: 12px; padding: 4px; }
button { font: inherit; cursor: pointer; }
button:focus-visible, input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.btn { display: block; width: 100%; border: 0; border-radius: 12px; padding: 16px 18px; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 1.05rem; text-align: left; }
.btn.alt { background: var(--card); color: var(--ink); border: 2px solid var(--line); }
.btn small { display: block; font-weight: 400; opacity: 0.8; font-size: 0.85rem; }
.btn[disabled] { opacity: 0.35; cursor: not-allowed; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; }
.field input { font: inherit; padding: 14px; border-radius: 12px; border: 2px solid var(--line); background: var(--card); color: var(--ink); }
.steps { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 4px; }
.fine { font-size: 0.8rem; color: var(--muted); line-height: 1.4; }
.bar { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; }
.bar > i { display: block; height: 100%; width: 0; background: var(--accent); transition: width 0.25s ease; }
.top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.q { font-size: 1.35rem; font-weight: 700; line-height: 1.25; text-wrap: balance; }
.opts { display: flex; flex-direction: column; gap: 10px; padding: 0; margin: 0; list-style: none; }
.opt { width: 100%; text-align: left; padding: 15px 16px; border-radius: 12px; border: 2px solid var(--line); background: var(--card); color: var(--ink); font-weight: 600; display: flex; gap: 12px; align-items: flex-start; }
.opt b { flex: none; width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--line); color: var(--ink); display: grid; place-items: center; font-size: 0.85rem; }
.opt[aria-pressed="true"] { border-color: var(--accent); background: #2a2400; }
.opt[aria-pressed="true"] b { background: var(--accent); color: var(--accent-ink); }
.sharecard { border: 3px solid var(--accent); border-radius: 18px; padding: 22px 18px; background: linear-gradient(180deg, #161616, #0a0a0a); display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; }
.sharecard .score { font-family: var(--display); font-size: 5.5rem; line-height: 1; color: var(--accent); }
.sharecard .score small { font-size: 2rem; color: var(--ink); }
.sharecard .who { font-weight: 700; font-size: 1.1rem; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.chip { padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); font-weight: 600; font-size: 0.9rem; }
.how { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
@media (prefers-reduced-motion: reduce) { .bar > i { transition: none; } }
