/* ============================================================
   RENTAL LOBBY — Feuille de style
   Palette : noir profond + or, accents marbre / beige
   Titres : serif (Cormorant Garamond) · Texte : sans (Inter)
   ============================================================ */

:root {
  --noir:        #0a0908;
  --noir-2:      #131110;
  --or:          #c9a24b;
  --or-clair:    #e7d3a0;
  --or-fonce:    #8a6f33;
  --marbre:      #efe9dc;
  --beige:       #cabfa8;
  --blanc:       #f6f1e7;

  --serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-soft: cubic-bezier(.16, .84, .34, 1);   /* fondus de scène plus soyeux */
  --shadow-gold: 0 0 0 1px rgba(201,162,75,.35), 0 18px 60px -20px rgba(201,162,75,.45);
  --lh-ui: 1.25;             /* libellés / titres mono-ligne */
  --lh-prose: 1.6;           /* blocs de texte courant */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  height: 100dvh;            /* hauteur réelle (barres mobiles, encoches) */
  background: var(--noir);
  color: var(--blanc);
  font-family: var(--sans);
  font-weight: 300;
  line-height: var(--lh-ui);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;          /* expérience plein écran, pas de scroll global */
  overscroll-behavior: none;
}
@supports not (height: 100dvh) { html, body { height: 100vh; } }

body { position: relative; }

button { font-family: inherit; cursor: pointer; }

/* ====================== COUCHE VIDÉO ====================== */
.stage { position: fixed; inset: 0; z-index: 0; background: var(--noir); }

.cine {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;          /* remplit l'écran sans bandes noires */
  object-position: center;
  display: block;
  background: var(--noir);
}

/* léger assombrissement périphérique pour la lisibilité du texte */
.vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 40%, transparent 38%, rgba(0,0,0,.55) 100%),
    radial-gradient(150% 110% at 50% 116%, rgba(180,130,60,.14), transparent 52%),  /* chaleur ambrée, bas */
    linear-gradient(to bottom, rgba(0,0,0,.55) 0%, rgba(0,0,0,.12) 22%, transparent 45%, transparent 58%, rgba(0,0,0,.7) 100%);
}

/* voile de fondu entre scènes */
.fade {
  position: absolute; inset: 0; pointer-events: none;
  background: var(--noir);
  opacity: 0;
  transition: opacity .38s var(--ease-soft);
}
.fade.is-on { opacity: 1; }

/* ====================== BARRE SUPÉRIEURE ====================== */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(14px, 2.4vw, 26px) clamp(16px, 3.5vw, 44px);
  padding-top: max(clamp(14px, 2.4vw, 26px), env(safe-area-inset-top));
  pointer-events: none;
}
.topbar > * { pointer-events: auto; }
/* fin filet doré sous le bandeau (finition « entête d'hôtel ») */
.topbar::after {
  content: ""; position: absolute; left: clamp(16px, 3.5vw, 44px); right: clamp(16px, 3.5vw, 44px);
  bottom: 0; height: 1px; pointer-events: none; opacity: .55;
  background: linear-gradient(90deg, transparent, rgba(201,162,75,.35) 18%, rgba(201,162,75,.35) 82%, transparent);
}

.brand { display: flex; align-items: center; gap: 12px; background: none; border: none; padding: 0; cursor: pointer; }
.brand__mark {
  width: clamp(40px, 4.4vw, 48px); height: auto; display: block;
  object-fit: contain;
  filter: drop-shadow(0 3px 10px rgba(201,162,75,.45));
}
.brand__name {
  font-family: var(--serif); font-size: clamp(18px, 2.2vw, 24px);
  letter-spacing: .12em; font-weight: 500; color: var(--marbre);
}

.lang {
  background: rgba(10,9,8,.55); color: var(--marbre);    /* fond plat (au-dessus de la vidéo) */
  border: 1px solid rgba(201,162,75,.45);
  border-radius: 999px; padding: 7px 16px;
  font-size: 13px; letter-spacing: .16em; font-weight: 500;
  transition: all .3s var(--ease);
}
.lang:hover {
  border-color: var(--or); color: var(--or-clair);
  box-shadow: 0 0 0 1px rgba(201,162,75,.5), 0 6px 20px -8px rgba(201,162,75,.5);
}

