/* =====================================================================
   Sistema de Recargas 3.0 — design "papel e tinta"
   Fundo de papel, tipografia serifada nos títulos, cartões com borda fina,
   botões em pílula e o "ticket" de recarga como elemento de destaque.
   A cor principal vem do painel ADM (Identidade visual) → --primary.
   Tema escuro: [data-theme="dark"] no <html>.
   ===================================================================== */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/inter-400.woff) format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500 600; font-display: swap; src: url(../fonts/inter-600.woff) format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700 900; font-display: swap; src: url(../fonts/inter-700.woff) format("woff"); }
@font-face { font-family: "Lora"; font-style: normal; font-weight: 500 800; font-display: swap; src: url(../fonts/lora-700.woff) format("woff"); }

:root {
    --bg: #f4f1ea;
    --surface: #fffdf9;
    --surface-2: #faf7f1;
    --surface-3: #efe9de;
    --border: #e4ddcf;
    --border-strong: #d0c6b3;
    --text: #1b1a17;
    --text-2: #5f594d;
    --muted: #948c7c;
    --ink: #1b1a17;
    --ink-2: #2b2925;
    --on-ink: #f4f1ea;
    --primary: #d1431c;
    --primary-600: #b0381a;
    --primary-rgb: 209, 67, 28;
    --primary-soft: rgba(209, 67, 28, .10);
    --primary-line: rgba(209, 67, 28, .35);
    --primary-grad: var(--primary);
    --on-primary: #ffffff;
    --success: #1f7a4d;
    --success-soft: rgba(31, 122, 77, .11);
    --danger: #c2362b;
    --danger-soft: rgba(194, 54, 43, .10);
    --warning: #b7791f;
    --warning-soft: rgba(183, 121, 31, .14);
    --info: #2b6cb0;
    --info-soft: rgba(43, 108, 176, .10);
    --promo: #7b3fbf;
    --promo-soft: rgba(123, 63, 191, .11);
    --radius: 10px;
    --radius-sm: 7px;
    --radius-lg: 14px;
    --shadow-sm: none;
    --shadow: 0 1px 0 rgba(27, 26, 23, .04), 0 8px 24px -12px rgba(27, 26, 23, .18);
    --shadow-lg: 0 24px 60px -18px rgba(27, 26, 23, .35);
    --header-h: 64px;
    --sidebar-w: 256px;
    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-display: "Lora", Georgia, "Times New Roman", serif;
    --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color-scheme: light;
}

