/* ================================================================
   ESCRITÓRIO DIGITAL — DESIGN SYSTEM v1.0
   Pacheco Monteiro Advocacia

   Paleta: Navy + Dourado + Neutros claros
   Tipografia: Playfair Display (titulos) + Inter (corpo)
   Filosofia: Premium, sobrio, confiavel — nunca "app generico"
   ================================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

/* ================================================================
   1. DESIGN TOKENS (Variaveis globais)
   ================================================================ */
:root {
    /* ── Cores Primarias ── */
    --ds-navy:          #0c1220;
    --ds-navy-mid:      #152036;
    --ds-navy-light:    #1e293b;
    --ds-navy-hover:    #263348;

    /* ── Dourado (acento principal) ── */
    --ds-gold:          #b8963e;
    --ds-gold-dark:     #9a7c30;
    --ds-gold-light:    #d4b06a;
    --ds-gold-glow:     rgba(184, 150, 62, .15);
    --ds-gold-subtle:   rgba(184, 150, 62, .08);

    /* ── Neutros ── */
    --ds-bg:            #f5f4f1;
    --ds-bg-warm:       #edecea;
    --ds-white:         #ffffff;
    --ds-border:        #e0ddd6;
    --ds-border-light:  #ebe9e4;

    /* ── Texto ── */
    --ds-heading:       #12141a;
    --ds-text:          #1c1e24;
    --ds-text-2:        #4a4e59;
    --ds-text-3:        #8a8e99;
    --ds-text-muted:    #a8acb6;

    /* ── Semanticas ── */
    --ds-green:         #2d7a5f;
    --ds-green-bg:      #eef7f2;
    --ds-red:           #b83a3a;
    --ds-red-bg:        #fdf0f0;
    --ds-orange:        #b87020;
    --ds-orange-bg:     #fef8ee;
    --ds-blue:          #3b6ea8;
    --ds-blue-bg:       #eef3fa;

    /* ── Tipografia ── */
    --ds-font-display:  'Playfair Display', Georgia, 'Times New Roman', serif;
    --ds-font-body:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* ── Espacamento ── */
    --ds-space-xs:      4px;
    --ds-space-sm:      8px;
    --ds-space-md:      16px;
    --ds-space-lg:      24px;
    --ds-space-xl:      32px;
    --ds-space-2xl:     48px;
    --ds-space-3xl:     64px;

    /* ── Raios ── */
    --ds-radius-sm:     6px;
    --ds-radius:        10px;
    --ds-radius-lg:     14px;
    --ds-radius-xl:     20px;
    --ds-radius-full:   999px;

    /* ── Sombras ── */
    --ds-shadow-xs:     0 1px 2px rgba(0,0,0,.04);
    --ds-shadow:        0 1px 3px rgba(0,0,0,.05), 0 0 0 1px rgba(0,0,0,.02);
    --ds-shadow-md:     0 4px 12px rgba(0,0,0,.06), 0 0 0 1px rgba(0,0,0,.03);
    --ds-shadow-lg:     0 8px 30px rgba(0,0,0,.08);
    --ds-shadow-hover:  0 8px 25px rgba(0,0,0,.1), 0 0 0 1px rgba(184,150,62,.12);
    --ds-shadow-gold:   0 4px 16px rgba(184,150,62,.2);

    /* ── Transicoes ── */
    --ds-ease:          cubic-bezier(.4, 0, .2, 1);
    --ds-transition:    .3s var(--ds-ease);
    --ds-transition-fast: .15s var(--ds-ease);

    /* ── Layout ── */
    --ds-sidebar-w:     260px;
    --ds-max-content:   1400px;
}