.topbar__right { display: flex; align-items: center; gap: clamp(8px, 1.2vw, 14px); }
.topbar__resv {
  font-family: var(--sans); font-size: clamp(10px, 1.3vw, 12px); letter-spacing: .16em; text-transform: uppercase;
  color: #1a1306; background: linear-gradient(180deg, var(--or-clair), var(--or));
  border: none; border-radius: 999px; padding: 8px 18px; font-weight: 600; cursor: pointer;
  box-shadow: var(--shadow-gold); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.topbar__resv:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(201,162,75,.5), 0 10px 26px -8px rgba(201,162,75,.6); }

.topbar__contact, .topbar__ico { display: inline-flex; align-items: center; gap: 8px; color: var(--marbre); text-decoration: none; transition: color .25s var(--ease); }
.topbar__contact svg, .topbar__ico svg { display: block; color: var(--or); transition: color .25s var(--ease); }
.topbar__contact:hover, .topbar__ico:hover { color: var(--or-clair); }
.topbar__contact:hover svg, .topbar__ico:hover svg { color: var(--or-clair); }
.topbar__contact-txt { font-size: clamp(11px, 1.4vw, 13px); letter-spacing: .08em; white-space: nowrap; }
@media (max-width: 760px) { .topbar__contact-txt { display: none; } }
@media (max-width: 420px) { .brand__name { display: none; } }

/* ====================== SCÈNES ====================== */
.scene {
  position: fixed; inset: 0; z-index: 10;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: clamp(70px, 12dvh, 120px) clamp(18px, 5vw, 60px) clamp(30px, 6dvh, 60px);
  opacity: 0; visibility: hidden;
  transition: opacity .85s var(--ease-soft), visibility 0s linear .85s;
}
.scene.is-active { opacity: 1; visibility: visible; transition: opacity .85s var(--ease-soft), visibility 0s; }
.scene[hidden] { display: none; }

/* Hall & Zone : on ancre le contenu en haut pour que le titre ne tombe pas
   sur l'enseigne « RENTAL LOBBY » du décor (centre de l'image). */
.scene--hall, .scene--zone { justify-content: flex-start; }
.hall__head, .zone__head {
  width: 100%; max-width: 1100px;
  margin-top: clamp(2px, 1.5dvh, 14px);
  margin-bottom: clamp(16px, 4dvh, 40px);
}

.scene__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(28px, 5vw, 52px);
  letter-spacing: -0.005em; line-height: 1.06; color: var(--marbre);
  text-shadow: 0 2px 30px rgba(0,0,0,.92), 0 1px 6px rgba(0,0,0,.85), 0 0 60px rgba(0,0,0,.5);
  text-align: center;
}
.scene__title:focus { outline: none; }
.zone__head .scene__title { margin-top: clamp(8px, 2dvh, 18px); }

/* ---------- Pied de page (affiché dans le hall) ---------- */
.scene--hall { overflow-y: auto; padding-bottom: clamp(14px, 2.5dvh, 26px); }   /* place pour le pied de page ; défile si l'écran est trop court */
.hall__footer {
  margin-top: auto;                  /* poussé en bas du hall (espace libre sous les bulles) */
  width: 100%; max-width: 1100px;
  padding-top: clamp(14px, 2.5dvh, 22px);
  border-top: 1px solid rgba(201,162,75,.18);
  display: flex; flex-direction: column; gap: 10px;
}
.hall__footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 9px 22px; }
.hall__footer svg { display: block; width: 15px; height: 15px; flex: none; }
.hf-item { display: inline-flex; align-items: center; gap: 7px; font-size: clamp(11px, 1.4vw, 13px); color: rgba(246,241,231,.74); text-decoration: none; transition: color .25s var(--ease); }
.hf-item svg { color: var(--or); transition: color .25s var(--ease); }
.hf-item:hover { color: var(--or-clair); }
.hf-item:hover svg { color: var(--or-clair); }
.hall__footer-legal { font-size: clamp(10px, 1.2vw, 12px); color: rgba(246,241,231,.5); }
.hall__footer-legal a { color: rgba(246,241,231,.62); text-decoration: none; transition: color .25s var(--ease); }
.hall__footer-legal a:hover { color: var(--or-clair); }
.hf-reassure { display: inline-flex; align-items: center; gap: 7px; color: rgba(246,241,231,.6); }
.hf-reassure svg { color: var(--or); }
.hf-copy { color: rgba(246,241,231,.4); }

