/* ==========================================================================
   Motoneige Les Orres — feuille de style unique
   Mobile first. Une seule famille (Archivo variable, axe de largeur).
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("/assets/fonts/archivo-latin.woff2") format("woff2-variations"), url("/assets/fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("/assets/fonts/archivo-latin-ext.woff2") format("woff2-variations"), url("/assets/fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --snow: #fbfcfd;
  --frost: #ebf0f4;
  --frost-2: #dbe4eb;
  --ink: #0f1e36;
  --ink-2: #3c4b61;
  --ink-3: #66758a;
  --balise: #ff5a1f;
  --balise-deep: #d9430d;
  --glacier: #8fb0c9;
  --night: #0f1e36;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --gutter: 20px;
  --max: 1320px;
  --r-media: 28px;
  --r-card: 18px;
  --r-ctrl: 14px;
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--snow);
  color: var(--ink);
  font-family: var(--font);
  font-stretch: 100%;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-color: var(--balise); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--balise); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--balise); color: var(--ink); }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--snow); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* ---------- Typographie ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -.015em; text-wrap: balance; }
.display {
  font-stretch: 125%;
  font-weight: 820;
  font-size: clamp(2.35rem, 10.4vw, 7.2rem);
  line-height: .9;
  letter-spacing: -.035em;
}
.h2 { font-stretch: 118%; font-size: clamp(1.85rem, 6.2vw, 3.9rem); line-height: .96; letter-spacing: -.03em; }
.h3 { font-stretch: 108%; font-size: clamp(1.2rem, 2.6vw, 1.55rem); line-height: 1.15; }
.h4 { font-stretch: 105%; font-size: 1.05rem; line-height: 1.25; font-weight: 750; }
.lead { font-size: clamp(1.1rem, 2.4vw, 1.35rem); line-height: 1.5; color: var(--ink-2); max-width: 38ch; }
.prose { max-width: 66ch; }
.prose p { margin: 0 0 1.05em; }
.prose strong { font-weight: 650; }
.muted { color: var(--ink-2); }
.small { font-size: .9rem; }
.en { color: var(--ink-3); font-style: italic; font-size: .92em; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 11vw, 140px); }
.section--tight { padding-block: clamp(40px, 7vw, 80px); }
.stack > * + * { margin-top: var(--space, 1rem); }
.grid { display: grid; gap: 24px; }
@media (min-width: 900px) {
  :root { --gutter: 40px; --header-h: 76px; }
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
  .grid--split { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .grid--split-r { grid-template-columns: 7fr 5fr; gap: 64px; align-items: start; }
}

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--snow);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 54px; padding: 0 1.4em;
  border: 0; border-radius: var(--r-ctrl);
  background: var(--bg); color: var(--fg);
  font-stretch: 112%; font-weight: 720; font-size: 1rem; letter-spacing: -.005em;
  text-decoration: none; cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn--balise { --bg: var(--balise); --fg: var(--ink); }
.btn--balise:hover { --bg: #ff6d38; }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { --bg: var(--ink); --fg: var(--snow); }
.btn--snow { --bg: var(--snow); --fg: var(--ink); }
.btn--block { width: 100%; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link { font-weight: 650; text-decoration: underline; text-decoration-color: var(--balise); text-decoration-thickness: 2px; }

/* ---------- En-tête ---------- */
.topbar { background: var(--ink); color: var(--snow); font-size: .86rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 38px; }
.topbar a { color: var(--snow); text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--balise); }
.topbar p { margin: 0; }
.topbar .topbar__phone { white-space: nowrap; }
@media (max-width: 599px) { .topbar__msg { display: none; } .topbar .wrap { justify-content: center; } }

.header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--snow) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.header.is-scrolled { border-bottom-color: var(--frost-2); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; line-height: 1; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__name { font-stretch: 122%; font-weight: 820; font-size: 1.02rem; letter-spacing: -.02em; }
.brand__name span { display: block; font-stretch: 100%; font-weight: 500; font-size: .74rem; letter-spacing: .01em; color: var(--ink-3); margin-top: 3px; }

.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav > ul { display: flex; align-items: center; gap: 4px; }
.nav a { display: block; padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: .97rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--frost); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--balise); border-radius: 10px 10px 4px 4px; }
.nav .has-sub { position: relative; }
.nav .sub {
  position: absolute; top: 100%; left: 0; min-width: 300px; padding: 10px;
  background: var(--snow); border: 1px solid var(--frost-2); border-radius: var(--r-card);
  box-shadow: 0 24px 50px -24px rgba(15, 30, 54, .35);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s var(--ease), visibility .18s;
}
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; }
.sub .thumb { width: 64px; height: 48px; border-radius: 9px; overflow: hidden; background: var(--frost); }
.sub .thumb img { width: 100%; height: 100%; object-fit: cover; }
.sub small { display: block; font-weight: 400; color: var(--ink-3); font-size: .82rem; }

