/* ==========================================================================
   Garage Gallina Jean-Louis — feuille de style
   Direction artistique : « atelier de nuit ».
   Palette tirée de l'atelier : noir bleuté (fond), stuc crème (façade),
   bleu des ponts élévateurs, rouge de la Lancia, ambre des clignotants.
   Fil rouge : la bande de rallye (bleu · blanc · rouge) et la plaque rivetée.
   Animations : transform et opacity en priorité.
   ========================================================================== */

:root {
  --ink: #0a0d12;
  --ink-2: #10151c;
  --ink-3: #171e28;
  --bone: #f1ebdd;
  --bone-2: #e6dec9;
  --paper: #141922;
  --smoke: #9aa3b2;
  --cobalt: #2f6bff;
  --cobalt-l: #7aa2ff;
  --cobalt-d: #1d4fd8;
  --rosso: #e5322b;
  --amber: #ffb23e;
  --line: rgba(241, 235, 221, .14);
  --line-d: rgba(20, 25, 34, .16);

  --f-display: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
  --f-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --pad: clamp(20px, 5vw, 84px);
  --nav-h: 76px;
  --r: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
html.is-loading { overflow: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd, address { margin: 0; }
address { font-style: normal; }
::selection { background: var(--cobalt); color: #fff; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 3px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 12px; top: -80px; z-index: 300; background: var(--bone); color: var(--ink);
  padding: .7rem 1rem; font-weight: 600; border-radius: 4px; transition: top .2s;
}
.skip:focus { top: 12px; }

.ico { display: inline-block; width: 1.15em; height: 1.15em; flex: none; }
.ico--flip { transform: scaleX(-1); }
.ico--xl { width: 44px; height: 44px; }

/* ---------- Typographie ---------- */
.h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 114%;
  text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: .96;
  letter-spacing: -.012em;
  text-wrap: balance;
}
.h2--dark { color: var(--paper); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.3rem); color: rgba(241, 235, 221, .82); max-width: 40rem; }

.eyebrow {
  display: flex; align-items: center; gap: .8rem;
  font-family: var(--f-display); font-stretch: 72%; font-weight: 700;
  text-transform: uppercase; letter-spacing: .22em; font-size: .86rem;
  color: var(--cobalt-l); margin-bottom: 1.2rem;
}
.eyebrow--dark { color: var(--cobalt-d); }
.eyebrow__bar {
  width: 34px; height: 8px; flex: none; position: relative;
  background:
    linear-gradient(var(--cobalt), var(--cobalt)) 0 0 / 100% 2px no-repeat,
    linear-gradient(var(--bone), var(--bone)) 0 3px / 100% 2px no-repeat,
    linear-gradient(var(--rosso), var(--rosso)) 0 6px / 100% 2px no-repeat;
}

/* Mots / lettres animés */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.wi { display: inline-block; will-change: transform; }
.ch { display: inline-block; will-change: transform; }

/* ---------- Plaque rivetée (fil rouge) ---------- */
.plate {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-weight: 800; font-stretch: 100%; letter-spacing: .1em;
  font-size: .9rem; line-height: 1; padding: .42rem .95rem;
  border: 1.5px solid currentColor; border-radius: 6px;
}
.plate::before, .plate::after {
  content: ''; position: absolute; top: 50%; width: 4px; height: 4px; margin-top: -2px;
  border-radius: 50%; background: currentColor; opacity: .7;
}
.plate::before { left: 5px; }
.plate::after { right: 5px; }

