/* ==========================================================================
   Colline Liquid Glass UI — Framework Web Frugal & Éco-conçu
   Propriété exclusive de La Colline Boisée (Salty Vision Holding)

   Source officielle unique : /framework/colline-glass.css
   Pour toute modification, éditez la source dans /framework/ puis synchronisez :
   bash scripts/sync-framework.sh
   ========================================================================== */

/* ==========================================================================
   COLLINE LIQUID GLASS UI — DESIGN SYSTEM PROPRIÉTAIRE HAUT DE GAMME
   Conçu et développé par La Colline Boisée — Studio de Conception Numérique.
   Moteur de rendu d'interface universel pour concevoir des sites clients d'exception.
   Zéro dépendance • Architecture ultra-légère • Performance 100/100.
   Gère : physique du verre, biseaux, reflets spéculaires, formes, boutons,
          barre de navigation, tiroir mobile, footer 1 ligne et responsive.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS GÉOMÉTRIQUES & VARIABLES NEUTRES PAR DÉFAUT
   -------------------------------------------------------------------------- */
:root {
  /* Typographie Système Native par défaut */
  --font-system: system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-brand: var(--font-system);

  /* Encres : Règle absolue du contraste (100% Noir Pur / Blanc Pur) */
  --ink-primary: #000000;
  --ink-secondary: #000000;
  --ink-tertiary: #000000;
  --ink-on-accent: #ffffff;

  /* Palette neutre par défaut (surchargée par chaque site vitrine) */
  --bg-base: #f8fafc;
  --accent: #000000;
  --accent-rgb: 0, 0, 0;
  --accent-hover: #1f2937;
  --accent-glow: rgba(var(--accent-rgb), 0.15);

  /* Physique Optique Liquid Glass (Calibrée à 32px — Atelier Colline) */
  --glass-bg: rgba(255, 255, 255, 0.68);
  --glass-bg-subtle: rgba(255, 255, 255, 0.48);
  --glass-bg-hover: rgba(255, 255, 255, 0.82);
  --glass-blur: 32px;
  --glass-saturate: 190%;
  --glass-border: rgba(255, 255, 255, 0.85);
  --glass-border-subtle: rgba(255, 255, 255, 0.50);

  /* Réflectivité spéculaire & étagement des ombres */
  --glass-shadow: 
    0 14px 36px -4px rgba(0, 0, 0, 0.08),
    0 4px 12px -2px rgba(var(--accent-rgb), 0.04),
    inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.98),
    inset 0 -1px 1px 0 rgba(0, 0, 0, 0.03);

  --glass-shadow-hover: 
    0 22px 52px -8px rgba(var(--accent-rgb), 0.18),
    0 6px 16px -2px rgba(0, 0, 0, 0.05),
    inset 0 1px 2px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 1px 0 rgba(0, 0, 0, 0.04);

  /* Formes et courbes calibrées */
  --max-w: 1140px;
  --r-card: 26px;
  --r-btn: 16px;
  --r-pill: 999px;
  --transition: all 0.28s cubic-bezier(0.25, 1, 0.5, 1);
}

/* --------------------------------------------------------------------------
   2. RESET ET CONTENEUR PRINCIPAL
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-system);
  background-color: var(--bg-base);
  color: var(--ink-primary);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: 90px;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  overscroll-behavior-y: auto;
}

body {
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  min-height: 100dvh;
  background-color: var(--bg-base);
  padding-top: calc(84px + env(safe-area-inset-top, 0px));
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  overflow-x: hidden;
  overscroll-behavior-y: auto;
}

canvas[data-liquid-ignore] {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  pointer-events: none !important;
}

h1, h2, h3, h4, h5, h6, p, span, li, a, strong, b, label {
  color: var(--ink-primary);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   3. AMBIANCE LUMINEUSE LIQUIDE (Arrière-plan)
   -------------------------------------------------------------------------- */
.ambient-glow {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.42;
  will-change: transform;
  animation: orbFloat 24s ease-in-out infinite alternate;
}

.ambient-orb--1 {
  top: -10%;
  left: 15%;
  width: min(55vw, 650px);
  height: min(55vw, 650px);
  background: radial-gradient(circle, var(--accent-glow) 0%, rgba(255, 255, 255, 0) 70%);
}

.ambient-orb--2 {
  top: 35%;
  right: -5%;
  width: min(50vw, 580px);
  height: min(50vw, 580px);
  background: radial-gradient(circle, var(--accent-glow) 0%, rgba(255, 255, 255, 0) 70%);
  animation-duration: 30s;
  animation-delay: -7s;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, 20px) scale(1.05); }
  100% { transform: translate(-25px, 35px) scale(0.95); }
}

/* ==========================================================================
   SPLASH SCREEN D'ACCUEIL / REFRESH (Animation Logo Centré Épuré)
   ========================================================================== */
.site-splash {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  z-index: 99999;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  animation: siteSplashFade 1.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: opacity;
}

.site-splash-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-splash-logo {
  width: clamp(72px, 14vw, 96px);
  height: auto;
  max-height: 96px;
  object-fit: contain;
  filter: brightness(0); /* Rendu en contour et traits noirs minimalistes */
  animation: siteSplashLogo 1.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: opacity, transform;
}

@keyframes siteSplashFade {
  0%, 65% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes siteSplashLogo {
  0% {
    opacity: 0;
    transform: scale(0.88);
  }
  28% {
    opacity: 1;
    transform: scale(1);
  }
  75% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0.95;
    transform: scale(1.02);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-splash {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   4. BARRE DE NAVIGATION MODULAIRE (Header Top Plein Écran -> Dynamic Island)
   Fixe au top au chargement (pleine largeur) et se métamorphose en pilule flottante au scroll
   -------------------------------------------------------------------------- */
.floating-nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  padding: 0;
  pointer-events: none;
  isolation: isolate;
  transform: translateZ(0);
}

@media (prefers-reduced-motion: reduce) {
  .nav-scrim {
    transition: none !important;
  }
}

.floating-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  width: 100%;
  height: 58px;
  min-height: 58px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(var(--glass-blur, 32px)) saturate(var(--glass-saturate, 190%));
  -webkit-backdrop-filter: blur(var(--glass-blur, 32px)) saturate(var(--glass-saturate, 190%));
  border: none !important;
  outline: none !important;
  box-shadow: none;
  pointer-events: auto;
  transition: 
    max-width 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    margin 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: max-width, margin, border-radius, box-shadow;
}

.floating-nav-wrap[data-scrolled="true"] .floating-nav {
  max-width: min(1200px, calc(100% - 32px));
  margin: calc(10px + env(safe-area-inset-top, 0px)) auto 0;
  padding: 0 20px;
  border-radius: 28px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur, 32px)) saturate(var(--glass-saturate, 190%));
  -webkit-backdrop-filter: blur(var(--glass-blur, 32px)) saturate(var(--glass-saturate, 190%));
  border: none !important;
  outline: none !important;
  box-shadow: 
    0 10px 30px -4px rgba(0, 0, 0, 0.08),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.95);
}

/* Marque / Logo : Parfaitement au milieu vertical à gauche, rigoureusement sur une seule ligne */
.nav-brand {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  height: 100% !important;
  min-height: 100% !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  transition: opacity 0.2s ease;
}

.nav-brand:hover {
  opacity: 0.92;
}

.nav-brand img,
.nav-brand-img {
  width: 32px;
  height: 32px;
  max-width: 32px;
  max-height: 32px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  margin: 0;
}

.nav-brand img[src*="ephemere"] {
  width: auto;
  max-width: 48px;
  height: 30px;
  max-height: 30px;
}

.nav-brand-text {
  font-family: var(--font-brand, var(--font-system));
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--accent) !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-secondary);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--ink-primary);
  background: rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.8), 0 2px 6px rgba(0, 0, 0, 0.03);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.45rem;
  color: var(--ink-primary);
  cursor: pointer !important;
  padding: 6px 10px;
  border-radius: 8px;
  line-height: 1;
  min-width: 44px;
  min-height: 44px;
  touch-action: manipulation;
  pointer-events: auto !important;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  z-index: 1005;
}

/* --------------------------------------------------------------------------
   5. MENU MOBILE & TABLETTE TIROIR (Mobile Sheet & Overlay)
   Z-Index 99999 Strict (Priorité absolue au-dessus de tout le header et de la page)
   -------------------------------------------------------------------------- */
html.mobile-nav-open,
body.mobile-nav-open {
  overflow: hidden !important;
  touch-action: none !important;
}

.mobile-sheet {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 99999 !important;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s ease;
}

.mobile-sheet.open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.mobile-sheet-panel {
  width: 86%;
  max-width: 380px;
  height: 100%;
  height: 100dvh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  padding: calc(16px + env(safe-area-inset-top, 0px)) 24px calc(24px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: -14px 0 44px rgba(0, 0, 0, 0.25);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
  overscroll-behavior: contain;
  position: relative;
  z-index: 100000 !important;
}

.mobile-sheet.open .mobile-sheet-panel {
  transform: translateX(0) !important;
}

.mobile-sheet-close {
  align-self: flex-end;
  background: rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer !important;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink-primary);
  position: relative;
  z-index: 100001 !important;
  touch-action: manipulation;
  pointer-events: auto !important;
  -webkit-tap-highlight-color: transparent;
  margin-bottom: 6px;
  transition: background 0.18s ease, transform 0.15s ease;
}

.mobile-sheet-close:hover {
  background: rgba(0, 0, 0, 0.14);
}

.mobile-sheet-close:active {
  transform: scale(0.92);
}

/* Surcharge Explicite : Style Rideau Vertical Top-Down */
html[data-mobile-style="curtain-drop"] .mobile-sheet {
  justify-content: flex-start !important;
  align-items: flex-start !important;
}

html[data-mobile-style="curtain-drop"] .mobile-sheet-panel {
  width: 100vw !important;
  max-width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  transform: translateY(-100%) !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  border-radius: 0 !important;
}

html[data-mobile-style="curtain-drop"] .mobile-sheet.open .mobile-sheet-panel {
  transform: translateY(0) !important;
}

.mobile-sheet-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-sheet-link {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink-primary);
}

/* --------------------------------------------------------------------------
   6. BOUTONS D'ACTION & NAVIGATION ÉDITORIALE (Design Artisanal & Éditorial)
   -------------------------------------------------------------------------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 22px;
  border-radius: 4px;
  background: var(--ink-primary);
  color: var(--bg-surface) !important;
  font-family: var(--font-system);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--ink-primary);
  box-shadow: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary * {
  color: var(--bg-surface) !important;
}

.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff !important;
  transform: none;
  box-shadow: none;
}

.btn-primary:active {
  transform: none;
  box-shadow: none;
}

/* Lien d'action de navigation intégré sobrement à la barre de menu (zéro bouton pilule coloré) */
.nav-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 6px;
  background: transparent !important;
  color: var(--ink-primary) !important;
  font-family: var(--font-system);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  border: none !important;
  box-shadow: none !important;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.nav-action-btn * {
  color: inherit !important;
}

.nav-action-btn::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 5px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.35;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.nav-action-btn:hover {
  background: rgba(0, 0, 0, 0.05) !important;
  color: var(--ink-primary) !important;
  transform: none;
  box-shadow: none !important;
}

.nav-action-btn:hover::after {
  opacity: 1;
}

.mobile-sheet-panel .nav-action-btn {
  border: 1px solid var(--glass-border-subtle) !important;
  background: rgba(0, 0, 0, 0.04) !important;
  padding: 12px 16px !important;
  height: auto !important;
}

.mobile-sheet-panel .nav-action-btn::after {
  display: none !important;
}

/* Bouton Secondaire Sobre (Bordure 1px, zéro bulle, zéro lueur) */
.btn-glass,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 20px;
  border-radius: 4px;
  background: transparent;
  color: var(--ink-primary) !important;
  font-family: var(--font-system);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--border-line);
  box-shadow: none;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
  cursor: pointer;
}

.btn-glass:hover,
.btn-secondary:hover {
  background: var(--bg-surface);
  border-color: var(--ink-primary);
  color: var(--ink-primary) !important;
  transform: none;
  box-shadow: none;
}

.btn-glass:active,
.btn-secondary:active {
  transform: none;
  box-shadow: none;
}

/* Grand CTA Hero (46px) */
.btn-lg {
  height: 46px !important;
  min-height: 46px !important;
  padding: 0 24px !important;
  font-size: 0.95rem !important;
}

/* Bouton Contour Épuré (Outline) */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  min-height: 38px;
  padding: 0 18px;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--accent) !important;
  font-family: var(--font-system);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  border: 1.5px solid var(--accent);
  transition: var(--transition);
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--ink-on-accent) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--accent-rgb), 0.35);
}

/* Étiquettes éditoriales */
.glass-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink-primary);
}

.glass-pill--accent {
  background: rgba(var(--accent-rgb), 0.1);
  border-color: rgba(var(--accent-rgb), 0.25);
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   7. CARTES & FORMES LIQUID GLASS
   -------------------------------------------------------------------------- */
.liquid-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border: 1px solid var(--glass-border);
  border-radius: var(--r-card);
  box-shadow: var(--glass-shadow);
  transition: var(--transition);
}

.liquid-glass:hover {
  background: var(--glass-bg-hover);
  box-shadow: var(--glass-shadow-hover);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.card-glass {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.card-icon {
  font-family: var(--font-brand);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  padding-bottom: 6px;
  border-bottom: 1.5px solid var(--accent);
  margin-bottom: 16px;
  display: inline-block;
  width: fit-content;
}

.card-title {
  font-family: var(--font-brand);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink-primary);
}

.card-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-secondary);
  margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   7bis. TITRAGE ÉDITORIAL, SWITCHER SEGMENTÉ & VITRINE DE CRÉATIONS
   -------------------------------------------------------------------------- */
/* Titrage éditorial unifié */
.section-header {
  margin-bottom: 32px;
  text-align: center;
}

.section-header--left {
  text-align: left;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-brand);
  font-size: clamp(1.8rem, 4.2vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink-primary);
  line-height: 1.18;
  margin-bottom: 12px;
}

.section-desc {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  line-height: 1.6;
  color: var(--ink-secondary);
  max-width: 680px;
  margin: 0 auto;
}

.section-header--left .section-desc {
  margin: 0;
}

/* Barre de menu de création (Switcher segmenté glissant) */
.poles-switcher-wrap {
  display: flex;
  justify-content: center;
  margin: 28px 0 40px;
  width: 100%;
}

.poles-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border: 1.5px solid var(--glass-border);
  border-radius: var(--r-pill);
  padding: 5px;
  gap: 6px;
  box-shadow: var(--glass-shadow);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  touch-action: manipulation;
  -webkit-overflow-scrolling: touch;
}

.poles-switcher::-webkit-scrollbar {
  display: none;
}

.poles-switcher-glider {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: var(--r-pill);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.65) 50%, rgba(255, 255, 255, 0.42) 100%);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 
    0 4px 18px -2px rgba(var(--accent-rgb, 131, 66, 46), 0.32), 
    0 2px 8px rgba(0, 0, 0, 0.08), 
    inset 0 1.5px 1.5px rgba(255, 255, 255, 1),
    inset 0 -1.5px 2px rgba(var(--accent-rgb, 131, 66, 46), 0.18),
    inset 0 0 12px rgba(255, 255, 255, 0.6);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1), 
              width 0.18s cubic-bezier(0.2, 0.8, 0.2, 1), 
              height 0.18s cubic-bezier(0.2, 0.8, 0.2, 1),
              opacity 0.12s ease;
  will-change: transform, width, height;
}

/* Ménisque spéculaire supérieur — réflexion optique de verre liquide */
.poles-switcher-glider::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 6px;
  right: 6px;
  height: 48%;
  border-radius: var(--r-pill) var(--r-pill) 100% 100% / var(--r-pill) var(--r-pill) 35% 35%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.poles-switcher.has-glider .poles-switcher-glider.ready {
  opacity: 1;
}

.pole-btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  background: transparent !important;
  color: var(--ink-secondary) !important;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  touch-action: manipulation;
  transition: color 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
  line-height: 1;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
}

.pole-btn:not(.active) {
  opacity: 0.72;
}

.pole-btn:not(.active):hover {
  opacity: 1;
  color: var(--ink-primary) !important;
  background: transparent !important;
}

.pole-btn.active {
  color: var(--accent) !important;
  font-weight: 700 !important;
  opacity: 1;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.85);
}

.poles-switcher:not(.has-glider) .pole-btn.active {
  background: var(--accent) !important;
  box-shadow: 0 4px 18px rgba(var(--accent-rgb), 0.42), inset 0 1px 1.5px rgba(255, 255, 255, 0.35) !important;
}

/* ==========================================================================
   STABILITÉ ABSOLUE DES BLOCS & CARTES (ZÉRO DÉCALAGE / ZERO LAYOUT SHIFT)
   Les cartes s'étirent de façon homogène, les boutons restent alignés
   quel que soit la longueur du texte ou de la description.
   ========================================================================== */
.gallery-grid,
.blocks-grid,
.creations-grid,
.cards-grid,
.grid-cards,
.games-grid,
.web-grid,
.engagements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  align-items: stretch;
  gap: 28px;
  margin-bottom: 48px;
}

.creation-card,
.beer-card,
.step-card,
.game-card,
.web-card,
.commitment-card,
.card-glass,
.liquid-glass--card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-height: 100% !important;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border: 1px solid var(--glass-border);
  border-radius: var(--r-card);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.3s ease,
              opacity 0.25s ease;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  text-decoration: none;
}

.creation-card-body,
.card-body,
.game-info,
.web-content {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
}

.creation-card-title,
.card-title,
.game-title,
.web-title {
  min-height: 2.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.creation-card-desc,
.card-desc,
.game-desc,
.web-desc {
  flex: 1 1 auto !important;
}

.creation-card-meta,
.card-footer,
.card-actions,
.game-actions,
.web-actions {
  margin-top: auto !important;
}

.creation-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--glass-shadow-hover);
  border-color: rgba(255, 255, 255, 0.9);
}

/* Reflet Spéculaire Dynamique Liquid Glass */
.creation-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    circle 380px at var(--mouse-x, -999px) var(--mouse-y, -999px),
    rgba(255, 255, 255, 0.24),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.creation-card:hover::after {
  opacity: 1;
}

.creation-card-media {
  position: relative;
  width: 100%;
  height: 240px;
  background: var(--bg-surface);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-bottom: 1px solid var(--glass-border-subtle);
}

.creation-card-media img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.creation-card:hover .creation-card-media img {
  transform: scale(1.05);
}

.creation-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.28);
  z-index: 3;
}

