/* ============================================================
   DESIGN SYSTEM — SM Construction
   Variables CSS globales — source de vérité unique
   ============================================================ */

:root {

  /* ── COULEURS PRIMAIRES ── */
  --vert-fonce:    #2A5C2A;
  --vert-moyen:    #3A7A3A;
  --vert-clair:    #4E9E4E;
  --vert-hero:     rgba(42, 92, 42, 0.93);
  --vert-hero-2:   rgba(22, 55, 22, 0.88);

  /* ── COULEURS SECONDAIRES ── */
  --orange-vif:    #F5A623;
  --orange-chaud:  #E8941A;
  --orange-pale:   #FDE8BF;
  --orange-glow:   rgba(245, 166, 35, 0.35);

  /* ── NEUTRES ── */
  --noir:          #1A1A1A;
  --gris-fonce:    #2D2D2D;
  --gris-moyen:    #6B6B6B;
  --gris-clair:    #E8E8E8;
  --gris-bg:       #F2F2F0;
  --blanc:         #FFFFFF;
  --blanc-casse:   #F8F6F2;

  /* ── TYPOGRAPHIE ── */
  --font-titre:    'Barlow Condensed', sans-serif;
  --font-corps:    'Lato', sans-serif;

  /* ── TAILLES DE TEXTE ── */
  --text-hero:     clamp(42px, 6vw, 72px);
  --text-h2:       clamp(32px, 4vw, 44px);
  --text-h3:       clamp(20px, 2.5vw, 26px);
  --text-body:     16px;
  --text-small:    14px;
  --text-label:    11px;
  --text-caption:  12px;

  /* ── ESPACEMENTS (système 8pt) ── */
  --space-xs:      4px;
  --space-sm:      8px;
  --space-md:      16px;
  --space-lg:      24px;
  --space-xl:      32px;
  --space-2xl:     48px;
  --space-3xl:     64px;
  --space-4xl:     80px;
  --space-5xl:     96px;

  --section-py:    80px;
  --container-max: 1200px;
  --gap-cards:     24px;

  /* ── BORDER RADIUS ── */
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --radius-full:   9999px;

  /* ── OMBRES ── */
  --shadow-xs:  0 1px 3px rgba(0,0,0,0.06);
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.18);
  --shadow-xl:  0 16px 60px rgba(0,0,0,0.24);
  --shadow-green: 0 4px 24px rgba(42,92,42,0.25);
  --shadow-orange: 0 6px 24px rgba(245,166,35,0.40);

  /* ── TRANSITIONS ── */
  --transition:       all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast:  all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:  all 0.45s cubic-bezier(0.4, 0, 0.2, 1);

  /* ── Z-INDEX ── */
  --z-base:     0;
  --z-above:    10;
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-overlay:  500;
  --z-modal:    1000;
  --z-toast:    2000;
  --z-float:    999;
}