/* utilitaire : masqué visuellement mais lisible par les lecteurs d'écran */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- HERO ---------- */
.scene--hero { justify-content: flex-end; padding-bottom: clamp(48px, 12vh, 110px); }
.hero__inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero__eyebrow {
  text-transform: uppercase; letter-spacing: .5em; font-size: clamp(10px, 1.4vw, 13px);
  color: var(--or-clair); margin-bottom: 18px; padding-left: .5em;
  animation: rise .9s var(--ease) both .1s;
}
.hero__title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(48px, 11vw, 130px); line-height: .95;
  letter-spacing: .02em;
  background: linear-gradient(180deg, var(--blanc), var(--beige) 70%, var(--or));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 10px 60px rgba(0,0,0,.5);
  animation: rise 1s var(--ease) both .2s;
}
.hero__tagline {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(18px, 3.2vw, 30px); color: var(--marbre);
  margin-top: 14px; margin-bottom: 42px;
  animation: rise 1s var(--ease) both .35s;
}
.hero__hint {
  margin-top: 26px; font-size: 12px; letter-spacing: .28em; text-transform: uppercase;
  color: rgba(246,241,231,.78);
  text-shadow: 0 1px 2px rgba(0,0,0,.85), 0 2px 14px rgba(0,0,0,.6);
  animation: rise 1s var(--ease) both .6s, pulseHint 3s ease-in-out 2s infinite;
}

/* ---------- BOUTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  border: 1px solid rgba(201,162,75,.6);
  background: rgba(10,9,8,.62);        /* fond plat : pas de backdrop-filter au-dessus de la vidéo */
  color: var(--or-clair);
  font-size: clamp(14px, 1.6vw, 17px); letter-spacing: .22em; text-transform: uppercase;
  padding: 16px 38px; border-radius: 999px;
  transition: all .4s var(--ease);
}
/* bouton Entrer : glow doux via une couche ::after (on n'anime que l'opacité = pas de repaint) */
.btn--enter {
  position: relative;
  animation: rise 1s var(--ease) both .5s;
  box-shadow: inset 0 0 0 1px rgba(201,162,75,.25);
}
.btn--enter::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; z-index: -1;
  box-shadow: 0 0 36px rgba(201,162,75,.3); pointer-events: none;
  opacity: .2; animation: glowOpacity 4.5s ease-in-out 1.6s infinite;
}
.btn:hover, .btn:focus-visible {
  background: linear-gradient(180deg, var(--or-clair), var(--or));
  color: var(--noir); border-color: var(--or-clair);
  box-shadow: var(--shadow-gold); transform: translateY(-2px);
  outline: none;
}
.btn__arrow { transition: transform .4s var(--ease); }
.btn--enter:hover .btn__arrow { transform: translateY(3px); }

.btn--gold { background: linear-gradient(180deg, var(--or-clair), var(--or)); color: var(--noir); border-color: var(--or); }
.btn--gold:hover { filter: brightness(1.08); }

.btn--back {
  position: relative; align-self: flex-start;
  padding: 10px 20px; letter-spacing: .12em; font-size: 13px;
}

/* ====================== BULLES FLOTTANTES ====================== */
.bubbles { display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(20px, 4vw, 56px); width: 100%; max-width: 1100px; }

.bubbles--universes { margin-top: clamp(24px, 6dvh, 56px); }

/* bulle d'univers (cercle illustré) */
.bubble {
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center;
  width: clamp(160px, 25vw, 240px); aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(201,162,75,.45);
  background: #0a0908 center / cover no-repeat;
  box-shadow: 0 24px 60px -24px rgba(0,0,0,.85), inset 0 0 0 1px rgba(255,255,255,.05);
  color: var(--marbre); text-align: center;
  opacity: 0;                                   /* entrée en cascade (révélée par .is-active) */
  animation: floatSoft 7.5s ease-in-out infinite; animation-delay: var(--d, 0s);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease),
              opacity .7s var(--ease-soft) var(--d, 0s);
  will-change: transform;
}
.bubble:nth-child(2) { animation-duration: 8.4s; }
.bubble:nth-child(3) { animation-duration: 6.8s; }
.scene.is-active .bubble { opacity: 1; }
.bubble:hover, .bubble:focus-visible { animation-play-state: paused; }   /* survol soyeux */
.bubble[data-universe="eau"]   { background-image: url("../assets/bubble-eau.png"); }
.bubble[data-universe="route"] { background-image: url("../assets/bubble-route.png"); }
.bubble[data-universe="air"]   { background-image: url("../assets/bubble-air.jpg"); }