/* ---------- Boutons ---------- */
.btn {
  --cut: 11px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  padding: 1rem 1.7rem; border-radius: 0;
  font-family: var(--f-display); font-stretch: 88%; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; font-size: .86rem; line-height: 1.1; text-align: center;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  transition: color .5s var(--ease);
  will-change: transform;
}
.btn__t { position: relative; display: inline-flex; align-items: center; gap: .55rem; }
.btn__bg {
  position: absolute; inset: 0; z-index: -1;
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover .btn__bg, .btn:focus-visible .btn__bg { transform: translateY(0); }
.btn .ico { transition: transform .5s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn--lg { padding: 1.15rem 2rem; font-size: .92rem; }
.btn--sm { padding: .7rem 1.15rem; font-size: .78rem; --cut: 8px; }

.btn--fill { background: var(--cobalt); color: #fff; }
.btn--fill .btn__bg { background: var(--bone); }
.btn--fill:hover, .btn--fill:focus-visible { color: var(--ink); }

.btn--ghost { color: var(--bone); background: rgba(241, 235, 221, .38); }
.btn--ghost::after {
  content: ''; position: absolute; inset: 1.5px; z-index: -2; background: var(--ink-2);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
}
.btn--ghost .btn__bg { background: var(--bone); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--ink); }
.hero .btn--ghost::after { background: rgba(10, 13, 18, .72); }

.btn--ink { background: var(--ink); color: var(--bone); }
.btn--ink .btn__bg { background: var(--cobalt); }
.btn--ink:hover, .btn--ink:focus-visible { color: #fff; }

/* Liens soulignés animés */
.ulink {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size .55s var(--ease);
  padding-bottom: 3px;
}
.ulink:hover, .ulink:focus-visible { background-size: 100% 1.5px; }

/* ---------- Séparateurs diagonaux (bande de rallye) ---------- */
.slant {
  --a: var(--ink); --b: var(--bone);
  position: relative; z-index: 2; margin: -1px 0; height: clamp(40px, 7vw, 120px);
  background: linear-gradient(176deg,
    var(--a) calc(50% - 8px),
    var(--cobalt) calc(50% - 8px) calc(50% - 3px),
    #f1ebdd calc(50% - 3px) calc(50% + 2px),
    var(--rosso) calc(50% + 2px) calc(50% + 7px),
    var(--b) calc(50% + 7px));
}
.slant--ink-bone { --a: var(--ink); --b: var(--bone); }
.slant--bone-ink { --a: var(--bone); --b: var(--ink); }
.slant--ink-cobalt { --a: var(--ink); --b: var(--cobalt); }
.slant--cobalt-ink { --a: var(--cobalt); --b: var(--ink); }
.slant--bone-ink2 { --a: var(--bone); --b: var(--ink-2); }

/* ---------- Préchargeur ---------- */
.loader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; overflow: hidden; }
.loader__door { position: absolute; inset: 0; display: flex; flex-direction: column; }
.slat {
  flex: 1; position: relative; will-change: transform;
  background: linear-gradient(180deg, #1c2431 0, #121823 55%, #0a0e14 100%);
  border-bottom: 2px solid #05070a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.slat::after {
  content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 38px, transparent 38px 76px);
}
.loader__gauge { position: relative; z-index: 2; width: min(470px, 88vw); text-align: center; }
.gauge { width: 100%; height: auto; overflow: visible; }
.gauge text { font-family: var(--f-display); font-weight: 700; font-stretch: 100%; font-size: 15px; fill: var(--bone); text-anchor: middle; dominant-baseline: middle; }
.loader__rpm { margin-top: -44px; display: flex; flex-direction: column; align-items: center; line-height: 1; }
.loader__rpm b { font-family: var(--f-display); font-weight: 900; font-stretch: 125%; font-size: clamp(2.4rem, 8vw, 3.6rem); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.loader__rpm small { margin-top: .5rem; font-family: var(--f-display); font-stretch: 70%; text-transform: uppercase; letter-spacing: .3em; font-size: .75rem; color: var(--smoke); }
.loader__name { margin-top: 1.8rem; font-family: var(--f-display); font-stretch: 120%; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .95rem; }
.loader__name span { display: block; margin-top: .25rem; font-family: var(--f-body); font-weight: 400; text-transform: none; letter-spacing: .02em; color: var(--cobalt-l); font-size: 1.05rem; }
.loader.is-red .loader__rpm b { color: var(--rosso); }

/* ---------- Barre de progression, curseur ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; pointer-events: none; }
.progress i { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--cobalt) 0 60%, var(--bone) 60% 80%, var(--rosso) 80%); }

.cursor { position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; display: none; }
.cursor__dot { position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: var(--bone); }
.cursor__ring {
  position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid rgba(241, 235, 221, .55); display: grid; place-items: center;
  transition: transform .45s var(--ease), background-color .3s, border-color .3s;
}
.cursor__ring em { font-style: normal; font-family: var(--f-display); font-stretch: 80%; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .62rem; color: #fff; opacity: 0; transform: scale(.6); transition: opacity .3s, transform .4s var(--ease); }
.cursor.is-big .cursor__ring { transform: scale(2.1); background: var(--cobalt); border-color: var(--cobalt); }
.cursor.is-big .cursor__ring em { opacity: 1; transform: scale(.5); }
@media (hover: hover) and (pointer: fine) { .motion .cursor { display: block; } }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h);
  padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  transition: transform .7s var(--ease), background-color .4s;
}
.nav::before { content: ''; position: absolute; inset: 0 0 -24px; z-index: -1; background: linear-gradient(rgba(10, 13, 18, .85), rgba(10, 13, 18, 0)); pointer-events: none; transition: opacity .4s; }
.nav.is-solid { background: rgba(10, 13, 18, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav.is-solid::before { opacity: 0; }
.nav.is-hidden { transform: translateY(-110%); }
.brand { display: flex; align-items: center; gap: .8rem; }
.brand__mark {
  width: 42px; height: 42px; display: grid; place-items: center; flex: none;
  background: var(--cobalt); color: #fff; font-family: var(--f-display); font-weight: 900; font-stretch: 125%; font-size: 1.35rem;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
}
.brand__txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand__txt b { font-family: var(--f-display); font-weight: 800; font-stretch: 125%; text-transform: uppercase; letter-spacing: .04em; font-size: 1.05rem; }
.brand__txt small { font-size: .82rem; color: var(--smoke); }
.nav__links { display: flex; gap: clamp(1rem, 2.2vw, 2.4rem); font-family: var(--f-display); font-stretch: 85%; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; }
.nav__cta { display: flex; align-items: center; gap: 1.2rem; }
.nav__tel { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.nav__tel .ico { color: var(--cobalt-l); }

.burger { display: none; width: 46px; height: 46px; position: relative; border: 1.5px solid var(--line); border-radius: 50%; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--bone); transition: transform .5s var(--ease); }
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* Menu plein écran */
.menu { position: fixed; inset: 0; z-index: 60; visibility: hidden; pointer-events: none; }
.menu.is-open { visibility: visible; pointer-events: auto; }
.menu__bg { position: absolute; inset: 0; background: var(--ink); clip-path: circle(0% at calc(100% - 44px) 38px); transition: clip-path .9s var(--ease); }
.menu.is-open .menu__bg { clip-path: circle(150% at calc(100% - 44px) 38px); }
.menu__bg::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: linear-gradient(90deg, var(--cobalt) 0 33.3%, var(--bone) 33.3% 66.6%, var(--rosso) 66.6%); }
.menu__inner { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + 10px) var(--pad) 40px; gap: .2rem; overflow-y: auto; }
.menu__link {
  display: flex; align-items: baseline; gap: 1rem;
  font-family: var(--f-display); font-weight: 800; font-stretch: 118%; text-transform: uppercase;
  font-size: clamp(1.9rem, 9vw, 3.4rem); line-height: 1.15; opacity: 0; transform: translateY(40px);
  transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.menu__link span { font-size: .85rem; font-stretch: 80%; color: var(--cobalt-l); letter-spacing: .15em; }
.menu.is-open .menu__link { opacity: 1; transform: none; }
.menu.is-open .menu__link:nth-child(1) { transition-delay: .25s; }
.menu.is-open .menu__link:nth-child(2) { transition-delay: .3s; }
.menu.is-open .menu__link:nth-child(3) { transition-delay: .35s; }
.menu.is-open .menu__link:nth-child(4) { transition-delay: .4s; }
.menu.is-open .menu__link:nth-child(5) { transition-delay: .45s; }
.menu.is-open .menu__link:nth-child(6) { transition-delay: .5s; }
.menu.is-open .menu__link:nth-child(7) { transition-delay: .55s; }
.menu__foot { margin-top: 1.6rem; display: grid; gap: 1rem; justify-items: start; color: var(--smoke); }

/* ---------- HERO ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--nav-h) + 4vh) var(--pad) clamp(34px, 7vh, 72px);
}
.hero__media { position: absolute; inset: -8% 0 0; z-index: -3; will-change: transform; background: var(--ink) url('../img/hero-poster.jpg') center / cover no-repeat; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 13, 18, .86) 0%, rgba(10, 13, 18, .42) 52%, rgba(10, 13, 18, .1) 100%),
    linear-gradient(0deg, rgba(10, 13, 18, 1) 0%, rgba(10, 13, 18, .35) 34%, rgba(10, 13, 18, 0) 62%),
    linear-gradient(180deg, rgba(10, 13, 18, .6), rgba(10, 13, 18, 0) 24%);
}
.grain {
  position: absolute; inset: -60%; opacity: .1; pointer-events: none; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .7 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -2%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

.hero__mid { position: absolute; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.hero__ghost {
  position: absolute; left: -3vw; top: 14%; white-space: nowrap;
  font-family: var(--f-display); font-weight: 900; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(8rem, 27vw, 30rem); line-height: .8; letter-spacing: -.03em;
  color: transparent; -webkit-text-stroke: 1px rgba(241, 235, 221, .17);
}
.hero__stripes { position: absolute; top: -12%; bottom: -12%; right: 17%; width: 120px; transform: skewX(-17deg); }
.hero__stripes i { position: absolute; top: 0; bottom: 0; display: block; }
.hero__stripes i:nth-child(1) { right: 0; width: 22px; background: var(--rosso); }
.hero__stripes i:nth-child(2) { right: 34px; width: 7px; background: var(--bone); }
.hero__stripes i:nth-child(3) { right: 54px; width: 22px; background: var(--cobalt); }

.hero__fore { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.chip {
  position: absolute; padding: .55rem .95rem; border: 1px solid var(--line); border-radius: 4px;
  background: rgba(10, 13, 18, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-family: var(--f-display); font-stretch: 78%; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; font-size: .78rem;
}
.chip::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: .6rem; background: var(--amber); border-radius: 50%; }
.chip--a { top: 30%; right: 8%; }
.chip--b { top: 43%; right: 3.5%; }
.chip--c { top: 56%; right: 10%; }

.hero__content { position: relative; z-index: 2; }
.eyebrow--hero { margin-bottom: 0; }
.hero__title { display: flex; flex-direction: column; margin: 1.4rem 0 clamp(1.4rem, 4vh, 2.6rem); line-height: .8; }
.hl {
  display: block; overflow: hidden; padding: .05em 0 .02em;
  font-family: var(--f-display); font-weight: 900; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(3.2rem, 12vw, 13.2rem); letter-spacing: -.025em; line-height: .86;
}
.hl:first-child { color: transparent; -webkit-text-stroke: 2px var(--bone); }
.hl--solid { color: var(--bone); }
.hl--thin {
  font-family: var(--f-body); font-weight: 400; font-stretch: 100%; text-transform: none; letter-spacing: 0;
  font-size: clamp(1.7rem, 4.6vw, 4.4rem); color: var(--cobalt-l); margin-top: .25em; line-height: 1;
}
.hl--thin .ch { color: var(--cobalt-l); }

.hero__row { display: grid; grid-template-columns: minmax(0, 36rem) auto; gap: 2rem 4rem; align-items: end; justify-content: space-between; }
.hero__lead { font-size: clamp(1.08rem, 1.5vw, 1.35rem); color: rgba(241, 235, 221, .9); text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero__meta { position: absolute; z-index: 3; right: var(--pad); top: calc(var(--nav-h) + 22px); display: flex; flex-direction: column; align-items: flex-end; gap: 1.2rem; }
.status {
  display: inline-flex; align-items: center; gap: .6rem; padding: .5rem 1rem .5rem .8rem; border-radius: 999px;
  background: rgba(10, 13, 18, .62); border: 1px solid var(--line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-weight: 600; font-size: .92rem;
}
.status small { color: var(--smoke); font-weight: 400; font-size: .86rem; }
.status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--smoke); }
.status.is-open .dot { background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: ping 2s infinite; }
.status.is-closed .dot { background: var(--rosso); }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.mini-gauge { width: 112px; height: auto; margin-right: 6px; }
.scrollcue { position: absolute; right: 6px; top: 100%; margin-top: 3.2rem; writing-mode: vertical-rl; display: flex; align-items: center; gap: .8rem; font-family: var(--f-display); font-stretch: 72%; font-weight: 600; text-transform: uppercase; letter-spacing: .3em; font-size: .72rem; color: var(--smoke); }
.scrollcue i { display: block; width: 1px; height: 54px; background: linear-gradient(var(--bone), transparent); transform-origin: top; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Bandeau marquee ---------- */
.marquee {
  position: relative; z-index: 4; background: var(--bone); color: var(--ink);
  margin: -2.2vw -4vw 0; padding: clamp(.9rem, 1.8vw, 1.5rem) 0; transform: rotate(-1.8deg); overflow: hidden;
}
.marquee::before, .marquee::after {
  content: ''; position: absolute; left: 0; right: 0; height: 6px;
  background: linear-gradient(90deg, var(--cobalt) 0 33.3%, var(--ink) 33.3% 66.6%, var(--rosso) 66.6%);
}
.marquee::before { top: 0; } .marquee::after { bottom: 0; }
.marquee__row { overflow: hidden; padding: .15rem 0; }
.marquee__track { display: flex; align-items: center; width: max-content; gap: clamp(1.2rem, 2.4vw, 2.6rem); white-space: nowrap; will-change: transform; }
.marquee__track span {
  font-family: var(--f-display); font-weight: 900; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(1.6rem, 4vw, 3.6rem); line-height: 1.1; letter-spacing: -.01em;
}
.marquee__row--out .marquee__track span { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.sq { flex: none; width: .9em; height: .9em; font-size: clamp(1.4rem, 3vw, 2.6rem); background: repeating-conic-gradient(var(--ink) 0 25%, var(--bone) 0 50%) 0 0 / 50% 50%; border: 2px solid var(--ink); }

/* ---------- ATELIER (storytelling épinglé) ---------- */
.story { position: relative; background: var(--ink); padding-top: clamp(40px, 7vw, 90px); }
.story__pin {
  position: relative; min-height: 100vh; min-height: 100svh;
  padding: calc(var(--nav-h) + 2vh) var(--pad) 5vh; display: flex; flex-direction: column; gap: clamp(1rem, 3vh, 2.4rem);
}
.story__head { max-width: 46rem; }
.story__head .h2 { font-size: clamp(1.7rem, 3.5vw, 3.4rem); }
.story__stage { position: relative; flex: 1; min-height: clamp(340px, 54vh, 640px); }
.step { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(1.5rem, 5vw, 6rem); align-items: end; }
.step__txt { max-width: 32rem; padding-bottom: 1rem; }
.step__txt .plate { font-size: clamp(1.6rem, 3.6vw, 3.2rem); padding: .28em .62em; color: var(--cobalt-l); }
.step__txt .plate::before, .step__txt .plate::after { width: 6px; height: 6px; margin-top: -3px; }
.step__txt .plate::before { left: 9px; } .step__txt .plate::after { right: 9px; }
.step__t { font-family: var(--f-display); font-weight: 900; font-stretch: 122%; text-transform: uppercase; font-size: clamp(2.2rem, 5.4vw, 5.2rem); line-height: .92; letter-spacing: -.02em; margin: .55em 0 .4em; }
.step__txt p { font-size: clamp(1.05rem, 1.35vw, 1.25rem); color: rgba(241, 235, 221, .8); }
.step__fig { position: relative; height: 100%; min-height: 280px; max-height: 66vh; overflow: hidden; border-radius: var(--r); background: var(--ink-3); will-change: clip-path; }
.step__fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.step__fig::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 13, 18, .7), transparent 38%); }
.step__fig figcaption {
  position: absolute; z-index: 2; left: 1rem; bottom: 1rem; padding: .4rem .8rem; border-radius: 4px;
  background: rgba(10, 13, 18, .7); border: 1px solid var(--line);
  font-family: var(--f-display); font-stretch: 78%; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: .74rem;
}
.story__ticks { position: absolute; left: calc(var(--pad) * .38); top: 50%; display: flex; flex-direction: column; gap: 10px; transform: translateY(-50%); }
.story__ticks li { width: 3px; height: 34px; background: var(--line); transition: background-color .4s, transform .5s var(--ease); transform-origin: top; }
.story__ticks li.is-on { background: var(--cobalt); }

