/**
 * Variables CSS Globales - HorizonTrading
 * Thème unifié pour toutes les pages du site
 * Version: 1.0.0
 */

:root {
  /* ============================================ */
  /* COULEURS PRINCIPALES - IDENTITÉ DE MARQUE */
  /* ============================================ */
  
  /* Bleus - Couleurs corporate */
  --night-blue: #0e2336;
  --night-blue-light: #132c47;
  --blue-primary: #1f4e79;
  --blue-accent: #37c9ff;
  
  /* Or - Couleur premium */
  --gold-primary: #d4af37;
  --gold-light: #ffd66b;
  --gold-dark: #b8941f;
  
  /* ============================================ */
  /* TEXTE */
  /* ============================================ */
  
  --text-light: #e8f2ff;
  --text-muted: #c7e0ff;
  --text-white: #ffffff;
  --text-gray: #94a3b8;
  
  /* ============================================ */
  /* BACKGROUNDS */
  /* ============================================ */
  
  --bg-dark: #0b1b2a;
  --bg-secondary: #1e293b;
  --bg-tertiary: #334155;
  --bg-glass: rgba(255, 255, 255, 0.08);
  --bg-glass-border: rgba(255, 255, 255, 0.12);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0e2336 0%, #132c47 100%);
  --gradient-gold: linear-gradient(135deg, #d4af37, #b8941f);
  --gradient-blue: linear-gradient(135deg, #1f4e79, #0e2336);
  
  /* ============================================ */
  /* COULEURS STATUS */
  /* ============================================ */
  
  --success: #10b981;
  --success-light: #4ade80;
  --success-dark: #059669;
  
  --warning: #f59e0b;
  --warning-light: #fbbf24;
  --warning-dark: #d97706;
  
  --error: #ef4444;
  --error-light: #f87171;
  --error-dark: #dc2626;
  
  --info: #3b82f6;
  --info-light: #60a5fa;
  --info-dark: #2563eb;
  
  /* ============================================ */
  /* UI ELEMENTS */
  /* ============================================ */
  
  /* Border radius */
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.3);
  
  /* Shadows colorées */
  --shadow-gold: 0 8px 32px rgba(212, 175, 55, 0.2);
  --shadow-gold-lg: 0 12px 48px rgba(212, 175, 55, 0.3);
  --shadow-blue: 0 8px 32px rgba(31, 78, 121, 0.2);
  
  /* ============================================ */
  /* TRANSITIONS & ANIMATIONS */
  /* ============================================ */
  
  --transition-fast: 0.2s ease;
  --transition: 0.3s ease;
  --transition-slow: 0.4s ease;
  
  --ease-out: cubic-bezier(0.4, 0.0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0.0, 0.6, 1);
  --ease-bounce: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  
  /* ============================================ */
  /* SPACING */
  /* ============================================ */
  
  --space-xs: 4px;
  --space-sm: 8px;
  --space: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-2xl: 64px;
  
  /* ============================================ */
  /* TYPOGRAPHY */
  /* ============================================ */
  
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-accent: 'Space Grotesk', sans-serif;
  
  /* Font sizes */
  --text-xs: 0.75rem;    /* 12px */
  --text-sm: 0.875rem;   /* 14px */
  --text-base: 1rem;     /* 16px */
  --text-lg: 1.125rem;   /* 18px */
  --text-xl: 1.25rem;    /* 20px */
  --text-2xl: 1.5rem;    /* 24px */
  --text-3xl: 1.875rem;  /* 30px */
  --text-4xl: 2.25rem;   /* 36px */
  
  /* Font weights */
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;
  
  /* ============================================ */
  /* Z-INDEX */
  /* ============================================ */
  
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 500;
  --z-modal-backdrop: 900;
  --z-modal: 1000;
  --z-toast: 1100;
  --z-tooltip: 1200;
  
  /* ============================================ */
  /* BREAKPOINTS (pour référence JS) */
  /* ============================================ */
  
  --breakpoint-sm: 640px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
  --breakpoint-2xl: 1536px;
}

/* ============================================ */
/* RESET & BASE STYLES */
/* ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  color: var(--text-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================ */
/* UTILITY CLASSES */
/* ============================================ */

.gradient-primary {
  background: var(--gradient-primary);
}

.gradient-gold {
  background: var(--gradient-gold);
}

.gradient-blue {
  background: var(--gradient-blue);
}

.text-gold {
  color: var(--gold-primary);
}

.text-muted {
  color: var(--text-muted);
}

.shadow-gold {
  box-shadow: var(--shadow-gold);
}

.transition-all {
  transition: all var(--transition);
}
