/* =============================================================================
   Yashmim Danielle — Nervo Theme
   Cores da marca: Rosa #FF14E3 + Azul #0053E6
   ============================================================================= */

/* ── Paleta ──────────────────────────────────────────────────────────────────── */
:root {
    /* Cores da marca */
    --accent:         #FF14E3;
    --accent-hover:   #D3229E;
    --accent-muted:   rgba(255, 20, 227, 0.12);

    --rosa:           #FF14E3;
    --azul:           #0053E6;
    --azul-claro:     #32D1FF;
    --rosa-escuro:    #D3229E;

    /* Fundos */
    --bg:             #0A0A0F;
    --surface:        #12121A;
    --surface-alt:    #1A1A28;
    --surface-border: #252538;

    /* Texto */
    --text:           #EAEAF0;
    --text-muted:     #9090A8;
    --text-faint:     #606078;

    /* Semanticas */
    --success:        #22C55E;
    --warning:        #F59E0B;
    --danger:         #EF4444;
    --info:           #32D1FF;

    /* Layout */
    --sidebar-width:  240px;
    --navbar-height:  56px;
    --radius:         8px;
    --radius-lg:      12px;
    --shadow:         0 4px 24px rgba(0, 0, 0, 0.35);
    --shadow-sm:      0 2px 8px rgba(0, 0, 0, 0.25);
    --transition:     0.2s ease;

    /* Fonte */
    --font:           'Azo Sans', 'Inter', system-ui, -apple-system, sans-serif;

    /* Aliases — site publico usa nomes diferentes */
    --bg-primary:     var(--bg);
    --bg-surface:     var(--surface);
    --bg-elevated:    var(--surface-alt);
    --bg-border:      var(--surface-border);
    --text-primary:   var(--text);
    --text-secondary: var(--text-muted);
    --yd-rosa:        var(--rosa);
    --yd-azul-claro:  var(--azul-claro);
    --accent-glow:    rgba(255, 20, 227, 0.12);
    --radius-sm:      6px;
    --grad-hero:      linear-gradient(135deg, #0A0A0F 0%, #1a0a20 40%, #0a0a1f 70%, #0A0A0F 100%);
    --grad-countdown: linear-gradient(135deg, rgba(255,20,227,0.08), rgba(0,83,230,0.08));
}

/* ── Reset & Base ────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
    font-size: 15px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--accent-hover); }

/* ── Scrollbar ───────────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--surface-border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-muted); }

/* ============================================================================
   LAYOUT — Sidebar + Main
   ============================================================================ */

.app-wrapper {
    display: flex;
    min-height: 100vh;
}

/* ── Sidebar ─────────────────────────────────────────────────────────────────── */
.sidebar {
    width: var(--sidebar-width);
    background: var(--surface);
    border-right: 1px solid var(--surface-border);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 100;
    transition: transform var(--transition);
}

.sidebar-brand {
    padding: 20px 20px 16px;
    border-bottom: 1px solid var(--surface-border);
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: var(--navbar-height);
}

.sidebar-brand .brand-icon {
    width: 32px;
    height: 32px;
    background: var(--accent);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.sidebar-brand .brand-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 12px 0;
}

.nav-section-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-faint);
    padding: 12px 20px 4px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 20px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    border-radius: 0;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
}

.nav-item i {
    width: 18px;
    font-size: 14px;
    text-align: center;
    flex-shrink: 0;
}

.nav-item:hover {
    color: var(--text);
    background: var(--accent-muted);
}

.nav-item.active {
    color: var(--accent);
    background: var(--accent-muted);
}

.nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent);
    border-radius: 0 2px 2px 0;
}

.sidebar-footer {
    padding: 12px 0;
    border-top: 1px solid var(--surface-border);
}

/* ── Conteúdo principal ──────────────────────────────────────────────────────── */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ── Navbar topo ─────────────────────────────────────────────────────────────── */
.topbar {
    height: var(--navbar-height);
    background: var(--surface);
    border-bottom: 1px solid var(--surface-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 50;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}
.btn-icon:hover { background: var(--surface-alt); color: var(--text); }

.avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--accent);
    color: #000;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

/* ── Área de conteúdo ────────────────────────────────────────────────────────── */
.page-body {
    flex: 1;
    padding: 28px 28px 40px;
}

.page-header {
    margin-bottom: 24px;
}

.page-header h1 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 4px;
}

.page-header p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

/* ============================================================================
   CARDS
   ============================================================================ */

.card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--surface-border);
}

.card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin: 0;
}

/* Info rows — usados nos cards de informação do dashboard */
.info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px solid var(--surface-border);
    font-size: 13px;
    gap: 12px;
}
.info-row:last-child { border-bottom: none; }

.info-label {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
}
.info-label i {
    width: 14px;
    text-align: center;
    opacity: 0.55;
}

.info-value {
    color: var(--text);
    font-weight: 500;
    font-size: 13px;
    text-align: right;
}

.info-section-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-faint);
    padding: 14px 0 2px;
}

/* Stat cards */
.stat-card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: border-color var(--transition);
}
.stat-card:hover { border-color: var(--accent-muted); }

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: var(--accent-muted);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.stat-body { flex: 1; }

.stat-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ============================================================================
   FORMULÁRIOS & BOTÕES
   ============================================================================ */

.form-control, .form-select {
    background: var(--surface-alt) !important;
    border: 1px solid var(--surface-border) !important;
    color: var(--text) !important;
    border-radius: var(--radius) !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    transition: border-color var(--transition), box-shadow var(--transition) !important;
}

.form-control:focus, .form-select:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 3px var(--accent-muted) !important;
    outline: none !important;
}

.form-control::placeholder { color: var(--text-faint) !important; }

.form-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 6px;
}

/* Botões */
.btn-primary, .btn-accent {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #000 !important;
    font-weight: 600 !important;
    border-radius: var(--radius) !important;
    padding: 10px 20px !important;
    transition: all var(--transition) !important;
}
.btn-primary:hover, .btn-accent:hover {
    background: var(--accent-hover) !important;
    border-color: var(--accent-hover) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 201, 167, 0.3) !important;
}

.btn-outline {
    background: transparent !important;
    border: 1px solid var(--surface-border) !important;
    color: var(--text-muted) !important;
    border-radius: var(--radius) !important;
    padding: 9px 20px !important;
    transition: all var(--transition) !important;
}
.btn-outline:hover {
    border-color: var(--accent) !important;
    color: var(--accent) !important;
}

.btn-danger-outline {
    background: transparent !important;
    border: 1px solid var(--danger) !important;
    color: var(--danger) !important;
    border-radius: var(--radius) !important;
    padding: 9px 20px !important;
    transition: all var(--transition) !important;
}
.btn-danger-outline:hover {
    background: var(--danger) !important;
    color: #fff !important;
}

/* ── Input Group ─────────────────────────────────────────────────────────────── */
.input-group-text {
    background: var(--surface-border) !important;
    border-color: var(--surface-border) !important;
    color: var(--text-muted) !important;
}

/* ── Alerts ──────────────────────────────────────────────────────────────────── */
.alert {
    border-radius: var(--radius) !important;
    border: none !important;
    font-size: 14px !important;
    padding: 12px 16px !important;
}
.alert-danger  { background: rgba(234,84,85,0.12) !important; color: var(--danger) !important; }
.alert-success { background: rgba(40,199,111,0.12) !important; color: var(--success) !important; }
.alert-warning { background: rgba(255,159,67,0.12) !important; color: var(--warning) !important; }
.alert-info    { background: rgba(0,207,232,0.12) !important; color: var(--info) !important; }

/* ── Badges ──────────────────────────────────────────────────────────────────── */
.badge-accent  { background: var(--accent-muted); color: var(--accent); font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 20px; }
.badge-success { background: rgba(40,199,111,0.12); color: var(--success); font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 20px; }
.badge-danger  { background: rgba(234,84,85,0.12); color: var(--danger); font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 20px; }
.badge-warning { background: rgba(255,159,67,0.12); color: var(--warning); font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 20px; }
.badge-muted   { background: var(--surface-alt); color: var(--text-muted); font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 20px; }

/* ── Tabelas ─────────────────────────────────────────────────────────────────── */
.table {
    color: var(--text) !important;
    border-color: var(--surface-border) !important;
    font-size: 14px !important;
}
.table thead th {
    background: var(--surface-alt) !important;
    color: var(--text-muted) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    border-color: var(--surface-border) !important;
    padding: 10px 14px !important;
}
.table tbody td {
    border-color: var(--surface-border) !important;
    padding: 12px 14px !important;
    vertical-align: middle !important;
}
.table tbody tr:hover { background: var(--surface-alt) !important; }

/* ── Dropdown ────────────────────────────────────────────────────────────────── */
.dropdown-menu {
    background: var(--surface-alt) !important;
    border: 1px solid var(--surface-border) !important;
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow) !important;
    min-width: 180px !important;
}
.dropdown-item {
    color: var(--text-muted) !important;
    font-size: 14px !important;
    padding: 9px 16px !important;
    transition: all var(--transition) !important;
}
.dropdown-item:hover { background: var(--accent-muted) !important; color: var(--accent) !important; }
.dropdown-divider { border-color: var(--surface-border) !important; }

/* ── Modal ───────────────────────────────────────────────────────────────────── */
.modal-content {
    background: var(--surface) !important;
    border: 1px solid var(--surface-border) !important;
    border-radius: var(--radius-lg) !important;
}
.modal-header {
    border-color: var(--surface-border) !important;
    padding: 16px 20px !important;
}
.modal-footer {
    border-color: var(--surface-border) !important;
    padding: 14px 20px !important;
}
.modal-title { font-size: 16px !important; font-weight: 600 !important; color: var(--text) !important; }
.btn-close { filter: invert(1) !important; opacity: 0.6 !important; }
.btn-close:hover { opacity: 1 !important; }
.modal-backdrop { background: rgba(0,0,0,0.7) !important; }

/* ── Loading Overlay ─────────────────────────────────────────────────────────── */
#loading-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

#loading-overlay.fade-out { opacity: 0; pointer-events: none; }

.spinner-ring {
    width: 48px;
    height: 48px;
    border: 3px solid var(--surface-border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================================
   LOGIN
   ============================================================================ */

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background-color: var(--bg);
    background-image:
        radial-gradient(ellipse 640px 520px at 78% 8%,  rgba(0,201,167,0.08) 0%, transparent 65%),
        radial-gradient(ellipse 480px 400px at 12% 92%, rgba(99,102,241,0.06) 0%, transparent 65%);
}

@keyframes loginIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.login-box {
    width: 100%;
    max-width: 400px;
    background: var(--surface);
    border-radius: 16px;
    padding: 44px 40px;
    box-shadow:
        0 24px 64px rgba(0,0,0,0.5),
        0 0 0 1px rgba(0,201,167,0.1),
        inset 0 1px 0 rgba(255,255,255,0.04);
    animation: loginIn 0.35s ease both;
}

.login-logo {
    text-align: center;
    margin-bottom: 32px;
}

.login-logo .logo-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent) 0%, #00b8d4 100%);
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 16px;
    box-shadow: 0 8px 28px rgba(0,201,167,0.35), 0 2px 8px rgba(0,0,0,0.4);
}

