/* ==========================================================================
   L'OR LORRAIN — feuille de style
   Direction artistique : « Porte bleue de Nancy »
   - Bleu roi de la devanture + or du poinçon + ivoire du bordereau
   - Fil rouge : le POINÇON (octogone / cartouche) et l'ARCHE de la porte
   - Clin d'œil à l'École de Nancy : lignes en « coup de fouet », chardon lorrain
   Palette (rôles) :
     --nuit    #060924  fond principal
     --nuit2   #0b1040  fond secondaire
     --bleu    #1a28a6  bleu de la devanture (accent froid)
     --or      #d9b04a  accent principal (titres, boutons)
     --or-clair #f3dc8e survol / reflets
     --ivoire  #f5eedc  texte sur fond sombre, fond « papier »
     --encre   #0e1238  texte sur fond clair
   Typographies : Fraunces (titres, très contrastée) + Manrope (texte)
   ========================================================================== */

:root {
  --nuit: #060924;
  --nuit2: #0b1040;
  --bleu: #1a28a6;
  --bleu2: #3a4cf0;
  --or: #d9b04a;
  --or-clair: #f3dc8e;
  --or-fonce: #a67c1f;
  --ivoire: #f5eedc;
  --encre: #0e1238;
  --cuivre: #c9743f;

  --f-title: 'Fraunces', 'Iowan Old Style', 'Times New Roman', serif;
  --f-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --gut: clamp(1.25rem, 4.2vw, 4.5rem);
  --maxw: 1380px;
  --octo: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--nuit);
  color: var(--ivoire);
  font-family: var(--f-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.125rem);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* Grain léger (statique, rasterisé une seule fois) */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 9000; pointer-events: none; opacity: .07;
  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 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img, video, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, figure, blockquote, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--or-clair); outline-offset: 4px; border-radius: 4px; }
::selection { background: var(--or); color: var(--encre); }

.skip { position: fixed; left: 1rem; top: -4rem; z-index: 10001; background: var(--or); color: var(--encre); padding: .8rem 1.2rem; border-radius: 999px; font-weight: 700; transition: top .3s; }
.skip:focus { top: 1rem; }
.container { width: min(100% - var(--gut) * 2, var(--maxw)); margin-inline: auto; }

/* ---------- Titres ---------- */
h2 {
  font-family: var(--f-title);
  font-weight: 600;
  font-size: clamp(2.5rem, 7vw, 6.8rem);
  line-height: .98;
  letter-spacing: -.025em;
  font-variation-settings: 'opsz' 144;
}
h2 em, h1 em { font-style: italic; font-weight: 300; color: var(--or); }
h3 { font-family: var(--f-title); font-weight: 600; letter-spacing: -.01em; font-variation-settings: 'opsz' 72; }
.ink { color: var(--encre); }
.ink em { color: var(--bleu); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--or); margin-bottom: 1.4rem;
}
.eyebrow--ink { color: var(--bleu); }
.eyebrow__stamp { width: 14px; height: 14px; background: currentColor; clip-path: var(--octo); flex: none; }

/* Split text (lettres / mots qui montent derrière un masque) */
.js [data-split]:not(.is-split), .js .hero__title:not(.is-split) { visibility: hidden; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em .02em .12em; margin: -.06em -.02em -.12em; }
.wi, .ch { display: inline-block; will-change: transform; }
.w.is-em, .w.is-em .wi { font-style: italic; font-weight: 300; color: var(--or); }
.ink .w.is-em, .ink .w.is-em .wi { color: var(--bleu); }
.hero__line { display: block; overflow: hidden; padding-bottom: .05em; }

/* Révélations génériques */
.js [data-reveal] { opacity: 0; }