.creation-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.creation-card-client {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.creation-card-title {
  font-family: var(--font-brand);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink-primary);
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.creation-card-desc {
  font-size: 0.88rem;
  color: var(--ink-secondary);
  line-height: 1.5;
  margin: 0 0 16px 0;
}

.creation-card-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--glass-border-subtle);
  padding-top: 12px;
  font-size: 0.82rem;
  color: var(--ink-tertiary);
}

.creation-card-zoom-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.78rem;
  transition: var(--transition);
}

.creation-card:hover .creation-card-zoom-btn {
  background: var(--accent);
  color: var(--ink-on-accent);
}

/* Tuiles de méthode & processus (Adaptatives de 02 à N étapes) */
.process-steps {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  counter-reset: colline-step;
}

/* 2 Étapes : 2 colonnes équilibrées */
.process-steps--2,
.process-steps:has(> .step-card:nth-last-child(1):nth-child(2)) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

/* 3 Étapes : 3 colonnes équilibrées */
.process-steps--3,
.process-steps:has(> .step-card:nth-last-child(1):nth-child(3)) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* 4 Étapes : 4 colonnes sur grand écran, 2x2 sur tablette */
.process-steps--4,
.process-steps:has(> .step-card:nth-last-child(1):nth-child(4)) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1024px) {
  .process-steps--4,
  .process-steps:has(> .step-card:nth-last-child(1):nth-child(4)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 5 Étapes et plus : Grille auto-adaptative fluide */
.process-steps--5,
.process-steps:has(> .step-card:nth-last-child(1):nth-child(n+5)) {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.step-card {
  counter-increment: colline-step;
  background: var(--glass-bg-subtle);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border: 1px solid var(--glass-border-subtle);
  border-radius: 20px;
  padding: 26px 22px;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.step-card:hover {
  background: var(--glass-bg-hover);
  border-color: rgba(var(--accent-rgb), 0.35);
  transform: translateY(-3px);
  box-shadow: var(--glass-shadow);
}

.step-number {
  font-family: var(--font-brand);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

/* Support de la numérotation automatique 01, 02, 03... si la balise est vide */
.step-number:empty::before {
  content: counter(colline-step, decimal-leading-zero);
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink-primary);
}

.step-desc {
  font-size: 0.9rem;
  color: var(--ink-secondary);
  line-height: 1.55;
}

/* Section Hero */
.hero {
  padding: 32px 0 24px;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 6px 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 1.5px solid var(--accent) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-primary) !important;
  margin-bottom: 20px;
}

.hero-pill-dot {
  display: none !important;
}

.hero-title {
  font-family: var(--font-brand);
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  word-break: break-word;
}

.hero-title span {
  display: block;
  color: var(--accent);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto 32px;
  color: var(--ink-secondary);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   8. FOOTER UNIFIÉ 1 LIGNE (Disposition Horizontale Optimisée)
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: 60px;
  margin-bottom: 0 !important;
  padding: 36px 0 32px;
  border-top: 1px solid var(--glass-border);
  background: var(--glass-bg-subtle);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  width: 100%;
}

.footer-inner {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  min-height: 44px;
}

.footer-brand-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  flex-shrink: 0 !important;
  height: 40px !important;
}

.footer-brand-img {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
  display: block !important;
}

.footer-brand {
  font-family: var(--font-brand);
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  color: var(--ink-primary) !important;
  line-height: 1.15 !important;
  margin: 0 0 2px 0 !important;
  white-space: nowrap !important;
}

.footer-holding {
  font-size: 0.85rem !important;
  color: var(--ink-tertiary) !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

.footer-links {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 20px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  height: 40px !important;
}

.footer-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-secondary);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   9. RESPONSIVE DESIGN & SÉCURITÉS MOBILES & TABLETTES
   Breakpoint Unifié 992px : Transition sans heurts Mobile & Tablette
   -------------------------------------------------------------------------- */
@media (min-width: 993px) {
  .mobile-sheet:not(.open) {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

@media (max-width: 992px) {
  body {
    padding-top: calc(74px + env(safe-area-inset-top, 0px));
  }

  .nav-links,
  .nav-action-btn {
    display: none !important;
  }

  .mobile-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  .floating-nav-wrap {
    top: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Au sommet sur mobile : barre fluide pleine largeur */
  .floating-nav {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
    height: 58px !important;
    min-height: 58px !important;
    padding: 0 16px !important;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1) !important;
  }

  /* En défilement sur mobile : capsule compacte ergonomique pour Liquid Glass */
  html[data-cms-theme="liquid-glass"] .floating-nav-wrap[data-scrolled="true"] .floating-nav,
  html[data-cms-theme="verre-liquide"] .floating-nav-wrap[data-scrolled="true"] .floating-nav,
  html:not([data-cms-theme]) .floating-nav-wrap[data-scrolled="true"] .floating-nav {
    max-width: calc(100% - 20px) !important;
    margin: calc(8px + env(safe-area-inset-top, 0px)) auto 0 !important;
    border-radius: 9999px !important;
    height: 52px !important;
    min-height: 52px !important;
    padding: 0 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.75) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12), inset 0 1px 1.5px rgba(255, 255, 255, 0.95) !important;
  }

  /* Autres thèmes au défilement mobile */
  html[data-cms-theme="cyber-carbon"] .floating-nav-wrap[data-scrolled="true"] .floating-nav,
  html[data-cms-theme="pulsation-carbone"] .floating-nav-wrap[data-scrolled="true"] .floating-nav {
    max-width: 100% !important;
    margin: 0 !important;
    border-radius: 0 0 8px 8px !important;
    height: 54px !important;
  }

  html[data-cms-theme="studio-cinetique"] .floating-nav-wrap[data-scrolled="true"] .floating-nav,
  html[data-cms-theme="kinetic-studio"] .floating-nav-wrap[data-scrolled="true"] .floating-nav {
    max-width: calc(100% - 20px) !important;
    margin: 8px auto 0 !important;
    border-radius: 16px !important;
    transform: none !important;
    height: 54px !important;
  }

  html[data-cms-theme="brutaliste-franc"] .floating-nav-wrap[data-scrolled="true"] .floating-nav,
  html[data-cms-theme="brutalist"] .floating-nav-wrap[data-scrolled="true"] .floating-nav {
    max-width: calc(100% - 16px) !important;
    margin: 8px auto 0 !important;
    height: 54px !important;
  }

  html[data-cms-theme="prestige-galerie"] .floating-nav-wrap[data-scrolled="true"] .floating-nav,
  html[data-cms-theme="prestige"] .floating-nav-wrap[data-scrolled="true"] .floating-nav {
    max-width: calc(100% - 20px) !important;
    margin: 8px auto 0 !important;
    border-radius: 4px !important;
    height: 54px !important;
  }

  html[data-cms-theme="achromatique-revelation"] .floating-nav-wrap[data-scrolled="true"] .floating-nav,
  html[data-cms-theme="achromatic"] .floating-nav-wrap[data-scrolled="true"] .floating-nav {
    max-width: calc(100% - 16px) !important;
    margin: 8px auto 0 !important;
    border-radius: 0px !important;
    height: 54px !important;
  }

  .hero {
    padding: 24px 0 16px;
  }

  .hero-title {
    font-size: clamp(1.9rem, 7.5vw, 2.8rem) !important;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-glass {
    width: 100%;
    max-width: 320px;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .card-glass {
    padding: clamp(18px, 4.5vw, 24px) !important;
  }

  .footer-inner {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
  }

  .footer-links {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .footer-links::-webkit-scrollbar {
    display: none;
  }

  /* Neutralisation physique de l'auto-zoom forcé de Safari sur les champs de saisie */
  input, textarea, select {
    font-size: 16px !important;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .creation-card-media {
    height: 210px;
  }

  .process-steps,
  .process-steps--2,
  .process-steps--3,
  .process-steps--4,
  .process-steps--5,
  .process-steps:has(> .step-card) {
    grid-template-columns: 1fr !important;
    gap: 16px;
    max-width: 100% !important;
  }

  .poles-switcher-wrap {
    margin: 20px 0 28px;
    padding: 0 4px;
  }

  .pole-btn {
    padding: 7px 14px;
    font-size: 0.86rem;
  }
}

/* Neutralisation des sticky zooms au tap tactile */
@media (hover: none) {
  .liquid-glass:hover,
  .btn-primary:hover,
  .btn-glass:hover,
  .nav-link:hover,
  .creation-card:hover,
  .step-card:hover {
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   10. MODE SOMBRE UNIFIÉ (Dark Mode)
   -------------------------------------------------------------------------- */
@media (prefers-color-scheme: dark) {
  :root {
    --ink-primary: #ffffff;
    --ink-secondary: #ffffff;
    --ink-tertiary: #ffffff;
    --ink-on-accent: #ffffff;

    --glass-bg: rgba(18, 22, 30, 0.78);
    --glass-bg-subtle: rgba(14, 18, 24, 0.55);
    --glass-bg-hover: rgba(24, 30, 42, 0.88);
    --glass-border: rgba(255, 255, 255, 0.14);
    --glass-border-subtle: rgba(255, 255, 255, 0.1);
  }

  html, body {
    background-color: var(--bg-base);
    color: #ffffff;
  }

  h1, h2, h3, h4, h5, h6, p, span, li, a, strong, b, label, button, input, select, textarea {
    color: #ffffff;
  }

  .floating-nav {
    background: rgba(14, 18, 24, 0.72);
    border: none !important;
    outline: none !important;
    box-shadow: none;
  }

  .floating-nav-wrap[data-scrolled="true"] .floating-nav {
    background: var(--glass-bg);
    border: none !important;
    outline: none !important;
    box-shadow: 0 12px 36px -4px rgba(0, 0, 0, 0.6), inset 0 1px 1px 0 rgba(255, 255, 255, 0.15);
  }

  .mobile-sheet-panel {
    background: rgba(18, 22, 30, 0.96);
    color: #ffffff;
  }

  .btn-glass {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
  }

  .glass-pill {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
  }

  .site-footer {
    border-top-color: var(--glass-border);
    background: var(--glass-bg-subtle);
  }

  .pole-btn:not(.active):hover {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
  }

  .nav-link,
  .nav-action-btn {
    color: #ffffff !important;
  }

  .nav-link:hover,
  .nav-link.active,
  .nav-action-btn:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.14) !important;
    box-shadow: none !important;
  }

  .creation-card-media {
    background: rgba(0, 0, 0, 0.28);
  }

  .step-number {
    opacity: 1;
  }
}

/* --------------------------------------------------------------------------
   11. CATALOGUE DE THÈMES DU CMS (Piloté depuis /admin : data-cms-theme)
   - liquid-glass       : Liquid Glass Apple (Inspiration liquidglassdesign.com / visionOS)
   - verre-liquide      : Alias officiel Liquid Glass
   - pulsation-carbone  : Pulsation Carbone / Cyber Carbon (Atelier Carbone & Or Solaire)
   - studio-cinetique   : Studio Cinétique / Kinetic Studio (Éclairage Radial & Mouvement)
   - editorial-epure    : Éditorial Épuré / Editorial Clean (Fond papier franc, zéro flou)
   - brutaliste-franc   : Brutaliste Franc / Brutalist (Cadres 2px & ombres franches)
   - prestige-galerie   : Prestige (Surfaces vélin & filets subtils)
   - achromatique-revelation : Achromatic (Noir & blanc au repos, couleur jaillissante)
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700;900&family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Space+Grotesk:wght@500;700;900&family=Recursive:slnt,wght,CASL,CRSV,MONO@-15..0,300..900,0..1,0..1,0..1&display=swap');

/* ==========================================================================
   THÈME 1 : LIQUID GLASS (APPLE DESIGN / VISIONOS / LIQUIDGLASSDESIGN.COM)
   Applicable par défaut et sur data-cms-theme="liquid-glass" / "verre-liquide"
   Navigation capsule îlot, double biseau spéculaire, Liquid Glider fluide,
   boutons gouttes convexes avec aura et compression tactile, tuiles réflectives
   ========================================================================== */
html[data-cms-theme="liquid-glass"],
html[data-cms-theme="verre-liquide"],
html:not([data-cms-theme]) {
  --font-system: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, sans-serif;
  --font-brand: var(--font-system);
  --r-card: 28px !important;
  --r-btn: 9999px !important;
  --r-pill: 9999px !important;
  --glass-blur: 36px !important;
  --glass-saturate: 210% !important;
  --glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.68) 0%, rgba(255, 255, 255, 0.34) 55%, rgba(255, 255, 255, 0.16) 100%) !important;
  --glass-border: rgba(255, 255, 255, 0.72) !important;
  --glass-shadow: 
    0 20px 48px -8px rgba(0, 0, 0, 0.10),
    0 6px 16px -2px rgba(var(--accent-rgb), 0.05),
    inset 0 1.5px 2px 0 rgba(255, 255, 255, 0.98),
    inset 0 -1.5px 2px 0 rgba(0, 0, 0, 0.04) !important;
  --glass-shadow-hover: 
    0 28px 60px -10px rgba(0, 0, 0, 0.14),
    0 8px 24px -4px rgba(var(--accent-rgb), 0.22),
    inset 0 2px 3px 0 rgba(255, 255, 255, 1),
    inset 0 -1.5px 2px 0 rgba(0, 0, 0, 0.04) !important;
}

/* 1. Navigation Liquid Glass Style Ultrahuman (Collée au Sommet au repos, Capsule Flottante au Défilement) */
html[data-cms-theme="liquid-glass"] .floating-nav-wrap,
html[data-cms-theme="verre-liquide"] .floating-nav-wrap,
html:not([data-cms-theme]) .floating-nav-wrap {
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  transform: none !important;
}

/* État Initial : Collé en pleine largeur tout en haut de la page (Signature Ultrahuman) */
html[data-cms-theme="liquid-glass"] .floating-nav,
html[data-cms-theme="verre-liquide"] .floating-nav,
html:not([data-cms-theme]) .floating-nav {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 clamp(20px, 4vw, 54px) !important;
  height: 62px !important;
  min-height: 62px !important;
  border-radius: 0 !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84) 0%, rgba(255, 255, 255, 0.64) 100%) !important;
  backdrop-filter: blur(28px) saturate(190%) contrast(104%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(190%) contrast(104%) !important;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), inset 0 -1px 0 rgba(255, 255, 255, 0.5) !important;
  transition: 
    max-width 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    margin 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    min-height 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.45s ease,
    border-color 0.45s ease,
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

/* État Défilé (Scroll) : Détachement dynamique en Capsule Îlot Flottante Ultrahuman / Apple */
html[data-cms-theme="liquid-glass"] .floating-nav-wrap[data-scrolled="true"] .floating-nav,
html[data-cms-theme="verre-liquide"] .floating-nav-wrap[data-scrolled="true"] .floating-nav,
html:not([data-cms-theme]) .floating-nav-wrap[data-scrolled="true"] .floating-nav {
  max-width: min(1120px, calc(100% - 32px)) !important;
  margin: calc(12px + env(safe-area-inset-top, 0px)) auto 0 !important;
  padding: 0 16px 0 22px !important;
  height: 56px !important;
  min-height: 56px !important;
  border-radius: 9999px !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.45) 50%, rgba(255, 255, 255, 0.25) 100%) !important;
  backdrop-filter: blur(42px) saturate(220%) contrast(108%) !important;
  -webkit-backdrop-filter: blur(42px) saturate(220%) contrast(108%) !important;
  box-shadow: 
    inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 1),
    inset 0 -1.5px 1px 0 rgba(0, 0, 0, 0.06),
    0 24px 54px -10px rgba(0, 0, 0, 0.15),
    0 10px 24px -4px rgba(0, 0, 0, 0.08) !important;
}

/* 2. Onglets de Navigation & Liquid Glider Interactif */
html[data-cms-theme="liquid-glass"] .nav-links,
html[data-cms-theme="verre-liquide"] .nav-links,
html:not([data-cms-theme]) .nav-links {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 4px !important;
  border-radius: 9999px !important;
  isolation: isolate !important;
}

html[data-cms-theme="liquid-glass"] .nav-link,
html[data-cms-theme="verre-liquide"] .nav-link,
html:not([data-cms-theme]) .nav-link {
  position: relative !important;
  z-index: 2 !important;
  border-radius: 9999px !important;
  padding: 8px 18px !important;
  color: var(--ink-secondary) !important;
  font-weight: 500 !important;
  font-size: 0.9rem !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transition: color 0.22s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

html[data-cms-theme="liquid-glass"] .nav-link:hover,
html[data-cms-theme="verre-liquide"] .nav-link:hover,
html:not([data-cms-theme]) .nav-link:hover,
html[data-cms-theme="liquid-glass"] .nav-link.active,
html[data-cms-theme="verre-liquide"] .nav-link.active,
html:not([data-cms-theme]) .nav-link.active {
  color: var(--ink-primary) !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-cms-theme="liquid-glass"] .nav-link:active,
html[data-cms-theme="verre-liquide"] .nav-link:active,
html:not([data-cms-theme]) .nav-link:active {
  transform: scale(0.93) !important;
}

.nav-liquid-glider {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  border-radius: 9999px;
  z-index: 1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.76) 0%, rgba(255, 255, 255, 0.36) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 
    inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.98),
    0 4px 14px -2px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translate3d(0, 0, 0);
  transition: 
    transform 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.30s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.30s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.22s ease;
  will-change: transform, width, height, opacity;
}

.nav-liquid-glider.ready {
  opacity: 1;
}

/* Masquer le glider liquide sur les thèmes éditoriaux ou brutalistes */
html[data-cms-theme="editorial-epure"] .nav-liquid-glider,
html[data-cms-theme="editorial-clean"] .nav-liquid-glider,
html[data-cms-theme="brutaliste-franc"] .nav-liquid-glider,
html[data-cms-theme="brutalist"] .nav-liquid-glider,
html[data-cms-theme="pulsation-carbone"] .nav-liquid-glider,
html[data-cms-theme="cyber-carbon"] .nav-liquid-glider,
html[data-cms-theme="studio-cinetique"] .nav-liquid-glider,
html[data-cms-theme="kinetic-studio"] .nav-liquid-glider,
html[data-cms-theme="prestige-galerie"] .nav-liquid-glider,
html[data-cms-theme="prestige"] .nav-liquid-glider,
html[data-cms-theme="achromatique-revelation"] .nav-liquid-glider,
html[data-cms-theme="achromatic"] .nav-liquid-glider {
  display: none !important;
}

/* 3. Boutons d'Action Liquides & Gouttes Tactiles */
html[data-cms-theme="liquid-glass"] .btn-primary,
html[data-cms-theme="verre-liquide"] .btn-primary,
html:not([data-cms-theme]) .btn-primary {
  border-radius: 9999px !important;
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, rgba(var(--accent-rgb), 0.94) 28%, var(--accent) 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.65) !important;
  box-shadow: 
    inset 0 1.5px 2px 0 rgba(255, 255, 255, 0.95),
    inset 0 -2px 3px 0 rgba(0, 0, 0, 0.18),
    0 8px 24px -2px rgba(var(--accent-rgb), 0.38) !important;
  transition: 
    transform 0.24s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.24s ease,
    filter 0.2s ease !important;
  cursor: pointer !important;
}