/* voile dégradé (bas) pour la lisibilité des libellés */
.bubble__overlay {
  position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: linear-gradient(to top, rgba(5,4,3,.85) 0%, rgba(5,4,3,.4) 36%, rgba(5,4,3,.04) 60%, rgba(5,4,3,.22) 100%);
  transition: background .5s var(--ease);
}
.bubble__text {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 3px;
  padding-bottom: clamp(22px, 5vh, 40px);
}
.bubble:hover, .bubble:focus-visible {
  transform: translateY(-10px) scale(1.04); border-color: var(--or-clair); outline: none;
  box-shadow: 0 30px 72px -22px rgba(0,0,0,.85), 0 0 0 1px rgba(201,162,75,.7), 0 0 55px rgba(201,162,75,.4);
}
.bubble:hover .bubble__overlay, .bubble:focus-visible .bubble__overlay {
  background: linear-gradient(to top, rgba(5,4,3,.72) 0%, rgba(5,4,3,.22) 46%, rgba(201,162,75,.10) 100%);
}
.bubble__label { font-family: var(--serif); font-size: clamp(19px, 2.5vw, 27px); letter-spacing: .03em; color: var(--or-clair); text-shadow: 0 2px 12px rgba(0,0,0,.95); }
.bubble__sub { font-size: clamp(11px, 1.4vw, 13px); letter-spacing: .08em; color: rgba(246,241,231,.85); text-shadow: 0 2px 10px rgba(0,0,0,.95); }

/* ---------- Univers « bientôt disponible » (ex. les airs) ---------- */
.bubble__badge {
  position: absolute; top: 15px; left: 50%; transform: translateX(-50%); z-index: 2;
  font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
  color: #1a1306; background: linear-gradient(180deg, var(--or-clair), var(--or));
  padding: 4px 13px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 4px 16px -4px rgba(0,0,0,.75); pointer-events: none;
}
.bubble--soon { cursor: default; border-color: rgba(201,162,75,.28); }
.bubble--soon .bubble__overlay { background: linear-gradient(to top, rgba(5,4,3,.9) 0%, rgba(5,4,3,.58) 46%, rgba(5,4,3,.5) 100%); }
.bubble--soon .bubble__label { color: var(--marbre); }   /* teinte plus sobre que les univers actifs */
.bubble--soon:hover, .bubble--soon:focus-visible {
  transform: translateY(-5px); border-color: rgba(201,162,75,.5);
  box-shadow: 0 26px 62px -24px rgba(0,0,0,.85), 0 0 0 1px rgba(201,162,75,.4);
}
.bubble--soon:hover .bubble__overlay, .bubble--soon:focus-visible .bubble__overlay {
  background: linear-gradient(to top, rgba(5,4,3,.84) 0%, rgba(5,4,3,.48) 50%, rgba(201,162,75,.08) 100%);
}

/* message « à venir » sous le titre du hall */
.hall__notice {
  margin: 14px auto 0; max-width: 480px; text-align: center;
  font-size: clamp(12px, 1.6vw, 14px); letter-spacing: .02em; line-height: 1.5;
  color: var(--or-clair);
  background: rgba(201,162,75,.1); border: 1px solid rgba(201,162,75,.35);
  border-radius: 12px; padding: 10px 18px;
  opacity: 0; transform: translateY(-6px);
  transition: opacity .38s var(--ease-soft), transform .38s var(--ease-soft);
}
.hall__notice[hidden] { display: none; }
.hall__notice.is-on { opacity: 1; transform: translateY(0); }

/* ====================== CATALOGUE (cartes véhicules) ====================== */
/* décor figé légèrement flouté en zone → met les véhicules en avant */
.stage .cine { transition: filter .6s var(--ease-soft), transform .6s var(--ease-soft); }
.stage--blur .cine { filter: blur(7px) brightness(.72) saturate(1.05); transform: scale(1.06); }

