/* ============================================
   DESIGN TOKENS & CSS CUSTOM PROPERTIES
   ============================================ */

:root {
    /* — Cores Primárias — */
    --primary-50: #eef2ff;
    --primary-100: #dbe4ff;
    --primary-200: #bac8ff;
    --primary-300: #91a7ff;
    --primary-400: #748ffc;
    --primary-500: #5c7cfa;
    --primary-600: #4c6ef5;
    --primary-700: #4263eb;
    --primary-800: #3b5bdb;
    --primary-900: #364fc7;

    /* — Cores de Acento — */
    --accent-50: #fff3e0;
    --accent-100: #ffe0b2;
    --accent-200: #ffcc80;
    --accent-300: #ffb74d;
    --accent-400: #ffa726;
    --accent-500: #ff9800;
    --accent-600: #fb8c00;
    --accent-700: #f57c00;

    /* — Cores de Sucesso — */
    --success-50: #e8f5e9;
    --success-500: #4caf50;
    --success-600: #43a047;
    --success-700: #388e3c;

    /* — Cores de Erro — */
    --error-50: #fef2f2;
    --error-100: #fee2e2;
    --error-500: #ef4444;
    --error-600: #dc2626;
    --error-700: #b91c1c;

    /* — Cores de Warning — */
    --warning-50: #fffbeb;
    --warning-500: #f59e0b;
    --warning-600: #d97706;

    /* — Tons de Cinza — */
    --gray-50: #f8f9fa;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #868e96;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;

    /* — Dark Mode Colors — */
    --dark-bg: #0f1117;
    --dark-surface: #1a1d2e;
    --dark-surface-2: #232640;
    --dark-surface-3: #2a2d4a;
    --dark-border: #2f3365;
    --dark-text: #e4e6f1;
    --dark-text-muted: #8b8fa7;

    /* — Gradientes — */
    --gradient-primary: linear-gradient(135deg, #4c6ef5 0%, #7c3aed 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --gradient-dark: linear-gradient(135deg, #1a1d2e 0%, #0f1117 100%);
    --gradient-card: linear-gradient(145deg, rgba(42, 45, 74, 0.6) 0%, rgba(26, 29, 46, 0.8) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
    --gradient-sidebar: linear-gradient(180deg, #1a1d2e 0%, #151729 100%);

    /* — Tipografia — */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.8125rem;
    --font-size-base: 0.9375rem;
    --font-size-md: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;

    /* — Espaçamento — */
    --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;

    /* — Bordas — */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.25rem;
    --radius-full: 9999px;

    /* — Sombras — */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -4px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(76, 110, 245, 0.3);
    --shadow-glow-lg: 0 0 40px rgba(76, 110, 245, 0.2);

    /* — Transições — */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    --transition-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* — Z-Index — */
    --z-dropdown: 100;
    --z-sidebar: 200;
    --z-overlay: 300;
    --z-modal: 400;
    --z-toast: 500;

    /* — Layout — */
    --sidebar-width: 260px;
    --sidebar-collapsed: 72px;
    --header-height: 64px;
}