/* ---------- PRESTATIONS (défilement horizontal) ---------- */
.svc { position: relative; background: var(--bone); color: var(--paper); }
.svc__pin { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(1.2rem, 4vh, 3rem); padding: calc(var(--nav-h) + 1vh) 0 4vh; overflow: hidden; }
.svc__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; padding: 0 var(--pad); }
.svc__head .h2 { font-size: clamp(1.9rem, 4.2vw, 4.2rem); max-width: 16ch; }
.svc__hint { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--f-display); font-stretch: 78%; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; color: var(--cobalt-d); }
.svc__hint .ico { animation: nudge 1.6s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(8px); } }
.svc__viewport { width: 100%; }
.svc__track { display: flex; gap: clamp(14px, 2vw, 30px); padding: 0 var(--pad); width: max-content; will-change: transform; }

.card {
  --mx: 50%; --my: 0%;
  position: relative; flex: 0 0 clamp(280px, 27vw, 410px); height: min(60vh, 560px); min-height: 460px;
  display: flex; flex-direction: column; background: var(--ink); color: var(--bone); border-radius: var(--r); overflow: hidden;
  transform-style: preserve-3d; will-change: transform; box-shadow: 0 30px 60px -30px rgba(10, 13, 18, .6);
}
.card__media { position: relative; flex: 0 0 46%; overflow: hidden; }
.card__media img { position: absolute; left: -10%; top: 0; width: 120%; height: 100%; max-width: none; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__media img { transform: scale(1.08); }
.card__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, var(--ink) 0, transparent 55%); }
.card .plate { position: absolute; z-index: 2; top: 1rem; left: 1rem; color: var(--bone); background: rgba(10, 13, 18, .55); }
.card h3 { font-family: var(--f-display); font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: clamp(1.25rem, 1.8vw, 1.65rem); line-height: 1.05; padding: 1.1rem 1.4rem 0; }
.card p { padding: .7rem 1.4rem 0; color: rgba(241, 235, 221, .74); font-size: 1rem; }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: 1.1rem 1.4rem 1.4rem; border-top: 1px solid var(--line); }
.price { font-family: var(--f-display); font-stretch: 78%; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--amber); }
.card .btn--ink { background: var(--cobalt); }
.card .btn--ink .btn__bg { background: var(--bone); }
.card .btn--ink:hover { color: var(--ink); }
.card--hot::before { content: ''; position: absolute; z-index: 3; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--cobalt) 0 33.3%, var(--bone) 33.3% 66.6%, var(--rosso) 66.6%); }
.card--cta { background: var(--cobalt); justify-content: center; padding: 2rem; gap: .4rem; }
.card--cta h3, .card--cta p { padding-left: 0; padding-right: 0; }
.card--cta p { color: rgba(255, 255, 255, .88); }
.card__tel { margin-top: 1.4rem; font-family: var(--f-display); font-weight: 900; font-stretch: 122%; font-size: clamp(1.5rem, 2.4vw, 2.2rem); line-height: 1.1; align-self: flex-start; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 3px no-repeat; padding-bottom: 6px; transition: background-size .5s var(--ease); }
.card__tel:hover { background-size: 0 3px; }
.card__small { margin-top: 1rem; font-size: .92rem; }
.glare { position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, .26), transparent 46%); mix-blend-mode: soft-light; }
.card:hover .glare { opacity: 1; }

