/* ADIE Solutions — Color tokens
   Brand palette derived from the ADIE Group logo:
   - Green  #337A2E  (Les Impressions diamond) — ADIE Solutions primary
   - Gray   #666161  (La Bureautique diamond)   — neutral brand gray
   - Black  #000000  (Les Librairies diamond)   — ink */

:root {
  /* ---- Brand green scale ---- */
  --green-50:  #eff6ed;
  --green-100: #d6e8d0;
  --green-200: #afd2a4;
  --green-300: #82b873;
  --green-400: #5a9c49;
  --green-500: #337a2e; /* brand primary */
  --green-600: #2a6526;
  --green-700: #224f1e;
  --green-800: #1a3c18;
  --green-900: #122810;

  /* ---- Neutral (warm gray) scale ---- */
  --neutral-0:   #ffffff;
  --neutral-50:  #f7f6f6;
  --neutral-100: #edecec;
  --neutral-200: #dad8d8;
  --neutral-300: #bdbaba;
  --neutral-400: #948f8f;
  --neutral-500: #666161; /* brand gray */
  --neutral-600: #514d4d;
  --neutral-700: #3d3a3a;
  --neutral-800: #292727;
  --neutral-900: #161515;
  --ink:         #0a0a0a; /* brand black */

  /* ---- Group division accents ---- */
  --division-impressions: #337a2e; /* green */
  --division-bureautique: #666161; /* gray  */
  --division-librairies:  #0a0a0a; /* black */

  /* ---- Semantic ---- */
  --success-500: #337a2e;
  --success-50:  #eff6ed;
  --warning-500: #c8861a;
  --warning-50:  #fbf2e2;
  --danger-500:  #c2342b;
  --danger-50:   #fbeceb;
  --info-500:    #2563a8;
  --info-50:     #eaf1f9;

  /* ---- Semantic aliases ---- */
  --color-primary:        var(--green-500);
  --color-primary-hover:  var(--green-600);
  --color-primary-active: var(--green-700);
  --color-primary-subtle: var(--green-50);
  --color-on-primary:     var(--neutral-0);

  --text-strong:   var(--ink);
  --text-body:     var(--neutral-700);
  --text-muted:    var(--neutral-500);
  --text-subtle:   var(--neutral-400);
  --text-on-dark:  var(--neutral-0);
  --text-link:     var(--green-600);

  --surface-page:   var(--neutral-0);
  --surface-muted:  var(--neutral-50);
  --surface-card:   var(--neutral-0);
  --surface-sunken: var(--neutral-100);
  --surface-dark:   var(--ink);
  --surface-brand:  var(--green-500);

  --border-subtle: var(--neutral-200);
  --border-default: var(--neutral-300);
  --border-strong:  var(--neutral-400);
  --border-focus:   var(--green-500);
}
