/* ==========================================================================
   ROOMPLAY — Design tokens
   Toute la direction artistique se règle ici : couleurs, typographies,
   espacements, rayons, ombres et mouvements.
   ========================================================================== */

:root {
  color-scheme: dark;

  /* Fonds — noir chaud, jamais pur ------------------------------------- */
  --color-bg: #0b0a09;
  --color-bg-soft: #100f0d;
  --color-surface: #161412;
  --color-surface-2: #1d1a17;
  --color-surface-glass: rgba(22, 20, 18, 0.72);
  --color-line: rgba(243, 238, 230, 0.09);
  --color-line-strong: rgba(243, 238, 230, 0.18);

  /* Texte ---------------------------------------------------------------- */
  --color-text: #f3eee6;
  --color-text-soft: #cbc4b8;
  --color-text-muted: #948c80;

  /* Accent champagne ----------------------------------------------------- */
  --color-gold: #d6b97f;
  --color-gold-soft: #ead7ae;
  --color-gold-deep: #a8884f;
  --color-gold-tint: rgba(214, 185, 127, 0.1);
  --color-on-gold: #17120a;
  --gradient-gold: linear-gradient(135deg, #f2e1b9 0%, #d6b97f 48%, #b39258 100%);

  /* Accents produits (halos, détails) ------------------------------------ */
  --accent-ps5: #4f7dff;
  --accent-xbox: #45c26f;
  --accent-vr: #9d7dff;
  --accent-switch: #ff5a62;
  --accent-jeux: #d6b97f;
  --accent: var(--color-gold);

  /* États ---------------------------------------------------------------- */
  --color-success: #8fd3ad;
  --color-error: #ff8f80;
  --color-whatsapp: #25d366;

  /* Typographies --------------------------------------------------------- */
  --font-display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-2xs: 0.6875rem;                                  /* 11px */
  --fs-xs: 0.75rem;                                     /* 12px */
  --fs-sm: 0.875rem;                                    /* 14px */
  --fs-base: 1rem;                                      /* 16px */
  --fs-md: 1.0625rem;                                   /* 17px */
  --fs-lg: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-xl: clamp(1.625rem, 1.3rem + 1.4vw, 2.25rem);
  --fs-2xl: clamp(2.25rem, 1.6rem + 3vw, 3.75rem);
  --fs-3xl: clamp(2.75rem, 1.8rem + 4.4vw, 5.75rem);
  --fs-4xl: clamp(3.25rem, 2rem + 6vw, 7rem);

  --lh-tight: 1.02;
  --lh-snug: 1.25;
  --lh-base: 1.6;

  --tracking-wide: 0.14em;
  --tracking-wider: 0.26em;

  /* Espacements ---------------------------------------------------------- */
  --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: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  --gutter: clamp(1.25rem, 5vw, 3rem);
  --container: 1200px;
  --container-narrow: 760px;
  --section-y: clamp(4.5rem, 11vw, 8.5rem);

  /* Rayons --------------------------------------------------------------- */
  --radius-xs: 4px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  /* Ombres --------------------------------------------------------------- */
  --shadow-soft: 0 12px 32px -14px rgba(0, 0, 0, 0.7);
  --shadow-lift: 0 34px 70px -28px rgba(0, 0, 0, 0.85);
  --shadow-gold: 0 14px 36px -14px rgba(214, 185, 127, 0.55);

  /* Mouvement ------------------------------------------------------------ */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 180ms;
  --dur-base: 320ms;
  --dur-slow: 800ms;

  /* Ergonomie & mise en page --------------------------------------------- */
  --header-h: 64px;
  --tap: 48px;          /* zone tactile minimale */
  --cta-h: 56px;        /* hauteur des boutons principaux (pouce) */
  --sticky-h: 84px;     /* barre de réservation mobile */

  --z-sticky: 40;
  --z-menu: 45;         /* sous l'en-tête : le bouton « fermer » reste visible */
  --z-header: 50;
  --z-grain: 90;
}

@media (min-width: 960px) {
  :root {
    --header-h: 80px;
  }
}