.header__actions { display: flex; align-items: center; gap: 8px; }
.header__cta { display: none; }
.burger { width: 46px; height: 46px; border-radius: 12px; border: 0; background: var(--frost); display: grid; place-items: center; cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: transform .2s, background .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); transition: transform .2s; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

.drawer {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--snow);
  padding: 24px var(--gutter) 120px; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.menu-open .drawer { opacity: 1; visibility: visible; transform: none; }
.menu-open { overflow: hidden; }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer > nav > ul > li { border-bottom: 1px solid var(--frost-2); }
.drawer a { display: block; padding: 16px 0; text-decoration: none; font-stretch: 118%; font-weight: 780; font-size: 1.6rem; letter-spacing: -.02em; }
.drawer .sub-m a { font-stretch: 100%; font-weight: 550; font-size: 1.05rem; padding: 8px 0 8px 18px; color: var(--ink-2); }
.drawer .sub-m { padding-bottom: 12px; }
.drawer__contact { margin-top: 28px; display: grid; gap: 10px; }

@media (min-width: 1040px) {
  .nav { display: block; }
  .burger, .drawer { display: none; }
  .header__cta { display: inline-flex; min-height: 46px; }
}

/* ---------- Barre d'action mobile ---------- */
.dock {
  position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 40;
  display: grid; grid-template-columns: auto 1fr; gap: 8px;
  padding: 8px; border-radius: 20px;
  background: var(--ink); box-shadow: 0 18px 40px -12px rgba(15, 30, 54, .55);
  transform: translateY(140%); transition: transform .35s var(--ease);
}
.dock.is-visible { transform: none; }
.dock .btn { min-height: 50px; }
.dock .btn--call { --bg: rgba(255, 255, 255, .1); --fg: var(--snow); padding: 0 16px; }
@media (min-width: 1040px) { .dock { display: none; } }
body.has-dock { padding-bottom: 84px; }
@media (min-width: 1040px) { body.has-dock { padding-bottom: 0; } }

