/* Bailder Games — BASE (dono: ARQUITETO). Tokens da marca + reset + componentes comuns.
   Áreas têm CSS próprio: landing.css · contas.css · assinatura.css · pais.css · admin.css (fundo papel)
   e console.css · jogar.css · tv.css (fundo escuro, LED). Nunca edite este arquivo por área. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/inter-400-1e94a563.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/inter-500-5949f5fc.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/inter-600-a957bd0d.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/inter-700-cbc762c0.woff2") format("woff2"); }

:root {
  /* papel (site) */
  --white: #fffefb; --paper: #f1eee5; --ink: #191714; --ink-2: #26231e;
  --gray-700: #47423a; --gray-500: #5f5a51; --gray-400: #736d63; --gray-200: #d7d1c2; --gray-100: #e9e5d9;
  /* LED (só detalhe, nunca preencher tudo) */
  --neon-cyan: #00e0ff; --neon-blue: #4d7cff; --neon-violet: #8a45ff; --neon-magenta: #c837ff; --neon-pink: #ff2d9b;
  --neon-grad: linear-gradient(115deg, var(--neon-cyan), var(--neon-blue) 26%, var(--neon-violet) 50%, var(--neon-magenta) 72%, var(--neon-pink));
  --led-base: #17161a;
  --accent: #2f7dff; --accent-text: #175cd3;
  --ok: #0f9d78; --warn: #d9a400; --danger: #e5484d;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 14px; --r-lg: 22px; --r-pill: 999px;
  --shadow: 0 10px 30px rgba(10,10,20,.08);
  --ease-out: cubic-bezier(.22,1,.36,1);
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1080px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--accent-text); text-decoration: none; } a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
p { margin: 0 0 1em; } small, .muted { color: var(--gray-500); }
img { max-width: 100%; display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* marca */
.brand { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; letter-spacing: -.045em; color: var(--ink); font-size: 1.35rem; }
.brand:hover { text-decoration: none; }
.brand__b { width: 1.16em; height: 1.16em; background: var(--neon-grad); background-size: 300% 300%;
  -webkit-mask: url("/assets/b-logo-128-b7c939a5.png") center / contain no-repeat; mask: url("/assets/b-logo-128-b7c939a5.png") center / contain no-repeat; animation: led 6s linear infinite; }
.brand__tag { font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gray-500); margin-left: .4em; }
@keyframes led { 0% { background-position: 0% 50%; filter: hue-rotate(0deg); } 100% { background-position: 100% 50%; filter: hue-rotate(360deg); } }
.led-line { height: 2px; background: var(--neon-grad); background-size: 300% 100%; animation: led 6s linear infinite; border-radius: 2px; }

/* topo/rodapé */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px var(--gutter); }
.topbar nav { display: flex; gap: 18px; align-items: center; font-weight: 500; }
.topbar__admin { padding: 4px 12px; border-radius: var(--r-pill); background: var(--ink); color: var(--white); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.topbar__admin:hover { text-decoration: none; opacity: .85; }
@media (max-width: 480px) { .topbar { gap: 10px; } .topbar nav { gap: 10px; flex-wrap: wrap; justify-content: flex-end; } }
.footer { border-top: 1px solid var(--gray-200); margin-top: 64px; padding: 28px var(--gutter) 40px; color: var(--gray-500); font-size: .9rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: 8px; }

/* componentes */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: 0 20px; border-radius: var(--r-pill);
  border: 1px solid var(--ink); background: var(--ink); color: var(--white); font: 600 1rem var(--font); cursor: pointer; transition: transform .16s var(--ease-out), opacity .16s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); } .btn:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--ink); } .btn--block { width: 100%; }
.btn--led { position: relative; isolation: isolate; }
.btn--led::before { content: ""; position: absolute; inset: -2px; border-radius: inherit; background: var(--neon-grad); background-size: 300% 300%; animation: led 6s linear infinite; z-index: -1; opacity: 0; transition: opacity .2s; }
.btn--led:hover::before, .btn--led:focus-visible::before { opacity: 1; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: .95rem; }
.selects-inline { display: flex; gap: 8px; }
.selects-inline select { flex: 1; min-width: 0; }
.field input, .field select, .field textarea { font: inherit; padding: 12px 14px; border-radius: var(--r); border: 1px solid var(--gray-200); background: var(--white); color: var(--ink); width: 100%; }
.field input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.field .hint { color: var(--gray-500); font-size: .85rem; }
.field .hint--alerta { color: #9b1c1c; font-weight: 600; }   /* régua da SBP para menos de 2 anos (PARECER-LIMITE-IDADE-1210) */
.check { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--gray-200); border-radius: var(--r); background: var(--white); margin-bottom: 10px; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--accent); }
.check--destaque { border-color: var(--ink); }
.flash { padding: 12px 16px; border-radius: var(--r); margin: 16px 0; font-weight: 500; }
.flash--notice { background: #e6f6ef; color: #0b6b52; } .flash--alert { background: #fdecec; color: #9b1c1c; }
.eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gray-500); }
.pill { display: inline-block; padding: 4px 12px; border-radius: var(--r-pill); background: var(--gray-100); font-size: .8rem; font-weight: 600; }
.grid { display: grid; gap: 20px; } @media (min-width: 760px) { .grid--2 { grid-template-columns: 1fr 1fr; } .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