/* ---------- Icônes ---------- */
.ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-line { width: 60%; height: 60%; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.stars { display: inline-flex; gap: 2px; color: var(--or); }
.stars svg { width: 1.05em; height: 1.05em; fill: currentColor; stroke: none; }

/* ---------- Poinçon (octogone) : fil rouge ---------- */
.stamp {
  --s: 58px;
  position: relative; display: inline-grid; place-items: center;
  width: var(--s); height: var(--s); color: var(--or);
  clip-path: var(--octo);
  background: linear-gradient(135deg, var(--or-clair), var(--or) 50%, var(--or-fonce));
}
.stamp::before { content: ""; position: absolute; inset: 2px; clip-path: var(--octo); background: var(--nuit2); }
.stamp > * { position: relative; z-index: 1; }
.stamp--sm { --s: 40px; }
.stamp--big {
  --s: clamp(92px, 9vw, 128px);
  position: absolute; right: -2%; bottom: 6%; z-index: 3;
  align-content: center; text-align: center; font-family: var(--f-title); line-height: 1;
}
.stamp--big span { font-size: clamp(1.9rem, 3vw, 2.8rem); font-weight: 700; color: var(--or-clair); display: block; }
.stamp--big small { font-family: var(--f-body); font-size: .68rem; letter-spacing: .18em; color: var(--or); }

/* ---------- Boutons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  padding: 1.05rem 1.7rem; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: .95rem; letter-spacing: .02em; cursor: pointer;
  overflow: hidden; isolation: isolate; text-align: center; line-height: 1.2;
  transition: color .5s var(--ease), border-color .5s var(--ease);
  will-change: transform;
}
.btn > * { position: relative; z-index: 1; }
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: 0; border-radius: inherit;
  transform: translateY(102%); transition: transform .6s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn--gold { background: linear-gradient(120deg, var(--or-clair), var(--or) 45%, #c79a33); color: var(--encre); box-shadow: 0 14px 30px -12px rgba(217,176,74,.55); }
.btn--gold::before { background: var(--ivoire); }
.btn--ghost { border-color: rgba(245,238,220,.45); color: var(--ivoire); background: rgba(6,9,36,.25); backdrop-filter: blur(6px); }
.btn--ghost::before { background: var(--or); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--encre); border-color: var(--or); }
.btn--sm { padding: .7rem 1.2rem; font-size: .85rem; }
.btn--block { width: 100%; }
.ulink { position: relative; display: inline-block; }
.ulink::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.ulink:hover::after, .ulink:focus-visible::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Préchargeur ---------- */
.loader { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; color: var(--or); animation: loader-failsafe .01s 8s forwards; }
@keyframes loader-failsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.loader__panel { position: absolute; left: 0; right: 0; height: 50.2%; background: var(--nuit); will-change: transform; }
.loader__panel--top { top: 0; background: linear-gradient(180deg, #04061a, var(--nuit2)); }
.loader__panel--bottom { bottom: 0; background: linear-gradient(0deg, #04061a, var(--nuit2)); }
.loader__panel--top::after, .loader__panel--bottom::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--or); opacity: .6; }
.loader__panel--top::after { bottom: 0; } .loader__panel--bottom::after { top: 0; }
.loader__core { position: relative; z-index: 2; display: grid; justify-items: center; gap: 1.2rem; will-change: transform, opacity; }
.loader__coin { width: clamp(150px, 22vw, 220px); height: auto; }
.loader__ring { stroke-dasharray: 580; stroke-dashoffset: 580; }
.loader__l { stroke-dasharray: 300; stroke-dashoffset: 300; }
.loader__count { font-family: var(--f-title); font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 600; color: var(--ivoire); display: flex; align-items: baseline; gap: .6rem; font-variant-numeric: tabular-nums; }
.loader__count small { font-family: var(--f-body); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--or); }

/* ---------- Progression de lecture ---------- */
.progress { position: fixed; left: 0; top: 0; right: 0; height: 3px; z-index: 1000; pointer-events: none; }
.progress i { display: block; height: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--or-fonce), var(--or-clair), var(--or)); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  display: flex; align-items: center; gap: 2rem; justify-content: space-between;
  padding: 1.1rem var(--gut);
  transition: transform .6s var(--ease), background-color .4s, padding .4s var(--ease);
}
.nav.is-solid { background: rgba(6, 9, 36, .78); backdrop-filter: blur(14px); padding-block: .75rem; box-shadow: 0 1px 0 rgba(217,176,74,.18); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__brand { display: inline-flex; align-items: center; gap: .7rem; font-family: var(--f-title); font-weight: 600; font-size: 1.25rem; letter-spacing: .02em; }
.nav__brand b { color: var(--or); font-weight: 700; }
.nav__coin { width: 34px; height: 34px; }
.nav__links { display: flex; gap: clamp(1.2rem, 2.6vw, 2.6rem); font-size: .86rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-left: auto; }
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(245,238,220,.4); background: rgba(6,9,36,.5); cursor: pointer; position: relative; }
.burger i { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--ivoire); transition: transform .5s var(--ease); }
.burger i:first-child { top: 19px; } .burger i:last-child { top: 27px; }
.burger[aria-expanded="true"] i:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { transform: translateY(-4px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 890; display: flex; flex-direction: column; justify-content: space-between;
  padding: 7rem var(--gut) 2.5rem;
  background: radial-gradient(120% 90% at 80% 0%, #1a28a6 0%, var(--nuit2) 55%, var(--nuit) 100%);
  clip-path: circle(0% at calc(100% - 3.2rem) 2.6rem); visibility: hidden;
}
.menu__nav { display: grid; gap: .2rem; }
.menu__nav a { display: flex; align-items: baseline; gap: 1rem; font-family: var(--f-title); font-size: clamp(2.2rem, 9vw, 3.6rem); font-weight: 500; line-height: 1.15; overflow: hidden; }
.menu__nav a span { font-family: var(--f-body); font-size: .8rem; letter-spacing: .18em; color: var(--or); }
.menu__tel { font-family: var(--f-title); font-size: 2rem; color: var(--or); }
.menu__foot p { margin-top: .8rem; font-size: .9rem; opacity: .75; }

.fab { position: fixed; z-index: 880; left: 50%; bottom: calc(1rem + env(safe-area-inset-bottom)); transform: translate(-50%, 140%); display: none; gap: .4rem; padding: .4rem; border-radius: 999px; background: rgba(6,9,36,.88); backdrop-filter: blur(12px); border: 1px solid rgba(217,176,74,.4); box-shadow: 0 18px 40px -10px rgba(0,0,0,.7); transition: transform .7s var(--ease); }
.fab.is-on { transform: translate(-50%, 0); }
.fab a { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.3rem; border-radius: 999px; font-weight: 700; font-size: .92rem; white-space: nowrap; }
.fab__call { background: linear-gradient(120deg, var(--or-clair), var(--or)); color: var(--encre); }
.fab__rdv { color: var(--ivoire); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; background: var(--nuit); }
.hero__media { position: absolute; inset: -6% 0; z-index: -4; background: url("../assets/img/hero-poster.jpg") center/cover; will-change: transform; }
.hero__video { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.hero__veil { position: absolute; inset: 0; z-index: -3; background:
  radial-gradient(90% 70% at 15% 100%, rgba(26,40,166,.55), transparent 60%),
  linear-gradient(180deg, rgba(6,9,36,.55) 0%, rgba(6,9,36,.1) 35%, rgba(6,9,36,.85) 100%); }
.hero__mid { position: absolute; inset: 0; z-index: -2; pointer-events: none; will-change: transform; }
.hero__whip { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .75; }
.coin-wrap { position: absolute; will-change: transform; }
.coin {
  display: grid; place-items: center; width: 100%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #fff4b8, #d9b04a 48%, #8f6a17);
  box-shadow: inset 0 0 0 4px rgba(0,0,0,.12), inset 0 0 0 11px rgba(255,255,255,.14), 0 30px 50px -20px rgba(0,0,0,.75);
  font-family: var(--f-title); font-weight: 800; color: rgba(14,18,56,.85); line-height: 1;
  animation: float 9s ease-in-out infinite;
}
.coin { container-type: inline-size; }
.coin b { font-size: 48cqw; line-height: 1; }
.coin-wrap.coin--a { width: clamp(70px, 9vw, 150px); right: 13%; top: 19%; }
.coin-wrap.coin--b { width: clamp(38px, 5vw, 84px); left: 7%; top: 33%; }
.coin-wrap.coin--b .coin { animation-delay: -3.5s; filter: blur(1.5px); }
.coin-wrap.coin--c { width: clamp(120px, 15vw, 250px); right: -4%; bottom: 14%; }
.coin-wrap.coin--c .coin { animation-delay: -6s; filter: blur(5px); opacity: .85; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-22px) rotate(7deg); } }

.hero__dust { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero__dust i { position: absolute; width: var(--d, 3px); height: var(--d, 3px); border-radius: 50%; background: var(--or-clair); opacity: 0; box-shadow: 0 0 8px 1px rgba(243,220,142,.7); animation: dust var(--t, 9s) linear var(--dl, 0s) infinite; }
@keyframes dust { 0% { opacity: 0; transform: translate3d(0, 20px, 0); } 15% { opacity: .9; } 85% { opacity: .6; } 100% { opacity: 0; transform: translate3d(var(--dx, 30px), -140px, 0); } }

.hero__content { padding: 9rem var(--gut) clamp(7rem, 12vh, 9rem); max-width: 1500px; width: 100%; margin-inline: auto; }
.hero__eyebrow { margin-bottom: 1.2rem; }
.hero__title { font-family: var(--f-title); font-weight: 700; font-size: clamp(3.3rem, 16.2vw, 16.5rem); line-height: .86; letter-spacing: -.03em; font-variation-settings: 'opsz' 144; text-transform: uppercase; }
.hero__word { display: inline-block; }
.hero__word--gold .ch { background: linear-gradient(180deg, #fff1b0 0%, var(--or) 48%, #9b7219 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.hero__lead { max-width: 40rem; margin-top: clamp(1.4rem, 3vw, 2.4rem); font-size: clamp(1.05rem, 1.3vw, 1.3rem); color: rgba(245,238,220,.92); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: clamp(1.4rem, 3vw, 2.2rem); }
.hero__rating { position: absolute; right: var(--gut); top: 7.2rem; display: inline-flex; align-items: center; gap: .6rem; padding: .6rem 1rem; border-radius: 999px; background: rgba(6,9,36,.55); backdrop-filter: blur(8px); border: 1px solid rgba(217,176,74,.4); font-size: .9rem; z-index: 2; }
.hero__rating strong { font-family: var(--f-title); font-size: 1.15rem; color: var(--or-clair); }
.hero__badge { position: absolute; right: var(--gut); bottom: clamp(5rem, 11vh, 8rem); width: clamp(110px, 13vw, 170px); aspect-ratio: 1; display: grid; place-items: center; color: var(--or-clair); }
.hero__badge-svg { position: absolute; inset: 0; width: 100%; height: 100%; will-change: transform; }
.hero__badge-svg text { font-family: var(--f-body); font-size: 15.5px; font-weight: 700; letter-spacing: .08em; fill: currentColor; }
.hero__badge-ico { width: 28%; height: 28%; fill: none; stroke: var(--or); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hero__scroll { position: absolute; left: 50%; bottom: clamp(3.2rem, 7vh, 4.6rem); transform: translateX(-50%); display: grid; justify-items: center; gap: .5rem; font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(245,238,220,.8); }
.hero__scroll i { width: 1px; height: 46px; background: linear-gradient(var(--or), transparent); transform-origin: top; animation: scroll-line 2.2s var(--ease) infinite; }
@keyframes scroll-line { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.hero__arc { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(38px, 6vw, 90px); fill: var(--or); z-index: 1; }

/* ==========================================================================
   MARQUEE (ruban d'or)
   ========================================================================== */
.marquee { position: relative; background: var(--or); color: var(--encre); overflow: hidden; padding: clamp(.4rem, 1vw, 1rem) 0 clamp(1.2rem, 3vw, 2.2rem); }
.marquee::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(255,255,255,0) 20%, rgba(255,255,255,.28) 45%, rgba(255,255,255,0) 70%); pointer-events: none; }
.marquee__row { overflow: hidden; white-space: nowrap; }
.marquee__track { display: inline-flex; align-items: center; will-change: transform; }
.marquee__track span { font-family: var(--f-title); font-style: italic; font-weight: 600; font-size: clamp(2.6rem, 7vw, 6.4rem); letter-spacing: -.02em; padding: 0 .35em; line-height: 1.15; }
.marquee__track i { font-style: normal; font-size: clamp(1.2rem, 2.6vw, 2.2rem); color: var(--bleu); }
.marquee__row--outline .marquee__track span { font-style: normal; font-weight: 800; font-size: clamp(1.8rem, 4.2vw, 3.8rem); color: transparent; -webkit-text-stroke: 1.5px var(--encre); text-transform: uppercase; letter-spacing: .02em; }

/* ==========================================================================
   SAVOIR-FAIRE (storytelling, section pinnée)
   ========================================================================== */
.story { position: relative; background: radial-gradient(80% 60% at 0% 0%, rgba(26,40,166,.45), transparent 60%), var(--nuit); padding: clamp(4.5rem, 9vw, 8rem) 0; }
.story__inner { width: min(100% - var(--gut) * 2, var(--maxw)); margin-inline: auto; display: grid; gap: 3rem; }
.story__stage { position: relative; }
.story__arch { position: relative; display: grid; gap: 1rem; }
.story__fig { position: relative; overflow: hidden; border-radius: 48% 48% 18px 18px / 30% 30% 18px 18px; aspect-ratio: 4 / 3.4; }
.story__fig img { width: 100%; height: 100%; object-fit: cover; }
.story__body { display: grid; gap: 2rem; }
.story__head h2 { font-size: clamp(2.3rem, 5.4vw, 5.2rem); }
.story__list { display: grid; gap: 2.2rem; }
.story__item { position: relative; padding-left: clamp(0rem, 1vw, 1rem); }
.story__n { display: block; font-family: var(--f-title); font-weight: 300; font-style: italic; font-size: clamp(3.4rem, 7vw, 6rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--or); margin-bottom: .4rem; }
.story__item h3 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.1; margin-bottom: .7rem; }
.story__item p { max-width: 36rem; color: rgba(245,238,220,.85); }
.story__bar { display: none; }

/* Mode pinné (activé par JS sur écrans compatibles) */
.story.is-pinned { padding: 0; }
.story.is-pinned .story__inner { height: 100svh; grid-template-columns: minmax(0, 5fr) minmax(0, 6.2fr); align-items: center; gap: clamp(2rem, 5vw, 6rem); }
.story.is-pinned .story__stage { height: min(80svh, 760px); }
.story.is-pinned .story__arch { position: absolute; inset: 0; display: block; border-radius: 50% 50% 22px 22px / 34% 34% 22px 22px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.story.is-pinned .story__arch::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(243,220,142,.55); border-radius: inherit; pointer-events: none; z-index: 2; }
.story.is-pinned .story__fig { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; opacity: 0; }
.story.is-pinned .story__fig.is-active { opacity: 1; }
.story.is-pinned .story__list { position: relative; display: block; min-height: 17rem; }
.story.is-pinned .story__item { position: absolute; left: 0; right: 0; top: 0; opacity: 0; }
.story.is-pinned .story__item.is-active { opacity: 1; }
.story.is-pinned .story__bar { display: block; height: 2px; background: rgba(245,238,220,.15); border-radius: 2px; overflow: hidden; }
.story.is-pinned .story__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--or-fonce), var(--or-clair)); transform: scaleX(0); transform-origin: left; }
.story:not(.is-pinned) .stamp--big { display: none; }

