* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* PALETTE LUXE MAÎTRISÉE */
  --ebony: #0a0908;
  --ivory: #f2efe9;
  --warm-gray: #b5a895;
  --gold-subtle: #d4a574;
  --jade: #4a5d52;
  --nav-h: 72px;
}

html,
body {
  width: 100% !important;
  height: auto !important;
  min-height: 100vh !important;
  background: var(--ebony) !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow-x: hidden !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* HARMONISATION GLOBALE DES LIENS (Neutralisation du Bleu) */
a {
  color: var(--ivory);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--gold-subtle);
}

/* ATMOSPHERE LAYER (La vidéo 4K devient le décor permanent) */
.atmosphere-layer {
  position: fixed;
  inset: 0;
  z-index: 1;
  /* Couche la plus profonde */
  background: var(--ebony);
  overflow: hidden;
  pointer-events: none;
}

#dragon-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* BRONZE PROFOND : Moins blanc, plus de matière */
  /* PERFORMANCE : Filtre désactivé car trop gourmand sur vidéo 4K */
  /* filter: brightness(1.1) contrast(1.2) saturate(0.8) hue-rotate(12deg); */
  transform: scaleX(-1);
  /* Miroir horizontal : Le dragon part vers la gauche */
}

/* =========================
   BANDEAU D'ANNONCE (MARQUEE)
   ========================= */
.announcement-bar {
  /* BANDEAU VERTICAL GAUCHE */
  position: fixed;
  top: 0;
  left: 0;
  width: 46px;
  /* Réduit pour coller au texte (était 70px) */
  height: 100vh;
  background: transparent;
  /* Fond transparent pour laisser voir le dragon */
  border-right: 1px solid rgba(212, 165, 116, 0.2);
  /* Bordure à droite */
  border-bottom: none;
  z-index: 2000;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  /* Vertical */
  justify-content: center;
  align-items: center;
}

.announcement-track {
  display: flex;
  white-space: nowrap;
  /* Mode Vertical pour le texte */
  /* Mode Vertical "Enseigne" (Lettres droites) */
  writing-mode: vertical-rl;
  text-orientation: upright;
  /* Lettres droites */
  /* transform: rotate(180deg); Supprimé car upright se lit naturellement de haut en bas */
  width: 100%;
  height: auto;
  animation: marquee-vert 60s linear infinite;
  /* Animation verticale */
}

.announcement-track span {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  /* Agrandissement x2 (était 11px) pour remplir les 70px */
  font-weight: 500;
  /* Un peu plus de graisses pour la présence */
  text-transform: uppercase;
  letter-spacing: 0.1em;
  /* Réduit un peu l'interlettrage vertical */
  color: var(--gold-subtle);
  padding: 50px 0;
  /* Padding vertical (puisque l'axe est inversé/tourné ?) non, en upright padding-top/bottom espace les items */
}

@keyframes marquee-vert {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* =========================
   TOP NAV BAR
   ========================= */

#top-nav {
  position: fixed;
  top: 0;
  /* Par défaut tout en haut */
  left: 46px;
  /* Décalage ajusté */
  width: calc(100% - 46px);
  height: 72px;
  z-index: 100;
  background: transparent;

  display: flex;
  align-items: center;
  justify-content: center;
  transition: top 0.3s ease;
}

/* Décalage automatique si le bandeau est actif */
body.has-announcement-bar #top-nav {
  top: 0;
  /* Plus de décalage vertical */
}

#top-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
}

