/* =====================================================================
   A.L.F Sud Autos — direction artistique « Garage de Haute-Provence »
   Bleu de travail, huile ambrée, laque rouge, papier d'atelier, lavande.
   Fil rouge : le voyant (point ambre) + la ligne de caisse (courbe tracée).
   ===================================================================== */

:root {
  --ink: #0a1628;          /* fond principal : bleu de travail, nuit */
  --ink-2: #0f2038;        /* cartes, surfaces */
  --ink-3: #17294a;        /* surfaces relevées */
  --paper: #f1ebdd;        /* fond clair : papier d'atelier */
  --paper-2: #e5dcc7;
  --text: #eef1f6;         /* texte sur fond sombre */
  --muted: #aab6ca;        /* texte secondaire sur fond sombre */
  --amber: #ffb000;        /* accent principal : huile, voyant */
  --amber-2: #ffc93d;
  --lacquer: #d2361f;      /* rouge laque : urgence, dépannage */
  --lav: #a592d1;          /* touche lavande de Provence */
  --ok: #3ddc84;
  --line: rgba(238, 241, 246, 0.14);
  --line-strong: rgba(238, 241, 246, 0.34);

  --f-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gut: clamp(1.1rem, 4.2vw, 4.5rem);
  --sec: clamp(5rem, 11vw, 10rem);
  --cut: clamp(1.8rem, 5.5vw, 5.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: clamp(16px, 2vw, 28px);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-body);
  font-size: clamp(1rem, 0.35vw + 0.94rem, 1.18rem);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
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; cursor: pointer; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
address { font-style: normal; }
::selection { background: var(--amber); color: var(--ink); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 500; background: var(--amber); color: var(--ink); padding: 0.7rem 1rem; font-weight: 700; border-radius: 8px; transition: top 0.2s; }
.skip:focus { top: 1rem; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- Typographie ---------- */
.display {
  font-family: var(--f-display);
  font-stretch: 62%;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: -0.005em;
}
.title { font-size: clamp(2.9rem, 9.4vw, 9rem); max-width: 14ch; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--f-display);
  font-stretch: 125%;
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.4rem;
}
.eyebrow--dark { color: var(--ink); }

/* Voyant (fil rouge) */
.voyant {
  position: relative;
  display: inline-block;
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px 2px rgba(255, 176, 0, 0.6);
  flex: none;
}
.voyant::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--amber);
  animation: ping 2.2s var(--ease) infinite;
}
.eyebrow--dark .voyant { background: var(--ink); box-shadow: none; }
.eyebrow--dark .voyant::after { border-color: var(--ink); }
.voyant--off { background: var(--lacquer); box-shadow: 0 0 10px 2px rgba(210, 54, 31, 0.55); }
.voyant--off::after { border-color: var(--lacquer); }
.voyant--on { background: var(--ok); box-shadow: 0 0 10px 2px rgba(61, 220, 132, 0.55); }
.voyant--on::after { border-color: var(--ok); }
@keyframes ping { 0% { transform: scale(1); opacity: 0.9; } 80%, 100% { transform: scale(3); opacity: 0; } }

/* Mots découpés (split text) */
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.14em 0.02em 0.06em; margin: -0.14em -0.02em -0.06em; }
.si, .sc { display: inline-block; will-change: transform; }

/* Ligne de caisse (fil rouge) */
.bodyline path { fill: none; stroke: var(--amber); stroke-width: 3; stroke-linecap: round; }
.js:not(.reduce) .bodyline path { stroke-dasharray: 1; stroke-dashoffset: 1; }

