/* ═══════════════════════════════════════════════════════════════
   PULPE! — DESIGN TOKENS v2
   Combinaison typo retenue : Combo 5
     • Titres : Crimson Pro (serif raffiné, italiques affirmés)
     • UI : Clash Grotesk (sans-serif moderne avec caractère)
     • Texte : Clash Grotesk (déclinaison normale)
     • Mono : IBM Plex Mono

   Direction : "Éditorial Précis"
   Mode visuel : carte crème sur fond bleu nuit (hybride)
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=IBM+Plex+Mono:wght@400;500;600;700&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=clash-grotesk@400,500,600,700&display=swap');

:root {

  /* ─── COULEURS — bleu nuit ─── */
  --navy-950: #050B17;
  --navy-900: #0A1628;
  --navy-800: #0F1B33;
  --navy-700: #152340;
  --navy-600: #1E2D4F;

  /* ─── COULEURS — indigo ─── */
  --indigo-900: #312E81;
  --indigo-700: #3730A3;
  --indigo-600: #4338CA;
  --indigo-500: #6366F1;
  --indigo-400: #818CF8;

  /* ─── COULEURS — lavande ─── */
  --lavender-400: #A5B4FC;
  --lavender-300: #C7D2FE;
  --lavender-200: #DDD6FE;
  --lavender-100: #EEF2FF;

  /* ─── COULEURS — crème ─── */
  --cream-50:  #FDFCF7;
  --cream-100: #F9F6EF;
  --cream-200: #F0EAE0;

  /* ─── COULEURS — texte ─── */
  --text-strong: #1F1B18;
  --text-default: #2D2A26;
  --text-muted: #6B6660;
  --text-subtle: #9A9388;
  --text-on-dark: #F5F1E8;
  --text-on-dark-muted: rgba(245, 241, 232, 0.65);
  --text-on-dark-subtle: rgba(245, 241, 232, 0.40);

  /* ─── COULEURS — états ─── */
  --green-500: #22C55E;
  --green-300: #86EFAC;
  --green-100: rgba(34, 197, 94, 0.12);
  --amber-500: #F59E0B;
  --red-500:   #DC2626;

  /* ─── POLICES (Combo 5) ─── */
  --font-display: 'Crimson Pro', Georgia, serif;
  --font-ui: 'Clash Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Clash Grotesk', 'Inter', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', 'JetBrains Mono', monospace;

  /* ─── ESPACEMENT ─── */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* ─── RAYONS ─── */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-3xl: 32px;
  --radius-pill: 9999px;

  /* ─── OMBRES ─── */
  --shadow-sm: 0 2px 4px rgba(10, 22, 40, 0.06), 0 1px 2px rgba(10, 22, 40, 0.04);
  --shadow-md: 0 4px 12px rgba(10, 22, 40, 0.08), 0 2px 4px rgba(10, 22, 40, 0.04);
  --shadow-lg: 0 12px 32px rgba(10, 22, 40, 0.12), 0 4px 8px rgba(10, 22, 40, 0.06);
  --shadow-xl: 0 24px 64px rgba(10, 22, 40, 0.16), 0 8px 16px rgba(10, 22, 40, 0.08);
  --shadow-2xl: 0 40px 96px rgba(10, 22, 40, 0.20), 0 16px 32px rgba(10, 22, 40, 0.10);
  --shadow-indigo: 0 10px 28px rgba(67, 56, 202, 0.32), 0 4px 8px rgba(67, 56, 202, 0.16);

  /* Carte crème sur fond sombre — ombre signature */
  --shadow-card-floating: 0 32px 80px rgba(0, 0, 0, 0.5),
                          0 16px 32px rgba(67, 56, 202, 0.15),
                          0 0 1px rgba(255, 255, 255, 0.1);

  /* ─── TRANSITIONS ─── */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --duration-fast: 200ms;
  --duration-normal: 320ms;
  --duration-slow: 480ms;
}
