/* PagueiOnline.com — design system v3 "banco digital"
   Marca: P azul + seta verde. Noite #0A1A3A · Azul #2457F5 · Verde #1ED69A · Papel #FFFFFF
   Tipos: Poppins (títulos, valores) + IBM Plex Sans (texto e interface).
   Temas: claro (padrão) e escuro (sistema ou botão). Só rolagem vertical; nada ultrapassa a largura da tela. */
@font-face { font-family: Poppins; font-weight: 500; font-display: swap; src: url(../fonts/poppins-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-weight: 600; font-display: swap; src: url(../fonts/poppins-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-weight: 700; font-display: swap; src: url(../fonts/poppins-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: Plex; font-weight: 400; font-display: swap; src: url(../fonts/ibm-plex-sans-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: Plex; font-weight: 500; font-display: swap; src: url(../fonts/ibm-plex-sans-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: Plex; font-weight: 600; font-display: swap; src: url(../fonts/ibm-plex-sans-latin-600-normal.woff2) format('woff2'); }

:root {
  color-scheme: light;
  --font: Plex, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: Poppins, var(--font);
  /* marca (iguais nos dois temas) */
  --navy: #0A1A3A; --navy-2: #13284F; --navy-3: #1B3566; --navy-line: #24406F;
  --brand-blue: #2457F5; --brand-green: #1ED69A; --brand-green-ink: #03261A;
  /* tema claro */
  --bg: #F2F5FA; --bg-2: #E8EEF7; --surface: #FFFFFF; --surface-2: #F6F8FC; --surface-3: #EDF2FA;
  --line: #DFE6F1; --line-2: #C9D4E5;
  --text: #2A3650; --muted: #5E6B85; --ink: #0B1730; --placeholder: #8E9AB1;
  --blue: #2457F5; --blue-2: #1A45D6; --link: #1F4FE0; --blue-soft: #E8EEFF; --blue-t: #1F4FE0;
  --green: #0B9E6C; --green-2: #08865B; --green-ink: #03261A; --green-soft: #E0F7EE; --green-t: #087A53;
  --amber: #F5B935; --amber-ink: #2A1C00; --amber-soft: #FFF3D6; --amber-t: #8A5A00;
  --err: #D33A55; --err-soft: #FDEBEE; --err-t: #B0243F;
  --warn: #B7791F; --warn-soft: #FFF3D6; --warn-t: #8A5A00;
  --coral: #E5536B; --purple: #7B5CF0; --teal: #14B892; --sky: #0EA5E9;
  --hover: rgba(10, 26, 58, .05); --chip-bg: #EEF2F8;
  --accent: var(--blue); --accent-ink: #fff; --accent-soft: var(--blue-soft);
  --r: 18px; --r-sm: 12px; --r-xs: 8px; --r-lg: 24px;
  --shadow: 0 1px 2px rgba(10, 26, 58, .06), 0 8px 24px rgba(10, 26, 58, .06);
  --shadow-lg: 0 24px 60px rgba(10, 26, 58, .18);
  --gutter: clamp(16px, 3.2vw, 40px);
  --maxw: 1240px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --_dark: 1; } }
:root[data-theme="dark"] { --_dark: 1; }
/* tema escuro: mesma estrutura, superfícies em azul-noite */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #060E22; --bg-2: #091430; --surface: #0D1A37; --surface-2: #112142; --surface-3: #162950;
  --line: #1C2F5C; --line-2: #2A4176; --text: #D5DEEF; --muted: #93A3C2; --ink: #FFFFFF; --placeholder: #63759A;
  --blue: #3A6BFF; --blue-2: #5A84FF; --link: #8AA9FF; --blue-soft: rgba(58, 107, 255, .16); --blue-t: #9DB8FF;
  --green: #22D99A; --green-2: #1ED69A; --green-soft: rgba(34, 217, 154, .13); --green-t: #5BEDB8;
  --amber-soft: rgba(245, 185, 53, .14); --amber-t: #F7D58A;
  --err: #FF6B81; --err-soft: rgba(255, 107, 129, .13); --err-t: #FFB3BF;
  --warn: #F5B935; --warn-soft: rgba(245, 185, 53, .13); --warn-t: #F7D58A;
  --hover: rgba(255, 255, 255, .05); --chip-bg: rgba(255, 255, 255, .07);
  --shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 10px 30px rgba(0, 0, 0, .28);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, .5);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #060E22; --bg-2: #091430; --surface: #0D1A37; --surface-2: #112142; --surface-3: #162950;
    --line: #1C2F5C; --line-2: #2A4176; --text: #D5DEEF; --muted: #93A3C2; --ink: #FFFFFF; --placeholder: #63759A;
    --blue: #3A6BFF; --blue-2: #5A84FF; --link: #8AA9FF; --blue-soft: rgba(58, 107, 255, .16); --blue-t: #9DB8FF;
    --green: #22D99A; --green-2: #1ED69A; --green-soft: rgba(34, 217, 154, .13); --green-t: #5BEDB8;
    --amber-soft: rgba(245, 185, 53, .14); --amber-t: #F7D58A;
    --err: #FF6B81; --err-soft: rgba(255, 107, 129, .13); --err-t: #FFB3BF;
    --warn: #F5B935; --warn-soft: rgba(245, 185, 53, .13); --warn-t: #F7D58A;
    --hover: rgba(255, 255, 255, .05); --chip-bg: rgba(255, 255, 255, .07);
    --shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 10px 30px rgba(0, 0, 0, .28);
    --shadow-lg: 0 30px 80px rgba(0, 0, 0, .5);
  }
}

* { box-sizing: border-box; min-width: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; background: var(--bg); scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.55; font-size: 15.5px; overflow-x: clip; max-width: 100vw; -webkit-font-smoothing: antialiased; }
::-webkit-scrollbar { width: 10px; height: 0; }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 10px; border: 2px solid var(--bg); }
img, svg, video { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.15; margin: 0 0 .45em; letter-spacing: -.02em; font-weight: 600; }
h1 { font-size: clamp(2rem, 4.6vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.45rem, 2.8vw, 2.15rem); }
h3 { font-size: 1.06rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.hidden { display: none !important; }
.wrap { width: min(var(--maxw), 100%); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); } .small { font-size: .86rem; } .xs { font-size: .77rem; } .tnum { font-variant-numeric: tabular-nums; } .center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; } .row.nowrap { flex-wrap: nowrap; }
.grow { flex: 1 1 auto; }
.stack > * + * { margin-top: 12px; }
.grid { display: grid; gap: 14px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.ok-t { color: var(--green-t); } .err-t { color: var(--err-t); } .warn-t { color: var(--warn-t); }
.num { font-family: var(--display); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }

/* ---------- Marca ---------- */
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 1.28rem; letter-spacing: -.02em; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; flex: none; }
.wm b { font-weight: 600; color: inherit; }
.wm i { font-style: normal; font-weight: 600; color: var(--green); }
.wm small { font-size: .56em; font-weight: 600; margin-left: 4px; padding: 1px 7px; border: 1.5px solid var(--green); border-radius: 999px; color: inherit; vertical-align: 3px; }
.on-navy .wm i, .site-header .wm i, .sidebar .wm i { color: var(--brand-green); }
.on-navy .wm small, .site-header .wm small { border-color: var(--brand-green); }