/* ==========================================================================
   PRESTATIONS (défilement horizontal piloté par le scroll)
   ========================================================================== */
.services { position: relative; background: linear-gradient(180deg, var(--nuit) 0%, #0a1170 55%, var(--bleu) 130%); }
.services::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: clamp(26px, 4.4vw, 70px); background: var(--nuit); clip-path: polygon(0 0, 100% 0, 0 100%); z-index: 5; pointer-events: none; }
.services__pin { padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 5vw, 4rem); display: flex; flex-direction: column; gap: clamp(1.5rem, 3vw, 2.6rem); }
.services__head { width: min(100% - var(--gut) * 2, var(--maxw)); margin-inline: auto; display: grid; gap: 1rem; }
.services__head h2 { font-size: clamp(2.4rem, 6vw, 5.8rem); }
.services__intro { color: rgba(245,238,220,.75); }
.services__track { display: flex; gap: clamp(1rem, 2vw, 1.8rem); padding: 0 var(--gut); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; will-change: transform; }
.services__track::-webkit-scrollbar { display: none; }
.services__meter { display: none; width: min(100% - var(--gut) * 2, var(--maxw)); margin-inline: auto; height: 2px; background: rgba(245,238,220,.18); }
.services__meter i { display: block; height: 100%; background: var(--or); transform: scaleX(0); transform-origin: left; }
.services.is-hscroll .services__pin { height: 100svh; justify-content: center; padding-block: 5.5rem 2rem; overflow: hidden; }
.services.is-hscroll .services__track { overflow: visible; scroll-snap-type: none; width: max-content; }
.services.is-hscroll .services__meter { display: block; }

