/**
 * Albion Craft Pro — design tokens (Phase 9.2)
 * Source unique pour couleurs, espacements, typo, ombres.
 * Chargé avant style.css sur toutes les pages.
 */
:root {
  /* Surfaces */
  --bg: #0f1419;
  --bg-deep: #0a0e14;
  --surface: #1a2332;
  --surface-raised: #1e2838;
  --input-bg: #111822;
  --border: #2d3a4f;
  --border-accent: rgba(201, 162, 39, .35);

  /* Texte */
  --text: #e8edf5;
  --muted: #9aa8bc;

  /* Marque — or Albion Craft Pro */
  --accent: #c9a227;
  --accent-hover: #e0b82e;
  --accent-soft: rgba(201, 162, 39, .12);
  --accent-glow: rgba(201, 162, 39, .22);

  /* Sémantique profit / perte */
  --success: #3ecf8e;
  --success-soft: rgba(62, 207, 142, .12);
  --error: #ff6b6b;
  --error-soft: rgba(255, 107, 107, .15);

  /* Pro / premium */
  --pro-blue: #7cb8ff;
  --pro-blue-soft: rgba(124, 184, 255, .18);

  /* Discord (neutre, pas de la marque) */
  --discord: #5865f2;
  --discord-hover: #4752c4;

  /* Espacements */
  --space-2xs: .25rem;
  --space-xs: .5rem;
  --space-sm: .75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 2.5rem;

  /* Rayons */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* Typo */
  --font-sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-tabular: tabular-nums;

  /* Ombres */
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, .2);
  --shadow-md: 0 12px 36px rgba(0, 0, 0, .28);
  --shadow-lg: 0 20px 52px rgba(0, 0, 0, .32);
  --shadow-gold: 0 16px 48px rgba(201, 162, 39, .14);

  /* Focus accessibilité */
  --focus-ring: 0 0 0 2px var(--bg-deep), 0 0 0 4px var(--accent);

  /* Layout */
  --container-max: 1100px;
  --container-narrow: 720px;
  --header-z: 100;
}