.nav-icons {
  display: flex;
  gap: 28px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* icônes */
.nav-icon {
  background: none;
  border: none;
  padding: 8px;

  cursor: pointer;

  transition: opacity 0.25s ease;
  position: relative;
  z-index: 1001;
}

.nav-icon img {
  width: 32px;
  height: 32px;
  display: block;

  /* Force le SVG à respecter le cadre */
  max-width: 100%;
  max-height: 100%;

  /* Couleur dorée cohérente avec la scène */
  filter: brightness(0) saturate(100%) invert(79%) sepia(22%) saturate(540%) hue-rotate(358deg) brightness(92%) contrast(88%);

  pointer-events: none;
}

.nav-icon:hover img {
  filter: invert(1) brightness(1.5);
}

/* viewport = zone visible, ancrée en haut (pas de centrage vertical) */
.viewport {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 100vh;
  padding-top: 0;
  overflow: visible;
  z-index: 5;
}

/* stage fixe 1920x1080, scalé par JS */
.stage {
  position: relative;
  top: 0;
  left: 0;
  width: 1920px;
  height: 1080px;
  transform-origin: top left;
  will-change: transform;
  overflow: visible;
  /* CRITIQUE */
  z-index: 5;
  /* AU-DESSUS du footer */
}

/* background optionnel */
.hero-background {
  position: absolute;
  inset: 0;
  /* si tu veux un fond image plus tard :
  background: url("../hero/images/hero-background.webp") center/cover no-repeat;
  */
  background: transparent;
  z-index: 0;
  pointer-events: none;
}

/* ===============================
   ATMOSPHÈRE DE MASQUAGE (FOG)
   Masque perceptif statique pour occulter le rebouclage
   =============================== */
.hero-fog {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;

  /* Retour au mode normal pour ne pas 'blanchir' le dragon */
  background:
    linear-gradient(to left, var(--ebony) 0%, transparent 25%),
    linear-gradient(to right, var(--ebony) 10%, transparent 50%),
    radial-gradient(circle at 50% 50%, transparent 40%, var(--ebony) 95%),
    url("../hero/images/fog.webp") center center / cover no-repeat;

  mix-blend-mode: normal;
  z-index: 2;
  pointer-events: none;
  opacity: 0.55;
  /* PERFORMANCE : Flou désactivé */
  /* filter: blur(1px) contrast(1.1) brightness(0.9); */
}

/* éléments */
.stage img {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.stage .draggable {
  pointer-events: auto;
}

/* placements init (tu les bouges avec la télécommande) */
.hero-cloison {
  right: 28%;
  top: 10%;
  width: 26%;
  position: absolute;
  z-index: 1;
  /* derrière mannequin/table */
  opacity: 1;
  /* alpha graphique uniquement - SEULE cloison qui gère la profondeur */
  pointer-events: auto;
  /* garde le drag */
}

/* En mode édition, rendre la cloison plus visible pour le drag */
.hero-cloison[data-draggable="true"] {
  outline: 2px dashed rgba(212, 165, 116, 0.5);
}

.hero-mannequin {
  right: 10%;
  bottom: 0;
  height: 80%;
  z-index: 52;
}

.hero-table {
  right: 12%;
  bottom: 4%;
  width: 22%;
  z-index: 52;
}

.hero-lanterne {
  right: 6%;
  top: 6%;
  width: 8%;
  z-index: 52;
}

/* Légère intégration matière pour les objets FOG */
/* Légère intégration matière pour les objets FOG */
/* CALIBRAGE RÉALIGNÉ : Logo et Texte sur l'axe 25% */
/* AXE DE COMPOSITION : 22% */
.hero-logo {
  position: absolute !important;
  left: 22% !important;
  top: 25% !important;
  width: 8.5% !important;
  /* Réduction Desktop (était 10%) */
  z-index: 1000 !important;
  display: block !important;
  pointer-events: auto !important;
  transition: all 1s ease-out;
  transform: translateX(-50%) !important;
  margin: 0 !important;
  /* Force le reset des marges */
}

/* Hover supprimé pour éviter le redimensionnement */

/* PIN dans le stage (invisible mais maintient le drag) */
.hero-pin {
  left: 2%;
  top: 5%;
  width: 4%;
  position: absolute;
  z-index: 11;
  opacity: 0;
  /* invisible car on utilise l'overlay */
  pointer-events: auto;
  /* garde le drag */
}

/* En mode édition, rendre le pin légèrement visible pour le drag */
.hero-pin[data-draggable="true"] {
  opacity: 0.3 !important;
  outline: 2px dashed rgba(212, 165, 116, 0.5);
}

/* PIN OVERLAY qui suit le scale du stage */
.hero-pin-overlay {
  position: fixed;
  pointer-events: none;
  z-index: 51;

  /* Filtre doré pour apparaître au-dessus du menu */
  filter: brightness(0) saturate(100%) invert(79%) sepia(22%) saturate(540%) hue-rotate(358deg) brightness(92%) contrast(88%);
}

/* L'overlay cloison est désactivé - on utilise uniquement .menu-cloison */
.hero-cloison-overlay {
  display: none !important;
}

.hero-pin-menu {
  position: fixed;
  top: 0;
  left: 0;

  pointer-events: none;
  z-index: 60;

  opacity: 0.45;
  filter:
    blur(4px) brightness(1.1) saturate(130%);

}


/* =========================
   HERO TEXT BLOCK
   ========================= */

/* RÉALIGNEMENT STRICT : Exactement sous le logo (Axe 25%) */
/* RÉALIGNEMENT VERTICAL : Axe 22% strict */
#hero-text-master {
  position: absolute !important;
  display: block !important;
  left: 22% !important;
  top: 42% !important;
  /* Rapprochement du logo (était 50%) */
  width: 600px !important;
  transform: translateX(-50%) !important;
  text-align: center !important;
  color: #EAC68E !important;
  font-family: "Playfair Display", serif !important;
  z-index: 1001 !important;
  margin: 0 !important;
  /* Force le reset des marges */
}

/* TITRE : Équilibré pour ne pas déborder */
#hero-text-master .hero-title {
  font-size: 120px !important;
  letter-spacing: 0.15em !important;
  font-weight: 500 !important;
  margin: 0 0 12px 0 !important;
  line-height: 1 !important;
}

