/* ============================================================
   OleaFlow — Color primitives
   Olive (primary) · Gold/Huile (accent) · Stone (neutrals) · Semantics
   Authored in oklch for perceptually-even ramps.
   ============================================================ */

:root {
  /* --- Olive (primary / brand) — the olive grove ---------------- */
  --olive-50:  oklch(0.971 0.020 132);
  --olive-100: oklch(0.940 0.040 132);
  --olive-200: oklch(0.884 0.062 134);
  --olive-300: oklch(0.806 0.082 136);
  --olive-400: oklch(0.690 0.098 138);
  --olive-500: oklch(0.585 0.100 140);
  --olive-600: oklch(0.505 0.098 141);  /* primary */
  --olive-700: oklch(0.432 0.086 143);
  --olive-800: oklch(0.360 0.068 145);
  --olive-900: oklch(0.288 0.050 147);
  --olive-950: oklch(0.205 0.034 149);

  /* --- Gold / Huile (accent) — the oil itself ------------------- */
  --gold-50:  oklch(0.984 0.020 92);
  --gold-100: oklch(0.957 0.048 90);
  --gold-200: oklch(0.910 0.090 87);
  --gold-300: oklch(0.860 0.118 84);
  --gold-400: oklch(0.805 0.135 82);
  --gold-500: oklch(0.748 0.138 80);   /* accent */
  --gold-600: oklch(0.668 0.128 70);
  --gold-700: oklch(0.566 0.108 60);
  --gold-800: oklch(0.466 0.086 55);
  --gold-900: oklch(0.382 0.066 52);

  /* --- Stone (neutrals) — warm, faint olive cast --------------- */
  --stone-0:   oklch(1 0 0);
  --stone-50:  oklch(0.985 0.004 120);
  --stone-100: oklch(0.965 0.006 120);
  --stone-150: oklch(0.945 0.007 120);
  --stone-200: oklch(0.918 0.008 122);
  --stone-300: oklch(0.868 0.009 124);
  --stone-400: oklch(0.722 0.011 126);
  /* stone-500 assombri 0.585 → 0.543 : --text-muted atteint 4.50:1 sur --surface-app
     et 4.98:1 sur --surface-card (WCAG AA). Cf. docs/refonte/DESIGN_SYSTEM.md §Contraste. */
  --stone-500: oklch(0.543 0.012 128);
  --stone-600: oklch(0.482 0.012 132);
  --stone-700: oklch(0.392 0.012 136);
  --stone-800: oklch(0.300 0.012 140);
  --stone-900: oklch(0.232 0.011 144);
  --stone-950: oklch(0.165 0.010 147);

  /* --- Semantic hues (normalized — the audit fix) -------------- */
  --green-100: oklch(0.940 0.045 150);
  --green-200: oklch(0.880 0.075 150);
  --green-500: oklch(0.620 0.130 150);
  --green-700: oklch(0.470 0.105 152);

  --amber-100: oklch(0.955 0.045 80);
  --amber-200: oklch(0.905 0.085 80);
  --amber-500: oklch(0.780 0.140 75);
  /* amber-700 assombri 0.580 → 0.543 : le badge « warning » (fg sur --amber-100)
     passait à 3.87:1, il atteint 4.51:1 (WCAG AA). */
  --amber-700: oklch(0.543 0.115 60);

  --red-100: oklch(0.945 0.035 25);
  --red-200: oklch(0.892 0.065 25);
  --red-500: oklch(0.585 0.185 27);
  --red-700: oklch(0.470 0.165 27);

  --blue-100: oklch(0.945 0.030 240);
  --blue-200: oklch(0.890 0.055 242);
  --blue-500: oklch(0.595 0.125 244);
  --blue-700: oklch(0.470 0.115 248);

  --violet-100: oklch(0.945 0.030 305);
  --violet-200: oklch(0.895 0.055 305);
  --violet-500: oklch(0.560 0.150 300);
  --violet-700: oklch(0.450 0.140 300);
}