html[data-cms-theme="liquid-glass"] .btn-primary *,
html[data-cms-theme="verre-liquide"] .btn-primary *,
html:not([data-cms-theme]) .btn-primary * {
  color: #ffffff !important;
}

html[data-cms-theme="liquid-glass"] .btn-primary:hover,
html[data-cms-theme="verre-liquide"] .btn-primary:hover,
html:not([data-cms-theme]) .btn-primary:hover {
  transform: translateY(-2px) scale(1.025) !important;
  box-shadow: 
    inset 0 2px 3px 0 rgba(255, 255, 255, 1),
    inset 0 -2px 3px 0 rgba(0, 0, 0, 0.16),
    0 14px 34px -4px rgba(var(--accent-rgb), 0.52) !important;
  filter: brightness(1.04) !important;
}

html[data-cms-theme="liquid-glass"] .btn-primary:active,
html[data-cms-theme="verre-liquide"] .btn-primary:active,
html:not([data-cms-theme]) .btn-primary:active {
  transform: scale(0.94) !important;
  box-shadow: 
    inset 0 1px 1px 0 rgba(0, 0, 0, 0.15),
    0 4px 12px -2px rgba(var(--accent-rgb), 0.3) !important;
}

html[data-cms-theme="liquid-glass"] .btn-primary::before,
html[data-cms-theme="verre-liquide"] .btn-primary::before,
html:not([data-cms-theme]) .btn-primary::before {
  content: "" !important;
  position: absolute !important;
  top: -50% !important;
  left: -60% !important;
  width: 200% !important;
  height: 200% !important;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.42) 0%, transparent 65%) !important;
  transform: rotate(35deg) translateY(-100%) !important;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

html[data-cms-theme="liquid-glass"] .btn-primary:hover::before,
html[data-cms-theme="verre-liquide"] .btn-primary:hover::before,
html:not([data-cms-theme]) .btn-primary:hover::before {
  transform: rotate(35deg) translateY(0%) !important;
}

/* Bouton action nav (Lien capsule en verre) */
html[data-cms-theme="liquid-glass"] .nav-action-btn,
html[data-cms-theme="verre-liquide"] .nav-action-btn,
html:not([data-cms-theme]) .nav-action-btn {
  border-radius: 9999px !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0.28) 100%) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.72) !important;
  box-shadow: 
    inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.95),
    0 4px 14px rgba(0, 0, 0, 0.05) !important;
  color: var(--ink-primary) !important;
  padding: 0 18px !important;
  height: 38px !important;
  min-height: 38px !important;
  font-weight: 600 !important;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.22s ease, background 0.2s ease !important;
}

html[data-cms-theme="liquid-glass"] .nav-action-btn::after,
html[data-cms-theme="verre-liquide"] .nav-action-btn::after,
html:not([data-cms-theme]) .nav-action-btn::after {
  display: none !important;
}

html[data-cms-theme="liquid-glass"] .nav-action-btn:hover,
html[data-cms-theme="verre-liquide"] .nav-action-btn:hover,
html:not([data-cms-theme]) .nav-action-btn:hover {
  transform: translateY(-1.5px) scale(1.025) !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.42) 100%) !important;
  box-shadow: 
    inset 0 1.5px 2px 0 rgba(255, 255, 255, 1),
    0 8px 22px -2px rgba(0, 0, 0, 0.09) !important;
}

html[data-cms-theme="liquid-glass"] .nav-action-btn:active,
html[data-cms-theme="verre-liquide"] .nav-action-btn:active,
html:not([data-cms-theme]) .nav-action-btn:active {
  transform: scale(0.94) !important;
}

html[data-cms-theme="liquid-glass"] .btn-glass,
html[data-cms-theme="liquid-glass"] .btn-secondary,
html[data-cms-theme="verre-liquide"] .btn-glass,
html[data-cms-theme="verre-liquide"] .btn-secondary,
html:not([data-cms-theme]) .btn-glass,
html:not([data-cms-theme]) .btn-secondary {
  border-radius: 9999px !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.58) 0%, rgba(255, 255, 255, 0.22) 100%) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.7) !important;
  box-shadow: 
    inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.9),
    0 6px 18px rgba(0, 0, 0, 0.05) !important;
  color: var(--ink-primary) !important;
  transition: transform 0.24s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.24s ease, border-color 0.2s ease !important;
}

html[data-cms-theme="liquid-glass"] .btn-glass:hover,
html[data-cms-theme="liquid-glass"] .btn-secondary:hover,
html[data-cms-theme="verre-liquide"] .btn-glass:hover,
html[data-cms-theme="verre-liquide"] .btn-secondary:hover,
html:not([data-cms-theme]) .btn-glass:hover,
html:not([data-cms-theme]) .btn-secondary:hover {
  transform: translateY(-2px) scale(1.02) !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.35) 100%) !important;
  border-color: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 
    inset 0 1.5px 2px 0 rgba(255, 255, 255, 1),
    0 12px 28px rgba(0, 0, 0, 0.09) !important;
}

html[data-cms-theme="liquid-glass"] .btn-glass:active,
html[data-cms-theme="liquid-glass"] .btn-secondary:active,
html[data-cms-theme="verre-liquide"] .btn-glass:active,
html[data-cms-theme="verre-liquide"] .btn-secondary:active,
html:not([data-cms-theme]) .btn-glass:active,
html:not([data-cms-theme]) .btn-secondary:active {
  transform: scale(0.95) !important;
}

html[data-cms-theme="liquid-glass"] .btn-outline,
html[data-cms-theme="verre-liquide"] .btn-outline,
html:not([data-cms-theme]) .btn-outline {
  border-radius: 9999px !important;
  background: rgba(255, 255, 255, 0.35) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1.5px solid var(--accent) !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8) !important;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.22s ease, background 0.2s ease !important;
}

html[data-cms-theme="liquid-glass"] .btn-outline:active,
html[data-cms-theme="verre-liquide"] .btn-outline:active,
html:not([data-cms-theme]) .btn-outline:active {
  transform: scale(0.94) !important;
}

/* 4. Tuiles, Cartes et Fiches Liquid Glass Réflectives */
html[data-cms-theme="liquid-glass"] .liquid-glass,
html[data-cms-theme="liquid-glass"] .creation-card,
html[data-cms-theme="liquid-glass"] .beer-card,
html[data-cms-theme="liquid-glass"] .game-card,
html[data-cms-theme="liquid-glass"] .web-card,
html[data-cms-theme="liquid-glass"] .step-card,
html[data-cms-theme="liquid-glass"] .commitment-card,
html[data-cms-theme="liquid-glass"] .card-glass,
html[data-cms-theme="verre-liquide"] .liquid-glass,
html[data-cms-theme="verre-liquide"] .creation-card,
html[data-cms-theme="verre-liquide"] .beer-card,
html[data-cms-theme="verre-liquide"] .game-card,
html[data-cms-theme="verre-liquide"] .web-card,
html[data-cms-theme="verre-liquide"] .step-card,
html[data-cms-theme="verre-liquide"] .commitment-card,
html[data-cms-theme="verre-liquide"] .card-glass,
html:not([data-cms-theme]) .liquid-glass,
html:not([data-cms-theme]) .creation-card,
html:not([data-cms-theme]) .beer-card,
html:not([data-cms-theme]) .game-card,
html:not([data-cms-theme]) .web-card,
html:not([data-cms-theme]) .step-card,
html:not([data-cms-theme]) .commitment-card,
html:not([data-cms-theme]) .card-glass {
  border-radius: 28px !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.68) 0%, rgba(255, 255, 255, 0.38) 55%, rgba(255, 255, 255, 0.2) 100%) !important;
  backdrop-filter: blur(34px) saturate(205%) contrast(104%) !important;
  -webkit-backdrop-filter: blur(34px) saturate(205%) contrast(104%) !important;
  border: 1px solid rgba(255, 255, 255, 0.75) !important;
  box-shadow: 
    inset 0 1.5px 2px 0 rgba(255, 255, 255, 0.98),
    inset 0 -1.5px 2px 0 rgba(0, 0, 0, 0.04),
    0 16px 40px -8px rgba(0, 0, 0, 0.08),
    0 4px 14px -2px rgba(var(--accent-rgb), 0.04) !important;
  position: relative !important;
  overflow: hidden !important;
  transition: 
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.28s ease !important;
}

html[data-cms-theme="liquid-glass"] .liquid-glass:hover,
html[data-cms-theme="liquid-glass"] .creation-card:hover,
html[data-cms-theme="liquid-glass"] .beer-card:hover,
html[data-cms-theme="liquid-glass"] .game-card:hover,
html[data-cms-theme="liquid-glass"] .web-card:hover,
html[data-cms-theme="liquid-glass"] .step-card:hover,
html[data-cms-theme="liquid-glass"] .commitment-card:hover,
html[data-cms-theme="liquid-glass"] .card-glass:hover,
html[data-cms-theme="verre-liquide"] .liquid-glass:hover,
html[data-cms-theme="verre-liquide"] .creation-card:hover,
html[data-cms-theme="verre-liquide"] .beer-card:hover,
html[data-cms-theme="verre-liquide"] .game-card:hover,
html[data-cms-theme="verre-liquide"] .web-card:hover,
html[data-cms-theme="verre-liquide"] .step-card:hover,
html[data-cms-theme="verre-liquide"] .commitment-card:hover,
html[data-cms-theme="verre-liquide"] .card-glass:hover,
html:not([data-cms-theme]) .liquid-glass:hover,
html:not([data-cms-theme]) .creation-card:hover,
html:not([data-cms-theme]) .beer-card:hover,
html:not([data-cms-theme]) .game-card:hover,
html:not([data-cms-theme]) .web-card:hover,
html:not([data-cms-theme]) .step-card:hover,
html:not([data-cms-theme]) .commitment-card:hover,
html:not([data-cms-theme]) .card-glass:hover {
  transform: translateY(-6px) scale(1.008) !important;
  border-color: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 
    inset 0 2px 3px 0 rgba(255, 255, 255, 1),
    inset 0 -1.5px 2px 0 rgba(0, 0, 0, 0.04),
    0 26px 56px -10px rgba(0, 0, 0, 0.13),
    0 8px 24px -4px rgba(var(--accent-rgb), 0.18) !important;
}

/* Réflectance spéculaire dynamique suivant la souris sur les tuiles */
html[data-cms-theme="liquid-glass"] .liquid-glass::before,
html[data-cms-theme="liquid-glass"] .creation-card::before,
html[data-cms-theme="liquid-glass"] .beer-card::before,
html[data-cms-theme="liquid-glass"] .game-card::before,
html[data-cms-theme="liquid-glass"] .web-card::before,
html[data-cms-theme="liquid-glass"] .step-card::before,
html[data-cms-theme="verre-liquide"] .liquid-glass::before,
html[data-cms-theme="verre-liquide"] .creation-card::before,
html[data-cms-theme="verre-liquide"] .beer-card::before,
html[data-cms-theme="verre-liquide"] .game-card::before,
html[data-cms-theme="verre-liquide"] .web-card::before,
html[data-cms-theme="verre-liquide"] .step-card::before,
html:not([data-cms-theme]) .liquid-glass::before,
html:not([data-cms-theme]) .creation-card::before,
html:not([data-cms-theme]) .beer-card::before,
html:not([data-cms-theme]) .game-card::before,
html:not([data-cms-theme]) .web-card::before,
html:not([data-cms-theme]) .step-card::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: inherit !important;
  background: radial-gradient(circle 340px at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(255, 255, 255, 0.45), transparent 70%) !important;
  pointer-events: none !important;
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
  z-index: 1 !important;
}

html[data-cms-theme="liquid-glass"] .liquid-glass:hover::before,
html[data-cms-theme="liquid-glass"] .creation-card:hover::before,
html[data-cms-theme="liquid-glass"] .beer-card:hover::before,
html[data-cms-theme="liquid-glass"] .game-card:hover::before,
html[data-cms-theme="liquid-glass"] .web-card:hover::before,
html[data-cms-theme="liquid-glass"] .step-card:hover::before,
html[data-cms-theme="verre-liquide"] .liquid-glass:hover::before,
html[data-cms-theme="verre-liquide"] .creation-card:hover::before,
html[data-cms-theme="verre-liquide"] .beer-card:hover::before,
html[data-cms-theme="verre-liquide"] .game-card:hover::before,
html[data-cms-theme="verre-liquide"] .web-card:hover::before,
html[data-cms-theme="verre-liquide"] .step-card:hover::before,
html:not([data-cms-theme]) .liquid-glass:hover::before,
html:not([data-cms-theme]) .creation-card:hover::before,
html:not([data-cms-theme]) .beer-card:hover::before,
html:not([data-cms-theme]) .game-card:hover::before,
html:not([data-cms-theme]) .web-card:hover::before,
html:not([data-cms-theme]) .step-card:hover::before {
  opacity: 1 !important;
}

/* 5. Tiroir Mobile & Bouton Sphérique en Verre */
html[data-cms-theme="liquid-glass"] .mobile-sheet-panel,
html[data-cms-theme="verre-liquide"] .mobile-sheet-panel,
html:not([data-cms-theme]) .mobile-sheet-panel {
  border-radius: 36px 0 0 36px !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.55) 100%) !important;
  backdrop-filter: blur(44px) saturate(220%) contrast(106%) !important;
  -webkit-backdrop-filter: blur(44px) saturate(220%) contrast(106%) !important;
  border-left: 1.5px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow: 
    -24px 0 64px rgba(0, 0, 0, 0.16),
    inset 1.5px 0 2px rgba(255, 255, 255, 0.95) !important;
}

html[data-cms-theme="liquid-glass"] .mobile-sheet-close,
html[data-cms-theme="verre-liquide"] .mobile-sheet-close,
html:not([data-cms-theme]) .mobile-sheet-close {
  border-radius: 50% !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.35) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow: 
    inset 0 1.5px 1.5px rgba(255, 255, 255, 0.95),
    0 4px 14px rgba(0, 0, 0, 0.08) !important;
  color: var(--ink-primary) !important;
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease !important;
}

html[data-cms-theme="liquid-glass"] .mobile-sheet-close:hover,
html[data-cms-theme="liquid-glass"] .mobile-sheet-close:active,
html[data-cms-theme="verre-liquide"] .mobile-sheet-close:hover,
html[data-cms-theme="verre-liquide"] .mobile-sheet-close:active,
html:not([data-cms-theme]) .mobile-sheet-close:hover,
html:not([data-cms-theme]) .mobile-sheet-close:active {
  transform: rotate(90deg) scale(1.1) !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.5) 100%) !important;
}

/* 6. Mode Sombre : Verre d'Obsidienne Fumé & Reflets d'Argent Spéculaire */
@media (prefers-color-scheme: dark) {
  html[data-cms-theme="liquid-glass"],
  html[data-cms-theme="verre-liquide"],
  html:not([data-cms-theme]) {
    --glass-bg: linear-gradient(135deg, rgba(28, 30, 40, 0.72) 0%, rgba(16, 18, 24, 0.55) 100%) !important;
    --glass-border: rgba(255, 255, 255, 0.18) !important;
  }

  /* État Initial Sombre : Bandeau d'obsidienne collé en haut */
  html[data-cms-theme="liquid-glass"] .floating-nav,
  html[data-cms-theme="verre-liquide"] .floating-nav,
  html:not([data-cms-theme]) .floating-nav {
    background: linear-gradient(180deg, rgba(16, 18, 24, 0.92) 0%, rgba(12, 14, 18, 0.82) 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.3), inset 0 -1px 0 rgba(255, 255, 255, 0.08) !important;
  }

  /* État Défilé Sombre : Capsule flottante obsidienne */
  html[data-cms-theme="liquid-glass"] .floating-nav-wrap[data-scrolled="true"] .floating-nav,
  html[data-cms-theme="verre-liquide"] .floating-nav-wrap[data-scrolled="true"] .floating-nav,
  html:not([data-cms-theme]) .floating-nav-wrap[data-scrolled="true"] .floating-nav {
    background: linear-gradient(135deg, rgba(30, 32, 42, 0.78) 0%, rgba(18, 20, 26, 0.65) 50%, rgba(12, 14, 18, 0.5) 100%) !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
    box-shadow: 
      inset 0 1.5px 1px 0 rgba(255, 255, 255, 0.32),
      inset 0 -1.5px 1px 0 rgba(0, 0, 0, 0.45),
      0 24px 52px -10px rgba(0, 0, 0, 0.55) !important;
  }

  html[data-cms-theme="liquid-glass"] .nav-liquid-glider,
  html[data-cms-theme="verre-liquide"] .nav-liquid-glider,
  html:not([data-cms-theme]) .nav-liquid-glider {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 100%) !important;
    border-color: rgba(255, 255, 255, 0.28) !important;
    box-shadow: 
      inset 0 1px 1px 0 rgba(255, 255, 255, 0.35),
      0 6px 16px -2px rgba(0, 0, 0, 0.35) !important;
  }

  html[data-cms-theme="liquid-glass"] .liquid-glass,
  html[data-cms-theme="liquid-glass"] .creation-card,
  html[data-cms-theme="liquid-glass"] .beer-card,
  html[data-cms-theme="liquid-glass"] .game-card,
  html[data-cms-theme="liquid-glass"] .web-card,
  html[data-cms-theme="liquid-glass"] .step-card,
  html[data-cms-theme="verre-liquide"] .liquid-glass,
  html[data-cms-theme="verre-liquide"] .creation-card,
  html[data-cms-theme="verre-liquide"] .beer-card,
  html[data-cms-theme="verre-liquide"] .game-card,
  html[data-cms-theme="verre-liquide"] .web-card,
  html[data-cms-theme="verre-liquide"] .step-card,
  html:not([data-cms-theme]) .liquid-glass,
  html:not([data-cms-theme]) .creation-card,
  html:not([data-cms-theme]) .beer-card,
  html:not([data-cms-theme]) .game-card,
  html:not([data-cms-theme]) .web-card,
  html:not([data-cms-theme]) .step-card {
    background: linear-gradient(135deg, rgba(30, 32, 42, 0.72) 0%, rgba(18, 20, 26, 0.55) 100%) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    box-shadow: 
      inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 0.28),
      inset 0 -1.5px 1.5px 0 rgba(0, 0, 0, 0.4),
      0 20px 48px -8px rgba(0, 0, 0, 0.42) !important;
  }

  html[data-cms-theme="liquid-glass"] .liquid-glass::before,
  html[data-cms-theme="liquid-glass"] .creation-card::before,
  html[data-cms-theme="liquid-glass"] .beer-card::before,
  html[data-cms-theme="liquid-glass"] .game-card::before,
  html[data-cms-theme="liquid-glass"] .web-card::before,
  html[data-cms-theme="liquid-glass"] .step-card::before,
  html[data-cms-theme="verre-liquide"] .liquid-glass::before,
  html[data-cms-theme="verre-liquide"] .creation-card::before,
  html[data-cms-theme="verre-liquide"] .beer-card::before,
  html[data-cms-theme="verre-liquide"] .game-card::before,
  html[data-cms-theme="verre-liquide"] .web-card::before,
  html[data-cms-theme="verre-liquide"] .step-card::before,
  html:not([data-cms-theme]) .liquid-glass::before,
  html:not([data-cms-theme]) .creation-card::before,
  html:not([data-cms-theme]) .beer-card::before,
  html:not([data-cms-theme]) .game-card::before,
  html:not([data-cms-theme]) .web-card::before,
  html:not([data-cms-theme]) .step-card::before {
    background: radial-gradient(circle 340px at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(255, 255, 255, 0.15), transparent 70%) !important;
  }

  html[data-cms-theme="liquid-glass"] .mobile-sheet-panel,
  html[data-cms-theme="verre-liquide"] .mobile-sheet-panel,
  html:not([data-cms-theme]) .mobile-sheet-panel {
    background: linear-gradient(135deg, rgba(26, 28, 36, 0.88) 0%, rgba(14, 16, 22, 0.72) 100%) !important;
    border-left-color: rgba(255, 255, 255, 0.22) !important;
    box-shadow: 
      -24px 0 64px rgba(0, 0, 0, 0.45),
      inset 1.5px 0 2px rgba(255, 255, 255, 0.25) !important;
  }

  html[data-cms-theme="liquid-glass"] .mobile-sheet-close,
  html[data-cms-theme="verre-liquide"] .mobile-sheet-close,
  html:not([data-cms-theme]) .mobile-sheet-close {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 100%) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: inset 0 1.5px 1.5px rgba(255, 255, 255, 0.3), 0 4px 14px rgba(0, 0, 0, 0.3) !important;
  }
}