.login-logo h1 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 6px;
    letter-spacing: -0.3px;
}

.login-logo p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.login-box .btn-primary {
    width: 100%;
    padding: 13px !important;
    font-size: 15px !important;
    background: linear-gradient(135deg, var(--accent) 0%, #00b8d4 100%) !important;
    border-color: transparent !important;
    box-shadow: 0 4px 20px rgba(0,201,167,0.28) !important;
    letter-spacing: 0.1px;
}
.login-box .btn-primary:hover {
    box-shadow: 0 6px 28px rgba(0,201,167,0.45) !important;
    transform: translateY(-1px);
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0;
    color: var(--text-faint);
    font-size: 12px;
}
.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--surface-border);
}

.btn-passkey {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(0,201,167,0.22);
    color: var(--accent);
    border-radius: var(--radius);
    padding: 12px 20px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    letter-spacing: 0.1px;
}
.btn-passkey:hover {
    background: var(--accent-muted);
    border-color: rgba(0,201,167,0.5);
    box-shadow: 0 0 24px rgba(0,201,167,0.1);
    color: var(--accent);
}
.btn-passkey i {
    font-size: 17px;
}

.login-footer {
    margin-top: 24px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}
.login-footer a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}
.login-footer a:hover {
    text-decoration: underline;
}

.login-link {
    display: block;
    text-align: right;
    font-size: 12px;
    color: var(--text-faint);
    text-decoration: none;
    margin-top: -1px;
    margin-bottom: 20px;
    transition: color var(--transition);
}
.login-link:hover {
    color: var(--accent);
}

/* ============================================================================
   TOASTS / NOTIFICAÇÕES
   ============================================================================ */

.toast-container-fixed {
    position: fixed;
    top: calc(var(--navbar-height) + 16px);
    right: 20px;
    z-index: 1090;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.toast-item {
    background: var(--surface-alt);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius);
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text);
    box-shadow: var(--shadow);
    pointer-events: all;
    max-width: 320px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    animation: toastIn 0.25s ease;
}
@keyframes toastIn { from { opacity: 0; transform: translateX(20px); } }

.toast-item.toast-success { border-left: 3px solid var(--success); }
.toast-item.toast-error   { border-left: 3px solid var(--danger); }
.toast-item.toast-warning { border-left: 3px solid var(--warning); }
.toast-item.toast-info    { border-left: 3px solid var(--info); }

/* ============================================================================
   RESPONSIVE
   ============================================================================ */

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    .sidebar.open {
        transform: translateX(0);
    }
    .sidebar-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 99;
    }
    .sidebar-backdrop.show { display: block; }

    .main-content {
        margin-left: 0;
    }
    .page-body {
        /* espaço extra para não ficar atrás da bottom-nav */
        padding: 20px 16px calc(68px + env(safe-area-inset-bottom));
    }
}

/* ══════════════════════════════════════════════════════════════════════
   Mobile Bottom Nav (mnav) — 4 slots + "Mais" com bottom sheet
   ══════════════════════════════════════════════════════════════════════ */
.mnav { display: none; } /* escondida no desktop */