/* SOUS-TITRE : AGRANDISSEMENT FORCÉ */
#hero-text-master .hero-subtitle {
  font-size: 56px !important;
  font-weight: 400 !important;
  letter-spacing: 0.12em !important;
  margin: 0 0 50px 0 !important;
  /* Espacement augmenté avant le sceau */
  opacity: 0.8 !important;
  /* Légèrement moins clair que le titre */
}

/* SCEAU CULTUREL (TOTEM VERTICAL) */
.hero-seal {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  font-family: 'Noto Serif SC', serif !important;
  color: #EAC68E !important;
  opacity: 0.7 !important;
  /* Discret, comme une empreinte */
  pointer-events: none;
}

.hero-seal span {
  display: block !important;
  line-height: 1.1 !important;
}

.hero-seal span:nth-child(1) {
  font-size: 64px !important;
  /* 唐 - Le plus grand */
  margin-bottom: 20px !important;
}

.hero-seal span:nth-child(2) {
  font-size: 45px !important;
  /* 風 - Taille intermédiaire */
  margin-bottom: 12px !important;
}

.hero-seal span:nth-child(3) {
  font-size: 28px !important;
  /* 韻 - Le plus petit */
}

/* DESCRIPTION */
.hero-description {
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.7;
  margin-bottom: 36px;
}

/* CTA */
.hero-cta {
  display: inline-block;
  padding: 12px 28px;

  border: 1px solid rgba(234, 198, 142, 0.6);
  color: #EAC68E;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.15em;

  transition: all 0.3s ease;
}

.hero-cta:hover {
  background: #EAC68E;
  color: #1a120c;
  /* ébène */
}

/* NETTOYAGE DOUBLONS CSS CARACTÈRES PARASITES */
.hero-text-obsolete {
  display: none !important;
}

.cta {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 18px;
  border: 1px solid #cfa25a;
  color: #cfa25a;
  text-decoration: none;
}

/* =========================
   FOOTER BAR
   ========================= */

/* ================================
   KABUKI FOOTER – FIXED
   ================================ */

/* ================================
   KABUKI FOOTER – SENIOR INTEGRATION
   ================================ */

.kabuki-footer {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  background: transparent !important;
  margin-top: auto !important;
  display: block !important;
  overflow: visible !important;
  z-index: 9999999 !important;
  /* ULTRA ÉLEVÉ pour passer au-dessus de tout */
  pointer-events: none !important;
}

/* 1. BARRE DE FOND */
.footer-bar {
  position: relative !important;
  width: 100% !important;
  min-height: 40px !important;
  background: #000000 !important;
  pointer-events: auto !important;
  z-index: 10 !important;
  padding: 8px 0 !important;
  /* SUPPRESSION BORDURE ET AJOUT LUMIÈRE DIFFUSE MASSIVE */
  border-top: none !important;
  box-shadow: 0 -60px 140px rgba(212, 165, 116, 0.45) !important;
}

.footer-legal-bar {
  max-width: 1600px !important;
  width: 100% !important;
  margin: 0 auto !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 0 40px !important;
  height: auto !important;
}

/* 2. TEXTE & HIÉRARCHIE */
/* Alignement footer */
.footer-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  /* Plus tassé */
  flex: 1;
}

.footer-group.left {
  justify-content: center;
  padding-right: 30px;
}

.footer-group.right {
  justify-content: center;
  padding-left: 30px;
}

