/* ========================================
   CNESST/TÉLUQ Design System - Variables CSS
   Réutilisable pour d'autres projets
   WCAG 2.1 AA Compliant
   ======================================== */

:root {
  /* ========================================
     Couleurs principales
     ======================================== */

  /* Vert principal - Header, boutons, accents */
  --primary-color: #008A00;
  --primary-hover: #007500;
  --primary-dark: #006000;
  --primary-light: #00A000;
  --primary-bg-light: #E8F5E8;

  /* Vert accent - Ligne décorative sous titres */
  --accent-green: #73AA17;

  /* Vert action - Boutons d'action */
  --action-color: #008A00;
  --action-hover: #007500;
  --action-dark: #006000;

  /* ========================================
     Couleurs secondaires
     ======================================== */

  --secondary-color: #495057;
  --secondary-bg: #6c757d;

  /* ========================================
     Couleurs d'état
     ======================================== */

  /* Succès */
  --success-color: #28a745;
  --success-bg: #d4edda;
  --success-border: #28a745;

  /* Avertissement/Alert - Boîtes d'intro orange */
  --warning-color: #E65100;
  --warning-bg: #FF6D00;
  --warning-border: #E65100;
  --warning-text: #ffffff;

  /* Danger/Erreur - Rouge pour astérisques */
  --danger-color: #D80000;
  --danger-text: #D80000;
  --danger-text-dark: #A00000;
  --danger-bg: #f8d7da;
  --danger-border: #D80000;

  /* Info/Aide - Boîtes d'aide vertes */
  --info-color: #008A00;
  --info-text: #006000;
  --info-bg: #E8F5E8;
  --info-bg-light: #E8F5E8;
  --info-bg-lighter: #F0FAF0;

  /* ========================================
     Couleurs de texte
     ======================================== */

  --text-primary: #212529;
  --text-secondary: #495057;
  --text-light: #6c757d;
  --text-muted: #868e96;
  --text-dark: #333333;
  --text-white: #ffffff;

  /* ========================================
     Couleurs d'arrière-plan
     ======================================== */

  --bg-white: #ffffff;
  --bg-light: #f8f9fa;
  --bg-lighter: #F5F7F9;
  --bg-dark: #212529;
  --bg-black: #000000;
  --bg-disabled: #e9ecef;
  --bg-yellow: #ffff00;

  /* ========================================
     Bordures
     ======================================== */

  --border-color: #dee2e6;
  --border-light: #e9ecef;
  --border-radius: 0.25rem;
  --border-radius-lg: 0.5rem;
  --border-radius-sm: 0.125rem;

  /* ========================================
     Typographie
     ======================================== */

  --font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-family-mono: 'Roboto Mono', 'Consolas', 'Monaco', monospace;

  /* Tailles de police */
  --font-size-xs: 0.75rem;
  /* 12px */
  --font-size-sm: 0.8125rem;
  /* 13px */
  --font-size-base: 0.9375rem;
  /* 15px */
  --font-size-md: 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 */

  /* Poids de police */
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Hauteur de ligne */
  --line-height-tight: 1.25;
  --line-height-base: 1.6;
  --line-height-relaxed: 1.75;

  /* ========================================
     Espacement
     ======================================== */

  --spacing-xs: 0.25rem;
  /* 4px */
  --spacing-sm: 0.5rem;
  /* 8px */
  --spacing-md: 1rem;
  /* 16px */
  --spacing-lg: 1.5rem;
  /* 24px */
  --spacing-xl: 2rem;
  /* 32px */
  --spacing-xxl: 3rem;
  /* 48px */
  --spacing-3xl: 4rem;
  /* 64px */

  /* ========================================
     Layout
     ======================================== */

  --max-width: 1000px;
  --max-width-sm: 640px;
  --max-width-md: 768px;
  --max-width-lg: 1024px;
  --max-width-xl: 1280px;

  --container-padding: 1.5rem;
  --container-padding-sm: 1rem;

  /* ========================================
     Ombres
     ======================================== */

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 4px 8px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 8px 16px rgba(0, 0, 0, 0.2);

  /* ========================================
     Transitions
     ======================================== */

  --transition-fast: 0.15s ease;
  --transition-base: 0.2s ease;
  --transition-slow: 0.3s ease;

  /* ========================================
     Z-index
     ======================================== */

  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-tooltip: 600;

  /* ========================================
  Logo sizes (height; width is auto)
  ======================================== */
  --logo-teluq-height: 56px;
  --logo-cnesst-height: 48px;
  --logo-teluq-height-sm: 44px;
  --logo-cnesst-height-sm: 38px;
  --logo-teluq-height-xs: 36px;
  --logo-cnesst-height-xs: 32px;

}