/* ---------- Médias (repli si l'image manque) ---------- */
.media {
  position: relative; overflow: hidden; border-radius: var(--r-media);
  background:
    radial-gradient(120% 80% at 80% 0%, #ffffff 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(160deg, #dfe8ef 0%, #b9cddc 55%, #8fb0c9 100%);
}
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }
.media img.is-broken, .media video.is-broken { visibility: hidden; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(28px, 6vw, 72px); }
.hero__title { max-width: 15ch; font-size: clamp(2.35rem, 9.8vw, 5.4rem); }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .w > span { display: inline-block; }
.hero__foot { display: grid; gap: 22px; margin-top: 26px; }
.hero__frame { margin-top: clamp(28px, 5vw, 56px); position: relative; }
.hero__frame .media { aspect-ratio: 4 / 5; }
.hero__snow { position: absolute; inset: 0; pointer-events: none; }
.hero__pass { position: absolute; left: 14px; bottom: 14px; right: auto; max-width: calc(100% - 28px); }
.hero__sound { position: absolute; right: 14px; top: 14px; }
@media (min-width: 700px) {
  .hero__frame .media { aspect-ratio: 16 / 9; }
}
@media (min-width: 1040px) {
  .hero__title { max-width: 17ch; }
  .hero__foot { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 48px; margin-top: 28px; }
  .hero__frame { margin-top: 36px; }
  .hero__frame .media { aspect-ratio: 21 / 9; }
  .hero__pass { left: 28px; bottom: 28px; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .hero__title .w > span { transform: translateY(108%); animation: rise .85s var(--ease) forwards; animation-delay: calc(var(--i) * 55ms); }
  .js .hero__frame .media { clip-path: inset(8% 6% 0 6% round 28px); animation: unveil 1.2s .25s var(--ease) forwards; }
}
@keyframes rise { to { transform: none; } }
@keyframes unveil { to { clip-path: inset(0 0 0 0 round 28px); } }

.chip-round {
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(15, 30, 54, .55); color: var(--snow); display: grid; place-items: center;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.chip-round svg { width: 20px; height: 20px; }

/* ---------- Forfait (lift pass) ---------- */
.pass {
  --band: var(--balise);
  --notch: 13px;
  --cut: 62%;
  position: relative; display: grid;
  background: var(--snow); color: var(--ink);
  border-radius: var(--r-card);
  box-shadow: 0 1px 0 rgba(15, 30, 54, .05), 0 22px 44px -26px rgba(15, 30, 54, .45);
  -webkit-mask: radial-gradient(circle var(--notch) at 0 var(--cut), #0000 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle var(--notch) at 100% var(--cut), #0000 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle var(--notch) at 0 var(--cut), #0000 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle var(--notch) at 100% var(--cut), #0000 98%, #000) right / 51% 100% no-repeat;
  overflow: hidden;
}
.pass::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 8px; background: var(--band); }
.pass__top { padding: 20px 22px 18px 30px; position: relative; }
.pass__hole { position: absolute; right: 20px; top: 20px; width: 34px; height: 12px; border-radius: 99px; background: var(--frost); box-shadow: inset 0 1px 2px rgba(15, 30, 54, .25); }
.pass__name { font-stretch: 118%; font-weight: 800; font-size: 1.15rem; line-height: 1.1; letter-spacing: -.02em; padding-right: 48px; }
.pass__meta { margin: 6px 0 0; color: var(--ink-2); font-size: .92rem; line-height: 1.4; }
.pass__bottom { padding: 18px 22px 22px 30px; border-top: 2px dashed var(--frost-2); }
.pass__price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pass__price strong { font-stretch: 125%; font-weight: 850; font-size: clamp(2.3rem, 7vw, 3.1rem); line-height: 1; letter-spacing: -.04em; }
.pass__price span { color: var(--ink-2); font-size: .95rem; }
.pass__prices { display: grid; gap: 12px; }
.pass--mini .pass__top { padding: 14px 16px 12px 24px; }
.pass--mini .pass__bottom { padding: 12px 16px 14px 24px; }
.pass--mini .pass__name { font-size: .98rem; padding-right: 40px; }
.pass--mini .pass__hole { width: 26px; height: 9px; right: 14px; top: 16px; }
.pass--mini .pass__price strong { font-size: 1.8rem; }
.pass--glacier { --band: var(--glacier); }
.pass--ink { --band: var(--ink); }
.pass--hero { width: 300px; }
.pass--hero .pass__name { font-size: 1rem; }
.pass__note { margin: 10px 0 0; font-size: .88rem; color: var(--ink-2); }

/* ---------- Faits clés ---------- */
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1.5px solid var(--ink); }
.facts li { padding: 18px 12px 18px 0; border-bottom: 1px solid var(--frost-2); }
.facts li:nth-child(odd) { padding-right: 16px; }
.facts b { display: block; font-stretch: 125%; font-weight: 820; font-size: clamp(1.7rem, 5vw, 2.4rem); line-height: 1; letter-spacing: -.035em; }
.facts span { display: block; margin-top: 6px; color: var(--ink-2); font-size: .93rem; line-height: 1.35; }

/* ---------- Section soirée (bascule jour → nuit) ---------- */
.dusk { position: relative; height: 320vh; --p: 0; }
.dusk__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background: var(--dusk-bg, var(--snow)); color: var(--dusk-fg, var(--ink));
  display: grid; align-items: center;
}
.dusk__sky { position: absolute; inset: 0; pointer-events: none; }
.dusk__sun {
  position: absolute; left: 62%; width: 34vmin; height: 34vmin; border-radius: 50%;
  top: calc(18% + var(--p) * 70%);
  background: radial-gradient(circle at 50% 45%, #fff6e6 0%, #ffc59e 45%, #ff8a5c 100%);
  opacity: calc(1 - var(--p) * 1.15);
  filter: blur(.5px);
}
.dusk__stars { position: absolute; inset: 0 0 35% 0; opacity: calc((var(--p) - .55) * 2.3); }
.dusk__ridge { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 42%; }
.dusk__ridge path { transition: fill .1s linear; }
.dusk__content { position: relative; z-index: 2; padding-block: 90px 40px; }
.dusk__copy { max-width: 560px; }
.dusk__copy p { margin: 0 0 .9em; color: inherit; opacity: .9; }
.dusk__times { list-style: none; margin: 26px 0 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.dusk__times li {
  font-stretch: 120%; font-weight: 800; font-size: clamp(1rem, 3.6vw, 1.35rem); letter-spacing: -.02em;
  padding: 10px 14px; border-radius: 12px; border: 1.5px solid currentColor; opacity: .38;
  transition: opacity .25s, background-color .25s, color .25s, border-color .25s;
}
.dusk__times li.is-on { opacity: 1; background: var(--balise); border-color: var(--balise); color: var(--ink); }
.dusk__clock { font-stretch: 125%; font-weight: 850; font-size: clamp(4.5rem, 22vw, 15rem); line-height: .8; letter-spacing: -.06em; margin: 0 0 18px; font-variant-numeric: tabular-nums; }
.dusk__caption { font-weight: 600; margin: 0 0 18px; }
@media (min-width: 1040px) {
  .dusk__content { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
  .dusk__clock { margin: 0; }
}
@media (max-width: 699px) { .dusk__sun { left: 46%; width: 46vmin; height: 46vmin; } }
@media (prefers-reduced-motion: reduce) {
  .dusk { height: auto; }
  .dusk__sticky { position: relative; height: auto; min-height: 100svh; --p: .85; background: var(--night); color: var(--snow); }
}

/* ---------- Galerie ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 20px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
.rail .media { aspect-ratio: 4 / 5; }
.rail button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--r-media); text-align: left; }
.rail figcaption { margin-top: 10px; font-size: .9rem; color: var(--ink-2); }
@media (min-width: 700px) { .rail { grid-auto-columns: 40%; } }
@media (min-width: 1040px) { .rail { grid-auto-columns: 28%; } }
.rail-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.rail-ctrl { display: none; gap: 8px; }
.rail-ctrl button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; cursor: pointer; display: grid; place-items: center; }
.rail-ctrl button:hover { background: var(--ink); color: var(--snow); }
.rail-ctrl svg { width: 20px; height: 20px; }
@media (min-width: 900px) { .rail-ctrl { display: flex; } }

/* Lightbox */
.lightbox { border: 0; padding: 0; margin: auto; max-width: min(1200px, 94vw); max-height: 90vh; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(15, 30, 54, .88); backdrop-filter: blur(6px); }
.lightbox img, .lightbox video { max-width: min(1200px, 94vw); max-height: 84vh; border-radius: 18px; background: #0f1e36; }
.lightbox__close { position: absolute; top: -56px; right: 0; }

/* ---------- Bloc vidéo ---------- */
.film { position: relative; }
.film .media { aspect-ratio: 16 / 10; }
.film__play {
  position: absolute; inset: 0; display: grid; place-items: center; border: 0; background: transparent; cursor: pointer; border-radius: var(--r-media);
}
.film__play span { width: 86px; height: 86px; border-radius: 50%; background: var(--balise); color: var(--ink); display: grid; place-items: center; transition: transform .2s var(--ease); }
.film__play:hover span { transform: scale(1.06); }
.film__play svg { width: 30px; height: 30px; margin-left: 4px; }

/* ---------- Offre / cartes produit ---------- */
.offer { display: grid; gap: 22px; }
@media (min-width: 900px) { .offer { grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: stretch; } }
.offer__card { border-radius: var(--r-media); background: var(--frost); overflow: hidden; display: grid; text-decoration: none; }
.offer__card .media { border-radius: 0; aspect-ratio: 16 / 11; }
.offer__body { padding: 24px; display: grid; gap: 12px; align-content: start; }
.offer__body p { margin: 0; color: var(--ink-2); }
.offer__price { font-stretch: 120%; font-weight: 800; font-size: 1.1rem; }
.offer__card:hover .h3 { text-decoration: underline; text-decoration-color: var(--balise); text-decoration-thickness: 2px; }

/* ---------- Étapes (séquence réelle de la randonnée) ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 0; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--frost-2); }
.steps li::before { content: counter(step); font-stretch: 125%; font-weight: 850; font-size: 1.6rem; line-height: 1; color: var(--balise-deep); }
.steps strong { display: block; font-stretch: 108%; font-weight: 750; }
.steps p { margin: 4px 0 0; color: var(--ink-2); font-size: .97rem; }

/* ---------- Détails (durée / difficulté / équipement) ---------- */
.details { display: grid; gap: 14px; }
@media (min-width: 900px) { .details { grid-template-columns: repeat(3, 1fr); } }
.detail { padding: 24px; border-radius: var(--r-card); background: var(--frost); }
.detail svg { width: 34px; height: 34px; color: var(--balise-deep); margin-bottom: 14px; }
.detail h3 { margin-bottom: 10px; }
.detail ul { margin: 0; padding-left: 1.1em; color: var(--ink-2); }
.detail p { margin: 0 0 .6em; color: var(--ink-2); }

/* ---------- Fil d'Ariane + en-tête de page ---------- */
.crumbs { font-size: .88rem; color: var(--ink-3); margin-bottom: 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--frost-2); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.pagehead { padding-top: clamp(28px, 6vw, 64px); padding-bottom: clamp(28px, 5vw, 56px); }
.pagehead .display { font-size: clamp(2.1rem, 8.4vw, 5.6rem); max-width: 16ch; }
.pagehead .lead { margin-top: 18px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--frost-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 0; font-stretch: 108%; font-weight: 720; font-size: 1.08rem; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 100% no-repeat; transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 22px; color: var(--ink-2); max-width: 66ch; }
.faq .answer p { margin: 0 0 .7em; }

/* ---------- Formulaires ---------- */
.form { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
.field { display: grid; gap: 7px; }
.field label, .field .label { font-weight: 650; font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--ink-3); font-weight: 400; }
.input, .select, .textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 12px;
  border: 1.5px solid var(--frost-2); background: #fff; font-size: 1rem;
  transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230f1e36' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--glacier); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(143, 176, 201, .35); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--balise-deep); }
.field .err { color: var(--balise-deep); font-size: .86rem; font-weight: 600; display: none; }
.field.has-error .err { display: block; }
.row-2 { display: grid; gap: 18px; }
@media (min-width: 600px) { .row-2 { grid-template-columns: 1fr 1fr; } }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: .95rem; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 16px 18px; border-radius: 12px; font-weight: 600; display: none; }
.form-status.is-ok { display: block; background: #e6f4ec; color: #0d4a2a; }
.form-status.is-err { display: block; background: #fdebe3; color: #7a2408; }
.panel { background: #fff; border: 1px solid var(--frost-2); border-radius: var(--r-media); padding: clamp(20px, 4vw, 40px); box-shadow: 0 30px 60px -40px rgba(15, 30, 54, .35); }

/* Total estimé */
.estimate { margin: 4px 0 0; padding: 16px 18px; border-radius: 14px; background: var(--ink); color: var(--snow); font-size: .95rem; }
.estimate strong { font-stretch: 120%; font-weight: 850; font-size: 1.35rem; letter-spacing: -.02em; white-space: nowrap; }
.field-crew { color: var(--balise-deep); font-size: .86rem; font-weight: 600; margin: -6px 0 0; }
.booking { scroll-margin-top: calc(var(--header-h) + 12px); }

/* ---------- Configurateur carte cadeau ---------- */
.giftcard {
  --band: var(--balise);
  aspect-ratio: 85.6 / 54; width: 100%; max-width: 460px; border-radius: 22px; position: relative; overflow: hidden;
  background:
    radial-gradient(90% 70% at 90% 0%, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(150deg, #f3f7fa 0%, #d6e2ea 60%, #b8ccdb 100%);
  color: var(--ink); box-shadow: 0 30px 60px -30px rgba(15, 30, 54, .55);
  display: grid; grid-template-rows: auto 1fr auto; padding: 22px 24px 20px 30px;
  transform: rotate(-2deg);
}
.giftcard::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 10px; background: var(--band); }
.giftcard__ridge { position: absolute; inset: auto 0 0 0; height: 48%; opacity: .5; }
.giftcard__top { display: flex; justify-content: space-between; align-items: start; position: relative; }
.giftcard__brand { font-stretch: 122%; font-weight: 820; font-size: .92rem; letter-spacing: -.01em; line-height: 1.1; }
.giftcard__brand span { display: block; font-stretch: 100%; font-weight: 500; font-size: .72rem; color: var(--ink-2); }
.giftcard__hole { width: 34px; height: 11px; border-radius: 99px; background: var(--snow); box-shadow: inset 0 1px 2px rgba(15, 30, 54, .3); }
.giftcard__mid { align-self: center; position: relative; }
.giftcard__for { font-size: .78rem; color: var(--ink-2); font-weight: 600; }
.giftcard__name { font-stretch: 118%; font-weight: 820; font-size: clamp(1.2rem, 4.6vw, 1.7rem); line-height: 1.05; letter-spacing: -.02em; overflow-wrap: anywhere; }
.giftcard__msg { font-size: .82rem; color: var(--ink-2); margin-top: 6px; font-style: italic; max-height: 2.6em; overflow: hidden; }
.giftcard__bot { display: flex; justify-content: space-between; align-items: end; position: relative; }
.giftcard__value { font-stretch: 125%; font-weight: 850; font-size: clamp(1.6rem, 6vw, 2.2rem); line-height: 1; letter-spacing: -.04em; }
.giftcard__what { font-size: .78rem; font-weight: 600; text-align: right; color: var(--ink-2); max-width: 55%; line-height: 1.3; }
@media (min-width: 900px) { .gift-sticky { position: sticky; top: calc(var(--header-h) + 24px); } }

/* ---------- Contact ---------- */
.contact-cards { display: grid; gap: 12px; }
.ccard { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 18px; border-radius: var(--r-card); background: var(--frost); text-decoration: none; }
.ccard svg { width: 24px; height: 24px; color: var(--balise-deep); margin-top: 2px; }
.ccard .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--snow); display: grid; place-items: center; }
.ccard strong { display: block; font-weight: 700; }
.ccard span { color: var(--ink-2); font-size: .95rem; }
a.ccard:hover { background: var(--frost-2); }

/* ---------- Plan zoomable ---------- */
.plan { position: relative; }
.plan .media { aspect-ratio: 1024 / 650; cursor: zoom-in; }
.plan figcaption { margin-top: 12px; color: var(--ink-2); font-size: .92rem; }

/* ---------- Bandeau CTA ---------- */
.cta-band { border-radius: var(--r-media); background: var(--ink); color: var(--snow); padding: clamp(28px, 6vw, 72px); position: relative; overflow: hidden; display: grid; gap: 24px; }
.cta-band .h2 { max-width: 16ch; }
.cta-band p { margin: 0; opacity: .82; max-width: 52ch; }
.cta-band__topo { position: absolute; right: -10%; top: -20%; width: 70%; opacity: .22; pointer-events: none; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; align-items: end; } }

/* ---------- Tags / mots-clés ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tags a { display: inline-block; padding: 8px 14px; border-radius: 10px; border: 1.5px solid var(--frost-2); text-decoration: none; font-size: .92rem; font-weight: 600; }
.tags a:hover, .tags a[aria-current="page"] { border-color: var(--ink); }

/* ---------- Tableau ---------- */
.table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.table th, .table td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--frost-2); vertical-align: top; }
.table th { width: 42%; font-weight: 650; padding-right: 16px; }

/* ---------- Contenu juridique ---------- */
.legal { max-width: 74ch; }
.legal h2 { font-stretch: 110%; font-size: 1.25rem; margin: 2.2em 0 .6em; letter-spacing: -.01em; }
.legal h3 { font-size: 1.05rem; margin: 1.6em 0 .5em; }
.legal p, .legal li { color: var(--ink-2); }
.legal p { margin: 0 0 1em; }
.legal dl { margin: 0; }
.legal dt { font-weight: 700; margin-top: 1.4em; }
.legal dd { margin: .4em 0 0; color: var(--ink-2); }

/* ---------- Pied de page ---------- */
.footer { background: var(--frost); margin-top: clamp(64px, 10vw, 120px); padding-block: 56px 28px; position: relative; overflow: hidden; }
.footer__topo { position: absolute; inset: auto -10% -30% auto; width: 80%; opacity: .5; pointer-events: none; color: var(--frost-2); }
.footer__grid { display: grid; gap: 36px; position: relative; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 56px; } }
.footer h2 { font-stretch: 112%; font-size: 1rem; margin-bottom: 14px; letter-spacing: -.005em; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 0 0 8px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__big { font-stretch: 125%; font-weight: 850; font-size: clamp(1.8rem, 6vw, 3rem); line-height: .95; letter-spacing: -.035em; margin: 0 0 16px; }
.partners { display: grid; gap: 16px; }
.partner { display: flex; align-items: center; gap: 12px; }
.partner img { width: 120px; height: 44px; object-fit: contain; object-position: left center; }
.partner img.is-broken { display: none; }
.footer__legal { position: relative; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--frost-2); display: grid; gap: 10px; font-size: .86rem; color: var(--ink-2); }
@media (min-width: 900px) { .footer__legal { grid-template-columns: 1fr auto; } }
.footer__legal p { margin: 0; }
.socials { display: flex; gap: 8px; margin-top: 14px; }
.socials a { width: 44px; height: 44px; border-radius: 12px; background: var(--snow); display: grid; place-items: center; }
.socials svg { width: 20px; height: 20px; }

/* ---------- Divers ---------- */
.notice { padding: 16px 18px; border-radius: 14px; background: var(--frost); font-size: .95rem; color: var(--ink-2); }
.notice strong { color: var(--ink); }
.split-media .media { aspect-ratio: 4 / 5; }
@media (min-width: 900px) { .split-media .media { aspect-ratio: 5 / 6; } }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; }
.mb-2 { margin-bottom: 24px; } .mb-3 { margin-bottom: 40px; }
.center-y { align-self: center; }
hr.rule { border: 0; border-top: 1px solid var(--frost-2); margin: 0; }
.err-404 .display { font-size: clamp(5rem, 30vw, 16rem); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .header, .topbar, .dock, .footer, .drawer, .btn { display: none !important; }
}