.card {
  position: relative; flex: none; scroll-snap-align: center;
  width: clamp(280px, 24vw, 400px); height: clamp(430px, 62svh, 580px);
  border-radius: 999px 999px 26px 26px / 190px 190px 26px 26px;
  overflow: hidden; isolation: isolate; background: var(--nuit2);
  border: 1px solid rgba(217,176,74,.35); transform-style: preserve-3d; will-change: transform;
}
.card::after { content: ""; position: absolute; inset: 9px; border-radius: inherit; border: 1px solid rgba(243,220,142,.25); pointer-events: none; z-index: 4; }
.card__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.card__media img { width: 118%; max-width: none; height: 100%; object-fit: cover; margin-left: -9%; will-change: transform; }
.card__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,9,36,.1) 30%, rgba(6,9,36,.92) 78%); }
.card--emblem { background: radial-gradient(120% 90% at 50% 0%, #25369a, var(--nuit2) 70%); }
.card--blue { background: radial-gradient(120% 90% at 50% 0%, #3a4cf0, #14208a 70%); }
.card__emblem { position: absolute; left: 0; right: 0; top: 10%; height: 44%; display: grid; place-items: center; z-index: -1; }
.card__emblem svg { width: 46%; height: 100%; fill: none; stroke: var(--or); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 18px rgba(217,176,74,.45)); }
.card__glare { position: absolute; left: 50%; top: 50%; width: 220%; aspect-ratio: 1; z-index: 3; pointer-events: none; opacity: 0; margin: -110% 0 0 -110%; background: radial-gradient(circle at center, rgba(255,246,200,.34) 0%, rgba(255,246,200,0) 38%); transition: opacity .4s; will-change: transform; }
.card:hover .card__glare { opacity: 1; }
.card__body { position: absolute; inset: auto 0 0 0; padding: 0 clamp(1.3rem, 2vw, 1.8rem) clamp(1.4rem, 2vw, 1.9rem); display: grid; gap: .6rem; justify-items: start; transform: translateZ(40px); }
.card__body .stamp { --s: 50px; margin-bottom: .3rem; }
.card__n { position: absolute; right: clamp(1.3rem, 2vw, 1.8rem); top: -3.6rem; font-family: var(--f-title); font-style: italic; font-weight: 300; font-size: 3.2rem; line-height: 1; color: rgba(243,220,142,.8); }
.card h3 { font-size: clamp(1.55rem, 2vw, 2rem); line-height: 1.1; }
.card p { font-size: .94rem; line-height: 1.55; color: rgba(245,238,220,.86); }
.card__tag { margin-top: .3rem; padding: .35rem .8rem; border-radius: 999px; border: 1px solid rgba(217,176,74,.55); color: var(--or-clair); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.card--end { display: grid; place-content: center; justify-items: center; gap: 1.6rem; text-align: center; padding: 2rem; background: var(--or); color: var(--encre); border-color: var(--or); border-radius: 999px 999px 26px 26px / 190px 190px 26px 26px; }
.card--end::after { border-color: rgba(14,18,56,.3); }
.card--end h3 { font-size: clamp(2rem, 3vw, 2.8rem); }
.card--end em { font-weight: 300; color: var(--bleu); }
.card--end .btn--gold { background: var(--encre); color: var(--ivoire); box-shadow: none; }
.card--end .btn--gold::before { background: var(--ivoire); }
.card--end .btn--gold:hover { color: var(--encre); }
.card__thistle { width: 56px; height: 84px; fill: none; stroke: var(--encre); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================================
   CHIFFRES CLÉS (papier ivoire, bords perforés comme un ticket)
   ========================================================================== */
.numbers { position: relative; background: var(--ivoire); color: var(--encre); padding: clamp(5rem, 9vw, 8.5rem) 0; }
.numbers__edge { position: absolute; left: 0; right: 0; height: 14px; background-size: 24px 14px; background-repeat: repeat-x; }
.numbers__edge--top { top: 0; background-image: radial-gradient(circle at 12px 0, var(--nuit) 8px, transparent 8.5px); }
.numbers__edge--bottom { bottom: 0; background-image: radial-gradient(circle at 12px 14px, var(--nuit) 8px, transparent 8.5px); }
.numbers h2 { max-width: 14ch; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.numbers__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
.medal { display: grid; justify-items: center; text-align: center; gap: 1.2rem; perspective: 800px; }
.medal__coin { position: relative; width: clamp(160px, 17vw, 230px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #fff4b8, #d9b04a 48%, #8f6a17); box-shadow: inset 0 0 0 6px rgba(0,0,0,.08), inset 0 0 0 13px rgba(255,255,255,.18), 0 28px 40px -22px rgba(14,18,56,.7); will-change: transform; }
.medal__coin::after { content: ""; position: absolute; inset: 15px; border: 1.5px dashed rgba(14,18,56,.4); border-radius: 50%; }
.medal__coin span { font-family: var(--f-title); font-weight: 700; font-size: clamp(2.9rem, 5vw, 4.6rem); line-height: 1; display: flex; align-items: baseline; gap: .15em; color: var(--encre); font-variant-numeric: tabular-nums; z-index: 1; }
.medal__coin small { font-size: .32em; font-weight: 600; letter-spacing: .04em; }
.medal p { max-width: 19rem; font-size: .98rem; line-height: 1.5; color: rgba(14,18,56,.82); }

/* ==========================================================================
   LE GÉRANT
   ========================================================================== */
.keeper { position: relative; background: var(--nuit); padding: clamp(5rem, 10vw, 9rem) 0; overflow: hidden; }
.keeper::before { content: ""; position: absolute; width: 60vw; aspect-ratio: 1; right: -20vw; top: -20vw; border-radius: 50%; background: radial-gradient(circle, rgba(26,40,166,.55), transparent 65%); pointer-events: none; }
.keeper__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 7rem); align-items: center; }
.keeper__photo { position: relative; }
.keeper__arch { position: relative; aspect-ratio: 3 / 4.1; overflow: hidden; border-radius: 999px 999px 24px 24px / 52% 52% 24px 24px; box-shadow: 0 50px 90px -40px rgba(0,0,0,.9); border: 1px solid rgba(217,176,74,.5); }
.keeper__arch::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(243,220,142,.5); border-radius: inherit; pointer-events: none; }
.keeper__arch img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; object-position: 50% 30%; }
.keeper__thistle { position: absolute; right: -1.5rem; bottom: -2.2rem; width: clamp(56px, 7vw, 90px); height: clamp(84px, 10.5vw, 135px); fill: none; stroke: var(--or); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; background: var(--nuit); border-radius: 50%; padding: .9rem; box-sizing: content-box; }
.keeper__text h2 { font-size: clamp(2.4rem, 5.4vw, 5.2rem); margin-bottom: 2rem; }
.keeper__quote { position: relative; padding: 1.6rem 0 1.6rem 2.2rem; border-left: 2px solid var(--or); margin-bottom: 1.8rem; }
.keeper__quote::before { content: "“"; position: absolute; left: .6rem; top: -1.2rem; font-family: var(--f-title); font-size: 6rem; line-height: 1; color: var(--or); opacity: .55; }
.keeper__quote p { font-family: var(--f-title); font-style: italic; font-weight: 300; font-size: clamp(1.35rem, 2.3vw, 2.05rem); line-height: 1.32; }
.keeper__quote footer { margin-top: 1rem; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--or); font-weight: 700; }
.keeper__p { max-width: 34rem; color: rgba(245,238,220,.82); }

/* ==========================================================================
   LE CALCUL (simulateur d'or fin)
   ========================================================================== */
.calc { position: relative; overflow: hidden; padding: clamp(5rem, 10vw, 9rem) 0; background: var(--nuit2); }
.calc__bg { position: absolute; inset: 0; z-index: 0; }
.calc__bg img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; opacity: .55; }
.calc__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,9,36,.92) 8%, rgba(6,9,36,.55) 60%, rgba(6,9,36,.85)), linear-gradient(180deg, var(--nuit), transparent 22%, transparent 78%, var(--nuit2)); }
.calc__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.calc__lead h2 { font-size: clamp(2.5rem, 6vw, 5.8rem); margin-bottom: 1.6rem; }
.calc__lead p { max-width: 34rem; color: rgba(245,238,220,.88); }
.calc__hint { margin-top: 1.1rem; padding-left: 1rem; border-left: 2px solid var(--or); font-size: .95rem; color: var(--or-clair) !important; }
.calc__card { background: var(--ivoire); color: var(--encre); border-radius: 22px; padding: clamp(1.4rem, 2.6vw, 2.2rem); display: grid; gap: 1.4rem; box-shadow: 0 50px 90px -40px rgba(0,0,0,.9); position: relative; }
.calc__card::before { content: ""; position: absolute; left: 14px; right: 14px; top: 0; height: 8px; background: radial-gradient(circle at 8px 0, var(--nuit2) 5px, transparent 5.5px) repeat-x; background-size: 16px 8px; opacity: .9; }
.calc__title { display: flex; align-items: center; gap: .9rem; font-size: 1.4rem; }
.calc__card .stamp::before { background: var(--ivoire); }
.calc__card .stamp { color: var(--bleu); }
.calc__field legend, .calc__field label { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--bleu); margin-bottom: .8rem; }
.calc__field output { color: var(--encre); font-size: 1.05em; }
.chips { display: flex; gap: .55rem; flex-wrap: wrap; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; flex-direction: column; align-items: center; padding: .55rem 1.05rem; border-radius: 999px; border: 1.5px solid rgba(14,18,56,.28); font-weight: 700; font-size: .92rem; line-height: 1.15; transition: background-color .35s, color .35s, border-color .35s, transform .35s var(--ease); }
.chip small { font-size: .68rem; font-weight: 600; opacity: .7; }
.chip:hover span { border-color: var(--bleu); }
.chip input:checked + span { background: var(--bleu); border-color: var(--bleu); color: var(--ivoire); }
.chip input:focus-visible + span { outline: 2px solid var(--bleu2); outline-offset: 3px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--bleu) var(--p, 6%), rgba(14,18,56,.18) var(--p, 6%)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -12px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #fff4b8, #d9b04a 55%, #8f6a17); border: 2px solid var(--encre); box-shadow: 0 6px 12px -4px rgba(14,18,56,.6); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(14,18,56,.18); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--bleu); }
input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #d9b04a; border: 2px solid var(--encre); }
.calc__result { padding: 1.2rem 1.3rem; border-radius: 16px; background: var(--encre); color: var(--ivoire); }
.calc__result p:first-child { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--or); font-weight: 700; }
.calc__result strong { display: block; font-family: var(--f-title); font-weight: 600; font-size: clamp(3rem, 6vw, 4.6rem); line-height: 1.05; font-variant-numeric: tabular-nums; color: var(--or-clair); }
.calc__result strong small { font-size: .4em; font-weight: 500; color: var(--ivoire); }
.calc__bar { height: 8px; border-radius: 8px; background: rgba(245,238,220,.16); overflow: hidden; margin: .5rem 0 .7rem; }
.calc__bar i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--or-fonce), var(--or-clair)); transform-origin: left; transform: scaleX(.75); }
.calc__pct { font-size: .88rem; color: rgba(245,238,220,.8); }
.calc__note { font-size: .82rem; line-height: 1.5; color: rgba(14,18,56,.72); }
.calc__card .btn--gold { box-shadow: none; }

