/* ==========================================================
   VIGIL.AI — PALETTE TOKENS GLOBAUX
   Palette B "Bois & Lin" — chaleureuse, audit nuit 2026-05-04
   Pour aidants 45-65 ans : lin naturel, brun chêne, vert mousse, cuivré.
   Seule palette à passer WCAG AA sans ajustement (5.05:1 bouton, 13:1 texte).

   IMPORTANT : ce fichier doit être chargé EN PREMIER dans <head>, AVANT
   style.css / style-landing.css / dashboard-tokens.css. Il définit les
   variables au niveau :root global pour éviter le bug commit 332d00f
   (variables scopées sous #landing-view.landing-b ne cascadaient pas
   correctement, contenu invisible — cf tasks/rollback-palette-b-20260505-0030
   et redeploy-palette-b-20260505-0050).
   ========================================================== */

:root {
  /* Palette B "Bois & Lin" */
  --bg: #F8F3EC;             /* lin naturel — fond général chaleureux */
  --surface: #EDE6D8;        /* lin foncé — cards, bandeaux */
  --border: #D5C8B5;         /* lin bordure — séparateurs doux */
  --text: #2A1C10;           /* brun très foncé — texte principal (contraste 13:1 sur bg) */
  --text-mute: #7B6048;      /* noisette — texte secondaire */
  --text-faint: #8E7558;     /* noisette clair — méta, captions (WCAG AA 4.7:1) */
  --vital: #537A54;          /* vert naturel — santé / OK */
  --alert: #A84040;          /* rouge-brique sombre — alertes (chaleureux, pas criard) */
  --data: #B07848;           /* cuivré doux — accent données */
  --primary: #8B5E3C;        /* brun chêne — boutons CTA principaux */
  --primary-dark: #6B4228;   /* noyer foncé — hover, états actifs */
  --secondary: #6B8C5A;      /* vert mousse — sections secondaires, badges */
  --accent: #B07848;         /* cuivré doux — éléments positifs, icônes */
  --success: #537A54;        /* vert naturel — confirmations */
  --warning: #C09040;        /* ambre bois — avertissements */
  --danger: #A84040;         /* rouge-brique sombre — alertes critiques */

  /* Aliases compat dashboard (ancien style.css utilisait --bg-2, --bg-3, --fg, --fg-dim, --accent-ink) */
  --bg-2: #EDE6D8;           /* surface 2 (cards) — alias --surface */
  --bg-3: #D5C8B5;           /* surface 3 (hover) — alias --border */
  --fg: #2A1C10;             /* texte foncé — alias --text */
  --fg-dim: #7B6048;         /* texte secondaire — alias --text-mute */
  --accent-ink: #FFFFFF;     /* texte sur accent (blanc, contraste sur brun chêne) */
  --accent-light: #EDE6D8;   /* accent clair — alias --surface */
  --accent-dark: #6B4228;    /* accent foncé — alias --primary-dark */
  --card: #EDE6D8;           /* card background — alias --surface */
  --card-2: #D5C8B5;         /* card 2 — alias --border */
  --text-muted: #7B6048;     /* alias --text-mute */

  /* Phase A migration v3 chaleureuse — 2026-05-05 */
  --warmth: #C7956A;          /* rose-cuivré highlights humains */
  --vital-soft: #7BA274;      /* vert mousse doux "tout va bien" */
  --skin-warm: #F4E4D4;       /* lin rosé fond témoignages */
  --terracotta: #B86A48;      /* terracotta accent CTA */
}