/* ================================================================
   2. RESET & BASE
   ================================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--ds-font-body);
    background: var(--ds-bg);
    color: var(--ds-text);
    min-height: 100vh;
    display: flex;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

/* ── Acessibilidade: Skip Link ── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--ds-navy);
    color: var(--ds-gold-light);
    padding: 12px 24px;
    border-radius: 0 0 var(--ds-radius) var(--ds-radius);
    font-size: 14px;
    font-weight: 600;
    z-index: 9999;
    text-decoration: none;
    transition: top .2s;
}

.skip-link:focus {
    top: 0;
}

/* ── Scrollbar refinada ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,.12); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,.2); }

/* ── Focus visivel (acessibilidade WCAG) ── */
:focus-visible {
    outline: 2px solid var(--ds-gold);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ── Selecao ── */
::selection {
    background: var(--ds-gold-glow);
    color: var(--ds-heading);
}

/* ================================================================
   3. TIPOGRAFIA — Playfair Display + Inter
   ================================================================ */

/* Titulos: Playfair Display — autoridade, tradicao, elegancia */
h1, h2, h3,
.ds-title,
.ds-display {
    font-family: var(--ds-font-display);
    color: var(--ds-heading);
    line-height: 1.25;
    letter-spacing: -0.01em;
}

h1, .ds-h1 {
    font-size: 2rem;
    font-weight: 700;
}

h2, .ds-h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

h3, .ds-h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Display (hero sections) */
.ds-display {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

/* Subtitulos e labels: Inter */
h4, h5, h6,
.ds-subtitle,
.ds-label {
    font-family: var(--ds-font-body);
    color: var(--ds-text-2);
}

h4, .ds-h4 {
    font-size: 1rem;
    font-weight: 600;
}

.ds-subtitle {
    font-size: .95rem;
    font-weight: 400;
    color: var(--ds-text-2);
    line-height: 1.5;
}

.ds-label {
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--ds-text-3);
}

.ds-caption {
    font-size: .8rem;
    color: var(--ds-text-3);
}

/* Numeros grandes (stats) */
.ds-stat-number {
    font-family: var(--ds-font-display);
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
    color: var(--ds-heading);
}

/* Itálico elegante (citacoes, destaques) */
.ds-italic {
    font-family: var(--ds-font-display);
    font-style: italic;
    color: var(--ds-text-2);
}

/* ================================================================
   4. LAYOUT
   ================================================================ */

/* ── Main Content ── */
.main {
    margin-left: var(--ds-sidebar-w);
    flex: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ── Page Header — hero contextual ── */
.page-header {
    padding: var(--ds-space-xl) 40px var(--ds-space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--ds-space-md);
}

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

.page-header h1 i,
.page-header h1 .header-icon {
    color: var(--ds-gold);
    font-size: 1.1em;
}

.page-header-subtitle {
    font-family: var(--ds-font-body);
    font-size: .85rem;
    color: var(--ds-text-3);
    font-weight: 400;
    margin-top: 4px;
}

/* ── Content Area ── */
.content {
    padding: 0 40px 40px;
    flex: 1;
}

/* ── Section separators ── */
.ds-section {
    margin-bottom: var(--ds-space-xl);
}

.ds-section-title {
    font-family: var(--ds-font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ds-heading);
    margin-bottom: var(--ds-space-md);
    display: flex;
    align-items: center;
    gap: 10px;
}

.ds-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--ds-border);
}

/* ================================================================
   5. COMPONENTES
   ================================================================ */

/* ── Cards ── */
.ds-card {
    background: var(--ds-white);
    border: 1px solid var(--ds-border-light);
    border-radius: var(--ds-radius-lg);
    box-shadow: var(--ds-shadow);
    transition: var(--ds-transition);
    overflow: hidden;
}

.ds-card:hover {
    box-shadow: var(--ds-shadow-md);
}

.ds-card-interactive {
    cursor: pointer;
}

.ds-card-interactive:hover {
    transform: translateY(-3px);
    box-shadow: var(--ds-shadow-hover);
    border-color: rgba(184, 150, 62, .15);
}

/* Gold top accent on hover */
.ds-card-accent {
    position: relative;
}

.ds-card-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ds-gold), var(--ds-gold-light));
    opacity: 0;
    transition: var(--ds-transition);
}

.ds-card-accent:hover::before {
    opacity: 1;
}

/* ── Stat Cards ── */
.ds-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--ds-space-md);
}

.ds-stat-card {
    background: var(--ds-white);
    border: 1px solid var(--ds-border-light);
    border-radius: var(--ds-radius-lg);
    padding: 22px 24px;
    box-shadow: var(--ds-shadow);
    transition: var(--ds-transition);
    position: relative;
    overflow: hidden;
}

.ds-stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ds-gold), transparent);
    opacity: 0;
    transition: var(--ds-transition);
}

.ds-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ds-shadow-hover);
}

.ds-stat-card:hover::before {
    opacity: 1;
}