/* ---------- REPARTO STORICO ---------- */
.storico { position: relative; background: var(--ink); padding: clamp(80px, 11vw, 170px) 0 clamp(60px, 9vw, 140px); overflow: hidden; }
.flagstrip { position: absolute; top: 0; left: 0; right: 0; height: 28px; overflow: hidden; }
.flagstrip__in { width: calc(100% + 56px); height: 100%; background: repeating-conic-gradient(var(--bone) 0 25%, var(--ink) 0 50%) 0 0 / 28px 28px; animation: flag 3.2s linear infinite; }
@keyframes flag { to { transform: translateX(-56px); } }
.storico__grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(2.5rem, 7vw, 8rem); align-items: center; padding: 0 var(--pad); }
.storico__text .lead { margin: 1.6rem 0 2rem; }
.checks { display: grid; gap: 1.1rem; margin-bottom: 2.4rem; max-width: 36rem; }
.checks li { display: flex; gap: .9rem; align-items: flex-start; color: rgba(241, 235, 221, .82); }
.checks b { color: var(--bone); }
.checks .ico { color: var(--rosso); margin-top: .22em; width: 1.3em; height: 1.3em; }
.storico__media { position: relative; padding: 0 0 12% 10%; }
.s-main { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 1; will-change: clip-path; background: var(--ink-3); }
.kb { position: absolute; inset: 0; animation: kb 16s ease-in-out infinite alternate; }
.kb img, .pimg img { width: 100%; height: 100%; object-fit: cover; }
@keyframes kb { from { transform: scale(1.02); } to { transform: scale(1.14) translate(-1.5%, -1%); } }
.s-a, .s-b, .s-c { position: absolute; overflow: hidden; border-radius: var(--r); border: 6px solid var(--ink); background: var(--ink-3); }
.s-a { left: 0; bottom: 0; width: 42%; aspect-ratio: 3 / 4; }
.s-b { right: -2%; top: -6%; width: 30%; aspect-ratio: 1; }
.s-c { right: 3%; bottom: 4%; width: 34%; aspect-ratio: 1; }
.pimg { position: absolute; inset: 0; overflow: hidden; }
.pimg img { position: absolute; left: 0; top: -9%; height: 118%; will-change: transform; }
.spin { position: absolute; left: 2%; top: -5%; width: clamp(96px, 11vw, 150px); aspect-ratio: 1; z-index: 3; color: var(--bone); }
.spin > svg:first-child { width: 100%; height: 100%; animation: spin 20s linear infinite; }
.spin text { font-family: var(--f-display); font-weight: 700; font-stretch: 100%; font-size: 15.5px; letter-spacing: .14em; text-transform: uppercase; fill: currentColor; }
.spin__flag { position: absolute; inset: 31%; width: 38%; height: 38%; color: var(--rosso); }
.spin::before { content: ''; position: absolute; inset: 8%; border-radius: 50%; background: var(--cobalt); z-index: -1; }
@keyframes spin { to { transform: rotate(360deg); } }
.banner { position: relative; margin: clamp(4rem, 9vw, 9rem) var(--pad) 0; height: clamp(300px, 46vw, 620px); overflow: hidden; border-radius: var(--r); background: var(--ink-3); }
.banner__img { position: absolute; inset: 0; overflow: hidden; }
.banner__img img { position: absolute; left: 0; top: -14%; width: 100%; height: 128%; object-fit: cover; object-position: 50% 40%; will-change: transform; }
.banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 13, 18, .82), rgba(10, 13, 18, .1) 70%), linear-gradient(0deg, rgba(10, 13, 18, .55), transparent 40%); }
.banner__cap { position: absolute; z-index: 2; left: clamp(1.2rem, 4vw, 4rem); bottom: clamp(1.2rem, 4vw, 3.4rem); display: flex; flex-direction: column; gap: .6rem; }
.banner__cap span { font-family: var(--f-display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(2.6rem, 9vw, 9rem); line-height: .85; letter-spacing: -.03em; }
.banner__cap small { font-size: clamp(1rem, 1.4vw, 1.25rem); color: rgba(241, 235, 221, .85); }

/* ---------- CHIFFRES ---------- */
.stats { position: relative; background: var(--cobalt); color: #fff; padding: clamp(60px, 9vw, 130px) var(--pad); overflow: hidden; }
.stats::before { content: ''; position: absolute; top: -20%; bottom: -20%; right: 6%; width: 38%; transform: skewX(-17deg); background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .07) 0 22px, transparent 22px 56px); pointer-events: none; }
.stats__grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 3rem); }
.stat { position: relative; display: grid; justify-items: center; text-align: center; }
.stat__ring { width: min(100%, 230px); height: auto; transform: rotate(-90deg); }
.stat__ring circle { fill: none; stroke-width: 5; }
.stat__ring .r0 { stroke: rgba(255, 255, 255, .22); }
.stat__ring .r1 { stroke: #fff; stroke-dasharray: 100; stroke-dashoffset: 100; stroke-linecap: butt; }
.stat__v { position: absolute; top: 0; left: 50%; width: min(100%, 230px); aspect-ratio: 1; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; gap: .15em; pointer-events: none; }
.stat__v b { font-family: var(--f-display); font-weight: 900; font-stretch: 118%; font-size: clamp(2.2rem, 4.3vw, 4.2rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat__v i { font-style: normal; font-family: var(--f-display); font-weight: 700; font-stretch: 100%; font-size: clamp(1rem, 1.7vw, 1.5rem); align-self: flex-end; margin-bottom: 1.8em; opacity: .85; }
.stat__l { margin-top: 1.3rem; font-family: var(--f-display); font-stretch: 85%; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .95rem; }
.stat__l small { display: block; margin-top: .35rem; font-family: var(--f-body); font-weight: 400; text-transform: none; letter-spacing: 0; font-size: .98rem; opacity: .96; }

/* ---------- GALERIE ---------- */
.gal { background: var(--ink); padding: clamp(60px, 8vw, 120px) 0 clamp(70px, 9vw, 140px); }
.gal__head { padding: 0 var(--pad); margin-bottom: clamp(2rem, 5vw, 4.5rem); max-width: 70rem; }
.gal__grid { columns: 3; column-gap: clamp(10px, 1.4vw, 20px); padding: 0 var(--pad); }
.g { break-inside: avoid; margin-bottom: clamp(10px, 1.4vw, 20px); }
.g__btn { position: relative; display: block; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: var(--r); background: var(--ink-3); transform-style: preserve-3d; will-change: transform; }
.g--w .g__btn { aspect-ratio: 4 / 3; }
.g--t .g__btn { aspect-ratio: 4 / 5; }
.g__btn::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px var(--line); border-radius: inherit; pointer-events: none; }
.g__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.8rem 1.1rem 1rem; text-align: left;
  background: linear-gradient(0deg, rgba(10, 13, 18, .94), transparent);
  font-family: var(--f-display); font-stretch: 78%; font-weight: 600; text-transform: uppercase; letter-spacing: .13em; font-size: .78rem;
  transform: translateY(101%); transition: transform .7s var(--ease);
}
.g__btn:hover .g__cap, .g__btn:focus-visible .g__cap { transform: translateY(0); }
.g__btn:hover img { transform: scale(1.04); }
.pimg img { transition: transform 1.1s var(--ease); }

/* ---------- AVIS ---------- */
.rev { background: var(--bone); color: var(--paper); padding: clamp(60px, 8vw, 120px) 0 clamp(70px, 9vw, 130px); overflow: hidden; }
.rev__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding: 0 var(--pad); margin-bottom: clamp(1.5rem, 4vw, 3.5rem); }
.rev__top .h2 { max-width: 14ch; }
.rev__score { display: grid; justify-items: start; gap: .3rem; }
.rev__score b { font-family: var(--f-display); font-weight: 900; font-stretch: 125%; font-size: clamp(3.6rem, 8vw, 7rem); line-height: .9; letter-spacing: -.04em; }
.rev__score small { font-family: var(--f-display); font-stretch: 78%; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .8rem; color: var(--smoke); color: #5b6472; }
.stars { display: flex; gap: 4px; color: #f09a0a; }
.stars .ico { width: 1.3rem; height: 1.3rem; }
.ico--off { color: rgba(20, 25, 34, .2); }
.rev__viewport { position: relative; overflow: hidden; padding: 1.5rem 0 2rem; touch-action: pan-y; cursor: grab; }
.rev__viewport:active { cursor: grabbing; }
.rev__track { display: flex; gap: clamp(14px, 2vw, 28px); width: max-content; transition: transform .95s var(--ease); will-change: transform; }
.rcard {
  position: relative; flex: 0 0 min(660px, 82vw); min-height: 360px; display: flex; flex-direction: column; justify-content: space-between; gap: 1.6rem;
  padding: clamp(1.6rem, 3.2vw, 3rem); background: var(--ink); color: var(--bone); border-radius: var(--r); overflow: hidden;
  opacity: .42; transform: scale(.93); transition: transform .8s var(--ease), opacity .8s var(--ease);
  user-select: none; -webkit-user-select: none;
}
.rcard.is-active { opacity: 1; transform: none; }
.rcard::before { content: '\201C'; position: absolute; right: 1.4rem; top: -.12em; font-family: var(--f-display); font-weight: 900; font-size: 9rem; line-height: 1; color: var(--cobalt); opacity: .55; }
.rcard .stars { color: var(--amber); }
.rcard blockquote { font-size: clamp(1.08rem, 1.55vw, 1.42rem); line-height: 1.5; font-weight: 500; text-wrap: pretty; }
.rcard footer { display: flex; flex-direction: column; gap: .15rem; }
.rcard footer b { font-family: var(--f-display); font-stretch: 100%; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: .95rem; }
.rcard footer span { color: var(--smoke); font-size: .92rem; }
.rcard--empty { background: var(--cobalt); align-items: flex-start; justify-content: center; }
.rcard--empty::before { display: none; }
.rcard--empty .ico--xl { color: #fff; opacity: .9; }
.rcard .empty { font-weight: 600; font-size: clamp(1.25rem, 2vw, 1.8rem); line-height: 1.25; }
.rcard--empty .btn--fill { background: var(--ink); }
.rcard--empty .btn--fill .btn__bg { background: var(--bone); }
.rcard.is-active .stars .ico { animation: pop .6s var(--ease) backwards; }
.rcard.is-active .stars .ico:nth-child(2) { animation-delay: .07s; }
.rcard.is-active .stars .ico:nth-child(3) { animation-delay: .14s; }
.rcard.is-active .stars .ico:nth-child(4) { animation-delay: .21s; }
.rcard.is-active .stars .ico:nth-child(5) { animation-delay: .28s; }
@keyframes pop { from { opacity: 0; transform: scale(.2) rotate(-40deg); } }
.rev__ctrl { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; padding: 0 var(--pad); }
.round { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line-d); transition: background-color .4s, color .4s, border-color .4s; flex: none; }
.round:hover:not(:disabled) { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.round:disabled { opacity: .35; cursor: default; }
.rev__dots { display: flex; gap: .6rem; }
.rev__dots button { width: 30px; height: 6px; background: rgba(20, 25, 34, .2); transition: background-color .4s, transform .4s var(--ease); transform-origin: left; }
.rev__dots button[aria-selected="true"] { background: var(--cobalt-d); transform: scaleX(1.5); }
.rev__note { flex: 1 1 280px; margin-left: auto; text-align: right; font-size: .92rem; color: #5b6472; }
.rev__note .ulink { color: var(--paper); }

/* ---------- CTA + RÉSERVATION ---------- */
.book { background: var(--ink-2); padding: clamp(60px, 8vw, 120px) var(--pad) clamp(70px, 9vw, 130px); position: relative; }
.book__cta { margin-bottom: clamp(3rem, 7vw, 6rem); }
.bigphone { position: relative; display: block; width: max-content; max-width: 100%; margin: .4rem 0 1.4rem; font-family: var(--f-display); font-weight: 900; font-stretch: 125%; font-size: clamp(2.4rem, 9.2vw, 9.6rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.bigphone__out { display: block; color: transparent; -webkit-text-stroke: 2px var(--bone); }
.bigphone__fill { position: absolute; left: 0; top: 0; color: var(--cobalt); clip-path: inset(0 100% 0 0); transition: clip-path .9s var(--ease); white-space: nowrap; }
.bigphone:hover .bigphone__fill, .bigphone:focus-visible .bigphone__fill { clip-path: inset(0 0 0 0); }
.book__sub { max-width: 42rem; color: rgba(241, 235, 221, .78); font-size: clamp(1.05rem, 1.4vw, 1.25rem); }
.book__grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(2rem, 6vw, 7rem); align-items: start; }
.book__intro { position: sticky; top: calc(var(--nav-h) + 20px); }
.book__intro .lead { margin: 1.4rem 0 1.8rem; }
.perks { display: grid; gap: .8rem; color: rgba(241, 235, 221, .85); }
.perks li { display: flex; gap: .7rem; align-items: flex-start; }
.perks .ico { color: #3ddc84; margin-top: .22em; }

.bk { position: relative; background: var(--ink-3); border: 1px solid var(--line); border-radius: 12px; padding: clamp(1.3rem, 2.6vw, 2.4rem); overflow: hidden; }
.bk::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--cobalt) 0 33.3%, var(--bone) 33.3% 66.6%, var(--rosso) 66.6%); }
.bk__steps { display: flex; gap: .5rem; margin: .6rem 0 1.8rem; flex-wrap: wrap; }
.bk__steps li { display: flex; align-items: center; gap: .55rem; font-family: var(--f-display); font-stretch: 78%; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; font-size: .78rem; color: var(--smoke); padding-right: .8rem; }
.bk__steps li span { width: 26px; height: 26px; display: grid; place-items: center; border: 1.5px solid currentColor; border-radius: 50%; font-size: .78rem; transition: background-color .4s, color .4s, border-color .4s; }
.bk__steps li.is-on { color: var(--bone); }
.bk__steps li.is-on span { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.bk__pane { border: 0; padding: 0; margin: 0; min-width: 0; }
.bk__pane[hidden] { display: none; }
.bk__legend { font-family: var(--f-display); font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: clamp(1.25rem, 2vw, 1.75rem); padding: 0; margin-bottom: 1.2rem; }
.bk__label { margin: 1.4rem 0 .8rem; font-family: var(--f-display); font-stretch: 78%; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; font-size: .78rem; color: var(--smoke); }

.chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt > span { display: flex; flex-direction: column; gap: .15rem; height: 100%; padding: .95rem 1rem; border: 1.5px solid var(--line); border-radius: 8px; background: rgba(241, 235, 221, .03); transition: border-color .3s, background-color .3s, transform .5s var(--ease); font-weight: 600; line-height: 1.2; }
.opt > span small { font-weight: 400; color: var(--smoke); font-size: .88rem; }
.opt:hover > span { border-color: rgba(241, 235, 221, .4); transform: translateY(-2px); }
.opt input:checked + span { border-color: var(--cobalt); background: rgba(47, 107, 255, .2); }
.opt input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }

.days { display: flex; gap: .55rem; overflow-x: auto; padding: .2rem .2rem 1rem; margin: 0 -.2rem; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--cobalt) transparent; }
.day { flex: 0 0 74px; scroll-snap-align: start; }
.day > span { display: grid; justify-items: center; gap: .1rem; padding: .75rem .3rem; text-align: center; }
.day em { font-style: normal; font-family: var(--f-display); font-stretch: 72%; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; color: var(--smoke); }
.day b { font-family: var(--f-display); font-weight: 900; font-stretch: 112%; font-size: 1.7rem; line-height: 1; }
.day small { font-size: .78rem; color: var(--smoke); }
.opt input:checked + span em, .opt input:checked + span small { color: var(--bone); }
.slot-group { margin-bottom: 1rem; }
.slot-group h4 { font-family: var(--f-display); font-stretch: 72%; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; color: var(--smoke); margin-bottom: .55rem; }
.slots { display: grid; gap: .3rem; }
.slot-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: .5rem; }
.slot > span { padding: .7rem .3rem; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; }
.bk__empty { color: var(--smoke); font-size: .98rem; }

.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.f { display: grid; gap: .4rem; }
.f span { font-family: var(--f-display); font-stretch: 78%; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; font-size: .74rem; color: var(--smoke); }
.f--wide { grid-column: 1 / -1; }
.f--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
input[type="text"], input[type="tel"], input[type="email"], textarea {
  width: 100%; padding: .9rem 1rem; color: var(--bone); background: rgba(241, 235, 221, .05); border: 1.5px solid var(--line); border-radius: 8px;
  font: inherit; font-size: 1rem; transition: border-color .3s, background-color .3s;
}
textarea { resize: vertical; min-height: 92px; }
input::placeholder, textarea::placeholder { color: rgba(154, 163, 178, .7); }
input:focus, textarea:focus { outline: none; border-color: var(--cobalt-l); background: rgba(47, 107, 255, .1); }
.is-invalid input, .is-invalid textarea, input.is-invalid, textarea.is-invalid { border-color: var(--rosso); }
.check { display: flex; gap: .8rem; align-items: flex-start; font-size: .92rem; color: rgba(241, 235, 221, .75); cursor: pointer; }
.check input { width: 20px; height: 20px; flex: none; margin: .15rem 0 0; accent-color: var(--cobalt); }
.bk__err { margin-top: 1rem; padding: .75rem 1rem; border-left: 4px solid var(--rosso); background: rgba(229, 50, 43, .12); border-radius: 0 6px 6px 0; font-weight: 500; }
.bk__err[hidden] { display: none; }
.bk__nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.6rem; }
.bk__nav .btn--fill { margin-left: auto; }
.bk__nav [hidden] { display: none; }