/* ==========================================================================
   THÈME 2 : CYBER CARBON / PULSATION CARBONE (data-cms-theme="cyber-carbon")
   Cockpit HUD Terminal Pleine Largeur, Boutons Biseautés Techno 45°, Châssis Serveur
   Aliases : cyber-carbon | pulsation-carbone | obsidian-pulse
   ========================================================================== */
html[data-cms-theme="pulsation-carbone"],
html[data-cms-theme="obsidian-pulse"],
html[data-cms-theme="cyber-carbon"] {
  --font-system: "Recursive", monospace, system-ui, sans-serif;
  --font-brand: "Recursive", monospace, sans-serif;
  --bg-base: #0a0b0e !important;
  --ink-primary: #f0f2f5 !important;
  --ink-secondary: #9ea4b0 !important;
  --ink-tertiary: #6b7280 !important;
  --ink-on-accent: #000000 !important;
  --accent: #FFED68 !important;
  --accent-rgb: 255, 237, 104 !important;
  --accent-hover: #f5dc38 !important;
  --accent-glow: rgba(255, 237, 104, 0.35) !important;
  --r-card: 4px !important;
  --r-btn: 0px !important;
  background-color: #0a0b0e !important;
  color: #f0f2f5 !important;
}

html[data-cms-theme="pulsation-carbone"] body,
html[data-cms-theme="obsidian-pulse"] body,
html[data-cms-theme="cyber-carbon"] body {
  background-color: #0a0b0e !important;
  color: #f0f2f5 !important;
  background-image: radial-gradient(rgba(255, 237, 104, 0.04) 1px, transparent 1px) !important;
  background-size: 24px 24px !important;
}

/* --- Navigation : Barre Cockpit HUD Pleine Largeur --- */
html[data-cms-theme="pulsation-carbone"] .floating-nav-wrap,
html[data-cms-theme="obsidian-pulse"] .floating-nav-wrap,
html[data-cms-theme="cyber-carbon"] .floating-nav-wrap {
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  transform: none !important;
}

html[data-cms-theme="pulsation-carbone"] .floating-nav,
html[data-cms-theme="pulsation-carbone"] .floating-nav-wrap[data-scrolled="true"] .floating-nav,
html[data-cms-theme="obsidian-pulse"] .floating-nav,
html[data-cms-theme="obsidian-pulse"] .floating-nav-wrap[data-scrolled="true"] .floating-nav,
html[data-cms-theme="cyber-carbon"] .floating-nav,
html[data-cms-theme="cyber-carbon"] .floating-nav-wrap[data-scrolled="true"] .floating-nav {
  width: 100% !important;
  max-width: 100% !important;
  border-radius: 0 0 10px 10px !important;
  margin: 0 !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: 2px solid #FFED68 !important;
  background: rgba(10, 11, 15, 0.96) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.8), 0 0 24px rgba(255, 237, 104, 0.25) !important;
  padding: 10px 28px !important;
}

html[data-cms-theme="pulsation-carbone"] .floating-glider,
html[data-cms-theme="obsidian-pulse"] .floating-glider,
html[data-cms-theme="cyber-carbon"] .floating-glider {
  display: none !important;
}

html[data-cms-theme="pulsation-carbone"] .nav-brand-text,
html[data-cms-theme="obsidian-pulse"] .nav-brand-text,
html[data-cms-theme="cyber-carbon"] .nav-brand-text {
  color: #FFED68 !important;
  font-family: "Recursive", monospace !important;
  font-weight: 850 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  text-shadow: 0 0 12px rgba(255, 237, 104, 0.5) !important;
}

html[data-cms-theme="pulsation-carbone"] .nav-link,
html[data-cms-theme="pulsation-carbone"] .nav-action-btn,
html[data-cms-theme="obsidian-pulse"] .nav-link,
html[data-cms-theme="obsidian-pulse"] .nav-action-btn,
html[data-cms-theme="cyber-carbon"] .nav-link,
html[data-cms-theme="cyber-carbon"] .nav-action-btn {
  font-family: "Recursive", monospace !important;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  color: #c4c8d4 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 6px 12px !important;
  transition: color 0.2s ease, text-shadow 0.2s ease !important;
}

html[data-cms-theme="pulsation-carbone"] .nav-link:hover,
html[data-cms-theme="pulsation-carbone"] .nav-link.active,
html[data-cms-theme="obsidian-pulse"] .nav-link:hover,
html[data-cms-theme="obsidian-pulse"] .nav-link.active,
html[data-cms-theme="cyber-carbon"] .nav-link:hover,
html[data-cms-theme="cyber-carbon"] .nav-link.active {
  color: #FFED68 !important;
  text-shadow: 0 0 10px rgba(255, 237, 104, 0.7) !important;
}

html[data-cms-theme="pulsation-carbone"] .nav-link::before,
html[data-cms-theme="obsidian-pulse"] .nav-link::before,
html[data-cms-theme="cyber-carbon"] .nav-link::before {
  content: "[ " !important;
  color: #FFED68 !important;
  opacity: 0.35 !important;
  transition: opacity 0.2s ease !important;
}

html[data-cms-theme="pulsation-carbone"] .nav-link::after,
html[data-cms-theme="obsidian-pulse"] .nav-link::after,
html[data-cms-theme="cyber-carbon"] .nav-link::after {
  content: " ]" !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  color: #FFED68 !important;
  opacity: 0.35 !important;
  transform: none !important;
  transition: opacity 0.2s ease !important;
}

html[data-cms-theme="pulsation-carbone"] .nav-link:hover::before,
html[data-cms-theme="pulsation-carbone"] .nav-link:hover::after,
html[data-cms-theme="pulsation-carbone"] .nav-link.active::before,
html[data-cms-theme="pulsation-carbone"] .nav-link.active::after,
html[data-cms-theme="obsidian-pulse"] .nav-link:hover::before,
html[data-cms-theme="obsidian-pulse"] .nav-link:hover::after,
html[data-cms-theme="obsidian-pulse"] .nav-link.active::before,
html[data-cms-theme="obsidian-pulse"] .nav-link.active::after,
html[data-cms-theme="cyber-carbon"] .nav-link:hover::before,
html[data-cms-theme="cyber-carbon"] .nav-link:hover::after,
html[data-cms-theme="cyber-carbon"] .nav-link.active::before,
html[data-cms-theme="cyber-carbon"] .nav-link.active::after {
  opacity: 1 !important;
}

/* --- Boutons : Techno-Angulaires Biseautés 45° --- */
html[data-cms-theme="pulsation-carbone"] .btn-primary,
html[data-cms-theme="pulsation-carbone"] .conversion-btn-primary,
html[data-cms-theme="pulsation-carbone"] .pole-btn.active,
html[data-cms-theme="obsidian-pulse"] .btn-primary,
html[data-cms-theme="obsidian-pulse"] .conversion-btn-primary,
html[data-cms-theme="obsidian-pulse"] .pole-btn.active,
html[data-cms-theme="cyber-carbon"] .btn-primary,
html[data-cms-theme="cyber-carbon"] .conversion-btn-primary,
html[data-cms-theme="cyber-carbon"] .pole-btn.active {
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px) !important;
  border-radius: 0 !important;
  background: #FFED68 !important;
  color: #000000 !important;
  font-family: "Recursive", monospace !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  border: none !important;
  box-shadow: 0 0 18px rgba(255, 237, 104, 0.45) !important;
  transition: transform 0.15s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.15s ease, filter 0.15s ease !important;
  padding: 12px 26px !important;
}

html[data-cms-theme="pulsation-carbone"] .btn-primary *,
html[data-cms-theme="pulsation-carbone"] .conversion-btn-primary *,
html[data-cms-theme="pulsation-carbone"] .pole-btn.active *,
html[data-cms-theme="obsidian-pulse"] .btn-primary *,
html[data-cms-theme="obsidian-pulse"] .conversion-btn-primary *,
html[data-cms-theme="obsidian-pulse"] .pole-btn.active *,
html[data-cms-theme="cyber-carbon"] .btn-primary *,
html[data-cms-theme="cyber-carbon"] .conversion-btn-primary *,
html[data-cms-theme="cyber-carbon"] .pole-btn.active * {
  color: #000000 !important;
}

html[data-cms-theme="pulsation-carbone"] .btn-primary:hover,
html[data-cms-theme="pulsation-carbone"] .conversion-btn-primary:hover,
html[data-cms-theme="obsidian-pulse"] .btn-primary:hover,
html[data-cms-theme="obsidian-pulse"] .conversion-btn-primary:hover,
html[data-cms-theme="cyber-carbon"] .btn-primary:hover,
html[data-cms-theme="cyber-carbon"] .conversion-btn-primary:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 0 28px rgba(255, 237, 104, 0.75) !important;
  filter: brightness(1.1) !important;
}

html[data-cms-theme="pulsation-carbone"] .btn-primary:active,
html[data-cms-theme="pulsation-carbone"] .conversion-btn-primary:active,
html[data-cms-theme="obsidian-pulse"] .btn-primary:active,
html[data-cms-theme="obsidian-pulse"] .conversion-btn-primary:active,
html[data-cms-theme="cyber-carbon"] .btn-primary:active,
html[data-cms-theme="cyber-carbon"] .conversion-btn-primary:active {
  transform: scale(0.96) !important;
  filter: brightness(1.25) !important;
}

html[data-cms-theme="pulsation-carbone"] .btn-secondary,
html[data-cms-theme="pulsation-carbone"] .conversion-btn-secondary,
html[data-cms-theme="obsidian-pulse"] .btn-secondary,
html[data-cms-theme="obsidian-pulse"] .conversion-btn-secondary,
html[data-cms-theme="cyber-carbon"] .btn-secondary,
html[data-cms-theme="cyber-carbon"] .conversion-btn-secondary {
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px) !important;
  border-radius: 0 !important;
  background: rgba(255, 237, 104, 0.08) !important;
  border: 1px solid rgba(255, 237, 104, 0.5) !important;
  color: #FFED68 !important;
  font-family: "Recursive", monospace !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