/* ---------- Boutons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  padding: 1.05em 1.7em;
  border-radius: 999px;
  background: var(--amber);
  color: var(--ink);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.01em;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  will-change: transform;
}
.btn__fill {
  position: absolute;
  inset: -2px;
  background: var(--text);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: translateY(102%);
  transition: transform 0.65s var(--ease), border-radius 0.65s var(--ease);
  z-index: -1;
}
.btn__label, .btn svg { position: relative; transition: transform 0.5s var(--ease); }
.btn:hover .btn__fill, .btn:focus-visible .btn__fill { transform: translateY(0); border-radius: 0; }
.btn:hover svg { transform: translateX(4px); }
.btn--sm { padding: 0.85em 1.3em; font-size: 0.92rem; }
.btn--lg { padding: 1.25em 2em; font-size: 1.05rem; }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn--ghost .btn__fill { background: var(--amber); }
.btn--ghost:hover { color: var(--ink); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark .btn__fill { background: var(--paper); }
.btn--dark:hover { color: var(--ink); }
.btn--outline-dark { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--outline-dark .btn__fill { background: var(--ink); }
.btn--outline-dark:hover { color: var(--paper); }
.link { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.ulink { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size 0.5s var(--ease); padding-bottom: 2px; }
.ulink:hover, .ulink:focus-visible { background-size: 100% 1.5px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.6em 1em;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(10, 22, 40, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.9rem;
  line-height: 1.2;
}
.chip b { color: var(--amber); }
.chip--lg { font-size: 1rem; padding: 0.75em 1.2em; }
.stars { color: var(--amber); letter-spacing: 0.08em; position: relative; white-space: nowrap; }
.stars i { font-style: normal; display: inline-block; width: 0.5em; overflow: hidden; vertical-align: bottom; }
.stars--lg { font-size: 1.6rem; }

/* ---------- Préchargeur : rideau de garage ---------- */
.loader { position: fixed; inset: 0; z-index: 400; pointer-events: all; }
.loader__slats { position: absolute; inset: 0; display: flex; flex-direction: column; }
.loader__slats i {
  flex: 1;
  background: linear-gradient(180deg, #112340 0%, #0a1628 62%, #060f1d 100%);
  box-shadow: inset 0 -3px 0 rgba(255, 176, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  will-change: transform;
}
.loader__core { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; gap: 0.2rem; }
.gauge { overflow: visible; }
.gauge__track, .gauge__fill { fill: none; stroke-width: 7; stroke-linecap: round; }
.gauge__track { stroke: rgba(255, 255, 255, 0.12); }
.gauge__fill { stroke: var(--amber); stroke-dasharray: 100; stroke-dashoffset: 100; filter: drop-shadow(0 0 8px rgba(255, 176, 0, 0.7)); }
.gauge__ticks line { stroke: rgba(255, 255, 255, 0.35); stroke-width: 1.6; }
.gauge__ticks line.is-major { stroke: rgba(255, 255, 255, 0.7); stroke-width: 2.4; }
.gauge__needle path { stroke: var(--lacquer); stroke-width: 3.4; stroke-linecap: round; fill: none; }
.gauge__needle circle { fill: var(--lacquer); }
.loader__count { font-family: var(--f-display); font-stretch: 62%; font-weight: 900; font-size: clamp(3.4rem, 9vw, 5.5rem); line-height: 1; margin-top: -0.6rem; }
.loader__count small { font-size: 0.4em; color: var(--amber); margin-left: 0.15em; }
.loader__word { font-family: var(--f-display); font-stretch: 125%; font-weight: 700; font-size: clamp(0.8rem, 2vw, 1rem); letter-spacing: 0.32em; text-transform: uppercase; margin-top: 0.4rem; }
.loader__word b { color: var(--amber); font-weight: 700; }
.loader__sub { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

/* ---------- Barre de progression, curseur, grain ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 300; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--amber), var(--lacquer)); transform: scaleX(0); transform-origin: 0 50%; }

.cursor { position: fixed; left: 0; top: 0; z-index: 350; pointer-events: none; width: 0; height: 0; display: none; }
.cursor span {
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  border: 1.5px solid var(--amber);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  transition: background 0.3s var(--ease), border-color 0.3s, width 0.4s var(--ease), height 0.4s var(--ease), margin 0.4s var(--ease);
}
.cursor.is-label span { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--amber); }
@media (hover: hover) and (pointer: fine) { .js:not(.reduce) .cursor { display: block; } }

body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 320;
  pointer-events: none;
  opacity: 0.075;
  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='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 0.9s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 17% { transform: translate(-3%, 2%); } 33% { transform: translate(2%, -3%); }
  50% { transform: translate(-2%, -1%); } 67% { transform: translate(3%, 3%); } 83% { transform: translate(-1%, 2%); } 100% { transform: translate(0, 0); }
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: 1rem var(--gut);
  transition: background 0.4s, backdrop-filter 0.4s, padding 0.4s var(--ease);
  will-change: transform;
}
.nav.is-solid { background: rgba(10, 22, 40, 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-block: 0.7rem; box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 0.7rem; margin-right: auto; }
.brand__txt { display: grid; font-family: var(--f-display); font-stretch: 62%; font-weight: 900; font-size: 1.7rem; line-height: 0.9; letter-spacing: 0.02em; }
.brand__txt small { font-stretch: 125%; font-weight: 600; font-size: 0.5rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--amber); margin-top: 0.25rem; }
.nav__links { display: none; gap: 2rem; font-size: 0.95rem; font-weight: 500; }
.nav__links a { position: relative; padding: 0.3rem 0; background: linear-gradient(var(--amber), var(--amber)) 0 100% / 0 2px no-repeat; transition: background-size 0.5s var(--ease), color 0.3s; }
.nav__links a:hover, .nav__links a.is-current { background-size: 100% 2px; color: var(--amber); }
.nav__tel { display: none; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 0.95rem; }
.nav__tel svg { color: var(--amber); }
.nav .btn { display: none; }
.burger { position: relative; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-content: center; gap: 6px; background: rgba(10, 22, 40, 0.5); }
.burger i { display: block; width: 20px; height: 2px; background: var(--text); transition: transform 0.45s var(--ease); }
.burger[aria-expanded="true"] i:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (min-width: 1000px) {
  .nav__links { display: flex; }
  .nav__tel { display: inline-flex; }
  .nav .btn { display: inline-flex; }
  .burger { display: none; }
}
.menu {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  padding: 6rem var(--gut) 3rem;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
}
.menu.is-open { visibility: visible; }
.menu nav { display: grid; }
.menu nav a { display: flex; align-items: baseline; gap: 1rem; font-family: var(--f-display); font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: clamp(3rem, 14vw, 6rem); line-height: 1.02; border-bottom: 1px solid var(--line); padding: 0.25em 0; }
.menu nav a span { font-family: var(--f-body); font-size: 0.9rem; color: var(--amber); font-weight: 600; letter-spacing: 0.1em; }
.menu__tel { font-family: var(--f-display); font-stretch: 75%; font-weight: 800; font-size: 2rem; color: var(--amber); }

.fab {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 180;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.3rem;
  border-radius: 999px;
  background: var(--amber);
  color: var(--ink);
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(255, 176, 0, 0.5);
  animation: fabpulse 2.6s ease-out infinite;
}
@keyframes fabpulse { 0% { box-shadow: 0 10px 30px rgba(0,0,0,.45), 0 0 0 0 rgba(255,176,0,.5); } 70%,100% { box-shadow: 0 10px 30px rgba(0,0,0,.45), 0 0 0 18px rgba(255,176,0,0); } }
@media (min-width: 1000px) { .fab { display: none; } }

/* ---------- 1 · Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; background: var(--ink); isolation: isolate; }
.hero__media { position: absolute; inset: -8% 0; z-index: -3; }
.hero__video { width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 50%; }
.hero__tint { position: absolute; inset: 0; background:
  linear-gradient(95deg, rgba(10, 22, 40, 0.88) 0%, rgba(10, 22, 40, 0.5) 48%, rgba(10, 22, 40, 0.12) 100%),
  linear-gradient(0deg, rgba(10, 22, 40, 0.95) 0%, rgba(10, 22, 40, 0) 38%); }
.hero__tint::after { content: ""; position: absolute; inset: 0; background: #12306a; mix-blend-mode: color; opacity: 0.35; }
.hero__ghost {
  position: absolute;
  right: -3vw;
  bottom: 4vh;
  z-index: -2;
  font-family: var(--f-display);
  font-stretch: 62%;
  font-weight: 900;
  font-size: clamp(16rem, 52vw, 58rem);
  line-height: 0.72;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(255, 255, 255, 0.2);
  pointer-events: none;
  user-select: none;
  will-change: transform;
}
.hero__ghost span { display: block; will-change: transform; }
.hero__line { position: absolute; left: 0; right: 0; bottom: 20vh; width: 100%; height: 40vh; z-index: 1; pointer-events: none; filter: drop-shadow(0 0 10px rgba(255, 176, 0, 0.55)); }
.hero__content { position: relative; z-index: 3; padding: 6rem var(--gut) clamp(5.5rem, 12vh, 9rem); max-width: 1500px; }
.hero__title { font-size: clamp(4rem, min(23vw, 17vh), 17rem); margin: 0.08em 0 0.2em; }
.hero__title .ln { display: block; }
.hero__title .ln--outline { color: var(--amber); }
.hero__lead { max-width: 40rem; font-size: clamp(1.05rem, 1.4vw, 1.32rem); color: #dfe5ef; text-wrap: pretty; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero__bar { position: absolute; z-index: 4; left: var(--gut); right: var(--gut); bottom: 1.6rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem; }
.scrollcue { margin-left: auto; display: none; align-items: center; gap: 0.8rem; font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.scrollcue i { display: block; width: 1px; height: 44px; background: linear-gradient(var(--amber), transparent); transform-origin: 50% 0; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (min-width: 760px) { .scrollcue { display: flex; } }
@media (max-width: 759px) { .hero__content { padding-bottom: 8.5rem; } .hero__bar .chip { font-size: 0.82rem; padding: 0.5em 0.85em; } }

/* ---------- 2 · Marquee ---------- */
.marquee { position: relative; z-index: 5; padding: clamp(2.5rem, 6vw, 5.5rem) 0 clamp(3rem, 7vw, 6rem); margin-top: calc(var(--cut) * -0.7); overflow-x: clip; background: var(--ink); }
.marquee__band { display: flex; overflow: hidden; white-space: nowrap; will-change: transform; }
.marquee__band--amber { background: var(--amber); color: var(--ink); transform: rotate(-2.2deg); padding: 0.45em 0; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45); position: relative; z-index: 2; }
.marquee__band--outline { transform: rotate(1.6deg); margin-top: -0.4rem; padding: 0.4em 0; border-block: 1px solid var(--line-strong); color: var(--text); background: var(--ink-2); }
.marquee__track { display: flex; flex: none; align-items: center; font-family: var(--f-display); font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: clamp(2.2rem, 6.4vw, 6rem); line-height: 1.05; will-change: transform; }
.marquee__band--outline .marquee__track { font-size: clamp(1.4rem, 3.6vw, 3.2rem); color: var(--muted); font-weight: 800; }
.marquee__track span { padding: 0 0.1em; }
.sep { display: inline-block; width: 0.34em; height: 0.34em; background: currentColor; transform: rotate(45deg); margin: 0 0.5em; flex: none; }
.marquee__band--amber .sep { background: var(--ink); }
.marquee__band--outline .sep { background: var(--amber); }

/* ---------- 3 · Story (épinglé) ---------- */
.story { position: relative; background: var(--ink); padding: var(--sec) 0; }
.story__pin { display: grid; gap: 2.5rem; padding: 0 var(--gut); align-items: center; }
.story__rail { display: none; }
.story__left { display: grid; gap: 1.5rem; align-content: start; }
.story .title { max-width: 12ch; margin-bottom: 1.2rem; }
.story__steps { display: grid; gap: 2.4rem; }
.step { border-top: 1px solid var(--line); padding-top: 1.2rem; }
.step__n { display: block; font-size: 4.4rem; color: transparent; -webkit-text-stroke: 1.5px var(--amber); margin-bottom: 0.5rem; }
.step h3 { font-family: var(--f-display); font-stretch: 75%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: 1; margin-bottom: 0.8rem; }
.step p { max-width: 34rem; color: #cdd6e4; }
.story__frame { position: relative; display: grid; gap: 1rem; }
.story__img { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--ink-3); }
.story__img img { width: 100%; height: 100%; object-fit: cover; }
.story__ticket { display: none; }

.story.is-pinned { padding: 0; }
.story.is-pinned .story__pin { min-height: 100svh; grid-template-columns: 5.5rem minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(1.5rem, 4vw, 5rem); padding-block: 6.5rem 3rem; }
.story.is-pinned .story__rail { display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; position: relative; height: min(64vh, 520px); align-self: center; padding-left: 1.6rem; }
.story.is-pinned .story__rail::before { content: ""; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.story__fill { position: absolute; left: 4px; top: 6px; bottom: 6px; width: 2px; background: var(--amber); transform: scaleY(0); transform-origin: 50% 0; box-shadow: 0 0 10px var(--amber); }
.story__rail li { position: relative; display: flex; align-items: center; gap: 0.8rem; font-family: var(--f-display); font-stretch: 125%; font-weight: 600; font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); transition: color 0.4s; }
.story__rail li .voyant { position: absolute; left: -1.6rem; background: var(--ink-3); box-shadow: none; }
.story__rail li .voyant::after { display: none; }
.story__rail li.is-active { color: var(--text); }
.story__rail li.is-active .voyant, .story__rail li.is-done .voyant { background: var(--amber); box-shadow: 0 0 12px 2px rgba(255, 176, 0, 0.7); }
.story.is-pinned .story__steps { display: grid; gap: 0; }
.story.is-pinned .step { grid-area: 1 / 1; border: 0; padding: 0; }
.story.is-pinned .title { font-size: clamp(2.6rem, min(6.4vw, 9.5vh), 7rem); max-width: 14ch; margin-bottom: 0.6rem; }
.story.is-pinned .story__left { gap: 1.1rem; }
.story.is-pinned .step__n { font-size: clamp(4.5rem, min(9vw, 14vh), 8.5rem); line-height: 0.85; }
.story.is-pinned .step h3 { font-size: clamp(1.9rem, min(3.4vw, 5.4vh), 3rem); }
.story.is-pinned .story__frame { display: block; aspect-ratio: 4 / 5; max-height: 74vh; justify-self: stretch; }
.story.is-pinned .story__img { position: absolute; inset: 0; aspect-ratio: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.story.is-pinned .story__ticket { display: block; position: absolute; left: -1.5rem; bottom: 2rem; z-index: 5; background: var(--paper); color: var(--ink); padding: 0.9rem 1.2rem 1rem; border-radius: 6px; transform: rotate(-3deg); box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5); }
.story__ticket small { display: block; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.6; }
.story__ticket b { font-size: 1.5rem; display: block; margin-top: 0.15rem; }
@media (min-width: 960px) {
  .story:not(.is-pinned) .story__pin { grid-template-columns: 1fr 1fr; }
  .story:not(.is-pinned) .story__frame { grid-template-columns: 1fr 1fr; }
}

/* ---------- 4 · Prestations (horizontal) ---------- */
.services { position: relative; background: var(--ink-2); padding: var(--sec) 0 calc(var(--sec) * 0.8); }
.services__pin { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.2rem; }
.services__head { display: grid; gap: 1.4rem; padding: 0 var(--gut); align-items: end; }
.services__head .title { max-width: 12ch; margin-bottom: 0; }
.services__sub { max-width: 26rem; color: var(--muted); }
.services__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 1rem var(--gut) 2rem; }
.services__viewport::-webkit-scrollbar { display: none; }
.services__track { display: flex; gap: clamp(1rem, 2vw, 1.8rem); width: max-content; }
.card {
  position: relative;
  flex: 0 0 min(84vw, 380px);
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--ink);
  border: 1px solid var(--line);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}