.bk__done[hidden] { display: none; }
.bk__done { outline: none; }
.ticket { position: relative; padding: 1.6rem 1.6rem 1.4rem; border: 2px solid var(--bone); border-radius: 12px; background: repeating-linear-gradient(135deg, rgba(241, 235, 221, .04) 0 8px, transparent 8px 16px); }
.ticket__rivet { position: absolute; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--bone); }
.ticket__rivet:nth-of-type(1) { left: 12px; } .ticket__rivet:nth-of-type(2) { right: 12px; }
.ticket__k { font-family: var(--f-display); font-stretch: 78%; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; color: var(--cobalt-l); text-align: center; }
.ticket__ref { font-family: var(--f-display); font-weight: 900; font-stretch: 125%; font-size: clamp(2rem, 5vw, 3.2rem); text-align: center; letter-spacing: .04em; margin: .3rem 0 1.2rem; }
.ticket__dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1.4rem; }
.ticket__dl dt { font-family: var(--f-display); font-stretch: 78%; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .7rem; color: var(--smoke); }
.ticket__dl dd { font-weight: 600; overflow-wrap: anywhere; }
.done__msg { margin: 1.4rem 0 1.2rem; color: rgba(241, 235, 221, .85); }
.done__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- FAQ ---------- */
.faq { background: var(--ink); padding: clamp(60px, 8vw, 120px) var(--pad); }
.faq__inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 7rem); max-width: 1400px; margin: 0 auto; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.35rem 0; font-family: var(--f-display); font-stretch: 100%; font-weight: 700; font-size: clamp(1.05rem, 1.6vw, 1.4rem); transition: color .3s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--cobalt-l); }
.qa summary i { position: relative; width: 22px; height: 22px; flex: none; transition: transform .6s var(--ease); }
.qa summary i::before, .qa summary i::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: currentColor; }
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i { transform: rotate(135deg); }
.qa__a { padding: 0 0 1.5rem; max-width: 46rem; color: rgba(241, 235, 221, .78); animation: qa .6s var(--ease); }
@keyframes qa { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- NOUS TROUVER ---------- */
.loc { background: var(--ink-2); padding: clamp(60px, 8vw, 120px) var(--pad); }
.loc__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 6rem); align-items: stretch; max-width: 1500px; margin: 0 auto; }
.loc__list { display: grid; gap: 1.2rem; margin: 2rem 0 2.2rem; }
.loc__row { display: flex; gap: 1rem; align-items: flex-start; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); color: rgba(241, 235, 221, .8); transition: color .3s; }
a.loc__row:hover { color: var(--bone); }
.loc__row .ico { width: 1.5rem; height: 1.5rem; margin-top: .15rem; color: var(--cobalt-l); }
.loc__row b { display: block; color: var(--bone); font-weight: 600; font-size: 1.12rem; }
.hours__t { display: flex; align-items: center; gap: .6rem; font-family: var(--f-display); font-stretch: 85%; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .9rem; margin-bottom: .8rem; }
.hours__t .ico { color: var(--cobalt-l); }
.hours table { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: .62rem .6rem .62rem 0; text-align: left; font-weight: 400; border-bottom: 1px solid var(--line); color: rgba(241, 235, 221, .78); font-variant-numeric: tabular-nums; }
.hours th { font-weight: 600; width: 32%; color: var(--bone); }
.hours .off { color: var(--smoke); }
.hours tr.is-today { background: linear-gradient(90deg, rgba(47, 107, 255, .22), transparent); }
.hours tr.is-today th { position: relative; padding-left: .8rem; }
.hours tr.is-today th::before { content: ''; position: absolute; left: 0; top: 18%; bottom: 18%; width: 3px; background: var(--cobalt); }
.loc__btns { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.loc__map { position: relative; min-height: 520px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--ink-3); }
.loc__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.88) hue-rotate(180deg) saturate(.7); transition: filter .8s var(--ease); }
.loc__map:hover iframe, .loc__map:focus-within iframe { filter: none; }
.loc__pin { position: absolute; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .6rem; padding: .75rem 1.1rem; background: var(--bone); color: var(--ink); font-family: var(--f-display); font-stretch: 85%; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; border-radius: 4px; }