/* Correctifs de spécificité */
a.pass { text-decoration: none; color: var(--ink); }
a.pass:hover .pass__name { text-decoration: underline; text-decoration-color: var(--balise); text-decoration-thickness: 2px; }
.pass.hero__pass { position: absolute; }
.dusk__clock { white-space: nowrap; font-size: clamp(3.6rem, 17vw, 10.5rem); }
@media (max-width: 1039px) {
  .dusk__content { padding-block: 20px 100px; }
  .dusk__copy p { font-size: .97rem; line-height: 1.5; }
  .dusk__copy .h2 { font-size: clamp(1.6rem, 6.4vw, 2.4rem); }
  .dusk__times li { padding: 8px 11px; }
  .dusk__clock { margin-bottom: 10px; }
}
:where(.grid) { grid-template-columns: minmax(0, 1fr); }
.grid > *, .panel, .form, .field { min-width: 0; }
.check .err { display: none; color: var(--balise-deep); font-size: .86rem; font-weight: 600; }
.check.has-error .err { display: block; }
.check.has-error input { outline: 2px solid var(--balise-deep); outline-offset: 2px; }
.pass__price strong { white-space: nowrap; }
@media (max-width: 420px) { .panel { padding: 18px 14px; } }
.giftcard { margin-bottom: 14px; }
/* Étapes de la soirée (texte plutôt qu'heures) */
.dusk__times li { font-stretch: 104%; font-weight: 720; font-size: clamp(.84rem, 2.4vw, 1rem); letter-spacing: -.005em; padding: 9px 12px; }

/* ---------- Médias livrés (photos larges issues du film) ---------- */
.rail .media { aspect-ratio: 4 / 3; }
.split-media .media { aspect-ratio: 3 / 2; }
@media (min-width: 900px) { .split-media .media { aspect-ratio: 3 / 2; } }
.film .media { aspect-ratio: 20 / 9; }
.film .media video { pointer-events: none; }
.film__play { background: linear-gradient(0deg, rgba(15, 30, 54, .25), rgba(15, 30, 54, 0)); }
.hero__film {
  position: absolute; right: 14px; top: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px 0 6px;
  border: 0; border-radius: 99px; cursor: pointer;
  background: rgba(15, 30, 54, .62); color: var(--snow);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-stretch: 110%; font-weight: 720; font-size: .95rem;
  transition: background-color .18s;
}
.hero__film:hover { background: rgba(15, 30, 54, .82); }
.hero__film-ico { width: 34px; height: 34px; border-radius: 50%; background: var(--balise); color: var(--ink); display: grid; place-items: center; }
.hero__film-ico svg { width: 14px; height: 14px; margin-left: 2px; }
@media (min-width: 1040px) { .hero__film { right: 28px; top: 28px; } }