@media (max-width: 768px) {
    /* Garante que nenhuma pagina cria overflow horizontal quebrando o layout do bottom nav */
    html, body { overflow-x: hidden; }
    /* Padding no body como fallback caso alguma pagina nao use .page-body */
    body { padding-bottom: calc(72px + env(safe-area-inset-bottom)) !important; }

    /* Bottom nav — z-index acima de modal-backdrop do bootstrap (1055) e drawer/sidebar */
    .mnav {
        display: grid !important;
        grid-template-columns: repeat(5, 1fr);
        position: fixed !important;
        bottom: 0 !important; left: 0 !important; right: 0 !important;
        z-index: 1060 !important;
        background: rgba(18,18,26,.92);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid rgba(255,255,255,.06);
        padding-bottom: env(safe-area-inset-bottom);
        box-shadow: 0 -12px 40px rgba(0,0,0,.35);
        width: 100vw;
        max-width: 100%;
    }
    .mnav-item {
        appearance: none; background: none; border: 0;
        display: flex; flex-direction: column;
        align-items: center; justify-content: center;
        gap: 4px;
        padding: 10px 4px 8px;
        min-height: 56px;
        color: var(--text-muted, #9090A8);
        text-decoration: none;
        font-size: .68rem;
        font-weight: 600;
        line-height: 1;
        cursor: pointer;
        transition: color .15s;
        overflow: hidden;
    }
    .mnav-item i { font-size: 1.15rem; opacity: .8; }
    .mnav-item span {
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        max-width: 100%;
    }
    .mnav-item:hover, .mnav-item:focus { color: var(--text-primary, #EAEAF0); }
    .mnav-item.active { color: var(--yd-rosa, #FF14E3); }
    .mnav-item.active i { opacity: 1; }
    .mnav-item.active::after {
        content: '';
        position: absolute;
        top: 0; left: 50%;
        width: 32px; height: 3px;
        margin-left: -16px;
        background: var(--yd-rosa, #FF14E3);
        border-radius: 0 0 3px 3px;
    }
    .mnav-item { position: relative; }

    .mnav-more i { transition: transform .2s; }
    body:has(.mnav-sheet.open) .mnav-more i { transform: rotate(90deg); color: var(--yd-rosa, #FF14E3); }

    /* Bottom sheet */
    .mnav-sheet-backdrop {
        position: fixed; inset: 0;
        background: rgba(0,0,0,.55);
        backdrop-filter: blur(4px);
        z-index: 1059;
        opacity: 0;
        pointer-events: none;
        transition: opacity .2s;
    }
    .mnav-sheet-backdrop.open { opacity: 1; pointer-events: auto; }

    .mnav-sheet {
        position: fixed;
        left: 0; right: 0; bottom: 0;
        z-index: 1061;
        background: linear-gradient(180deg, rgba(30,30,45,.98), rgba(18,18,26,1));
        border-top: 1px solid rgba(255,20,227,.15);
        border-radius: 20px 20px 0 0;
        transform: translateY(100%);
        transition: transform .3s cubic-bezier(0.32, 0.72, 0, 1);
        padding: 8px 12px calc(24px + env(safe-area-inset-bottom));
        max-height: 80vh;
        overflow-y: auto;
        box-shadow: 0 -20px 60px rgba(0,0,0,.5);
    }
    .mnav-sheet.open { transform: translateY(0); }

    .mnav-sheet-handle {
        width: 40px; height: 4px;
        background: rgba(255,255,255,.2);
        border-radius: 2px;
        margin: 8px auto 16px;
    }
    .mnav-sheet-title {
        font-size: .7rem;
        text-transform: uppercase;
        letter-spacing: .1em;
        color: var(--text-muted, #9090A8);
        font-weight: 700;
        padding: 0 12px 12px;
    }
    .mnav-sheet-body {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .mnav-sheet-item {
        display: flex; flex-direction: column;
        align-items: flex-start; justify-content: center;
        gap: 6px;
        padding: 16px 14px;
        background: rgba(255,255,255,.04);
        border: 1px solid rgba(255,255,255,.06);
        border-radius: 12px;
        color: var(--text-primary, #EAEAF0);
        text-decoration: none;
        font-size: .85rem;
        font-weight: 600;
        transition: all .15s;
    }
    .mnav-sheet-item i {
        font-size: 1.15rem;
        color: var(--yd-rosa, #FF14E3);
        opacity: .85;
    }
    .mnav-sheet-item:hover, .mnav-sheet-item:focus {
        background: rgba(255,20,227,.08);
        border-color: rgba(255,20,227,.25);
        transform: translateY(-1px);
    }
    .mnav-sheet-item.active {
        background: rgba(255,20,227,.14);
        border-color: rgba(255,20,227,.4);
        color: var(--yd-rosa, #FF14E3);
    }
    .mnav-sheet-item.mnav-danger {
        grid-column: 1 / -1;
        border-color: rgba(239,68,68,.3);
        color: #EF4444;
        justify-content: center;
        flex-direction: row;
    }
    .mnav-sheet-item.mnav-danger i { color: #EF4444; }
    .mnav-sheet-item.mnav-danger:hover {
        background: rgba(239,68,68,.1);
        border-color: #EF4444;
    }
}

/* Legacy — mantido pra compat mas mnav nao renderiza mais */
.bottom-nav {
    display: none;
}


/* ── Utilitários ─────────────────────────────────────────────────────────────── */
.text-accent   { color: var(--accent) !important; }
.text-muted-1c { color: var(--text-muted) !important; }
.text-faint    { color: var(--text-faint) !important; }
.bg-surface    { background: var(--surface) !important; }
.bg-surface-alt { background: var(--surface-alt) !important; }
.border-1c     { border-color: var(--surface-border) !important; }
.divider       { height: 1px; background: var(--surface-border); margin: 16px 0; }
.gap-1c { gap: 12px; }

/* Skeleton loader */
.skel {
    background: linear-gradient(90deg, var(--surface-alt) 25%, var(--surface-border) 50%, var(--surface-alt) 75%);
    background-size: 200% 100%;
    animation: skel 1.5s infinite;
    border-radius: var(--radius);
}
@keyframes skel { to { background-position: -200% 0; } }

/* ── Tabulator — integração com tema Nervo ───────────────────────────────────── */

/* Container principal */
.tabulator {
    background:    var(--surface) !important;
    border:        1px solid var(--surface-border) !important;
    border-radius: var(--radius) !important;
    font-family:   var(--font) !important;
    font-size:     14px !important;
    color:         var(--text) !important;
}

/* Tabela interna e holder — vendor pinta branco por padrao */
.tabulator .tabulator-tableholder,
.tabulator .tabulator-table,
.tabulator .tabulator-tableholder .tabulator-table {
    background: var(--surface) !important;
    color:      var(--text) !important;
}

/* Placeholder de "sem dados" */
.tabulator .tabulator-tableholder .tabulator-placeholder {
    background: var(--surface) !important;
    color:      var(--text-muted) !important;
}

/* Titulo do cabecalho — mais legivel */
.tabulator .tabulator-header .tabulator-col .tabulator-col-title {
    color: var(--text) !important;
}

/* Cabeçalho */
.tabulator .tabulator-header {
    background:    var(--surface-alt) !important;
    border-bottom: 1px solid var(--surface-border) !important;
    color:         var(--text-muted) !important;
    font-weight:   600 !important;
    font-size:     12px !important;
    text-transform: uppercase !important;
    letter-spacing: .04em !important;
}

.tabulator .tabulator-header .tabulator-col {
    background:    transparent !important;
    border-right:  1px solid var(--surface-border) !important;
    color:         var(--text-muted) !important;
}

.tabulator .tabulator-header .tabulator-col .tabulator-col-content {
    color: var(--text-muted) !important;
}

.tabulator .tabulator-header .tabulator-col.tabulator-sortable:hover {
    background: var(--accent-muted) !important;
}

.tabulator .tabulator-header .tabulator-col .tabulator-col-sorter .tabulator-arrow {
    border-top-color:    var(--text-faint) !important;
    border-bottom-color: var(--text-faint) !important;
}

.tabulator .tabulator-header .tabulator-col.tabulator-col-sorter-element:hover .tabulator-col-sorter .tabulator-arrow {
    border-top-color:    var(--accent) !important;
    border-bottom-color: var(--accent) !important;
}

/* Linhas */
.tabulator-row {
    background:    var(--surface) !important;
    border-bottom: 1px solid var(--surface-border) !important;
    color:         var(--text) !important;
    transition:    background .15s !important;
}

.tabulator-row:last-child {
    border-bottom: none !important;
}

.tabulator-row:hover,
.tabulator-row.tabulator-row-even:hover {
    background: var(--surface-alt) !important;
    cursor: default;
}

.tabulator-row.tabulator-row-even {
    background: var(--surface) !important;
}

/* Células */
.tabulator-row .tabulator-cell {
    color:         var(--text) !important;
    border-right:  1px solid var(--surface-border) !important;
    padding:       8px 12px !important;
}

.tabulator-row .tabulator-cell:last-child {
    border-right: none !important;
}

/* Botão collapse responsivo */
.tabulator-row .tabulator-cell.tabulator-responsive-collapse-toggle {
    color: var(--text-muted) !important;
}

.tabulator-row .tabulator-cell.tabulator-responsive-collapse-toggle:hover {
    color: var(--accent) !important;
}

/* Painel de collapse */
.tabulator-row .tabulator-responsive-collapse {
    background: var(--surface-alt) !important;
    border-top:  1px solid var(--surface-border) !important;
    padding:     10px 14px !important;
    color:       var(--text) !important;
}

.tabulator-row .tabulator-responsive-collapse table td {
    color:   var(--text) !important;
    padding: 4px 8px !important;
}

.tabulator-row .tabulator-responsive-collapse table td:first-child {
    color:       var(--text-muted) !important;
    font-weight: 600 !important;
    min-width:   120px !important;
}

/* Rodapé / paginação */
.tabulator .tabulator-footer {
    background:  var(--surface-alt) !important;
    border-top:  1px solid var(--surface-border) !important;
    color:       var(--text-muted) !important;
    font-size:   13px !important;
    padding:     8px 14px !important;
}

.tabulator .tabulator-footer .tabulator-footer-contents {
    color: var(--text-muted) !important;
}

.tabulator .tabulator-footer .tabulator-page-counter {
    color: var(--text-muted) !important;
}

.tabulator .tabulator-footer .tabulator-page-size {
    background:    var(--surface) !important;
    border:        1px solid var(--surface-border) !important;
    color:         var(--text) !important;
    border-radius: 6px !important;
    padding:       3px 6px !important;
    font-size:     13px !important;
}

.tabulator .tabulator-footer .tabulator-pages {
    gap: 4px !important;
}

.tabulator .tabulator-footer .tabulator-page {
    background:    transparent !important;
    border:        1px solid var(--surface-border) !important;
    color:         var(--text) !important;
    border-radius: 6px !important;
    padding:       3px 10px !important;
    font-size:     13px !important;
    cursor:        pointer !important;
    transition:    background .15s, color .15s, border-color .15s !important;
}

.tabulator .tabulator-footer .tabulator-page:hover:not([disabled]) {
    background:   var(--accent-muted) !important;
    color:        var(--accent) !important;
    border-color: var(--accent) !important;
}

.tabulator .tabulator-footer .tabulator-page.active {
    background:   var(--accent) !important;
    color:        #fff !important;
    border-color: var(--accent) !important;
    font-weight:  600 !important;
}

.tabulator .tabulator-footer .tabulator-page[disabled] {
    opacity: .7 !important;
    cursor:  not-allowed !important;
    color:   var(--text) !important;
}

/* Loading overlay */
.tabulator .tabulator-loader {
    background: rgba(15, 17, 23, .7) !important;
}

.tabulator .tabulator-loader .tabulator-loader-msg {
    background:    var(--surface-alt) !important;
    border:        1px solid var(--surface-border) !important;
    border-radius: var(--radius) !important;
    color:         var(--text-muted) !important;
    font-size:     14px !important;
}

/* Placeholder (sem dados) */
.tabulator .tabulator-placeholder {
    background: transparent !important;
}

.tabulator .tabulator-placeholder .tabulator-placeholder-contents {
    color: var(--text-faint) !important;
}

/* =============================================================================
   Site Publico — Yashmim Danielle
   ============================================================================= */

/* ── Header / Navigation ─────────────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.site-header.scrolled {
    padding: 10px 0;
    background: rgba(10, 10, 15, 0.95);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo img {
    height: 36px;
    width: auto;
}

.header-logo span {
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--yd-rosa);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    padding: 8px 20px;
    background: var(--yd-rosa);
    color: #fff !important;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(255, 20, 227, 0.3);
    color: #fff !important;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ── Typography — site publico ───────────────────────────────────────────── */
.text-gradient {
    background: linear-gradient(135deg, var(--rosa), var(--azul-claro));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--rosa); /* fallback se gradient-clip nao suportar */
}

.text-rosa { color: var(--rosa) !important; }
.text-azul { color: var(--azul-claro) !important; }

.mono { font-family: 'JetBrains Mono', monospace; }

/* ── Hero Section — fullscreen com foto ───────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--bg);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(10,10,15,0.3) 0%,
        rgba(10,10,15,0.6) 40%,
        rgba(10,10,15,0.92) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 100%;
}

.hero-content:has(.live-wrapper) {
    max-width: 1200px;
}

.hero-title {
    font-size: clamp(3.5rem, 10vw, 7rem) !important;
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    color: #fff !important;
    text-shadow: 0 0 80px rgba(255,20,227,0.15);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255,20,227,0.1);
    border: 1px solid rgba(255, 20, 227, 0.25);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #FF14E3;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

.hero-badge .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #FF14E3;
    animation: pulse 2s infinite;
    box-shadow: 0 0 10px rgba(255,20,227,0.5);
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.8); }
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 40px;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255,255,255,0.3);
    font-size: 1.2rem;
    animation: scrollBounce 2s infinite;
}
@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ── Stats Bar ───────────────────────────────────────────────────────────── */
.stats-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.stats-item { text-align: center; }
.stats-number {
    display: block;
    font-family: 'Azo Sans', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}
@supports (-webkit-background-clip: text) {
    .stats-number {
        background: linear-gradient(135deg, #fff 40%, var(--rosa));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
}
.stats-desc {
    display: block;
    font-size: 0.75rem;
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 4px;
    font-weight: 500;
}
.stats-divider {
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg, transparent, var(--surface-border), transparent);
}

/* ── About Split ─────────────────────────────────────────────────────────── */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}
.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255,20,227,0.1);
    border-radius: 20px;
    pointer-events: none;
}
.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.6s ease;
}
.about-image:hover img { transform: scale(1.03); }

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
    color: #fff !important;
}
.about-text p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}
.about-highlights {
    display: flex;
    gap: 20px;
    margin-top: 24px;
    flex-wrap: wrap;
}
.about-hl {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}
.about-hl i { font-size: 1.1rem; }

/* ── Gallery Grid ────────────────────────────────────────────────────────── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

/* Mural do Instagram (embeds oficiais /embed) */
.ig-mural {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}
.ig-item {
    background: var(--surface, #12121A);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.05);
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
    min-height: 620px;
    display: flex;
}
.ig-item iframe {
    width: 100%;
    border: 0;
    min-height: 620px;
    display: block;
}
@media (max-width: 640px) {
    .ig-item, .ig-item iframe { min-height: 560px; }
}
.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    aspect-ratio: 4/5;
}
.gallery-item.gallery-wide {
    grid-column: span 2;
    aspect-ratio: 8/5;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
}
.gallery-item:hover img {
    transform: scale(1.06);
    filter: brightness(1.1);
}
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10,10,15,0.6) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.gallery-item:hover::after { opacity: 1; }

/* ── Scroll Reveal Animation ─────────────────────────────────────────────── */
[data-anim] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-anim].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Countdown ───────────────────────────────────────────────────────────── */
.countdown-card {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 24px 40px;
    background: var(--grad-countdown);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
}

.countdown-unit {
    text-align: center;
    min-width: 72px;
}

.countdown-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.countdown-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 4px;
}

.countdown-sep {
    font-size: 2rem;
    color: var(--text-muted);
    font-weight: 300;
    padding-bottom: 16px;
}

.countdown-event-name {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: 16px;
}

.countdown-event-name strong {
    color: var(--yd-rosa);
}

/* ── Live tracker (substitui countdown quando a prova comeca) ───────────── */
.live-wrapper {
    width: min(1100px, 92vw);
    margin: 24px auto 0;
}

.live-tracker {
    width: 100%;
    height: min(78vh, 780px);
    min-height: 520px;
    border: 0;
    border-radius: 12px;
    background: rgba(0, 0, 0, .4);
    box-shadow: 0 12px 40px rgba(255, 20, 227, .18);
    display: block;
}

.live-basic {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--yd-rosa);
    padding: 14px 22px;
    border: 1px solid var(--yd-rosa);
    border-radius: 999px;
    background: rgba(255, 20, 227, .06);
    margin-top: 24px;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    background: var(--yd-rosa);
    color: #fff;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .06em;
    margin-right: 8px;
    vertical-align: middle;
}

.live-badge .live-dot,
.live-basic .live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, .8);
    animation: live-pulse 1.4s ease-out infinite;
}

.live-basic .live-dot {
    background: var(--yd-rosa);
    box-shadow: 0 0 0 0 rgba(255, 20, 227, .6);
}

@keyframes live-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, .8); }
    70%  { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* ── Sections ────────────────────────────────────────────────────────────── */
.section {
    padding: 100px 0;
    position: relative;
}

.section-alt {
    background: var(--bg-surface);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 12px;
    color: #fff;
}

.section-header p {
    color: var(--text-faint);
    max-width: 600px;
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--yd-rosa);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 8px;
}