/* --- Cartes & Tuiles : Châssis Serveur Rack & Viseur Laser --- */
html[data-cms-theme="pulsation-carbone"] .liquid-glass,
html[data-cms-theme="pulsation-carbone"] .creation-card,
html[data-cms-theme="pulsation-carbone"] .beer-card,
html[data-cms-theme="pulsation-carbone"] .step-card,
html[data-cms-theme="pulsation-carbone"] .game-card,
html[data-cms-theme="pulsation-carbone"] .web-card,
html[data-cms-theme="obsidian-pulse"] .liquid-glass,
html[data-cms-theme="obsidian-pulse"] .creation-card,
html[data-cms-theme="obsidian-pulse"] .beer-card,
html[data-cms-theme="obsidian-pulse"] .step-card,
html[data-cms-theme="obsidian-pulse"] .game-card,
html[data-cms-theme="obsidian-pulse"] .web-card,
html[data-cms-theme="cyber-carbon"] .liquid-glass,
html[data-cms-theme="cyber-carbon"] .creation-card,
html[data-cms-theme="cyber-carbon"] .beer-card,
html[data-cms-theme="cyber-carbon"] .step-card,
html[data-cms-theme="cyber-carbon"] .game-card,
html[data-cms-theme="cyber-carbon"] .web-card {
  position: relative;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: linear-gradient(180deg, #12131a 0%, #0c0d12 100%) !important;
  border: 1.5px solid rgba(255, 237, 104, 0.3) !important;
  border-radius: 4px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
  color: #f0f2f5 !important;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, border-color 0.22s ease !important;
}

html[data-cms-theme="pulsation-carbone"] .liquid-glass:hover,
html[data-cms-theme="pulsation-carbone"] .creation-card:hover,
html[data-cms-theme="pulsation-carbone"] .beer-card:hover,
html[data-cms-theme="pulsation-carbone"] .step-card:hover,
html[data-cms-theme="pulsation-carbone"] .game-card:hover,
html[data-cms-theme="pulsation-carbone"] .web-card:hover,
html[data-cms-theme="obsidian-pulse"] .liquid-glass:hover,
html[data-cms-theme="obsidian-pulse"] .creation-card:hover,
html[data-cms-theme="obsidian-pulse"] .beer-card:hover,
html[data-cms-theme="obsidian-pulse"] .step-card:hover,
html[data-cms-theme="obsidian-pulse"] .game-card:hover,
html[data-cms-theme="obsidian-pulse"] .web-card:hover,
html[data-cms-theme="cyber-carbon"] .liquid-glass:hover,
html[data-cms-theme="cyber-carbon"] .creation-card:hover,
html[data-cms-theme="cyber-carbon"] .beer-card:hover,
html[data-cms-theme="cyber-carbon"] .step-card:hover,
html[data-cms-theme="cyber-carbon"] .game-card:hover,
html[data-cms-theme="cyber-carbon"] .web-card:hover {
  transform: translateY(-4px) !important;
  border-color: #FFED68 !important;
  box-shadow: 0 0 28px rgba(255, 237, 104, 0.35), inset 0 0 14px rgba(255, 237, 104, 0.08) !important;
}

html[data-cms-theme="pulsation-carbone"] .liquid-glass::after,
html[data-cms-theme="pulsation-carbone"] .creation-card::after,
html[data-cms-theme="pulsation-carbone"] .beer-card::after,
html[data-cms-theme="pulsation-carbone"] .step-card::after,
html[data-cms-theme="obsidian-pulse"] .liquid-glass::after,
html[data-cms-theme="obsidian-pulse"] .creation-card::after,
html[data-cms-theme="obsidian-pulse"] .beer-card::after,
html[data-cms-theme="obsidian-pulse"] .step-card::after,
html[data-cms-theme="cyber-carbon"] .liquid-glass::after,
html[data-cms-theme="cyber-carbon"] .creation-card::after,
html[data-cms-theme="cyber-carbon"] .beer-card::after,
html[data-cms-theme="cyber-carbon"] .step-card::after {
  display: none !important;
}

/* --- Badges & Eyebrows HUD --- */
html[data-cms-theme="pulsation-carbone"] .glass-pill,
html[data-cms-theme="pulsation-carbone"] .spec-badge,
html[data-cms-theme="pulsation-carbone"] .beer-style-badge,
html[data-cms-theme="obsidian-pulse"] .glass-pill,
html[data-cms-theme="obsidian-pulse"] .spec-badge,
html[data-cms-theme="obsidian-pulse"] .beer-style-badge,
html[data-cms-theme="cyber-carbon"] .glass-pill,
html[data-cms-theme="cyber-carbon"] .spec-badge,
html[data-cms-theme="cyber-carbon"] .beer-style-badge {
  background: rgba(255, 237, 104, 0.15) !important;
  border: 1px solid #FFED68 !important;
  border-radius: 2px !important;
  color: #FFED68 !important;
  font-family: "Recursive", monospace !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
}

html[data-cms-theme="pulsation-carbone"] .section-eyebrow,
html[data-cms-theme="pulsation-carbone"] .hero-pill,
html[data-cms-theme="obsidian-pulse"] .section-eyebrow,
html[data-cms-theme="obsidian-pulse"] .hero-pill,
html[data-cms-theme="cyber-carbon"] .section-eyebrow,
html[data-cms-theme="cyber-carbon"] .hero-pill {
  font-family: "Recursive", monospace !important;
  font-weight: 700 !important;
  font-size: 0.74rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.2em !important;
  color: #FFED68 !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 2px solid #FFED68 !important;
  border-radius: 0 !important;
  padding: 0 0 6px 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

/* --- Drawer Mobile : Console Scanline Terminal --- */
html[data-cms-theme="pulsation-carbone"] .mobile-sheet-panel,
html[data-cms-theme="obsidian-pulse"] .mobile-sheet-panel,
html[data-cms-theme="cyber-carbon"] .mobile-sheet-panel {
  background: #0b0c10 !important;
  color: #FFED68 !important;
  border-left: 2px solid #FFED68 !important;
  box-shadow: -10px 0 40px rgba(255, 237, 104, 0.3) !important;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(255, 237, 104, 0.03) 0px,
    rgba(255, 237, 104, 0.03) 1px,
    transparent 1px,
    transparent 3px
  ) !important;
  font-family: "Recursive", monospace !important;
}

html[data-cms-theme="pulsation-carbone"] .mobile-sheet-close,
html[data-cms-theme="obsidian-pulse"] .mobile-sheet-close,
html[data-cms-theme="cyber-carbon"] .mobile-sheet-close {
  border-radius: 0 !important;
  background: #181920 !important;
  border: 1px solid #FFED68 !important;
  color: #FFED68 !important;
  box-shadow: 0 0 10px rgba(255, 237, 104, 0.3) !important;
}

html[data-cms-theme="pulsation-carbone"] .mobile-sheet-link,
html[data-cms-theme="obsidian-pulse"] .mobile-sheet-link,
html[data-cms-theme="cyber-carbon"] .mobile-sheet-link {
  color: #ffffff !important;
  font-family: "Recursive", monospace !important;
  font-size: 0.95rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.14em !important;
  border-bottom: 1px solid rgba(255, 237, 104, 0.25) !important;
  padding: 14px 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  transition: all 0.2s ease !important;
}

html[data-cms-theme="pulsation-carbone"] .mobile-sheet-link:hover,
html[data-cms-theme="obsidian-pulse"] .mobile-sheet-link:hover,
html[data-cms-theme="cyber-carbon"] .mobile-sheet-link:hover {
  color: #FFED68 !important;
  padding-left: 8px !important;
  border-bottom-color: #FFED68 !important;
  text-shadow: 0 0 10px #FFED68 !important;
}

/* ==========================================================================
   THÈME 3 : STUDIO CINÉTIQUE (data-cms-theme="studio-cinetique")
   Surfaces Atelier Franches, Bordure Projecteur Radial, Ruban Infini & Barre Rapide
   ========================================================================== */
html[data-cms-theme="studio-cinetique"],
html[data-cms-theme="kinetic-studio"] {
  --font-system: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --font-brand: "Space Grotesk", system-ui, sans-serif;
  --bg-base: #fcfbf9 !important;
  --ink-primary: #000000 !important;
  --ink-secondary: #222222 !important;
  --ink-tertiary: #555555 !important;
  --ink-on-accent: #ffffff !important;
  --accent: #fc4b08 !important;
  --accent-rgb: 252, 75, 8 !important;
  --accent-hover: #ff5e20 !important;
  --r-card: 18px !important;
  --r-btn: 9999px !important;
  background-color: #fcfbf9 !important;
  color: #000000 !important;
}

html[data-cms-theme="studio-cinetique"] body,
html[data-cms-theme="kinetic-studio"] body {
  background-color: var(--bg-base) !important;
  color: var(--ink-primary) !important;
  background-image: none !important;
}

/* --- Navigation Studio Cinétique : Dock Asymétrique Flottant Décalé --- */
html[data-cms-theme="studio-cinetique"] .floating-nav-wrap,
html[data-cms-theme="kinetic-studio"] .floating-nav-wrap {
  top: 18px !important;
  max-width: 94% !important;
}

html[data-cms-theme="studio-cinetique"] .floating-nav,
html[data-cms-theme="studio-cinetique"] .floating-nav-wrap[data-scrolled="true"] .floating-nav,
html[data-cms-theme="kinetic-studio"] .floating-nav,
html[data-cms-theme="kinetic-studio"] .floating-nav-wrap[data-scrolled="true"] .floating-nav {
  border-radius: 20px !important;
  background: #ffffff !important;
  border: 2.5px solid #000000 !important;
  box-shadow: 6px 6px 0px #fc4b08, 6px 6px 0px 1px #000000 !important;
  transform: rotate(-0.4deg) !important;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease !important;
  padding: 10px 22px !important;
}

html[data-cms-theme="studio-cinetique"] .floating-nav:hover,
html[data-cms-theme="kinetic-studio"] .floating-nav:hover {
  transform: rotate(0deg) scale(1.005) !important;
  box-shadow: 8px 8px 0px #fc4b08, 8px 8px 0px 1px #000000 !important;
}

html[data-cms-theme="studio-cinetique"] .floating-glider,
html[data-cms-theme="kinetic-studio"] .floating-glider {
  display: none !important;
}

html[data-cms-theme="studio-cinetique"] .nav-brand-text,
html[data-cms-theme="kinetic-studio"] .nav-brand-text {
  font-family: "Space Grotesk", sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em !important;
  font-size: 1.15rem !important;
  color: #000000 !important;
}

html[data-cms-theme="studio-cinetique"] .nav-link,
html[data-cms-theme="kinetic-studio"] .nav-link {
  font-family: "Space Grotesk", sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  color: #000000 !important;
  padding: 8px 14px !important;
  border-radius: 9999px !important;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

html[data-cms-theme="studio-cinetique"] .nav-link:hover,
html[data-cms-theme="studio-cinetique"] .nav-link.active,
html[data-cms-theme="kinetic-studio"] .nav-link:hover,
html[data-cms-theme="kinetic-studio"] .nav-link.active {
  background: #000000 !important;
  color: #ffffff !important;
  transform: translateY(-2px) scale(1.04) !important;
}

/* --- Boutons Studio Cinétique : Pilules Élastiques Dynamiques --- */
html[data-cms-theme="studio-cinetique"] .btn-primary,
html[data-cms-theme="studio-cinetique"] .conversion-btn-primary,
html[data-cms-theme="studio-cinetique"] .nav-action-btn,
html[data-cms-theme="studio-cinetique"] .pole-btn.active,
html[data-cms-theme="kinetic-studio"] .btn-primary,
html[data-cms-theme="kinetic-studio"] .conversion-btn-primary,
html[data-cms-theme="kinetic-studio"] .nav-action-btn,
html[data-cms-theme="kinetic-studio"] .pole-btn.active {
  background: #fc4b08 !important;
  color: #ffffff !important;
  border: 2.5px solid #000000 !important;
  border-radius: 9999px !important;
  box-shadow: 4px 4px 0px #000000 !important;
  font-family: "Space Grotesk", sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
  padding: 12px 26px !important;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, background 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

html[data-cms-theme="studio-cinetique"] .btn-primary *,
html[data-cms-theme="studio-cinetique"] .conversion-btn-primary *,
html[data-cms-theme="studio-cinetique"] .nav-action-btn *,
html[data-cms-theme="kinetic-studio"] .btn-primary *,
html[data-cms-theme="kinetic-studio"] .conversion-btn-primary *,
html[data-cms-theme="kinetic-studio"] .nav-action-btn * {
  color: #ffffff !important;
}

html[data-cms-theme="studio-cinetique"] .btn-primary:hover,
html[data-cms-theme="studio-cinetique"] .conversion-btn-primary:hover,
html[data-cms-theme="studio-cinetique"] .nav-action-btn:hover,
html[data-cms-theme="kinetic-studio"] .btn-primary:hover,
html[data-cms-theme="kinetic-studio"] .conversion-btn-primary:hover,
html[data-cms-theme="kinetic-studio"] .nav-action-btn:hover {
  transform: translateY(-3px) scale(1.06) rotate(-2deg) !important;
  box-shadow: 6px 6px 0px #000000 !important;
  background: #ff5e20 !important;
}

html[data-cms-theme="studio-cinetique"] .btn-primary:active,
html[data-cms-theme="studio-cinetique"] .conversion-btn-primary:active,
html[data-cms-theme="studio-cinetique"] .nav-action-btn:active,
html[data-cms-theme="kinetic-studio"] .btn-primary:active,
html[data-cms-theme="kinetic-studio"] .conversion-btn-primary:active,
html[data-cms-theme="kinetic-studio"] .nav-action-btn:active {
  transform: scale(0.93) rotate(1deg) !important;
  box-shadow: 1px 1px 0px #000000 !important;
}

html[data-cms-theme="studio-cinetique"] .btn-secondary,
html[data-cms-theme="studio-cinetique"] .conversion-btn-secondary,
html[data-cms-theme="kinetic-studio"] .btn-secondary,
html[data-cms-theme="kinetic-studio"] .conversion-btn-secondary {
  background: #ffffff !important;
  color: #000000 !important;
  border: 2px solid #000000 !important;
  border-radius: 9999px !important;
  box-shadow: 3px 3px 0px #000000 !important;
  font-family: "Space Grotesk", sans-serif !important;
  font-weight: 700 !important;
}

/* --- Cartes & Tuiles Studio Cinétique : Blocs Asymétriques Ressort --- */
html[data-cms-theme="studio-cinetique"] .liquid-glass,
html[data-cms-theme="studio-cinetique"] .creation-card,
html[data-cms-theme="studio-cinetique"] .beer-card,
html[data-cms-theme="studio-cinetique"] .step-card,
html[data-cms-theme="studio-cinetique"] .game-card,
html[data-cms-theme="studio-cinetique"] .web-card,
html[data-cms-theme="kinetic-studio"] .liquid-glass,
html[data-cms-theme="kinetic-studio"] .creation-card,
html[data-cms-theme="kinetic-studio"] .beer-card,
html[data-cms-theme="kinetic-studio"] .step-card,
html[data-cms-theme="kinetic-studio"] .game-card,
html[data-cms-theme="kinetic-studio"] .web-card {
  position: relative;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: #ffffff !important;
  color: #000000 !important;
  border: 2px solid #000000 !important;
  border-radius: 18px !important;
  box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.08) !important;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, border-color 0.2s ease !important;
}

html[data-cms-theme="studio-cinetique"] .liquid-glass:hover,
html[data-cms-theme="studio-cinetique"] .creation-card:hover,
html[data-cms-theme="studio-cinetique"] .beer-card:hover,
html[data-cms-theme="studio-cinetique"] .step-card:hover,
html[data-cms-theme="studio-cinetique"] .game-card:hover,
html[data-cms-theme="studio-cinetique"] .web-card:hover,
html[data-cms-theme="kinetic-studio"] .liquid-glass:hover,
html[data-cms-theme="kinetic-studio"] .creation-card:hover,
html[data-cms-theme="kinetic-studio"] .beer-card:hover,
html[data-cms-theme="kinetic-studio"] .step-card:hover,
html[data-cms-theme="kinetic-studio"] .game-card:hover,
html[data-cms-theme="kinetic-studio"] .web-card:hover {
  transform: translate(-5px, -5px) !important;
  box-shadow: 9px 9px 0px #fc4b08, 9px 9px 0px 1.5px #000000 !important;
  border-color: #000000 !important;
}

/* RIDEAU PLEIN ÉCRAN TOP-DOWN ("Curtain Drop") pour Studio Cinétique */
html[data-cms-theme="studio-cinetique"] .mobile-sheet,
html[data-cms-theme="kinetic-studio"] .mobile-sheet {
  justify-content: flex-start !important;
  align-items: flex-start !important;
}

html[data-cms-theme="studio-cinetique"] .mobile-sheet-panel,
html[data-cms-theme="kinetic-studio"] .mobile-sheet-panel {
  width: 100vw !important;
  max-width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  transform: translateY(-100%) !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  background: #ffffff !important;
  color: #000000 !important;
  padding: calc(32px + env(safe-area-inset-top, 0px)) 28px calc(32px + env(safe-area-inset-bottom, 0px)) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  border-radius: 0 !important;
}

html[data-cms-theme="studio-cinetique"] .mobile-sheet.open .mobile-sheet-panel,
html[data-cms-theme="kinetic-studio"] .mobile-sheet.open .mobile-sheet-panel {
  transform: translateY(0) !important;
}

html[data-cms-theme="studio-cinetique"] .mobile-sheet-close,
html[data-cms-theme="kinetic-studio"] .mobile-sheet-close {
  background: #000000 !important;
  color: #ffffff !important;
  border-radius: 999px !important;
  width: 48px !important;
  height: 48px !important;
  font-size: 1.4rem !important;
  border: none !important;
}

html[data-cms-theme="studio-cinetique"] .mobile-sheet-links,
html[data-cms-theme="kinetic-studio"] .mobile-sheet-links {
  gap: 18px !important;
  margin: auto 0 !important;
}

html[data-cms-theme="studio-cinetique"] .mobile-sheet-link,
html[data-cms-theme="kinetic-studio"] .mobile-sheet-link {
  font-size: clamp(1.8rem, 7vw, 2.8rem) !important;
  font-weight: 900 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.1 !important;
  color: #000000 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1) !important;
  padding-bottom: 12px !important;
}

html[data-cms-theme="studio-cinetique"] .mobile-sheet-link::after,
html[data-cms-theme="kinetic-studio"] .mobile-sheet-link::after {
  content: "→";
  font-size: 1.8rem;
  color: #fc4b08;
  opacity: 0.6;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

html[data-cms-theme="studio-cinetique"] .mobile-sheet-link:hover::after,
html[data-cms-theme="kinetic-studio"] .mobile-sheet-link:hover::after {
  transform: translateX(8px);
  opacity: 1;
}

/* Composants Cinétiques : Ruban Infini Bidirectionnel & Barre Rapide Flottante */
@keyframes collineRubanDefilement {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(calc(-50% - 12px), 0, 0); }
}

@keyframes collineRubanInverse {
  0% { transform: translate3d(calc(-50% - 12px), 0, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

@keyframes collineApparitionDouce {
  0% {
    opacity: 0;
    filter: blur(8px);
    transform: translate3d(0, 16px, 0);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0);
  }
}

.colline-apparition-douce {
  animation: collineApparitionDouce 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.colline-ruban-piste {
  display: flex;
  width: max-content;
  gap: 24px;
  animation: collineRubanDefilement 36s linear infinite;
  will-change: transform;
}

.colline-ruban-piste--inverse {
  animation-name: collineRubanInverse;
}

.colline-ruban-conteneur:hover .colline-ruban-piste {
  animation-play-state: paused;
}

.colline-barre-flottante {
  position: fixed;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 980;
  display: inline-flex;
  align-items: flex-end;
  gap: 10px;
  height: 58px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.14);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16);
}

.colline-barre-icone {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-base);
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: var(--ink-primary) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  text-decoration: none;
  transition: width 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.2s ease;
}

.colline-barre-icone:hover {
  width: 54px;
  height: 54px;
  transform: translateY(-6px);
  border-color: var(--accent);
}

/* ==========================================================================
   THÈMES 4, 5, 6 : ÉDITORIAL ÉPURÉ, BRUTALISTE FRANC, PRESTIGE & GALERIE
   ========================================================================== */
html[data-cms-theme="editorial-epure"] .ambient-glow,
html[data-cms-theme="editorial-clean"] .ambient-glow,
html[data-cms-theme="brutaliste-franc"] .ambient-glow,
html[data-cms-theme="brutalist-tech"] .ambient-glow {
  display: none !important;
}

/* ==========================================================================
   THÈME 4 : ÉDITORIAL ÉPURÉ (data-cms-theme="editorial-clean")
   Manchette Centrée Gazette Littéraire, Boutons Boîtes Typographiques 1.2px, Zéro Lévitation
   Aliases : editorial-clean | editorial-epure
   ========================================================================== */
html[data-cms-theme="editorial-epure"],
html[data-cms-theme="editorial-clean"] {
  --font-system: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-brand: "Cinzel Decorative", "Playfair Display", Georgia, serif;
  --bg-base: #fbf9f4 !important;
  --ink-primary: #1a1a18 !important;
  --ink-secondary: #3d3d38 !important;
  --ink-tertiary: #6b6b64 !important;
  --ink-on-accent: #ffffff !important;
  --accent: #8b261e !important;
  --accent-rgb: 139, 38, 30 !important;
  --accent-hover: #6e1c15 !important;
  --r-card: 0px !important;
  --r-btn: 0px !important;
  background-color: #fbf9f4 !important;
  color: #1a1a18 !important;
}

html[data-cms-theme="editorial-epure"] body,
html[data-cms-theme="editorial-clean"] body {
  background-color: #fbf9f4 !important;
  color: #1a1a18 !important;
  background-image: none !important;
}

/* Navigation : Manchette de Presse / Gazette Centrée */
html[data-cms-theme="editorial-epure"] .floating-nav-wrap,
html[data-cms-theme="editorial-clean"] .floating-nav-wrap {
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  transform: none !important;
}

html[data-cms-theme="editorial-epure"] .floating-nav,
html[data-cms-theme="editorial-clean"] .floating-nav {
  width: 100% !important;
  max-width: 100% !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: #fbf9f4 !important;
  color: #1a1a18 !important;
  border-top: 3px double #1a1a18 !important;
  border-bottom: 1px solid #1a1a18 !important;
  border-left: none !important;
  border-right: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 12px 24px !important;
}

html[data-cms-theme="editorial-epure"] .floating-glider,
html[data-cms-theme="editorial-clean"] .floating-glider {
  display: none !important;
}

html[data-cms-theme="editorial-epure"] .nav-brand-text,
html[data-cms-theme="editorial-clean"] .nav-brand-text {
  font-family: "Cinzel Decorative", Georgia, serif !important;
  letter-spacing: 0.12em !important;
  font-size: 1.15rem !important;
  color: #1a1a18 !important;
  text-transform: uppercase !important;
}

html[data-cms-theme="editorial-epure"] .nav-link,
html[data-cms-theme="editorial-clean"] .nav-link {
  font-family: "Playfair Display", Georgia, serif !important;
  font-style: italic !important;
  font-size: 0.95rem !important;
  color: #1a1a18 !important;
  padding: 6px 14px !important;
  position: relative !important;
  transition: color 0.2s ease !important;
}

html[data-cms-theme="editorial-epure"] .nav-link:hover,
html[data-cms-theme="editorial-epure"] .nav-link.active,
html[data-cms-theme="editorial-clean"] .nav-link:hover,
html[data-cms-theme="editorial-clean"] .nav-link.active {
  color: #8b261e !important;
  text-decoration: underline !important;
  text-underline-offset: 4px !important;
}

/* Boutons : Boîtes Typographiques 1.2px Rectangulaires (Inversion d'Encre, Zéro Déplacement) */
html[data-cms-theme="editorial-epure"] .btn-primary,
html[data-cms-theme="editorial-epure"] .conversion-btn-primary,
html[data-cms-theme="editorial-epure"] .nav-action-btn,
html[data-cms-theme="editorial-epure"] .pole-btn.active,
html[data-cms-theme="editorial-clean"] .btn-primary,
html[data-cms-theme="editorial-clean"] .conversion-btn-primary,
html[data-cms-theme="editorial-clean"] .nav-action-btn,
html[data-cms-theme="editorial-clean"] .pole-btn.active {
  background: transparent !important;
  color: #1a1a18 !important;
  border: 1.2px solid #1a1a18 !important;
  border-radius: 0px !important;
  font-family: "Playfair Display", Georgia, serif !important;
  font-style: italic !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.04em !important;
  box-shadow: none !important;
  transform: none !important;
  padding: 10px 24px !important;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
}

html[data-cms-theme="editorial-epure"] .btn-primary *,
html[data-cms-theme="editorial-epure"] .conversion-btn-primary *,
html[data-cms-theme="editorial-epure"] .nav-action-btn *,
html[data-cms-theme="editorial-clean"] .btn-primary *,
html[data-cms-theme="editorial-clean"] .conversion-btn-primary *,
html[data-cms-theme="editorial-clean"] .nav-action-btn * {
  color: inherit !important;
}

html[data-cms-theme="editorial-epure"] .btn-primary:hover,
html[data-cms-theme="editorial-epure"] .conversion-btn-primary:hover,
html[data-cms-theme="editorial-epure"] .nav-action-btn:hover,
html[data-cms-theme="editorial-clean"] .btn-primary:hover,
html[data-cms-theme="editorial-clean"] .conversion-btn-primary:hover,
html[data-cms-theme="editorial-clean"] .nav-action-btn:hover {
  background: #1a1a18 !important;
  color: #fbf9f4 !important;
  border-color: #1a1a18 !important;
  transform: none !important;
  box-shadow: none !important;
}

html[data-cms-theme="editorial-epure"] .btn-primary:hover *,
html[data-cms-theme="editorial-epure"] .conversion-btn-primary:hover *,
html[data-cms-theme="editorial-epure"] .nav-action-btn:hover *,
html[data-cms-theme="editorial-clean"] .btn-primary:hover *,
html[data-cms-theme="editorial-clean"] .conversion-btn-primary:hover *,
html[data-cms-theme="editorial-clean"] .nav-action-btn:hover * {
  color: #fbf9f4 !important;
}

html[data-cms-theme="editorial-epure"] .btn-primary:active,
html[data-cms-theme="editorial-epure"] .conversion-btn-primary:active,
html[data-cms-theme="editorial-epure"] .nav-action-btn:active,
html[data-cms-theme="editorial-clean"] .btn-primary:active,
html[data-cms-theme="editorial-clean"] .conversion-btn-primary:active,
html[data-cms-theme="editorial-clean"] .nav-action-btn:active {
  background: #3d3d38 !important;
  transform: none !important;
}

html[data-cms-theme="editorial-epure"] .btn-secondary,
html[data-cms-theme="editorial-epure"] .conversion-btn-secondary,
html[data-cms-theme="editorial-clean"] .btn-secondary,
html[data-cms-theme="editorial-clean"] .conversion-btn-secondary {
  background: transparent !important;
  border: 1px dashed #1a1a18 !important;
  border-radius: 0px !important;
  color: #1a1a18 !important;
  font-family: "Playfair Display", Georgia, serif !important;
  font-style: italic !important;
}

/* Cartes & Tuiles : Colonnes de Presse (ZÉRO déplacement vertical, lavage lin et filet) */
html[data-cms-theme="editorial-epure"] .liquid-glass,
html[data-cms-theme="editorial-epure"] .creation-card,
html[data-cms-theme="editorial-epure"] .beer-card,
html[data-cms-theme="editorial-epure"] .step-card,
html[data-cms-theme="editorial-epure"] .game-card,
html[data-cms-theme="editorial-epure"] .web-card,
html[data-cms-theme="editorial-clean"] .liquid-glass,
html[data-cms-theme="editorial-clean"] .creation-card,
html[data-cms-theme="editorial-clean"] .beer-card,
html[data-cms-theme="editorial-clean"] .step-card,
html[data-cms-theme="editorial-clean"] .game-card,
html[data-cms-theme="editorial-clean"] .web-card {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: #ffffff !important;
  color: #1a1a18 !important;
  border: 1px solid rgba(26, 26, 24, 0.22) !important;
  box-shadow: none !important;
  border-radius: 0px !important;
  transform: none !important;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease !important;
}

html[data-cms-theme="editorial-epure"] .liquid-glass:hover,
html[data-cms-theme="editorial-epure"] .creation-card:hover,
html[data-cms-theme="editorial-epure"] .beer-card:hover,
html[data-cms-theme="editorial-epure"] .step-card:hover,
html[data-cms-theme="editorial-epure"] .game-card:hover,
html[data-cms-theme="editorial-epure"] .web-card:hover,
html[data-cms-theme="editorial-clean"] .liquid-glass:hover,
html[data-cms-theme="editorial-clean"] .creation-card:hover,
html[data-cms-theme="editorial-clean"] .beer-card:hover,
html[data-cms-theme="editorial-clean"] .step-card:hover,
html[data-cms-theme="editorial-clean"] .game-card:hover,
html[data-cms-theme="editorial-clean"] .web-card:hover {
  transform: none !important;
  border-color: #1a1a18 !important;
  background: #fdfcf9 !important;
  box-shadow: 0 4px 14px rgba(26, 26, 24, 0.08) !important;
}

/* Tiroir Mobile : Feuille d'Imprimerie Gazette */
html[data-cms-theme="editorial-epure"] .mobile-sheet-panel,
html[data-cms-theme="editorial-clean"] .mobile-sheet-panel {
  background: #fbf9f4 !important;
  color: #1a1a18 !important;
  border-left: 2px solid #1a1a18 !important;
  font-family: "Playfair Display", Georgia, serif !important;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.08) !important;
  border-radius: 0 !important;
}

html[data-cms-theme="editorial-epure"] .mobile-sheet-close,
html[data-cms-theme="editorial-clean"] .mobile-sheet-close {
  background: transparent !important;
  border: 1px solid #1a1a18 !important;
  border-radius: 0 !important;
  color: #1a1a18 !important;
  font-family: Georgia, serif !important;
}

html[data-cms-theme="editorial-epure"] .mobile-sheet-link,
html[data-cms-theme="editorial-clean"] .mobile-sheet-link {
  font-size: 1.25rem !important;
  font-style: italic !important;
  color: #1a1a18 !important;
  border-bottom: 1px dashed rgba(26, 26, 24, 0.25) !important;
  padding: 12px 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

html[data-cms-theme="editorial-epure"] .mobile-sheet-link::before,
html[data-cms-theme="editorial-clean"] .mobile-sheet-link::before {
  content: "✦";
  font-size: 0.75rem;
  color: #1a1a18;
  opacity: 0.6;
}

/* ==========================================================================
   THÈME 5 : BRUTALIST (data-cms-theme="brutalist")
   Conteneur Bloc Néo-Brutaliste 3.5px, Boutons Durs Jaunes Switch, Projection Brute
   Aliases : brutalist | brutaliste-franc | brutalist-tech
   ========================================================================== */
html[data-cms-theme="brutaliste-franc"],
html[data-cms-theme="brutalist-tech"],
html[data-cms-theme="brutalist"] {
  --font-system: system-ui, -apple-system, sans-serif;
  --font-brand: system-ui, sans-serif;
  --bg-base: #f5f5f5 !important;
  --ink-primary: #000000 !important;
  --ink-secondary: #000000 !important;
  --ink-tertiary: #222222 !important;
  --ink-on-accent: #000000 !important;
  --accent: #FFE600 !important;
  --accent-rgb: 255, 230, 0 !important;
  --accent-hover: #ffd900 !important;
  --r-card: 0px !important;
  --r-btn: 0px !important;
  background-color: #f5f5f5 !important;
  color: #000000 !important;
}

html[data-cms-theme="brutaliste-franc"] body,
html[data-cms-theme="brutalist-tech"] body,
html[data-cms-theme="brutalist"] body {
  background-color: #f5f5f5 !important;
  color: #000000 !important;
  background-image: none !important;
}

/* Navigation : Bloc Brutaliste 3.5px & Ombre Dure */
html[data-cms-theme="brutaliste-franc"] .floating-nav-wrap,
html[data-cms-theme="brutalist-tech"] .floating-nav-wrap,
html[data-cms-theme="brutalist"] .floating-nav-wrap {
  top: 16px !important;
  max-width: 90% !important;
}

html[data-cms-theme="brutaliste-franc"] .floating-nav,
html[data-cms-theme="brutaliste-franc"] .floating-nav-wrap[data-scrolled="true"] .floating-nav,
html[data-cms-theme="brutalist-tech"] .floating-nav,
html[data-cms-theme="brutalist-tech"] .floating-nav-wrap[data-scrolled="true"] .floating-nav,
html[data-cms-theme="brutalist"] .floating-nav,
html[data-cms-theme="brutalist"] .floating-nav-wrap[data-scrolled="true"] .floating-nav {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: #ffffff !important;
  color: #000000 !important;
  border: 3.5px solid #000000 !important;
  border-radius: 0px !important;
  box-shadow: 6px 6px 0px #000000 !important;
  padding: 10px 24px !important;
}

html[data-cms-theme="brutaliste-franc"] .floating-glider,
html[data-cms-theme="brutalist-tech"] .floating-glider,
html[data-cms-theme="brutalist"] .floating-glider {
  display: none !important;
}

html[data-cms-theme="brutaliste-franc"] .nav-brand-text,
html[data-cms-theme="brutalist-tech"] .nav-brand-text,
html[data-cms-theme="brutalist"] .nav-brand-text {
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: -0.02em !important;
  font-size: 1.2rem !important;
  background: #000000 !important;
  color: #ffffff !important;
  padding: 2px 8px !important;
}

html[data-cms-theme="brutaliste-franc"] .nav-link,
html[data-cms-theme="brutalist-tech"] .nav-link,
html[data-cms-theme="brutalist"] .nav-link {
  font-weight: 800 !important;
  text-transform: uppercase !important;
  font-size: 0.84rem !important;
  letter-spacing: 0.05em !important;
  color: #000000 !important;
  padding: 6px 12px !important;
  border: 2px solid transparent !important;
}

html[data-cms-theme="brutaliste-franc"] .nav-link:hover,
html[data-cms-theme="brutaliste-franc"] .nav-link.active,
html[data-cms-theme="brutalist-tech"] .nav-link:hover,
html[data-cms-theme="brutalist-tech"] .nav-link.active,
html[data-cms-theme="brutalist"] .nav-link:hover,
html[data-cms-theme="brutalist"] .nav-link.active {
  border-color: #000000 !important;
  background: #FFE600 !important;
  color: #000000 !important;
}

/* Boutons Brutalistes : Blocs Carrés Durs 3.5px & Mécanique Switch */
html[data-cms-theme="brutaliste-franc"] .btn-primary,
html[data-cms-theme="brutaliste-franc"] .conversion-btn-primary,
html[data-cms-theme="brutaliste-franc"] .nav-action-btn,
html[data-cms-theme="brutaliste-franc"] .pole-btn.active,
html[data-cms-theme="brutalist-tech"] .btn-primary,
html[data-cms-theme="brutalist-tech"] .conversion-btn-primary,
html[data-cms-theme="brutalist-tech"] .nav-action-btn,
html[data-cms-theme="brutalist-tech"] .pole-btn.active,
html[data-cms-theme="brutalist"] .btn-primary,
html[data-cms-theme="brutalist"] .conversion-btn-primary,
html[data-cms-theme="brutalist"] .nav-action-btn,
html[data-cms-theme="brutalist"] .pole-btn.active {
  border: 3.5px solid #000000 !important;
  border-radius: 0px !important;
  background: #FFE600 !important;
  color: #000000 !important;
  box-shadow: 5px 5px 0px #000000 !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  padding: 12px 24px !important;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease !important;
}

html[data-cms-theme="brutaliste-franc"] .btn-primary *,
html[data-cms-theme="brutaliste-franc"] .conversion-btn-primary *,
html[data-cms-theme="brutaliste-franc"] .nav-action-btn *,
html[data-cms-theme="brutalist-tech"] .btn-primary *,
html[data-cms-theme="brutalist-tech"] .conversion-btn-primary *,
html[data-cms-theme="brutalist-tech"] .nav-action-btn *,
html[data-cms-theme="brutalist"] .btn-primary *,
html[data-cms-theme="brutalist"] .conversion-btn-primary *,
html[data-cms-theme="brutalist"] .nav-action-btn * {
  color: #000000 !important;
}

html[data-cms-theme="brutaliste-franc"] .btn-primary:hover,
html[data-cms-theme="brutaliste-franc"] .conversion-btn-primary:hover,
html[data-cms-theme="brutaliste-franc"] .nav-action-btn:hover,
html[data-cms-theme="brutalist-tech"] .btn-primary:hover,
html[data-cms-theme="brutalist-tech"] .conversion-btn-primary:hover,
html[data-cms-theme="brutalist-tech"] .nav-action-btn:hover,
html[data-cms-theme="brutalist"] .btn-primary:hover,
html[data-cms-theme="brutalist"] .conversion-btn-primary:hover,
html[data-cms-theme="brutalist"] .nav-action-btn:hover {
  transform: translate(-3px, -3px) !important;
  box-shadow: 8px 8px 0px #000000 !important;
}

html[data-cms-theme="brutaliste-franc"] .btn-primary:active,
html[data-cms-theme="brutaliste-franc"] .conversion-btn-primary:active,
html[data-cms-theme="brutaliste-franc"] .nav-action-btn:active,
html[data-cms-theme="brutalist-tech"] .btn-primary:active,
html[data-cms-theme="brutalist-tech"] .conversion-btn-primary:active,
html[data-cms-theme="brutalist-tech"] .nav-action-btn:active,
html[data-cms-theme="brutalist"] .btn-primary:active,
html[data-cms-theme="brutalist"] .conversion-btn-primary:active,
html[data-cms-theme="brutalist"] .nav-action-btn:active {
  transform: translate(3px, 3px) !important;
  box-shadow: 1px 1px 0px #000000 !important;
}

/* Cartes & Tuiles Brutalistes : Dalles de Béton Brut 3.5px */
html[data-cms-theme="brutaliste-franc"] .liquid-glass,
html[data-cms-theme="brutaliste-franc"] .creation-card,
html[data-cms-theme="brutaliste-franc"] .beer-card,
html[data-cms-theme="brutaliste-franc"] .step-card,
html[data-cms-theme="brutaliste-franc"] .game-card,
html[data-cms-theme="brutaliste-franc"] .web-card,
html[data-cms-theme="brutalist-tech"] .liquid-glass,
html[data-cms-theme="brutalist-tech"] .creation-card,
html[data-cms-theme="brutalist-tech"] .beer-card,
html[data-cms-theme="brutalist-tech"] .step-card,
html[data-cms-theme="brutalist-tech"] .game-card,
html[data-cms-theme="brutalist-tech"] .web-card,
html[data-cms-theme="brutalist"] .liquid-glass,
html[data-cms-theme="brutalist"] .creation-card,
html[data-cms-theme="brutalist"] .beer-card,
html[data-cms-theme="brutalist"] .step-card,
html[data-cms-theme="brutalist"] .game-card,
html[data-cms-theme="brutalist"] .web-card {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: #ffffff !important;
  color: #000000 !important;
  border: 3.5px solid #000000 !important;
  border-radius: 0px !important;
  box-shadow: 6px 6px 0px #000000 !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}

html[data-cms-theme="brutaliste-franc"] .liquid-glass:hover,
html[data-cms-theme="brutaliste-franc"] .creation-card:hover,
html[data-cms-theme="brutaliste-franc"] .beer-card:hover,
html[data-cms-theme="brutaliste-franc"] .step-card:hover,
html[data-cms-theme="brutaliste-franc"] .game-card:hover,
html[data-cms-theme="brutaliste-franc"] .web-card:hover,
html[data-cms-theme="brutalist-tech"] .liquid-glass:hover,
html[data-cms-theme="brutalist-tech"] .creation-card:hover,
html[data-cms-theme="brutalist-tech"] .beer-card:hover,
html[data-cms-theme="brutalist-tech"] .step-card:hover,
html[data-cms-theme="brutalist-tech"] .game-card:hover,
html[data-cms-theme="brutalist-tech"] .web-card:hover,
html[data-cms-theme="brutalist"] .liquid-glass:hover,
html[data-cms-theme="brutalist"] .creation-card:hover,
html[data-cms-theme="brutalist"] .beer-card:hover,
html[data-cms-theme="brutalist"] .step-card:hover,
html[data-cms-theme="brutalist"] .game-card:hover,
html[data-cms-theme="brutalist"] .web-card:hover {
  transform: translate(-4px, -4px) !important;
  box-shadow: 10px 10px 0px #000000 !important;
}

/* Tiroir Mobile Brutaliste : Coffre-Fort Monolithique */
html[data-cms-theme="brutaliste-franc"] .mobile-sheet-panel,
html[data-cms-theme="brutalist-tech"] .mobile-sheet-panel,
html[data-cms-theme="brutalist"] .mobile-sheet-panel {
  border-left: 4px solid #000000 !important;
  border-radius: 0 !important;
  box-shadow: -10px 0px 0px #000000 !important;
  background: #ffffff !important;
}

html[data-cms-theme="brutaliste-franc"] .mobile-sheet-close,
html[data-cms-theme="brutalist-tech"] .mobile-sheet-close,
html[data-cms-theme="brutalist"] .mobile-sheet-close {
  border: 3.5px solid #000000 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  color: #000000 !important;
  box-shadow: 4px 4px 0px #000000 !important;
}

html[data-cms-theme="brutaliste-franc"] .mobile-sheet-link,
html[data-cms-theme="brutalist-tech"] .mobile-sheet-link,
html[data-cms-theme="brutalist"] .mobile-sheet-link {
  border: 3px solid #000000 !important;
  background: #ffffff !important;
  padding: 14px 16px !important;
  box-shadow: 4px 4px 0px #000000 !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: #000000 !important;
  transition: transform 0.1s ease, box-shadow 0.1s ease !important;
}

html[data-cms-theme="brutaliste-franc"] .mobile-sheet-link:hover,
html[data-cms-theme="brutalist-tech"] .mobile-sheet-link:hover,
html[data-cms-theme="brutalist"] .mobile-sheet-link:hover {
  transform: translate(-3px, -3px) !important;
  box-shadow: 7px 7px 0px #000000 !important;
  background: #FFE600 !important;
  color: #000000 !important;
}

/* ==========================================================================
   THÈME 6 : PRESTIGE (data-cms-theme="prestige")
   Bandeau Or Brossé Impérial, Boutons Filaires Éthérés, Alcôves Sombre Velours
   Aliases : prestige | prestige-galerie | luxury-craft
   ========================================================================== */
html[data-cms-theme="prestige-galerie"],
html[data-cms-theme="luxury-craft"],
html[data-cms-theme="prestige"] {
  --font-system: "Cinzel Decorative", Georgia, serif;
  --font-brand: "Cinzel Decorative", Georgia, serif;
  --bg-base: #0e0e11 !important;
  --ink-primary: #f7f4ea !important;
  --ink-secondary: #c9c5b5 !important;
  --ink-tertiary: #8a8677 !important;
  --ink-on-accent: #000000 !important;
  --accent: #d4af37 !important;
  --accent-rgb: 212, 175, 55 !important;
  --accent-hover: #b89326 !important;
  --accent-glow: rgba(212, 175, 55, 0.25) !important;
  --r-card: 6px !important;
  --r-btn: 2px !important;
  background-color: #0e0e11 !important;
  color: #f7f4ea !important;
}

html[data-cms-theme="prestige-galerie"] body,
html[data-cms-theme="luxury-craft"] body,
html[data-cms-theme="prestige"] body {
  background-color: #0e0e11 !important;
  color: #f7f4ea !important;
  background-image: none !important;
}

/* Navigation : Bandeau Minimaliste Soie & Or Brossé */
html[data-cms-theme="prestige-galerie"] .floating-nav-wrap,
html[data-cms-theme="luxury-craft"] .floating-nav-wrap,
html[data-cms-theme="prestige"] .floating-nav-wrap {
  top: 20px !important;
  max-width: 960px !important;
}

html[data-cms-theme="prestige-galerie"] .floating-nav,
html[data-cms-theme="luxury-craft"] .floating-nav,
html[data-cms-theme="prestige"] .floating-nav {
  backdrop-filter: blur(28px) !important;
  -webkit-backdrop-filter: blur(28px) !important;
  background: rgba(18, 18, 22, 0.92) !important;
  border: 0.8px solid rgba(212, 175, 55, 0.45) !important;
  border-radius: 4px !important;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.6), 0 0 18px rgba(212, 175, 55, 0.14) !important;
  padding: 10px 28px !important;
}

html[data-cms-theme="prestige-galerie"] .floating-glider,
html[data-cms-theme="luxury-craft"] .floating-glider,
html[data-cms-theme="prestige"] .floating-glider {
  display: none !important;
}

html[data-cms-theme="prestige-galerie"] .nav-brand-text,
html[data-cms-theme="luxury-craft"] .nav-brand-text,
html[data-cms-theme="prestige"] .nav-brand-text {
  font-family: "Cinzel Decorative", Georgia, serif !important;
  letter-spacing: 0.28em !important;
  text-transform: uppercase !important;
  font-size: 0.92rem !important;
  color: #d4af37 !important;
}

html[data-cms-theme="prestige-galerie"] .nav-link,
html[data-cms-theme="luxury-craft"] .nav-link,
html[data-cms-theme="prestige"] .nav-link {
  font-family: "Cinzel Decorative", Georgia, serif !important;
  text-transform: uppercase !important;
  letter-spacing: 0.22em !important;
  font-size: 0.72rem !important;
  font-weight: 500 !important;
  color: #c9c5b5 !important;
  transition: all 0.3s ease !important;
}

html[data-cms-theme="prestige-galerie"] .nav-link:hover,
html[data-cms-theme="prestige-galerie"] .nav-link.active,
html[data-cms-theme="luxury-craft"] .nav-link:hover,
html[data-cms-theme="luxury-craft"] .nav-link.active,
html[data-cms-theme="prestige"] .nav-link:hover,
html[data-cms-theme="prestige"] .nav-link.active {
  color: #d4af37 !important;
  letter-spacing: 0.26em !important;
}

/* Boutons Prestige : Filaires Éthérés avec Cadre Or Fin */
html[data-cms-theme="prestige-galerie"] .btn-primary,
html[data-cms-theme="prestige-galerie"] .conversion-btn-primary,
html[data-cms-theme="prestige-galerie"] .nav-action-btn,
html[data-cms-theme="prestige-galerie"] .pole-btn.active,
html[data-cms-theme="luxury-craft"] .btn-primary,
html[data-cms-theme="luxury-craft"] .conversion-btn-primary,
html[data-cms-theme="luxury-craft"] .nav-action-btn,
html[data-cms-theme="luxury-craft"] .pole-btn.active,
html[data-cms-theme="prestige"] .btn-primary,
html[data-cms-theme="prestige"] .conversion-btn-primary,
html[data-cms-theme="prestige"] .nav-action-btn,
html[data-cms-theme="prestige"] .pole-btn.active {
  border: 0.8px solid #d4af37 !important;
  border-radius: 2px !important;
  background: transparent !important;
  color: #d4af37 !important;
  font-family: "Cinzel Decorative", Georgia, serif !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.24em !important;
  text-transform: uppercase !important;
  padding: 12px 28px !important;
  box-shadow: none !important;
  transition: all 0.3s ease !important;
}

html[data-cms-theme="prestige-galerie"] .btn-primary *,
html[data-cms-theme="prestige-galerie"] .conversion-btn-primary *,
html[data-cms-theme="prestige-galerie"] .nav-action-btn *,
html[data-cms-theme="luxury-craft"] .btn-primary *,
html[data-cms-theme="luxury-craft"] .conversion-btn-primary *,
html[data-cms-theme="luxury-craft"] .nav-action-btn *,
html[data-cms-theme="prestige"] .btn-primary *,
html[data-cms-theme="prestige"] .conversion-btn-primary *,
html[data-cms-theme="prestige"] .nav-action-btn * {
  color: inherit !important;
}

html[data-cms-theme="prestige-galerie"] .btn-primary:hover,
html[data-cms-theme="prestige-galerie"] .conversion-btn-primary:hover,
html[data-cms-theme="prestige-galerie"] .nav-action-btn:hover,
html[data-cms-theme="luxury-craft"] .btn-primary:hover,
html[data-cms-theme="luxury-craft"] .conversion-btn-primary:hover,
html[data-cms-theme="luxury-craft"] .nav-action-btn:hover,
html[data-cms-theme="prestige"] .btn-primary:hover,
html[data-cms-theme="prestige"] .conversion-btn-primary:hover,
html[data-cms-theme="prestige"] .nav-action-btn:hover {
  background: rgba(212, 175, 55, 0.14) !important;
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.35) !important;
  transform: translateY(-1px) !important;
}

html[data-cms-theme="prestige-galerie"] .btn-primary:active,
html[data-cms-theme="prestige-galerie"] .conversion-btn-primary:active,
html[data-cms-theme="prestige-galerie"] .nav-action-btn:active,
html[data-cms-theme="luxury-craft"] .btn-primary:active,
html[data-cms-theme="luxury-craft"] .conversion-btn-primary:active,
html[data-cms-theme="luxury-craft"] .nav-action-btn:active,
html[data-cms-theme="prestige"] .btn-primary:active,
html[data-cms-theme="prestige"] .conversion-btn-primary:active,
html[data-cms-theme="prestige"] .nav-action-btn:active {
  transform: scale(0.98) !important;
}

/* Cartes & Tuiles Prestige : Alcôves Sombre Velours & Lévitation Soyeuse */
html[data-cms-theme="prestige-galerie"] .liquid-glass,
html[data-cms-theme="prestige-galerie"] .creation-card,
html[data-cms-theme="prestige-galerie"] .beer-card,
html[data-cms-theme="prestige-galerie"] .step-card,
html[data-cms-theme="prestige-galerie"] .game-card,
html[data-cms-theme="prestige-galerie"] .web-card,
html[data-cms-theme="luxury-craft"] .liquid-glass,
html[data-cms-theme="luxury-craft"] .creation-card,
html[data-cms-theme="luxury-craft"] .beer-card,
html[data-cms-theme="luxury-craft"] .step-card,
html[data-cms-theme="luxury-craft"] .game-card,
html[data-cms-theme="luxury-craft"] .web-card,
html[data-cms-theme="prestige"] .liquid-glass,
html[data-cms-theme="prestige"] .creation-card,
html[data-cms-theme="prestige"] .beer-card,
html[data-cms-theme="prestige"] .step-card,
html[data-cms-theme="prestige"] .game-card,
html[data-cms-theme="prestige"] .web-card {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: #141418 !important;
  color: #f7f4ea !important;
  border: 0.8px solid rgba(212, 175, 55, 0.35) !important;
  border-radius: 6px !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6) !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
}