/* barres de filtres (marque + prix, empilées) */
.zone__filters {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  width: 100%; max-width: 1100px; margin: 0 auto clamp(14px, 3dvh, 26px);
}
.zone__filters[hidden] { display: none; }
.fchip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(10,9,8,.5); color: rgba(246,241,231,.72);
  border: 1px solid rgba(201,162,75,.3); border-radius: 999px;
  padding: 7px 15px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  transition: all .25s var(--ease);
}
.fchip:hover { color: var(--or-clair); border-color: rgba(201,162,75,.6); }
/* logo de marque (SVG monochrome recoloré via mask → suit la couleur de la puce) */
.fchip__logo {
  width: 17px; height: 17px; flex: 0 0 auto; display: inline-block;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
}
.fchip.is-active { background: linear-gradient(180deg, var(--or-clair), var(--or)); color: var(--noir); border-color: var(--or-clair); font-weight: 600; }

/* catalogue — flex wrap : cartes à largeur fixe qui s'enroulent (jamais de superposition) */
.catalog {
  display: flex; flex-wrap: wrap; justify-content: center; align-content: flex-start;
  row-gap: clamp(28px, 3.2vw, 48px); column-gap: clamp(22px, 2.2vw, 36px);
  width: 100%; max-width: 1160px; margin: 0 auto;
  max-height: 66vh; max-height: 66dvh; overflow-y: auto; padding: 8px 12px 18px;
  scrollbar-width: thin; scrollbar-color: var(--or-fonce) transparent;
}
.catalog::-webkit-scrollbar { width: 8px; }
.catalog::-webkit-scrollbar-thumb { background: var(--or-fonce); border-radius: 8px; }

/* carte véhicule façon ERM : grande photo + nom/specs/prix en surimpression.
   Hauteur définie par la PHOTO en flux (hauteur explicite) → la grille calcule
   correctement les rangées, aucune carte ne peut se superposer. */
.vcard {
  flex: 0 0 340px; max-width: 100%;
  position: relative; display: block; overflow: hidden;
  border-radius: 14px; cursor: pointer; background: #0a0908;
  border: 1px solid rgba(201,162,75,.22);
  box-shadow: 0 24px 52px -26px rgba(0,0,0,.92);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.vcard:hover { transform: translateY(-6px); border-color: rgba(201,162,75,.6); box-shadow: 0 36px 70px -22px rgba(0,0,0,.95), 0 0 46px -14px rgba(201,162,75,.45); }
.vcard__lead { display: block; width: 100%; height: clamp(210px, 18vw, 260px); object-fit: cover; transition: transform .7s var(--ease-soft); }
/* logo de marque en coin (recoloré via mask) */
.vcard__brand {
  position: absolute; top: 12px; right: 13px; z-index: 2; pointer-events: none;
  width: 26px; height: 26px; background-color: rgba(255,255,255,.9);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,.7));
  opacity: .9; transition: opacity .3s var(--ease);
}
.vcard:hover .vcard__brand { opacity: 1; }
.vcard:hover .vcard__lead { transform: scale(1.06); }
.vcard__soon { width: 100%; height: clamp(210px, 18vw, 260px); display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #1a1714, #0c0a09); }
.vcard__soon .article__soon { position: static; }
/* surimpression nom + specs + prix */
.vcard__overlay {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; pointer-events: none;
  padding: 46px 18px 16px;
  background: linear-gradient(to top, rgba(6,5,4,.94) 6%, rgba(6,5,4,.72) 42%, transparent 100%);
}
.vcard__name { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(18px, 1.6vw, 23px); color: var(--blanc); line-height: 1.15; text-shadow: 0 2px 10px rgba(0,0,0,.85); }
.vcard__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 7px; }
.vcard__specs { font-size: 11px; letter-spacing: .04em; line-height: 1.3; color: rgba(246,241,231,.66); text-transform: uppercase; text-shadow: 0 1px 4px rgba(0,0,0,.9); }
.vcard__price { flex: 0 0 auto; font-family: var(--serif); font-size: clamp(19px, 1.9vw, 26px); color: var(--or-clair); white-space: nowrap; text-shadow: 0 2px 10px rgba(0,0,0,.85); }
.vcard__price small { font-family: var(--sans); font-size: 11px; letter-spacing: .04em; color: rgba(246,241,231,.6); }

