/* Clube Gigio's — vitrine noturna: preto profundo, contorno azul elétrico de neon, selos amarelo-mostarda.
   Visual único escuro por escolha da marca (não muda com o tema do aparelho). */
:root {
  --bg: #03050b;
  --bg-2: #070b16;
  --card: #0a1122;
  --card-2: #0e1730;
  --line: #1f6bff;
  --line-soft: rgba(31, 107, 255, .38);
  --line-faint: rgba(110, 140, 200, .18);
  --yellow: #ffd21f;
  --yellow-2: #ffbf00;
  --yellow-ink: #141005;
  --text: #f5f7fc;
  --muted: #98a3bb;
  --muted-2: #67728b;
  --ok: #2fd27a;
  --danger: #ff5d63;
  --font-display: "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --r-lg: 26px;
  --r-md: 16px;
  --r-sm: 12px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { min-height: 100%; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  background-image:
    radial-gradient(120% 60% at 50% -10%, rgba(31, 107, 255, .16), transparent 60%),
    radial-gradient(80% 40% at 100% 100%, rgba(31, 107, 255, .08), transparent 60%);
  background-attachment: fixed;
  color: var(--text);
  font: 15px/1.5 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 50; background: var(--bg); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

#app {
  max-width: 480px; margin: 0 auto; min-height: 100vh;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 12px 120px;
  display: flex; flex-direction: column; gap: 18px;
}
#app.largo { max-width: 760px; }
#app.sem-nav { padding-bottom: 40px; }

/* ---------- topo ---------- */
.topo { display: flex; align-items: center; gap: 14px; padding-top: 6px; }
.topo .logo { width: 72px; height: 72px; border-radius: 16px; object-fit: cover; background: #000; flex: none; }
.marca { display: flex; flex-direction: column; line-height: .92; font-family: var(--font-display); font-weight: 800; }
.marca span:first-child { font-size: 19px; letter-spacing: .01em; }
.marca span:nth-child(2) { font-size: 30px; letter-spacing: -.01em; }
.marca::after { content: ""; display: block; width: 74%; height: 4px; margin-top: 6px; border-radius: 4px; background: linear-gradient(90deg, var(--line), rgba(31, 107, 255, .2)); transform: skewX(-18deg); }
.topo .acoes { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.icone-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-faint); background: var(--card); color: var(--muted); }
.icone-btn:hover { color: var(--text); border-color: var(--line-soft); }
.icone-btn svg { width: 22px; height: 22px; }

.saudacao h1 { font-size: clamp(34px, 10vw, 44px); font-weight: 800; line-height: 1.02; }
.saudacao p { color: #b9c3dc; font-family: var(--font-display); font-weight: 500; font-size: 19px; margin-top: 6px; }

/* ---------- cartões ---------- */
.painel {
  position: relative; border-radius: var(--r-lg); padding: 22px 20px;
  background: linear-gradient(180deg, var(--card-2), var(--card) 40%, var(--bg-2));
  border: 2px solid var(--line);
  box-shadow: 0 0 0 1px rgba(31, 107, 255, .15), 0 0 28px rgba(31, 107, 255, .28), inset 0 0 40px rgba(31, 107, 255, .06);
  display: flex; flex-direction: column; gap: 16px;
}
.painel.calmo { border: 1px solid var(--line-soft); box-shadow: none; background: var(--card); }
.painel.ouro { border-color: var(--yellow); box-shadow: 0 0 28px rgba(255, 210, 31, .22), inset 0 0 40px rgba(255, 210, 31, .05); }
.painel-cab { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.painel-cab h2 { font-size: 24px; font-weight: 700; }
.painel-sub { color: var(--muted); margin-top: -8px; }
.pilula { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--yellow); color: var(--yellow-ink); font-family: var(--font-display); font-weight: 700; font-size: 15px; white-space: nowrap; }
.pilula.azul { background: rgba(31, 107, 255, .16); color: #8fb4ff; border: 1px solid var(--line-soft); }
.pilula.verde { background: rgba(47, 210, 122, .14); color: var(--ok); }
.pilula.cinza { background: rgba(255, 255, 255, .06); color: var(--muted); }
.rotulo { font-size: 11.5px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: #3d82ff; }
.divisor { height: 1px; background: var(--line-faint); border: 0; margin: 0; }

/* ---------- selos ---------- */
.selos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.selo { position: relative; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; border: 2px dashed rgba(140, 160, 200, .38); color: #8a96b0; }
.selo svg { width: 46%; height: 46%; }
.selo.cheio { border: 0; background: radial-gradient(circle at 35% 30%, #ffe35c, var(--yellow) 45%, var(--yellow-2)); color: var(--yellow-ink); box-shadow: 0 6px 18px rgba(255, 196, 0, .25), inset 0 -4px 0 rgba(0, 0, 0, .12); }
.selo .ok { position: absolute; right: -2px; bottom: -2px; width: 34%; height: 34%; border-radius: 50%; background: #0b0d12; color: var(--yellow); display: grid; place-items: center; border: 2px solid var(--yellow); }
.selo .ok svg { width: 62%; height: 62%; }
.selo.novo { animation: carimbo .7s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes carimbo { 0% { transform: scale(1.8) rotate(-20deg); opacity: 0; } 100% { transform: scale(1) rotate(0); opacity: 1; } }

.barra { display: flex; align-items: center; gap: 14px; }
.trilho { flex: 1; height: 22px; border-radius: 999px; border: 2px solid var(--line); background: #071026; overflow: hidden; }
.trilho i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--yellow-2), var(--yellow)); transition: width .8s cubic-bezier(.3, .9, .3, 1); }
.barra b { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--yellow); min-width: 3.2ch; text-align: right; }
.falta { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.2; }
.falta em { font-style: normal; color: var(--yellow); }
.regra { text-align: center; color: #b4bfd6; font-family: var(--font-display); font-size: 16px; }
.nota { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12.5px; color: var(--muted); text-align: center; }
.nota svg { width: 18px; height: 18px; color: var(--line); flex: none; }

.faixa-aniv { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--r-md); background: rgba(255, 210, 31, .1); border: 1px solid rgba(255, 210, 31, .35); color: #ffe27a; font-weight: 600; font-size: 14px; }
.faixa-aniv svg { width: 26px; height: 26px; flex: none; }

.vence { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(31, 107, 255, .1); border: 1px solid var(--line-soft); color: #b9cdf7; font-size: 14px; font-weight: 600; }
.vence svg { width: 22px; height: 22px; flex: none; color: #7fa8ff; }
.vence.urgente { background: rgba(255, 210, 31, .1); border-color: rgba(255, 210, 31, .45); color: #ffe27a; }
.vence.urgente svg { color: var(--yellow); }
fieldset.validade { border: 1px solid var(--line-faint); border-radius: 14px; padding: 12px 14px 14px; margin: 0; display: flex; flex-direction: column; gap: 12px; }
fieldset.validade legend { font-weight: 700; font-size: 14px; color: #c9d1e3; padding: 0 6px; }
.opcao { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.opcao input[type=radio] { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--yellow); flex: none; }
.opcao small { color: var(--muted); font-size: 13px; line-height: 1.45; }
.opcao input.dias { width: 88px; min-height: 42px; padding: 6px 10px; display: inline-block; margin: 0 6px; font-size: 16px; }

.aceite { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: #c9d1e3; cursor: pointer; line-height: 1.45; }
.aceite input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--yellow); flex: none; }
.aceite .opcional { display: block; color: var(--muted-2); font-size: 12.5px; }
.link-inline { background: none; border: 0; padding: 0; color: var(--yellow); text-decoration: underline; text-underline-offset: 2px; font: inherit; }
.legal { display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; color: #c9d1e3; }
.legal h3 { font-size: 17px; margin-top: 10px; color: var(--text); }
.legal ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.links-legais { display: inline-flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; }

.entrada-rs { position: relative; }
.entrada-rs span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 700; font-size: 18px; }
.entrada-rs input.txt { padding-left: 52px; font-size: 24px; font-family: var(--font-display); font-weight: 700; min-height: 62px; }

.so-balcao { display: flex; gap: 10px; align-items: center; justify-content: center; padding: 10px 14px; border-radius: 12px; background: rgba(255, 210, 31, .1); border: 1px solid rgba(255, 210, 31, .4); color: #ffe27a; font-size: 13.5px; font-weight: 700; text-align: left; line-height: 1.35; }
.so-balcao svg { width: 22px; height: 22px; flex: none; }

/* ---------- QR ---------- */
.qr-caixa { align-self: center; background: #fff; border-radius: 22px; padding: 16px; width: min(260px, 72vw); aspect-ratio: 1; display: grid; place-items: center; position: relative; }
.qr-caixa canvas, .qr-caixa svg { width: 100%; height: 100%; display: block; image-rendering: pixelated; }
.qr-caixa.vencido canvas { filter: blur(6px); opacity: .35; }
.qr-caixa .vazio { color: #222; font-weight: 700; text-align: center; font-size: 14px; }
.qr-codigo { text-align: center; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 20px; letter-spacing: .18em; font-weight: 700; }
.qr-info { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.qr-info .linha { display: inline-flex; align-items: center; gap: 8px; }
.ponto { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.ponto.aviso { background: var(--yellow); box-shadow: 0 0 10px var(--yellow); }
.link-btn { background: none; border: 0; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; }
.link-btn:hover { color: var(--text); }
.link-btn svg { width: 18px; height: 18px; }
.miudo { font-size: 12.5px; color: var(--muted-2); display: inline-flex; align-items: center; gap: 6px; text-align: center; }
.miudo svg { width: 16px; height: 16px; flex: none; }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 22px; border-radius: 18px; border: 0; font-family: var(--font-display); font-weight: 700; font-size: 18px; width: 100%; transition: transform .12s, filter .2s; }
.btn:active { transform: scale(.98); }
.btn svg { width: 22px; height: 22px; }
.btn.amarelo { background: linear-gradient(180deg, #ffe14a, var(--yellow) 50%, var(--yellow-2)); color: var(--yellow-ink); box-shadow: 0 8px 28px rgba(255, 196, 0, .28); }
.btn.contorno { background: transparent; border: 1.5px solid rgba(255, 255, 255, .55); color: var(--text); }
.btn.azul { background: rgba(31, 107, 255, .14); border: 1.5px solid var(--line); color: var(--text); }
.btn.perigo { background: rgba(255, 93, 99, .12); border: 1px solid rgba(255, 93, 99, .5); color: #ffb3b6; }
.btn.pequeno { min-height: 44px; font-size: 15px; border-radius: 14px; width: auto; padding: 0 16px; }
.btn[disabled] { filter: grayscale(.7) brightness(.6); cursor: not-allowed; }

.atalhos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.atalho { display: flex; align-items: center; gap: 12px; padding: 16px 14px; border-radius: 20px; border: 1.5px solid var(--line-soft); background: var(--card); font-family: var(--font-display); font-weight: 700; font-size: 16px; text-align: left; }
.atalho svg:first-child { width: 34px; height: 34px; color: var(--line); flex: none; }
.atalho .seta { margin-left: auto; width: 16px; height: 16px; color: var(--muted); }
.atalho:hover { border-color: var(--line); }
.atalho.instalar { width: 100%; }
.atalho.instalar img { width: 40px; height: 40px; border-radius: 10px; flex: none; object-fit: cover; }
.atalho.instalar small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 12.5px; color: var(--muted); }

/* ---------- navegação inferior ---------- */
.nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 8px max(16px, env(safe-area-inset-left, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-right, 0px));
  background: rgba(8, 12, 22, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-faint); border-radius: 26px 26px 0 0;
}
.nav ul { list-style: none; margin: 0 auto; padding: 0; max-width: 480px; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
#app.largo ~ .nav ul { max-width: 760px; }
.nav button { width: 100%; background: none; border: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 2px 10px; color: var(--muted); font-size: 13px; position: relative; }
.nav button svg { width: 28px; height: 28px; }
.nav button[aria-current="page"] { color: var(--yellow); }
.nav button[aria-current="page"]::after { content: ""; position: absolute; bottom: 0; width: 64%; height: 4px; border-radius: 4px; background: var(--yellow); box-shadow: 0 0 12px rgba(255, 210, 31, .6); }

/* ---------- boas-vindas ---------- */
.boas { overflow-x: clip; min-height: calc(100vh - 40px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; padding-top: 16px; position: relative; }
.boas .anel { width: min(330px, 80vw); aspect-ratio: 1; border-radius: 50%; position: relative; display: grid; place-items: center; margin-bottom: 10px; }
.boas .anel img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; -webkit-mask: radial-gradient(circle, #000 68%, transparent 72%); mask: radial-gradient(circle, #000 68%, transparent 72%); }
.boas .anel::before { content: ""; position: absolute; inset: -6%; border-radius: 50%; border: 3px solid transparent; border-top-color: var(--line); border-right-color: rgba(31, 107, 255, .5); filter: drop-shadow(0 0 10px var(--line)); animation: gira 9s linear infinite; }
.boas .anel::after { content: ""; position: absolute; inset: -12%; border-radius: 50%; border: 2px solid transparent; border-bottom-color: rgba(31, 107, 255, .6); border-left-color: rgba(31, 107, 255, .25); animation: gira 14s linear infinite reverse; }
@keyframes gira { to { transform: rotate(360deg); } }
.boas .eyebrow { color: var(--yellow); letter-spacing: .38em; font-weight: 800; font-size: 14px; font-family: var(--font-display); }
.boas h1 { font-size: clamp(30px, 8.6vw, 40px); font-weight: 800; line-height: 1.08; }
.boas .sub { color: #c8cfdf; font-size: 17px; }
.boas .botoes { width: 100%; display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.boas .rodape { color: var(--muted); letter-spacing: .12em; font-size: 13px; }
.deco { position: absolute; width: 150px; color: rgba(31, 107, 255, .28); pointer-events: none; }
.deco.a { top: -20px; left: -60px; }
.deco.b { bottom: 30px; right: -70px; transform: rotate(-18deg); }

/* ---------- formulários ---------- */
.voltar { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; color: var(--muted); padding: 8px 4px; }
.voltar svg { width: 20px; height: 20px; }
.form { display: flex; flex-direction: column; gap: 16px; }
.campo { display: flex; flex-direction: column; gap: 7px; }
.campo label { font-weight: 700; font-size: 14px; color: #c9d1e3; }
.campo .dica { font-size: 12.5px; color: var(--muted-2); }
.entrada { position: relative; }
input.txt, select.txt, textarea.txt { width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line-faint); background: #060a15; color: var(--text); font-size: 17px; }
textarea.txt { min-height: 80px; resize: vertical; font-size: 15px; }
input.txt:focus, select.txt:focus, textarea.txt:focus { outline: none; border-color: var(--line); box-shadow: 0 0 0 4px rgba(31, 107, 255, .18); }
.entrada .mostrar { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--muted); padding: 10px; font-size: 13px; font-weight: 700; }
.erro { color: #ffb3b6; background: rgba(255, 93, 99, .1); border: 1px solid rgba(255, 93, 99, .35); padding: 12px 14px; border-radius: 12px; font-size: 14px; }
.sucesso-msg { color: #9df0c2; background: rgba(47, 210, 122, .1); border: 1px solid rgba(47, 210, 122, .35); padding: 12px 14px; border-radius: 12px; font-size: 14px; }
.titulo-tela { font-size: 32px; font-weight: 800; }
.texto-apoio { color: var(--muted); }

/* ---------- listas ---------- */
.lista { display: flex; flex-direction: column; }
.item { display: flex; gap: 14px; align-items: center; padding: 14px 2px; border-bottom: 1px solid var(--line-faint); }
.item:last-child { border-bottom: 0; }
.item .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; background: rgba(31, 107, 255, .12); color: #7fa8ff; }
.item .ic.amarelo { background: rgba(255, 210, 31, .14); color: var(--yellow); }
.item .ic.cinza { background: rgba(255, 255, 255, .06); color: var(--muted); }
.item .ic svg { width: 22px; height: 22px; }
.item .meio { flex: 1; min-width: 0; }
.item .meio strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item .meio span { color: var(--muted); font-size: 13px; }
.item .valor { font-family: var(--font-display); font-weight: 800; font-size: 18px; white-space: nowrap; }
.item .valor.mais { color: var(--yellow); }
.item .valor.menos { color: #8fb4ff; }
.item.riscado .meio strong, .item.riscado .valor { text-decoration: line-through; opacity: .5; }
button.item { width: 100%; background: none; border: 0; border-bottom: 1px solid var(--line-faint); text-align: left; }
button.item:hover .meio strong { color: var(--yellow); }
.vazio-txt { color: var(--muted); text-align: center; padding: 24px 8px; }

/* ---------- folha (sobreposição) ---------- */
.folha-fundo { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .65); backdrop-filter: blur(4px); display: flex; align-items: flex-end; justify-content: center; animation: surge .2s ease both; }
.folha { width: 100%; max-width: 520px; max-height: 92vh; overflow: auto; background: var(--bg-2); border: 1px solid var(--line-soft); border-bottom: 0; border-radius: 28px 28px 0 0; padding: 20px max(18px, env(safe-area-inset-left, 0px)) calc(28px + env(safe-area-inset-bottom, 0px)) max(18px, env(safe-area-inset-right, 0px)); display: flex; flex-direction: column; gap: 16px; animation: sobe .28s cubic-bezier(.2, .9, .3, 1) both; }
.folha-cab { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.folha-cab h2 { font-size: 24px; }
@keyframes surge { from { opacity: 0; } }
@keyframes sobe { from { transform: translateY(40px); opacity: 0; } }
@media (min-width: 700px) { .folha-fundo { align-items: center; } .folha { border-radius: 28px; border-bottom: 1px solid var(--line-soft); } }

.passos { list-style: none; counter-reset: p; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.passos li { counter-increment: p; display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.passos li::before { content: counter(p); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--yellow-ink); font-family: var(--font-display); font-weight: 800; font-size: 18px; }
.passos strong { font-family: var(--font-display); font-size: 17px; display: block; }
.passos span { color: var(--muted); font-size: 14px; }

/* ---------- aviso flutuante ---------- */
.aviso { position: fixed; left: 50%; top: calc(14px + env(safe-area-inset-top, 0px)); transform: translateX(-50%); z-index: 90; max-width: min(440px, calc(100vw - 32px)); padding: 14px 18px; border-radius: 16px; background: #0f1a33; border: 1px solid var(--line); box-shadow: 0 10px 40px rgba(0, 0, 0, .5); font-weight: 600; display: flex; gap: 10px; align-items: center; animation: desce .3s ease both; }
.aviso.ouro { background: var(--yellow); color: var(--yellow-ink); border-color: var(--yellow); }
.aviso.ruim { background: #2a0f14; border-color: var(--danger); }
.aviso svg { width: 22px; height: 22px; flex: none; }
@keyframes desce { from { transform: translate(-50%, -20px); opacity: 0; } }

/* ---------- perfil / benefícios ---------- */
.avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--yellow); color: var(--yellow-ink); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 30px; flex: none; }
.perfil-topo { display: flex; gap: 16px; align-items: center; }
.perfil-topo h2 { font-size: 26px; }
.perfil-topo p { color: var(--muted); }
.numeros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.numero { padding: 14px 12px; border-radius: var(--r-md); background: rgba(255, 255, 255, .03); border: 1px solid var(--line-faint); }
.numero b { display: block; font-family: var(--font-display); font-size: 26px; font-weight: 800; line-height: 1.1; }
.numero span { color: var(--muted); font-size: 12.5px; }
.numero.destaque b { color: var(--yellow); }
.numero.dinheiro b { font-size: 20px; line-height: 1.25; }
.beneficio { display: flex; gap: 14px; align-items: flex-start; }
.beneficio .ic { width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 210, 31, .12); color: var(--yellow); display: grid; place-items: center; flex: none; }
.beneficio .ic svg { width: 26px; height: 26px; }
.beneficio strong { font-family: var(--font-display); font-size: 18px; display: block; }
.beneficio p { color: var(--muted); font-size: 14px; }

/* ---------- loja ---------- */
.faixa-loja { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.faixa-loja h1 { font-size: 30px; font-weight: 800; }
.leitor { border: 2px dashed var(--line-soft); border-radius: 20px; padding: 30px 16px; display: flex; flex-direction: column; align-items: center; gap: 10px; background: rgba(31, 107, 255, .04); width: 100%; color: var(--text); }
.leitor:hover { border-color: var(--line); }
.leitor svg.grande { width: 64px; height: 64px; color: var(--yellow); }
.leitor strong { font-family: var(--font-display); font-size: 21px; }
.leitor span { color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }
.leitor span svg { width: 18px; height: 18px; }
details.manual summary { cursor: pointer; color: var(--muted); list-style: none; display: inline-flex; gap: 8px; align-items: center; }
details.manual summary::before { content: "▸"; }
details.manual[open] summary::before { content: "▾"; }
details.manual summary::-webkit-details-marker { display: none; }
.linha-form { display: flex; gap: 10px; margin-top: 12px; }
.linha-form input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .14em; font-family: ui-monospace, Menlo, monospace; }
.cliente-id h3 { font-size: 26px; font-weight: 700; }
.cliente-id p { color: var(--muted); }
.contador { display: flex; align-items: center; justify-content: center; gap: 18px; }
.contador button { width: 76px; height: 76px; border-radius: 18px; border: 0; background: #22304d; color: var(--text); display: grid; place-items: center; }
.contador button svg { width: 30px; height: 30px; }
.contador input { -moz-appearance: textfield; text-align: center; background: transparent; color: var(--text); }
.contador input::-webkit-outer-spin-button, .contador input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.contador input:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(255, 210, 31, .2); }
.dica-qtd { text-align: center; color: var(--muted-2); font-size: 12.5px; margin-top: -6px; }
.contador input, .contador output { width: 140px; height: 92px; border-radius: 20px; border: 1.5px solid rgba(255, 255, 255, .25); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 48px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip { min-width: 56px; height: 50px; border-radius: 12px; border: 1.5px solid var(--line); background: transparent; color: var(--text); font-size: 18px; font-weight: 600; padding: 0 14px; }
.chip[aria-pressed="true"] { background: var(--yellow); color: var(--yellow-ink); border-color: var(--yellow); }
.chip.peq { height: 40px; min-width: 0; font-size: 14px; border-radius: 999px; }
.feito { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 10px 0; }
.feito .circ { width: 84px; height: 84px; border-radius: 50%; background: var(--yellow); color: var(--yellow-ink); display: grid; place-items: center; animation: carimbo .6s cubic-bezier(.2, 1.6, .4, 1) both; }
.feito .circ svg { width: 44px; height: 44px; }
.feito h3 { font-size: 26px; }
.feito p { color: var(--muted); }
.botoes-lado { display: flex; gap: 10px; flex-wrap: wrap; }
.botoes-lado > * { flex: 1 1 140px; }
.camera { position: fixed; inset: 0; z-index: 80; background: #000; display: flex; flex-direction: column; }
.camera video { flex: 1; width: 100%; object-fit: cover; min-height: 0; }
.camera .mira { position: absolute; left: 50%; top: 45%; width: min(70vw, 300px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 24px; box-shadow: 0 0 0 9999px rgba(0, 0, 0, .45); border: 3px solid var(--yellow); }
.camera .rodape-cam { padding: 18px max(16px, env(safe-area-inset-left, 0px)) calc(18px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-right, 0px)); background: #05070d; display: flex; flex-direction: column; gap: 10px; text-align: center; }

.blocos { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.grafico { width: 100%; height: auto; display: block; }
.grafico text { fill: var(--muted); font-size: 11px; font-family: var(--font-body); }
.busca { position: relative; }
.busca svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); }
.busca input { padding-left: 44px; }
.alternar { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 0; }
.alternar input { width: 52px; height: 30px; appearance: none; border-radius: 999px; background: #22304d; position: relative; cursor: pointer; flex: none; transition: background .2s; }
.alternar input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .2s; }
.alternar input:checked { background: var(--ok); }
.alternar input:checked::after { transform: translateX(22px); }
.grade-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 380px) { .grade-2 { grid-template-columns: 1fr; } .numeros { grid-template-columns: 1fr 1fr; } }
.ben-edit { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 14px; border: 1px solid var(--line-faint); }

.rodape-site { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--muted-2); font-size: 12.5px; flex-wrap: wrap; padding-top: 6px; border-top: 1px solid var(--line-faint); }
.rodape-site button { background: none; border: 0; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; font-size: 13px; }
.rodape-site button svg { width: 16px; height: 16px; }

.demo-faixa { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: space-between; padding: 10px 14px; border-radius: 14px; background: rgba(255, 210, 31, .08); border: 1px dashed rgba(255, 210, 31, .45); color: #ffe27a; font-size: 13px; }
.demo-faixa .botoes-lado { flex: 0 1 auto; gap: 8px; }
.demo-faixa .botoes-lado > * { flex: 0 0 auto; }
.demo-faixa button { background: rgba(255, 210, 31, .14); border: 1px solid rgba(255, 210, 31, .4); color: #ffe27a; border-radius: 999px; padding: 6px 12px; font-size: 12.5px; font-weight: 700; }
.carregando { display: grid; place-items: center; min-height: 60vh; color: var(--muted); gap: 14px; text-align: center; }
.carregando .giro { width: 42px; height: 42px; border-radius: 50%; border: 3px solid var(--line-faint); border-top-color: var(--yellow); animation: gira 0.9s linear infinite; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