/* ==========================================================================
   GALERIE
   ========================================================================== */
.gallery { background: var(--nuit2); padding: clamp(5rem, 9vw, 8rem) 0; position: relative; }
.gallery__head { margin-bottom: clamp(2rem, 4vw, 4rem); }
.gallery__grid { columns: 3 300px; column-gap: clamp(.9rem, 1.6vw, 1.5rem); }
.g { break-inside: avoid; margin: 0 0 clamp(.9rem, 1.6vw, 1.5rem); position: relative; perspective: 900px; }
.g__btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; position: relative; overflow: hidden; border-radius: 20px; }
.g__frame { position: relative; overflow: hidden; border-radius: 20px; aspect-ratio: var(--ar, 4/3); background: var(--nuit); transform-style: preserve-3d; will-change: transform; }
.g--tall { --ar: 3 / 4; } .g--wide { --ar: 4 / 3; } .g--sq { --ar: 1; }
.g__frame img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.g figcaption, .g__btn figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.4rem 1.2rem 1.1rem; font-size: .9rem; font-weight: 600; background: linear-gradient(transparent, rgba(6,9,36,.92)); transform: translateY(101%); transition: transform .6s var(--ease); pointer-events: none; }
.g__btn:hover figcaption, .g__btn:focus-visible figcaption { transform: translateY(0); }
@media (hover: none) { .g__btn figcaption { transform: none; } }