.footer-title {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.45em;
  color: rgba(212, 165, 116, 0.5);
  margin-bottom: 4px;
  /* Moitié moins d'espace */
  white-space: nowrap;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  /* Plus tassé verticalement */
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.footer-links a {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255, 245, 235, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.footer-links a:hover {
  color: #ffffff;
  opacity: 1;
}

/* On masque les liens 4 et 5 (Confidentialité/Cookies) pour gagner de la place comme sur OVH */
.footer-links li:nth-child(n+4),
.footer-links a[href*="politique-de-confidentialite"],
.footer-links a[href*="cookies"] {
  display: none !important;
}

/* Ajustement du Médaillon pour qu'il ne soit pas trop haut */
.footer-medallion {
  position: absolute !important;
  left: 50% !important;
  top: 0 !important;
  transform: translate(-50%, -50%) !important;
  width: 110px !important;
  /* Légèrement plus petit */
  height: 110px !important;
  background: #000000 !important;
  border-radius: 50%;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.footer-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg,
      transparent,
      rgba(212, 165, 116, 0.5),
      transparent);
  transition: width 0.6s ease;
}

.footer-links a:hover::after {
  width: 100%;
}

/* 4. MÉDAILLON / LOGO */
.footer-center-spacer {
  width: 260px;
  /* Espace augmenté pour éviter le chevauchement */
  flex-shrink: 0;
}

.footer-medallion {
  position: absolute !important;
  left: 50% !important;
  top: 0 !important;
  /* Placé précisément sur le bord haut de la barre noire */
  transform: translate(-50%, -50%) !important;
  width: 120px !important;
  height: 120px !important;
  background: #000000 !important;
  /* Vrai noir profond, identique à la barre */
  border-radius: 50%;
  z-index: 15;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;

  /* Médaillon parfaitement intégré, invisible sur la barre */
  border: none;
  box-shadow: none;
}

/* Halo fixe derrière le médaillon (Ne tourne pas) */
.footer-medallion::before {
  content: "";
  position: absolute;
  inset: -20px;
  background: transparent;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.footer-medallion img {
  width: 100px;
  height: auto;
  display: block;
  transition: transform 1.8s cubic-bezier(0.19, 1, 0.22, 1);
  /* RESTAURATION COULEUR DORÉE ORIGINALE */
  filter: brightness(0) saturate(100%) invert(79%) sepia(22%) saturate(540%) hue-rotate(358deg) brightness(92%) contrast(88%);
  perspective: 1000px;
}

.footer-medallion:hover img {
  transform: rotateY(360deg);
  /* Rotation VERTICALE parfaite */
}

/* ADAPTATION TABLETTE */
@media (max-width: 1200px) and (min-width: 901px) {
  .footer-legal-bar {
    max-width: 100%;
    padding: 0 20px;
    height: auto !important;
    min-height: 80px;
  }

  .footer-group {
    gap: 20px;
    /* Espacement réduit en mode tablette */
  }

  .footer-group.left {
    padding-right: 30px;
  }

  .footer-group.right {
    padding-left: 30px;
  }

  .footer-center-spacer {
    width: 180px;
    /* Espace réduit pour le médaillon en tablette */
  }

  .footer-title {
    font-size: 10px;
    /* Taille réduite en tablette */
  }

  .footer-links a {
    font-size: 11px;
    /* Taille réduite en tablette */
  }

  .footer-links {
    gap: 15px;
    /* Espacement réduit entre les liens */
  }
}

/* ÉQUILIBRE MOBILE */
@media (max-width: 900px) {
  .footer-legal-bar {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 15px 10px !important;
    gap: 0 !important;
    height: auto !important;
    text-align: center;
  }

  .footer-bar {
    background: #000000 !important;
    /* ÉCLAIRAGE LUXE : Halo ambré diffus pour détacher le pied de page du fond */
    box-shadow: 0 -15px 40px rgba(212, 165, 116, 0.12) !important;
    position: relative !important;
  }

  .footer-center-spacer {
    display: block !important;
    width: 110px !important;
    /* Réserve l'espace pour le médaillon central */
    flex-shrink: 0 !important;
  }

  .footer-medallion {
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 100px !important;
    height: 100px !important;
    z-index: 15 !important;
  }

  /* PROJECTEUR CENTRAL : Halo radial derrière le médaillon */
  .footer-medallion::after {
    content: "";
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.2) 0%, transparent 75%);
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
  }

  .footer-medallion img {
    width: 65px !important;
    /* Logo réduit pour être plus petit que le médaillon */
    height: auto !important;
  }

  /* On supprime les anciens styles de colonne mobile au profit du nouveau layout */
  .footer-group {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 4px !important;
  }

  .footer-links {
    flex-direction: column !important;
    gap: 2px !important;
    align-items: center !important;
  }

  .footer-links a {
    font-size: 8px !important;
    white-space: nowrap;
  }

  .footer-title {
    font-size: 8px !important;
    margin-bottom: 0px !important;
  }

  .footer-group.left,
  .footer-group.right {
    text-align: center;
    margin-top: 0;
    padding: 0;
    position: relative;
    z-index: 5;
    /* Textes derrière le médaillon s'ils se chevauchent, ou on écarte */
  }
}







