/* Design System — D impulsion (Direction A : Studio Produit / Tech Moderne) */
:root {
  color-scheme: light;

  /* Brand palette (exact tokens from D impulsion identity) */
  --blue: #216afe;
  --blue-deep: #1458e6;
  --blue-glow: rgba(33, 106, 254, 0.22);
  --blue-soft: rgba(33, 106, 254, 0.08);

  --ink: #141c24;
  --ink-deep: #0b1016;
  --ink-surface: #151e28;
  --ink-surface-2: #1c2734;

  --bg: #fafaf9;
  --surface: #ffffff;
  --surface-subtle: #f2f4f7;
  --header-bg: rgba(250, 250, 249, 0.9);
  --grid-line: rgba(20, 28, 36, 0.035);

  --muted: #53616c;
  --muted-dark: #9ba8b6;

  --line: #dde3ea;
  --line-strong: #c8d1dc;
  --line-dark: rgba(255, 255, 255, 0.11);
  --line-dark-strong: rgba(255, 255, 255, 0.2);

  /* Typography */
  --font-display: 'Bricolage Grotesque', system-ui, -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  /* Layout & Spacing */
  --gutter: clamp(20px, 4vw, 56px);
  --container: min(calc(100% - 2 * var(--gutter)), 1320px);
  --section-space: clamp(72px, 8vw, 128px);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 180ms;
  --dur-med: 320ms;
}

:root[data-theme='dark'] {
  color-scheme: dark;

  --blue: #216afe;
  --blue-deep: #7ca8ff;
  --blue-glow: rgba(33, 106, 254, 0.3);
  --blue-soft: rgba(33, 106, 254, 0.18);

  --ink: #f1f5f9;
  --ink-deep: #070b10;
  --ink-surface: #111823;
  --ink-surface-2: #182231;

  --bg: #0c121a;
  --surface: #121a24;
  --surface-subtle: #0f1620;
  --header-bg: rgba(12, 18, 26, 0.88);
  --grid-line: rgba(255, 255, 255, 0.04);

  --muted: #9aa7b6;
  --muted-dark: #9aa7b6;

  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.22);
}
