/* Groupe E.A.D — tokens de la charte graphique v1.0
   À inclure AVANT toute autre feuille. Aucune valeur en dur dans les pages :
   color: var(--ead-navy), jamais #112b4f. */

:root {
  /* Marque */
  --ead-ink: #0a1a30;
  --ead-navy: #112b4f;
  --ead-navy-2: #1b4378;
  --ead-blue: #1f5aa6;
  --ead-gold: #e3a92f;
  --ead-gold-hover: #f0b941;
  --ead-gold-deep: #8a5a00;
  --ead-gold-soft: #f8ecd0;
  --ead-teal: #11a6a6;

  /* Surfaces et texte */
  --ead-white: #ffffff;
  --ead-paper: #f7f4ee;
  --ead-paper-2: #efeae0;
  --ead-text: #1a2333;
  --ead-muted: #5a6577;
  --ead-line: rgba(10, 26, 48, 0.10);
  --ead-line-strong: rgba(10, 26, 48, 0.18);

  /* États (jamais décoratifs) */
  --ead-success: #1e7f4f;
  --ead-warning: #b45309;
  --ead-danger: #c0392b;
  --ead-info: var(--ead-blue);

  /* Typographie */
  --ead-font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --ead-font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Espace (base 4 px) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --ead-tap: 44px;

  /* Rayons */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Élévation : trois ombres seulement */
  --shadow-sm: 0 1px 2px rgba(10, 26, 48, 0.06), 0 2px 8px rgba(10, 26, 48, 0.05);
  --shadow-md: 0 10px 30px -12px rgba(10, 26, 48, 0.22);
  --shadow-lg: 0 30px 60px -25px rgba(10, 26, 48, 0.35);

  /* Mouvement */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-press: 90ms;
  --dur-fast: 160ms;
  --dur-base: 240ms;
  --dur-slow: 400ms;

  /* Halo de focus or */
  --ead-focus-ring: 0 0 0 4px rgba(227, 169, 47, 0.30);
}

/* Thème sombre : espaces connectés seulement (<html data-theme="dark">) */
:root[data-theme="dark"] {
  --ead-blue: #6aa3ec;
  --ead-gold-deep: #e3a92f;
  --ead-gold-soft: #3a2f17;
  --ead-white: #0f1d33;
  --ead-paper: #0a1628;
  --ead-paper-2: #13233d;
  --ead-text: #e6ebf2;
  --ead-muted: #a9b4c4;
  --ead-line: rgba(255, 255, 255, 0.10);
  --ead-line-strong: rgba(255, 255, 255, 0.18);
  --ead-success: #4fc28a;
  --ead-warning: #f0a24a;
  --ead-danger: #f07a6e;
}