.ds-stat-label {
    font-size: .7rem;
    color: var(--ds-text-3);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
    margin-bottom: 8px;
}

.ds-stat-value {
    font-family: var(--ds-font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--ds-heading);
    letter-spacing: -0.02em;
}

/* ── Buttons ── */
.ds-btn {
    padding: 10px 22px;
    border: none;
    border-radius: var(--ds-radius);
    font-family: var(--ds-font-body);
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--ds-transition);
    text-decoration: none;
    line-height: 1.4;
}

.ds-btn:active {
    transform: scale(.97);
}

.ds-btn-gold {
    background: linear-gradient(135deg, var(--ds-gold), var(--ds-gold-dark));
    color: var(--ds-white);
    box-shadow: var(--ds-shadow-gold);
}

.ds-btn-gold:hover {
    box-shadow: 0 6px 20px rgba(184, 150, 62, .35);
    transform: translateY(-1px);
}

.ds-btn-navy {
    background: var(--ds-navy-light);
    color: var(--ds-white);
    box-shadow: 0 2px 8px rgba(30, 58, 95, .25);
}

.ds-btn-navy:hover {
    background: var(--ds-navy);
    transform: translateY(-1px);
}

.ds-btn-outline {
    background: transparent;
    border: 1px solid var(--ds-border);
    color: var(--ds-text-2);
}

.ds-btn-outline:hover {
    border-color: var(--ds-gold);
    color: var(--ds-gold);
    background: var(--ds-gold-subtle);
}

.ds-btn-ghost {
    background: transparent;
    color: var(--ds-text-2);
    padding: 8px 14px;
}

.ds-btn-ghost:hover {
    background: var(--ds-bg-warm);
    color: var(--ds-heading);
}

.ds-btn-sm {
    padding: 7px 14px;
    font-size: .78rem;
    border-radius: var(--ds-radius-sm);
}

.ds-btn-lg {
    padding: 14px 32px;
    font-size: .95rem;
    border-radius: 12px;
}

/* ── Badges ── */
.ds-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: var(--ds-radius-full);
    font-size: .72rem;
    font-weight: 700;
    white-space: nowrap;
}

.ds-badge-gold {
    background: var(--ds-gold-subtle);
    color: var(--ds-gold-dark);
}

.ds-badge-green {
    background: var(--ds-green-bg);
    color: var(--ds-green);
}

.ds-badge-red {
    background: var(--ds-red-bg);
    color: var(--ds-red);
}

.ds-badge-blue {
    background: var(--ds-blue-bg);
    color: var(--ds-blue);
}

.ds-badge-orange {
    background: var(--ds-orange-bg);
    color: var(--ds-orange);
}

.ds-badge-muted {
    background: var(--ds-bg-warm);
    color: var(--ds-text-3);
}

/* ── Tables ── */
.ds-table-wrap {
    background: var(--ds-white);
    border: 1px solid var(--ds-border-light);
    border-radius: var(--ds-radius-lg);
    box-shadow: var(--ds-shadow);
    overflow: hidden;
}

.ds-table {
    width: 100%;
    border-collapse: collapse;
}

.ds-table th {
    padding: 14px 20px;
    text-align: left;
    font-size: .7rem;
    font-weight: 600;
    color: var(--ds-text-3);
    text-transform: uppercase;
    letter-spacing: .08em;
    border-bottom: 1px solid var(--ds-border);
    background: linear-gradient(180deg, #fafaf8, #f5f4f1);
}

.ds-table td {
    padding: 14px 20px;
    font-size: .85rem;
    border-bottom: 1px solid var(--ds-border-light);
    vertical-align: middle;
}

.ds-table tr:last-child td {
    border-bottom: none;
}

.ds-table tbody tr {
    transition: background var(--ds-transition-fast);
    cursor: pointer;
}

.ds-table tbody tr:hover {
    background: rgba(184, 150, 62, .03);
}

/* ── Forms ── */
.ds-input {
    width: 100%;
    padding: 11px 16px;
    background: var(--ds-white);
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius);
    font-size: .88rem;
    font-family: var(--ds-font-body);
    color: var(--ds-text);
    outline: none;
    transition: var(--ds-transition);
}

.ds-input::placeholder {
    color: var(--ds-text-muted);
}

.ds-input:focus {
    border-color: var(--ds-gold);
    box-shadow: 0 0 0 3px var(--ds-gold-glow);
    background: var(--ds-white);
}