/* rangées de filtres */
.filter-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; width: 100%; }
.filter-row + .filter-row { margin-top: 10px; }
.filter-row--price .fchip { font-size: 10.5px; padding: 6px 13px; }

.article {
  position: relative; width: 100%; max-width: 210px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  background: transparent; border: 0;
  opacity: 0;                                   /* entrée en cascade */
  animation: float 7s ease-in-out infinite; animation-delay: var(--d, 0s);
  transition: transform .45s var(--ease), opacity .7s var(--ease-soft) var(--d, 0s);
  will-change: transform;
}
.scene.is-active .article { opacity: 1; }
.article:hover, .article:focus-visible { transform: translateY(-8px); outline: none; }
.article__disc {
  width: 100%; aspect-ratio: 1; border-radius: 50%;
  overflow: hidden; position: relative;
  border: 1px solid rgba(201,162,75,.4);
  box-shadow: inset 0 0 30px rgba(0,0,0,.5), 0 22px 50px -22px rgba(0,0,0,.85);
  background-size: cover; background-position: center;
  transition: box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.article:hover .article__disc, .article:focus-visible .article__disc {
  border-color: var(--or-clair); box-shadow: inset 0 0 30px rgba(0,0,0,.4), 0 0 50px rgba(201,162,75,.4);
}
.article__disc::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.18), transparent 55%);
}
/* bandeau lisible nom + prix (plaque sombre translucide pour ressortir sur l'eau) */
.article__caption {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  margin-top: 2px; padding: 8px 16px;
  background: linear-gradient(180deg, rgba(8,7,6,.62), rgba(8,7,6,.5));
  border: 1px solid rgba(201,162,75,.28);
  border-radius: 14px;
  box-shadow: 0 10px 24px -12px rgba(0,0,0,.8);
}
.article__name { font-family: var(--serif); font-weight: 600; font-size: clamp(17px, 2.1vw, 22px); color: #fff; text-align: center; line-height: 1.12; text-shadow: 0 1px 2px #000, 0 2px 10px rgba(0,0,0,.9); }
.article__price { font-size: 12.5px; letter-spacing: .08em; color: var(--or-clair); text-shadow: 0 1px 2px rgba(0,0,0,.95); }

/* vignette sobre « Photo à venir » (placeholder non-IA en attendant la vraie photo) */
.article__soon {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 0 16%;
  font-family: var(--sans); font-size: clamp(10px, 1.3vw, 12.5px); letter-spacing: .2em; text-transform: uppercase;
  color: rgba(231,211,160,.78); text-shadow: 0 1px 6px rgba(0,0,0,.85); pointer-events: none;
}
.modal__media-soon {
  position: absolute; inset: 0; z-index: 1; display: grid; place-items: center;
  font-family: var(--sans); font-size: 13px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(231,211,160,.8); text-shadow: 0 1px 6px rgba(0,0,0,.85);
}

/* photo produit dans la bulle (cadrage contain sur tuile claire) */
.article__photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.article__disc--product { background: radial-gradient(circle at 50% 42%, #fbf7ef, #e7ddc8 95%); }
.article__disc--product .article__photo { object-fit: contain; padding: 13%; }
.article__disc--product::after { display: none; }

/* balayage lumineux diagonal (sheen) au survol — effet verre/vernis */
.article__disc::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.22) 50%, transparent 65%);
  transform: translateX(-120%); will-change: transform;
  transition: transform .8s var(--ease);
}
.article:hover .article__disc::before, .article:focus-visible .article__disc::before { transform: translateX(120%); }

/* ====================== SKIP ====================== */
.skip {
  position: fixed; right: clamp(16px, 3vw, 40px); bottom: clamp(16px, 4vh, 40px); z-index: 40;
  background: rgba(0,0,0,.5); color: var(--marbre);
  border: 1px solid rgba(201,162,75,.4); border-radius: 999px;
  padding: 10px 18px; font-size: 12px; letter-spacing: .15em; text-transform: uppercase;
  backdrop-filter: blur(6px); transition: all .3s var(--ease);
}
.skip:hover { border-color: var(--or); color: var(--or-clair); }