.lightbox { border: 0; padding: 0; background: transparent; width: 100vw; height: 100vh; max-width: none; max-height: none; color: var(--ivoire); }
.lightbox::backdrop { background: rgba(4,6,22,.94); backdrop-filter: blur(6px); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(92vw, 1300px); max-height: 86vh; width: auto; border-radius: 14px; box-shadow: 0 40px 100px -30px #000; }
.lightbox__close, .lightbox__nav { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(245,238,220,.4); background: rgba(6,9,36,.6); font-size: 1.4rem; cursor: pointer; display: grid; place-items: center; transition: background-color .3s, color .3s; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--or); color: var(--encre); }
.lightbox__close { top: 1.2rem; right: 1.2rem; font-size: 2rem; line-height: 1; }
.lightbox__nav--prev { left: 1.2rem; top: 50%; } .lightbox__nav--next { right: 1.2rem; top: 50%; }

/* ==========================================================================
   AVIS
   ========================================================================== */
.reviews { position: relative; background: radial-gradient(90% 70% at 50% 0%, #1a28a6 0%, #0e1778 45%, var(--nuit2) 100%); padding: clamp(6rem, 10vw, 9rem) 0; overflow: hidden; }
.whip { position: absolute; left: 0; width: 100%; height: clamp(50px, 8vw, 110px); }
.whip--top { top: 0; }
.reviews__head { margin-bottom: clamp(2rem, 4vw, 3.5rem); display: grid; gap: .6rem; }
.reviews__score { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; color: rgba(245,238,220,.85); }
.reviews__score strong { font-family: var(--f-title); font-size: 1.6rem; color: var(--or-clair); }
.carousel__viewport { overflow: hidden; margin-inline: calc(var(--gut) * -1); padding: 1.5rem var(--gut) 2rem; cursor: grab; touch-action: pan-y; }
.carousel__viewport:active { cursor: grabbing; }
.carousel__track { position: relative; display: flex; gap: clamp(1rem, 2vw, 1.8rem); will-change: transform; }
.review { flex: 0 0 min(560px, 86vw); background: var(--ivoire); color: var(--encre); border-radius: 22px; padding: clamp(1.5rem, 2.6vw, 2.4rem); display: grid; align-content: space-between; gap: 1.6rem; box-shadow: 0 40px 70px -35px rgba(0,0,0,.8); transition: opacity .6s var(--ease), transform .6s var(--ease); user-select: none; position: relative; }
.review::before { content: "“"; position: absolute; right: 1.4rem; top: .2rem; font-family: var(--f-title); font-size: 7rem; line-height: 1; color: var(--or); opacity: .5; }
.review:not(.is-active) { opacity: .5; transform: scale(.95); }
.review__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.review .stars { color: var(--or-fonce); }
.review__when { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(14,18,56,.6); position: relative; z-index: 1; margin-right: 3rem; }
.review blockquote p { font-family: var(--f-title); font-weight: 400; font-size: clamp(1.1rem, 1.5vw, 1.38rem); line-height: 1.5; }
.review footer { display: flex; align-items: center; gap: .9rem; }
.review__av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--bleu); color: var(--ivoire); font-family: var(--f-title); font-weight: 700; font-size: 1.2rem; }
.review footer strong { display: block; line-height: 1.2; }
.review footer small { color: rgba(14,18,56,.62); font-size: .8rem; }
.carousel__ctrl { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-top: .5rem; }
.round { width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(245,238,220,.45); background: rgba(6,9,36,.35); display: grid; place-items: center; cursor: pointer; transition: background-color .35s, color .35s, border-color .35s; }
.round:hover { background: var(--or); color: var(--encre); border-color: var(--or); }
.carousel__dots { display: flex; gap: .55rem; }
.carousel__dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: rgba(245,238,220,.35); cursor: pointer; transition: transform .4s var(--ease), background-color .4s; }
.carousel__dots button[aria-selected="true"] { background: var(--or); transform: scale(1.5); }
.tags { margin-top: clamp(3rem, 6vw, 5rem); text-align: center; }
.tags__title { font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--or); margin-bottom: 1.4rem; }
.tags ul { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: .7rem 1.1rem; }
.tags li { font-family: var(--f-title); font-size: calc(1.15rem * var(--s, 1)); line-height: 1.2; padding: .3em .9em; border-radius: 999px; border: 1px solid rgba(217,176,74,.5); transition: background-color .4s, color .4s, transform .5s var(--ease); cursor: default; }
.tags li:hover { background: var(--or); color: var(--encre); transform: translateY(-4px) rotate(-2deg); }
.tags li b { font-weight: 500; }
.tags li small { font-family: var(--f-body); font-size: .55em; font-weight: 700; opacity: .7; vertical-align: super; }
.reviews__more { margin-top: clamp(2.5rem, 5vw, 4rem); text-align: center; }

/* ==========================================================================
   RENDEZ-VOUS
   ========================================================================== */