.ds-input-label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: var(--ds-text-2);
    margin-bottom: 6px;
}

/* ── Search Box ── */
.ds-search {
    position: relative;
}

.ds-search input {
    padding-left: 42px;
}

.ds-search .ds-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--ds-text-muted);
    pointer-events: none;
}

/* ── Modals ── */
.ds-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(12, 18, 32, .5);
    z-index: 500;
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
}

.ds-modal-overlay.active {
    display: flex;
}

.ds-modal {
    background: var(--ds-white);
    border-radius: var(--ds-radius-xl);
    padding: var(--ds-space-xl);
    max-width: 520px;
    width: 92%;
    box-shadow: var(--ds-shadow-lg);
    max-height: 90vh;
    overflow-y: auto;
}

.ds-modal h3 {
    font-family: var(--ds-font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: var(--ds-space-lg);
}

.ds-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: var(--ds-space-lg);
}

/* ── Empty States ── */
.ds-empty {
    text-align: center;
    padding: var(--ds-space-3xl) var(--ds-space-lg);
    color: var(--ds-text-3);
}

.ds-empty h3 {
    font-family: var(--ds-font-display);
    font-size: 1.1rem;
    color: var(--ds-heading);
    margin-bottom: var(--ds-space-sm);
}

.ds-empty p {
    font-size: .88rem;
    max-width: 400px;
    margin: 0 auto;
}

/* ── Trust Bar (credibilidade) ── */
.ds-trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--ds-space-xl);
    padding: var(--ds-space-md) var(--ds-space-lg);
    background: var(--ds-white);
    border: 1px solid var(--ds-border-light);
    border-radius: var(--ds-radius-lg);
    box-shadow: var(--ds-shadow-xs);
}

.ds-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .82rem;
    color: var(--ds-text-2);
    font-weight: 500;
}

.ds-trust-item .ds-trust-number {
    font-family: var(--ds-font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ds-gold);
}

/* ── Dividers ── */
.ds-divider {
    border: none;
    height: 1px;
    background: var(--ds-border-light);
    margin: var(--ds-space-lg) 0;
}

/* ── Status Dots ── */
.ds-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.ds-dot-green  { background: var(--ds-green); }
.ds-dot-red    { background: var(--ds-red); }
.ds-dot-orange { background: var(--ds-orange); }
.ds-dot-blue   { background: var(--ds-blue); }
.ds-dot-gold   { background: var(--ds-gold); }
.ds-dot-muted  { background: var(--ds-text-muted); }

.ds-dot-pulse {
    animation: ds-pulse 2s ease-in-out infinite;
}

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

/* ── Filter buttons row ── */
.ds-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ds-filter-btn {
    padding: 8px 18px;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius);
    background: var(--ds-white);
    font-size: .82rem;
    font-family: var(--ds-font-body);
    cursor: pointer;
    color: var(--ds-text-2);
    transition: var(--ds-transition);
    font-weight: 500;
}

.ds-filter-btn:hover {
    border-color: var(--ds-gold);
    color: var(--ds-gold);
}

.ds-filter-btn.active {
    background: var(--ds-navy);
    color: var(--ds-white);
    border-color: var(--ds-navy);
    font-weight: 600;
}

/* ── Toolbar ── */
.ds-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: var(--ds-space-lg);
    flex-wrap: wrap;
}

/* ── Toggle Switch ── */
.ds-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.ds-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.ds-toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: var(--ds-border);
    border-radius: 24px;
    transition: var(--ds-transition);
}

.ds-toggle-slider::before {
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: var(--ds-transition);
    box-shadow: 0 1px 3px rgba(0,0,0,.15);
}

.ds-toggle input:checked + .ds-toggle-slider {
    background: var(--ds-gold);
}

.ds-toggle input:checked + .ds-toggle-slider::before {
    transform: translateX(20px);
}

/* ================================================================
   6. SIDEBAR (estilos base — sidebar-unified.js os aplica)
   ================================================================ */
.sidebar.ds-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--ds-sidebar-w);
    height: 100vh;
    z-index: 1200;
    overflow-y: auto;
    background: linear-gradient(180deg, #0e1628 0%, #0a0f1c 100%);
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255,255,255,.04);
}

/* ================================================================
   7. ANIMACOES UTILITARIAS
   ================================================================ */