.card__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-3); }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--ink) 0%, transparent 55%); }
.card__img--art { display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #1d3a6b, #0c1a31 70%); }
.card__img--art svg { width: 100%; height: 100%; }
.card__img--art path, .card__img--art circle { fill: none; stroke: #9db7e4; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.card__img--art .g-crack { stroke: var(--amber); stroke-width: 3.4; }
.card__img--art .g-impact { fill: var(--amber); stroke: none; }
.card__img--art .g-wiper { stroke: var(--muted); stroke-width: 4; }
.js:not(.reduce) .card__img--art path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js:not(.reduce) .card__img--art .g-impact { opacity: 0; }
.card__body { position: relative; display: flex; flex-direction: column; gap: 0.9rem; padding: 0.4rem 1.5rem 1.5rem; flex: 1; transform: translateZ(30px); }
.card__n { position: absolute; right: 1.2rem; top: -3.6rem; font-size: 5.2rem; color: transparent; -webkit-text-stroke: 1.5px var(--amber); z-index: 2; }
.card h3 { font-size: clamp(2rem, 2.6vw, 2.7rem); padding-right: 3.5rem; }
.card p { color: #c5cfdf; font-size: 0.98rem; line-height: 1.55; }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tags li { padding: 0.3em 0.8em; border-radius: 999px; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.04em; border: 1px solid var(--line-strong); color: var(--muted); }
.card__foot { margin-top: auto; padding-top: 0.6rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); }
.price { font-family: var(--f-display); font-stretch: 75%; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: 1.05rem; color: var(--amber); }
.price--tel { font-size: 1.3rem; }
.card__cta { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 0.92rem; padding: 0.7em 1.1em; border-radius: 999px; background: var(--text); color: var(--ink); transition: background 0.3s, transform 0.4s var(--ease); }
.card__cta:hover { background: var(--amber); transform: translateX(3px); }
.card--alert { background: var(--lacquer); border-color: transparent; }
.card--alert .card__img::after { background: linear-gradient(0deg, var(--lacquer) 0%, transparent 55%); }
.card--alert p { color: #ffe9e4; }
.card--alert .tags li { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.card--alert .price { color: #fff; }
.card--alert .card__foot { border-color: rgba(255, 255, 255, 0.35); }
.card--alert .card__n { -webkit-text-stroke-color: #fff; }
.card__glare { position: absolute; inset: -60%; z-index: 4; pointer-events: none; opacity: 0; background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0) 24%); transition: opacity 0.4s; }
.card.is-hover .card__glare { opacity: 1; }
.services__bar { display: none; margin: 0 var(--gut); height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.services__bar i { display: block; height: 100%; background: var(--amber); transform: scaleX(0); transform-origin: 0 50%; }
.services.is-pinned { padding: 0; }
.services.is-pinned .services__pin { min-height: 100svh; align-content: center; padding-block: 6rem 2.5rem; gap: 1.6rem; overflow: hidden; }
.services.is-pinned .services__head { grid-template-columns: 1fr auto; }
.services.is-pinned .services__head .title { font-size: clamp(2.6rem, 6.4vw, 6.4rem); max-width: none; }
.services.is-pinned .services__viewport { overflow: visible; scroll-snap-type: none; padding: 1rem var(--gut) 1rem; }
.services.is-pinned .card { flex-basis: clamp(300px, 27vw, 420px); }
.services.is-pinned .services__bar { display: block; }

/* ---------- 5 · Tableau de bord ---------- */
.dash { position: relative; background: var(--ink); padding: calc(var(--sec) + var(--cut)) var(--gut) var(--sec); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; background-position: -1px -1px; }
.dash::before { content: ""; position: absolute; left: 0; right: 0; top: calc(var(--cut) * -1 + 1px); height: var(--cut); background: var(--ink); clip-path: polygon(0 100%, 100% 0, 100% 100%); z-index: 2; }
.dash::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 40%, rgba(10, 22, 40, 0) 0%, var(--ink) 75%); pointer-events: none; }
.dash__inner { position: relative; z-index: 3; max-width: 1400px; margin: 0 auto; }
.dash__head .title { max-width: 13ch; }
.dials { display: grid; gap: 3.2rem; margin-top: clamp(2.5rem, 6vw, 5rem); align-items: end; }
.dial { position: relative; display: grid; justify-items: center; gap: 0.6rem; text-align: center; }
.dial svg { width: min(78vw, 340px); height: auto; overflow: visible; }
.dial--big svg { width: min(88vw, 440px); }
.dial__track, .dial__val { fill: none; stroke-width: 9; stroke-linecap: round; transform-box: fill-box; transform-origin: center; transform: rotate(135deg); }
.dial__track { stroke: rgba(255, 255, 255, 0.1); }
.dial__val { stroke: var(--amber); filter: drop-shadow(0 0 10px rgba(255, 176, 0, 0.55)); }
.dial__ticks line { stroke: rgba(255, 255, 255, 0.28); stroke-width: 1.4; }
.dial__ticks line.is-major { stroke: rgba(255, 255, 255, 0.6); stroke-width: 2.2; }
.dial__txt { position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 1; display: grid; place-content: center; justify-items: center; }
.dial__txt b { font-size: clamp(4.6rem, 12vw, 6.4rem); line-height: 0.9; display: flex; align-items: baseline; }
.dial--big .dial__txt b { font-size: clamp(5.8rem, 15vw, 8.6rem); }
.dial__txt b em { font-style: normal; font-size: 0.4em; color: var(--amber); margin-left: 0.08em; }
.dial__txt small { font-family: var(--f-display); font-stretch: 125%; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.7rem; color: var(--amber); margin-top: 0.5rem; }
.dial figcaption { color: var(--muted); font-size: 0.95rem; max-width: 16rem; }
.dial figcaption strong { color: var(--text); }
.mini { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: clamp(3rem, 7vw, 6rem); border-top: 1px solid var(--line-strong); }
.mini li { padding: 1.6rem 0.2rem 0.4rem; display: grid; gap: 0.3rem; }
.mini b { font-size: clamp(3rem, 7vw, 5.4rem); display: flex; align-items: baseline; gap: 0.05em; }
.mini b em { font-style: normal; font-size: 0.4em; color: var(--amber); }
.mini span:last-child { color: var(--muted); font-size: 0.92rem; }
@media (min-width: 900px) {
  .dials { grid-template-columns: 1fr 1.25fr 1fr; }
  .mini { grid-template-columns: repeat(4, 1fr); }
  .mini li { border-left: 1px solid var(--line); padding-left: 1.4rem; }
  .mini li:first-child { border-left: 0; padding-left: 0.2rem; }
}

/* ---------- 6 · Dépannage ---------- */
.depannage { position: relative; background: var(--lacquer); color: #fff; padding: calc(var(--sec) * 0.9) var(--gut) var(--sec); }
.depannage::before { content: ""; position: absolute; left: 0; right: 0; top: calc(var(--cut) * -1 + 1px); height: var(--cut); background: var(--lacquer); clip-path: polygon(0 0, 100% 100%, 0 100%); z-index: 2; }
.hazard { position: absolute; left: 0; right: 0; top: 0; height: 18px; background: repeating-linear-gradient(-45deg, var(--amber) 0 18px, var(--ink) 18px 36px); }
.depannage__grid { max-width: 1400px; margin: 0 auto; display: grid; gap: 3rem; align-items: center; }
.depannage .title { color: #fff; max-width: 9ch; font-size: clamp(3.4rem, 11vw, 10.5rem); margin-bottom: 1.5rem; }
.depannage .eyebrow--dark { color: #fff; }
.depannage .eyebrow--dark .voyant { background: #fff; }
.depannage .eyebrow--dark .voyant::after { border-color: #fff; }
.depannage__lead { max-width: 32rem; font-size: clamp(1.08rem, 1.4vw, 1.3rem); color: #fff; }
.bigtel { display: inline-block; margin: 2rem 0 2.4rem; font-family: var(--f-display); font-stretch: 62%; font-weight: 900; font-size: clamp(3rem, 9vw, 7.4rem); line-height: 1; letter-spacing: 0.01em; color: #fff; background: linear-gradient(var(--amber), var(--amber)) 0 100% / 100% 6px no-repeat; padding-bottom: 0.08em; transition: color 0.35s; }
.bigtel:hover { color: var(--amber-2); }
.quote { border-left: 3px solid #fff; padding: 0.2rem 0 0.2rem 1.2rem; max-width: 31rem; }
.quote p { font-size: 1.1rem; font-style: italic; }
.quote footer { margin-top: 0.6rem; font-size: 0.82rem; letter-spacing: 0.06em; opacity: 0.85; }
.depannage__media { position: relative; }
.depannage__photo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 6; box-shadow: 0 40px 90px rgba(60, 8, 0, 0.55); transform: rotate(2deg); }
.depannage__photo img { width: 100%; height: 100%; object-fit: cover; }
.depannage__tag { position: absolute; left: -0.5rem; bottom: 2rem; font-size: clamp(3rem, 8vw, 6rem); background: var(--ink); color: var(--amber); padding: 0.12em 0.3em 0.05em; transform: rotate(-4deg); box-shadow: 8px 8px 0 var(--amber); }
.beacon { position: absolute; right: -1rem; top: -2.2rem; width: 5.6rem; height: 5.6rem; z-index: 4; }
.beacon::before { content: ""; position: absolute; inset: 1.1rem; border-radius: 50%; background: var(--amber); box-shadow: 0 0 40px 10px rgba(255, 176, 0, 0.8); }
.beacon i { position: absolute; inset: -2.2rem; border-radius: 50%; background: conic-gradient(from 0deg, rgba(255, 201, 61, 0.95), rgba(255, 201, 61, 0) 22%, rgba(255, 201, 61, 0) 50%, rgba(255, 201, 61, 0.95) 50%, rgba(255, 201, 61, 0) 72%); filter: blur(8px); animation: spin 2.2s linear infinite; mix-blend-mode: screen; }
@keyframes spin { to { transform: rotate(360deg); } }
.depannage__grid > * { min-width: 0; }
@media (min-width: 960px) { .depannage__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 5rem; } }

/* ---------- 7 · Engagements ---------- */
.engage { position: relative; background: var(--paper); color: var(--ink); padding: calc(var(--sec) + var(--cut) * 0.5) var(--gut) var(--sec); }
.engage::before { content: ""; position: absolute; left: 0; right: 0; top: calc(var(--cut) * -1 + 1px); height: var(--cut); background: var(--paper); clip-path: polygon(0 100%, 100% 0, 100% 100%); z-index: 2; }
.engage__inner { position: relative; max-width: 1400px; margin: 0 auto; }
.engage .title { max-width: 20ch; color: var(--ink); font-size: clamp(2.8rem, 8vw, 7.6rem); }
.stamp { position: absolute; right: 0; top: -1rem; width: clamp(110px, 15vw, 210px); aspect-ratio: 1; display: grid; place-items: center; color: var(--lacquer); }
.stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.stamp text { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: 14px; fill: currentColor; }
.stamp b { font-size: clamp(3rem, 6vw, 5.6rem); display: flex; align-items: baseline; }
.stamp b small { font-size: 0.32em; margin-left: 0.1em; }
.engage__grid { display: grid; gap: 1px; margin-top: clamp(2.5rem, 6vw, 5rem); background: rgba(10, 22, 40, 0.18); border: 1px solid rgba(10, 22, 40, 0.18); border-radius: var(--radius); overflow: hidden; }
.engage__item { position: relative; background: var(--paper); padding: 2rem 1.8rem 2.2rem; transition: background 0.4s; }
.engage__item:hover { background: #fbf7ee; }
.engage__item svg { width: 54px; height: 54px; margin-bottom: 1.4rem; overflow: visible; }
.engage__item svg path, .engage__item svg circle { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.engage__item svg path:last-child { stroke: var(--lacquer); }
.js:not(.reduce) .engage__item svg path, .js:not(.reduce) .engage__item svg circle { stroke-dasharray: 1; stroke-dashoffset: 1; }
.engage__item h3 { font-family: var(--f-display); font-stretch: 75%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1; margin-bottom: 0.7rem; }
.engage__item p { color: #3c4a60; font-size: 0.98rem; }
@media (min-width: 700px) { .engage__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .engage__grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 8 · Galerie ---------- */
.gallery { position: relative; background: var(--ink); padding: var(--sec) var(--gut); }
.gallery__head { max-width: 1400px; margin: 0 auto clamp(2rem, 5vw, 4rem); }
.gallery__head .title { max-width: 12ch; }
.mosaic { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(150px, 42vw, 260px); gap: clamp(8px, 1.4vw, 18px); perspective: 1200px; }
.tile { position: relative; overflow: hidden; border-radius: clamp(12px, 1.6vw, 22px); background: var(--ink-3); transform-style: preserve-3d; will-change: transform; }
.tile img { width: 100%; height: 100%; object-fit: cover; scale: 1; transition: scale 1.1s var(--ease); }
.tile:hover img { scale: 1.1; }
.tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.4rem 1.1rem 1rem; background: linear-gradient(0deg, rgba(10, 22, 40, 0.9), transparent); display: flex; overflow: hidden; }
.tile figcaption span { display: inline-block; font-family: var(--f-display); font-stretch: 75%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.1rem, 2vw, 1.6rem); letter-spacing: 0.02em; transform: translateY(130%); transition: transform 0.6s var(--ease); }
.tile:hover figcaption span, .tile:focus-within figcaption span { transform: translateY(0); }
@media (hover: none) { .tile figcaption span { transform: none; } }
.t1 { grid-column: 1 / -1; } .t2 { grid-row: span 2; }
@media (min-width: 860px) {
  .mosaic { grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(70px, 8.6vw, 124px); }
  .t1 { grid-column: 1 / 8; grid-row: 1 / 5; } .t2 { grid-column: 8 / 13; grid-row: 1 / 7; }
  .t3 { grid-column: 1 / 5; grid-row: 5 / 9; } .t4 { grid-column: 5 / 8; grid-row: 5 / 9; }
  .t5 { grid-column: 8 / 13; grid-row: 7 / 9; } .t6 { grid-column: 1 / 6; grid-row: 9 / 13; }
  .t7 { grid-column: 6 / 9; grid-row: 9 / 13; } .t8 { grid-column: 9 / 13; grid-row: 9 / 13; }
}

/* ---------- 9 · Avis ---------- */
.reviews { position: relative; background: var(--ink-2); padding: var(--sec) 0; overflow: hidden; }
.reviews__head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; padding: 0 var(--gut); margin-bottom: clamp(2rem, 5vw, 4rem); }
.reviews__head .title { max-width: 10ch; margin: 0; }
.reviews__nav { display: flex; gap: 0.6rem; }
.round { width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.4s var(--ease); }
.round:hover { background: var(--amber); color: var(--ink); border-color: var(--amber); transform: scale(1.06); }
.reviews__track { display: flex; gap: clamp(1rem, 2vw, 1.6rem); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0.5rem var(--gut) 1.5rem; cursor: grab; }
.reviews__track::-webkit-scrollbar { display: none; }
.reviews__track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.rev { flex: 0 0 min(86vw, 470px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 1.2rem; padding: clamp(1.5rem, 3vw, 2.2rem); border-radius: var(--radius); background: var(--ink); border: 1px solid var(--line); position: relative; user-select: none; }
.rev blockquote { font-size: clamp(1.02rem, 1.2vw, 1.15rem); line-height: 1.65; color: #e3e9f3; }
.rev blockquote::before { content: "«"; display: block; font-family: var(--f-display); font-stretch: 62%; font-weight: 900; font-size: 5rem; line-height: 0.6; color: var(--amber); margin-bottom: 0.5rem; }
.rev footer { margin-top: auto; display: grid; gap: 0.1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.rev footer b { font-weight: 700; }
.rev footer span { color: var(--muted); font-size: 0.85rem; }
.rev--score { background: var(--amber); color: var(--ink); justify-content: center; border: 0; }
.rev--score > b { font-size: clamp(7rem, 14vw, 10rem); line-height: 0.8; }
.rev--score .stars { color: var(--ink); }
.rev--score p { font-weight: 700; font-size: 1.15rem; }
.mentions { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.mentions li { padding: 0.3em 0.8em; border-radius: 999px; border: 1.5px solid var(--ink); font-weight: 600; font-size: 0.85rem; }
.rev--cta { background: transparent; border: 1.5px dashed var(--line-strong); justify-content: center; align-items: flex-start; }
.rev--cta .display { font-size: clamp(2.6rem, 5vw, 4rem); }
.rev--cta p:nth-of-type(2) { color: var(--muted); }
.reviews__bar { margin: 0.5rem var(--gut) 0; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.reviews__bar i { display: block; height: 100%; width: 100%; background: var(--amber); transform: scaleX(0.2); transform-origin: 0 50%; }

/* ---------- 10 · Appel à l'action ---------- */
.cta { position: relative; background: var(--amber); color: var(--ink); padding: calc(var(--sec) + var(--cut) * 0.4) var(--gut) var(--sec); overflow: clip; }
.cta::before { content: ""; position: absolute; left: 0; right: 0; top: calc(var(--cut) * -1 + 1px); height: var(--cut); background: var(--amber); clip-path: polygon(0 0, 100% 100%, 0 100%); z-index: 2; }
.cta::after { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(-45deg, rgba(10, 22, 40, 0.07) 0 2px, transparent 2px 22px); pointer-events: none; }
.cta__inner { position: relative; z-index: 3; max-width: 1400px; margin: 0 auto; }
.cta__q { font-size: clamp(2.2rem, 7vw, 6.4rem); max-width: 16ch; margin-bottom: clamp(1.5rem, 4vw, 3rem); }
.cta__tel { display: block; width: fit-content; max-width: 100%; font-size: clamp(3rem, 14.5vw, 15.5rem); line-height: 0.95; white-space: nowrap; }
.cta__tel > span { position: relative; display: block; color: var(--ink); }
.cta__tel > span::after { content: attr(data-text); position: absolute; inset: 0; color: var(--paper); background: var(--ink); clip-path: inset(0 100% 0 0); transition: clip-path 0.7s var(--ease); }
.cta__tel:hover > span::after, .cta__tel:focus-visible > span::after { clip-path: inset(0 0 0 0); }
.cta__sub { margin-top: clamp(1.5rem, 3vw, 2.4rem); max-width: 40rem; font-size: clamp(1.05rem, 1.4vw, 1.3rem); font-weight: 500; }
.cta__row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

/* ---------- 11 · Réservation ---------- */
.book { position: relative; background: var(--paper); color: var(--ink); padding: var(--sec) var(--gut); }
.book__grid { max-width: 1400px; margin: 0 auto; display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.book .title { max-width: 9ch; font-size: clamp(3rem, 8.6vw, 8rem); }
.book__lead { max-width: 30rem; margin: 1.6rem 0 2rem; font-size: 1.1rem; color: #26364d; }
.how { display: grid; gap: 0.9rem; max-width: 30rem; }
.how li { display: flex; align-items: center; gap: 1rem; }
.how b { flex: none; width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--amber); font-family: var(--f-display); font-weight: 800; }
.book__note { margin-top: 2rem; padding: 1rem 1.2rem; border-left: 4px solid var(--lacquer); background: rgba(210, 54, 31, 0.08); max-width: 30rem; font-size: 0.98rem; }
.book__note a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.ticket { position: relative; background: #fffdf8; border-radius: 14px; box-shadow: 0 2px 0 rgba(10, 22, 40, 0.06), 0 40px 80px -20px rgba(10, 22, 40, 0.35); padding: 0 clamp(1.2rem, 3vw, 2.2rem) 1.6rem; }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 3.6rem; width: 30px; height: 30px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 3px 6px rgba(10, 22, 40, 0.12); }
.ticket::before { left: -15px; } .ticket::after { right: -15px; }
.ticket__head { display: flex; justify-content: space-between; gap: 1rem; padding: 1.3rem 0 1.1rem; margin: 0 0 0.9rem; border-bottom: 2px dashed rgba(10, 22, 40, 0.28); font-family: var(--f-display); font-stretch: 125%; font-weight: 700; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; }
.ticket__head span:last-child { color: var(--lacquer); }
.dots { display: flex; justify-content: space-between; gap: 0.4rem; margin: 1.2rem 0 1.4rem; counter-reset: s; }
.dots li { flex: 1; display: grid; justify-items: center; gap: 0.4rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #8791a2; position: relative; }
.dots li::before { content: ""; position: absolute; top: 14px; right: 50%; width: 100%; height: 2px; background: #d9d4c6; }
.dots li:first-child::before { display: none; }
.dots li i { position: relative; z-index: 1; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-family: var(--f-display); font-weight: 800; background: #e8e3d4; color: #6c7686; transition: background 0.4s, color 0.4s, transform 0.5s var(--ease); }
@media (max-width: 519px) { .dots li { font-size: 0.56rem; letter-spacing: 0.02em; } }
.dots li.is-active { color: var(--ink); }
.dots li.is-active i { background: var(--amber); color: var(--ink); transform: scale(1.18); box-shadow: 0 0 0 5px rgba(255, 176, 0, 0.25); }
.dots li.is-done i { background: var(--ink); color: var(--amber); }
.dots li.is-done::before, .dots li.is-active::before { background: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.panel { border: 0; padding: 0; margin: 0; min-width: 0; }
.panel[hidden] { display: none; }
.panel legend { font-family: var(--f-display); font-stretch: 75%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.05; margin-bottom: 1.1rem; padding: 0; }
.chips { display: grid; grid-template-columns: 1fr; gap: 0.55rem; }
@media (min-width: 520px) { .chips { grid-template-columns: 1fr 1fr; } }
.chip.chip { /* surcharge de la pastille générique dans le formulaire */ }
.ticket .chip { position: relative; display: block; padding: 0; border: 0; border-radius: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.ticket .chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.ticket .chip span { display: flex; align-items: center; gap: 0.6rem; height: 100%; padding: 0.85rem 1rem; border: 1.5px solid rgba(10, 22, 40, 0.2); border-radius: 12px; font-weight: 600; font-size: 0.95rem; line-height: 1.25; transition: background 0.25s, border-color 0.25s, transform 0.4s var(--ease); background: #fff; }
.ticket .chip span em { font-style: normal; font-weight: 400; color: #6c7686; font-size: 0.85em; }
.ticket .chip span::before { content: ""; flex: none; width: 1.05rem; height: 1.05rem; border-radius: 50%; border: 2px solid rgba(10, 22, 40, 0.3); transition: background 0.25s, border-color 0.25s, box-shadow 0.25s; }
.ticket .chip:hover span { border-color: var(--ink); transform: translateY(-2px); }
.ticket .chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.ticket .chip input:checked + span em { color: #c6cfdd; }
.ticket .chip input:checked + span::before { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 0 3px rgba(255, 176, 0, 0.3); }
.ticket .chip input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }

.days { display: flex; gap: 0.5rem; overflow-x: auto; padding: 0.3rem 0.1rem 0.8rem; scrollbar-width: thin; scroll-snap-type: x proximity; }
.day { position: relative; flex: none; scroll-snap-align: start; }
.day input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.day span { display: grid; justify-items: center; min-width: 4.3rem; padding: 0.7rem 0.4rem; border: 1.5px solid rgba(10, 22, 40, 0.2); border-radius: 12px; background: #fff; transition: background 0.25s, border-color 0.25s, transform 0.4s var(--ease); }
.day small { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #6c7686; }
.day b { font-family: var(--f-display); font-stretch: 75%; font-weight: 800; font-size: 1.8rem; line-height: 1.05; }
.day em { font-style: normal; font-size: 0.7rem; color: #6c7686; }
.day:hover span { border-color: var(--ink); transform: translateY(-2px); }
.day input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.day input:checked + span small, .day input:checked + span em { color: var(--amber); }
.day input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.day.is-off span { background: transparent; border-style: dashed; opacity: 0.45; }
.day.is-off input { cursor: not-allowed; }
.slots__label { margin: 0.4rem 0 0.7rem; font-weight: 600; font-size: 0.95rem; }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.45rem; }
@media (min-width: 520px) { .slots { grid-template-columns: repeat(5, 1fr); } }
.slot { position: relative; }
.slot input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.slot span { display: block; text-align: center; padding: 0.7rem 0.2rem; border: 1.5px solid rgba(10, 22, 40, 0.2); border-radius: 10px; background: #fff; font-weight: 700; font-variant-numeric: tabular-nums; transition: background 0.25s, border-color 0.25s, transform 0.4s var(--ease); }
.slot:hover span { border-color: var(--ink); }
.slot input:checked + span { background: var(--amber); border-color: var(--ink); color: var(--ink); transform: scale(1.04); }
.slot input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.slot.is-off span { opacity: 0.35; text-decoration: line-through; background: transparent; border-style: dashed; }
.slot.is-off input { cursor: not-allowed; }
.hint { margin-top: 0.9rem; font-size: 0.85rem; color: #5a677c; }
.fields { display: grid; gap: 0.9rem; grid-template-columns: 1fr; margin-bottom: 1rem; }
@media (min-width: 560px) { .fields { grid-template-columns: 1fr 1fr; } .field--wide { grid-column: 1 / -1; } }
.field { display: grid; gap: 0.3rem; }
.field > span { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #3c4a60; }
.field > span em { font-style: normal; font-weight: 400; text-transform: none; letter-spacing: 0; color: #7a8598; }
.field input, .field textarea { width: 100%; font: inherit; padding: 0.8rem 0.9rem; border: 1.5px solid rgba(10, 22, 40, 0.22); border-radius: 10px; background: #fff; color: var(--ink); transition: border-color 0.25s, box-shadow 0.25s; }
.field textarea { resize: vertical; min-height: 5.2rem; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(255, 176, 0, 0.4); }
.field.is-invalid input { border-color: var(--lacquer); box-shadow: 0 0 0 4px rgba(210, 54, 31, 0.15); }
.check { display: flex; align-items: flex-start; gap: 0.7rem; margin-top: 0.7rem; font-size: 0.9rem; cursor: pointer; }
.check input { flex: none; width: 1.2rem; height: 1.2rem; margin-top: 0.15rem; accent-color: var(--ink); }
.check em { font-style: normal; color: #6c7686; }
.check.is-invalid { color: var(--lacquer); }
.error { margin-top: 1rem; padding: 0.8rem 1rem; border-radius: 10px; background: rgba(210, 54, 31, 0.1); color: #8f1f0e; font-weight: 600; font-size: 0.95rem; }
.error[hidden] { display: none; }
.ticket__nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; }
.ticket__nav .btn { margin-left: auto; background: var(--ink); color: #fff; }
.ticket__nav .btn .btn__fill { background: var(--amber); }
.ticket__nav .btn:hover { color: var(--ink); }
.ticket__nav .btn[disabled] { opacity: 0.45; pointer-events: none; }
.ticket__perf { height: 34px; margin: 1.6rem -0.4rem -0.6rem; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 5px, var(--ink) 5px 6px, transparent 6px 11px, var(--ink) 11px 14px, transparent 14px 17px); opacity: 0.85; mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
#done { text-align: center; }
.done__icon { width: 84px; height: 84px; margin: 0.4rem auto 1rem; color: var(--ink); }
.done__icon circle, .done__icon path { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.done__icon path { stroke: var(--lacquer); }
#done h3 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
#done > p { margin: 0.8rem auto 1.2rem; max-width: 28rem; color: #26364d; }
.recap { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1.2rem; text-align: left; max-width: 26rem; margin: 0 auto 1.4rem; padding: 1.1rem 1.2rem; border-radius: 12px; background: #f4efe2; font-size: 0.95rem; }
.recap dt { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #6c7686; padding-top: 0.15rem; }
.recap dd { font-weight: 600; }
.done__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.btn--paper { background: var(--ink); color: #fff; }
.btn--paper .btn__fill { background: var(--amber); }
.btn--paper:hover { color: var(--ink); }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--line .btn__fill { background: var(--ink); }
.btn--line:hover { color: #fff; }
.book__grid > * { min-width: 0; }
@media (min-width: 1000px) { .book__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } .book__intro { position: sticky; top: 7rem; } }

/* ---------- 12 · Nous trouver ---------- */
.contact { position: relative; background: var(--ink); padding: var(--sec) var(--gut); }
.contact__grid { max-width: 1400px; margin: 0 auto; display: grid; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.contact .title { max-width: 10ch; font-size: clamp(2.8rem, 7.4vw, 6.8rem); }
.addr { display: grid; margin: 1.6rem 0 1rem; font-size: 1.2rem; font-weight: 600; line-height: 1.35; }
.addr span:first-child { color: var(--amber); }
.contact__lines { margin-bottom: 1.4rem; font-size: 1.1rem; }
.hours { width: 100%; max-width: 30rem; margin: 1.4rem 0 1rem; border-collapse: collapse; font-size: 1rem; }
.hours tr { border-bottom: 1px solid var(--line); }
.hours th, .hours td { padding: 0.65rem 0.4rem; text-align: left; font-weight: 500; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }
.hours tr.is-closed td { opacity: 0.7; }
.hours tr.is-today { background: linear-gradient(90deg, rgba(255, 176, 0, 0.16), transparent); box-shadow: inset 3px 0 0 var(--amber); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--amber); font-weight: 700; }
.access { color: var(--muted); font-size: 0.92rem; max-width: 30rem; }
.contact__btns { margin-top: 1.6rem; }
.mapframe { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong); aspect-ratio: 4 / 5; min-height: 360px; box-shadow: 14px 14px 0 var(--amber); background: var(--ink-3); }
.mapframe iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(0.75) contrast(1.05); }
.mapframe__open { position: absolute; left: 1rem; bottom: 1rem; z-index: 2; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1.1rem; background: var(--ink); color: #fff; border-radius: 999px; font-weight: 700; font-size: 0.92rem; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4); transition: background 0.3s, color 0.3s, transform 0.4s var(--ease); }
.mapframe__open:hover { background: var(--amber); color: var(--ink); transform: translateY(-3px); }
.coords { margin-top: 1.4rem; font-family: var(--f-display); font-stretch: 125%; font-weight: 600; font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); text-align: right; }
.contact__grid > * { min-width: 0; }
@media (min-width: 960px) { .contact__grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); } .mapframe { aspect-ratio: 1 / 1.05; } }

/* ---------- 13 · Footer ---------- */
.footer { position: relative; background: var(--ink-2); padding: clamp(3.5rem, 7vw, 6rem) var(--gut) 1.4rem; overflow: hidden; }
.footer__top { position: relative; max-width: 1400px; margin: 0 auto; display: grid; gap: 2.2rem; grid-template-columns: 1fr 1fr; }
.footer__col { display: grid; gap: 0.55rem; align-content: start; font-size: 0.98rem; }
.footer__col h3 { font-family: var(--f-display); font-stretch: 125%; font-weight: 600; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--amber); margin-bottom: 0.4rem; }
.footer__col a, .footer__col span { width: fit-content; color: #d6deeb; }
.totop { grid-column: 1 / -1; justify-self: start; width: 72px; height: 72px; border-radius: 50%; background: var(--amber); color: var(--ink); display: grid; place-items: center; }
@media (min-width: 860px) { .footer__top { grid-template-columns: 1.3fr 1fr 1fr auto; } .totop { grid-column: auto; justify-self: end; } }
.footer__giant { max-width: 100%; margin: clamp(2.5rem, 6vw, 5rem) auto 0; display: flex; flex-direction: column; align-items: center; font-family: var(--f-display); font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: clamp(5rem, 19vw, 22rem); line-height: 0.84; letter-spacing: -0.01em; user-select: none; white-space: nowrap; }
.footer__giant .outline { color: transparent; -webkit-text-stroke: 2px var(--amber); }
.footer__legal { max-width: 1400px; margin: clamp(1.5rem, 3vw, 2.4rem) auto 0; padding-top: 1.2rem; border-top: 1px solid var(--line); display: grid; gap: 0.8rem; color: var(--muted); font-size: 0.85rem; }
.footer__legal summary { cursor: pointer; width: fit-content; color: #d6deeb; font-weight: 600; }
.footer__legal details p { margin-top: 0.7rem; max-width: 56rem; line-height: 1.6; }
@media (max-width: 999px) { .footer { padding-bottom: 5.5rem; } }

/* ---------- Mouvement réduit ---------- */
.reduce *, .reduce *::before, .reduce *::after { animation: none !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
.reduce .marquee__track { flex-wrap: wrap; }
.reduce .loader { display: none; }
.reduce body::after { display: none; }
@media (prefers-reduced-motion: reduce) {
  body::after, .fab, .voyant::after, .beacon i, .stamp svg, .scrollcue i { animation: none !important; }
}
