/* ═══════════════════════════════════════════════════════════════
   VARIABLES CSS - Palette sobre et audacieuse
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Couleurs principales */
  --color-bg: #FAFAF8;
  --color-bg-alt: #F5F5F0;
  --color-text: #1A1A1A;
  --color-text-light: #6B6B6B;
  
  /* Couleur d'accentuation */
  --color-accent: #1E3A5F;
  --color-accent-light: #2A4D7D;
  --color-accent-dark: #152943;
  
  /* Couleur d'action */
  --color-action: #D75A28;
  --color-action-hover: #C04E20;
  
  /* Couleurs fonctionnelles */
  --color-success: #2D7A4F;
  --color-warning: #D97B2A;
  --color-error: #C73E1D;
  
  /* Couleurs de type publication */
  --color-article: #2D7A4F;
  --color-chapitre: #D97B2A;
  --color-communication: #5B7BA7;
  
  /* Ombres */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
  
  /* Typographie */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 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 */
  --text-6xl: 3.75rem;     /* 60px */
  --text-7xl: 4.5rem;      /* 72px */
  --text-8xl: 6rem;        /* 96px */
  --text-9xl: 8rem;        /* 128px */
  
  /* 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 */
  --space-24: 6rem;        /* 96px */
  --space-32: 8rem;        /* 128px */
  
  /* Bordures */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 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;
  
  /* Container */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-narrow: 800px;
}

/* ═══════════════════════════════════════════════════════════════
   MODE SOMBRE (optionnel - à activer via toggle)
   ═══════════════════════════════════════════════════════════════ */

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0F0F0F;
    --color-bg-alt: #1A1A1A;
    --color-text: #E8E8E8;
    --color-text-light: #A0A0A0;
    --color-accent: #4A6FA5;
    --color-accent-light: #5B7FB5;
    --color-accent-dark: #3A5F95;
  }
}