@keyframes ds-fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes ds-slideIn {
    from { opacity: 0; transform: translateX(-12px); }
    to   { opacity: 1; transform: translateX(0); }
}

.ds-animate-in {
    animation: ds-fadeIn .4s var(--ds-ease) both;
}

.ds-animate-slide {
    animation: ds-slideIn .3s var(--ds-ease) both;
}

/* Stagger children */
.ds-stagger > * {
    animation: ds-fadeIn .4s var(--ds-ease) both;
}

.ds-stagger > *:nth-child(1) { animation-delay: .05s; }
.ds-stagger > *:nth-child(2) { animation-delay: .1s; }
.ds-stagger > *:nth-child(3) { animation-delay: .15s; }
.ds-stagger > *:nth-child(4) { animation-delay: .2s; }
.ds-stagger > *:nth-child(5) { animation-delay: .25s; }
.ds-stagger > *:nth-child(6) { animation-delay: .3s; }
.ds-stagger > *:nth-child(7) { animation-delay: .35s; }
.ds-stagger > *:nth-child(8) { animation-delay: .4s; }

/* ── Prefers reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ================================================================
   8. RESPONSIVO
   ================================================================ */
@media (max-width: 1024px) {
    :root {
        --ds-sidebar-w: 220px;
    }
}

@media (max-width: 768px) {
    .sidebar,
    .sidebar.ds-sidebar {
        transform: translateX(-100%);
        transition: transform .3s var(--ds-ease);
    }

    .sidebar.ds-sidebar-open {
        transform: translateX(0);
    }

    .main {
        margin-left: 0 !important;
    }

    .page-header {
        padding: var(--ds-space-lg) var(--ds-space-md) var(--ds-space-md);
    }

    .content {
        padding: 0 var(--ds-space-md) var(--ds-space-lg);
    }

    h1, .ds-h1 { font-size: 1.6rem; }
    h2, .ds-h2 { font-size: 1.25rem; }
    .ds-display { font-size: 1.8rem; }

    .ds-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Mobile menu button */
    .ds-mobile-menu-btn {
        display: flex;
    }
}

@media (min-width: 769px) {
    .ds-mobile-menu-btn {
        display: none;
    }

    .ds-mobile-overlay {
        display: none !important;
    }
}

/* ── Mobile Menu Button ── */
.ds-mobile-menu-btn {
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 1100;
    width: 44px;
    height: 44px;
    border-radius: var(--ds-radius);
    background: var(--ds-navy);
    border: none;
    color: var(--ds-gold-light);
    font-size: 20px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--ds-shadow-md);
}

/* ── Mobile Overlay ── */
.ds-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(12, 18, 32, .6);
    z-index: 1150;
    backdrop-filter: blur(4px);
}

.ds-mobile-overlay.active {
    display: block;
}

/* ================================================================
   9. UTILIDADES
   ================================================================ */
.ds-text-gold   { color: var(--ds-gold) !important; }
.ds-text-green  { color: var(--ds-green) !important; }
.ds-text-red    { color: var(--ds-red) !important; }
.ds-text-blue   { color: var(--ds-blue) !important; }
.ds-text-muted  { color: var(--ds-text-3) !important; }
.ds-text-center { text-align: center !important; }

.ds-bg-gold-subtle { background: var(--ds-gold-subtle) !important; }
.ds-bg-white       { background: var(--ds-white) !important; }

.ds-mt-sm  { margin-top: var(--ds-space-sm) !important; }
.ds-mt-md  { margin-top: var(--ds-space-md) !important; }
.ds-mt-lg  { margin-top: var(--ds-space-lg) !important; }
.ds-mb-sm  { margin-bottom: var(--ds-space-sm) !important; }
.ds-mb-md  { margin-bottom: var(--ds-space-md) !important; }
.ds-mb-lg  { margin-bottom: var(--ds-space-lg) !important; }

.ds-flex       { display: flex !important; }
.ds-flex-col   { flex-direction: column !important; }
.ds-items-center { align-items: center !important; }
.ds-justify-between { justify-content: space-between !important; }
.ds-gap-sm     { gap: var(--ds-space-sm) !important; }
.ds-gap-md     { gap: var(--ds-space-md) !important; }
.ds-gap-lg     { gap: var(--ds-space-lg) !important; }

.ds-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ds-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