html[data-cms-theme="prestige-galerie"] .liquid-glass:hover,
html[data-cms-theme="prestige-galerie"] .creation-card:hover,
html[data-cms-theme="prestige-galerie"] .beer-card:hover,
html[data-cms-theme="prestige-galerie"] .step-card:hover,
html[data-cms-theme="prestige-galerie"] .game-card:hover,
html[data-cms-theme="prestige-galerie"] .web-card:hover,
html[data-cms-theme="luxury-craft"] .liquid-glass:hover,
html[data-cms-theme="luxury-craft"] .creation-card:hover,
html[data-cms-theme="luxury-craft"] .beer-card:hover,
html[data-cms-theme="luxury-craft"] .step-card:hover,
html[data-cms-theme="luxury-craft"] .game-card:hover,
html[data-cms-theme="luxury-craft"] .web-card:hover,
html[data-cms-theme="prestige"] .liquid-glass:hover,
html[data-cms-theme="prestige"] .creation-card:hover,
html[data-cms-theme="prestige"] .beer-card:hover,
html[data-cms-theme="prestige"] .step-card:hover,
html[data-cms-theme="prestige"] .game-card:hover,
html[data-cms-theme="prestige"] .web-card:hover {
  transform: translateY(-3px) scale(1.006) !important;
  border-color: #d4af37 !important;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.7), 0 0 26px rgba(212, 175, 55, 0.22) !important;
}

