/* ============================================
   VARIABLES CSS - PERSONNALISATION RAPIDE
   ============================================
   
   Ce fichier contient TOUTES les variables de couleurs
   et de style du site. Pour changer l'apparence globale,
   modifiez uniquement les valeurs ci-dessous.
   
   ============================================ */

:root {
  /* ============================================
     COULEURS PRINCIPALES
     ============================================ */
  
  /* Couleur primaire - Orange/Rouge (CTA, liens, accents) */
  --color-primary: #E84E1B;
  --color-primary-dark: #c23d14;
  --color-primary-light: #ff6b3d;
  --color-primary-rgb: 232, 78, 27;
  
  /* Couleur secondaire - Bleu marine (headers, sections) */
  --color-secondary: #1a365d;
  --color-secondary-dark: #0f2342;
  --color-secondary-light: #2d4a7c;
  --color-secondary-rgb: 26, 54, 93;
  
  /* Couleur accent - Or/Jaune (badges, highlights) */
  --color-accent: #f59e0b;
  --color-accent-dark: #d97706;
  --color-accent-light: #fbbf24;
  
  /* Couleur succès */
  --color-success: #27ae60;
  --color-success-dark: #1e8449;
  --color-success-light: #2ecc71;
  
  /* Couleur erreur */
  --color-error: #e74c3c;
  --color-error-dark: #c0392b;
  --color-error-light: #ec7063;
  
  /* Couleur urgence */
  --color-urgence: #e74c3c;
  
  /* ============================================
     COULEURS NEUTRES
     ============================================ */
  
  --color-white: #ffffff;
  --color-black: #000000;
  
  /* Gris */
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;
  
  /* Texte */
  --color-text-primary: #1f2937;
  --color-text-secondary: #6b7280;
  --color-text-light: #9ca3af;
  --color-text-white: #ffffff;
  
  /* Backgrounds */
  --color-bg-primary: #ffffff;
  --color-bg-secondary: #f9fafb;
  --color-bg-dark: #1a365d;
  --color-bg-overlay: rgba(0, 0, 0, 0.7);
  
  /* ============================================
     GRADIENTS
     ============================================ */
  
  --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%);
  --gradient-overlay: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
  --gradient-hero: linear-gradient(135deg, rgba(26, 54, 93, 0.9) 0%, #1a365d 100%);
  
  /* ============================================
     TYPOGRAPHIE
     ============================================ */
  
  /* Polices */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Courier New', monospace;
  
  /* Tailles de police */
  --font-size-xs: 0.75rem;      /* 12px */
  --font-size-sm: 0.875rem;     /* 14px */
  --font-size-base: 1rem;       /* 16px */
  --font-size-lg: 1.125rem;     /* 18px */
  --font-size-xl: 1.25rem;      /* 20px */
  --font-size-2xl: 1.5rem;      /* 24px */
  --font-size-3xl: 1.875rem;    /* 30px */
  --font-size-4xl: 2.25rem;     /* 36px */
  --font-size-5xl: 3rem;        /* 48px */
  --font-size-6xl: 3.75rem;     /* 60px */
  
  /* Poids de police */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  
  /* Hauteur de ligne */
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;
  
  /* ============================================
     ESPACEMENTS
     ============================================ */
  
  --spacing-0: 0;
  --spacing-1: 0.25rem;    /* 4px */
  --spacing-2: 0.5rem;     /* 8px */
  --spacing-3: 0.75rem;    /* 12px */
  --spacing-4: 1rem;       /* 16px */
  --spacing-5: 1.25rem;    /* 20px */
  --spacing-6: 1.5rem;     /* 24px */
  --spacing-8: 2rem;       /* 32px */
  --spacing-10: 2.5rem;    /* 40px */
  --spacing-12: 3rem;      /* 48px */
  --spacing-16: 4rem;      /* 64px */
  --spacing-20: 5rem;      /* 80px */
  --spacing-24: 6rem;      /* 96px */
  --spacing-32: 8rem;      /* 128px */
  
  /* ============================================
     BORDER RADIUS
     ============================================ */
  
  --radius-none: 0;
  --radius-sm: 0.25rem;     /* 4px */
  --radius-base: 0.375rem;  /* 6px */
  --radius-md: 0.5rem;      /* 8px */
  --radius-lg: 0.75rem;     /* 12px */
  --radius-xl: 1rem;        /* 16px */
  --radius-2xl: 1.25rem;    /* 20px */
  --radius-3xl: 1.5rem;     /* 24px */
  --radius-full: 9999px;
  
  /* ============================================
     OMBRES
     ============================================ */
  
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-base: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-2xl: 0 30px 60px rgba(0, 0, 0, 0.3);
  
  /* Ombres colorées */
  --shadow-primary: 0 10px 30px rgba(232, 78, 27, 0.3);
  --shadow-secondary: 0 10px 30px rgba(26, 54, 93, 0.2);
  
  /* ============================================
     TRANSITIONS
     ============================================ */
  
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 400ms cubic-bezier(0.16, 1, 0.3, 1);
  
  /* ============================================
     Z-INDEX
     ============================================ */
  
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  
  /* ============================================
     BREAKPOINTS (pour référence dans JS)
     ============================================ */
  
  --breakpoint-sm: 640px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
  --breakpoint-2xl: 1536px;
  
  /* ============================================
     DIMENSIONS
     ============================================ */
  
  --container-max-width: 1280px;
  --header-height: 80px;
  --footer-height: auto;
  
  /* ============================================
     COMPOSANTS SPÉCIFIQUES
     ============================================ */
  
  /* Boutons */
  --btn-padding-x: 1.5rem;
  --btn-padding-y: 0.75rem;
  --btn-border-radius: var(--radius-lg);
  
  /* Cards */
  --card-padding: 1.5rem;
  --card-border-radius: var(--radius-xl);
  --card-shadow: var(--shadow-base);
  
  /* Inputs */
  --input-padding-x: 1rem;
  --input-padding-y: 0.75rem;
  --input-border-radius: var(--radius-md);
  --input-border-color: var(--color-gray-300);
  --input-focus-border-color: var(--color-primary);
}

/* ============================================
   MODE SOMBRE (Optionnel - décommenter si besoin)
   ============================================ */

/*
@media (prefers-color-scheme: dark) {
  :root {
    --color-bg-primary: #1f2937;
    --color-bg-secondary: #111827;
    --color-text-primary: #f9fafb;
    --color-text-secondary: #d1d5db;
  }
}
*/

/* ============================================
   CLASSES UTILITAIRES GLOBALES
   ============================================ */

.container {
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--spacing-4);
  padding-right: var(--spacing-4);
}

@media (min-width: 640px) {
  .container {
    padding-left: var(--spacing-6);
    padding-right: var(--spacing-6);
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: var(--spacing-8);
    padding-right: var(--spacing-8);
  }
}

/* ============================================
   NOTES D'UTILISATION
   ============================================
   
   Pour personnaliser rapidement le site pour un nouveau client :
   
   1. Modifiez les couleurs principales :
      - --color-primary (CTA, boutons, liens)
      - --color-secondary (headers, sections)
      - --color-accent (badges, highlights)
   
   2. Les gradients s'adapteront automatiquement
   
   3. Pour un changement complet de thème :
      - Orange → Bleu : remplacez #E84E1B par #3B82F6
      - Rouge → Vert : remplacez #E84E1B par #10B981
   
   ============================================ */
