/* ========================================
   🎨 DESIGN TOKENS & VARIABLES
   ======================================== */
:root {
    /* Colors */
    --color-bg: #0a0e27;
    --color-bg-secondary: #0f1729;
    --color-surface: #151b3d;
    --color-surface-hover: #1a2147;
    --color-border: rgba(124, 139, 255, 0.15);
    --color-border-light: rgba(124, 139, 255, 0.08);

    --color-primary: #7c8bff;
    --color-primary-dark: #5a6bdb;
    --color-primary-light: #a1acff;
    --color-primary-glow: rgba(124, 139, 255, 0.4);

    --color-text: #e4e6f1;
    --color-text-muted: #8892b0;
    --color-text-dim: #495675;

    --color-accent: #00d4ff;
    --color-success: #00ff88;
    --color-warning: #ffb800;
    --color-danger: #ff4757;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #7c8bff 0%, #00d4ff 100%);
    --gradient-surface: linear-gradient(135deg, #151b3d 0%, #1a2147 100%);
    --gradient-glow: radial-gradient(circle at 50% 50%, rgba(124, 139, 255, 0.1) 0%, transparent 70%);
    --gradient-success: linear-gradient(135deg, #00ff88 0%, #00d4ff 100%);
    --gradient-danger: linear-gradient(135deg, #ff4757 0%, #ff6b7a 100%);

    /* Spacing - Mobile First */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;

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

    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;

    /* Borders & Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows & Effects */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(124, 139, 255, 0.3);
    --shadow-glow-intense: 0 0 60px rgba(124, 139, 255, 0.5);

    /* Animations */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    --animation-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --animation-smooth: cubic-bezier(0.4, 0, 0.2, 1);

    /* === Icons & Controls === */
    --icon-stroke: 2;           /* stroke-width pour SVG .icon */
    --hit-min: 40px;            /* hit-area minimale tactile */
    --chevron-bg: var(--color-surface);
    --chevron-bg-hover: var(--color-surface-hover, color-mix(in srgb, var(--color-surface), #fff 6%));
    --chevron-border: var(--color-border);
    --chevron-radius: var(--radius-md);

}

@media (min-width: 768px) {
    :root {
        --space-xs: 0.375rem;
        --space-sm: 0.75rem;
        --space-md: 1.25rem;
        --space-lg: 1.75rem;
        --space-xl: 2.5rem;
        --space-2xl: 3.5rem;
    }
}

