/* ==========================================================================
   TESLA ELECTRIC - Système de Design
   Palette de couleurs professionnelle et variables CSS
   ========================================================================== */

:root {
  --color-accent-ink: #c2410c; /* orange lisible AA sur fond clair */
  --radius-sm: 4px;
  --radius-2xl: 24px;
  --shadow-sm: 0 1px 3px rgba(26, 54, 93, 0.08);
  --shadow-2xl: 0 25px 60px rgba(26, 54, 93, 0.18);
  /* -------------------------------------------------------------------------
     PALETTE DE COULEURS
     Inspirée des secteurs technique/énergie : bleu professionnel, accents solaires
     ------------------------------------------------------------------------- */

  /* Couleurs principales */
  --color-primary: #0f3d3e;        /* Vert profond */
  --color-primary-light: #146c6d;  /* Vert tropical */
  --color-primary-dark: #082f2e;   /* Vert dense */

  /* Couleur d'accent - Solaire */
  --color-accent: #f97316;         /* Orange solaire */
  --color-accent-light: #fb923c;   /* Orange clair */
  --color-accent-dark: #c2410c;    /* Orange foncé */


  /* Couleurs neutres */
  --color-white: #fff7ed;
  --color-gray-50: #fffbf5;
  --color-gray-100: #fef3e7;
  --color-gray-200: #fde7d3;
  --color-gray-300: #f7d1ad;
  --color-gray-400: #e9b88b;
  --color-gray-500: #c99262;
  --color-gray-600: #8a5f38;
  --color-gray-700: #6b4a2a;
  --color-gray-800: #3b2a1b;
  --color-gray-900: #25170f;

  /* Couleurs fonctionnelles */
  --color-success: #059669;        /* Vert - Validation, conformité */
  --color-warning: #facc15;        /* Jaune - Avertissement */

  /* -------------------------------------------------------------------------
     TYPOGRAPHIE
     Polices professionnelles et lisibles
     ------------------------------------------------------------------------- */

  --font-primary: 'Manrope', 'Segoe UI', Tahoma, sans-serif;
  --font-heading: 'Outfit', 'Segoe UI', Tahoma, sans-serif;

  /* Tailles de police */
  --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 */
  --text-5xl: 3rem;        /* 48px */

  /* Hauteurs de ligne */
  --leading-tight: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;

  /* Graisses */
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;

  /* -------------------------------------------------------------------------
     ESPACEMENTS
     ------------------------------------------------------------------------- */

  --space-1: 0.25rem;      /* 4px */
  --space-2: 0.5rem;       /* 8px */
  --space-3: 0.75rem;      /* 12px */
  --space-4: 1rem;         /* 16px */
  --space-5: 1.25rem;      /* 20px */
  --space-6: 1.5rem;       /* 24px */
  --space-8: 2rem;         /* 32px */
  --space-10: 2.5rem;      /* 40px */
  --space-12: 3rem;        /* 48px */
  --space-16: 4rem;        /* 64px */
  --space-20: 5rem;        /* 80px */

  /* -------------------------------------------------------------------------
     BORDURES ET ARRONDIS
     ------------------------------------------------------------------------- */

  --radius-md: 0.375rem;   /* 6px */
  --radius-lg: 0.5rem;     /* 8px */
  --radius-xl: 0.75rem;    /* 12px */
  --radius-full: 9999px;

  /* -------------------------------------------------------------------------
     OMBRES
     ------------------------------------------------------------------------- */

  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

  /* -------------------------------------------------------------------------
     TRANSITIONS
     ------------------------------------------------------------------------- */

  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;

  /* -------------------------------------------------------------------------
     LARGEURS CONTENEUR
     ------------------------------------------------------------------------- */

  --container-lg: 1024px;
  --container-xl: 1280px;

  /* -------------------------------------------------------------------------
     Z-INDEX
     ------------------------------------------------------------------------- */

  --z-fixed: 300;
  --z-modal: 500;
}