/* ---------- FOOTER ---------- */
.foot { position: relative; background: var(--ink); padding: clamp(60px, 8vw, 110px) var(--pad) 28px; overflow: hidden; }
.foot__stripe { position: absolute; left: 0; right: 0; top: 0; height: 14px; display: flex; }
.foot__stripe i { display: block; height: 100%; }
.foot__stripe i:nth-child(1) { flex: 2; background: var(--cobalt); }
.foot__stripe i:nth-child(2) { flex: .6; background: var(--bone); }
.foot__stripe i:nth-child(3) { flex: 1; background: var(--rosso); }
.foot__top { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.foot__col h3 { font-family: var(--f-display); font-stretch: 78%; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; color: var(--cobalt-l); margin-bottom: 1rem; }
.foot__col p { color: rgba(241, 235, 221, .78); line-height: 1.8; margin-bottom: 1rem; }
.totop { width: 56px; height: 56px; display: grid; place-items: center; border: 1.5px solid var(--line); border-radius: 50%; transition: background-color .4s, color .4s; }
.totop .ico { transform: rotate(-90deg); }
.totop:hover { background: var(--bone); color: var(--ink); }
.foot__giant {
  margin: clamp(2rem, 6vw, 5rem) -.04em 0; display: flex; justify-content: center; overflow: hidden; white-space: nowrap;
  font-family: var(--f-display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; line-height: .82; letter-spacing: -.035em;
  font-size: clamp(4.2rem, 21.5vw, 24rem); color: transparent; -webkit-text-stroke: 1.5px rgba(241, 235, 221, .34);
}
.foot__giant .ch { transition: color .5s var(--ease), -webkit-text-stroke-color .5s; }
.foot__giant .ch:hover { color: var(--cobalt); -webkit-text-stroke-color: var(--cobalt); }
.foot__legal { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: .86rem; color: var(--smoke); max-width: 70rem; }

/* ---------- Bouton flottant mobile ---------- */
.fab { display: none; }

/* ---------- Visionneuse ---------- */
.lb { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(6, 8, 11, .96); color: var(--bone); }
.lb[open] { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: 3.5rem clamp(.6rem, 3vw, 2rem) 1.5rem; animation: lbin .5s var(--ease); }
.lb::backdrop { background: rgba(6, 8, 11, .8); }
@keyframes lbin { from { opacity: 0; } }
.lb__fig { display: grid; justify-items: center; gap: .9rem; min-height: 0; height: 100%; align-content: center; }
.lb__fig img { max-height: calc(100dvh - 9.5rem); max-height: calc(100vh - 9.5rem); width: auto; max-width: 100%; object-fit: contain; border-radius: 6px; animation: lbimg .6s var(--ease); }
@keyframes lbimg { from { opacity: 0; transform: scale(.96); } }
.lb__fig figcaption { font-family: var(--f-display); font-stretch: 85%; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: .86rem; color: var(--smoke); text-align: center; }
.lb__close { position: absolute; top: 14px; right: 16px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line); }
.lb__close:hover { background: var(--bone); color: var(--ink); }
.lb .round { border-color: var(--line); }
.lb .round:hover { background: var(--bone); color: var(--ink); }

/* ---------- Révélations génériques ---------- */
[hidden] { display: none !important; }
.motion .rv { opacity: 0; transform: translateY(36px); }
.bk__pane.is-active { animation: paneIn .7s var(--ease); }
@keyframes paneIn { from { opacity: 0; transform: translateY(16px); } }
.menu-open .nav { z-index: 65; transform: none; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .nav::before { opacity: 0; }
.menu-open .nav__cta > :not(.burger) { opacity: 0; pointer-events: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav__tel span { display: none; }
  .chip--c { display: none; }
}
@media (max-width: 980px) {
  .nav__links, .nav__cta .btn { display: none; }
  .burger { display: block; }
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3rem; }
  .foot__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gal__grid { columns: 2; }
}
@media (max-width: 899px) {
  :root { --nav-h: 66px; }
  .hero__fore, .hero__meta .mini-gauge, .scrollcue { display: none; }
  .hero__meta { top: calc(var(--nav-h) + 12px); right: auto; left: var(--pad); align-items: flex-start; }
  .hero__stripes { right: 8%; width: 80px; opacity: .8; }
  .hero__row { grid-template-columns: 1fr; gap: 1.6rem; }
  .hero { justify-content: flex-end; padding-top: calc(var(--nav-h) + 90px); }
  .hl { font-size: clamp(3rem, 15.2vw, 8rem); }
  .hl:first-child { -webkit-text-stroke-width: 1.5px; }

  /* Atelier : plus d'épinglage, étapes empilées */
  .story__pin { min-height: 0; padding-top: 3rem; }
  .story__stage { min-height: 0; display: grid; gap: 3.2rem; }
  .step { position: relative; inset: auto; grid-template-columns: 1fr; gap: 1.4rem; align-items: start; }
  .step__fig { order: -1; height: auto; aspect-ratio: 4 / 3; min-height: 0; max-height: none; }
  .story__ticks { display: none; }

  /* Prestations : défilement natif */
  .svc__pin { min-height: 0; padding: 4rem 0 3rem; }
  .svc__hint { display: none; }
  .svc__viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 1rem; scrollbar-width: none; }
  .svc__viewport::-webkit-scrollbar { display: none; }
  .svc__track { padding: 0 var(--pad); scroll-padding: 0 var(--pad); }
  .card { flex-basis: min(80vw, 340px); height: 520px; scroll-snap-align: center; }

  .storico__grid { grid-template-columns: 1fr; }
  .storico__media { padding: 0 0 12% 6%; margin-top: 1rem; }
  .book__grid, .faq__inner, .loc__grid { grid-template-columns: 1fr; }
  .book__intro { position: static; }
  .loc__map { min-height: 380px; }
  .rev__note { text-align: left; margin-left: 0; }

  .fab {
    display: inline-flex; align-items: center; gap: .55rem; position: fixed; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 40;
    padding: .95rem 1.3rem; border-radius: 999px; background: var(--cobalt); color: #fff; font-weight: 600; box-shadow: 0 14px 30px -8px rgba(0, 0, 0, .6);
    transition: transform .5s var(--ease), opacity .4s;
  }
  .fab.is-off { transform: translateY(140%); opacity: 0; }
  .foot { padding-bottom: 90px; }
}
@media (max-width: 640px) {
  .chips { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .ticket__dl { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 2.2rem 1rem; }
  .stat__v b { font-size: clamp(2rem, 11vw, 3rem); }
  .gal__grid { columns: 1; }
  .g--w .g__btn, .g--t .g__btn, .g__btn { aspect-ratio: 4 / 3; }
  .g__cap { transform: none; }
  .foot__top { grid-template-columns: 1fr; }
  .lb[open] { grid-template-columns: minmax(0, 1fr); padding-top: 3.5rem; }
  .lb__nav { position: absolute; bottom: 1rem; z-index: 3; }
  .lb__nav--prev { left: 1rem; } .lb__nav--next { right: 1rem; }
  .hero__actions .btn { width: 100%; }
  .bigphone__out { -webkit-text-stroke-width: 1.5px; }
  .card--cta { padding: 1.5rem; }
}
@media (min-width: 900px) {
  /* Étapes de l'atelier : toutes empilées, seule l'active est visible (piloté par GSAP) */
  .motion .step:not([data-step="0"]) { visibility: hidden; opacity: 0; }
}

/* Sans JavaScript animé : tout reste lisible */
html:not(.motion) .step { position: relative; inset: auto; margin-bottom: 3rem; }
html:not(.motion) .step__fig { height: auto; aspect-ratio: 4 / 3; min-height: 0; max-height: none; }
html:not(.motion) .story__stage { min-height: 0; }
html:not(.motion) .story__pin { min-height: 0; }
html:not(.motion) .story__ticks { display: none; }
html:not(.motion) .loader { display: none; }
html:not(.motion) .svc__pin { min-height: 0; padding: 5rem 0 4rem; }
html:not(.motion) .svc__viewport { overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 1rem; }
html:not(.motion) .card { scroll-snap-align: start; }
html:not(.motion) .rv { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .grain, .flagstrip__in, .spin > svg:first-child, .kb { animation: none !important; }
}
