/* ══════════════════════════════════════════
   11º BPM/M — Design Tokens v2
   Paleta: Charcoal Neutral + Gold Institutional
   ══════════════════════════════════════════ */

:root {
    /* ─── Core Backgrounds ─── */
    --bg-primary: #0c0c0e;
    --bg-secondary: #131316;
    --bg-card: #1a1a1f;
    --bg-card-hover: #222228;
    --bg-surface: #18181c;
    --bg-elevated: #242429;
    --bg-inset: #0f0f12;
    --bg-input: #131316;
    --border-input: rgba(255, 255, 255, 0.07);

    /* ─── Accent: Warm Gold ─── */
    --gold-700: #8a6914;
    --gold-600: #b8941f;
    --gold-500: #d4a843;
    --gold-400: #e4c255;
    --gold-300: #f0d878;
    --gold-200: #f7e9a3;
    --gold-glow: rgba(212, 168, 67, 0.15);
    --gold-glow-strong: rgba(212, 168, 67, 0.35);

    /* ─── Accent: Warm Neutral ─── */
    --neutral-900: #0c0c0e;
    --neutral-800: #1a1a1f;
    --neutral-700: #2a2a31;
    --neutral-600: #3a3a42;
    --neutral-500: #52525b;
    --neutral-400: #71717a;
    --neutral-300: #a1a1aa;
    --neutral-200: #d4d4d8;
    --neutral-100: #e4e4e7;

    /* ─── Status Colors ─── */
    --green-600: #16a34a;
    --green-500: #22c55e;
    --green-400: #4ade80;
    --green-bg: rgba(34, 197, 94, 0.08);
    --green-border: rgba(34, 197, 94, 0.2);
    --red-600: #dc2626;
    --red-500: #ef4444;
    --red-400: #f87171;
    --red-bg: rgba(239, 68, 68, 0.08);
    --red-border: rgba(239, 68, 68, 0.2);
    --orange-500: #f97316;
    --orange-400: #fb923c;
    --orange-bg: rgba(249, 115, 22, 0.08);
    --yellow-500: #eab308;
    --yellow-400: #facc15;
    --yellow-bg: rgba(234, 179, 8, 0.08);
    --blue-600: #2563eb;
    --blue-500: #3b82f6;
    --blue-400: #60a5fa;
    --blue-bg: rgba(59, 130, 246, 0.08);
    --purple-500: #a855f7;
    --purple-400: #c084fc;
    --purple-bg: rgba(168, 85, 247, 0.08);
    --cyan-500: #06b6d4;
    --cyan-400: #22d3ee;

    /* ─── Text Colors ─── */
    --text-primary: #fafafa;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --text-accent: var(--gold-400);

    /* ─── Borders ─── */
    --border-default: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(255, 255, 255, 0.14);
    --border-active: var(--gold-500);
    --border-gold: rgba(212, 168, 67, 0.25);
    --border-subtle: rgba(255, 255, 255, 0.04);

    /* ─── Shadows ─── */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.7);
    --shadow-glow-gold: 0 0 30px rgba(212, 168, 67, 0.2);
    --shadow-glow-green: 0 0 20px rgba(34, 197, 94, 0.15);
    --shadow-inner: inset 0 1px 0 rgba(255, 255, 255, 0.03);

    /* ─── Glass ─── */
    --glass-bg: rgba(26, 26, 31, 0.85);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-blur: 16px;

    /* ─── Gradients ─── */
    --gradient-gold: linear-gradient(135deg, var(--gold-600), var(--gold-400));
    --gradient-dark: linear-gradient(180deg, var(--bg-secondary), var(--bg-primary));
    --gradient-card: linear-gradient(145deg, var(--bg-card), var(--bg-surface));
    --gradient-hero: radial-gradient(ellipse at 30% 20%, rgba(212, 168, 67, 0.06) 0%, transparent 60%),
                     radial-gradient(ellipse at 70% 80%, rgba(212, 168, 67, 0.03) 0%, transparent 50%);

    /* ─── Spacing ─── */
    --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem;
    --space-4: 1rem; --space-5: 1.25rem; --space-6: 1.5rem;
    --space-8: 2rem; --space-10: 2.5rem; --space-12: 3rem;
    --space-16: 4rem; --space-20: 5rem;

    /* ─── Border Radius ─── */
    --radius-sm: 6px; --radius-md: 10px; --radius-lg: 14px;
    --radius-xl: 20px; --radius-2xl: 28px; --radius-full: 9999px;

    /* ─── Typography ─── */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --font-display: 'Inter', sans-serif;

    /* ─── Layout ─── */
    --sidebar-width: 272px;
    --sidebar-collapsed: 72px;
    --header-height: 60px;

    /* ─── Transitions ─── */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* ─── Z-Index ─── */
    --z-sidebar: 100; --z-header: 90; --z-modal: 200;
    --z-toast: 300; --z-tooltip: 400;
}
