/* =========================================================
   NOXFINANCE — BASE
   ========================================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
    background: var(--ink);
    background-image:
        radial-gradient(680px circle at 12% -8%, rgba(234, 179, 8, .07), transparent 60%),
        radial-gradient(520px circle at 100% 0%, rgba(234, 179, 8, .04), transparent 55%);
    background-repeat: no-repeat;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.5;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--white);
    line-height: 1.15;
}

p { color: var(--gray-300); }

a { color: inherit; text-decoration: none; }

img, svg { display: block; max-width: 100%; }

button, input, select, textarea { font-family: inherit; color: inherit; }

ul, ol { list-style: none; }

/* Foco visível — acessibilidade, nunca removido */
:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Números financeiros: sempre monoespaçados e tabulares */
.num {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 999px; border: 2px solid var(--ink); }
::-webkit-scrollbar-thumb:hover { background: var(--gray-500); }

/* ---- Utilitários de layout ---- */
.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 32px; }
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-xs { gap: 8px; }
.gap-sm { gap: 12px; }
.gap-md { gap: 20px; }
.gap-lg { gap: 32px; }

.text-gold { color: var(--gold); }
.text-gray { color: var(--gray-300); }
.text-dim { color: var(--gray-500); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }

.eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold);
}

.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;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

@media (max-width: 980px) {
    .container { padding: 0 24px; }
}

@media (max-width: 640px) {
    body { font-size: 14px; }
    .container { padding: 0 16px; }
    .gap-lg { gap: 20px; }
    .gap-md { gap: 14px; }
}

@media (max-width: 400px) {
    .container { padding: 0 14px; }
}
