/* variables.css - Standard Numérie 2.1 Design Tokens */
:root {
  /* Colors - Dark Theme (Linear / Stripe Grade Deep Dark) */
  --bg-primary: #0a0c16;      /* Deep midnight blue-black */
  --bg-secondary: #121527;    /* Card/surface background */
  --bg-tertiary: #1c213c;     /* Interactive elements background */
  --bg-hover: rgba(255, 255, 255, 0.04);
  --bg-glass: rgba(18, 21, 39, 0.75);
  
  /* HSL bases for dynamic opacity controls */
  --accent-primary-hsl: 224, 82%, 56%;   /* Royal Cobalt Blue #2563eb */
  --accent-secondary-hsl: 199, 89%, 48%; /* Ice Cyan #0ea5e9 */
  
  --accent-primary: hsl(var(--accent-primary-hsl));
  --accent-secondary: hsl(var(--accent-secondary-hsl));
  --accent-gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  --accent-gradient-glow: linear-gradient(135deg, #3b82f6 0%, #0ea5e9 100%);
  
  /* Text & Typography */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #0a0c16;
  
  /* Status Colors */
  --color-success: #10b981;
  --color-success-bg: rgba(16, 185, 129, 0.12);
  --color-warning: #fbbf24;
  --color-warning-bg: rgba(251, 191, 36, 0.12);
  --color-danger: #f87171;
  --color-danger-bg: rgba(248, 113, 113, 0.12);
  --color-info: #60a5fa;
  --color-info-bg: rgba(96, 165, 250, 0.12);

  /* Typography Font Families */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
  
  /* Modular Font Scale (Ratio 1.25) */
  --text-xs: 0.75rem;    /* 12px - Badges, micro labels */
  --text-sm: 0.875rem;   /* 14px - Secondaire, compact */
  --text-base: 1rem;     /* 16px - Corps principal */
  --text-lg: 1.125rem;   /* 18px - Sous-titres, intro */
  --text-xl: 1.25rem;    /* 20px - Titres de cartes */
  --text-2xl: 1.5rem;    /* 24px - Titres de section */
  --text-3xl: 1.875rem;  /* 30px - Titres de page */
  --text-4xl: 2.25rem;   /* 36px - Héros */

  /* Font Weights */
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;

  /* Line Heights */
  --leading-none: 1;
  --leading-tight: 1.25;
  --leading-normal: 1.55;
  --leading-relaxed: 1.75;
  
  /* 8-Point Spatial Grid */
  --space-1: 4px;        /* 0.25rem - Micro */
  --space-2: 8px;        /* 0.5rem  - Tight */
  --space-3: 12px;       /* 0.75rem - Compact */
  --space-4: 16px;       /* 1rem    - Standard */
  --space-5: 20px;       /* 1.25rem - Medium */
  --space-6: 24px;       /* 1.5rem  - Comfortable */
  --space-8: 32px;       /* 2rem    - Spacious */
  --space-10: 40px;      /* 2.5rem  - Large */
  --space-12: 48px;      /* 3rem    - Section separator */
  --space-16: 64px;      /* 4rem    - Page block */

  /* Legacy spacing aliases for backward compatibility */
  --spacing-xs: var(--space-1);
  --spacing-sm: var(--space-2);
  --spacing-md: var(--space-4);
  --spacing-lg: var(--space-6);
  --spacing-xl: var(--space-8);
  --spacing-xxl: var(--space-12);

  /* Layout, Radius & Borders */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.05);
  --border-active: rgba(37, 99, 235, 0.5);

  /* Elevation, Inner Highlights & Depth (Anti-Flat) */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 24px rgba(37, 99, 235, 0.22);
  --inner-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  
  /* Micro-Interactions & Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Mobile Ergonomics & Breakpoints */
  --touch-target-min: 44px;
  --bp-sm: 640px;
  --bp-md: 768px;
  --bp-lg: 1024px;
  --bp-xl: 1280px;
  --bp-2xl: 1536px;
}