/* ── Cards ────────────────────────────────────────────────────────────────── */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.yd-card {
    background: var(--bg-surface);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius);
    padding: 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.yd-card:hover {
    border-color: rgba(255, 20, 227, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.yd-card.highlight {
    border-color: rgba(255, 20, 227, 0.3);
    background: linear-gradient(180deg, rgba(255,20,227,0.04) 0%, var(--bg-surface) 100%);
}

.yd-card .card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 10px;
    background: var(--yd-rosa);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ── Event Cards ─────────────────────────────────────────────────────────── */
/* ── Event Grid ──────────────────────────────────────────────────────────── */
.ev-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}
@media (max-width: 480px) { .ev-grid { grid-template-columns: 1fr; } }

/* ── Event Cards — Calendario Luxuoso ────────────────────────────────────── */
.ev-card {
    background: linear-gradient(160deg, rgba(20,20,32,0.95) 0%, rgba(14,14,22,0.98) 100%);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}
/* Brilho interno sutil */
.ev-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: radial-gradient(ellipse at 30% 0%, rgba(255,255,255,0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.ev-card > * { position: relative; z-index: 1; }
.ev-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 1px rgba(255,255,255,0.1);
    border-color: rgba(255, 20, 227, 0.12);
}

/* Destaque / Mundial — card premium */
.ev-card.ev-destaque {
    border: 1px solid rgba(255,20,227,0.2);
    background: linear-gradient(160deg, rgba(40,5,60,0.2) 0%, rgba(0,20,60,0.15) 50%, rgba(14,14,22,0.98) 100%);
    grid-column: span 1;
}
.ev-card.ev-destaque::before {
    height: 160px;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(255,20,227,0.07) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 0%, rgba(0,83,230,0.06) 0%, transparent 60%);
}
.ev-card.ev-destaque::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--rosa), var(--azul), var(--azul-claro));
    z-index: 3;
    border-radius: 20px 20px 0 0;
}
.ev-card.ev-destaque:hover {
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(255, 20, 227, 0.06),
        0 0 50px rgba(0, 83, 230, 0.04);
    border-color: rgba(255, 20, 227, 0.3);
    transform: translateY(-8px) scale(1.02);
}

/* Banner "Representando o Brasil" dentro do card mundial */
.ev-mundial-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 24px 0;
    padding: 8px 14px;
    background: linear-gradient(135deg, rgba(0,83,230,0.08), rgba(255,20,227,0.06));
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
}
.ev-mundial-flag {
    font-size: 1.3rem;
    line-height: 1;
}
.ev-mundial-text {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: linear-gradient(135deg, var(--rosa), var(--azul-claro));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--rosa);
}

/* Mundial no grid: ocupa 2 colunas em telas grandes */
@media (min-width: 768px) {
    .ev-card.ev-destaque {
        grid-column: span 2;
        display: grid;
        grid-template-columns: 1fr;
    }
    .ev-card.ev-destaque .ev-header { padding-top: 24px; }
    .ev-card.ev-destaque .ev-day { font-size: 3rem; }
    .ev-card.ev-destaque .ev-titulo { font-size: 1.4rem; padding-top: 16px; }
    .ev-card.ev-destaque .ev-local { font-size: 0.9rem; }
}

/* Proximo — rosa */
.ev-card.ev-next {
    border-color: rgba(255, 20, 227, 0.2);
    background: linear-gradient(160deg, rgba(60,5,50,0.15) 0%, rgba(14,14,22,0.98) 100%);
}
.ev-card.ev-next::before {
    background: radial-gradient(ellipse at 30% 0%, rgba(255,20,227,0.06) 0%, transparent 70%);
}
.ev-card.ev-next:hover {
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 20, 227, 0.08);
    border-color: rgba(255, 20, 227, 0.3);
}

/* Concluido */
.ev-card.ev-concluido { opacity: 0.5; filter: saturate(0.6); }
.ev-card.ev-concluido:hover { opacity: 0.8; filter: saturate(0.8); }

/* Barra de cor no topo — mais espessa e com gradiente */
.ev-color-bar {
    height: 3px;
    width: 100%;
    opacity: 0.8;
}
.ev-card:hover .ev-color-bar { opacity: 1; }
.ev-card.ev-destaque .ev-color-bar { display: none; }

/* Badge — agora inline dentro do header */
.ev-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
}
.ev-badge i { font-size: 0.5rem; }
.ev-badge-next {
    background: linear-gradient(135deg, var(--rosa), var(--rosa-escuro));
    color: #fff;
    box-shadow: 0 3px 12px rgba(255,20,227,0.3);
}
.ev-badge-mundial {
    background: rgba(0,83,230,0.12);
    color: var(--azul-claro);
    border: 1px solid rgba(50,209,255,0.2);
}
.ev-badge-destaque {
    background: rgba(255,20,227,0.08);
    color: var(--rosa);
    border: 1px solid rgba(255,20,227,0.15);
}

/* Header: data esquerda + badges/tipo direita */
.ev-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px 0;
}
.ev-header-right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.ev-date {
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.ev-day {
    font-family: 'Azo Sans', sans-serif;
    font-size: 2.4rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.02em;
}
.ev-month {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.06em;
}
.ev-year {
    font-size: 0.7rem;
    color: var(--text-faint);
    font-weight: 500;
}
.ev-tipo {
    padding: 5px 14px;
    border-radius: 8px;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}

/* Titulo */
.ev-titulo {
    font-family: 'Azo Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff !important;
    padding: 14px 24px 0;
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

/* Local */
.ev-local {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 8px 24px 0;
    display: flex;
    align-items: center;
    gap: 7px;
}
.ev-local i { font-size: 0.75rem; }

/* Countdown + footer do card */
.ev-countdown {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.04);
    background: rgba(0,0,0,0.15);
}
.ev-countdown i { font-size: 0.8rem; }
.ev-countdown strong {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
}
.ev-countdown.ev-done {
    color: var(--success);
}

/* Tracker link */
.ev-tracker {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px 24px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--rosa);
    text-decoration: none;
    border-top: 1px solid rgba(255,255,255,0.04);
    transition: all 0.25s ease;
    letter-spacing: 0.03em;
    background: rgba(255,20,227,0.02);
}
.ev-tracker:hover {
    background: rgba(255,20,227,0.06);
    color: #fff;
    padding-left: 28px;
}

/* Hover: toda linha de info fica mais clara */
.ev-card:hover .ev-month,
.ev-card:hover .ev-year { color: var(--text-muted); }
.ev-card:hover .ev-local { color: var(--text); }
.ev-card:hover .ev-countdown { color: var(--text); }

/* ── Race Cards — Resultados Premium ─────────────────────────────────────── */
/* ══════════════════════════════════════════════════════════════════════
   PAGINA /resultados — KPIs, banner ao vivo, filtros, proximas provas
   ══════════════════════════════════════════════════════════════════════ */