html[data-theme="dark"] {
    --bg: #12110f;
    --surface: #1b1a17;
    --surface-2: #171613;
    --surface-3: #25231f;
    --border: #2f2c27;
    --border-strong: #423e36;
    --text: #f1ece2;
    --text-2: #b8b0a1;
    --muted: #817a6b;
    --ink: #0b0a09;
    --ink-2: #1f1d1a;
    --success: #4cb782;
    --success-soft: rgba(76, 183, 130, .14);
    --danger: #e5675c;
    --danger-soft: rgba(229, 103, 92, .15);
    --warning: #e0a948;
    --warning-soft: rgba(224, 169, 72, .15);
    --info: #6aa5e6;
    --info-soft: rgba(106, 165, 230, .14);
    --promo: #b08be6;
    --promo-soft: rgba(176, 139, 230, .16);
    --shadow: 0 10px 30px -12px rgba(0, 0, 0, .6);
    --shadow-lg: 0 30px 70px -20px rgba(0, 0, 0, .75);
    color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
* { -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    font-size: 14.5px;
    line-height: 1.55;
    font-feature-settings: "tnum" 1, "cv11" 1;
    min-height: 100vh;
    min-height: 100dvh;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a.btn:hover, a.card:hover, a.choice:hover, a.nav-link:hover, a.brand:hover, .bottom-nav a:hover, a.topnav-link:hover, a.balance-pill:hover, a.alert:hover { text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
code { font-family: var(--mono); font-size: .92em; background: var(--surface-3); padding: 1px 6px; border-radius: 4px; }
::selection { background: rgba(var(--primary-rgb), .22); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Tipografia ---------- */
h1, h2, h3, h4, .h1, .h2, .h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.h1 { font-size: 30px; }
.h2 { font-size: 23px; }
.h3 { font-size: 17px; }
.muted { color: var(--text-2); }
.small { font-size: 13px; }
.tiny { font-size: 11.5px; }
.bold { font-weight: 700; }
.mono { font-family: var(--mono); font-size: 12.5px; }
.text-success { color: var(--success) !important; }
.text-danger { color: var(--danger) !important; }
.text-warning { color: var(--warning) !important; }
.text-primary { color: var(--primary) !important; }
.text-right { text-align: right; }
.text-center { text-align: center; }
.nowrap { white-space: nowrap; }
.eyebrow { font-family: var(--font); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }

/* ---------- Layout utilitário ---------- */
.stack { display: flex; flex-direction: column; gap: 18px; }
.stack-sm { display: flex; flex-direction: column; gap: 8px; }
.row { display: flex; align-items: center; gap: 12px; }
.row-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.grid { display: grid; gap: 16px; }
.grid-2 { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-auto { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.grid-side { display: grid; gap: 18px; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); align-items: start; }
.mt-1 { margin-top: 6px; } .mt-2 { margin-top: 12px; } .mt-3 { margin-top: 22px; }
.mb-1 { margin-bottom: 6px; } .mb-2 { margin-bottom: 12px; } .mb-3 { margin-bottom: 22px; }
.hide { display: none !important; }
@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) { .grid-side { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid-2:not(.keep) { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .grid-2.keep { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .hide-mobile { display: none !important; }
}
@media (min-width: 641px) { .only-mobile { display: none !important; } }

/* ---------- Marca ---------- */
.marca { display: inline-flex; align-items: center; gap: 10px; color: var(--text); min-width: 0; }
.marca-selo {
    width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
    display: inline-grid; place-items: center;
    background: var(--ink); color: var(--on-ink);
    font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .02em;
    box-shadow: inset 0 -3px 0 var(--primary);
}
html[data-theme="dark"] .marca-selo { background: var(--surface-3); color: var(--text); }
.marca-selo-img { background: transparent !important; box-shadow: none; overflow: hidden; }
.marca-selo-img img { width: 100%; height: 100%; object-fit: cover; }
.marca-nome { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.marca-logo img { height: 34px; width: auto; max-width: 190px; object-fit: contain; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); min-width: 0; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--ink); color: var(--on-ink); display: grid; place-items: center; font-size: 14px; }

/* ---------- Cartões ---------- */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px;
}
.card.flush { padding: 0; overflow: hidden; }
.card-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.card-title { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 17px; font-weight: 700; }
.card-title i { color: var(--primary); font-size: 14px; }
.card-sub { color: var(--text-2); font-size: 13px; margin-top: 2px; }
.card.hover { transition: border-color .15s, transform .15s; }
.card.hover:hover { border-color: var(--text); }
.card-pad-sm { padding: 14px 16px; }
@media (max-width: 640px) { .card { padding: 17px; border-radius: 12px; } }

/* Saldo em forma de ticket */
.hero-card {
    position: relative; overflow: hidden;
    background: var(--primary); color: var(--on-primary);
    border-radius: 16px; padding: 24px 24px 0;
}
.hero-card::after {
    content: ''; position: absolute; right: -40px; top: -40px; width: 190px; height: 190px; border-radius: 50%;
    border: 28px solid currentColor; opacity: .08; pointer-events: none;
}
.hero-card .label { color: inherit; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .82; }
.hero-card .valor { font-family: var(--font-display); font-size: 46px; font-weight: 700; line-height: 1.05; margin-top: 6px; letter-spacing: -.02em; position: relative; z-index: 1; }
.hero-card .sub { font-size: 13px; opacity: .85; margin-top: 6px; position: relative; z-index: 1; }
.hero-card .sub strong { opacity: 1; }
.hero-actions {
    position: relative; display: flex; gap: 8px; flex-wrap: wrap;
    margin: 22px -24px 0; padding: 16px 24px 18px;
    border-top: 2px dashed currentColor; border-top-color: color-mix(in srgb, currentColor 35%, transparent);
}
.hero-actions::before, .hero-actions::after {
    content: ''; position: absolute; top: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg);
}
.hero-actions::before { left: -10px; }
.hero-actions::after { right: -10px; }
.hero-actions .btn { background: transparent; color: inherit; border-color: color-mix(in srgb, currentColor 40%, transparent); }
.hero-actions .btn:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
.hero-actions .btn.solid { background: var(--on-primary); color: var(--primary); border-color: var(--on-primary); }
.hero-actions .btn.solid:hover { filter: brightness(.96); }
@media (max-width: 640px) {
    .hero-card { padding: 20px 18px 0; }
    .hero-card .valor { font-size: 38px; }
    .hero-actions { margin: 18px -18px 0; padding: 14px 18px 16px; }
    .hero-actions .btn { flex: 1; padding: 10px 6px; }
}

.hero-card > :last-child:not(.hero-actions) { margin-bottom: 24px; }
.hero-card.hero-ink { background: var(--ink); color: var(--on-ink); }
html[data-theme="dark"] .hero-card.hero-ink { background: var(--surface-3); color: var(--text); }

/* Indicadores */
.stat { display: flex; gap: 14px; align-items: flex-start; }
.stat-icon {
    width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
    border: 1.5px solid currentColor; color: var(--primary); font-size: 15px; background: transparent;
}
.stat-icon.success { color: var(--success); }
.stat-icon.danger { color: var(--danger); }
.stat-icon.warning { color: var(--warning); }
.stat-icon.info { color: var(--info); }
.stat-icon.promo { color: var(--promo); }
.stat-label { font-size: 11.5px; color: var(--text-2); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.stat-value { font-family: var(--font-display); font-size: 26px; font-weight: 700; margin-top: 2px; line-height: 1.15; word-break: break-word; }
.stat-hint { font-size: 12px; color: var(--muted); margin-top: 3px; }
@media (max-width: 640px) { .stat-value { font-size: 20px; } .stat-icon { width: 34px; height: 34px; font-size: 13px; } }

/* ---------- Botões ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--border-strong);
    background: var(--surface); color: var(--text); font-weight: 600; font-size: 14px; line-height: 1.2;
    cursor: pointer; white-space: nowrap; user-select: none; text-decoration: none;
    transition: background-color .15s, border-color .15s, color .15s, transform .1s, filter .15s;
}
.btn:hover { border-color: var(--text); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn.disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-600); border-color: var(--primary-600); }
.btn-success { background: var(--success); border-color: var(--success); color: #fff; }
.btn-success:hover { filter: brightness(.92); border-color: var(--success); }
.btn-danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-danger:hover { filter: brightness(.92); border-color: var(--danger); }
.btn-warning { background: var(--warning); border-color: var(--warning); color: #1b1a17; }
.btn-soft { background: var(--primary-soft); border-color: transparent; color: var(--primary); }
.btn-soft:hover { border-color: var(--primary-line); }
.btn-soft-danger { background: var(--danger-soft); border-color: transparent; color: var(--danger); }
.btn-soft-danger:hover { border-color: var(--danger); }
.btn-soft-success { background: var(--success-soft); border-color: transparent; color: var(--success); }
.btn-soft-success:hover { border-color: var(--success); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn-ghost:hover { background: var(--surface-3); color: var(--text); border-color: transparent; }
.btn-whatsapp { background: #1f9d55; border-color: #1f9d55; color: #fff; }
.btn-whatsapp:hover { background: #18834a; border-color: #18834a; color: #fff; }
.btn-whatsapp i { font-size: 1.2em; }
.btn-sm { padding: 6px 12px; font-size: 12.5px; border-width: 1px; }
.btn-lg { padding: 14px 24px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-icon { width: 40px; height: 40px; padding: 0; }
.btn-icon.btn-sm { width: 32px; height: 32px; }
.btn .fa-spin { animation-duration: .8s; }

/* ---------- Formulários ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label, .label { font-size: 13px; font-weight: 600; color: var(--text); }
.field .hint, .hint { font-size: 12px; color: var(--muted); line-height: 1.45; }
.input, .select, .textarea {
    width: 100%; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
    padding: 11px 13px; font-size: 14.5px; outline: none;
    transition: border-color .15s, box-shadow .15s;
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--muted); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.input::placeholder, .textarea::placeholder { color: var(--muted); }
.input[type="file"] { padding: 8px; font-size: 13px; background: var(--surface-2); }
.textarea { min-height: 96px; resize: vertical; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.input-icon { position: relative; }
.input-icon > i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-icon .input { padding-left: 38px; }
.input-icon .btn-eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--muted); width: 38px; height: 38px; cursor: pointer; border-radius: 6px; }
.input-icon .btn-eye:hover { color: var(--text); }
.input-lg { font-family: var(--font-display); font-size: 24px; font-weight: 700; padding: 13px 16px; }
.form-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.switch input { display: none; }
.switch .track { width: 40px; height: 22px; border-radius: 999px; background: var(--surface-3); border: 1.5px solid var(--border-strong); position: relative; transition: .2s; flex-shrink: 0; }
.switch .track::after { content: ''; position: absolute; top: 2px; left: 2px; width: 15px; height: 15px; border-radius: 50%; background: var(--muted); transition: .2s; }
.switch input:checked + .track { background: var(--primary); border-color: var(--primary); }
.switch input:checked + .track::after { transform: translateX(18px); background: var(--on-primary); }
.switch > span:last-child { line-height: 1.35; }

.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; user-select: none; }
.check input { width: 17px; height: 17px; accent-color: var(--primary); margin-top: 2px; flex-shrink: 0; }

.campo-erro, .campo-erro:focus { border-color: var(--danger) !important; box-shadow: 0 0 0 3px var(--danger-soft) !important; }
.erro-campo { display: flex; align-items: center; gap: 6px; color: var(--danger); font-size: 12.5px; font-weight: 600; margin-top: 6px; animation: subir .2s ease; }
.erro-campo::before { content: '\f06a'; font-family: 'Font Awesome 6 Free'; font-weight: 900; }

/* ---------- Etiquetas ---------- */
.badge {
    display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 5px;
    font-size: 11px; font-weight: 700; letter-spacing: .02em; white-space: nowrap;
    background: var(--surface-3); color: var(--text-2); border: 1px solid transparent;
}
.badge i { font-size: 10px; }
.badge-success { background: var(--success-soft); color: var(--success); }
.badge-danger { background: var(--danger-soft); color: var(--danger); }
.badge-warning { background: var(--warning-soft); color: var(--warning); }
.badge-info { background: var(--info-soft); color: var(--info); }
.badge-promo { background: var(--promo-soft); color: var(--promo); }
.badge-primary { background: var(--primary-soft); color: var(--primary); }
.badge-muted { background: transparent; color: var(--muted); border-color: var(--border-strong); }
.badge-info .fa-spinner { animation: fa-spin 1.4s linear infinite; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border-strong); background: transparent; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--text-2); transition: .15s; }
.chip:hover { border-color: var(--text); color: var(--text); }
.chip.active { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
html[data-theme="dark"] .chip.active { background: var(--text); border-color: var(--text); color: var(--bg); }

/* ---------- Alertas ---------- */
.alert { display: flex; gap: 12px; padding: 13px 15px; border-radius: var(--radius); font-size: 13.5px; align-items: flex-start; border: 1px solid var(--border); border-left-width: 4px; background: var(--surface); color: var(--text); }
.alert > i { margin-top: 2px; }
.alert-info { border-left-color: var(--info); background: var(--info-soft); }
.alert-info > i { color: var(--info); }
.alert-success { border-left-color: var(--success); background: var(--success-soft); }
.alert-success > i { color: var(--success); }
.alert-warning { border-left-color: var(--warning); background: var(--warning-soft); }
.alert-warning > i { color: var(--warning); }
.alert-danger { border-left-color: var(--danger); background: var(--danger-soft); }
.alert-danger > i { color: var(--danger); }

/* ---------- Tabelas ---------- */
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th { text-align: left; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); font-weight: 700; padding: 12px 14px; border-bottom: 1px solid var(--border-strong); white-space: nowrap; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: var(--surface-2); }
.table .actions { display: flex; gap: 6px; justify-content: flex-end; }
.card.flush .table th:first-child, .card.flush .table td:first-child { padding-left: 22px; }
.card.flush .table th:last-child, .card.flush .table td:last-child { padding-right: 22px; }
@media (max-width: 640px) {
    .table-cards thead { display: none; }
    .table-cards tr { display: block; padding: 12px 16px; border-bottom: 1px solid var(--border); }
    .table-cards td { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0 !important; border: 0; text-align: right; }
    .table-cards td::before { content: attr(data-label); color: var(--muted); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; text-align: left; }
    .table-cards td.actions { justify-content: flex-end; padding-top: 8px !important; }
    .table-cards td.actions::before { content: none; }
}

/* ---------- Listas ---------- */
.list { display: flex; flex-direction: column; }
.list-item { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px dashed var(--border-strong); }
.list-item:last-child { border-bottom: 0; }
.list-click .list-item { width: 100%; padding: 14px 18px; background: none; border: 0; border-bottom: 1px solid var(--border); text-align: left; font: inherit; color: inherit; cursor: pointer; transition: background .12s; }
.list-click .list-item:last-child { border-bottom: 0; }
.list-click .list-item:hover { background: var(--surface-2); }
.list-click .list-item:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
.ver-detalhes { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; font-size: 12.5px; font-weight: 700; color: var(--primary); }
.ver-detalhes i { font-size: 9.5px; transition: transform .15s; }
.list-click .list-item:hover .ver-detalhes i { transform: translateX(3px); }
.list-icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-size: 14px; background: var(--surface-3); color: var(--text-2); }
.list-icon.in { background: var(--success-soft); color: var(--success); }
.list-icon.out { background: var(--danger-soft); color: var(--danger); }
.list-icon.pending { background: var(--warning-soft); color: var(--warning); }
.list-title { font-weight: 600; font-size: 14.5px; }
.list-sub { font-size: 12.5px; color: var(--text-2); }
.list-amount { font-family: var(--font-display); font-weight: 700; font-size: 15.5px; white-space: nowrap; text-align: right; }
.list-amount.in { color: var(--success); }
.list-amount.out { color: var(--text); }

/* ---------- Abas (sublinhado) ---------- */
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--border-strong); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; padding: 11px 14px; border: 0; background: transparent; color: var(--text-2); font-weight: 600; font-size: 13.5px; cursor: pointer; white-space: nowrap; display: inline-flex; gap: 7px; align-items: center; transition: color .15s; }
.tab::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2.5px; border-radius: 3px 3px 0 0; background: transparent; transition: background .15s; }
.tab:hover { color: var(--text); }
.tab.active { color: var(--text); }
.tab.active::after { background: var(--primary); }
.tab.active i { color: var(--primary); }
.tab .badge { padding: 1px 6px; }
.tab-panel { display: none; animation: subir .25s ease; }
.tab-panel.active { display: block; }
.stack.tab-panel.active { display: flex; }