/* === PAGES LÉGALES === */

.legal-page {
  background: #0b0b0b;
  color: rgba(232, 213, 196, 0.85);
}

.legal-container {
  max-width: 880px;
  margin: 140px auto 200px;
  padding: 0 24px;
  font-size: 14px;
  line-height: 1.75;
}

.legal-container h1 {
  font-size: 22px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 48px;
}

.legal-container h2 {
  font-size: 16px;
  margin: 48px 0 16px;
}

.legal-container a {
  color: inherit;
  text-decoration: underline;
}

/* === EMERGENCY FIX — DRAG EDIT PANEL MUST ALWAYS WORK === */
#drag-edit-panel,
#edit-panel,
.edit-panel,
.mode-edition-panel {
  pointer-events: auto !important;
  z-index: 9999 !important;
}

/* ================================
   MENU — CLOISON VISUELLE (FIX FINAL)
================================ */

#top-nav {
  position: fixed;
  top: 0;
  left: 0;
  height: 72px;
  width: 100%;
  z-index: 100;
  overflow: hidden;
}

/* Cloison visible SOUS le menu */
#top-nav .menu-cloison {
  display: block;
  position: absolute;
  pointer-events: none;

  /* positionnée par JS */
  left: 0;
  top: 0;

  opacity: 0.35;
  filter: blur(6px) brightness(0.95);

  transform-origin: top left;
}

/* =========================
   COLLECTIONS SECTION (SCROLL DESTINATION)
   ========================= */

/* TRANSITION HERO → BOUTIQUE */
.collections-section::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, rgba(10, 9, 8, 0.7));
  pointer-events: none;
  z-index: 1;
}

.collections-section {
  position: relative;
  padding: 120px 60px 120px;
  margin-top: -350px;
  /* RÉDUCTION DRASTIQUE DE L'ESPACE */
  background: transparent !important;
  z-index: 5;
  /* Abaissé pour laisser le footer passer au-dessus */
}

.section-title {
  text-align: center;
  margin-bottom: 100px;
  position: relative;
  z-index: 2;
}

.section-title .subtitle {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--jade);
  margin-bottom: 20px;
  opacity: 0.9;
}

.section-title h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  color: var(--ivory);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.univers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1500px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* CARTES VITRINES DE GALERIE */
.univers-card {
  position: relative;
  height: 750px;
  text-decoration: none;

  /* CADRE GLASSMORPHISM */
  background: rgba(242, 239, 233, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 2px;
  border: 1px solid rgba(74, 93, 82, 0.2);
  /* Bordure jade subtile */

  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(242, 239, 233, 0.08);

  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.univers-card:hover {
  border-color: rgba(74, 93, 82, 0.5);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(242, 239, 233, 0.15);
  transform: translateY(-8px);
}

/* IMAGE PRODUIT SUR FOND TEXTURE CROCODILE */
.univers-card .card-bg {
  position: absolute;
  inset: 12px;
  /* Marge intérieure = effet cadre */
  background-size: cover;
  background-position: center top;
  background-color: #0a0908;
  /* Noir absolu derrière */

  /* Simulation texture peau crocodile via grain */
  background-blend-mode: multiply;

  transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
  filter: brightness(0.75) contrast(1.05) saturate(0.9);
  border-radius: 1px;
}

.univers-card .card-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 0, 0, 0.03) 2px, rgba(0, 0, 0, 0.03) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 0, 0, 0.03) 2px, rgba(0, 0, 0, 0.03) 4px);
  opacity: 0.15;
  pointer-events: none;
}

.univers-card:hover .card-bg {
  filter: brightness(0.85) contrast(1.1) saturate(1);
}

/* TITRE INTÉGRÉ TYPE CARTEL DE MUSÉE */
.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 28px;
  background: linear-gradient(to top, rgba(10, 9, 8, 0.95), transparent);
  z-index: 3;
}

.card-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  color: var(--ivory);
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
  position: relative;
  padding-bottom: 12px;
}

.card-content h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 1px;
  background: var(--jade);
  transition: width 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.univers-card:hover .card-content h3::after {
  width: 80px;
}

@media (max-width: 768px) {
  .univers-grid {
    grid-template-columns: 1fr;
  }

  .univers-card {
    height: 500px;
  }
}