/* ====================== MODALE FICHE ARTICLE ====================== */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(4px); animation: fadein .3s ease; }
/* modale ouverte : on gèle les animations derrière (le blur ne recalcule plus en boucle) */
body.modal-open .article, body.modal-open .bubble { animation-play-state: paused; }
/* repli si backdrop-filter non supporté : fonds plus opaques pour rester lisibles */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .modal__backdrop { background: rgba(0,0,0,.9); }
}
.modal__panel {
  position: relative; z-index: 1; width: min(560px, calc(100% - 24px));
  max-height: 90vh; max-height: 88dvh; overflow: auto;
  background: linear-gradient(180deg, var(--noir-2), var(--noir));
  border: 1px solid rgba(201,162,75,.4); border-radius: 22px;
  box-shadow: 0 40px 120px -30px rgba(0,0,0,.9), inset 0 0 0 1px rgba(231,211,160,.12), 0 0 60px -20px rgba(201,162,75,.25);
  animation: pop .4s var(--ease);
}
.modal__close {
  position: absolute; top: 12px; right: 14px; z-index: 3;
  width: 38px; height: 38px; border-radius: 50%; font-size: 22px; line-height: 1;
  background: rgba(0,0,0,.5); color: var(--marbre); border: 1px solid rgba(201,162,75,.4);
  transition: all .3s var(--ease);
}
.modal__close:hover { color: var(--or-clair); border-color: var(--or); }
.modal__media { position: relative; height: clamp(150px, 26dvh, 240px); background-size: cover; background-position: center; background-repeat: no-repeat; border-bottom: 1px solid rgba(201,162,75,.25); }
.modal__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, transparent 45%, rgba(19,17,16,.55) 82%, var(--noir-2) 100%); }
.modal__media--product { background-repeat: no-repeat; background-size: contain; background-color: #f1e8d6; }
.modal__media--product::after { display: none; }   /* tuile produit claire : pas de fondu sombre */
.modal__status { margin-top: 8px; width: 100%; font-size: 13px; color: var(--or-clair); letter-spacing: .03em; }

/* galerie photos dans la fiche */
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  font-size: 24px; line-height: 1; padding-bottom: 2px;
  background: rgba(10,9,8,.55); color: var(--marbre); border: 1px solid rgba(201,162,75,.4);
  transition: all .25s var(--ease);
}
.gallery-nav:hover { background: rgba(10,9,8,.85); color: var(--or-clair); border-color: var(--or); }
.gallery-prev { left: 10px; } .gallery-next { right: 10px; }
.gallery-count {
  position: absolute; bottom: 10px; right: 12px; z-index: 2;
  background: rgba(10,9,8,.6); color: var(--marbre); border: 1px solid rgba(201,162,75,.3);
  border-radius: 999px; padding: 3px 10px; font-size: 11px; letter-spacing: .08em;
}
.modal__thumbs {
  display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px 0;
  scrollbar-width: thin; scrollbar-color: var(--or-fonce) transparent;
}
.modal__thumbs[hidden] { display: none; }
.modal__thumbs::-webkit-scrollbar { height: 6px; }
.modal__thumbs::-webkit-scrollbar-thumb { background: var(--or-fonce); border-radius: 6px; }
.thumb {
  flex: 0 0 auto; width: 64px; height: 44px; border-radius: 8px;
  background-size: cover; background-position: center;
  border: 1px solid rgba(201,162,75,.25); opacity: .55; cursor: pointer;
  transition: opacity .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.thumb:hover { opacity: .9; }
.thumb.is-active { opacity: 1; border-color: var(--or-clair); box-shadow: 0 0 0 1px var(--or-clair); }

/* tarifs paliers + dépôt */
.modal__pricing { margin: 8px 0 22px; }
.modal__pricing[hidden] { display: none; }
.modal__pricing-title { text-transform: uppercase; letter-spacing: .24em; font-size: 11px; color: var(--or); margin-bottom: 4px; }
.modal__tiers { display: block; }
.tier { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 12px 2px; border-bottom: 1px solid rgba(201,162,75,.14); transition: color .3s var(--ease); }
.modal__tiers .tier:last-child { border-bottom: none; }
.tier:hover .tier__price { color: var(--or); }
.tier__dur { font-size: 13px; letter-spacing: .04em; color: rgba(246,241,231,.75); }
.tier__price { font-family: var(--serif); font-size: 19px; color: var(--or-clair); white-space: nowrap; }
.modal__deposit { margin-top: 14px; padding-top: 13px; border-top: 1px solid rgba(201,162,75,.18); font-size: 13px; letter-spacing: .03em; color: rgba(246,241,231,.7); }
.modal__body { padding: 26px 30px 30px; }
.modal__type { text-transform: uppercase; letter-spacing: .3em; font-size: 11px; color: var(--or); margin-bottom: 8px; }
.modal__name { font-family: var(--serif); font-size: clamp(26px, 4vw, 38px); color: var(--marbre); margin-bottom: 12px; }
.modal__desc { color: rgba(246,241,231,.78); line-height: 1.6; margin-bottom: 20px; }
/* Accroche épurée (sous-titre serif, ex. jet-ski) */
.modal__desc--accroche { font-family: var(--serif); font-style: italic; font-size: clamp(15px, 2.4vw, 19px); color: rgba(231,211,160,.88); line-height: 1.5; margin-bottom: 22px; }
.modal__specs { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin-bottom: 24px; }
.modal__specs li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(201,162,75,.18); font-size: 14px; }
.modal__specs .k { color: rgba(246,241,231,.6); }
.modal__specs .v { color: var(--marbre); font-weight: 500; }
/* Variante épurée : trio de specs-clés centré (ex. jet-ski) */
.modal__specs--inline { display: flex; justify-content: center; align-items: stretch; gap: 0; margin: 4px 0 28px; }
.modal__specs--inline li { flex: 1; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 4px 6px; border-bottom: none; text-align: center; }
.modal__specs--inline li + li { border-left: 1px solid rgba(201,162,75,.25); }
.modal__specs--inline .v { font-family: var(--serif); font-weight: 400; font-size: clamp(17px, 2.6vw, 22px); color: var(--or-clair); white-space: nowrap; }
.modal__specs--inline .k { order: 2; text-transform: uppercase; letter-spacing: .14em; font-size: 9.5px; color: var(--or); }
.modal__footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.modal__price { font-family: var(--serif); font-size: clamp(20px, 3vw, 28px); color: var(--or-clair); }
.modal__price small { font-size: 13px; color: rgba(246,241,231,.6); font-family: var(--sans); }