/* Tiroir Mobile Prestige : Écrin de Joaillerie Haute Couture */
html[data-cms-theme="prestige-galerie"] .mobile-sheet-panel,
html[data-cms-theme="luxury-craft"] .mobile-sheet-panel,
html[data-cms-theme="prestige"] .mobile-sheet-panel {
  background: rgba(10, 10, 12, 0.98) !important;
  color: #f7f4ea !important;
  border-left: 1px solid rgba(212, 175, 55, 0.45) !important;
  box-shadow: -14px 0 44px rgba(0, 0, 0, 0.7) !important;
  text-align: center !important;
  align-items: center !important;
}

html[data-cms-theme="prestige-galerie"] .mobile-sheet-close,
html[data-cms-theme="luxury-craft"] .mobile-sheet-close,
html[data-cms-theme="prestige"] .mobile-sheet-close {
  background: transparent !important;
  border: 1px solid rgba(212, 175, 55, 0.5) !important;
  border-radius: 50% !important;
  color: #d4af37 !important;
}

html[data-cms-theme="prestige-galerie"] .mobile-sheet-link,
html[data-cms-theme="luxury-craft"] .mobile-sheet-link,
html[data-cms-theme="prestige"] .mobile-sheet-link {
  color: #f7f4ea !important;
  font-family: "Cinzel Decorative", Georgia, serif !important;
  text-transform: uppercase !important;
  letter-spacing: 0.22em !important;
  font-size: 0.95rem !important;
  padding: 16px 0 !important;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2) !important;
  width: 100% !important;
  justify-content: center !important;
  display: flex !important;
}

html[data-cms-theme="prestige-galerie"] .mobile-sheet-link:hover,
html[data-cms-theme="luxury-craft"] .mobile-sheet-link:hover,
html[data-cms-theme="prestige"] .mobile-sheet-link:hover {
  color: #d4af37 !important;
  letter-spacing: 0.26em !important;
}

/* ==========================================================================
   GARANTIE STRICTE DE LISIBILITÉ EN MODE SOMBRE (TOUS LES THÈMES)
   Fond sombre -> Texte 100 % Blanc Pur (#FFFFFF)
   ========================================================================== */
@media (prefers-color-scheme: dark) {
  html[data-cms-theme="studio-cinetique"],
  html[data-cms-theme="kinetic-studio"],
  html[data-cms-theme="editorial-epure"],
  html[data-cms-theme="editorial-clean"],
  html[data-cms-theme="brutaliste-franc"],
  html[data-cms-theme="brutalist-tech"],
  html[data-cms-theme="prestige-galerie"],
  html[data-cms-theme="luxury-craft"] {
    --bg-base: #0c0c0c !important;
    --ink-primary: #ffffff !important;
    --ink-secondary: #ffffff !important;
    --ink-tertiary: #ffffff !important;
    background-color: #0c0c0c !important;
    color: #ffffff !important;
  }

  html[data-cms-theme="studio-cinetique"] body,
  html[data-cms-theme="kinetic-studio"] body {
    background-color: #0a0a0a !important;
    color: #ffffff !important;
    background-image: none !important;
  }

  html[data-cms-theme="studio-cinetique"] .liquid-glass,
  html[data-cms-theme="studio-cinetique"] .creation-card,
  html[data-cms-theme="studio-cinetique"] .beer-card,
  html[data-cms-theme="studio-cinetique"] .step-card,
  html[data-cms-theme="studio-cinetique"] .game-card,
  html[data-cms-theme="studio-cinetique"] .web-card,
  html[data-cms-theme="kinetic-studio"] .liquid-glass,
  html[data-cms-theme="kinetic-studio"] .creation-card,
  html[data-cms-theme="kinetic-studio"] .beer-card,
  html[data-cms-theme="kinetic-studio"] .step-card,
  html[data-cms-theme="kinetic-studio"] .game-card,
  html[data-cms-theme="kinetic-studio"] .web-card,
  html[data-cms-theme="editorial-epure"] .liquid-glass,
  html[data-cms-theme="editorial-epure"] .creation-card,
  html[data-cms-theme="editorial-epure"] .beer-card,
  html[data-cms-theme="editorial-epure"] .step-card,
  html[data-cms-theme="editorial-epure"] .floating-nav,
  html[data-cms-theme="editorial-clean"] .liquid-glass,
  html[data-cms-theme="editorial-clean"] .creation-card,
  html[data-cms-theme="editorial-clean"] .beer-card,
  html[data-cms-theme="editorial-clean"] .step-card,
  html[data-cms-theme="editorial-clean"] .floating-nav,
  html[data-cms-theme="prestige-galerie"] .liquid-glass,
  html[data-cms-theme="prestige-galerie"] .creation-card,
  html[data-cms-theme="prestige-galerie"] .beer-card,
  html[data-cms-theme="prestige-galerie"] .step-card,
  html[data-cms-theme="luxury-craft"] .liquid-glass,
  html[data-cms-theme="luxury-craft"] .creation-card,
  html[data-cms-theme="luxury-craft"] .beer-card,
  html[data-cms-theme="luxury-craft"] .step-card {
    background: #161615 !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
  }

  html[data-cms-theme="brutaliste-franc"] .liquid-glass,
  html[data-cms-theme="brutaliste-franc"] .creation-card,
  html[data-cms-theme="brutaliste-franc"] .beer-card,
  html[data-cms-theme="brutaliste-franc"] .step-card,
  html[data-cms-theme="brutaliste-franc"] .floating-nav,
  html[data-cms-theme="brutalist-tech"] .liquid-glass,
  html[data-cms-theme="brutalist-tech"] .creation-card,
  html[data-cms-theme="brutalist-tech"] .beer-card,
  html[data-cms-theme="brutalist-tech"] .step-card,
  html[data-cms-theme="brutalist-tech"] .floating-nav {
    background: #141413 !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    box-shadow: 4px 4px 0px #ffffff !important;
  }

  .colline-barre-flottante {
    background: rgba(18, 18, 18, 0.92);
    border-color: rgba(255, 255, 255, 0.2);
  }
}

/* ==========================================================================
   THÈME N°7 : ARCHITECTURE ACHROMATIQUE / RÉVÉLATION SUBCONSCIENTE
   (html[data-cms-theme="achromatique-revelation"])
   
   Principe Absolu :
   - Au repos : 100% BLANC / GRIS / NOIR (Zéro couleur nulle part, ni titres,
     ni badges, ni bordures, ni orbes, ni fonds de boutons).
   - Au survol de la souris (:hover) : La tuile ou le bouton ciblé prend vie
     instantanément avec sa couleur d'accent vive, sa saturation et sa brillance.
   ========================================================================== */
html[data-cms-theme="achromatique-revelation"],
html[data-cms-theme="achromatic"] {
  --bg-base: #f6f6f8;
  --bg-surface: #ffffff;
  --bg-subtle: #eaeaea;
  --border-line: #dcdce0;
  --border-strong: #000000;
  --ink-primary: #000000;
  --ink-secondary: #4a4a4e;
  --ink-tertiary: #7e7e84;
}

html[data-cms-theme="achromatique-revelation"] body,
html[data-cms-theme="achromatic"] body {
  background-color: var(--bg-base) !important;
  color: var(--ink-primary) !important;
}

/* 1. Neutralisation totale des orbes colorés au repos */
html[data-cms-theme="achromatique-revelation"] .ambient-glow,
html[data-cms-theme="achromatique-revelation"] .ambient-orb {
  display: none !important;
}

/* 2. Tous les titres, textes, sur-titres et tags en monochrome franc au repos */
html[data-cms-theme="achromatique-revelation"] h1,
html[data-cms-theme="achromatique-revelation"] h2,
html[data-cms-theme="achromatique-revelation"] h3,
html[data-cms-theme="achromatique-revelation"] h4,
html[data-cms-theme="achromatique-revelation"] .hero-title span,
html[data-cms-theme="achromatique-revelation"] .section-title,
html[data-cms-theme="achromatique-revelation"] .section-eyebrow,
html[data-cms-theme="achromatique-revelation"] .hero-pill,
html[data-cms-theme="achromatique-revelation"] .web-card-tag,
html[data-cms-theme="achromatique-revelation"] .creation-card-client,
html[data-cms-theme="achromatique-revelation"] .card-icon,
html[data-cms-theme="achromatique-revelation"] .commitment-icon,
html[data-cms-theme="achromatique-revelation"] .mission-icon {
  color: var(--ink-primary) !important;
  border-color: var(--ink-primary) !important;
}

/* Badges neutres au repos */
html[data-cms-theme="achromatique-revelation"] .glass-pill,
html[data-cms-theme="achromatique-revelation"] .creation-card-badge {
  background: var(--bg-subtle) !important;
  color: var(--ink-secondary) !important;
  border: 1px solid var(--border-line) !important;
  box-shadow: none !important;
}

/* 3. Barre de Navigation : Dock Monochrome Pur Split Contrasté */
html[data-cms-theme="achromatique-revelation"] .floating-nav-wrap,
html[data-cms-theme="achromatic"] .floating-nav-wrap {
  top: 14px;
}

html[data-cms-theme="achromatique-revelation"] .floating-nav,
html[data-cms-theme="achromatic"] .floating-nav {
  background: rgba(255, 255, 255, 0.98) !important;
  border: 2px solid #000000 !important;
  border-radius: 0px !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08) !important;
  padding: 8px 20px !important;
}

html[data-cms-theme="achromatique-revelation"] .nav-brand-text,
html[data-cms-theme="achromatic"] .nav-brand-text {
  color: #000000 !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
}

html[data-cms-theme="achromatique-revelation"] .nav-link,
html[data-cms-theme="achromatic"] .nav-link {
  color: var(--ink-secondary) !important;
  font-weight: 700 !important;
  border-radius: 0px !important;
  transition: all 0.2s ease;
}

html[data-cms-theme="achromatique-revelation"] .nav-link:hover,
html[data-cms-theme="achromatique-revelation"] .nav-link.active,
html[data-cms-theme="achromatic"] .nav-link:hover,
html[data-cms-theme="achromatic"] .nav-link.active {
  color: #000000 !important;
  background: #f0f0f2 !important;
}

html[data-cms-theme="achromatique-revelation"] .nav-action-btn,
html[data-cms-theme="achromatic"] .nav-action-btn {
  background: transparent !important;
  color: #000000 !important;
  border: 2px solid #000000 !important;
  border-radius: 0px !important;
  font-weight: 800 !important;
  padding: 8px 18px !important;
  transition: all 0.2s ease;
}