/* ---------- Botões ---------- */
.btn { --b: var(--blue); --f: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 12px; border: 1.5px solid transparent; background: var(--b); color: var(--f); font: 600 .94rem/1 var(--font); cursor: pointer; transition: background .15s, box-shadow .15s, border-color .15s, transform .1s; text-decoration: none !important; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; }
.btn:hover { background: var(--blue-2); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-busy="true"] { opacity: .5; cursor: not-allowed; transform: none; }
.btn-green, .btn-accent { --b: var(--brand-green); --f: var(--brand-green-ink); }
.btn-green:hover { background: #17C88E; }
.btn-accent { --b: var(--accent); --f: var(--accent-ink); }
.btn-accent:hover { background: var(--accent); filter: brightness(.95); }
.btn-ghost { --b: transparent; --f: var(--text); }
.btn-ghost:hover { background: var(--hover); }
.btn-outline { --b: transparent; --f: var(--blue-t); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue-soft); }
.btn-line { --b: var(--surface); --f: var(--ink); border-color: var(--line-2); }
.btn-line:hover { background: var(--surface-2); border-color: var(--muted); }
.btn-white { --b: #fff; --f: var(--navy); }
.btn-white:hover { background: #E8EEFA; }
.btn-glass { --b: rgba(255,255,255,.08); --f: #fff; border-color: rgba(255,255,255,.28); }
.btn-glass:hover { background: rgba(255,255,255,.16); }
.btn-danger { --b: var(--err); }
.btn-danger:hover { background: var(--err); filter: brightness(.92); }
.btn-sm { min-height: 34px; padding: 6px 12px; font-size: .84rem; border-radius: 10px; }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 1.02rem; border-radius: 14px; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; color: var(--link); font: inherit; font-weight: 500; cursor: pointer; }
.link-btn:hover { text-decoration: underline; }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: inline-grid; place-items: center; cursor: pointer; flex: none; }
.icon-btn:hover { background: var(--surface-2); }
.icon-btn svg { width: 20px; height: 20px; }

/* ---------- Formulários ---------- */
.field { display: block; margin-bottom: 12px; }
.field > span, .label { display: block; font-size: .84rem; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.input, select.input, textarea.input { width: 100%; min-height: 46px; padding: 10px 14px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); font: 400 1rem var(--font); transition: border .15s, box-shadow .15s; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
textarea.input { min-height: 96px; resize: vertical; }
.input::placeholder { color: var(--placeholder); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.input.code { letter-spacing: .45em; text-align: center; font-size: 1.4rem; font-weight: 600; font-family: var(--display); font-variant-numeric: tabular-nums; }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 84px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--link); font: 500 .84rem var(--font); padding: 8px 10px; cursor: pointer; border-radius: 8px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.hint { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.inline-field { display: flex; gap: 8px; }
.inline-field .input { flex: 1; }
.seg { display: inline-flex; padding: 4px; border-radius: 14px; background: var(--surface-3); border: 1px solid var(--line); gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; padding: 8px 14px; border-radius: 10px; font: 500 .86rem var(--font); color: var(--muted); cursor: pointer; }
.seg button[aria-pressed="true"], .seg button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(10,26,58,.12); }

/* ---------- Cartões, chips, alertas ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(16px, 2.2vw, 22px); box-shadow: var(--shadow); }
.card.flat { box-shadow: none; background: var(--surface-2); }
.card h3 { margin-bottom: 4px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 600; background: var(--chip-bg); color: var(--muted); white-space: nowrap; }
.chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip.ok { background: var(--green-soft); color: var(--green-t); }
.chip.info { background: var(--blue-soft); color: var(--blue-t); }
.chip.warn { background: var(--warn-soft); color: var(--warn-t); }
.chip.err { background: var(--err-soft); color: var(--err-t); }
.chip.plain::before { display: none; }
.alert { padding: 12px 14px; border-radius: var(--r-sm); font-size: .9rem; background: var(--blue-soft); color: var(--ink); border: 1px solid color-mix(in srgb, var(--blue) 30%, transparent); }
.alert.warn { background: var(--warn-soft); border-color: color-mix(in srgb, var(--amber) 45%, transparent); }
.alert.err { background: var(--err-soft); border-color: color-mix(in srgb, var(--err) 35%, transparent); }
.alert.ok { background: var(--green-soft); border-color: color-mix(in srgb, var(--green) 35%, transparent); }
.alert b, .alert strong { color: inherit; }
.empty { text-align: center; padding: 30px 16px; color: var(--muted); }
.empty img { width: min(220px, 60%); margin: 0 auto 12px; }
.spinner { width: 22px; height: 22px; border: 3px solid var(--line); border-top-color: var(--blue); border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.kv { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; font-size: .92rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; text-align: right; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.kv .total { font-family: var(--display); font-weight: 600; font-size: 1.08rem; color: var(--ink); border-top: 1px dashed var(--line-2); padding-top: 9px; }
.kv .disc { color: var(--green-t); }
.divider { height: 1px; background: var(--line); margin: 14px 0; border: 0; }

/* ---------- Tabelas (viram cartões no celular) ---------- */
.table-wrap { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
table.table { width: 100%; border-collapse: collapse; font-size: .88rem; table-layout: auto; }
.table th { text-align: left; font-weight: 600; color: var(--muted); font-size: .76rem; padding: 10px 12px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.table td { padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; overflow-wrap: anywhere; color: var(--text); }
.table tr:last-child td { border-bottom: 0; }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table tbody tr:hover { background: var(--hover); }
@media (max-width: 900px) {
  .table:not(.keep) thead { display: none; }
  .table:not(.keep), .table:not(.keep) tbody, .table:not(.keep) tr, .table:not(.keep) td { display: block; width: 100%; }
  .table:not(.keep) tr { padding: 10px 12px; border-bottom: 1px solid var(--line); }
  .table:not(.keep) td { border: 0; padding: 4px 0; display: grid; grid-template-columns: 38% minmax(0, 1fr); gap: 10px; text-align: left !important; }
  .table:not(.keep) td::before { content: attr(data-label); color: var(--muted); font-size: .76rem; }
  .table:not(.keep) td[data-label=""]::before { display: none; }
  .table:not(.keep) td[data-label=""] { grid-template-columns: 1fr; }
  .table.keep th, .table.keep td { padding: 8px 9px; }
}

/* ---------- Modal e toast ---------- */
.modal-backdrop { position: fixed; inset: 0; background: rgba(6, 14, 34, .62); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 14px; z-index: 100; animation: fade .2s ease; }
.modal { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); width: 100%; max-width: 460px; max-height: calc(100dvh - 28px); overflow-y: auto; overflow-x: hidden; padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow-lg); position: relative; animation: rise .25s ease; }
.modal::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--brand-blue), var(--brand-green)); }
.modal.wide { max-width: 760px; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 10px; border: 0; background: var(--surface-3); color: var(--ink); font-size: 1.15rem; cursor: pointer; line-height: 1; }
.modal-close:hover { background: var(--line); }
.modal .brand { margin-bottom: 14px; font-size: 1.15rem; display: flex; width: fit-content; }
.modal .brand img { width: 30px; height: 30px; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 200; display: grid; gap: 8px; width: min(92vw, 420px); }
.toast { background: var(--navy); color: #fff; padding: 13px 16px; border-radius: 14px; box-shadow: var(--shadow-lg); font-size: .9rem; animation: rise .2s ease; }
.toast.err { background: #8C1D33; }
.toast.ok { background: #075E44; }

/* ---------- Tipos de conta (cores) ---------- */
.t-student { --accent: var(--brand-green); --accent-ink: var(--brand-green-ink); --accent-soft: var(--green-soft); }
.t-university { --accent: var(--brand-blue); --accent-ink: #fff; --accent-soft: var(--blue-soft); }
.t-partner { --accent: var(--amber); --accent-ink: var(--amber-ink); --accent-soft: var(--amber-soft); }
.type-cards { display: grid; gap: 10px; }
.type-card { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 14px; align-items: center; padding: 14px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); text-align: left; font: inherit; cursor: pointer; transition: border-color .15s, background .15s; }
.type-card:hover { border-color: var(--accent); background: var(--accent-soft); }
.type-card .ti { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); }
.type-card .ti svg { width: 24px; height: 24px; }
.type-card b { color: var(--ink); display: block; }
.type-card span { font-size: .84rem; color: var(--muted); }
.type-card .arrow { color: var(--accent); }
.type-card.off { opacity: .5; cursor: not-allowed; }
.type-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--ink); font-size: .78rem; font-weight: 600; }