/* Grid de KPIs */
.res-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 32px;
}
.res-kpi {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    background: linear-gradient(160deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 14px;
    transition: all .2s;
}
.res-kpi:hover { border-color: rgba(255,20,227,.2); transform: translateY(-2px); }
.res-kpi-icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.res-kpi-body { min-width: 0; }
.res-kpi-value {
    font-size: 1.5rem; font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.1;
    color: var(--text-primary, #EAEAF0);
}
.res-kpi-label {
    font-size: .7rem;
    color: var(--text-muted, #9090A8);
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 600;
    margin-top: 4px;
}
.res-kpi-sub {
    font-size: .72rem;
    color: var(--text-faint, #606078);
    margin-top: 2px;
}

/* Banner ao vivo */
.res-live-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: linear-gradient(90deg, rgba(255,20,227,.15), rgba(255,20,227,.02));
    border: 1px solid rgba(255,20,227,.4);
    border-radius: 12px;
    color: var(--text-primary, #EAEAF0);
    text-decoration: none;
    transition: all .2s;
}
.res-live-banner:hover { background: linear-gradient(90deg, rgba(255,20,227,.22), rgba(255,20,227,.04)); }
.res-live-banner strong { display: block; font-size: .95rem; }
.res-live-banner small { display: block; color: var(--text-muted, #9090A8); font-size: .78rem; }
.res-live-banner .live-dot {
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--yd-rosa, #FF14E3);
    box-shadow: 0 0 0 0 rgba(255,20,227,.6);
    animation: live-pulse 1.4s ease-out infinite;
    flex-shrink: 0;
}
.res-live-banner .res-live-cta {
    margin-left: auto;
    color: var(--yd-rosa, #FF14E3);
    font-weight: 700;
    font-size: .85rem;
    white-space: nowrap;
}
@media (max-width: 600px) {
    .res-live-banner .res-live-cta { display: none; }
}

/* Filtros */
.res-filters {
    display: flex; gap: 8px; flex-wrap: wrap;
}
.res-filter-btn {
    padding: 8px 16px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 999px;
    color: var(--text-primary, #EAEAF0);
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s;
}
.res-filter-btn:hover { border-color: var(--yd-rosa, #FF14E3); color: var(--yd-rosa, #FF14E3); }
.res-filter-btn.active {
    background: var(--yd-rosa, #FF14E3);
    border-color: var(--yd-rosa, #FF14E3);
    color: #fff;
}

/* Proximas provas — cards horizontais com data destacada */
.res-proximos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
}
.res-prox-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(160deg, rgba(20,20,32,.9), rgba(14,14,22,.98));
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 14px;
    transition: all .25s;
}
.res-prox-card:hover { border-color: rgba(255,20,227,.25); transform: translateY(-3px); box-shadow: 0 15px 40px rgba(0,0,0,.3); }
.res-prox-date {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-width: 72px;
    padding: 12px 8px;
    background: linear-gradient(160deg, rgba(255,20,227,.08), rgba(255,20,227,.02));
    border: 1px solid rgba(255,20,227,.15);
    border-radius: 10px;
    line-height: 1;
    flex-shrink: 0;
}
.res-prox-day { font-size: 1.8rem; font-weight: 900; color: var(--yd-rosa, #FF14E3); font-family: 'JetBrains Mono', monospace; }
.res-prox-mon { font-size: .7rem; color: var(--text-muted, #9090A8); text-transform: uppercase; margin-top: 4px; letter-spacing: .1em; font-weight: 700; }
.res-prox-yr  { font-size: .7rem; color: var(--text-faint, #606078); margin-top: 2px; font-family: 'JetBrains Mono', monospace; }
.res-prox-info { flex: 1; min-width: 0; }
.res-prox-info .res-prox-tipo {
    display: inline-block;
    font-size: .65rem; font-weight: 700; letter-spacing: .1em;
    color: var(--yd-rosa, #FF14E3); text-transform: uppercase;
    padding: 2px 8px; border-radius: 4px;
    background: rgba(255,20,227,.1);
    margin-bottom: 6px;
}
.res-prox-info h4 { font-size: 1rem; font-weight: 700; margin: 0 0 4px; }
.res-prox-info p  { font-size: .82rem; color: var(--text-muted, #9090A8); margin: 0; }
.res-prox-count { text-align: center; flex-shrink: 0; }
.res-prox-count strong { display: block; font-size: 1.4rem; font-weight: 900; color: var(--text-primary, #EAEAF0); font-family: 'JetBrains Mono', monospace; line-height: 1; }
.res-prox-count { font-size: .7rem; color: var(--text-muted, #9090A8); text-transform: uppercase; letter-spacing: .1em; }

.rc-card {
    background: linear-gradient(160deg, rgba(20,20,32,0.95), rgba(14,14,22,0.98));
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.rc-card:hover {
    border-color: rgba(255,20,227,0.12);
    box-shadow: 0 25px 60px rgba(0,0,0,0.4);
    transform: translateY(-4px);
}

.rc-card.rc-live {
    border-color: rgba(255,20,227,0.45);
    box-shadow: 0 0 0 1px rgba(255,20,227,0.25), 0 20px 55px rgba(255,20,227,0.18);
}

.rc-tempo-pending {
    color: var(--yd-rosa);
    -webkit-text-fill-color: var(--yd-rosa);
    background: none;
    font-variant-numeric: tabular-nums;
    animation: live-pulse-text 1.6s ease-in-out infinite;
}

/* Contador ao vivo dentro dos splits */
.rc-live-timer {
    color: var(--yd-rosa);
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    letter-spacing: .02em;
}

/* Linha da etapa ativa — highlight + icone animado */
.rc-split.rc-split-active {
    background: linear-gradient(90deg, rgba(255,20,227,.08), transparent 70%);
    border-radius: 8px;
    padding-left: 8px;
    padding-right: 8px;
    position: relative;
}
.rc-split.rc-split-active::before {
    content: '';
    position: absolute;
    left: 0; top: 20%; bottom: 20%;
    width: 3px;
    border-radius: 3px;
    background: var(--yd-rosa);
    box-shadow: 0 0 12px rgba(255,20,227,.7);
    animation: live-pulse-text 1.6s ease-in-out infinite;
}
.rc-split.rc-split-active .rc-split-icon {
    background: rgba(255,20,227,.12);
    box-shadow: 0 0 20px rgba(255,20,227,.25);
}

/* Movimento por etapa */
.rc-split.rc-split-active-natacao .rc-split-icon i { animation: swim-move 1.2s ease-in-out infinite; transform-origin: center; }
.rc-split.rc-split-active-bike    .rc-split-icon i { animation: bike-move 0.7s linear infinite; transform-origin: center; }
.rc-split.rc-split-active-corrida .rc-split-icon i { animation: run-move  0.55s ease-in-out infinite; transform-origin: center; }
.rc-split.rc-split-active-t1 .rc-split-icon i,
.rc-split.rc-split-active-t2 .rc-split-icon i { animation: trans-move 1.4s ease-in-out infinite; transform-origin: center; }

@keyframes swim-move  { 0%,100% { transform: translateX(-2px) rotate(-6deg); } 50% { transform: translateX(2px) rotate(6deg); } }
@keyframes bike-move  {
    0%,100% { transform: translateY(0)    rotate(-3deg); }
    25%     { transform: translateY(-1px) rotate(0deg); }
    50%     { transform: translateY(0)    rotate(3deg); }
    75%     { transform: translateY(-1px) rotate(0deg); }
}
@keyframes run-move   {
    0%,100% { transform: translateY(0)    rotate(-4deg); }
    50%     { transform: translateY(-3px) rotate(4deg); }
}
@keyframes trans-move { 0%,100% { transform: translateX(-3px); } 50% { transform: translateX(3px); } }

@keyframes live-pulse-text {
    0%, 100% { opacity: 1; }
    50% { opacity: .4; }
}

/* Header do card — gradiente interno (sem imagem externa) */
.rc-hero-bar {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 24px 28px;
    min-height: 120px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.rc-hero-content { position: relative; z-index: 1; flex: 1; }
.rc-tipo {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--rosa);
    margin-bottom: 6px;
}
.rc-evento {
    font-family: 'Azo Sans', sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    color: #fff !important;
    margin: 0;
    line-height: 1.2;
}
.rc-meta {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
    display: block;
}

/* Badge de posicao no canto do hero */
.rc-pos-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    background: linear-gradient(135deg, var(--rosa), var(--rosa-escuro));
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Azo Sans', sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    box-shadow: 0 4px 20px rgba(255,20,227,0.3);
}
.rc-pos-badge small {
    font-size: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.7);
    margin-top: 1px;
}

/* Tempo final gigante */
.rc-tempo-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    gap: 20px;
    flex-wrap: wrap;
}
.rc-tempo-main { display: flex; flex-direction: column; }
.rc-tempo-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-faint);
    margin-bottom: 4px;
}
.rc-tempo-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.6rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.02em;
}
@supports (-webkit-background-clip: text) {
    .rc-tempo-value {
        background: linear-gradient(135deg, #fff 50%, var(--rosa));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
}

.rc-posicoes {
    display: flex;
    gap: 20px;
}
.rc-pos {
    display: flex;
    flex-direction: column;
    text-align: right;
}
.rc-pos-label {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-faint);
}
.rc-pos-value {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
    margin-top: 2px;
}
.rc-pos-pct {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--rosa);
    margin-top: 1px;
}

/* Barra de proporcao — mostra visualmente quanto cada etapa pesa */
.rc-proportion-bar {
    display: flex;
    height: 32px;
    margin: 0;
    overflow: hidden;
}
.rc-prop-seg {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.8);
    transition: all 0.3s ease;
    min-width: 30px;
}
.rc-prop-seg i { font-size: 0.65rem; }
.rc-prop-swim { background: rgba(50,209,255,0.15); color: #32D1FF; }
.rc-prop-bike { background: rgba(255,20,227,0.12); color: #FF14E3; }
.rc-prop-run  { background: rgba(0,83,230,0.12); color: #0053E6; }
.rc-card:hover .rc-prop-swim { background: rgba(50,209,255,0.25); }
.rc-card:hover .rc-prop-bike { background: rgba(255,20,227,0.2); }
.rc-card:hover .rc-prop-run  { background: rgba(0,83,230,0.2); }

/* Splits detalhados */
.rc-splits {
    padding: 0 28px;
}
.rc-split {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.rc-split:last-child { border-bottom: none; }

.rc-split.rc-split-t { padding: 8px 0 8px 24px; opacity: .75; }
.rc-split.rc-split-t .rc-split-icon { width: 24px; height: 24px; font-size: .7rem; }
.rc-split.rc-split-t .rc-split-name { font-size: .85rem; }
.rc-split.rc-split-t .rc-split-time { font-size: 1rem; }

.rc-split-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    background: rgba(255,255,255,0.04);
    flex-shrink: 0;
}
.rc-split-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.rc-split-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}
.rc-split-detail {
    font-size: 0.7rem;
    color: var(--text-faint);
}
.rc-split-data {
    text-align: right;
    display: flex;
    flex-direction: column;
}
.rc-split-time {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}
.rc-split-pace {
    font-size: 0.7rem;
    color: var(--text-faint);
    margin-top: 1px;
}

/* Evolucao por etapa */
.rc-evo-block {
    border-top: 1px solid rgba(255,255,255,0.04);
}
.rc-evo-header {
    padding: 12px 28px 8px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-faint);
}
.rc-evo-items {
    padding: 0 28px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.rc-evo-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.78rem;
    background: rgba(255,255,255,0.02);
}
.rc-evo-name { flex: 1; color: var(--text-muted); font-weight: 500; }
.rc-evo-diff { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; font-weight: 600; min-width: 90px; }
.rc-evo-pct { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; font-weight: 700; min-width: 50px; text-align: right; }

.rc-evo-item.rc-evo-up { background: rgba(34,197,94,0.04); }
.rc-evo-item.rc-evo-up .rc-evo-diff { color: var(--success); }
.rc-evo-item.rc-evo-up .rc-evo-pct { color: var(--success); }

.rc-evo-item.rc-evo-down { background: rgba(239,68,68,0.03); }
.rc-evo-item.rc-evo-down .rc-evo-diff { color: var(--danger); }
.rc-evo-item.rc-evo-down .rc-evo-pct { color: var(--danger); }

.rc-evo-item.rc-evo-eq .rc-evo-diff { color: var(--text-faint); }
.rc-evo-item.rc-evo-eq .rc-evo-pct { color: var(--text-faint); }

.rc-evo-total { border-top: 1px solid rgba(255,255,255,0.04); margin-top: 4px; padding-top: 8px; font-weight: 700; }
.rc-evo-total .rc-evo-name { color: var(--text); }

/* Resumo / depoimento */
.rc-resumo {
    padding: 16px 28px 20px;
    border-top: 1px solid rgba(255,255,255,0.04);
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.rc-resumo p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-style: italic;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .rc-hero-bar { padding: 16px 20px; min-height: 100px; }
    .rc-evento { font-size: 1.1rem; }
    .rc-tempo-block { padding: 20px; flex-direction: column; gap: 16px; }
    .rc-tempo-value { font-size: 2rem; }
    .rc-posicoes { justify-content: flex-start; }
    .rc-pos { text-align: left; }
    .rc-splits { padding: 0 20px; }
    .rc-resumo { padding: 14px 20px 18px; }
    .rc-pos-badge { width: 46px; height: 46px; font-size: 1.1rem; border-radius: 12px; }
    .rc-evolucao { padding: 10px 20px; }
    .rc-proportion-bar { height: 28px; }
}

/* ── Fan Messages / Mural ────────────────────────────────────────────────── */
.fan-form {
    max-width: 500px;
    margin: 0 auto 48px;
}

/* Card do form novo (usado na home e em /mural) */
.mural-form-card {
    max-width: 640px;
    margin: 0 auto;
    background: linear-gradient(160deg, rgba(255,20,227,.06), rgba(18,18,26,.6));
    border: 1px solid rgba(255,20,227,.15);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.mural-form-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}
.mural-form-head > i {
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,20,227,.15);
    color: var(--yd-rosa, #FF14E3);
    border-radius: 12px;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.mural-form-head h3 { font-size: 1.15rem; font-weight: 800; margin: 0 0 4px; }
.mural-form-head p  { margin: 0; color: var(--text-faint, #9090A8); font-size: .85rem; line-height: 1.4; }

.mural-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}
@media (max-width: 520px) { .mural-form-row { grid-template-columns: 1fr; } }

.mural-form-card input,
.mural-form-card textarea {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 8px;
    color: var(--text-primary, #EAEAF0);
    font-size: .95rem;
    font-family: inherit;
    transition: all .15s;
}
.mural-form-card input:focus,
.mural-form-card textarea:focus {
    outline: none;
    border-color: var(--yd-rosa, #FF14E3);
    box-shadow: 0 0 0 3px rgba(255,20,227,.15);
    background: rgba(255,255,255,.06);
}
.mural-form-card textarea { resize: vertical; min-height: 100px; }

.mural-form-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.mural-form-foot .char-counter {
    font-size: .8rem;
    color: var(--text-muted, #9090A8);
    font-variant-numeric: tabular-nums;
}

/* Paginacao do /mural */
.mural-paginacao {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.mp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px; height: 40px;
    padding: 0 12px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 8px;
    color: var(--text-primary, #EAEAF0);
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .15s;
}
.mp-btn:hover:not(.mp-disabled) {
    border-color: var(--yd-rosa, #FF14E3);
    color: var(--yd-rosa, #FF14E3);
}
.mp-btn.active {
    background: var(--yd-rosa, #FF14E3);
    border-color: var(--yd-rosa, #FF14E3);
    color: #fff;
}
.mp-btn.mp-disabled { opacity: .35; cursor: not-allowed; }
.mp-sep { display:inline-flex; align-items:center; color: var(--text-faint, #9090A8); padding: 0 4px; }

.fan-form input,
.fan-form textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-elevated);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    margin-bottom: 12px;
}

.fan-form input:focus,
.fan-form textarea:focus {
    outline: none;
    border-color: var(--yd-rosa);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.fan-form textarea {
    resize: vertical;
    min-height: 100px;
}

.fan-form .char-counter {
    text-align: right;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: -8px;
    margin-bottom: 12px;
}

.fan-wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.fan-msg-card {
    padding: 20px;
    background: var(--bg-elevated);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.fan-msg-card:hover {
    border-color: rgba(255,20,227,0.15);
}

.fan-msg-text {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

.fan-msg-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════════════════════
   PATROCINADORES — cards estilo perfil Instagram (avatar redondo + nome + descricao + handle)
   ══════════════════════════════════════════════════════════════════════ */
.sp-tier-block { margin-bottom: 48px; }
.sp-tier-block:last-child { margin-bottom: 0; }

.sp-tier-header {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 24px;
    padding: 0 4px;
}
.sp-tier-header::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,.08), transparent);
}
.sp-tier-label {
    font-size: .72rem; font-weight: 700; letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-muted, #9090A8);
}
.sp-tier-count {
    font-size: .68rem; font-weight: 700;
    padding: 2px 8px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 999px;
    color: var(--text-faint, #606078);
    font-family: 'JetBrains Mono', monospace;
}

.sp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
    max-width: 1200px;
    margin: 0 auto;
}
.sp-grid-master { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }

.sp-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 22px 22px;
    background: linear-gradient(160deg, rgba(20,20,32,.9), rgba(14,14,22,.98));
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: all .25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.sp-card::before {
    content: '';
    position: absolute;
    top: -60%; left: -20%;
    width: 140%; height: 140%;
    background: radial-gradient(circle, rgba(255,20,227,.08) 0%, transparent 60%);
    opacity: 0; transition: opacity .3s;
    pointer-events: none;
}
.sp-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,20,227,.25);
    box-shadow: 0 20px 45px rgba(0,0,0,.35), 0 0 0 1px rgba(255,20,227,.15);
}
.sp-card:hover::before { opacity: 1; }

/* Avatar circular (foto quadrada tipo Instagram) */
.sp-avatar {
    position: relative;
    width: 96px; height: 96px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 16px;
    background: linear-gradient(135deg, rgba(255,20,227,.15), rgba(0,83,230,.1));
    border: 3px solid rgba(255,255,255,.08);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: border-color .2s;
}
.sp-card:hover .sp-avatar { border-color: rgba(255,20,227,.4); }
.sp-avatar img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.sp-initial {
    font-size: 2.4rem;
    font-weight: 900;
    font-family: 'JetBrains Mono', monospace;
    color: var(--yd-rosa, #FF14E3);
    line-height: 1;
}

/* Badge Master (coroa dourada no avatar) */
.sp-badge-master {
    position: absolute;
    top: -8px; right: -8px;
    display: inline-flex; align-items: center; gap: 4px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #FFD700, #DAA520);
    color: #0A0A0F;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(255,215,0,.3);
    border: 2px solid #0A0A0F;
}
.sp-badge-master i { font-size: .6rem; }

/* Card master ganha destaque sutil */
.sp-tier-master .sp-avatar {
    width: 112px; height: 112px;
    border-color: rgba(255,215,0,.3);
}
.sp-tier-master:hover .sp-avatar { border-color: rgba(255,215,0,.55); }

/* Corpo do card */
.sp-body { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.sp-nome {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary, #EAEAF0);
    line-height: 1.2;
    letter-spacing: -.01em;
}
.sp-desc {
    font-size: .82rem;
    color: var(--text-muted, #9090A8);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sp-handle {
    display: inline-flex; align-items: center; gap: 6px;
    justify-content: center;
    margin-top: 4px;
    font-size: .8rem;
    font-weight: 600;
    color: var(--yd-rosa, #FF14E3);
    transition: opacity .15s;
}
.sp-handle i { font-size: .95rem; }
.sp-card:hover .sp-handle { text-decoration: underline; }

@media (max-width: 640px) {
    .sp-grid, .sp-grid-master { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
    .sp-card { padding: 22px 16px 18px; }
    .sp-avatar { width: 80px; height: 80px; margin-bottom: 12px; }
    .sp-tier-master .sp-avatar { width: 92px; height: 92px; }
}

/* Legacy Sponsors — mantido pra compat ─────────────────────────────────── */
.sponsors-tier {
    margin-bottom: 48px;
}

.sponsors-tier-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-align: center;
    margin-bottom: 24px;
}

.sponsors-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* Todos os logos numa caixa uniforme 240x120 — logo se ajusta com object-fit */
.sponsors-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 240px;
    height: 120px;
    padding: 16px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 12px;
    transition: all .2s ease;
}
.sponsors-grid a:hover {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,20,227,.25);
    transform: translateY(-2px);
}
.sponsor-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: .85;
    transition: opacity .2s ease;
}
.sponsors-grid a:hover .sponsor-logo { opacity: 1; }

/* Fallback quando patrocinador nao tem logo — mostra o nome centralizado */
.sponsors-grid a.sponsor-nologo .sponsor-name {
    color: var(--text-primary, #EAEAF0);
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    letter-spacing: .01em;
    line-height: 1.25;
    text-transform: uppercase;
    opacity: .9;
}
.sponsors-grid a.sponsor-nologo:hover .sponsor-name { color: var(--yd-rosa, #FF14E3); opacity: 1; }

/* Master ganha destaque leve (borda rosa) mas mesmo tamanho */
.sponsors-grid.tier-master a {
    border-color: rgba(255,215,0,.35);
    background: linear-gradient(135deg, rgba(255,215,0,.05), rgba(255,255,255,.02));
}

/* ── Instagram Feed ──────────────────────────────────────────────────────── */
.insta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 4px;
}

.insta-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
}

.insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.insta-item:hover img {
    transform: scale(1.05);
}

.insta-item .insta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.insta-item:hover .insta-overlay {
    opacity: 1;
}

.insta-follow {
    text-align: center;
    margin-top: 32px;
}

/* ══════════════════════════════════════════════════════════════════════
   PAGINA /sobre — hero, bio, numeros, rotina, modalidades, valores, equipamentos
   ══════════════════════════════════════════════════════════════════════ */

/* Hero com foto */
.sobre-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: flex-end;
    padding: 200px 24px 80px;
    overflow: hidden;
}
.sobre-hero-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center 25%;
    opacity: .55;
    filter: saturate(1.05);
}
.sobre-hero-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(10,10,15,.9) 0%, rgba(10,10,15,.2) 25%, rgba(10,10,15,.2) 55%, rgba(10,10,15,.95) 95%, rgba(10,10,15,1) 100%);
}
.sobre-hero-inner {
    position: relative; z-index: 2;
    max-width: 900px;
}
.sobre-hero-title {
    font-size: clamp(3rem, 9vw, 6rem);
    font-weight: 900;
    line-height: .95;
    letter-spacing: -.02em;
    margin: 16px 0 20px;
}
.sobre-hero-sub {
    font-size: 1.15rem;
    color: var(--text-secondary, #cfcfd8);
    max-width: 620px;
    line-height: 1.5;
    margin-bottom: 28px;
}
.sobre-hero-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.sobre-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px;
    background: rgba(255,20,227,.1);
    border: 1px solid rgba(255,20,227,.25);
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-primary, #EAEAF0);
}
.sobre-badge i { color: var(--yd-rosa, #FF14E3); }

/* Bio + numeros lado a lado */
.sobre-bio {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: start;
}
@media (max-width: 860px) { .sobre-bio { grid-template-columns: 1fr; } }
.sobre-bio-text h2 { margin: 8px 0 20px; }
.sobre-bio-side {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.num-item {
    padding: 20px 16px;
    background: linear-gradient(160deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 12px;
    text-align: left;
}
.num-item.num-base { grid-column: span 2; }
.num-val {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    font-family: 'JetBrains Mono', monospace;
    color: var(--yd-rosa, #FF14E3);
    line-height: 1;
}
.num-lbl {
    display: block;
    margin-top: 6px;
    font-size: .72rem;
    color: var(--text-muted, #9090A8);
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 600;
}

/* Rotina timeline */
.rotina-timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    max-width: 1100px;
    margin: 40px auto 0;
    position: relative;
}
@media (max-width: 900px) { .rotina-timeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .rotina-timeline { grid-template-columns: 1fr; } }
.rotina-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 16px;
    background: linear-gradient(160deg, rgba(20,20,32,.9), rgba(14,14,22,.98));
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 14px;
    transition: all .25s;
}
.rotina-item:hover { border-color: rgba(255,20,227,.25); transform: translateY(-3px); }
.rotina-hora {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--yd-rosa, #FF14E3);
    letter-spacing: .04em;
}
.rotina-icon {
    font-size: 1.8rem;
    margin: 14px 0 10px;
}
.rotina-titulo {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary, #EAEAF0);
}
.rotina-sub {
    font-size: .78rem;
    color: var(--text-muted, #9090A8);
    margin-top: 4px;
}

/* Modalidades */
.modalidades-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 40px auto 0;
}
@media (max-width: 800px) { .modalidades-grid { grid-template-columns: 1fr; } }
.mod-card {
    padding: 32px 24px;
    text-align: center;
    background: linear-gradient(160deg, rgba(20,20,32,.9), rgba(14,14,22,.98));
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 16px;
    transition: all .25s;
    position: relative;
    overflow: hidden;
}
.mod-card:hover { transform: translateY(-4px); }
.mod-card > i { font-size: 2.2rem; margin-bottom: 16px; }
.mod-swim > i, .mod-swim:hover { color: #32D1FF; }
.mod-bike > i, .mod-bike:hover { color: #FF14E3; }
.mod-run > i,  .mod-run:hover  { color: #0053E6; }
.mod-swim:hover { border-color: rgba(50,209,255,.35); box-shadow: 0 10px 40px rgba(50,209,255,.15); }
.mod-bike:hover { border-color: rgba(255,20,227,.35); box-shadow: 0 10px 40px rgba(255,20,227,.15); }
.mod-run:hover  { border-color: rgba(0,83,230,.35);  box-shadow: 0 10px 40px rgba(0,83,230,.15); }
.mod-dist {
    font-family: 'JetBrains Mono', monospace;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    margin: 8px 0 6px;
    color: var(--text-primary, #EAEAF0);
}
.mod-dist span { font-size: 1.2rem; color: var(--text-muted, #9090A8); font-weight: 700; margin-left: 2px; }
.mod-card h4 { font-weight: 700; font-size: 1.1rem; margin: 8px 0 6px; }
.mod-card p  { font-size: .85rem; color: var(--text-muted, #9090A8); margin: 0; }

/* Valores */
.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    max-width: 1100px;
    margin: 40px auto 0;
}
.valor-card {
    padding: 28px 24px;
    background: linear-gradient(160deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 14px;
    transition: all .25s;
}
.valor-card:hover { border-color: rgba(255,20,227,.25); transform: translateY(-2px); }
.valor-card > i {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 44px; height: 44px;
    background: rgba(255,20,227,.12);
    color: var(--yd-rosa, #FF14E3);
    border-radius: 12px;
    font-size: 1.1rem;
    margin-bottom: 14px;
}
.valor-card h4 { font-weight: 800; font-size: 1.05rem; margin-bottom: 8px; }
.valor-card p  { font-size: .9rem; color: var(--text-muted, #9090A8); line-height: 1.5; margin: 0; }

/* CTAs finais (parceria + torcedor) */
.sobre-ctas {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}
@media (max-width: 700px) { .sobre-ctas { grid-template-columns: 1fr; } }
.sobre-cta-card {
    padding: 36px 28px;
    background: linear-gradient(160deg, rgba(255,20,227,.05), rgba(20,20,32,.9));
    border: 1px solid rgba(255,20,227,.15);
    border-radius: 16px;
    text-align: center;
}
.sobre-cta-card > i {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 56px; height: 56px;
    background: rgba(255,20,227,.15);
    color: var(--yd-rosa, #FF14E3);
    border-radius: 14px;
    font-size: 1.4rem;
    margin-bottom: 16px;
}
.sobre-cta-card h3 { font-weight: 800; font-size: 1.2rem; margin-bottom: 10px; }
.sobre-cta-card p  { color: var(--text-muted, #9090A8); font-size: .9rem; line-height: 1.5; margin-bottom: 20px; }

/* ── Equipment (grid novo — cards com icone + info) ─────────────────────── */
.equip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
    max-width: 1200px;
    margin: 0 auto;
}
.equip-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    background: linear-gradient(160deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 12px;
    transition: all .2s;
}
.equip-card:hover { border-color: rgba(255,20,227,.2); transform: translateY(-2px); }
.equip-icon {
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.equip-body { min-width: 0; flex: 1; }
.equip-cat {
    font-size: .65rem;
    color: var(--text-muted, #9090A8);
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 700;
    margin-bottom: 4px;
}
.equip-body h5 { font-weight: 700; font-size: .95rem; margin: 0 0 2px; color: var(--text-primary, #EAEAF0); }
.equip-marca { font-size: .8rem; color: var(--text-muted, #9090A8); margin-bottom: 6px; }
.equip-body p { font-size: .8rem; color: var(--text-faint, #606078); line-height: 1.4; margin: 0; }

/* ── Shop / Products ─────────────────────────────────────────────────────── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--bg-surface);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.product-img {
    aspect-ratio: 1;
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

.product-name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 8px;
}

.product-price {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--yd-rosa);
}

.product-price-old {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 8px;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn-yd {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    font-family: 'Azo Sans', 'Inter', sans-serif;
}

.btn-yd.btn-primary {
    background: linear-gradient(135deg, var(--rosa), var(--rosa-escuro));
    color: #fff;
    box-shadow: 0 4px 20px rgba(255,20,227,0.25);
}

.btn-yd.btn-primary:hover {
    background: linear-gradient(135deg, var(--rosa-escuro), var(--rosa));
    transform: translateY(-2px);
    box-shadow: 0 8px 35px rgba(255,20,227,0.4);
    color: #fff;
}

.btn-yd.btn-secondary {
    background: rgba(255,255,255,0.05);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
}

.btn-yd.btn-secondary:hover {
    border-color: var(--rosa);
    color: var(--rosa);
    background: rgba(255,20,227,0.06);
    box-shadow: 0 0 20px rgba(255,20,227,0.1);
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
    padding: 80px 0 40px;
    background: var(--bg-surface);
    border-top: 1px solid var(--bg-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand img {
    height: 40px;
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links a:hover { color: var(--yd-rosa); }

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elevated);
    border: 1px solid var(--bg-border);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--yd-rosa);
    border-color: var(--yd-rosa);
    color: #fff;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--bg-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ── Contact Form ────────────────────────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-elevated);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    margin-bottom: 16px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--yd-rosa);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.contact-info-card {
    padding: 32px;
    background: var(--bg-elevated);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius);
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-info-item i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    color: var(--yd-rosa);
    border-radius: 10px;
    font-size: 1rem;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-toggle { display: block; }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-primary);
        padding: 32px 24px;
        gap: 24px;
        z-index: 999;
    }

    .countdown-card {
        flex-wrap: wrap;
        padding: 20px;
        justify-content: center;
    }

    .countdown-unit { min-width: 56px; }
    .countdown-value { font-size: 2rem; }

    .result-splits { grid-template-columns: 1fr; }
    .result-split { border-right: none; border-bottom: 1px solid var(--bg-border); }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .contact-grid { grid-template-columns: 1fr; }
    .about-split { grid-template-columns: 1fr; gap: 32px; }
    .about-image img { height: 350px; }
    .stats-bar { gap: 24px; }
    .stats-divider { display: none; }
    .stats-number { font-size: 2rem; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item.gallery-wide { grid-column: span 2; }
    .hero-title { font-size: 3rem !important; }
}

@media (max-width: 480px) {
    .hero { padding: 100px 16px 60px; }
    .section { padding: 60px 0; }
    .container { padding: 0 16px; }
    .card-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item.gallery-wide { grid-column: span 1; }
    .about-image img { height: 280px; }
    .hero-title { font-size: 2.5rem !important; }
    .about-text h2 { font-size: 1.6rem; }
    .stats-bar { gap: 16px; }
    .about-highlights { flex-direction: column; gap: 10px; }
}

/* ── Animations ──────────────────────────────────────────────────────────── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* ── Utilities ───────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-rosa { color: var(--yd-rosa); }
.text-azul { color: var(--yd-azul-claro); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.gap-2 { gap: 16px; }
.d-flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.hidden { display: none !important; }

/* =============================================================================
   YD ADMIN — Premium Overrides
   Luxuoso, sofisticado, fluido
   ============================================================================= */

/* ── Bootstrap Dark Mode — SOMENTE dentro do admin (.app-wrapper) ────────── */
.app-wrapper { color: var(--text); }
.app-wrapper h1, .app-wrapper h2, .app-wrapper h3, .app-wrapper h4, .app-wrapper h5, .app-wrapper h6 { color: var(--text) !important; }
.app-wrapper .text-muted { color: var(--text-faint) !important; }
.app-wrapper hr { border-color: var(--surface-border) !important; opacity: .3; }

/* Bootstrap card-body/card-header/card-footer dark — admin only */
.app-wrapper .card-body { background: transparent; color: var(--text); padding: 20px; }
.app-wrapper .card-header { background: rgba(255,255,255,0.02); color: var(--text) !important; padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.app-wrapper .card-footer { background: rgba(255,255,255,0.01); color: var(--text-muted); padding: 14px 20px; border-top: 1px solid rgba(255,255,255,0.05); }
.app-wrapper .card-header h6, .app-wrapper .card-header h5, .app-wrapper .card-header .mb-0 { font-weight: 700; letter-spacing: 0.02em; color: var(--text) !important; }
.app-wrapper .card-header small { color: var(--text-faint) !important; }

/* Bootstrap nav-tabs dark */
.nav-tabs { border-bottom-color: var(--surface-border); }
.nav-tabs .nav-link { color: var(--text-muted); border: none; padding: 8px 16px; font-size: 13px; font-weight: 500; }
.nav-tabs .nav-link:hover { color: var(--text); border-color: transparent; }
.nav-tabs .nav-link.active { color: var(--rosa) !important; background: transparent; border-bottom: 2px solid var(--rosa); }

/* ── Sidebar Premium ──────────────────────────────────────────────────────── */
.sidebar {
    background: linear-gradient(180deg, #0e0e18 0%, #0a0a12 100%);
    border-right: 1px solid rgba(255, 20, 227, 0.06);
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.4);
}
.sidebar-brand {
    padding: 20px;
    background: linear-gradient(135deg, rgba(255,20,227,0.04), rgba(0,83,230,0.04));
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.sidebar-brand .brand-name {
    font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; font-size: 13px;
    background: linear-gradient(135deg, var(--rosa), var(--azul-claro));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.nav-item { margin: 1px 8px; border-radius: var(--radius); font-size: 13px; padding: 10px 14px; transition: all 0.25s cubic-bezier(0.4,0,0.2,1); text-decoration: none; }
.nav-item:hover { background: rgba(255,20,227,0.06); color: #fff !important; transform: translateX(2px); }
.nav-item.active { background: linear-gradient(135deg, rgba(255,20,227,0.12), rgba(0,83,230,0.08)); color: #fff !important; font-weight: 600; box-shadow: 0 0 20px rgba(255,20,227,0.08); }
.nav-item.active::before { width: 3px; background: linear-gradient(180deg, var(--rosa), var(--azul)); border-radius: 0 3px 3px 0; left: 0; }
.nav-item i { opacity: 0.7; }
.nav-item:hover i, .nav-item.active i { opacity: 1; }
.sidebar-footer { background: rgba(0,0,0,0.2); border-top: 1px solid rgba(255,255,255,0.03); padding: 8px 0; }
.sidebar-footer .nav-item { font-size: 12px; }

/* ── Topbar Premium ───────────────────────────────────────────────────────── */
.topbar { background: rgba(14,14,24,0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,0.04); box-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.topbar-title { font-weight: 700; color: var(--text) !important; }
.avatar { background: linear-gradient(135deg, var(--rosa), var(--azul)); color: #fff; font-weight: 800; box-shadow: 0 0 15px rgba(255,20,227,0.25); transition: all 0.3s ease; }
.avatar:hover { box-shadow: 0 0 25px rgba(255,20,227,0.4); transform: scale(1.05); }

/* ── Page Body ────────────────────────────────────────────────────────────── */
.page-body { background: var(--bg); padding: 32px; }

/* ── Cards Premium ────────────────────────────────────────────────────────── */
.card { background: linear-gradient(180deg, var(--surface) 0%, rgba(18,18,26,0.7) 100%); border: 1px solid rgba(255,255,255,0.05); border-radius: 16px; box-shadow: 0 4px 30px rgba(0,0,0,0.2); transition: all 0.3s cubic-bezier(0.4,0,0.2,1); color: var(--text); }
.card:hover { border-color: rgba(255,20,227,0.1); box-shadow: 0 8px 40px rgba(0,0,0,0.3); }

/* ── Stat Cards Premium ───────────────────────────────────────────────────── */
.stat-card { background: linear-gradient(135deg, var(--surface) 0%, rgba(18,18,26,0.6) 100%); border: 1px solid rgba(255,255,255,0.05); border-radius: 16px; padding: 24px; transition: all 0.35s cubic-bezier(0.4,0,0.2,1); position: relative; overflow: hidden; }
.stat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: 0; transition: opacity 0.3s ease; }
.stat-card:hover { border-color: rgba(255,20,227,0.15); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 30px rgba(255,20,227,0.05); }
.stat-card:hover::before { opacity: 1; }
.stat-icon { width: 52px; height: 52px; border-radius: 14px; font-size: 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.stat-value { font-size: 28px; font-weight: 800; color: #fff !important; -webkit-text-fill-color: #fff !important; line-height: 1.1; }
.stat-label { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint) !important; margin-top: 4px; }
.stat-body { color: var(--text); }

/* Garantir legibilidade em cards e hero */
.card h4, .card h5, .card h6, .card strong { color: var(--text) !important; }
.card small { color: var(--text-muted) !important; }
.card .d-flex i { flex-shrink: 0; }
.card-body h4, .card-body h5 { color: #fff !important; }
.card-body .btn { color: inherit; }

/* ── Forms Premium ────────────────────────────────────────────────────────── */
.form-control, .form-select {
    background: rgba(255,255,255,0.03) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    color: #fff !important;
    border-radius: 10px !important;
    padding: 11px 16px !important;
    font-size: 14px !important;
    transition: all 0.25s ease !important;
}
.form-control:focus, .form-select:focus {
    background: rgba(255,255,255,0.05) !important;
    border-color: var(--rosa) !important;
    box-shadow: 0 0 0 3px rgba(255,20,227,0.1), 0 0 20px rgba(255,20,227,0.05) !important;
    color: #fff !important;
}
.form-control::placeholder { color: var(--text-faint) !important; }
.form-label { font-size: 13px; font-weight: 600; color: var(--text) !important; margin-bottom: 6px; letter-spacing: 0.02em; }
.form-check-label { color: var(--text) !important; font-size: 13px; }
.form-check-input { background-color: var(--surface-alt) !important; border-color: var(--surface-border) !important; }
.form-check-input:checked { background-color: var(--rosa) !important; border-color: var(--rosa) !important; }
.form-select option { background: var(--surface); color: var(--text); }
textarea.form-control { min-height: 80px; }

/* ── Buttons Premium — admin ──────────────────────────────────────────────── */
.app-wrapper .btn-primary, .app-wrapper .btn-accent {
    background: linear-gradient(135deg, var(--rosa), var(--rosa-escuro)) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    padding: 10px 22px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(255,20,227,0.2);
}
.app-wrapper .btn-primary:hover, .app-wrapper .btn-accent:hover {
    background: linear-gradient(135deg, var(--rosa-escuro), var(--rosa)) !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(255,20,227,0.35) !important;
    color: #fff !important;
}
.app-wrapper .btn-secondary {
    background: var(--surface-alt) !important;
    border: 1px solid var(--surface-border) !important;
    color: var(--text-muted) !important;
    border-radius: 10px !important;
}
.app-wrapper .btn-secondary:hover { background: var(--surface-border) !important; color: var(--text) !important; }

.btn-outline-primary {
    border-color: rgba(255,20,227,0.2) !important; color: var(--rosa) !important;
    font-weight: 600; font-size: 13px; border-radius: 10px; transition: all 0.3s ease;
    background: transparent !important;
}
.btn-outline-primary:hover { background: rgba(255,20,227,0.1) !important; border-color: var(--rosa) !important; color: #fff !important; box-shadow: 0 0 20px rgba(255,20,227,0.15); }

.btn-outline-success { border-color: rgba(34,197,94,0.3) !important; color: var(--success) !important; background: transparent !important; border-radius: 8px; }
.btn-outline-success:hover { background: rgba(34,197,94,0.1) !important; color: #fff !important; }
.btn-outline-danger { border-color: rgba(239,68,68,0.3) !important; color: var(--danger) !important; background: transparent !important; border-radius: 8px; }
.btn-outline-danger:hover { background: rgba(239,68,68,0.1) !important; color: #fff !important; }
.btn-outline-secondary { border-color: rgba(144,144,168,0.2) !important; color: var(--text-faint) !important; background: transparent !important; border-radius: 8px; }
.btn-outline-secondary:hover { background: rgba(144,144,168,0.08) !important; color: var(--text) !important; }
.btn-outline-warning { border-color: rgba(245,158,11,0.3) !important; color: var(--warning) !important; background: transparent !important; border-radius: 8px; }
.btn-outline-warning:hover { background: rgba(245,158,11,0.1) !important; color: #fff !important; }

.btn-sm { padding: 6px 14px !important; font-size: 12px !important; border-radius: 8px !important; }
.btn.active { background: var(--rosa) !important; border-color: var(--rosa) !important; color: #fff !important; }

/* ── Modal Premium ────────────────────────────────────────────────────────── */
.modal-content {
    background: linear-gradient(180deg, #14141f 0%, #0e0e18 100%) !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
    border-radius: 20px !important;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 60px rgba(255,20,227,0.04) !important;
}
.modal-header { border-color: rgba(255,255,255,0.05) !important; padding: 20px 24px !important; }
.modal-body { padding: 24px !important; }
.modal-footer { border-color: rgba(255,255,255,0.05) !important; padding: 16px 24px !important; }
.modal-title { font-size: 17px !important; font-weight: 700 !important; color: var(--text) !important; }
.btn-close { filter: invert(1) !important; opacity: 0.5 !important; }
.btn-close:hover { opacity: 1 !important; }
.modal-backdrop { background: rgba(0,0,0,0.75) !important; backdrop-filter: blur(4px); }

/* ── Dropdown Premium ─────────────────────────────────────────────────────── */
.dropdown-menu { background: #14141f !important; border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; box-shadow: 0 12px 40px rgba(0,0,0,0.5); padding: 6px; }
.dropdown-item { color: var(--text) !important; border-radius: 8px; padding: 8px 14px; font-size: 13px; transition: all 0.2s ease; }
.dropdown-item:hover, .dropdown-item:focus { background: rgba(255,20,227,0.08) !important; color: #fff !important; }
.dropdown-item-text { color: var(--text-muted) !important; }
.dropdown-divider { border-color: rgba(255,255,255,0.04) !important; margin: 4px 0; }

/* ── Bottom Nav Premium ───────────────────────────────────────────────────── */
.bottom-nav { background: rgba(14,14,24,0.95); backdrop-filter: blur(20px); border-top: 1px solid rgba(255,20,227,0.08); box-shadow: 0 -4px 20px rgba(0,0,0,0.3); }

/* ── Badges Premium ───────────────────────────────────────────────────────── */
.badge-success { background: rgba(34,197,94,0.15); color: var(--success); padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 600; display: inline-block; }
.badge-warning { background: rgba(245,158,11,0.15); color: var(--warning); padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 600; display: inline-block; }
.badge-danger  { background: rgba(239,68,68,0.15);  color: var(--danger);  padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 600; display: inline-block; }
.badge-muted   { background: rgba(96,96,120,0.15);  color: var(--text-faint); padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 600; display: inline-block; }

/* ── Tabulator Premium ────────────────────────────────────────────────────── */
.tabulator { border: 1px solid rgba(255,255,255,0.05) !important; border-radius: 14px !important; overflow: hidden; background: transparent !important; }
.tabulator .tabulator-header { background: rgba(255,255,255,0.02) !important; border-bottom: 1px solid rgba(255,255,255,0.05) !important; }
.tabulator .tabulator-header .tabulator-col { background: transparent !important; border-right-color: rgba(255,255,255,0.03) !important; }
.tabulator .tabulator-header .tabulator-col-content { padding: 12px 14px !important; }
.tabulator .tabulator-header .tabulator-col-title { color: var(--text-faint) !important; font-size: 11px !important; font-weight: 600 !important; text-transform: uppercase !important; letter-spacing: 0.06em !important; }
.tabulator .tabulator-tableholder { background: transparent !important; }
.tabulator .tabulator-row { background: transparent !important; border-bottom: 1px solid rgba(255,255,255,0.03) !important; transition: background 0.2s ease; color: var(--text) !important; }
.tabulator .tabulator-row:hover { background: rgba(255,20,227,0.03) !important; }
.tabulator .tabulator-row .tabulator-cell { border-right: none !important; padding: 12px 14px !important; font-size: 13px !important; color: var(--text) !important; }
.tabulator .tabulator-footer { background: rgba(255,255,255,0.01) !important; border-top: 1px solid rgba(255,255,255,0.05) !important; }
.tabulator .tabulator-footer .tabulator-page { background: var(--surface-alt) !important; border: 1px solid var(--surface-border) !important; color: var(--text-muted) !important; border-radius: 6px !important; padding: 4px 10px !important; font-size: 12px !important; }
.tabulator .tabulator-footer .tabulator-page.active { background: var(--rosa) !important; border-color: var(--rosa) !important; color: #fff !important; }
.tabulator .tabulator-footer .tabulator-page:hover:not(.active) { background: var(--surface-border) !important; color: var(--text) !important; }
.tabulator .tabulator-placeholder .tabulator-placeholder-contents { color: var(--text-faint) !important; }

/* ── Scrollbar ────────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.15); }
::selection { background: rgba(255,20,227,0.25); color: #fff; }

/* ── Login Page Premium ───────────────────────────────────────────────────── */
.login-page { background: linear-gradient(135deg, #0A0A0F 0%, #12081a 40%, #080a18 70%, #0A0A0F 100%); }
.login-page::before { content: ''; position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(255,20,227,0.04) 0%, transparent 70%); pointer-events: none; }
.login-box { border: 1px solid rgba(255,255,255,0.04); box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(255,20,227,0.03); }
.login-logo .logo-icon { background: linear-gradient(135deg, var(--rosa), var(--azul)); box-shadow: 0 0 30px rgba(255,20,227,0.2); }

/* ── SweetAlert2 Dark ─────────────────────────────────────────────────────── */
.swal2-popup { background: #14141f !important; color: var(--text) !important; border: 1px solid rgba(255,255,255,0.06); border-radius: 16px !important; }
.swal2-title { color: var(--text) !important; }
.swal2-html-container { color: var(--text-muted) !important; }
.swal2-confirm { background: linear-gradient(135deg, var(--rosa), var(--rosa-escuro)) !important; border: none !important; border-radius: 10px !important; font-weight: 700 !important; }
.swal2-cancel { background: var(--surface-alt) !important; border: 1px solid var(--surface-border) !important; color: var(--text-muted) !important; border-radius: 10px !important; }