html[data-cms-theme="achromatique-revelation"] .nav-action-btn:hover,
html[data-cms-theme="achromatic"] .nav-action-btn:hover {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #ffffff !important;
}

/* Thème 7 : Menu Mobile Tiroir Monochrome Pur & Révélation au Tap */
html[data-cms-theme="achromatique-revelation"] .mobile-sheet-panel,
html[data-cms-theme="achromatic"] .mobile-sheet-panel {
  background: #ffffff !important;
  border-left: 2px solid #000000 !important;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.08) !important;
  border-radius: 0 !important;
}

html[data-cms-theme="achromatique-revelation"] .mobile-sheet-close,
html[data-cms-theme="achromatic"] .mobile-sheet-close {
  background: #ffffff !important;
  border: 2px solid #000000 !important;
  color: #000000 !important;
  border-radius: 0px !important;
}

html[data-cms-theme="achromatique-revelation"] .mobile-sheet-link,
html[data-cms-theme="achromatic"] .mobile-sheet-link {
  color: #7e7e84 !important;
  font-weight: 700 !important;
  padding: 14px 12px !important;
  border-radius: 0px !important;
  border-bottom: 1px solid #eaeaea !important;
  transition: all 0.2s ease !important;
}

html[data-cms-theme="achromatique-revelation"] .mobile-sheet-link:hover,
html[data-cms-theme="achromatique-revelation"] .mobile-sheet-link:active,
html[data-cms-theme="achromatic"] .mobile-sheet-link:hover,
html[data-cms-theme="achromatic"] .mobile-sheet-link:active {
  color: #ffffff !important;
  background: var(--accent) !important;
  padding-left: 16px !important;
}

/* 4. Tuiles, Cartes et Fiches : 100% Monochrome Pur au repos, Éclatement de Couleur au Survol */
html[data-cms-theme="achromatique-revelation"] .liquid-glass,
html[data-cms-theme="achromatique-revelation"] .creation-card,
html[data-cms-theme="achromatique-revelation"] .beer-card,
html[data-cms-theme="achromatique-revelation"] .game-card,
html[data-cms-theme="achromatique-revelation"] .web-card,
html[data-cms-theme="achromatique-revelation"] .step-card,
html[data-cms-theme="achromatique-revelation"] .card-glass,
html[data-cms-theme="achromatique-revelation"] .commitment-card,
html[data-cms-theme="achromatic"] .liquid-glass,
html[data-cms-theme="achromatic"] .creation-card,
html[data-cms-theme="achromatic"] .beer-card,
html[data-cms-theme="achromatic"] .game-card,
html[data-cms-theme="achromatic"] .web-card,
html[data-cms-theme="achromatic"] .step-card,
html[data-cms-theme="achromatic"] .card-glass,
html[data-cms-theme="achromatic"] .commitment-card {
  background: var(--bg-surface) !important;
  border: 1.5px solid #000000 !important;
  border-radius: 0px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Médias & images complètement grisés au repos */
html[data-cms-theme="achromatique-revelation"] .creation-card-media,
html[data-cms-theme="achromatique-revelation"] .creation-card-media img,
html[data-cms-theme="achromatique-revelation"] .beer-card-img,
html[data-cms-theme="achromatique-revelation"] .game-card img,
html[data-cms-theme="achromatique-revelation"] .hth-crest-img,
html[data-cms-theme="achromatique-revelation"] .hth-monolith-face,
html[data-cms-theme="achromatic"] .creation-card-media,
html[data-cms-theme="achromatic"] .creation-card-media img,
html[data-cms-theme="achromatic"] .beer-card-img,
html[data-cms-theme="achromatic"] .game-card img,
html[data-cms-theme="achromatic"] .hth-crest-img,
html[data-cms-theme="achromatic"] .hth-monolith-face {
  filter: grayscale(100%) opacity(0.85);
  transition: filter 0.25s ease, opacity 0.25s ease;
}

/* ==========================================================================
   SURVOL DE LA SOURIS (:hover) : LA COULEUR JAILLIT SUR L'ÉLÉMENT POINTÉ
   ========================================================================== */
html[data-cms-theme="achromatique-revelation"] .liquid-glass:hover,
html[data-cms-theme="achromatique-revelation"] .creation-card:hover,
html[data-cms-theme="achromatique-revelation"] .beer-card:hover,
html[data-cms-theme="achromatique-revelation"] .game-card:hover,
html[data-cms-theme="achromatique-revelation"] .web-card:hover,
html[data-cms-theme="achromatique-revelation"] .step-card:hover,
html[data-cms-theme="achromatique-revelation"] .card-glass:hover,
html[data-cms-theme="achromatique-revelation"] .commitment-card:hover,
html[data-cms-theme="achromatic"] .liquid-glass:hover,
html[data-cms-theme="achromatic"] .creation-card:hover,
html[data-cms-theme="achromatic"] .beer-card:hover,
html[data-cms-theme="achromatic"] .game-card:hover,
html[data-cms-theme="achromatic"] .web-card:hover,
html[data-cms-theme="achromatic"] .step-card:hover,
html[data-cms-theme="achromatic"] .card-glass:hover,
html[data-cms-theme="achromatic"] .commitment-card:hover {
  border-color: var(--accent) !important;
  box-shadow: 0 8px 26px rgba(var(--accent-rgb), 0.18), 0 2px 6px rgba(0, 0, 0, 0.04) !important;
  transform: translateY(-4px) !important;
}

html[data-cms-theme="achromatique-revelation"] .creation-card:hover .creation-card-media,
html[data-cms-theme="achromatique-revelation"] .creation-card:hover .creation-card-media img,
html[data-cms-theme="achromatique-revelation"] .beer-card:hover .beer-card-img,
html[data-cms-theme="achromatique-revelation"] .game-card:hover img,
html[data-cms-theme="achromatique-revelation"] .game-card:hover .hth-crest-img,
html[data-cms-theme="achromatique-revelation"] .game-card:hover .hth-monolith-face,
html[data-cms-theme="achromatic"] .creation-card:hover .creation-card-media,
html[data-cms-theme="achromatic"] .creation-card:hover .creation-card-media img,
html[data-cms-theme="achromatic"] .beer-card:hover .beer-card-img,
html[data-cms-theme="achromatic"] .game-card:hover img,
html[data-cms-theme="achromatic"] .game-card:hover .hth-crest-img,
html[data-cms-theme="achromatic"] .game-card:hover .hth-monolith-face {
  filter: grayscale(0%) opacity(1) !important;
}

html[data-cms-theme="achromatique-revelation"] .creation-card:hover .creation-card-badge,
html[data-cms-theme="achromatique-revelation"] .game-card:hover .glass-pill--accent,
html[data-cms-theme="achromatic"] .creation-card:hover .creation-card-badge,
html[data-cms-theme="achromatic"] .game-card:hover .glass-pill--accent {
  background: var(--accent) !important;
  color: #ffffff !important;
  border-color: var(--accent) !important;
}

html[data-cms-theme="achromatique-revelation"] .creation-card:hover .creation-card-client,
html[data-cms-theme="achromatique-revelation"] .web-card:hover .web-card-tag,
html[data-cms-theme="achromatic"] .creation-card:hover .creation-card-client,
html[data-cms-theme="achromatic"] .web-card:hover .web-card-tag {
  color: var(--accent) !important;
}

/* 5. Boutons : Carrés Monochromes purs au repos -> Couleur vive au survol */
html[data-cms-theme="achromatique-revelation"] .btn-primary,
html[data-cms-theme="achromatique-revelation"] .conversion-btn-primary,
html[data-cms-theme="achromatique-revelation"] .web-card-btn,
html[data-cms-theme="achromatique-revelation"] .creation-card-zoom-btn,
html[data-cms-theme="achromatic"] .btn-primary,
html[data-cms-theme="achromatic"] .conversion-btn-primary,
html[data-cms-theme="achromatic"] .web-card-btn,
html[data-cms-theme="achromatic"] .creation-card-zoom-btn {
  background: #ffffff !important;
  color: #000000 !important;
  border: 2px solid #000000 !important;
  border-radius: 0px !important;
  box-shadow: none !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  padding: 10px 24px !important;
  transition: all 0.18s ease !important;
}

html[data-cms-theme="achromatique-revelation"] .btn-primary *,
html[data-cms-theme="achromatique-revelation"] .conversion-btn-primary *,
html[data-cms-theme="achromatique-revelation"] .web-card-btn *,
html[data-cms-theme="achromatique-revelation"] .creation-card-zoom-btn *,
html[data-cms-theme="achromatic"] .btn-primary *,
html[data-cms-theme="achromatic"] .conversion-btn-primary *,
html[data-cms-theme="achromatic"] .web-card-btn *,
html[data-cms-theme="achromatic"] .creation-card-zoom-btn * {
  color: #000000 !important;
  transition: color 0.18s ease;
}

/* Au survol d'un bouton : inversion vive vers couleur d'accent */
html[data-cms-theme="achromatique-revelation"] .btn-primary:hover,
html[data-cms-theme="achromatique-revelation"] .conversion-btn-primary:hover,
html[data-cms-theme="achromatique-revelation"] .web-card-btn:hover,
html[data-cms-theme="achromatique-revelation"] .creation-card-zoom-btn:hover,
html[data-cms-theme="achromatic"] .btn-primary:hover,
html[data-cms-theme="achromatic"] .conversion-btn-primary:hover,
html[data-cms-theme="achromatic"] .web-card-btn:hover,
html[data-cms-theme="achromatic"] .creation-card-zoom-btn:hover {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.35) !important;
  transform: translateY(-2px) !important;
}

html[data-cms-theme="achromatique-revelation"] .btn-primary:hover *,
html[data-cms-theme="achromatique-revelation"] .conversion-btn-primary:hover *,
html[data-cms-theme="achromatique-revelation"] .web-card-btn:hover *,
html[data-cms-theme="achromatique-revelation"] .creation-card-zoom-btn:hover *,
html[data-cms-theme="achromatic"] .btn-primary:hover *,
html[data-cms-theme="achromatic"] .conversion-btn-primary:hover *,
html[data-cms-theme="achromatic"] .web-card-btn:hover *,
html[data-cms-theme="achromatic"] .creation-card-zoom-btn:hover * {
  color: #ffffff !important;
}

html[data-cms-theme="achromatique-revelation"] .btn-secondary,
html[data-cms-theme="achromatique-revelation"] .btn-glass,
html[data-cms-theme="achromatique-revelation"] .conversion-btn-secondary,
html[data-cms-theme="achromatic"] .btn-secondary,
html[data-cms-theme="achromatic"] .btn-glass,
html[data-cms-theme="achromatic"] .conversion-btn-secondary {
  background: transparent !important;
  color: #000000 !important;
  border: 1.5px solid #000000 !important;
  border-radius: 0px !important;
  box-shadow: none !important;
  transition: all 0.18s ease;
}

html[data-cms-theme="achromatique-revelation"] .btn-secondary:hover,
html[data-cms-theme="achromatique-revelation"] .btn-glass:hover,
html[data-cms-theme="achromatique-revelation"] .conversion-btn-secondary:hover,
html[data-cms-theme="achromatic"] .btn-secondary:hover,
html[data-cms-theme="achromatic"] .btn-glass:hover,
html[data-cms-theme="achromatic"] .conversion-btn-secondary:hover {
  background: #000000 !important;
  color: #ffffff !important;
  border-color: #000000 !important;
}

/* 6. Sélecteur Segmenté (Poles Switcher) */
html[data-cms-theme="achromatique-revelation"] .poles-switcher {
  background: #eaeaea !important;
  border: 1px solid var(--border-line) !important;
  border-radius: 4px !important;
  padding: 3px !important;
}

html[data-cms-theme="achromatique-revelation"] .pole-btn {
  color: #666666 !important;
  border-radius: 3px !important;
  transition: all 0.15s ease;
}

html[data-cms-theme="achromatique-revelation"] .pole-btn:hover {
  color: #000000 !important;
}

html[data-cms-theme="achromatique-revelation"] .pole-btn.active {
  background: #ffffff !important;
  color: #000000 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

/* 7. Mode Sombre (Noir/Gris au repos -> Couleur vive au survol) */
@media (prefers-color-scheme: dark) {
  html[data-cms-theme="achromatique-revelation"] {
    --bg-base: #111112;
    --bg-surface: #1a1a1c;
    --bg-subtle: #242426;
    --border-line: #303034;
    --ink-primary: #ffffff;
    --ink-secondary: #9a9aa0;
  }

  html[data-cms-theme="achromatique-revelation"] body {
    background-color: var(--bg-base) !important;
    color: var(--ink-primary) !important;
  }

  html[data-cms-theme="achromatique-revelation"] .floating-nav {
    background: rgba(26, 26, 28, 0.95) !important;
    border-color: var(--border-line) !important;
  }

  html[data-cms-theme="achromatique-revelation"] .nav-brand-text,
  html[data-cms-theme="achromatique-revelation"] .nav-action-btn {
    color: #ffffff !important;
  }

  html[data-cms-theme="achromatique-revelation"] .btn-primary,
  html[data-cms-theme="achromatique-revelation"] .conversion-btn-primary,
  html[data-cms-theme="achromatique-revelation"] .web-card-btn,
  html[data-cms-theme="achromatique-revelation"] .creation-card-zoom-btn {
    background: #242426 !important;
    color: #ffffff !important;
    border-color: var(--border-line) !important;
  }

  html[data-cms-theme="achromatique-revelation"] .btn-primary *,
  html[data-cms-theme="achromatique-revelation"] .conversion-btn-primary *,
  html[data-cms-theme="achromatique-revelation"] .web-card-btn *,
  html[data-cms-theme="achromatique-revelation"] .creation-card-zoom-btn * {
    color: #ffffff !important;
  }

  html[data-cms-theme="achromatique-revelation"] .btn-primary:hover,
  html[data-cms-theme="achromatique-revelation"] .conversion-btn-primary:hover,
  html[data-cms-theme="achromatique-revelation"] .web-card-btn:hover,
  html[data-cms-theme="achromatique-revelation"] .creation-card-zoom-btn:hover {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #ffffff !important;
  }
}

/* ==========================================================================
   MODULES DE COMPOSITION COLLINE CMS : LOI ÉVIN, AGE GATE & ANNONCES
   ========================================================================== */

/* 1. Liseré Avertissement Sanitaire Loi Évin */
.alcohol-warning-strip {
  width: 100%;
  background: var(--accent);
  color: #ffffff !important;
  padding: 10px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.4);
  user-select: none;
  position: relative;
  z-index: 90;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  pointer-events: auto;
}

.alcohol-warning-track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
  animation: alcoholWarningTicker 32s linear infinite;
  pointer-events: none;
}

.alcohol-warning-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 80px;
  padding-right: 80px;
}

.alcohol-warning-text {
  margin: 0;
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff !important;
  line-height: 1.2;
  white-space: nowrap;
  flex-shrink: 0;
}

@keyframes alcoholWarningTicker {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.alcohol-warning-static {
  width: 100%;
  text-align: center;
  padding: 10px 16px;
}

/* 2. Modal de Contrôle d'Accès & Majorité (Age Gate 18+) */
.age-gate-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
}

.age-gate-panel {
  position: relative;
  max-width: 520px;
  width: 100%;
  text-align: center;
  padding: 40px 32px 30px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 28px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: #000000;
}

@media (prefers-color-scheme: dark) {
  .age-gate-panel {
    background: rgba(20, 20, 22, 0.95);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
  }
}

.age-gate-title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.age-gate-text {
  font-size: 0.94rem;
  line-height: 1.55;
  margin: 0 auto 20px;
}

.age-gate-warning-line {
  display: block;
  margin-top: 10px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.age-gate-actions-slot {
  position: relative;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
}

.age-gate-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  width: 100%;
}

.age-gate-btn {
  min-width: 120px;
  padding: 12px 28px;
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease;
}

.age-gate-btn--yes {
  background: var(--accent);
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.age-gate-btn--yes:hover {
  transform: scale(1.04);
}

.age-gate-btn--no {
  background: rgba(0, 0, 0, 0.08);
  color: inherit;
}

@media (prefers-color-scheme: dark) {
  .age-gate-btn--no {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
  }
}

.age-gate-refusal {
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(185, 28, 28, 0.12);
  border: 1px solid rgba(185, 28, 28, 0.3);
  color: #b91c1c;
  font-weight: 700;
  font-size: 0.9rem;
}

/* 3. Barre d'Annonce Supérieure (Top Banner) */
.top-announcement-bar {
  width: 100%;
  background: var(--bg-surface, #ffffff);
  border-bottom: 1px solid var(--border-line, rgba(0, 0, 0, 0.1));
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-primary, #000000);
  text-align: center;
  z-index: 101;
  position: relative;
  overflow: hidden;
}

.announcement-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 800;
  margin-left: 6px;
}

.announcement-link:hover {
  text-decoration: underline;
}

/* 4. Thèmes Saisonniers & Motifs Décoratifs Flottants (Inspiré DLP Friends) */
.seasonal-backdrop-decorations {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.seasonal-floating-icon {
  position: absolute;
  color: var(--accent);
  opacity: 0.12;
  animation: seasonalDrift 20s ease-in-out infinite alternate;
}

.seasonal-floating-icon:nth-child(1) {
  top: 10%;
  left: 6%;
  width: 48px;
  height: 48px;
  animation-duration: 18s;
  animation-delay: 0s;
}

.seasonal-floating-icon:nth-child(2) {
  top: 38%;
  right: 5%;
  width: 60px;
  height: 60px;
  animation-duration: 24s;
  animation-delay: -4s;
}

.seasonal-floating-icon:nth-child(3) {
  bottom: 12%;
  left: 8%;
  width: 40px;
  height: 40px;
  animation-duration: 22s;
  animation-delay: -8s;
}

@keyframes seasonalDrift {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(15px, -20px) rotate(6deg); }
  100% { transform: translate(-10px, 15px) rotate(-6deg); }
}

/* 5. Sélecteur de Langue Multilingue (Header Switcher) */
.locale-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--border-line, rgba(0, 0, 0, 0.1));
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
}

.locale-btn {
  appearance: none;
  border: none;
  background: transparent;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--ink-secondary, #666666);
  transition: all 0.15s ease;
}

.locale-btn.active {
  background: var(--accent);
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* 6. Badge d'Accroche Hero (Pillule Statut & Événement) */
.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-line, rgba(0, 0, 0, 0.1));
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-primary, #000000);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  margin-bottom: 16px;
}

.hero-badge-icon {
  font-size: 1rem;
}

/* 7. Typographie Décorative & Titrages (Cinzel Decorative) */
.font-decorative h1,
.font-decorative h2,
.font-decorative .hero-title {
  font-family: 'Cinzel Decorative', Georgia, serif !important;
  letter-spacing: -0.01em;
}