/* ====================== ANIMATIONS ====================== */
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes floatSoft { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-9px) rotate(.4deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes glowOpacity { 0%,100% { opacity: .18; } 50% { opacity: 1; } }
@keyframes pulseHint { 0%,100% { opacity: .6; } 50% { opacity: .9; } }

/* ====================== RESPONSIVE ====================== */
@media (max-width: 720px) {
  .brand__name { display: none; }
  .bubbles--articles { max-height: 64dvh; }
  .skip { bottom: max(clamp(16px, 4vh, 40px), env(safe-area-inset-bottom)); }
}
/* petit écran / carré bas : fiche article en une colonne, média plus court */
@media (max-width: 480px), (max-height: 560px) {
  .modal__specs { grid-template-columns: 1fr; }
  .modal__body { padding: 20px 22px 24px; }
}
/* Bulles d'univers : rangée bornée par la hauteur sur carré/compact… */
@media (max-width: 720px) and (min-aspect-ratio: 3/4) {
  .bubbles--universes { flex-direction: row; flex-wrap: nowrap; gap: clamp(12px, 3vw, 28px); }
  .bubble { width: min(clamp(120px, 28vw, 200px), 24dvh); }
}
/* …et colonne fortement bornée sur vrai portrait étroit (jamais de débordement) */
@media (max-width: 720px) and (max-aspect-ratio: 3/4) {
  .bubbles--universes { flex-direction: column; gap: clamp(10px, 2dvh, 18px); }
  .bubble { width: min(clamp(130px, 42vw, 200px), 20dvh); }
}

/* accessibilité : mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .12s !important; }
  .bubble, .article, .vcard, .btn--enter, .btn--enter::after { animation: none !important; }
  .bubble, .article, .vcard { opacity: 1 !important; }   /* pas de cascade : visibles d'emblée */
  .stage--blur .cine { transition: none !important; }
  .scene, .fade { transition-duration: .01ms !important; }
}

/* focus clavier visible partout */
:focus-visible { outline: 2px solid var(--or-clair); outline-offset: 3px; border-radius: 4px; }
