/* ==========================================================================
   Pop'n Joy — Design Tokens
   Source unique de vérité. Aucune section ne dévie de ces valeurs.
   ========================================================================== */

:root {
  /* ---- Couleurs : fonds ---- */
  --color-bg: #121414;            /* fond principal — jamais #000 pur */
  --color-bg-elevated: #191c1d;
  --color-surface: #1e2224;

  /* ---- Couleurs : texte ---- */
  --color-text: #e3e2e2;          /* jamais blanc pur */
  --color-text-muted: #9ba3a4;
  --color-text-faint: #6d7576;
  --color-text-on-accent: #1b0e13;

  /* ---- Couleurs : marque ---- */
  --color-accent: #ef7d9d;        /* rose corail Pop'n Joy */
  --color-accent-strong: #e75f87;
  --color-accent-soft: #f3cfdc;   /* rose poudré du logo */
  --color-brand-blue: #33549e;    /* bleu roi du logo */
  --color-brand-blue-deep: #24407e;
  --color-success: #4fc98d;
  --color-whatsapp: #25d366;

  /* ---- Palette éditoriale crème (sections Explore / Follow) ---- */
  --cream-bg: #f6efe4;
  --cream-bg-soft: #fbf6ed;
  --cream-card: #fffdf7;
  --cream-ink: #2f2721;
  --cream-ink-muted: #756757;
  --cream-ink-faint: #a3937f;
  --cream-caramel: #9c6228;
  --cream-border: rgba(84, 60, 34, 0.12);
  --cream-glass: rgba(255, 255, 255, 0.5);
  --cream-shadow-sm: 0 6px 18px rgba(84, 60, 34, 0.08);
  --cream-shadow-md: 0 16px 40px rgba(84, 60, 34, 0.13);
  --cream-shadow-lg: 0 28px 70px rgba(84, 60, 34, 0.18);

  /* ---- Glassmorphism ---- */
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-bg-strong: rgba(255, 255, 255, 0.10);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-blur: 18px;

  /* ---- Typographie ---- */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
  --text-3xl: clamp(2rem, 1.5rem + 2.5vw, 3.25rem);
  --text-hero: clamp(2.5rem, 1.8rem + 3.8vw, 4.6rem);

  /* ---- Espacement ---- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-section: clamp(4rem, 3rem + 5vw, 7.5rem);
  --container-max: 1280px;
  --container-pad: clamp(1rem, 4vw, 2.5rem);

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

  /* ---- Ombres ---- */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55);
  --shadow-accent: 0 8px 28px rgba(239, 125, 157, 0.35);

  /* ---- Animation ---- */
  --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.2, 0.4, 1);
  --duration-fast: 250ms;
  --duration-base: 450ms;
  --duration-slow: 600ms;
  --duration-slower: 750ms;

  /* ---- Échelle z-index unifiée ---- */
  --z-below: -1;
  --z-base: 1;
  --z-raised: 10;
  --z-header: 100;
  --z-float: 150;
  --z-overlay: 190;
  --z-drawer: 200;
  --z-toast: 300;
}