/* ===================== SITE ===================== */
.announce { background: var(--brand-green); color: var(--brand-green-ink); font-size: .86rem; font-weight: 500; text-align: center; padding: 8px var(--gutter); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 26, 58, .94); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(255,255,255,.07); color: #fff; }
.site-header .brand { color: #fff; }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.site-header nav { display: flex; gap: 2px; margin-left: auto; }
.site-header nav a { color: #C3CEE4; font-weight: 500; font-size: .92rem; padding: 8px 12px; border-radius: 10px; }
.site-header nav a:hover { color: #fff; background: rgba(255,255,255,.07); text-decoration: none; }
.site-header .actions { display: flex; gap: 8px; align-items: center; }
.site-header .btn-outline { --f: #fff; border-color: rgba(255,255,255,.4); }
.site-header .btn-outline:hover { background: rgba(255,255,255,.08); }
@media (max-width: 1060px) { .site-header nav { display: none; } .site-header .actions { margin-left: auto; } }
@media (max-width: 560px) { .site-header .actions .btn-green { display: none; } .brand { font-size: 1.12rem; } .brand img { width: 30px; height: 30px; } .wm small { display: none; } }

/* Hero (azul-noite, com a rota do dinheiro) */
.hero { position: relative; background: radial-gradient(1100px 600px at 82% -10%, #1B3F9A 0%, transparent 60%), radial-gradient(800px 500px at -10% 110%, #0E3B4A 0%, transparent 55%), var(--navy); color: #C9D4EA; overflow: hidden; padding: clamp(36px, 6vw, 80px) 0 0; }
.hero > .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero h1 { color: #fff; max-width: 13em; }
.hero .lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: #B9C6DF; max-width: 34em; }
.hero .cta { display: flex; gap: 10px; flex-wrap: wrap; margin: 26px 0 22px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; }
.hero-facts li { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: #DCE5F5; }
.hero-facts svg { width: 18px; height: 18px; color: var(--brand-green); flex: none; }
.promo { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(30, 214, 154, .12); border: 1px solid rgba(30, 214, 154, .35); color: #CFF7E6; font-size: .86rem; margin-bottom: 18px; flex-wrap: wrap; }
.promo b { background: var(--brand-green); color: var(--brand-green-ink); padding: 3px 10px; border-radius: 999px; font-size: .76rem; }
.promo .code { color: var(--brand-green); font-weight: 700; letter-spacing: .04em; }
.promo a { color: #CFF7E6; font-size: .78rem; text-decoration: underline; opacity: .85; }
@media (max-width: 900px) { .hero > .wrap { grid-template-columns: minmax(0, 1fr); } .hero-visual { order: 2; } }

/* Celular ilustrativo do hero (o app de verdade, em miniatura) */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 480px; padding-bottom: 20px; }
.phone { width: min(290px, 74vw); aspect-ratio: 9 / 18.6; border-radius: 44px; padding: 10px; background: linear-gradient(160deg, #3A4A6E, #0B1222 55%); box-shadow: 0 50px 100px rgba(0,0,0,.5), inset 0 0 0 1.5px rgba(255,255,255,.12); position: relative; z-index: 1; }
.phone-screen { width: 100%; height: 100%; border-radius: 35px; overflow: hidden; background: #F2F5FA; display: flex; flex-direction: column; position: relative; color: #0B1730; }
.phone-top { background: var(--navy); color: #fff; padding: 34px 14px 46px; position: relative; }
.phone-notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 86px; height: 24px; border-radius: 20px; background: #03060D; }
.phone-top .hi { font-size: .7rem; color: #9FB0CF; }
.phone-top .nm { font-family: var(--display); font-weight: 600; font-size: .92rem; }
.phone-bal { margin: -34px 12px 0; background: #fff; border-radius: 18px; padding: 12px 14px; box-shadow: 0 10px 24px rgba(10,26,58,.15); position: relative; }
.phone-bal .t { font-size: .64rem; color: #5E6B85; }
.phone-bal .v { font-family: var(--display); font-weight: 700; font-size: 1.28rem; letter-spacing: -.02em; }
.phone-bal .s { font-size: .68rem; color: #087A53; font-weight: 600; }
.phone-acts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 14px 12px 6px; }
.phone-acts span { display: grid; justify-items: center; gap: 4px; font-size: .56rem; font-weight: 500; color: #2A3650; text-align: center; line-height: 1.1; }
.phone-acts i { width: 38px; height: 38px; border-radius: 13px; display: grid; place-items: center; background: #E8EEFF; color: #2457F5; }
.phone-acts i svg { width: 18px; height: 18px; }
.phone-list { margin: 8px 12px; background: #fff; border-radius: 16px; padding: 4px 12px; font-size: .64rem; }
.phone-list div { display: flex; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px solid #EDF2FA; }
.phone-list div:last-child { border: 0; }
.phone-list b { font-weight: 600; }
.phone-list .in { color: #087A53; }
.phone-promo { margin: 0 12px; border-radius: 14px; padding: 10px 12px; background: linear-gradient(120deg, #E8B53A, #C98A0C); color: #241500; font-size: .62rem; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.phone-promo b { font-family: var(--display); font-size: .74rem; display: block; }
.phone-promo i { font-style: normal; font-weight: 700; font-size: .9rem; font-family: var(--display); }
.phone-nav { margin-top: auto; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; padding: 8px 10px 14px; background: #fff; border-top: 1px solid #EDF2FA; }
.phone-nav i { height: 4px; width: 18px; border-radius: 4px; background: #C9D4E5; justify-self: center; }
.phone-nav .fab-mini { width: 40px; height: 40px; border-radius: 14px; background: var(--brand-green); justify-self: center; display: grid; place-items: center; color: var(--brand-green-ink); margin-top: -22px; box-shadow: 0 8px 18px rgba(30,214,154,.4); }
.phone-nav .fab-mini svg { width: 20px; height: 20px; }
.float { position: absolute; z-index: 2; background: #fff; color: #0B1730; border-radius: 18px; padding: 12px 14px; box-shadow: 0 24px 50px rgba(0,0,0,.35); font-size: .8rem; width: 200px; display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; }
.float .fi { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; }
.float .fi svg { width: 20px; height: 20px; }
.float b { display: block; font-weight: 600; font-size: .84rem; }
.float span { color: #5E6B85; font-size: .74rem; }
.float.f1 { left: -18px; bottom: 96px; } .float.f2 { right: -18px; top: 120px; }
.float .ok { background: #E0F7EE; color: #087A53; } .float .bl { background: #E8EEFF; color: #2457F5; }
@media (max-width: 1180px) { .float { display: none; } }
@media (max-width: 900px) { .hero-visual { min-height: 0; } .phone { width: min(250px, 66vw); } }

/* A rota do dinheiro: BR ⇄ PY ⇄ AR (o único movimento automático da página) */
.route { position: relative; margin-top: clamp(16px, 3vw, 28px); border-top: 1px solid rgba(255,255,255,.08); }
.route svg { width: 100%; height: auto; display: block; }
.route .track { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 2; stroke-dasharray: 3 9; stroke-linecap: round; }
.route .coin-go { fill: var(--brand-green); }
.route .coin-back { fill: #FFD25E; }
.route .pin { fill: var(--navy); stroke: #fff; stroke-width: 2.5; }
.route text { fill: #C9D4EA; font: 500 13px var(--font); }
.route text.big { fill: #fff; font: 600 15px var(--display); }
.route-labels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 4px 0 26px; }
.route-labels > div { display: grid; gap: 2px; justify-items: center; text-align: center; font-size: .82rem; color: #9FB0CF; }
.route-labels > div:first-child { justify-items: start; text-align: left; }
.route-labels > div:last-child { justify-items: end; text-align: right; }
.route-labels b { color: #fff; font-family: var(--display); font-weight: 600; font-size: .98rem; }
.route-labels .fdot { margin-bottom: 4px; }
@media (max-width: 560px) { .route-labels > div > span:last-child { display: none; } }
.app-qr { display: grid; justify-items: center; gap: 10px; text-align: center; color: #AFBCD6; }
.app-qr .qr-box { border: 0; }
.app-qr .qr-box img, .app-qr .qr-box svg { width: 170px; }
@media (max-width: 760px) { .app-qr { display: none; } }

/* Simulador que sobe sobre o hero */
.sim-lift { position: relative; z-index: 3; margin-top: clamp(-8px, -1vw, 0px); padding: clamp(24px, 4vw, 40px) 0 0; }
.sim-card { max-width: 980px; margin-inline: auto; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 18px; padding: clamp(18px, 2.6vw, 26px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.sim-card h2 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
@media (max-width: 860px) { .sim-card { grid-template-columns: minmax(0, 1fr); } }
.money-input { position: relative; }
.money-input .prefix { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-weight: 600; color: var(--muted); font-family: var(--display); }
.money-input .input { padding-left: 52px; font-size: 1.45rem; font-weight: 600; min-height: 58px; font-family: var(--display); }
.coupon-pill { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 12px; border-radius: 12px; background: var(--green-soft); border: 1px dashed color-mix(in srgb, var(--green) 55%, transparent); font-size: .88rem; color: var(--ink); }
.coupon-pill > svg { width: 18px; height: 18px; color: var(--green-t); flex: none; }
.coupon-pill b { font-family: var(--display); letter-spacing: .04em; color: var(--green-t); }
.coupon-pill .x { margin-left: auto; width: 30px; height: 30px; border-radius: 8px; border: 0; background: var(--surface); color: var(--ink); cursor: pointer; font-size: 1rem; line-height: 1; }
.coupon-pill .x:hover { background: var(--err-soft); color: var(--err-t); }
.quote-list { display: grid; gap: 8px; }
.qc { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); font: inherit; text-align: left; width: 100%; }
.qc .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.qc .ic svg { width: 20px; height: 20px; }
.qc b { color: var(--ink); }
.qc .meta { font-size: .76rem; color: var(--muted); line-height: 1.35; }
.qc .tot { text-align: right; }
.qc .tot b { display: block; font-family: var(--display); font-size: 1.08rem; font-variant-numeric: tabular-nums; }
.qc .tot s { font-size: .74rem; color: var(--muted); }
button.qc { cursor: pointer; transition: border-color .15s, background .15s; }
button.qc:hover { border-color: var(--line-2); background: var(--surface-2); }
button.qc[aria-pressed="true"] { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
button.qc:disabled { opacity: .45; cursor: not-allowed; }
.rates td:nth-child(n+2) { text-align: right; font-variant-numeric: tabular-nums; }

/* Seções */
.section { padding: clamp(44px, 6vw, 84px) 0; }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.section.navy { background: var(--navy); color: #C9D4EA; }
.section.navy h2, .section.navy h3 { color: #fff; }
.head { margin-bottom: clamp(20px, 3vw, 32px); max-width: 720px; }
.head p { color: var(--muted); font-size: 1.04rem; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--blue-t); margin-bottom: 10px; }
.kicker::before { content: ''; width: 18px; height: 3px; border-radius: 3px; background: var(--brand-green); }
.section.navy .kicker { color: var(--brand-green); }
.eyebrow { display: inline-block; font-size: .9rem; font-weight: 600; color: var(--blue-t); margin-bottom: 8px; }

/* Serviços (grade de atalhos, como num app de banco) */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 980px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.svc { display: grid; grid-template-rows: auto auto 1fr; gap: 6px; padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none !important; position: relative; transition: border-color .15s, box-shadow .15s; }
a.svc:hover, button.svc:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.svc .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; margin-bottom: 6px; }
.svc .ic svg { width: 23px; height: 23px; }
.svc h3 { margin: 0; font-size: 1rem; }
.svc p { margin: 0; font-size: .86rem; color: var(--muted); }
.svc .soon { position: absolute; top: 14px; right: 14px; font-size: .7rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--chip-bg); color: var(--muted); }

/* Linhas "texto + ilustração" */
.feature-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.feature-row.flip > :first-child { order: 2; }
.feature-row figure { margin: 0; }
.feature-row figure img { width: 100%; height: auto; border-radius: var(--r-lg); }
@media (max-width: 900px) { .feature-row { grid-template-columns: minmax(0, 1fr); } .feature-row.flip > :first-child { order: 0; } }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: start; }
.ticks li::before { content: ''; width: 24px; height: 24px; border-radius: 8px; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B9E6C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5 10.5 17 18 8'/%3E%3C/svg%3E") center / 16px no-repeat; margin-top: 1px; }
.ticks b { color: var(--ink); display: block; }
.ticks span { color: var(--muted); font-size: .92rem; }
.section.navy .ticks b { color: #fff; } .section.navy .ticks span { color: #AFBCD6; }
.section.navy .ticks li::before { background-color: rgba(30,214,154,.15); }

/* Como o dinheiro anda (estrutura) */
.flow-figure { margin: 0 auto; max-width: 1000px; }
.flow-figure img { width: 100%; height: auto; }
.flow-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; margin-top: 8px; counter-reset: st; }
.flow-steps li { list-style: none; padding: 16px 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); counter-increment: st; position: relative; }
.flow-steps li::before { content: counter(st); position: absolute; top: 16px; right: 16px; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue-t); font: 600 .84rem var(--display); }
.flow-steps b { display: block; color: var(--ink); font-family: var(--display); font-weight: 600; margin-bottom: 4px; padding-right: 34px; }
.flow-steps span { color: var(--muted); font-size: .9rem; }

/* Clube (cartões de nível) */
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1000px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tiers { grid-template-columns: minmax(0, 1fr); } }
.tier { position: relative; border-radius: 20px; padding: 18px; color: #fff; overflow: hidden; min-height: 196px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow); isolation: isolate; }
.tier::after { content: ''; position: absolute; right: -70px; bottom: -110px; width: 220px; height: 220px; border-radius: 50%; border: 28px solid rgba(255,255,255,.1); z-index: -1; }
.tier h3 { color: inherit; font-size: 1.25rem; margin: 0; }
.tier .pct { font-family: var(--display); font-size: 2rem; font-weight: 700; line-height: 1; margin-top: auto; }
.tier .pct small { font-size: .8rem; font-weight: 500; opacity: .85; display: block; margin-top: 4px; font-family: var(--font); }
.tier .how { font-size: .82rem; opacity: .9; }
.tier .gem { width: 30px; height: 30px; }
.tier.prata { background: linear-gradient(140deg, #8E9AAF, #5B667C); }
.tier.ouro { background: linear-gradient(140deg, #E8B53A, #A86F0B); color: #241500; }
.tier.platina { background: linear-gradient(140deg, #4F6B95, #1F3459); }
.tier.diamante { background: linear-gradient(140deg, #1ED69A 0%, #2457F5 70%, #12286B 100%); }
.tier.current { outline: 3px solid var(--brand-green); outline-offset: 3px; }

/* Segurança */
.sec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 22px; margin-top: 18px; }
@media (max-width: 560px) { .sec-grid { grid-template-columns: minmax(0, 1fr); } }
.feat { display: flex; gap: 12px; align-items: flex-start; }
.feat .fi { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue-t); }
.section.navy .feat .fi { background: rgba(58,107,255,.18); color: #9DB8FF; }
.feat .fi svg { width: 20px; height: 20px; }
.feat h3 { font-size: .98rem; margin-bottom: 2px; }
.feat p { font-size: .88rem; color: var(--muted); margin: 0; }
.section.navy .feat p { color: #AFBCD6; }
.step { position: relative; padding-left: 46px; }
.step::before { content: attr(data-n); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 10px; background: var(--blue-soft); color: var(--blue-t); display: grid; place-items: center; font: 600 .9rem var(--display); }
.step h3 { margin-bottom: 2px; }
.step p { margin: 0; font-size: .87rem; color: var(--muted); }

/* Faça parte */
.join-card { border-radius: var(--r-lg); padding: 20px; border: 1.5px solid var(--line); background: var(--surface); display: flex; flex-direction: column; gap: 10px; }
.join-card .ti { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); }
.join-card .ti svg { width: 25px; height: 25px; }
.join-card h3 { margin: 0; }
.join-card p { color: var(--muted); font-size: .9rem; margin: 0; flex: 1; }
.join-card:hover { border-color: var(--accent); }

/* Faixa do app */
.app-band { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 24px; align-items: center; }
@media (max-width: 760px) { .app-band { grid-template-columns: minmax(0, 1fr); } }
.store-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.store-badge { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 12px; min-height: 62px; border-radius: 14px; background: #000; color: #fff; border: 1.5px solid #5b6478; text-decoration: none; transition: border-color .15s; }
.store-badge:hover { border-color: var(--brand-green); text-decoration: none; }
.store-badge small { display: block; font-size: .64rem; letter-spacing: .06em; opacity: .85; line-height: 1.2; }
.store-badge b { display: block; font-size: 1.35rem; line-height: 1.15; font-weight: 600; font-family: var(--display); }
.store-badge .dl-ic svg { width: 22px; height: 22px; transform: rotate(180deg); color: var(--brand-green); }

.site-footer { background: var(--navy); color: #AFBCD6; padding: 40px 0 24px; font-size: .88rem; }
.site-footer .brand { color: #fff; }
.site-footer .fgrid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 22px; }
.site-footer h4 { color: #fff; font-size: .9rem; margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #DCE5F5; }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 26px; padding-top: 16px; font-size: .78rem; white-space: pre-line; color: #8E9DBB; }
@media (max-width: 760px) { .site-footer .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Cores dos atalhos (iguais no site e no app) */
.c-pix { background: linear-gradient(140deg, #18C3A0, #0E9C80); }
.c-card { background: linear-gradient(140deg, #8E6BFF, #6A45E0); }
.c-alias { background: linear-gradient(140deg, #FF7A8A, #E04B63); }
.c-cbu { background: linear-gradient(140deg, #6C7BFF, #4652DB); }
.c-top { background: linear-gradient(140deg, #22B8F0, #0B85D6); }
.c-wallet { background: linear-gradient(140deg, #3A6BFF, #1F49C9); }
.c-fx { background: linear-gradient(140deg, #2A4176, #13284F); }
.c-qr { background: linear-gradient(140deg, #1ED69A, #0B9E6C); }
.c-club { background: linear-gradient(140deg, #F5B935, #D18A0F); }
.c-sched { background: linear-gradient(140deg, #FF9F5A, #E8702A); }
.c-phone { background: linear-gradient(140deg, #A0AEC8, #6E7C99); }
.c-green { background: linear-gradient(140deg, #1ED69A, #10B877); color: var(--brand-green-ink) !important; }

/* ===================== APP / ADMIN ===================== */
.app-shell { display: grid; grid-template-columns: 256px minmax(0, 1fr); min-height: 100dvh; background: linear-gradient(90deg, var(--navy) 256px, transparent 256px); }
.sidebar { background: var(--navy); color: #C3CEE4; padding: 20px 12px; position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; }
.sidebar .brand { color: #fff; padding: 2px 10px 20px; font-size: 1.14rem; }
.sidebar .brand img { width: 30px; height: 30px; }
.nav-group { font-size: .74rem; font-weight: 600; color: #7E8FB3; padding: 14px 12px 6px; }
.sidebar a.nav { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: #C3CEE4; font-weight: 500; font-size: .92rem; }
.sidebar a.nav svg { width: 20px; height: 20px; flex: none; }
.sidebar a.nav .badge { margin-left: auto; background: var(--err); color: #fff; font-size: .68rem; border-radius: 999px; padding: 1px 7px; font-weight: 700; }
.sidebar a.nav:hover { background: rgba(255,255,255,.06); color: #fff; text-decoration: none; }
.sidebar a.nav[aria-current="page"] { background: rgba(58,107,255,.22); color: #fff; box-shadow: inset 3px 0 0 var(--brand-green); }
.sidebar .grow { flex: 1; }
.sidebar .who { padding: 12px; border-radius: 14px; background: rgba(255,255,255,.06); font-size: .8rem; margin-top: 10px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 10px; align-items: center; }
.sidebar .who .av { grid-row: span 2; }
.sidebar .who b { display: block; color: #fff; font-size: .88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar .who span { color: #93A3C2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.av { width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(140deg, var(--brand-blue), #1B3FB8); color: #fff; display: grid; place-items: center; font: 600 .9rem var(--display); flex: none; }
.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px var(--gutter); border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 20; min-height: 66px; }
.topbar h1 { font-size: 1.15rem; margin: 0; font-weight: 600; }
.topbar .mob-brand { display: none; }
.content { padding: clamp(16px, 2.4vw, 30px) var(--gutter) 48px; width: 100%; max-width: 1280px; }
.content.narrow { max-width: 920px; }
.bottom-nav { display: none; }
@media (max-width: 1024px) {
  .app-shell { grid-template-columns: minmax(0, 1fr); background: none; }
  .sidebar { display: none; }
  .topbar { background: var(--navy); border-bottom: 0; color: #fff; }
  .topbar h1 { color: #fff; }
  .topbar .mob-brand { display: inline-flex; }
  .topbar .btn-ghost { --f: #fff; }
  .topbar .icon-btn { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: #fff; }
  .content { padding-bottom: 110px; }
  .bottom-nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; position: fixed; bottom: 0; left: 0; right: 0; background: color-mix(in srgb, var(--surface) 96%, transparent); backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 6px 4px calc(8px + env(safe-area-inset-bottom)); z-index: 40; }
  .bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: .68rem; color: var(--muted); padding: 5px 2px; border-radius: 10px; font-weight: 500; }
  .bottom-nav a svg { width: 23px; height: 23px; }
  .bottom-nav a[aria-current="page"] { color: var(--blue-t); }
  .bottom-nav a:hover { text-decoration: none; }
  .bottom-nav a.fab { color: var(--ink); }
  .bottom-nav a.fab span.fab-i { width: 56px; height: 56px; border-radius: 18px; background: var(--brand-green); color: var(--brand-green-ink); display: grid; place-items: center; margin-top: -30px; box-shadow: 0 10px 24px rgba(30,214,154,.45); border: 4px solid var(--bg); }
  .bottom-nav a.fab svg { width: 26px; height: 26px; }
  .toasts { bottom: 96px; }
}
.adm-menu { display: none; }
@media (max-width: 1024px) { .adm-menu { display: block; margin-bottom: 12px; } }

/* Painel inicial (banco) */
.dash { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 1100px) { .dash { grid-template-columns: minmax(0, 1fr); } }
.hello { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.hello h2 { margin: 0; font-size: 1.35rem; }
.hello .muted { font-size: .9rem; }
.wallet-card { position: relative; border-radius: var(--r-lg); padding: clamp(18px, 2.8vw, 26px); color: #fff; overflow: hidden; isolation: isolate;
  background: radial-gradient(420px 220px at 105% -20%, rgba(30,214,154,.38), transparent 60%), radial-gradient(500px 300px at -20% 120%, rgba(36,87,245,.55), transparent 60%), var(--navy); box-shadow: var(--shadow-lg); }
.wallet-card::after { content: ''; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; border: 36px solid rgba(255,255,255,.04); z-index: -1; }
.wallet-card .t { color: #AFC2EA; font-weight: 500; font-size: .9rem; display: flex; align-items: center; gap: 8px; }
.wallet-card .v { font-family: var(--display); font-size: clamp(1.9rem, 4.8vw, 2.6rem); font-weight: 700; color: #fff; letter-spacing: -.025em; font-variant-numeric: tabular-nums; line-height: 1.15; margin: 4px 0 6px; }
.wallet-card .v.masked { letter-spacing: .1em; }
.wallet-card .eq { display: flex; gap: 16px; flex-wrap: wrap; font-weight: 500; color: #9FF2CF; font-variant-numeric: tabular-nums; font-size: .92rem; }
.wallet-card .eq span + span { color: #B8CCFF; }
.wallet-card .acts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.wallet-card .acts a, .wallet-card .acts button { display: grid; justify-items: center; gap: 6px; padding: 10px 4px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: #fff; font: 500 .8rem var(--font); text-decoration: none; cursor: pointer; text-align: center; line-height: 1.2; }
.wallet-card .acts a:hover, .wallet-card .acts button:hover { background: rgba(255,255,255,.15); }
.wallet-card .acts svg { width: 22px; height: 22px; }
.wallet-card .eye { background: rgba(255,255,255,.1); border: 0; color: #fff; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; cursor: pointer; }
.wallet-card .eye svg { width: 18px; height: 18px; }
.wallet-card .cur-pills { margin-top: 12px; }
.wallet-card .cur-pill { background: rgba(255,255,255,.1); color: #fff; }
@media (max-width: 520px) { .wallet-card .acts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; } .wallet-card .acts a { font-size: .72rem; padding: 9px 2px; } }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 92px), 1fr)); gap: 10px; }
@media (max-width: 640px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; } }
.tile { border: 1px solid var(--line); border-radius: 16px; padding: 12px 6px; min-height: 96px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 8px; color: var(--ink); background: var(--surface); font: 500 .82rem/1.2 var(--font); text-align: center; cursor: pointer; position: relative; transition: border-color .15s, box-shadow .15s; text-decoration: none !important; }
.tile > svg { width: 46px; height: 46px; padding: 11px; border-radius: 14px; color: #fff; background: var(--tile-c, var(--blue)); }
.tile:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.tile:disabled, .tile.off { cursor: not-allowed; opacity: .55; box-shadow: none; }
.tile .soon { position: absolute; top: 6px; right: 6px; font-size: .6rem; background: var(--chip-bg); color: var(--muted); padding: 1px 6px; border-radius: 999px; }
.tile.c-pix { --tile-c: #13B592; } .tile.c-card { --tile-c: #7B5CF0; } .tile.c-alias { --tile-c: #E5536B; } .tile.c-cbu { --tile-c: #5361E8; } .tile.c-top { --tile-c: #0E9AE0; }
.tile.c-wallet { --tile-c: #2457F5; } .tile.c-fx { --tile-c: #1B3566; } .tile.c-qr { --tile-c: #0B9E6C; } .tile.c-club { --tile-c: #D99A1A; } .tile.c-sched { --tile-c: #E8702A; } .tile.c-phone { --tile-c: #7D8BA6; } .tile.c-green { --tile-c: #0B9E6C; color: var(--ink) !important; }
.tile.c-pix, .tile.c-card, .tile.c-alias, .tile.c-cbu, .tile.c-top, .tile.c-wallet, .tile.c-fx, .tile.c-qr, .tile.c-club, .tile.c-sched, .tile.c-phone, .tile.c-green { background: var(--surface); }
.tile.picked { outline: 3px solid var(--blue); outline-offset: 2px; }
.tile-link { display: flex; flex-direction: column; gap: 4px; color: inherit; text-decoration: none; }
.tile-link:hover { border-color: var(--blue); text-decoration: none; }
.sec-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 22px 0 10px; }
.sec-title h3 { margin: 0; font-size: 1.04rem; }
.sec-title a { font-size: .86rem; font-weight: 500; }

.checklist { display: grid; gap: 8px; }
.check-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: inherit; }
a.check-item:hover { border-color: var(--blue); text-decoration: none; }
.check-item .dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--surface-3); color: var(--muted); font-weight: 700; font-size: .82rem; }
.check-item .dot svg { width: 15px; height: 15px; }
.check-item.done .dot { background: var(--brand-green); color: var(--brand-green-ink); }
.check-item .grow { min-width: 0; }
.check-item b { display: block; color: var(--ink); font-size: .92rem; }
.check-item span { font-size: .8rem; color: var(--muted); }
.inv { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.inv b { color: var(--ink); }
.inv .amt { font-family: var(--display); font-size: 1.08rem; font-weight: 600; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.wizard { display: flex; gap: 5px; margin-bottom: 16px; }
.wizard span { flex: 1; height: 4px; border-radius: 999px; background: var(--line); }
.wizard span.on { background: linear-gradient(90deg, var(--brand-blue), var(--brand-green)); }
.qr-box { display: grid; place-items: center; padding: 16px; background: #fff; border-radius: 18px; width: fit-content; margin-inline: auto; border: 1px solid var(--line); }
.qr-box img, .qr-box svg { width: min(230px, 62vw); height: auto; aspect-ratio: 1; image-rendering: pixelated; }
.copy-field { display: flex; gap: 8px; }
.copy-field input { flex: 1; font-size: .8rem; font-family: ui-monospace, monospace; }
.status-big { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; background: var(--green-soft); border: 1px solid color-mix(in srgb, var(--green) 30%, transparent); }
.status-big .ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-green); color: var(--brand-green-ink); flex: none; }
.status-big .ico svg { width: 22px; height: 22px; }
.uploader { border: 2px dashed var(--line-2); border-radius: 16px; padding: 16px; text-align: center; background: var(--surface-2); cursor: pointer; display: grid; gap: 8px; place-items: center; min-height: 140px; position: relative; color: var(--muted); }
.uploader svg { width: 26px; height: 26px; color: var(--blue); }
.uploader b { color: var(--ink); }
.uploader:hover { border-color: var(--blue); }
.uploader img { max-height: 120px; border-radius: 10px; }
.uploader input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.list-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); color: inherit; }
.list-item:last-child { border-bottom: 0; }
a.list-item:hover { text-decoration: none; background: var(--hover); }
.list-item .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex: none; }
.list-item .ic svg { width: 19px; height: 19px; }
.list-item .grow { flex: 1; min-width: 0; }
.list-item .t { color: var(--ink); font-weight: 500; font-size: .93rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-item .s { color: var(--muted); font-size: .78rem; }
.list-item .amt { font-family: var(--display); font-weight: 600; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.list-item .amt.in { color: var(--green-t); }
.stat { padding: 16px 18px; }
.stat .k { font-size: .8rem; color: var(--muted); font-weight: 500; }
.stat .v { font-family: var(--display); font-size: 1.45rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.stat .s { font-size: .78rem; color: var(--muted); }
.stat.attn { border-color: color-mix(in srgb, var(--amber) 60%, transparent); }
.check-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.check-row:last-child { border: 0; }
.check-row .mk { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 800; }
.mk.pass { background: var(--brand-green); color: var(--brand-green-ink); } .mk.fail { background: var(--err); color: #fff; } .mk.warn { background: var(--amber); color: var(--amber-ink); } .mk.skip { background: var(--chip-bg); color: var(--muted); }
.check-row b { color: var(--ink); font-weight: 600; display: block; }
.check-row span { color: var(--muted); font-size: .8rem; }
.cfg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 10px; }
.fx-table input.input { min-height: 38px; padding: 7px 10px; font-size: .9rem; text-align: right; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .82rem; }
details summary { cursor: pointer; color: var(--link); font-weight: 500; }
.kyc-imgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 10px; }
.kyc-imgs figure { margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.kyc-imgs img { width: 100%; height: 200px; object-fit: contain; background: #000; }
.kyc-imgs figcaption { padding: 7px 10px; font-size: .78rem; color: var(--muted); }
.list-editor .item { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: var(--surface-2); }
.cms-group { scroll-margin-top: 80px; }

/* ---------- Comprovante (sempre em papel branco) ---------- */
.receipt { max-width: 560px; margin: 0 auto; background: #fff; color: #1B2540; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.receipt h2 { color: #0A1222; }
.receipt .kv dt { color: #5D6A85; } .receipt .kv dd { color: #0A1222; } .receipt .kv .total { border-color: #D9E0EE; color: #0A1222; }
.receipt-head { background: var(--navy); color: #fff; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.receipt-head .brand { color: #fff; }
.receipt-body { padding: 22px; }
.receipt-auth { margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: #F1F5FB; font-size: .82rem; color: #33405C; }
.receipt-auth b { font-family: ui-monospace, monospace; color: #0A1222; letter-spacing: .04em; }
.receipt-foot { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; padding: 16px 22px; background: #F6F8FC; border-top: 1px dashed #D9E0EE; font-size: .8rem; color: #4A5672; }
.receipt-foot svg, .receipt-foot img { width: 92px; height: 92px; }
.receipt .chip { background: #EEF2F8; color: #4A5672; }
.receipt .chip.ok { background: #E0F7EE; color: #087A53; }
.receipt .chip.warn { background: #FFF3D6; color: #8A5A00; }
@media print {
  html, body { background: #fff !important; color: #000; }
  .no-print, .sidebar, .topbar, .bottom-nav, .toasts, .site-header, .site-footer { display: none !important; }
  .app-shell { display: block; }
  .content { padding: 0; }
  .receipt { box-shadow: none; border: 0; }
  .receipt-head { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Página legal */
.legal-doc { max-width: 860px; }
.legal-doc h2 { font-size: 1.22rem; margin-top: 1.4em; }
.legal-doc p { color: var(--text); }

/* utilitários (sem estilos inline — exigência da CSP) */
.w-260 { max-width: 260px; } .upper { text-transform: uppercase; } .pre-wrap { white-space: pre-wrap; }
.r-muted { color: #5D6A85; } .r-ink { color: #0A1222; }
.ti-white { color: #fff !important; }
.narrow-wrap { max-width: 680px; } .h-md { font-size: 1.6rem; }
.break { overflow-wrap: anywhere; }

/* ---------- Idioma e tema ---------- */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.main .lang-switch, .modal .lang-switch, .content .lang-switch { background: var(--surface-3); border-color: var(--line); }
.lang-switch button { display: inline-flex; align-items: center; gap: 5px; border: 0; background: transparent; color: inherit; opacity: .75; font: inherit; font-size: .76rem; font-weight: 600; padding: 4px 8px; border-radius: 999px; cursor: pointer; }
.lang-switch button[aria-pressed="true"] { background: rgba(255,255,255,.14); opacity: 1; }
.main .lang-switch button[aria-pressed="true"] { background: var(--surface); }
@media (max-width: 1024px) { .topbar .lang-switch { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); } .topbar .lang-switch button[aria-pressed="true"] { background: rgba(255,255,255,.14); } }
.lang-switch svg { width: 20px; height: 14px; border-radius: 3px; display: block; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.lang-slot { display: inline-flex; align-items: center; }
@media (max-width: 520px) { .lang-switch button span { display: none; } .lang-switch button { padding: 5px 6px; } }
.theme-btn { width: 38px; height: 38px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: inherit; display: inline-grid; place-items: center; cursor: pointer; flex: none; }
.main .theme-btn { border-color: var(--line); background: var(--surface); color: var(--ink); }
@media (max-width: 1024px) { .topbar .theme-btn { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; } }
.theme-btn svg { width: 18px; height: 18px; }

/* ---------- Carteira multimoeda e câmbio ---------- */
.cur-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cur-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--chip-bg); font-size: .8rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.fdot { width: 16px; height: 11px; border-radius: 2px; display: inline-block; flex: none; background: #888; box-shadow: 0 0 0 1px rgba(0,0,0,.1); }
.fdot.f-py { background: linear-gradient(#D52B1E 0 33%, #fff 33% 66%, #0038A8 66%); }
.fdot.f-br { background: radial-gradient(circle at 50% 50%, #002776 0 22%, transparent 23%), linear-gradient(135deg, transparent 30%, #FFDF00 30% 70%, transparent 70%), #009C3B; }
.fdot.f-us { background: linear-gradient(90deg, #3C3B6E 0 40%, transparent 40%), repeating-linear-gradient(#B22234 0 1.4px, #fff 1.4px 2.8px); }
.fdot.f-ar { background: linear-gradient(#74ACDF 0 33%, #fff 33% 66%, #74ACDF 66%); }
.cur-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 10px; }
.cur-box { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cur-box b { font-family: var(--display); font-weight: 600; font-size: 1.1rem; color: var(--ink); overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.cur-box .row { gap: 8px; }
.cur-box .res { font-size: .76rem; color: var(--warn-t); }
.fx-result { margin-top: 14px; padding: 16px; border-radius: 14px; background: var(--green-soft); border: 1px dashed color-mix(in srgb, var(--green) 45%, transparent); min-height: 64px; }
.fx-result .big { font-family: var(--display); font-size: 1.6rem; font-weight: 700; color: var(--green-t); overflow-wrap: anywhere; }
.fx-swap { border-radius: 12px; }
.fx-swap svg { transform: rotate(90deg); }
.rules-list { display: grid; gap: 12px; margin-top: 8px; }
.rules-list .rule { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: var(--surface); }
.rules-list .rule h3 { margin: 0 0 6px; font-size: 1rem; }
.rules-list .rule .code { color: var(--green-t); font-weight: 700; letter-spacing: .04em; }
.legal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
label.check.card.flat { padding: 12px 14px; align-items: flex-start; }

/* ---------- Cartão virtual ---------- */
.vcard { position: relative; aspect-ratio: 1.586; max-width: 420px; width: 100%; border-radius: 20px; padding: 18px 20px; color: #fff; overflow: hidden;
  background: radial-gradient(120% 140% at 100% 0%, rgba(30,214,154,.5), transparent 55%), linear-gradient(135deg, #2457F5 0%, #0A1A3A 72%); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; justify-content: space-between; }
.vcard .brand { color: #fff; } .vcard .brand img { width: 26px; height: 26px; } .vcard .wm { font-size: 1rem; } .vcard .wm i { color: var(--brand-green); }
.vcard .vtype { opacity: .85; font-size: .66rem; }
.vcard .chip-ic { width: 40px; height: 30px; border-radius: 6px; background: linear-gradient(135deg, #F5D78E, #C9A24A); }
.vcard .vpan { font-family: var(--display); font-size: clamp(1rem, 4.6vw, 1.35rem); letter-spacing: .08em; font-weight: 600; }
.vcard .vfoot { align-items: flex-end; gap: 10px; flex-wrap: nowrap; }
.vcard .vfoot .xs { opacity: .75; font-size: .62rem; }
.vcard .vfoot b { font-size: .84rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; max-width: 150px; }
.vcard .vbrand { font-style: italic; font-size: 1.05rem !important; letter-spacing: .04em; }
.vcard.frozen { filter: grayscale(.85) brightness(.75); }
.vcard .vfrozen { position: absolute; inset: auto 0 45% 0; text-align: center; font-weight: 800; letter-spacing: .3em; font-size: 1.1rem; }
.big-amt { font-size: 1.35rem; font-family: var(--display); }
.wallet-tokens { display: grid; gap: 8px; }
.wallet-tokens .wt { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; flex-wrap: wrap; }
.feat-list { padding-left: 18px; } .feat-list li { margin-bottom: 4px; }
.card.challenge { border-color: color-mix(in srgb, var(--amber) 60%, transparent); background: var(--warn-soft); }

/* ---------- QR: leitor com câmera e cobrança ---------- */
.scanner { position: fixed; inset: 0; z-index: 120; background: #000; color: #fff; display: grid; grid-template-rows: auto 1fr auto; }
.scanner video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scanner .bar { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: calc(12px + env(safe-area-inset-top)) 16px 12px; background: linear-gradient(rgba(0,0,0,.6), transparent); }
.scanner .bar b { font-family: var(--display); font-weight: 600; }
.scanner .bar button { background: rgba(255,255,255,.14); border: 0; color: #fff; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; cursor: pointer; font-size: 1.2rem; }
.scanner .frame { position: relative; z-index: 2; align-self: center; justify-self: center; width: min(72vw, 300px); aspect-ratio: 1; border-radius: 24px; box-shadow: 0 0 0 100vmax rgba(0,0,0,.5); }
.scanner .frame::before, .scanner .frame::after { content: ''; position: absolute; inset: -3px; border-radius: 26px; border: 4px solid transparent; }
.scanner .frame::before { border-color: var(--brand-green); -webkit-mask: linear-gradient(#000 0 0) top left / 48px 48px no-repeat, linear-gradient(#000 0 0) top right / 48px 48px no-repeat, linear-gradient(#000 0 0) bottom left / 48px 48px no-repeat, linear-gradient(#000 0 0) bottom right / 48px 48px no-repeat; mask: linear-gradient(#000 0 0) top left / 48px 48px no-repeat, linear-gradient(#000 0 0) top right / 48px 48px no-repeat, linear-gradient(#000 0 0) bottom left / 48px 48px no-repeat, linear-gradient(#000 0 0) bottom right / 48px 48px no-repeat; }
.scanner .beam { position: absolute; left: 8%; right: 8%; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--brand-green), transparent); box-shadow: 0 0 18px var(--brand-green); animation: beam 2.2s ease-in-out infinite alternate; }
@keyframes beam { from { top: 10%; } to { top: 88%; } }
.scanner .tools { position: relative; z-index: 2; display: grid; gap: 12px; padding: 16px 16px calc(18px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, rgba(0,0,0,.75) 30%); text-align: center; }
.scanner .tools p { margin: 0; color: #DCE5F5; font-size: .92rem; }
.scanner .tools .row { justify-content: center; }
.scanner .msg { color: #FFD25E; font-size: .9rem; min-height: 1.2em; }
.pay-sheet { display: grid; gap: 14px; }
.payee { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); }
.payee .av { width: 46px; height: 46px; border-radius: 14px; }
.payee b { display: block; color: var(--ink); font-size: 1rem; }
.payee span { color: var(--muted); font-size: .84rem; }
.amount-big { font-family: var(--display); font-size: clamp(1.8rem, 6vw, 2.4rem); font-weight: 700; color: var(--ink); letter-spacing: -.02em; text-align: center; font-variant-numeric: tabular-nums; }
.charge-qr { display: grid; justify-items: center; gap: 12px; text-align: center; }
.qr-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.big-choice { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-align: left; font: inherit; cursor: pointer; text-decoration: none !important; }
.big-choice:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.big-choice > svg { width: 50px; height: 50px; padding: 12px; border-radius: 15px; color: #fff; }
.big-choice b { display: block; font-family: var(--display); font-weight: 600; }
.big-choice span { color: var(--muted); font-size: .86rem; }

/* ---------- Clube no app ---------- */
.club-hero { border-radius: var(--r-lg); padding: clamp(18px, 2.6vw, 24px); color: #fff; display: grid; gap: 10px; }
.club-hero h2 { color: inherit; margin: 0; }
.progress { height: 10px; border-radius: 999px; background: rgba(255,255,255,.22); overflow: hidden; }
.progress i { display: block; height: 100%; border-radius: inherit; background: #fff; transition: width .6s ease; }
.progress.light { background: var(--surface-3); } .progress.light i { background: linear-gradient(90deg, var(--brand-blue), var(--brand-green)); }
.w-0 { width: 0; } .w-10 { width: 10%; } .w-20 { width: 20%; } .w-30 { width: 30%; } .w-40 { width: 40%; } .w-50 { width: 50%; } .w-60 { width: 60%; } .w-70 { width: 70%; } .w-80 { width: 80%; } .w-90 { width: 90%; } .w-100 { width: 100%; }
.mini-club { display: grid; gap: 8px; }
.mini-club .row b { font-family: var(--display); }

/* ---------- Agenda ---------- */
.sched { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.sched .day { width: 54px; text-align: center; border-radius: 14px; background: var(--blue-soft); color: var(--blue-t); padding: 6px 0; font-family: var(--display); line-height: 1.1; }
.sched .day b { display: block; font-size: 1.3rem; color: var(--ink); }
.sched .day small { font-size: .7rem; }
.sched .amt { font-family: var(--display); font-weight: 600; color: var(--ink); text-align: right; }

/* ---------- Página de download do app ---------- */
.dl-hero .h-lg { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.1; margin: 8px 0 14px; color: #fff; }
.dl-hero .hl { color: var(--brand-green); }
.dl-side .qr-box { display: inline-block; padding: 10px; background: #fff; border-radius: 12px; }
.steps-list { padding-left: 20px; } .steps-list li { margin-bottom: 10px; }
.sec-list { padding-left: 18px; } .sec-list li { margin-bottom: 6px; }
.no-scroll { overflow: hidden; }
.w-100 { width: 100%; }
button.list-item { width: 100%; background: none; border: 0; border-bottom: 1px solid var(--line); text-align: left; color: inherit; font: inherit; cursor: pointer; padding-inline: 4px; border-radius: 0; }
button.list-item:hover { background: var(--hover); text-decoration: none; }
.list-item > svg:last-child { width: 18px; height: 18px; color: var(--muted); flex: none; }
.wallet-card .t svg { width: 18px; height: 18px; }
.big-choice > svg { color: #fff; }
@media (max-width: 1024px) { #top-logout { display: none; } .topbar #top-admin { display: none; } }
.club-hero .gem { width: 28px; height: 28px; }
.tier .btn-white { align-self: flex-start; }
.charge-qr .copy-field { max-width: 460px; }
.dl-hero .lead { color: #B9C6DF; font-size: 1.08rem; }
.dl-hero .store-meta { color: #AFBCD6; }
.dl-hero .dl-side .card { color: var(--text); }
.section.navy .card h2, .section.navy .card h3 { color: var(--ink); }
.wallet-card { border: 1px solid rgba(255,255,255,.08); }
.tile .soon { position: static; margin: -4px 0 -2px; }

/* ---------- v3.1: @usuário, transferências, saques, perfil ---------- */
.av { overflow: hidden; }
.av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.av-sm { width: 40px; height: 40px; border-radius: 12px; font-size: .82rem; }
.av-xl { width: 96px; height: 96px; border-radius: 28px; font-size: 1.8rem; }
.hello a { text-decoration: none; }
.profile-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.ph-av { position: relative; }
.ph-edit { position: absolute; right: -6px; bottom: -6px; width: 36px; height: 36px; border-radius: 12px; border: 3px solid var(--surface); background: var(--brand-green); color: var(--brand-green-ink); display: grid; place-items: center; cursor: pointer; }
.ph-edit svg { width: 18px; height: 18px; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { width: 54px; height: 36px; border-radius: 10px; border: 2px solid transparent; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.swatch[aria-pressed="true"] { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.card-noite { background: radial-gradient(420px 220px at 105% -20%, rgba(30,214,154,.38), transparent 60%), radial-gradient(500px 300px at -20% 120%, rgba(36,87,245,.55), transparent 60%), #0A1A3A; }
.card-azul { background: radial-gradient(420px 220px at 105% -20%, rgba(255,255,255,.22), transparent 60%), linear-gradient(140deg, #2F6BFF, #1638B8); }
.card-esmeralda { background: radial-gradient(420px 220px at 105% -20%, rgba(255,255,255,.2), transparent 60%), linear-gradient(140deg, #0FA67A, #075E48); }
.card-grafite { background: radial-gradient(420px 220px at 105% -20%, rgba(255,255,255,.12), transparent 60%), linear-gradient(140deg, #3A4256, #161A24); }
.card-aurora { background: linear-gradient(130deg, #1ED69A 0%, #2457F5 55%, #6A3FD9 100%); }
.wallet-card.card-azul, .wallet-card.card-esmeralda, .wallet-card.card-grafite, .wallet-card.card-aurora, .wallet-card.card-noite { color: #fff; }
.contacts { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.contacts::-webkit-scrollbar { display: none; }
.contact { display: grid; justify-items: center; gap: 4px; background: none; border: 0; color: var(--text); font: 500 .76rem var(--font); cursor: pointer; padding: 4px; border-radius: 12px; flex: none; width: 66px; }
.contact:hover { background: var(--hover); }
.contact .av { width: 46px; height: 46px; border-radius: 16px; }
.payee .ok-ic { width: 22px; height: 22px; color: var(--green-t); margin-left: auto; flex: none; }
.handle { font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: var(--blue-t); }
.big-choice.off { opacity: .55; cursor: not-allowed; }
.big-choice:disabled:hover { box-shadow: none; border-color: var(--line); }
.av { position: relative; }
.av img { position: absolute; inset: 0; }
.btn-keep { white-space: nowrap; flex-shrink: 0; padding-left: 18px; padding-right: 18px; }
#view:focus, #view:focus-visible { outline: none; }