.rdv { position: relative; background: var(--nuit); padding: clamp(5rem, 10vw, 9rem) 0; overflow: hidden; }
.rdv__glow { position: absolute; width: 90vw; aspect-ratio: 1; left: -30vw; top: -20vw; border-radius: 50%; background: radial-gradient(circle, rgba(217,176,74,.22), transparent 60%); pointer-events: none; }
.rdv .container { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6.4fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.rdv__intro { position: sticky; top: 7rem; }
.rdv__intro h2 { margin-bottom: 1.6rem; }
.rdv__lead { max-width: 30rem; color: rgba(245,238,220,.86); }
.rdv__tel { display: inline-flex; align-items: center; gap: .8rem; margin: 2rem 0 1.4rem; font-family: var(--f-title); font-weight: 600; font-size: clamp(1.9rem, 4.2vw, 3.6rem); line-height: 1; color: var(--or); letter-spacing: -.01em; transition: color .4s, transform .6s var(--ease); }
.rdv__tel .ico { width: .8em; height: .8em; }
.rdv__tel:hover { color: var(--or-clair); transform: translateX(8px); }
.rdv__hours { font-size: .98rem; line-height: 1.8; color: rgba(245,238,220,.85); }
.rdv__hours span { opacity: .6; font-size: .9rem; }

.ticket { position: relative; background: var(--ivoire); color: var(--encre); border-radius: 24px; padding: clamp(1.5rem, 3vw, 2.6rem); display: grid; gap: 1.7rem; box-shadow: 0 60px 100px -40px rgba(0,0,0,.9); }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 5.2rem; width: 26px; height: 26px; border-radius: 50%; background: var(--nuit); }
.ticket::before { left: -13px; } .ticket::after { right: -13px; }
.ticket__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: 1.2rem; border-bottom: 2px dashed rgba(14,18,56,.25); }
.ticket__head h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.ticket__no { font-size: .8rem; font-weight: 800; letter-spacing: .16em; color: var(--bleu); font-variant-numeric: tabular-nums; }
.ticket__step legend { display: flex; align-items: center; gap: .7rem; font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bleu); margin-bottom: .9rem; }
.ticket__step legend b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--bleu); color: var(--ivoire); font-size: .8rem; letter-spacing: 0; }
.chips--wrap .chip span { padding: .5rem 1rem; }
.days { display: flex; gap: .55rem; overflow-x: auto; padding: .2rem .2rem .8rem; margin: 0 -.2rem; scroll-snap-type: x proximity; scrollbar-width: thin; }
.day { flex: none; scroll-snap-align: start; width: 74px; padding: .65rem .3rem; border-radius: 16px; border: 1.5px solid rgba(14,18,56,.22); background: transparent; cursor: pointer; display: grid; justify-items: center; gap: .1rem; line-height: 1.1; transition: background-color .35s, color .35s, border-color .35s, transform .45s var(--ease); }
.day small { font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.day b { font-family: var(--f-title); font-size: 1.7rem; font-weight: 600; }
.day span { font-size: .68rem; font-weight: 700; opacity: .7; }
.day:hover { border-color: var(--bleu); transform: translateY(-3px); }
.day[aria-checked="true"] { background: var(--bleu); border-color: var(--bleu); color: var(--ivoire); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: .5rem; }
.slots__empty { grid-column: 1 / -1; font-size: .92rem; color: rgba(14,18,56,.6); padding: .4rem 0; }
.slot { padding: .65rem .4rem; border-radius: 12px; border: 1.5px solid rgba(14,18,56,.22); background: transparent; cursor: pointer; font-weight: 700; font-size: .95rem; font-variant-numeric: tabular-nums; transition: background-color .3s, color .3s, border-color .3s, transform .4s var(--ease); }
.slot:hover { border-color: var(--bleu); transform: translateY(-2px); }
.slot[aria-checked="true"] { background: var(--bleu); border-color: var(--bleu); color: var(--ivoire); }
.ticket__step--fields { display: grid; gap: 1rem; }
.ticket__step--fields legend { margin-bottom: 0; }
.field { display: grid; gap: .4rem; }
.field span { font-size: .84rem; font-weight: 700; }
.field em { font-weight: 500; opacity: .6; font-style: normal; }
.field input { width: 100%; padding: .9rem 1.1rem; border-radius: 12px; border: 1.5px solid rgba(14,18,56,.25); background: #fffdf6; font: inherit; color: var(--encre); transition: border-color .3s, box-shadow .3s; }
.field input:focus { outline: none; border-color: var(--bleu); box-shadow: 0 0 0 4px rgba(26,40,166,.15); }
.field input[aria-invalid="true"] { border-color: #b3261e; }
.ticket__label { font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--bleu); margin-bottom: .6rem; }
.ticket__preview { display: block; padding: 1.1rem 1.2rem; border-radius: 16px 16px 16px 4px; background: #e8dfc4; font-size: .95rem; line-height: 1.55; white-space: pre-wrap; min-height: 5.5rem; }
.ticket__error { padding: .8rem 1rem; border-radius: 12px; background: #fde8e6; color: #8c1d18; font-weight: 600; font-size: .92rem; }
.ticket__actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.ticket .btn--ghost { color: var(--encre); border-color: rgba(14,18,56,.45); background: transparent; backdrop-filter: none; }
.ticket .btn--ghost::before { background: var(--encre); }
.ticket .btn--ghost:hover, .ticket .btn--ghost:focus-visible { color: var(--ivoire); border-color: var(--encre); }
.ticket .btn--gold { box-shadow: none; }
.ticket__fine { font-size: .82rem; line-height: 1.55; color: rgba(14,18,56,.72); }
.ticket__fine a { color: var(--bleu); font-weight: 700; text-decoration: underline; }

/* ==========================================================================
   ACCÈS
   ========================================================================== */
.access { background: var(--ivoire); color: var(--encre); padding: clamp(5rem, 9vw, 8rem) 0; position: relative; }
.access__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.access h2 { color: var(--encre); margin-bottom: 1.6rem; font-size: clamp(2.4rem, 5.6vw, 5.4rem); }
.access h2 em { color: var(--bleu); }
.access__status { display: inline-flex; align-items: center; gap: .6rem; padding: .5rem 1rem; border-radius: 999px; background: rgba(14,18,56,.07); font-weight: 700; font-size: .88rem; margin-bottom: 1.4rem; }
.access__status i { width: 10px; height: 10px; border-radius: 50%; background: #8d8d8d; }
.access__status.is-open i { background: #1f9d55; box-shadow: 0 0 0 0 rgba(31,157,85,.6); animation: pulse 2s infinite; }
.access__status.is-closed i { background: #c0392b; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(31,157,85,0); } 100% { box-shadow: 0 0 0 0 rgba(31,157,85,0); } }
.access__addr { font-family: var(--f-title); font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.4; margin-bottom: 1rem; }
.access__addr a { color: var(--bleu); font-weight: 600; }
.access__ring { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.6rem; font-weight: 600; }
.access__ring .ico-line { width: 22px; height: 22px; color: var(--bleu); }
.hours { width: min(100%, 26rem); border-collapse: collapse; margin-bottom: 1.8rem; }
.hours th, .hours td { padding: .55rem 0; text-align: left; border-bottom: 1px solid rgba(14,18,56,.14); font-size: .96rem; }
.hours th { font-weight: 700; } .hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today { color: var(--bleu); } .hours tr.is-today th::after { content: " · aujourd’hui"; font-weight: 600; font-size: .78rem; letter-spacing: .06em; }
.access__btns { display: flex; flex-wrap: wrap; gap: .8rem; }
.access .btn--ghost { color: var(--encre); border-color: rgba(14,18,56,.45); background: transparent; backdrop-filter: none; }
.access .btn--ghost::before { background: var(--encre); }
.access .btn--ghost:hover, .access .btn--ghost:focus-visible { color: var(--ivoire); border-color: var(--encre); }
.access__map { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 999px 999px 26px 26px / 50% 50% 26px 26px; border: 1px solid rgba(14,18,56,.35); box-shadow: 0 50px 80px -40px rgba(14,18,56,.7); background: #dcd5bd; }
.access__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85) contrast(1.03); }
.access__maplink { position: absolute; inset: 0; z-index: 2; display: block; }
.access__maplink::after { content: "Ouvrir dans Google Maps ↗"; position: absolute; left: 50%; bottom: 1.6rem; transform: translate(-50%, 30px); opacity: 0; padding: .7rem 1.2rem; border-radius: 999px; background: var(--encre); color: var(--ivoire); font-weight: 700; font-size: .88rem; white-space: nowrap; transition: opacity .4s, transform .6s var(--ease); }
.access__map:hover .access__maplink::after, .access__maplink:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) { .access__maplink::after { opacity: 1; transform: translate(-50%, 0); } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { position: relative; background: radial-gradient(120% 100% at 50% 0%, #1a28a6 0%, var(--nuit2) 60%, var(--nuit) 100%); padding: clamp(4rem, 8vw, 7rem) 0 2rem; overflow: hidden; }
.footer__big { display: flex; justify-content: center; gap: .22em; font-family: var(--f-title); font-weight: 800; font-size: 12.4vw; line-height: .95; letter-spacing: -.03em; text-transform: uppercase; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px var(--or); font-variation-settings: 'opsz' 144; margin-bottom: clamp(2.5rem, 5vw, 5rem); overflow: hidden; padding: .04em 0 .1em; }
.footer__big span { display: inline-block; will-change: transform; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(245,238,220,.18); }
.footer h3 { font-family: var(--f-body); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--or); margin-bottom: 1rem; }
.footer p { color: rgba(245,238,220,.85); font-size: .96rem; line-height: 1.8; }
.footer__thistle { width: 44px; height: 66px; fill: none; stroke: var(--or); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1rem; }
.footer__tag { font-family: var(--f-title); font-size: 1.5rem !important; line-height: 1.25 !important; max-width: 18rem; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding-top: 1.6rem; font-size: .82rem; }
.footer__bottom p { color: rgba(245,238,220,.65); font-size: .82rem; }
.totop { width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(245,238,220,.4); background: transparent; cursor: pointer; display: grid; place-items: center; transition: background-color .35s, color .35s; }
.totop .ico { transform: rotate(-90deg); }
.totop:hover { background: var(--or); color: var(--encre); }

/* ---------- Curseur (desktop souris uniquement) ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 9500; width: 44px; height: 44px; margin: -22px 0 0 -22px; pointer-events: none; opacity: 0; will-change: transform; }
.cursor span { display: block; width: 100%; height: 100%; border-radius: 50%; border: 1px solid var(--or); transition: transform .5s var(--ease), background-color .4s; }
.cursor.is-on { opacity: 1; }
.cursor.is-link span { transform: scale(1.7); background: rgba(217,176,74,.18); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 899px) {
  .nav__links, .nav__cta { display: none; }
  .burger { display: block; margin-left: auto; }
  .fab { display: flex; }
  .hero__rating { top: auto; bottom: 7.4rem; left: var(--gut); right: auto; }
  .hero__badge { display: none; }
  .hero__scroll { display: none; }
  .coin-wrap.coin--b { display: none; }
  .coin-wrap.coin--a { top: 15%; right: 8%; }
  .hero__content { padding-top: 7rem; padding-bottom: 11rem; }
  .keeper__grid, .calc__grid, .access__grid, .rdv .container { grid-template-columns: minmax(0, 1fr); }
  .keeper__photo { max-width: 460px; margin-inline: auto; width: 100%; }
  .rdv__intro { position: static; }
  .access__map { max-width: 480px; margin-inline: auto; width: 100%; }
  .story.is-pinned .story__inner { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; align-content: center; gap: 1.2rem; padding-top: 4.6rem; }
  .story.is-pinned .story__stage { height: min(40svh, 340px); max-width: 300px; margin-inline: auto; width: 100%; }
  .story.is-pinned .story__head .eyebrow { display: none; }
  .story.is-pinned .story__head h2 { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  .story.is-pinned .story__list { min-height: 15rem; }
  .story.is-pinned .story__n { font-size: 2.6rem; margin-bottom: 0; }
  .story.is-pinned .story__item h3 { font-size: 1.45rem; margin-bottom: .4rem; }
  .story.is-pinned .story__item p { font-size: .95rem; line-height: 1.5; }
  .stamp--big { right: -4%; bottom: 2%; --s: 78px; }
  .card { width: min(78vw, 330px); height: min(68svh, 520px); }
  .services__intro { display: block; }
  .gallery__grid { columns: 2 150px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .ticket::before, .ticket::after { display: none; }
}
@media (max-width: 560px) {
  .gallery__grid { columns: 1; }
  .footer__grid { grid-template-columns: 1fr; }
  .btn { padding: .95rem 1.3rem; }
  .hero__cta .btn { flex: 1 1 100%; }
  .review__when { margin-right: 2.4rem; }
  .ticket__actions .btn { flex: 1 1 100%; }
  .footer__big { font-size: 13.4vw; }
}

/* ---------- Accessibilité : mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .coin, .hero__dust i, .hero__scroll i { animation: none !important; }
  .hero__dust { display: none; }
  .js [data-reveal], .js [data-split]:not(.is-split), .js .hero__title:not(.is-split) { opacity: 1; visibility: visible; }
}