/* Segmentos (opções lado a lado) */
.seg { display: flex; gap: 6px; flex-wrap: nowrap; }
.seg-wrap { flex-wrap: wrap; }
.seg-item { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 12px; border-radius: 999px; border: 1.5px solid var(--border-strong); color: var(--text-2); font-weight: 600; font-size: 13.5px; cursor: pointer; text-align: center; transition: .15s; white-space: nowrap; background: var(--surface); }
.seg-item:hover { color: var(--text); border-color: var(--text); }
.seg-item.active { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
html[data-theme="dark"] .seg-item.active { background: var(--text); border-color: var(--text); color: var(--bg); }
.seg-item.active i { color: inherit; }
.seg-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--primary); color: var(--on-primary); font-size: 11px; display: inline-grid; place-items: center; }
@media (max-width: 480px) { .seg-item { font-size: 12.5px; padding: 9px 8px; gap: 6px; } }

/* ---------- Vazio / carregando ---------- */
.empty { text-align: center; padding: 42px 16px; color: var(--text-2); }
.empty i { font-size: 28px; color: var(--muted); margin-bottom: 12px; display: block; }
.empty strong { display: block; color: var(--text); font-family: var(--font-display); font-size: 17px; margin-bottom: 4px; }
.loader { display: grid; place-items: center; padding: 60px 0; color: var(--muted); font-size: 22px; }
.skeleton { background: linear-gradient(90deg, var(--surface-3) 25%, var(--surface-2) 50%, var(--surface-3) 75%); background-size: 200% 100%; animation: brilho 1.2s infinite; border-radius: var(--radius); }
.skeleton-card { height: 120px; border-radius: var(--radius-lg); }
@keyframes brilho { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@keyframes subir { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(.92); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.fade-in { animation: subir .3s ease both; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* ---------- Paginação ---------- */
.pagination { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; padding: 14px 0 4px; }
.pagination a, .pagination span { min-width: 36px; height: 36px; padding: 0 10px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-2); font-weight: 600; font-size: 13px; }
.pagination a:hover { border-color: var(--text); color: var(--text); text-decoration: none; }
.pagination .active { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
html[data-theme="dark"] .pagination .active { background: var(--text); color: var(--bg); }

/* ---------- Modal ---------- */
.modal-backdrop {
    position: fixed; inset: 0; background: rgba(18, 17, 15, .55);
    display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 1000;
    opacity: 0; pointer-events: none; transition: opacity .2s;
}
.modal-backdrop.open { opacity: 1; pointer-events: auto; }
.modal {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); width: 100%; max-width: 520px;
    max-height: calc(100dvh - 32px); display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
    transform: translateY(14px); transition: transform .22s ease;
}
.modal.lg { max-width: 780px; }
.modal-backdrop.open .modal { transform: none; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.modal-head h3 { font-size: 19px; display: flex; align-items: center; gap: 10px; }
.modal-body { padding: 22px; overflow-y: auto; }
.modal-foot { display: flex; gap: 10px; justify-content: flex-end; padding: 14px 22px; border-top: 1px solid var(--border); flex-wrap: wrap; background: var(--surface-2); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
@media (max-width: 640px) {
    .modal-backdrop { align-items: flex-end; padding: 0; }
    .modal { border-radius: 18px 18px 0 0; max-height: 92dvh; transform: translateY(100%); }
    .modal::before { content: ''; display: block; width: 40px; height: 4px; border-radius: 4px; background: var(--border-strong); margin: 8px auto 0; }
    .modal-foot { border-radius: 0; padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
    .modal-foot .btn { flex: 1; }
}

/* ---------- Toast ---------- */
.toasts { position: fixed; bottom: calc(96px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); z-index: 2000; display: flex; flex-direction: column; gap: 8px; width: max-content; max-width: calc(100vw - 24px); pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--on-ink); box-shadow: var(--shadow-lg); font-size: 14px; font-weight: 600; animation: pop .22s ease; pointer-events: auto; }
html[data-theme="dark"] .toast { background: var(--text); color: var(--bg); }
.toast.success i { color: #6fd39b; }
.toast.error i { color: #ff8a7a; }
.toast.info i { color: #8cc2ff; }
.toast.warning i { color: #f2c063; }
html[data-theme="dark"] .toast.success i { color: var(--success); }
html[data-theme="dark"] .toast.error i { color: #c2362b; }
.toast.saindo { opacity: 0; transform: translateY(8px); transition: .25s; }
@media (min-width: 1024px) { .toasts { bottom: 28px; } }

/* ---------- Avatar ---------- */
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); color: var(--text); border: 1.5px solid var(--border-strong); font-family: var(--font-display); font-weight: 700; font-size: 15px; flex-shrink: 0; }
.avatar.lg { width: 64px; height: 64px; font-size: 22px; }
.avatar.sm { width: 30px; height: 30px; font-size: 12px; }

/* ---------- Operadoras ---------- */
.op-logo { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 11.5px; letter-spacing: .03em; flex-shrink: 0; text-transform: uppercase; }
.op-claro { background: #da291c; }
.op-tim { background: #004691; }
.op-vivo { background: #660099; }
.op-oi { background: #ffd400; color: #1f1f1f; }
.op-generic { background: #4a463f; }
.op-logo.op-mini { width: 40px; height: 40px; font-size: 9px; }
.op-logo.op-img { background: #fff; border: 1px solid var(--border); padding: 5px; overflow: hidden; }
.op-logo.op-img img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }

/* =====================================================================
   ESTRUTURA DAS PÁGINAS
   ===================================================================== */
.topbar {
    position: sticky; top: 0; z-index: 50; height: var(--header-h);
    display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 18px;
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.topbar-in { width: 100%; max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 18px; height: 100%; }
.topbar-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-btn { position: relative; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-2); display: grid; place-items: center; cursor: pointer; transition: .15s; font-size: 15px; flex-shrink: 0; }
.icon-btn:hover { color: var(--text); border-color: var(--text); }
.icon-btn .dot { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--primary); color: var(--on-primary); font-size: 10.5px; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--bg); }
.balance-pill { display: flex; align-items: center; gap: 8px; padding: 0 16px; height: 40px; border-radius: 999px; background: var(--ink); color: var(--on-ink); font-weight: 700; font-size: 14px; white-space: nowrap; }
.balance-pill i { color: var(--primary); }
html[data-theme="dark"] .balance-pill { background: var(--surface-3); color: var(--text); }
.theme-toggle .fa-sun { display: none; }
html[data-theme="dark"] .theme-toggle .fa-sun { display: inline-block; }
html[data-theme="dark"] .theme-toggle .fa-moon { display: none; }

/* Menu horizontal (área do cliente, telas grandes) */
.topnav { display: none; align-items: center; gap: 4px; height: 100%; }
.topnav-link { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 100%; padding: 0 12px; color: var(--text-2); font-weight: 600; font-size: 14px; }
.topnav-link i { font-size: 13px; }
.topnav-link:hover { color: var(--text); }
.topnav-link::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: transparent; }
.topnav-link.active { color: var(--text); }
.topnav-link.active::after { background: var(--primary); }
.topnav-link.active i { color: var(--primary); }
@media (min-width: 1024px) { .topnav { display: flex; } }

/* Gaveta / menu lateral */
.sidebar {
    position: fixed; top: 0; bottom: 0; left: 0; width: var(--sidebar-w); z-index: 80;
    background: var(--surface); border-right: 1px solid var(--border); display: flex; flex-direction: column;
    transform: translateX(-100%); transition: transform .25s ease;
}
.sidebar.open { transform: none; box-shadow: var(--shadow-lg); }
.sidebar-head { padding: 18px; border-bottom: 1px solid var(--border); }
.sidebar-nav { flex: 1; overflow-y: auto; padding: 10px; display: flex; flex-direction: column; gap: 1px; }
.nav-group { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 16px 12px 6px; }
.nav-link { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; color: var(--text-2); font-weight: 600; font-size: 14px; transition: .12s; cursor: pointer; }
.nav-link i { width: 18px; text-align: center; font-size: 14px; }
.nav-link:hover { background: var(--surface-3); color: var(--text); }
.nav-link.active { background: var(--primary-soft); color: var(--text); }
.nav-link.active i { color: var(--primary); }
.nav-link .badge { margin-left: auto; }
.sidebar-foot { padding: 12px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 6px; }
.overlay { position: fixed; inset: 0; background: rgba(18, 17, 15, .5); z-index: 70; opacity: 0; pointer-events: none; transition: opacity .2s; }
.overlay.open { opacity: 1; pointer-events: auto; }

/* Área do cliente: gaveta abre pela direita, em qualquer tamanho de tela */
.com-gaveta .sidebar { left: auto; right: 0; width: min(340px, 88vw); border-right: 0; border-left: 1px solid var(--border); transform: translateX(100%); }
.com-gaveta .sidebar.open { transform: none; }
.gaveta-fechar { margin-left: auto; }
.gaveta-saldos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.gaveta-saldos > div { border: 1px dashed var(--border-strong); border-radius: var(--radius); padding: 10px 12px; }
.gaveta-saldos strong { font-family: var(--font-display); font-size: 17px; display: block; }

.app-main { padding: 26px 18px 120px; max-width: 1180px; margin: 0 auto; width: 100%; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 4px; padding-bottom: 16px; border-bottom: 1px solid var(--border-strong); flex-wrap: wrap; }
.page-head h1 { font-size: 30px; }
.page-head p { color: var(--text-2); font-size: 13.5px; margin-top: 4px; }
@media (max-width: 640px) { .page-head h1 { font-size: 25px; } }
#view { min-height: 50vh; }
#view.carregando { opacity: .55; pointer-events: none; transition: opacity .15s; }

/* Painel ADM: menu lateral escuro fixo */
.com-sidebar .sidebar { background: var(--ink); border-right: 0; color: #cfc8ba; }
.com-sidebar .sidebar-head { border-bottom-color: rgba(255, 255, 255, .08); }
.com-sidebar .sidebar-head .marca, .com-sidebar .sidebar-head .bold { color: #f4f1ea; }
.com-sidebar .sidebar-head .marca-selo { background: rgba(255, 255, 255, .1); color: #f4f1ea; }
.com-sidebar .sidebar-head .muted, .com-sidebar .sidebar-head .tiny { color: #8f887a; }
.com-sidebar .nav-group { color: #6f695d; }
.com-sidebar .nav-link { color: #bdb6a8; }
.com-sidebar .nav-link:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.com-sidebar .nav-link.active { background: rgba(255, 255, 255, .09); color: #fff; }
.com-sidebar .nav-link.active::before { content: ''; position: absolute; left: -10px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: var(--primary); }
.com-sidebar .nav-link.active i { color: var(--primary); }
html[data-theme="dark"] .com-sidebar .nav-link.active i, html[data-theme="dark"] .com-sidebar .nav-link.active::before { color: var(--primary); }
.com-sidebar .sidebar-foot { border-top-color: rgba(255, 255, 255, .08); }
.com-sidebar .sidebar-foot .nav-link .muted, .com-sidebar .sidebar-foot .tiny { color: #8f887a; }
.com-sidebar .sidebar-foot .avatar { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #f4f1ea; }
.com-sidebar .sidebar-foot .btn-soft-danger { background: rgba(229, 103, 92, .12); color: #f19a90; }
.com-sidebar .sidebar-nav::-webkit-scrollbar { width: 6px; }
.com-sidebar .sidebar-nav::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .12); border-radius: 6px; }
.com-sidebar .topbar { background: color-mix(in srgb, var(--bg) 90%, transparent); }
.titulo-secao { font-family: var(--font-display); font-size: 17px; font-weight: 700; }

@media (min-width: 1024px) {
    .com-sidebar .sidebar { transform: none; }
    .com-sidebar .topbar, .com-sidebar .app-main-wrap { margin-left: var(--sidebar-w); }
    .com-sidebar .menu-toggle { display: none; }
    .com-sidebar .overlay { display: none; }
    .app-main { padding: 30px 30px 70px; }
}

/* Barra inferior (celular) */
.bottom-nav {
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60;
    display: flex; justify-content: space-around; align-items: center;
    background: var(--ink); border-radius: 18px; padding: 6px; box-shadow: var(--shadow-lg);
}
html[data-theme="dark"] .bottom-nav { background: var(--surface-3); border: 1px solid var(--border-strong); }
.bottom-nav a, .bottom-nav button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 2px; color: #a59e90; font-size: 10.5px; font-weight: 600; border-radius: 12px; background: none; border: 0; cursor: pointer; font-family: inherit; }
.bottom-nav i { font-size: 17px; }
.bottom-nav a.active { color: #fff; }
.bottom-nav a.active i { color: var(--primary); }
.bottom-nav a.destaque { color: #fff; }
.bottom-nav a.destaque i { width: 46px; height: 46px; margin-top: -26px; border-radius: 50%; background: var(--primary); color: var(--on-primary); display: grid; place-items: center; border: 4px solid var(--bg); font-size: 18px; }
@media (min-width: 1024px) { .bottom-nav { display: none; } .app-main { padding-bottom: 70px; } }

/* Painel de notificações */
.notif-panel {
    position: fixed; top: calc(var(--header-h) + 8px); right: 12px; width: 390px; max-width: calc(100vw - 24px); max-height: min(560px, calc(100dvh - 110px));
    background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    z-index: 900; display: flex; flex-direction: column; opacity: 0; pointer-events: none; transform: translateY(-6px); transition: .18s;
}
.notif-panel.open { opacity: 1; pointer-events: auto; transform: none; }
.notif-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--border); gap: 8px; }
.notif-head strong { font-family: var(--font-display); font-size: 17px; }
.notif-list { overflow-y: auto; flex: 1; }
.notif-item { display: flex; gap: 12px; padding: 13px 16px 13px 20px; border-bottom: 1px solid var(--border); cursor: pointer; position: relative; transition: background .12s; }
.notif-item:hover { background: var(--surface-2); }
.notif-item.unread { background: var(--primary-soft); }
.notif-item.unread::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--primary); }
.notif-ico { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-size: 13px; border: 1.5px solid currentColor; }
.notif-ico.success { color: var(--success); }
.notif-ico.danger { color: var(--danger); }
.notif-ico.warning { color: var(--warning); }
.notif-ico.info { color: var(--info); }
.notif-ico.promo { color: var(--promo); }
.notif-title { font-weight: 700; font-size: 13.5px; }
.notif-msg { font-size: 13px; color: var(--text-2); margin-top: 2px; word-break: break-word; }
.notif-time { font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.notif-foot { padding: 10px 16px; border-top: 1px solid var(--border); text-align: center; }

/* =====================================================================
   COMPONENTES DAS TELAS
   ===================================================================== */
.amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.amount-btn { padding: 13px 8px; border-radius: 999px; border: 1.5px solid var(--border-strong); background: var(--surface); font-family: var(--font-display); font-weight: 700; font-size: 16px; cursor: pointer; transition: .15s; color: var(--text); }
.amount-btn:hover { border-color: var(--text); }
.amount-btn.active { border-color: var(--primary); background: var(--primary); color: var(--on-primary); }

.choice { border: 1.5px solid var(--border); border-radius: var(--radius); padding: 14px; cursor: pointer; transition: .15s; background: var(--surface); display: flex; align-items: center; gap: 12px; text-align: left; width: 100%; font: inherit; color: inherit; }
.choice:hover { border-color: var(--text); }
.choice.active { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); background: var(--primary-soft); }
.choice.disabled { opacity: .5; cursor: not-allowed; }

.summary { background: var(--surface-2); border: 1px dashed var(--border-strong); border-radius: var(--radius); padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--text-2); }
.summary-row strong { color: var(--text); }
.summary-row.total { border-top: 1px dashed var(--border-strong); padding-top: 10px; font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--text); }

.progress { height: 8px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--primary); border-radius: 999px; transition: width .6s ease; }

.bars { display: flex; align-items: flex-end; gap: 8px; height: 170px; padding-top: 10px; border-bottom: 1px solid var(--border-strong); }
.bars .bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; min-width: 0; }
.bars .bar span { width: 100%; max-width: 34px; border-radius: 4px 4px 0 0; background: var(--primary); min-height: 3px; transition: height .5s ease; }
.bars .bar span.neg { background: var(--danger); }
.bars .bar small { font-size: 10.5px; color: var(--muted); white-space: nowrap; }

.copy-box { display: flex; gap: 8px; align-items: stretch; }
.copy-box .input { font-family: var(--mono); font-size: 12.5px; }
.code-area { width: 100%; min-height: 84px; resize: none; font-family: var(--mono); font-size: 12px; word-break: break-all; }

.fab-whatsapp { position: fixed; right: 18px; bottom: 18px; height: 50px; padding: 0 18px 0 14px; border-radius: 999px; background: #1f9d55; color: #fff; display: flex; align-items: center; gap: 8px; font-weight: 700; box-shadow: 0 12px 26px -8px rgba(31, 157, 85, .6); z-index: 40; }
.fab-whatsapp:hover { text-decoration: none; filter: brightness(.95); }
.fab-whatsapp i { font-size: 22px; }

/* Raspadinha */
.scratch-wrap { position: relative; width: 100%; max-width: 360px; aspect-ratio: 1; margin: 0 auto; border-radius: 18px; overflow: hidden; border: 1px solid var(--border-strong); user-select: none; touch-action: none; }
.scratch-grid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px; background: repeating-linear-gradient(45deg, #f6e7b8, #f6e7b8 10px, #f1dc9c 10px, #f1dc9c 20px); }
.scratch-grid.dourada { background: repeating-linear-gradient(45deg, #f3d27a, #f3d27a 10px, #e7b94c 10px, #e7b94c 20px); }
.scratch-cell { background: rgba(255, 253, 249, .94); border-radius: 10px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: clamp(13px, 4vw, 17px); color: #6b4a12; text-align: center; padding: 4px; }
.scratch-cell.win { background: var(--success); color: #fff; animation: pop .4s ease; }
.scratch-canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; }
.scratch-placeholder { position: absolute; inset: 0; display: grid; place-items: center; background: var(--ink); color: var(--on-ink); text-align: center; padding: 24px; font-weight: 600; }
.scratch-placeholder i { font-size: 38px; margin-bottom: 10px; display: block; color: var(--primary); }

/* Comprovante (recibo) */
.receipt { max-width: 440px; margin: 0 auto; }
.receipt-line { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--border-strong); font-size: 14px; }
.receipt-line span:first-child { color: var(--text-2); }
.recibo-papel { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 26px 24px 30px; box-shadow: var(--shadow); }
.recibo-papel::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px;
    background: radial-gradient(circle at 8px -2px, transparent 8px, var(--surface) 8.5px) 0 0 / 16px 10px repeat-x;
}
.recibo-valor { font-family: var(--font-display); font-size: 40px; font-weight: 700; text-align: center; line-height: 1.1; }

@media print {
    .topbar, .sidebar, .bottom-nav, .overlay, .notif-panel, .no-print, .fab-whatsapp { display: none !important; }
    body { background: #fff; }
    .card, .recibo-papel { box-shadow: none; }
}
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }
details[open] > summary { margin-bottom: 4px; }

/* Recarga */
.rc-grid { display: grid; gap: 18px; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; }
.rc-resumo { position: sticky; top: 84px; }
.rc-valor { padding: 12px 14px; gap: 12px; }
.rc-valor .bold { font-size: 15px; }
.rc-valor-info { min-width: 0; }
.rc-valor-face { font-family: var(--font-display); font-weight: 700; font-size: 18px; white-space: nowrap; }
.rc-valor-eco { font-size: 12px; font-weight: 700; color: var(--success); white-space: nowrap; }
.rc-valor-preco { text-align: right; flex-shrink: 0; padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--primary-line); }
.rc-valor-preco span { display: block; font-size: 10.5px; color: var(--text-2); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.rc-valor-preco strong { color: var(--primary); font-size: 15px; white-space: nowrap; }
.rc-valor.active .rc-valor-preco { background: var(--primary); border-color: var(--primary); }
.rc-valor.active .rc-valor-preco span, .rc-valor.active .rc-valor-preco strong { color: var(--on-primary); }
.rc-barra { display: none; }
@media (max-width: 900px) {
    .rc-grid { grid-template-columns: 1fr; }
    .rc-resumo { position: static; }
    .rc-barra {
        display: flex; align-items: center; gap: 12px; position: fixed; left: 10px; right: 10px;
        bottom: calc(92px + env(safe-area-inset-bottom)); z-index: 55; padding: 10px 10px 10px 16px;
        background: var(--surface); border: 1px solid var(--border-strong); border-radius: 16px; box-shadow: var(--shadow-lg);
        animation: subir .25s ease;
    }
    .rc-barra.hide { display: none !important; }
    #pg-recarga { padding-bottom: 80px; }
}
@media (max-width: 380px) { .rc-valor { padding: 10px; gap: 10px; } .op-logo.op-mini { width: 34px; height: 34px; font-size: 8px; } .rc-valor-face { font-size: 15px; } }

/* Código de compra */
.codigo-compra { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 14px 14px; border-radius: var(--radius); background: var(--surface-2); border: 1.5px dashed var(--border-strong); text-align: center; }
.codigo-compra.destaque { background: var(--primary-soft); border-color: var(--primary); }
.codigo-rotulo { font-size: 11px; color: var(--text-2); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.codigo-valor { font-family: var(--mono); font-size: 28px; font-weight: 800; letter-spacing: .1em; color: var(--text); user-select: all; }
.passos { margin: 0; padding-left: 0; list-style: none; counter-reset: p; display: flex; flex-direction: column; gap: 10px; }
.passos li { counter-increment: p; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-2); }
.passos li::before { content: counter(p); flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--text); color: var(--text); font-family: var(--font-display); font-size: 12.5px; font-weight: 700; display: grid; place-items: center; margin-top: -1px; }

/* Temas sazonais (ADM) */
.tema-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.tema-opcao { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1.5px solid var(--border); border-radius: var(--radius); cursor: pointer; transition: .15s; background: var(--surface); }
.tema-opcao:hover { border-color: var(--text); }
.tema-opcao.active { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); background: var(--primary-soft); }

/* Cartela fidelidade */
.fidel { display: flex; flex-direction: column; gap: 14px; }
.fidel-selos { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 8px; max-width: 520px; }
.fidel-selo { aspect-ratio: 1; max-width: 50px; width: 100%; border-radius: 50%; border: 1.5px dashed var(--border-strong); display: grid; place-items: center; font-weight: 700; font-size: 13px; color: var(--muted); background: var(--surface-2); }
.fidel-selo.feito { border: 0; background: var(--primary); color: var(--on-primary); animation: pop .35s ease both; transform: rotate(-8deg); }
.fidel-selo.premio:not(.feito) { border-style: solid; border-color: var(--success); color: var(--success); background: var(--success-soft); }
@media (max-width: 420px) { .fidel-selos { gap: 5px; } .fidel-selo { font-size: 11px; } }

/* Aviso de notificações */
.notif-aviso { position: fixed; left: 12px; right: 12px; bottom: calc(92px + env(safe-area-inset-bottom)); z-index: 950; display: flex; gap: 12px; align-items: flex-start; padding: 14px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); animation: subir .3s ease both; max-width: 460px; margin: 0 auto; }
.notif-aviso-ic { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; background: var(--primary); color: var(--on-primary); font-size: 15px; animation: sino 1.4s ease .4s 2; }
.notif-aviso-ic.off { background: var(--danger-soft); color: var(--danger); animation: none; }
.notif-aviso .small { margin-top: 2px; line-height: 1.45; }
@keyframes sino { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(14deg); } 40% { transform: rotate(-12deg); } 60% { transform: rotate(8deg); } 80% { transform: rotate(-4deg); } }
@media (min-width: 1024px) { .notif-aviso { left: auto; right: 24px; bottom: 24px; margin: 0; } }

/* Resgate de comissões */
.resgate-saldo { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: var(--radius); background: var(--ink); color: var(--on-ink); }
html[data-theme="dark"] .resgate-saldo { background: var(--surface-3); color: var(--text); }
.resgate-saldo span { opacity: .8; font-size: 13px; font-weight: 600; }
.resgate-saldo strong { font-family: var(--font-display); font-size: 24px; }
.destino { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 14px; border: 1.5px solid var(--border); border-radius: var(--radius); background: var(--surface); cursor: pointer; font: inherit; color: inherit; transition: .15s; }
.destino:hover:not(:disabled) { border-color: var(--primary); background: var(--primary-soft); }
.destino:disabled { opacity: .55; cursor: not-allowed; }
.destino-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid currentColor; color: var(--primary); font-size: 16px; flex-shrink: 0; }
.destino-ic.pix { color: #1a9e8f; }
.destino-tit { display: block; font-weight: 700; }
.destino-sub { display: block; font-size: 12.5px; color: var(--text-2); margin-top: 2px; }
.destino-taxa { flex-shrink: 0; font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 5px; background: var(--warning-soft); color: var(--warning); text-align: center; max-width: 110px; }
.destino-taxa.gratis { background: var(--success-soft); color: var(--success); }
.resgate-ok { width: 66px; height: 66px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center; font-size: 26px; background: var(--success); color: #fff; animation: pop .4s ease; }
.resgate-regra { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: var(--radius); background: var(--surface-2); border: 1px dashed var(--border-strong); }
.resgate-regra > i { color: var(--primary); font-size: 17px; margin-top: 2px; }
@media (max-width: 420px) { .destino-taxa { max-width: 80px; } }

/* Modo ADM (acessando a conta do cliente) */
.faixa-adm { position: fixed; top: 0; left: 0; right: 0; height: 40px; z-index: 1100; display: flex; align-items: center; gap: 10px; padding: 0 12px; background: repeating-linear-gradient(-45deg, #f2c063, #f2c063 14px, #ecb44a 14px, #ecb44a 28px); color: #1b1a17; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; }
.faixa-adm .grow { overflow: hidden; text-overflow: ellipsis; }
.faixa-adm .btn { background: #1b1a17; color: #fff; border-color: #1b1a17; padding: 5px 12px; }
body.modo-adm { padding-top: 40px; }
.modo-adm .topbar { top: 40px; }
.modo-adm .sidebar { top: 40px; }
.modo-adm .notif-panel { top: calc(var(--header-h) + 48px); }
.aviso-novos { position: fixed; top: calc(var(--header-h) + 12px); left: 50%; transform: translateX(-50%); z-index: 60; border: 0; border-radius: 999px; padding: 9px 18px; background: var(--ink); color: var(--on-ink); font: inherit; font-weight: 700; font-size: 13.5px; box-shadow: var(--shadow-lg); cursor: pointer; animation: subir .25s ease both; }
.aviso-novos i { color: var(--primary); }
@media (min-width: 1024px) { .aviso-novos { left: calc(50% + var(--sidebar-w) / 2); } }

/* Identidade visual (ADM) */
.cores { display: flex; flex-wrap: wrap; gap: 10px; }
.cor-opcao { width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--surface); background: var(--c); box-shadow: 0 0 0 1px var(--border-strong); cursor: pointer; transition: transform .12s; }
.cor-opcao:hover { transform: scale(1.08); }
.cor-opcao.active { box-shadow: 0 0 0 2px var(--text); }
.cor-input { width: 44px; height: 40px; padding: 0; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); cursor: pointer; }
.upload-box { display: flex; gap: 14px; align-items: flex-start; }
.upload-box .input[type="file"] { min-width: 0; }
.upload-img { width: 120px; height: 64px; border-radius: var(--radius-sm); border: 1px dashed var(--border-strong); background: repeating-conic-gradient(var(--surface-3) 0 25%, var(--surface) 0 50%) 0 0 / 14px 14px; display: grid; place-items: center; flex-shrink: 0; overflow: hidden; padding: 6px; }
.upload-img.quadrado { width: 64px; }
.upload-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.previa-marca { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg); }
.previa-topo { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--border); background: var(--surface); font-family: var(--font-display); }
.previa-topo .marca-selo { box-shadow: inset 0 -3px 0 var(--p); }
.previa-logo { height: 30px; width: auto; max-width: 170px; object-fit: contain; }
.previa-corpo { margin: 14px; padding: 16px; border-radius: 12px; background: var(--p); color: var(--op); }
.previa-corpo .muted { color: inherit; opacity: .8; }
.previa-saldo { font-family: var(--font-display); font-size: 30px; font-weight: 700; margin: 2px 0 12px; }
.previa-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--op); color: var(--p); font-weight: 700; font-size: 13px; }

/* =====================================================================
   LOGIN / CADASTRO
   ===================================================================== */
.auth-wrap { min-height: 100dvh; display: grid; grid-template-columns: 1fr; }
.auth-side { display: none; }
.auth-main { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px 18px 40px; }
.auth-card { width: 100%; max-width: 430px; }
.auth-card .card { padding: 30px 28px; box-shadow: var(--shadow); }
.auth-topo { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
@media (min-width: 960px) { .auth-main .auth-topo .brand { visibility: hidden; } }
.auth-titulo { font-family: var(--font-display); font-size: 28px; font-weight: 700; line-height: 1.15; }
@media (min-width: 960px) {
    .auth-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .auth-side {
        display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 46px 52px;
        background: var(--primary); color: var(--on-primary); position: relative; overflow: hidden;
    }
    .auth-side::before { content: ''; position: absolute; right: -120px; bottom: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid currentColor; opacity: .07; }
    .auth-side h2 { font-size: clamp(38px, 3.6vw, 52px); line-height: 1.05; max-width: 520px; letter-spacing: -.02em; }
    .auth-side p { opacity: .88; font-size: 16px; margin-top: 14px; max-width: 440px; }
    .auth-side .marca, .auth-side .marca-nome { color: inherit; }
    .auth-side .marca-selo { background: var(--on-primary); color: var(--primary); box-shadow: none; }
    .auth-feats { display: grid; gap: 0; margin-top: 30px; max-width: 440px; position: relative; z-index: 1; border-top: 1px solid color-mix(in srgb, currentColor 25%, transparent); }
    .auth-feats div { display: flex; gap: 14px; align-items: center; font-weight: 600; padding: 13px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 25%, transparent); }
    .auth-feats i { width: 18px; text-align: center; opacity: .9; }
    .auth-ticket { position: relative; z-index: 1; align-self: flex-start; background: var(--surface); color: var(--text); border-radius: 12px; padding: 16px 18px; min-width: 260px; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .45); transform: rotate(-2deg); }
    .auth-ticket .tiny { color: var(--text-2); letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
    .auth-ticket strong { font-family: var(--font-display); font-size: 24px; display: block; margin: 2px 0 8px; }
    .auth-ticket .linha { display: flex; justify-content: space-between; font-size: 13px; padding-top: 8px; border-top: 1px dashed var(--border-strong); }
}

/* Páginas simples (loja fechada, instalador, termos) */
.pagina-simples { display: flex; flex-direction: column; min-height: 100dvh; }
.pagina-centro { flex: 1; display: grid; place-items: center; padding: 28px 18px; }
.inst { width: 100%; max-width: 640px; margin: 0 auto; padding: 32px 18px 60px; }
.inst-topo { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.secao-rotulo { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); padding-top: 8px; border-top: 1px solid var(--border); }
.selo-grande { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; margin: 0 auto; border: 2px solid var(--primary); color: var(--primary); }

/* =====================================================================
   PÁGINA INICIAL PÚBLICA
   ===================================================================== */
.lp-wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; width: 100%; }
.lp-top { position: sticky; top: 0; z-index: 50; height: var(--header-h); display: flex; align-items: center; background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.lp-main { max-width: 1140px; margin: 0 auto; width: 100%; padding: 0 20px 70px; display: flex; flex-direction: column; gap: 64px; }
.lp-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: 40px; align-items: center; padding-top: 48px; }
.lp-hero h1 { font-size: clamp(38px, 6.2vw, 68px); line-height: 1; letter-spacing: -.025em; margin: 16px 0 18px; }
.lp-hero h1 em { font-style: italic; color: var(--primary); }
.lp-hero p { font-size: 17.5px; color: var(--text-2); max-width: 540px; }
.lp-tag { display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border-strong); font-weight: 600; font-size: 13px; color: var(--text-2); background: var(--surface); }
.lp-tag i { color: var(--primary); }
.lp-prova { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13.5px; color: var(--text-2); }

.lp-oferta { position: relative; background: var(--surface); color: var(--text); border: 1px solid var(--border-strong); border-radius: 16px; padding: 24px 24px 22px; box-shadow: var(--shadow); transform: rotate(1.5deg); }
.lp-oferta::before, .lp-oferta::after { content: ''; position: absolute; top: 64%; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); border: 1px solid var(--border-strong); }
.lp-oferta::before { left: -12px; clip-path: inset(0 0 0 50%); }
.lp-oferta::after { right: -12px; clip-path: inset(0 50% 0 0); }
.lp-oferta .small { color: var(--text-2); letter-spacing: .1em; text-transform: uppercase; font-weight: 700; font-size: 11px; }
.lp-oferta-op { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; margin: 12px 0 4px; }
.lp-oferta-face { color: var(--text-2); }
.lp-oferta-paga { font-family: var(--font-display); font-size: 54px; font-weight: 700; line-height: 1; margin-top: 18px; padding-top: 18px; border-top: 2px dashed var(--border-strong); color: var(--primary); }
.lp-oferta-paga span { display: block; font-family: var(--font); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); margin-bottom: 6px; }
.lp-oferta-eco { display: inline-block; margin-top: 12px; padding: 4px 10px; border-radius: 5px; background: var(--success-soft); color: var(--success); font-weight: 700; font-size: 13px; }

.lp-secao-titulo { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1.5px solid var(--text); }
.lp-secao-titulo h2 { font-size: clamp(28px, 3.5vw, 38px); }
.lp-secao-titulo p { color: var(--text-2); font-size: 14px; max-width: 420px; }
.lp-precos { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.lp-preco-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.lp-preco-topo { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--border); }
.lp-tabela td, .lp-tabela th { padding: 11px 18px; }
.lp-passos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.lp-passo { display: flex; flex-direction: column; gap: 8px; padding: 26px 24px; border-right: 1px solid var(--border); }
.lp-passo:last-child { border-right: 0; }
.lp-num { font-family: var(--font-display); font-size: 46px; font-weight: 700; line-height: 1; color: var(--primary); }
.lp-servico { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); font-size: 14px; }
.lp-servico strong { color: var(--primary); margin-left: 6px; }
.lp-faq details { border-bottom: 1px solid var(--border); }
.lp-faq details:last-child { border-bottom: 0; }
.lp-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; font-family: var(--font-display); font-size: 17px; font-weight: 700; cursor: pointer; }
.lp-faq summary i { color: var(--primary); font-size: 12px; transition: transform .2s; }
.lp-faq details[open] summary i { transform: rotate(180deg); }
.lp-faq p { padding: 0 22px 18px; color: var(--text-2); max-width: 760px; }
.lp-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 34px 32px; border-radius: var(--radius-lg); background: var(--ink); color: var(--on-ink); }
html[data-theme="dark"] .lp-cta { background: var(--surface-3); color: var(--text); }
.lp-cta .h2 { font-size: 30px; }
.lp-cta .btn { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.lp-rodape { border-top: 1px solid var(--border-strong); padding: 26px 0 100px; }
.lp-rodape a { color: var(--text-2); }
.lp-rodape .row-wrap { gap: 18px; }
@media (max-width: 860px) {
    .lp-hero { grid-template-columns: 1fr; gap: 30px; padding-top: 30px; }
    .lp-oferta { transform: none; }
    .lp-main { gap: 48px; }
    .lp-passos { grid-template-columns: 1fr; }
    .lp-passo { border-right: 0; border-bottom: 1px solid var(--border); }
    .lp-passo:last-child { border-bottom: 0; }
}
@media (max-width: 640px) { .lp-cta { padding: 26px 22px; } .lp-cta .btn { width: 100%; } .lp-tabela.table-cards td { text-align: left; } }

/* Início do cliente */
.inicio-topo { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.inicio-topo .h1 { font-size: 32px; }
@media (max-width: 640px) { .inicio-topo .h1 { font-size: 25px; } }
.inicio-grid { display: grid; gap: 18px; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; }
.atalhos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.atalho { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); color: var(--text); font-size: 12.5px; font-weight: 600; text-align: center; transition: .15s; }
.atalho:hover { border-color: var(--text); text-decoration: none; }
.atalho i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-size: 15px; }
.ops-linha { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.op-cartao { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 10px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--text); text-align: center; transition: .15s; }
.op-cartao:hover { border-color: var(--text); text-decoration: none; }
.op-cartao.disabled { opacity: .5; pointer-events: none; }
.servico-card { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); cursor: pointer; transition: .15s; }
.servico-card:hover { border-color: var(--text); }
.servico-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--border); }
@media (max-width: 960px) { .inicio-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .atalhos { gap: 6px; } .atalho { padding: 12px 4px; font-size: 11.5px; } .atalho i { width: 34px; height: 34px; } }
