/* home.bundle.css : généré par build.py, ne pas éditer (sources : scrollcraft.css, tokens.css, site.css, home.css) */
/* ============================================================================
   scrollcraft.css: the taste floor
   ----------------------------------------------------------------------------
   Two layers, and the split matters:

     TOKENS   what you override per brand. Colour roles, the type ramp, the
              spacing scale, elevation, motion. A brand is ~12 values.
     DEVICES  what the engine drives. Do not restyle these to taste; they are
              the mechanism. Style your own markup instead.

   Nothing here draws a "component". There are no card, badge, or pill classes,
   because a stylesheet that ships those is how every page built on it ends up
   with the same shapes. You get a floor and a vocabulary; the composition is
   yours.
   ========================================================================== */

/* ---------------------------------------------------------------- tokens -- */
:root {
  /* --- colour roles. Override these six and the page is rebranded. -------- */
  --sc-canvas:      #08090b;   /* the page ground. Drift interpolates this.   */
  --sc-surface:     #101217;   /* anything raised off the ground             */
  --sc-ink:         #f4f2ef;   /* primary text                               */
  --sc-ink-soft:    #9a9ba1;   /* secondary text. Tinted, never flat gray.   */
  --sc-accent:      #d8ff3e;   /* ONE accent. It owns a region, not confetti. */
  --sc-accent-ink:  #08090b;   /* text that sits on the accent               */

  --sc-hairline:    color-mix(in oklab, var(--sc-ink) 12%, transparent);
  --sc-hairline-strong: color-mix(in oklab, var(--sc-ink) 22%, transparent);

  /* --- type. Two families max. Display carries voice, text carries prose. - */
  --sc-font-display: "Instrument Sans", "Geist", system-ui, sans-serif;
  --sc-font-text:    "Geist", system-ui, sans-serif;
  --sc-font-mono:    "Geist Mono", ui-monospace, monospace;

  /* Fluid ramp. Tracking tightens as size grows because a face set at 6rem
     with 0 tracking reads loose; this is optical correction, not decoration. */
  --sc-t-xs:   clamp(0.75rem, 0.72rem + 0.15vw, 0.82rem);
  --sc-t-sm:   clamp(0.875rem, 0.84rem + 0.18vw, 0.95rem);
  --sc-t-base: clamp(1rem, 0.96rem + 0.22vw, 1.125rem);
  --sc-t-lg:   clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --sc-t-xl:   clamp(1.6rem, 1.35rem + 1.2vw, 2.25rem);
  --sc-t-2xl:  clamp(2.1rem, 1.6rem + 2.4vw, 3.4rem);
  --sc-t-3xl:  clamp(2.8rem, 1.9rem + 4.2vw, 5rem);
  --sc-t-4xl:  clamp(3.4rem, 1.9rem + 6.6vw, 7.5rem);

  --sc-track-tight:  -0.035em;
  --sc-track-snug:   -0.02em;
  --sc-track-normal: -0.005em;
  --sc-track-wide:    0.08em;

  --sc-leading-none: 0.94;
  --sc-leading-tight: 1.06;
  --sc-leading-body: 1.62;

  --sc-measure: 62ch;

  /* --- space. 4px base: the useful middle steps an 8-only scale misses. --- */
  --sc-1: 0.25rem;  --sc-2: 0.5rem;   --sc-3: 0.75rem;  --sc-4: 1rem;
  --sc-5: 1.5rem;   --sc-6: 2rem;     --sc-7: 3rem;     --sc-8: 4rem;
  --sc-9: 6rem;     --sc-10: 8rem;    --sc-11: 12rem;

  /* Section rhythm is fluid so a phone doesn't inherit desktop air. */
  --sc-section: clamp(4.5rem, 9vw, 11rem);
  --sc-gutter:  clamp(1.25rem, 5vw, 5.5rem);
  --sc-maxw:    82rem;

  /* --- radius. Pick one scale for the page and hold it. ------------------- */
  --sc-r-sm: 6px;  --sc-r-md: 12px;  --sc-r-lg: 20px;  --sc-r-pill: 999px;

  /* --- elevation. Every shadow has an offset AND a soft blur, and is tinted
         to the canvas hue. A zero-offset coloured halo is decoration, not
         depth, so there isn't one here. ---------------------------------- */
  --sc-shadow-color: 220 40% 2%;
  --sc-e1: 0 1px 2px hsl(var(--sc-shadow-color) / 0.28),
           0 2px 6px -1px hsl(var(--sc-shadow-color) / 0.20);
  --sc-e2: 0 2px 4px hsl(var(--sc-shadow-color) / 0.24),
           0 8px 18px -4px hsl(var(--sc-shadow-color) / 0.30);
  --sc-e3: 0 4px 8px hsl(var(--sc-shadow-color) / 0.22),
           0 18px 40px -8px hsl(var(--sc-shadow-color) / 0.38),
           0 48px 90px -24px hsl(var(--sc-shadow-color) / 0.30);

  /* Edge light: a 1px top highlight sells a raised surface better than any
     amount of blur, because real raised things catch light on their lip. */
  --sc-edge: inset 0 1px 0 color-mix(in oklab, var(--sc-ink) 10%, transparent);

  /* --- motion. Built-in CSS easings are too weak for UI. ------------------ */
  --sc-ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
  --sc-ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --sc-ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --sc-d-fast: 160ms;  --sc-d-base: 240ms;  --sc-d-slow: 420ms;

  --sc-z-stage: 1; --sc-z-copy: 20; --sc-z-chrome: 60;
}

/* --------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--sc-canvas);
  color: var(--sc-ink);
  font-family: var(--sc-font-text);
  font-size: var(--sc-t-base);
  line-height: var(--sc-leading-body);
  letter-spacing: var(--sc-track-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-synthesis-weight: none;
  overflow-x: clip;
}
img, video, canvas, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }

/* ------------------------------------------------- the browser surfaces --
   The parts you did not draw still carry the design. Selection, caret, focus
   ring, scrollbar and tabular numerals all ship with defaults that belong to no
   design system. Theming them is the cheapest signal that a page was built
   rather than assembled, and it is the step that gets skipped most reliably. */
::selection { background: var(--sc-accent); color: var(--sc-accent-ink); }
:root { caret-color: var(--sc-accent); accent-color: var(--sc-accent); }
:focus-visible {
  outline: 2px solid var(--sc-accent);
  outline-offset: 3px;
  border-radius: var(--sc-r-sm);
}
:where(a) { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
@supports (scrollbar-color: auto) {
  html { scrollbar-color: color-mix(in oklab, var(--sc-ink) 26%, transparent) transparent; scrollbar-width: thin; }
}
:where(table, .sc-nums, [data-sc-count]) { font-variant-numeric: tabular-nums; }

/* ----------------------------------------------------------- typography -- */
.sc-display {
  font-family: var(--sc-font-display);
  font-weight: 500;
  line-height: var(--sc-leading-none);
  letter-spacing: var(--sc-track-tight);
  text-wrap: balance;
  margin: 0;
}
.sc-display--xl { font-size: var(--sc-t-4xl); }
.sc-display--lg { font-size: var(--sc-t-3xl); }
.sc-display--md { font-size: var(--sc-t-2xl); letter-spacing: var(--sc-track-snug); }
.sc-lede {
  font-size: var(--sc-t-lg);
  line-height: 1.44;
  letter-spacing: var(--sc-track-snug);
  color: var(--sc-ink);
  max-width: 46ch;
  text-wrap: pretty;
  margin: 0;
}
.sc-body { max-width: var(--sc-measure); color: var(--sc-ink-soft); text-wrap: pretty; margin: 0; }
.sc-label {
  font-family: var(--sc-font-mono);
  font-size: var(--sc-t-xs);
  letter-spacing: var(--sc-track-wide);
  text-transform: uppercase;
  color: var(--sc-ink-soft);
}

/* ---------------------------------------------------------------- layout -- */
.sc-wrap { width: 100%; max-width: var(--sc-maxw); margin-inline: auto; padding-inline: var(--sc-gutter); }
.sc-section { padding-block: var(--sc-section); }
/* More space above a heading than below it: the gap belongs to the boundary,
   not to the pair. */
.sc-stack > * + * { margin-top: var(--sc-4); }
.sc-stack > :is(h1,h2,h3) { margin-top: var(--sc-7); }
.sc-stack > :is(h1,h2,h3):first-child { margin-top: 0; }
.sc-rule { height: 1px; border: 0; background: var(--sc-hairline); margin: 0; }

/* =============================================================== DEVICES ==
   Driven by the engine. Restyle your own markup, not these.                */

.sc-act--pinned { position: relative; }
.sc-stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: clip;
  z-index: var(--sc-z-stage);
}

/* scrub / sequence media */
.sc-stage :is(video[data-sc-scrub], canvas[data-sc-sequence], .sc-stage__poster) {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
video[data-sc-scrub] { opacity: 0; transition: opacity 380ms var(--sc-ease-out); }
.sc-has-clip video[data-sc-scrub] { opacity: 1; }
/* The poster is a live frame-holder, not a placeholder: it stays up until a
   real video frame has painted, which is what stops the blank-stage flash. */
.sc-stage__poster { z-index: 0; transition: opacity 380ms var(--sc-ease-out); }
.sc-has-clip .sc-stage__poster { opacity: 0; }

/* A scrim only where text sits. A full-frame darkening layer flattens the
   image everywhere to fix contrast in one corner. */
.sc-scrim {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(
    var(--sc-scrim-angle, 180deg),
    color-mix(in oklab, var(--sc-canvas) var(--sc-scrim-a, 78%), transparent) 0%,
    color-mix(in oklab, var(--sc-canvas) 30%, transparent) 42%,
    transparent 68%);
}
/* Point the scrim at the copy. A scrim gradient that darkens the top while the
   copy sits at the bottom fixes contrast nowhere and flattens the image
   everywhere, which is the most common way text-over-video goes wrong. */
.sc-scrim--bottom { --sc-scrim-angle: 0deg; }
.sc-scrim--left   { --sc-scrim-angle: 90deg; }
.sc-scrim--right  { --sc-scrim-angle: 270deg; }

/* Corner scrims, for copy anchored to a corner. An edge gradient has to darken
   a whole band across the frame to cover one corner; a corner gradient puts the
   density where the text is and leaves the rest of the image alone. Pair with
   .sc-copy--lead / .sc-copy--trail. */
.sc-scrim--lead {
  background: linear-gradient(to top right,
    color-mix(in oklab, var(--sc-canvas) 94%, transparent) 0%,
    color-mix(in oklab, var(--sc-canvas) 72%, transparent) 30%,
    color-mix(in oklab, var(--sc-canvas) 30%, transparent) 52%,
    transparent 72%);
}
.sc-scrim--trail {
  background: linear-gradient(to top left,
    color-mix(in oklab, var(--sc-canvas) 94%, transparent) 0%,
    color-mix(in oklab, var(--sc-canvas) 72%, transparent) 30%,
    color-mix(in oklab, var(--sc-canvas) 30%, transparent) 52%,
    transparent 72%);
}
/* A band across the bottom, for copy that spans the full width of the frame.
   That is what both corner anchors become below 860px, and it is also the right
   shape whenever the copy block is wider than a corner. */
.sc-scrim--band {
  background: linear-gradient(to top,
    color-mix(in oklab, var(--sc-canvas) 94%, transparent) 0%,
    color-mix(in oklab, var(--sc-canvas) 74%, transparent) 22%,
    color-mix(in oklab, var(--sc-canvas) 30%, transparent) 42%,
    transparent 58%);
}
.sc-scrim--vignette {
  background: radial-gradient(120% 90% at 50% 45%, transparent 40%,
              color-mix(in oklab, var(--sc-canvas) 70%, transparent) 100%);
}

/* copy over a stage.
   max-width is in rem, never ch. A `ch` on this container resolves against the
   CONTAINER's font-size (body size), not the display size of the heading inside
   it, so `max-width: 20ch` here silently produces a ~180px column and wraps a
   hero headline to six lines. Set a ch measure on the text element itself. */
.sc-copy {
  position: absolute; z-index: var(--sc-z-copy);
  inset-inline: var(--sc-gutter);
  max-width: min(46rem, 76vw);
  will-change: opacity, transform;
}
.sc-copy--lead   { left: var(--sc-gutter); bottom: clamp(3rem, 12vh, 9rem); }
/* inset-inline FIRST. It is the shorthand for left+right, so declaring it after
   `left: 50%` resets left to auto and the block drifts off the left edge. */
.sc-copy--center { inset-inline: auto; left: 50%; top: 50%; translate: -50% -50%; text-align: center; }
.sc-copy--trail  { inset-inline: auto; right: var(--sc-gutter); bottom: clamp(3rem, 12vh, 9rem); text-align: right; }

/* cue defaults: the engine writes opacity/transform inline, these are the
   pre-paint state so nothing flashes before the first read() */
[data-sc-cue] { opacity: 0; will-change: opacity, transform; }
.sc-ready [data-sc-cue] { transition: none; }

/* kinetic split */
.sc-split { display: inline-block; overflow: hidden; vertical-align: top; }
/* Descenders live below the baseline; a line mask clipped to the line box eats
   the tails off g, y, p, j. The padding buys them room back. */
.sc-split--line { display: block; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.sc-split__i { display: inline-block; will-change: transform, opacity; }
.sc-is-split { opacity: 1 !important; }

/* horizontal rail */
[data-sc-pan] { display: flex; will-change: transform; }

/* reveal + parallax */
[data-sc-reveal] { will-change: clip-path; }
[data-sc-parallax] { will-change: transform; }

/* flow reveal (fires once) */
[data-sc-in], [data-sc-stagger] > * {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition: opacity 620ms var(--sc-ease-out), transform 620ms var(--sc-ease-out);
}
[data-sc-in].sc-in, [data-sc-stagger] > .sc-in { opacity: 1; transform: none; }

/* pointer devices */
[data-sc-tilt] { transform-style: preserve-3d; will-change: transform; }
[data-sc-magnet] { will-change: transform; }
/* isolation always; position only if nothing more specific already set it.
   Written with :where() (zero specificity) on purpose: a plain `position:
   relative` here has the same weight as `.sc-stage` and, being later in the
   file, silently wins. A stage carrying both attributes then stops being
   sticky and the whole act scrolls away instead of pinning. */
[data-sc-spotlight] { isolation: isolate; }
:where([data-sc-spotlight]) { position: relative; }
[data-sc-spotlight]::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: radial-gradient(
    28rem 28rem at calc(var(--sc-mx, 0.5) * 100%) calc(var(--sc-my, 0.5) * 100%),
    color-mix(in oklab, var(--sc-accent) 16%, transparent), transparent 70%);
  opacity: 0; transition: opacity var(--sc-d-slow) var(--sc-ease-out);
}
[data-sc-spotlight]:hover::after { opacity: 1; }

/* =========================================================== WORLDFLIGHT ==
   One fixed stage for the whole page. The only thing in document flow is the
   spacer, and it is empty. If you find yourself adding a section here, you want
   act mode instead: the moment a real block scrolls past the fixed stage, the
   page has a seam again and the whole point is gone.                        */

[data-sc-mode="worldflight"] { position: relative; }

.sc-world {
  position: fixed; inset: 0;
  overflow: clip;
  z-index: var(--sc-z-stage);
  background: var(--sc-canvas);
}

/* Every leg is mounted for the life of the page and stacked in the same box.
   The engine owns opacity, visibility and z-index here; do not set them. */
.sc-world__seg {
  position: absolute; inset: 0;
  opacity: 0;
  will-change: opacity;
}
.sc-world__seg > :is(video, img, canvas) {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
/* The poster is the frame-holder AND the first camera move: the engine pushes
   it in slowly until a real decoded frame is available to replace it. */
.sc-world__poster {
  z-index: 0;
  transform-origin: 50% 50%;
  transition: opacity 420ms var(--sc-ease-out);
}
.sc-world__seg > video { z-index: 1; }
.sc-world__seg.sc-has-clip .sc-world__poster { opacity: 0; }
/* The act stylesheet lights a clip through its ancestor act. A worldflight leg
   has no act, so match the class the engine also writes on the clip itself. */
video[data-sc-scrub].sc-has-clip { opacity: 1; }

/* The copy layer is fixed too, and inert by default: the engine hands
   pointer-events back to a block only while it is actually legible. */
.sc-world__copy {
  position: fixed; inset: 0;
  z-index: var(--sc-z-copy);
  pointer-events: none;
}
.sc-world__scrim { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
[data-sc-copy] {
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
}
.sc-ready [data-sc-copy] { transition: none; }

/* The track. Empty on purpose. */
.sc-world__spacer { pointer-events: none; }

/* scroll progress */
[data-sc-progress] {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: var(--sc-z-chrome);
  background: var(--sc-accent); transform-origin: 0 50%; transform: scaleX(0);
  will-change: transform;
}

/* ----------------------------------------------------------- atmosphere --
   Depth is not only shadow. Grain keeps a flat dark ground from banding, and
   it is the difference between "a dark page" and "a lit room". */
.sc-grain { position: fixed; inset: 0; pointer-events: none; z-index: 3; opacity: 0.045; }
.sc-grain::before {
  content: ""; position: absolute; inset: -50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/></filter><rect width='140' height='140' filter='url(%23n)'/></svg>");
}

/* -------------------------------------------------------- reduced motion -- */
@media (prefers-reduced-motion: reduce) {
  /* Fewer and gentler, not zero. Opacity still carries the reveal so the page
     is comprehensible; every position change is dropped. */
  [data-sc-in], [data-sc-stagger] > * { transform: none; transition-duration: 220ms; }
  [data-sc-parallax], [data-sc-pan], .sc-split__i { transform: none !important; }
  /* A wipe is a position change too. Show reveal content settled. */
  [data-sc-reveal] { clip-path: none !important; }
  /* A rail's transform IS its navigation, not decoration. Zeroing it the way
     parallax and kinetic type are zeroed parks the act on its first screenful
     and makes everything past the fold unreachable: a device degrading into
     missing content. Hand the travel back to the reader as an ordinary scroll
     region instead, so the same items are all still gettable without motion.
     A build that would rather re-lay the rail out as a grid can still do that;
     this is the floor, not the ceiling. */
  [data-sc-act="pan"] .sc-stage,
  [data-sc-act="pan"] [data-sc-stage] {
    overflow-x: auto; overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
  }
  [data-sc-pan] > * { scroll-snap-align: center; }
  [data-sc-spotlight]::after { display: none; }
  /* A worldflight keeps its whole story here. No clip is ever fetched, so the
     posters are the film, and they cross-dissolve through exactly the same
     seams at exactly the same scroll positions. The push-in and the copy drift
     are the only things that go. */
  .sc-world__poster, [data-sc-copy] { transform: none !important; }
}

/* --------------------------------------------------------------- mobile -- */
@media (max-width: 860px) {
  .sc-copy { inset-inline: var(--sc-gutter); max-width: none; }
  .sc-copy--trail { text-align: left; }
  .sc-stage { height: 100svh; }
  /* .sc-copy--trail re-anchors to the left and spans the full width here, so a
     bottom-RIGHT corner gradient darkens the one corner the copy just left and
     guarantees a contrast failure over any bright clip. Point the density at
     the copy: the same band .sc-scrim--band paints. */
  .sc-scrim--trail {
    background: linear-gradient(to top,
      color-mix(in oklab, var(--sc-canvas) 94%, transparent) 0%,
      color-mix(in oklab, var(--sc-canvas) 74%, transparent) 22%,
      color-mix(in oklab, var(--sc-canvas) 30%, transparent) 42%,
      transparent 58%);
  }
}

/* ==========================================================================
   SOLAZMAGIC : tokens de design
   --------------------------------------------------------------------------
   Source unique des couleurs, polices, tailles et espacements du site.
   Toutes les pages (accueil, villes, prestations, articles) chargent ce
   fichier en premier. Changer une valeur ici la change partout.

   Direction : "salle de spectacle". Noir aubergine de salle éteinte, rouge
   velours du rideau, blanc os des projecteurs, violet des fumées de scène.
   Une seule couleur d'accent : le rouge projecteur.
   ========================================================================== */

/* --------------------------------------------------------------- polices -- */
@font-face {
  font-family: "Big Shoulders Display";
  src: url("../fonts/big-shoulders-display-latin-800-normal.woff2") format("woff2");
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Big Shoulders Display";
  src: url("../fonts/big-shoulders-display-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}

:root {
  /* ------------------------------------------------ palette (valeurs brutes) */
  --sz-nuit:        #120810;  /* salle éteinte : fond principal              */
  --sz-velours:     #240c16;  /* surfaces surélevées sur fond sombre         */
  --sz-velours-2:   #331019;  /* surface plus claire (champs de formulaire)  */
  --sz-rideau:      #8f1222;  /* rouge du rideau (décor, jamais du texte)    */
  --sz-rideau-ombre:#4a0610;  /* creux des plis du rideau                    */
  --sz-fumee:       #1a0b26;  /* violet des fumées : fond du final           */
  --sz-os:          #f6ece6;  /* blanc os : texte sur fond sombre            */
  --sz-os-doux:     #cdb6b7;  /* texte secondaire sur fond sombre (teinté)   */
  --sz-projecteur:  #ff4a3d;  /* L'accent. Boutons, liens actifs, focus.     */
  --sz-projecteur-fonce: #b0141f; /* même teinte, version fond clair         */
  --sz-programme:   #f2eeea;  /* papier du programme : la salle se rallume   */
  --sz-programme-2: #e7e0da;  /* filets et surfaces sur fond clair           */
  --sz-encre-salle: #1d0d14;  /* texte sur fond clair                        */
  --sz-encre-douce: #5b4249;  /* texte secondaire sur fond clair (teinté)    */
  --sz-carte:       #fbf7f2;  /* face des cartes à jouer                     */

  /* ------------------------------------------- rôles (ce que le CSS utilise) */
  --bg:        var(--sz-nuit);
  --surface:   var(--sz-velours);
  --ink:       var(--sz-os);
  --ink-soft:  var(--sz-os-doux);
  --accent:    var(--sz-projecteur);
  --accent-ink:#1a0609;
  --hairline:  color-mix(in oklab, var(--ink) 14%, transparent);

  /* -------------------------------------------------------- typographie -- */
  --font-display: "Big Shoulders Display", "Arial Narrow", system-ui, sans-serif;
  --font-text:    "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --t-xs:   clamp(0.78rem, 0.75rem + 0.15vw, 0.86rem);
  --t-sm:   clamp(0.9rem, 0.86rem + 0.18vw, 0.98rem);
  --t-base: clamp(1.02rem, 0.98rem + 0.22vw, 1.14rem);
  --t-lg:   clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --t-xl:   clamp(1.7rem, 1.4rem + 1.3vw, 2.5rem);
  --t-2xl:  clamp(2.4rem, 1.8rem + 2.8vw, 4rem);
  --t-3xl:  clamp(3rem, 2rem + 4.6vw, 6rem);
  --t-4xl:  clamp(3.4rem, 1.6rem + 7.4vw, 8.6rem);

  --track-display: -0.01em;   /* police condensée : ne pas trop serrer       */
  --track-caps:     0.12em;   /* petites capitales, étiquettes               */
  --leading-display: 0.92;
  --leading-body:    1.65;
  --measure: 64ch;

  /* ---------------------------------------------------------- espacements -- */
  --s-1: 0.25rem; --s-2: 0.5rem;  --s-3: 0.75rem; --s-4: 1rem;
  --s-5: 1.5rem;  --s-6: 2rem;    --s-7: 3rem;    --s-8: 4rem;
  --s-9: 6rem;    --s-10: 8rem;   --s-11: 12rem;
  --section: clamp(4rem, 9vw, 10rem);
  --gutter:  clamp(1rem, 5vw, 5.5rem);   /* 16 px de marge sur mobile        */
  --maxw:    80rem;

  /* --------------------------------------------------------------- formes -- */
  --r-sm: 4px;  --r-md: 10px;  --r-carte: 12px;

  /* ------------------------------------------------------------- ombres -- */
  --shadow-color: 335 60% 3%;
  --e1: 0 1px 2px hsl(var(--shadow-color) / 0.3), 0 3px 8px -2px hsl(var(--shadow-color) / 0.25);
  --e2: 0 2px 4px hsl(var(--shadow-color) / 0.26), 0 10px 22px -6px hsl(var(--shadow-color) / 0.36);
  --e3: 0 4px 8px hsl(var(--shadow-color) / 0.24), 0 22px 46px -10px hsl(var(--shadow-color) / 0.45);

  /* ------------------------------------------------------------ mouvement -- */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --d-fast: 150ms; --d-base: 240ms;

  /* ------------------------------------- pont vers le moteur scroll-craft -- */
  --sc-canvas: var(--sz-nuit);
  --sc-surface: var(--sz-velours);
  --sc-ink: var(--sz-os);
  --sc-ink-soft: var(--sz-os-doux);
  --sc-accent: var(--sz-projecteur);
  --sc-accent-ink: #1a0609;
  --sc-font-display: var(--font-display);
  --sc-font-text: var(--font-text);
  --sc-gutter: var(--gutter);
  --sc-shadow-color: var(--shadow-color);
}

/* ==========================================================================
   SOLAZMAGIC : feuille commune à toutes les pages
   --------------------------------------------------------------------------
   Charger après tokens.css. Contient : base, en-tête, pied de page, boutons,
   formulaire, sections claires, et .prose pour les pages de contenu longues
   (articles, pages villes, pages prestations).
   Aucune dépendance au moteur scroll-craft : une page intérieure peut
   charger uniquement tokens.css + site.css.
   ========================================================================== */

/* ------------------------------------------------------------------ base -- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--t-base);
  line-height: var(--leading-body);
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:root { caret-color: var(--accent); accent-color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--r-sm); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
@supports (scrollbar-color: auto) {
  html { scrollbar-color: color-mix(in oklab, var(--ink) 28%, transparent) var(--bg); scrollbar-width: thin; }
}

.sr-only {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute; left: var(--gutter); top: -4rem; z-index: 100;
  background: var(--accent); color: var(--accent-ink); padding: var(--s-2) var(--s-4);
  border-radius: var(--r-sm); font-weight: 600; text-decoration: none;
}
.skip:focus { top: var(--s-3); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ----------------------------------------------------------- typographie -- */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: var(--leading-display);
  letter-spacing: var(--track-display);
  text-transform: uppercase;
  text-wrap: balance;
  margin: 0;
}
.display--xl { font-size: var(--t-4xl); }
.display--lg { font-size: var(--t-3xl); }
.display--md { font-size: var(--t-2xl); }
.display--sm { font-size: var(--t-xl); line-height: 1; }
.lede { font-size: var(--t-lg); line-height: 1.45; max-width: 44ch; text-wrap: pretty; margin: 0; }
.body { max-width: var(--measure); color: var(--ink-soft); text-wrap: pretty; margin: 0; }
.etiquette {
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--t-sm); letter-spacing: var(--track-caps); text-transform: uppercase;
  color: var(--ink-soft); margin: 0;
}

/* -------------------------------------------------------------- boutons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 0 var(--s-5);
  border: 0; border-radius: var(--r-sm);
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  white-space: nowrap; cursor: pointer;
  box-shadow: var(--e1);
  transition: transform var(--d-fast) var(--ease-out), background-color var(--d-fast) var(--ease-out);
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: color-mix(in oklab, var(--accent) 86%, white); }
}
.btn--fantome {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--ink) 45%, transparent);
}
@media (hover: hover) and (pointer: fine) {
  .btn--fantome:hover { background: color-mix(in oklab, var(--ink) 10%, transparent); }
}
.lien-fleche { font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }

/* -------------------------------------------------------------- en-tête -- */
.entete {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  color: var(--sz-os);
  transition: background-color var(--d-base) var(--ease-out), box-shadow var(--d-base) var(--ease-out);
  background: linear-gradient(to bottom, color-mix(in oklab, var(--sz-nuit) 80%, transparent), transparent);
}
.entete.est-colle { background: color-mix(in oklab, var(--sz-nuit) 94%, transparent); box-shadow: 0 1px 0 var(--hairline); }
.entete__in {
  display: flex; align-items: center; gap: var(--s-5);
  max-width: none; margin: 0; padding: var(--s-3) var(--gutter);
  min-height: 4.25rem;
}
.entete__marque { display: block; flex: none; text-decoration: none; color: var(--sz-os); }
.entete__marque svg { width: 9.5rem; height: auto; }
.entete__nav { margin-left: auto; }
.entete__nav ul { display: flex; gap: clamp(var(--s-3), 1.6vw, var(--s-6)); list-style: none; margin: 0; padding: 0; }
.entete__nav a {
  display: inline-block; padding: var(--s-2) 0;
  font-family: var(--font-display); font-weight: 600; font-size: 1.12rem;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  color: color-mix(in oklab, var(--sz-os) 86%, transparent);
  transition: color var(--d-fast) var(--ease-out);
}
.entete__nav a[aria-current="page"] { color: var(--sz-os); box-shadow: inset 0 -2px 0 var(--accent); }
@media (hover: hover) and (pointer: fine) { .entete__nav a:hover { color: var(--sz-os); } }
.entete__cta { min-height: 42px; padding: 0 var(--s-4); font-size: 1.05rem;
  /* contour : le rouge plein est réservé au hero et au formulaire */
  background: transparent; color: var(--sz-os); box-shadow: inset 0 0 0 1px rgb(246 236 230 / 0.6); }
@media (hover: hover) and (pointer: fine) { .entete__cta:hover { background: rgb(246 236 230 / 0.1); } }
/* sur l'accueil, la barre reste transparente tant que le lever de rideau est à l'écran */
.entete.sur-lever { background: linear-gradient(to bottom, rgb(18 8 16 / 0.7), transparent); box-shadow: none; }
.entete__langue {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 42px; padding: 0 var(--s-2);
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  color: color-mix(in oklab, var(--sz-os) 86%, transparent);
  border-radius: 999px; box-shadow: inset 0 0 0 1px rgb(246 236 230 / 0.28);
}
@media (hover: hover) and (pointer: fine) { .entete__langue:hover { color: var(--sz-os); box-shadow: inset 0 0 0 1px rgb(246 236 230 / 0.6); } }
.entete__menu { display: none; }

@media (max-width: 960px) {
  .entete__langue { min-height: 40px; min-width: 40px; font-size: 0.98rem; }
  .entete__in { gap: var(--s-3); min-height: 3.75rem; padding-block: var(--s-2); }
  .entete__marque svg { width: 7.6rem; }
  .entete__cta { margin-left: auto; min-height: 40px; padding: 0 var(--s-3); font-size: 0.98rem; }
  .entete__menu {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 44px; min-height: 44px; padding: 0 var(--s-2);
    background: none; border: 0; cursor: pointer;
    font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
    letter-spacing: 0.08em; text-transform: uppercase; color: var(--sz-os);
  }
  /* sans JavaScript, la navigation reste visible sous la barre */
  .entete__nav { order: 9; width: 100%; margin: 0; }
  .entete__in { flex-wrap: wrap; }
  .js .entete__nav { display: none; }
  .js .entete.menu-ouvert .entete__nav { display: block; }
  .entete__nav ul { flex-direction: column; gap: 0; padding-bottom: var(--s-4); }
  .entete__nav a { display: block; padding: var(--s-3) 0; font-size: 1.5rem; border-top: 1px solid var(--hairline); }
  .js .entete.menu-ouvert { background: var(--sz-nuit); }
}
@media (min-width: 961px) { .entete__menu { display: none; } }
/* langue : pastille dans la barre, ou ligne du menu sur petit écran (la barre déborderait) */
.nav-langue { display: none; }
@media (max-width: 480px) {
  .entete__langue { display: none; }
  .nav-langue { display: block; }
}

/* ------------------------------------------------------ section claire --
   "La salle se rallume" : fond papier, encre sombre. On redéclare color sur
   le sous-arbre, sinon le texte garde l'encre claire héritée du body. */
.sol-clair {
  --bg: var(--sz-programme);
  --surface: var(--sz-programme-2);
  --ink: var(--sz-encre-salle);
  --ink-soft: var(--sz-encre-douce);
  --accent: var(--sz-projecteur-fonce);
  --accent-ink: #fff6f2;
  --hairline: color-mix(in oklab, var(--sz-encre-salle) 16%, transparent);
  background: var(--bg);
  color: var(--ink);
}

/* ---------------------------------------------------------- formulaire -- */
.form { display: grid; gap: var(--s-4); }
.form__ligne { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.champ { display: grid; gap: var(--s-2); }
.champ label { font-size: var(--t-sm); font-weight: 600; color: var(--ink); }
.champ input, .champ textarea, .champ select {
  width: 100%; min-height: 50px; padding: var(--s-3) var(--s-4);
  background: var(--sz-velours-2); color: var(--sz-os);
  border: 1px solid rgb(246 236 230 / 0.55);   /* >= 3:1 sur le fond du champ */
  border-radius: var(--r-sm);
  transition: border-color var(--d-fast) var(--ease-out), box-shadow var(--d-fast) var(--ease-out);
}
.champ select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--sz-os) 50%), linear-gradient(135deg, var(--sz-os) 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.6rem; }
.champ textarea { min-height: 9rem; resize: vertical; line-height: 1.5; }
.champ input::placeholder, .champ textarea::placeholder { color: rgb(246 236 230 / 0.6); }
.champ input:focus-visible, .champ textarea:focus-visible, .champ select:focus-visible {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent);          /* halo opaque 2 px */
}
.champ__req { font-weight: 400; color: var(--ink-soft); }
.form__statut { margin: 0; min-height: 1.4em; font-weight: 600; }
.form__statut:empty { min-height: 0; }
.champ input[type="date"], .champ select { color-scheme: dark; }
.form__piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { font-size: var(--t-xs); color: var(--ink-soft); margin: 0; }
@media (max-width: 640px) { .form__ligne { grid-template-columns: 1fr; } }

/* -------------------------------------------------------- pied de page -- */
.pied {
  background: #0c050a; color: var(--sz-os-doux);
  padding: var(--s-9) 0 var(--s-6);
  font-size: var(--t-sm);
  border-top: 1px solid color-mix(in oklab, var(--sz-os) 10%, transparent);
}
.pied a { color: var(--sz-os); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .pied a:hover { text-decoration: underline; } }
.pied__grille {
  display: grid; gap: var(--s-7) var(--s-6);
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
}
.pied__marque svg { width: 11rem; color: var(--sz-os); }
.pied__marque p { margin: var(--s-4) 0 0; max-width: 32ch; }
.pied h2, .pied .pied__titre {
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  letter-spacing: var(--track-caps); text-transform: uppercase;
  color: var(--sz-os); margin: 0 0 var(--s-4);
}
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.pied__tel { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; letter-spacing: 0.02em; }
.pied__bas {
  display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); justify-content: space-between;
  margin-top: var(--s-8); padding-top: var(--s-5);
  border-top: 1px solid color-mix(in oklab, var(--sz-os) 10%, transparent);
  font-size: var(--t-xs);
}
@media (max-width: 900px) { .pied__grille { grid-template-columns: 1fr 1fr; } .pied__marque { grid-column: 1 / -1; } }
@media (max-width: 520px) { .pied__grille { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- .prose --
   Pour les pages de contenu longues. S'utilise sur fond sombre par défaut,
   ou dans une section .sol-clair. Exemple :
     <article class="prose"> <h1>…</h1> <p>…</p> <h2>…</h2> … </article>   */
.prose {
  max-width: 44rem; margin-inline: auto;
  font-size: var(--t-base); line-height: 1.72; color: var(--ink);
}
.prose > * + * { margin-top: 1.1em; }
.prose > :first-child { margin-top: 0; }
.prose :is(h1, h2, h3) {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  letter-spacing: var(--track-display); line-height: 0.98; text-wrap: balance;
}
.prose h1 { font-size: var(--t-3xl); margin-bottom: 0.4em; }
.prose h2 { font-size: var(--t-2xl); margin-top: 2em; }
.prose h3 { font-size: var(--t-xl); margin-top: 1.7em; font-weight: 600; }
.prose :is(h2, h3) + * { margin-top: 0.6em; }
.prose p { text-wrap: pretty; margin-bottom: 0; }
.prose a { text-decoration-color: var(--accent); text-decoration-thickness: 2px; font-weight: 600; }
.prose strong { font-weight: 600; color: var(--ink); }
.prose :is(ul, ol) { padding-left: 1.3em; margin-bottom: 0; }
.prose li + li { margin-top: 0.45em; }
.prose ul li::marker { color: var(--accent); content: "\2666\00a0\00a0"; font-size: 0.8em; }
.prose ol li::marker { color: var(--accent); font-family: var(--font-display); font-weight: 800; }
.prose :is(img, video) { width: 100%; height: auto; border-radius: var(--r-md); box-shadow: var(--e2); }
.prose figure { margin-inline: 0; }
.prose figcaption { margin-top: var(--s-2); font-size: var(--t-sm); color: var(--ink-soft); }
.prose blockquote {
  margin-inline: 0; padding: var(--s-2) 0 var(--s-2) var(--s-6);
  position: relative; font-size: var(--t-lg); line-height: 1.5; color: var(--ink);
}
.prose blockquote::before {
  content: "\201C"; position: absolute; left: 0; top: -0.15em;
  font-family: var(--font-display); font-weight: 800; font-size: 3.2em; line-height: 1;
  color: var(--accent);
}
.prose blockquote cite { display: block; margin-top: var(--s-2); font-size: var(--t-sm); font-style: normal; color: var(--ink-soft); }
.prose hr { border: 0; height: 1px; background: var(--hairline); margin-block: 2.4em; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); font-variant-numeric: tabular-nums; }
.prose :is(th, td) { text-align: left; padding: var(--s-2) var(--s-3); border-bottom: 1px solid var(--hairline); }

/* --------------------------------------------------- mouvement réduit -- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}

/* Texte justifié (demande de Fabien, 17/11/2026) : tous les paragraphes du contenu.
   JAMAIS de mot coupé (pas de césure ; les mots composés sont protégés par .nobr au build) :
   Fabien préfère un peu plus d'écart entre les mots. Les blocs centrés restent centrés. */
main p { text-align: justify; -webkit-hyphens: manual; hyphens: manual; overflow-wrap: normal; word-break: normal; text-wrap: pretty; }
.nobr { white-space: nowrap; }
main :is(.vbloc__tete--centre, .citation, .anglais, .page-cta, .cta-milieu, .fronton__tete, .fronton__citations,
  .final__cartes, .sc-copy--center, .relance, .chiffres, .lever__actions, .cta-bande, .pavis, .sc-copy,
  .ref, .bcarte__txt, .fiche, .trophee, .affiche__cartel, .porte__texte) p,
main .citation + .body p { text-align: inherit; }
main :is(figcaption, .etiquette, .fiche__l, .ref__lieu, .bcarte__rub, .bcarte__lire) { text-align: inherit; hyphens: manual; }

/* téléphone : texte aligné à gauche (la justification crée des trous sur écran étroit) */
@media (max-width: 700px) { main p { text-align: left; } }
main .avis__fort, main p.avis__fort { text-align: left; }

/* pages de vente sur téléphone : le bouton de l'en-tête laisse la place au menu, la barre du bas prend le relais */
@media (max-width: 700px) {
  .entete:has(.entete__nav[aria-label="Sommaire de la page"], .entete__nav[aria-label="On this page"]) .entete__cta { display: none; }
  .entete:has(.entete__nav[aria-label="Sommaire de la page"], .entete__nav[aria-label="On this page"]) .entete__menu { margin-left: auto; }
}

/* barre d'actions mobile */
.barre-mob { display: none; }
@media (max-width: 700px) {
  .barre-mob { display: flex; gap: var(--s-3); position: fixed; z-index: 50; left: 0; right: 0; bottom: 0;
    padding: var(--s-3) max(16px, env(safe-area-inset-right)) calc(var(--s-3) + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    background: rgb(18 8 16 / .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid rgb(255 255 255 / .12);
    transform: translateY(110%); transition: transform .3s ease; }
  .barre-mob.est-visible { transform: none; }
  .barre-mob .btn { flex: 1; justify-content: center; text-align: center; min-height: 48px; }
  .barre-mob .btn:last-child { flex: 0 0 auto; }
}
@media (prefers-reduced-motion: reduce) { .barre-mob { transition: none; } }
/* menu complet de l'accueil : jamais de mot coupé, plus serré sur les écrans moyens */
.entete__nav a { white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1280px) {
  .entete__nav ul { gap: clamp(.6rem, 1vw, 1rem); }
  .entete__nav a { font-size: .95rem; }
}
@media (min-width: 961px) and (max-width: 1100px) {
  .entete__cta { padding-inline: .9rem; font-size: .9rem; }
  .entete__marque svg { width: 8.5rem; }
}

/* signature qui s'écrit au stylo dans le bloc formulaire (assets/js/signature.js), 18/11 */
.rappel__signature .sig-t { fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 3; stroke-dashoffset: 2; }
.rappel__signature .sig-pointe { fill: var(--sz-os); opacity: 0; filter: drop-shadow(0 0 6px rgb(255 236 220 / .9)); transition: opacity .12s; }
.rappel__signature .sig-pointe.pose { opacity: 1; }

/* accueil : sous-menus par public, ouverts au clic (home.js), 18/11 */
.entete__nav .nav-groupe { position: relative; }
.nav-groupe__btn {
  display: inline-flex; align-items: center; gap: .35em; padding: var(--s-2) 0; background: none; border: 0; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
  color: color-mix(in oklab, var(--sz-os) 86%, transparent);
}
.nav-groupe__btn::after { content: ""; width: .42em; height: .42em; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-.15em) rotate(45deg); transition: transform var(--d-fast) var(--ease-out); }
.nav-groupe.ouvert > .nav-groupe__btn { color: var(--sz-os); }
.nav-groupe.ouvert > .nav-groupe__btn::after { transform: translateY(.1em) rotate(-135deg); }
@media (hover: hover) and (pointer: fine) { .nav-groupe__btn:hover { color: var(--sz-os); } }
.entete__nav .nav-sous { display: none; list-style: none; margin: 0; padding: 0; }
.entete__nav .nav-sous a { text-transform: none; letter-spacing: 0.01em; font-family: var(--font-body, inherit); font-weight: 500; white-space: normal; }
@media (min-width: 961px) {
  .entete__nav .nav-sous {
    position: absolute; top: calc(100% + .4rem); left: -1rem; z-index: 30; min-width: 15.5rem; padding: .5rem;
    flex-direction: column; gap: 0; background: rgb(18 7 13 / .55); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); border: 1px solid rgb(246 236 230 / .16); border-radius: 12px;
    box-shadow: 0 18px 40px rgb(0 0 0 / .45);
  }
  .js .nav-groupe.ouvert > .nav-sous, html:not(.js) .nav-groupe:hover > .nav-sous, html:not(.js) .nav-groupe:focus-within > .nav-sous { display: flex; }
  .entete__nav .nav-sous a { display: block; padding: .65rem .8rem; min-height: 44px; font-size: 1rem; border-radius: 8px; }
  .entete__nav .nav-sous a:hover, .entete__nav .nav-sous a:focus-visible { background: rgb(246 236 230 / .08); color: var(--sz-os); }
}
@media (min-width: 961px) and (max-width: 1280px) { .nav-groupe__btn { font-size: .95rem; } }
@media (max-width: 960px) {
  .nav-groupe__btn { display: flex; width: 100%; justify-content: space-between; padding: var(--s-3) 0; font-size: 1.5rem; border-top: 1px solid var(--hairline); }
  html:not(.js) .entete__nav .nav-sous, .js .nav-groupe.ouvert > .nav-sous { display: block; padding: 0 0 var(--s-3) var(--s-4); }
  .entete__nav .nav-sous a { padding: var(--s-2) 0; font-size: 1.15rem; border-top: 0; }
}
/* barre mobile : les libellés longs (« Demander une proposition ») ne poussent plus « Appeler » hors de l'écran */
@media (max-width: 700px) {
  .barre-mob .btn { padding-inline: .85rem; font-size: clamp(.86rem, 3.7vw, 1.02rem); }
  .barre-mob .btn:first-child { min-width: 0; white-space: normal; line-height: 1.1; }
}
/* pied de page : zone d'intervention en texte (les villes sont maillées depuis l'accueil et entre elles), 18/11 */
.pied .pied__zone { margin: 0; max-width: 30ch; }

/* menu mobile des pages de vente : devis + téléphone dans le panneau, panneau plein écran, en-tête opaque (audit 18/11) */
.entete__nav .nav-mob { display: none; }
.entete.est-colle { background: var(--sz-nuit); }
@media (max-width: 960px) {
  .entete__nav .nav-mob { display: block; }
  .entete__nav .nav-mob .btn { display: flex; justify-content: center; margin-top: var(--s-4); padding: var(--s-3); font-size: 1.15rem; border-top: 0; color: var(--accent-ink); }
  .js .entete.menu-ouvert { min-height: 100vh; min-height: 100dvh; overflow-y: auto; max-height: 100dvh; }
}
/* formulaire : promesse de réponse à côté du bouton (audit 18/11) */
.form__envoi { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-4); margin: 0; }
.form__promesse { font-size: var(--t-sm); color: var(--ink-soft); }
/* colonnes étroites : alignement à gauche (le justifié y creusait des trous), sans césure ; le justifié reste dans les paragraphes larges (18/11) */
main .etapes p, main .ref p, main .refs p, main .frise p, main .horaire p, main .fiche, main .public__pratique li,
main .citation p, main figcaption, main .chiffres__l, main .affiche__cartel p, main .porte__desc, main .avis p {
  text-align: left; text-wrap: pretty;
}
/* bulle WhatsApp (ajoutée par tools/build.py), au-dessus de la barre mobile (18/11) */
.wa { position: fixed; z-index: 55; right: calc(var(--s-4) + env(safe-area-inset-right, 0px)); bottom: calc(var(--s-4) + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: .5rem; min-height: 52px; padding: 0 1.1rem 0 .9rem; border-radius: 999px;
  background: #25d366; color: #fff; text-decoration: none; font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  box-shadow: 0 8px 24px rgb(0 0 0 / .35); transition: transform var(--d-fast) var(--ease-out), box-shadow var(--d-fast) var(--ease-out); }
.wa svg { width: 26px; height: 26px; flex: none; }
@media (hover: hover) and (pointer: fine) { .wa:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgb(0 0 0 / .4); } }
.wa:focus-visible { outline: 3px solid var(--sz-os); outline-offset: 3px; }
@media (max-width: 700px) {
  .wa { padding: 0; width: 54px; height: 54px; justify-content: center; transition: bottom var(--d-base) var(--ease-out);
    right: auto; left: calc(var(--s-4) + env(safe-area-inset-left, 0px)); }   /* à gauche : le bouton Pause des vidéos est à droite */
  body:has(.barre-mob.est-visible) .wa { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
  .wa__txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media print { .wa { display: none; } }
/* menu mobile : rien ne déborde de l'écran (le bouton devis forçait la largeur) */
@media (max-width: 960px) {
  .entete__nav, .entete__nav ul, .entete__nav li { min-width: 0; max-width: 100%; }
  .entete__nav .nav-mob .btn { width: 100%; white-space: normal; text-align: center; }
}

/* ==========================================================================
   SOLAZMAGIC : page d'accueil uniquement
   Les sélecteurs [data-sc-*] et .sc-* appartiennent au moteur : on ne les
   restyle pas, on style notre propre balisage autour.
   ========================================================================== */

/* sans JavaScript, tout le contenu reste visible et immobile */
html:not(.js) :is([data-sc-in], [data-sc-stagger] > *, [data-sc-cue]) { opacity: 1 !important; transform: none !important; }
html:not(.js) [data-sc-reveal] { clip-path: none !important; }

/* ---------------------------------------------------------------- rideau --
   Velours en CSS pur : plis répétés, ombre en haut et au sol, arête claire
   côté scène. Servi au lever (acte 1) et au rappel (acte 6). */
.rideau {
  position: absolute; top: 0; bottom: 0; z-index: 4;
  width: var(--rw, 52vw);
  background:
    linear-gradient(to bottom, rgb(10 0 4 / 0.55), transparent 22%, transparent 70%, rgb(10 0 4 / 0.6)),
    repeating-linear-gradient(90deg,
      var(--sz-rideau-ombre) 0,
      #6d0b19 1.1vw,
      #a3192b 2.2vw,
      #c22a3b 2.6vw,
      #8f1222 3.3vw,
      var(--sz-rideau-ombre) 4.6vw);
  will-change: transform;
  pointer-events: none;
}
.rideau--g { left: 0; box-shadow: inset -2px 0 0 rgb(255 120 120 / 0.18), 18px 0 40px -6px rgb(8 0 4 / 0.7); }
.rideau--d { right: 0; box-shadow: inset 2px 0 0 rgb(255 120 120 / 0.18), -18px 0 40px -6px rgb(8 0 4 / 0.7); }

/* ============================================================ 1. LEVER == */
.lever {
  background: var(--sz-nuit);
  /* plus de rideau (17/11/2026) : scène à sa taille normale, sans animation */
  --o: 1;
  --rw: 52vw; --r0: 34.6; --r1: 82.7;
}
.lever__stage { position: relative; height: 100vh; height: 100svh; overflow: clip; isolation: isolate; }
.lever__scene, .lever__scene img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
}
/* vidéo du bandeau (17/11/2026) : la même boucle que l'ancien solazmagic.com */
figure.lever__scene { margin: 0; }
.lever__scene video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--sz-nuit); }
.lever .lecteur__btn.lever__pause { top: auto; z-index: 8; right: var(--gutter); bottom: clamp(1rem, 3vh, 2rem); }
@media (max-width: 700px) { .lever .lecteur__btn.lever__pause { bottom: var(--s-3); right: var(--s-3); min-height: 36px; font-size: 0.8rem; } }
.lever__scene img {
  object-fit: cover; object-position: 52% 42%;
  transform: scale(calc(1.16 - 0.16 * var(--o)));
  transform-origin: 52% 46%;
  will-change: transform;
}
.lever__fumee { position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: screen; opacity: 0.4; }
.lever__fumee span {
  position: absolute; width: 70vmax; height: 40vmax; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(255 90 110 / 0.45), transparent);
  animation: fumee 22s ease-in-out infinite alternate;
}
.lever__fumee span:first-child { left: -10vmax; top: 30%; }
.lever__fumee span:last-child  { right: -14vmax; top: 10%; animation-duration: 28s; animation-delay: -9s;
  background: radial-gradient(closest-side, rgb(150 70 255 / 0.35), transparent); }
@keyframes fumee { from { transform: translate3d(-4vw, 2vh, 0) scale(1); } to { transform: translate3d(6vw, -3vh, 0) scale(1.15); } }
.lever.est-hors .lever__fumee span { animation-play-state: paused; }

.lever .rideau--g { transform: translate3d(calc(-1% * (var(--r0) + (var(--r1) - var(--r0)) * var(--o))), 0, 0); }
.lever .rideau--d { transform: translate3d(calc(1% * (var(--r0) + (var(--r1) - var(--r0)) * var(--o))), 0, 0); }

/* lambrequin : le plan le plus proche, il monte le plus vite */
.lambrequin {
  position: absolute; left: -2%; right: -2%; top: 0; z-index: 5;
  height: clamp(84px, 15vh, 160px);
  background:
    linear-gradient(to bottom, rgb(10 0 4 / 0.65), transparent 55%, rgb(10 0 4 / 0.35)),
    repeating-linear-gradient(90deg, var(--sz-rideau-ombre) 0, #9b1728 0.9vw, #c22a3b 1.2vw, var(--sz-rideau-ombre) 2.4vw);
  --festons: clamp(28px, 3.6vh, 40px);
  -webkit-mask:
    linear-gradient(#000 0 0) top / 100% calc(100% - var(--festons)) no-repeat,
    radial-gradient(50% 100% at 50% 0, #000 98%, transparent 100%) bottom / 9vw var(--festons) repeat-x;
          mask:
    linear-gradient(#000 0 0) top / 100% calc(100% - var(--festons)) no-repeat,
    radial-gradient(50% 100% at 50% 0, #000 98%, transparent 100%) bottom / 9vw var(--festons) repeat-x;
  transform: translate3d(0, calc(-70% * var(--o)), 0);
  will-change: transform;
  filter: drop-shadow(0 10px 14px rgb(8 0 4 / 0.6));
}

/* voile : une bande sombre seulement là où se trouve le texte */
.lever__ombre {
  position: absolute; inset: auto 0 0 0; height: 70%; z-index: 6; pointer-events: none;
  background: linear-gradient(to top, rgb(18 8 16 / 0.92) 0%, rgb(18 8 16 / 0.7) 30%, rgb(18 8 16 / 0.25) 62%, transparent 100%);
}
.lever__texte {
  position: absolute; z-index: 7;
  left: var(--gutter); right: var(--gutter); bottom: clamp(1.75rem, 8vh, 5.5rem);
  max-width: 62rem;
}
.lever__titre { text-shadow: 0 3px 30px rgb(10 0 4 / 0.55); }
.lever__sous { margin-top: var(--s-4); max-width: 40ch; color: var(--sz-os); text-shadow: 0 2px 16px rgb(10 0 4 / 0.7); }
.lever__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin: var(--s-5) 0 0; }
.lever__actions .btn--fantome { background: rgb(18 8 16 / 0.45); }

@media (max-width: 700px) {
  .lever { --rw: 60vw; --r0: 40; --r1: 94; }
  .lever__scene img { object-position: 50% 40%; }
  .lever__titre { font-size: clamp(3rem, 15.5vw, 4.6rem); }
  .lever__sous { font-size: 1.06rem; }
  .lever__actions .btn { flex: 1 1 auto; }
  .lambrequin { height: 11vh; --festons: 22px; }
}

/* ========================================================= 2. CLOSE-UP == */
.closeup { background: var(--sz-nuit); padding: var(--section) 0; }
.closeup__grille {
  display: grid; gap: var(--s-8) var(--s-6);
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
}
.closeup__texte { grid-column: 1 / span 6; }
.closeup__texte .display { max-width: 12ch; }
.closeup__texte > * + * { margin-top: var(--s-4); }
.closeup__texte .lede { margin-top: var(--s-5); }
.tour { grid-column: 8 / span 5; align-self: center; }
.closeup__video { grid-column: 7 / span 6; margin: 0; align-self: center; }
.closeup__photo { grid-column: 8 / span 5; margin: var(--s-9) 0 0; }
.closeup__video video, .closeup__photo img {
  width: 100%; height: auto; border-radius: var(--r-md); box-shadow: var(--e3); background: var(--sz-velours);
}
.closeup__video figcaption { margin-top: var(--s-3); font-size: var(--t-sm); color: var(--ink-soft); }

.tour__consigne { font-size: var(--t-lg); line-height: 1.45; margin: 0 0 var(--s-6); max-width: 30ch; }
.tour__consigne em { font-style: italic; color: var(--accent); }

/* les cartes à jouer (communes au close-up et au final) */
.carte {
  --w: clamp(78px, 8.6vw, 128px);
  position: relative; display: block; list-style: none;
  width: var(--w); aspect-ratio: 5 / 7;
  background: var(--sz-carte); color: #1d0d14;
  border-radius: calc(var(--w) * 0.09);
  box-shadow: var(--e2), inset 0 0 0 1px rgb(29 13 20 / 0.08);
  font-family: var(--font-display); font-weight: 800;
  font-variant-emoji: text;
}
.carte[data-rouge] { color: #b0141f; }
.carte__coin {
  position: absolute; top: 5%; left: 7%;
  display: flex; flex-direction: column; align-items: center;
  font-size: calc(var(--w) * 0.18); line-height: 0.92;
}
.carte__coin b { font-family: var(--font-text); font-weight: 400; font-size: 0.8em; }
.carte__coin--bas { top: auto; left: auto; bottom: 5%; right: 7%; transform: rotate(180deg); }
.carte__fig {
  position: absolute; inset: 15% 19% 30%;
  display: grid; place-items: center;
  border: 1px solid color-mix(in oklab, currentColor 35%, transparent); border-bottom: 0;
  border-radius: 3px 3px 0 0;
  font-size: calc(var(--w) * 0.5); line-height: 1;
}
.carte__enseigne {
  position: absolute; left: 19%; right: 19%; bottom: 15%; height: 15%;
  display: grid; place-items: center;
  border: 1px solid color-mix(in oklab, currentColor 35%, transparent); border-top: 0;
  border-radius: 0 0 3px 3px;
  font-family: var(--font-text); font-weight: 400; font-size: calc(var(--w) * 0.16); line-height: 1;
}

.eventail {
  --w: clamp(84px, 9vw, 132px);
  position: relative; margin: 0; padding: 0; list-style: none;
  height: calc(var(--w) * 1.4 + var(--w) * 0.55);
}
.eventail .carte {
  --w: inherit;
  position: absolute; left: 50%; bottom: 0; margin-left: calc(var(--w) * -0.5);
  transform-origin: 50% 165%;
  transform: rotate(calc((var(--i) - 2.5) * 2deg));
  transition: transform 900ms var(--ease-out) calc(var(--i) * 70ms);
}
.eventail.sc-in .carte { transform: rotate(calc((var(--i) - 2.5) * 12deg)); }

@media (max-width: 860px) {
  .closeup__grille { grid-template-columns: 1fr; gap: var(--s-7); }
  .closeup__texte, .tour, .closeup__video, .closeup__photo { grid-column: 1; }
  .closeup__photo { margin: 0; width: 82%; justify-self: end; }
  .eventail { --w: clamp(78px, 22vw, 104px); margin-inline: auto; max-width: 100%; }
}

/* ========================================================= 3. AFFICHES == */
.affiches { background: var(--sz-velours); }
.affiches__stage { display: flex; align-items: center; }
.affiches__rail {
  align-items: center; gap: clamp(1.25rem, 3vw, 3rem);
  padding: 4.5rem var(--gutter) 2rem;
}
.affiches__tete { flex: none; width: min(30rem, 78vw); }
.affiches__tete .body { margin-top: var(--s-5); }
.affiche {
  flex: none; width: clamp(14rem, 21vw, 19.5rem);
  text-decoration: none; color: var(--ink);
}
.affiche img {
  width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: 50% 0;
  border-radius: var(--r-sm); box-shadow: var(--e3);
  transition: transform var(--d-base) var(--ease-out);
}
.affiche h3 {
  margin: var(--s-4) 0 0; font-family: var(--font-display); font-weight: 800;
  font-size: 1.7rem; line-height: 1; text-transform: uppercase; letter-spacing: 0.01em;
}
.affiche p { margin: var(--s-2) 0 0; font-size: var(--t-sm); color: var(--ink-soft); }
@media (hover: hover) and (pointer: fine) {
  .affiche:hover img { transform: translateY(-6px); }
  .affiche:hover h3 { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 0.15em; }
}
.affiches__fin { flex: none; width: clamp(18rem, 36vw, 34rem); margin: 0; }
.affiches__fin video { width: 100%; height: auto; border-radius: var(--r-sm); box-shadow: var(--e3); background: var(--sz-nuit); }
.affiches__fin figcaption { margin-top: var(--s-3); font-size: var(--t-sm); color: var(--ink-soft); }
.affiches__fin a { color: var(--ink); font-weight: 600; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
@media (max-width: 700px) {
  .affiche { width: 64vw; }
  .affiches__fin { width: 82vw; }
  .affiches__rail { padding-top: 4rem; }
}

/* ========================================================= 4. ENTRACTE == */
.entracte { padding: var(--section) 0; }
.entracte__tete { max-width: 58rem; }
.entracte__tete > * + * { margin-top: var(--s-5); }
.entracte .chiffre { font-variant-numeric: tabular-nums; font-weight: 600; }

.parcours {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--s-8); align-items: center; margin-top: var(--s-10);
}
.parcours__portrait { position: relative; margin: 0; }
.parcours__portrait::before {
  content: ""; position: absolute; left: 6%; right: 6%; top: 8%; aspect-ratio: 1;
  border-radius: 50%; background: var(--sz-rideau);
  box-shadow: inset 0 -30px 60px rgb(20 0 6 / 0.45);
}
.parcours__portrait img {
  position: relative; width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 99%);
          mask-image: linear-gradient(to bottom, #000 78%, transparent 99%);
}
.parcours__texte p { max-width: var(--measure); margin: 0; color: var(--ink-soft); }
.parcours__texte p + p { margin-top: var(--s-4); }
.parcours__texte .display { margin-bottom: var(--s-5); }

.programme {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr);
  gap: var(--s-6) var(--s-9); margin-top: var(--s-10);
  padding-top: var(--s-8); border-top: 1px solid var(--hairline);
}
.programme__tete .body { margin-top: var(--s-4); }
.programme__liste { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: var(--s-7); }
.programme__liste li { break-inside: avoid; }
.programme__liste a {
  display: flex; align-items: baseline; gap: var(--s-2);
  padding: var(--s-3) 0; text-decoration: none; color: var(--ink);
  border-bottom: 1px solid var(--hairline);
}
.programme__nom { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; line-height: 1.05; text-transform: uppercase; }
.programme__liste a::after { content: ""; order: 1; flex: 1 1 1rem; min-width: 1rem; border-bottom: 2px dotted color-mix(in oklab, var(--ink) 30%, transparent); transform: translateY(-0.3em); }
.programme__genre { order: 2; font-size: var(--t-sm); color: var(--ink-soft); text-align: right; }
@media (hover: hover) and (pointer: fine) {
  .programme__liste a:hover .programme__nom { color: var(--accent); }
}

.villes { margin-top: var(--s-10); }
.villes .body { margin-top: var(--s-4); }
.villes__liste { list-style: none; margin: var(--s-5) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); }
.villes__liste a { font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; display: inline-block; padding: var(--s-2) 0; }

@media (max-width: 860px) {
  .parcours, .programme { grid-template-columns: 1fr; gap: var(--s-6); }
  .parcours { margin-top: var(--s-8); }
  .parcours__portrait { width: min(78%, 22rem); }
  .programme, .villes { margin-top: var(--s-8); }
  .programme__liste { columns: 1; }
}

/* ---------------------------------------------------- avis : carrousel --
   Piste en scroll-snap natif (glisser au doigt, flèches, clavier), défilement
   automatique lent piloté par home.js, en pause au survol, au toucher, au
   focus, hors écran et sous prefers-reduced-motion. */
.avis { margin-top: var(--s-10); }
.avis__tete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s-3) var(--s-6); }
.avis__note { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--s-3); font-size: var(--t-lg); }
.avis__note strong { font-family: var(--font-display); font-weight: 800; font-size: 1.5em; text-transform: uppercase; letter-spacing: 0.03em; line-height: 1; }
.avis__note b { font-weight: 600; }
.etoiles { color: var(--accent); letter-spacing: 0.12em; font-family: var(--font-text); font-variant-emoji: text; white-space: nowrap; }
.avis__note .etoiles { font-size: 1.1em; }
/* avis : un seul grand avis à la fois (13/11). Toutes les diapositives sont
   empilées dans la même cellule de grille : la hauteur ne saute jamais. */
.avis__scene { display: grid; margin-top: var(--s-7); }
.avis__slide {
  grid-area: 1 / 1; margin: 0;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-6) var(--s-9); align-items: start;
  opacity: 0; transform: translateY(14px); visibility: hidden;
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out), visibility 0s linear 700ms;
}
.avis__slide.est-actif { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.avis__fort {
  margin: 0; font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.2rem, 1.4rem + 3.2vw, 4.6rem); line-height: 0.95; color: var(--ink); text-wrap: balance;
}
.avis__guill { color: var(--accent); margin: 0 0.12em; }
.avis__corps { display: flex; flex-direction: column; gap: var(--s-4); padding-top: var(--s-2); }
.avis__corps .etoiles { font-size: 1.15rem; }
.avis__corps blockquote { margin: 0; }
.avis__corps blockquote p { margin: 0; font-size: var(--t-base); line-height: 1.65; color: var(--ink-soft); text-wrap: pretty; }
.avis__corps figcaption { display: flex; justify-content: space-between; gap: var(--s-3); padding-top: var(--s-3); border-top: 1px solid var(--hairline); font-size: var(--t-sm); }
.avis__ctrl { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); margin-top: var(--s-7); }
.avis__points { display: flex; gap: 2px; }
.avis__point { width: 28px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.avis__point::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: color-mix(in oklab, var(--ink) 25%, transparent); transition: background-color 300ms, width 300ms; }
.avis__point.est-actif::before { width: 26px; background: var(--accent); }
.avis__point:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.avis__btn {
  display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 var(--s-3);
  border: 1px solid color-mix(in oklab, var(--ink) 30%, transparent); border-radius: 999px;
  background: transparent; color: var(--ink); cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase;
  transition: background-color var(--d-fast) var(--ease-out), transform var(--d-fast) var(--ease-out);
}
.avis__btn:active { transform: scale(0.96); }
.avis__btn--pause { min-width: 6.5rem; margin-left: auto; }
@media (hover: hover) and (pointer: fine) { .avis__btn:hover { background: color-mix(in oklab, var(--ink) 8%, transparent); } }
.avis__source { margin: var(--s-4) 0 0; font-size: var(--t-xs); color: var(--ink-soft); }
@media (max-width: 860px) {
  .avis__slide { grid-template-columns: 1fr; gap: var(--s-5); }
  .avis__fort { font-size: clamp(2rem, 9vw, 2.8rem); }
  .avis__corps blockquote p { font-size: var(--t-sm); }
  .avis__btn--pause { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .avis__slide { transition: none; transform: none; } }

/* ------------------------------------------- fronton : logos en enseigne --
   Bandeau sombre pleine largeur au milieu de l'entracte, cerclé d'ampoules
   en chenillard, deux rangées de logos crème qui défilent en sens inverse. */
.fronton {
  --ink: var(--sz-os); --ink-soft: var(--sz-os-doux); --accent: var(--sz-projecteur);
  --hairline: color-mix(in oklab, var(--sz-os) 14%, transparent);
  position: relative; margin: var(--s-10) 0 0; padding: var(--s-7) 0;
  color: var(--ink);
  background: radial-gradient(90% 120% at 50% 0%, #3a1220, var(--sz-velours) 55%, #170710);
  box-shadow: inset 0 20px 40px -20px rgb(0 0 0 / 0.6), inset 0 -20px 40px -20px rgb(0 0 0 / 0.6);
  overflow: hidden;
}
.fronton__ampoules {
  position: absolute; left: 0; right: 0; top: 10px; height: 14px;
  background:
    radial-gradient(circle at 50% 50%, #fff3e8 0 2.6px, rgb(255 190 160 / 0.5) 3.6px, transparent 7px) 0 0 / 26px 14px repeat-x,
    radial-gradient(circle at 50% 50%, rgb(255 230 215 / 0.35) 0 2.2px, transparent 3.6px) 13px 0 / 26px 14px repeat-x;
  animation: chenillard 1.6s steps(1) infinite;
}
.fronton__ampoules--bas { top: auto; bottom: 10px; animation-delay: -0.8s; }
@keyframes chenillard { 0% { background-position: 0 0, 13px 0; } 50% { background-position: 13px 0, 0 0; } }
.fronton__tete { display: grid; justify-items: center; text-align: center; gap: var(--s-3); margin-bottom: var(--s-6); }
.fronton__tete .body { max-width: 52ch; }
.fronton__pause {
  min-height: 40px; padding: 0 var(--s-4); margin-top: var(--s-2);
  background: transparent; color: var(--sz-os-doux); cursor: pointer;
  border: 1px solid color-mix(in oklab, var(--sz-os) 26%, transparent); border-radius: 999px;
  font-size: var(--t-xs); letter-spacing: 0.04em;
}
.fronton__rang {
  overflow: hidden; padding-block: var(--s-3);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.fronton__piste { display: flex; width: max-content; animation: defile 70s linear infinite; }
.fronton__rang[data-sens="droite"] .fronton__piste { animation-direction: reverse; animation-duration: 80s; }
.fronton:hover .fronton__piste, .fronton:focus-within .fronton__piste, .fronton.en-pause .fronton__piste,
.fronton.est-hors .fronton__piste { animation-play-state: paused; }
.fronton.en-pause .fronton__ampoules, .fronton.est-hors .fronton__ampoules { animation-play-state: paused; }
@keyframes defile { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
.fronton__liste { display: flex; align-items: center; gap: clamp(2.5rem, 5vw, 4.5rem); margin: 0; padding: 0 clamp(1.25rem, 2.5vw, 2.25rem); list-style: none; }
.fronton__liste li { flex: none; display: grid; place-items: center; height: 64px; }
.fronton__liste img { width: auto; height: 34px; max-width: 200px; object-fit: contain; opacity: 0.92; }
.fronton__liste li.moyen img { height: 48px; max-width: 180px; }
.fronton__liste li.carre img { height: 62px; max-width: 120px; }
.fronton + .wrap .programme { margin-top: var(--s-8); border-top: 0; padding-top: 0; }
@media (max-width: 700px) {
  .fronton { padding: var(--s-7) 0 var(--s-6); }
  .fronton__liste li { height: 52px; }
  .fronton__liste img { height: 26px; max-width: 150px; }
  .fronton__liste li.moyen img { height: 38px; }
  .fronton__liste li.carre img { height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .fronton__piste { animation: none; width: auto; }
  .fronton__liste { flex-wrap: wrap; justify-content: center; row-gap: var(--s-4); }
  .fronton__liste--double { display: none; }
  .fronton__rang { -webkit-mask-image: none; mask-image: none; }
  .fronton__ampoules { animation: none; }
  .fronton__pause { display: none; }
}

/* ---------------------------------------------- cartes : as et chiffres -- */
.carte[data-v="dix"] .carte__coin { letter-spacing: -0.08em; }
.carte__as {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-text); font-weight: 400; font-size: calc(var(--w) * 0.62); line-height: 1;
}
.carte__pips { position: absolute; inset: 13% 20%; }
.carte__pips i {
  position: absolute; left: var(--x); top: var(--y);
  transform: translate(-50%, -50%);
  font-style: normal; font-family: var(--font-text); font-size: calc(var(--w) * 0.2); line-height: 1;
}
.carte__pips i.inv { transform: translate(-50%, -50%) rotate(180deg); }

/* ============================================================ 5. FINAL == */
.final { background: var(--sz-fumee); }
.final__stage { background: var(--sz-fumee); }
.final__apres { display: none; position: absolute; inset: 0; z-index: 1; }
.final__apres img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.final__voile {
  background:
    radial-gradient(60% 55% at 0% 0%, rgb(14 6 18 / 0.92) 0%, rgb(14 6 18 / 0.7) 45%, transparent 100%),
    linear-gradient(to top, rgb(14 6 18 / 0.95) 0%, rgb(14 6 18 / 0.78) 30%, transparent 52%);
}
.final__intro {
  position: absolute; z-index: 20; left: var(--gutter); bottom: clamp(2rem, 10vh, 6rem);
  max-width: 34rem;
}
.final__intro .lede { margin-top: var(--s-4); text-shadow: 0 1px 3px rgb(14 6 18 / 0.9), 0 2px 14px rgb(14 6 18 / 0.9); }
.final__mot {
  position: absolute; z-index: 20; right: var(--gutter); bottom: clamp(2rem, 12vh, 7rem);
  font-size: var(--t-4xl); color: var(--sz-os);
  text-shadow: 0 4px 40px rgb(20 0 30 / 0.6);
}
.final__cartes {
  position: absolute; z-index: 20; left: 0; right: 0; bottom: clamp(1.5rem, 7vh, 4rem);
  display: grid; justify-items: center; gap: var(--s-4); padding-inline: var(--gutter); text-align: center;
}
.final__question { margin: 0; font-size: var(--t-lg); font-weight: 600; text-shadow: 0 1px 3px rgb(14 6 18 / 0.9), 0 2px 14px rgb(14 6 18 / 0.9); }
.final__chute { font-size: var(--t-2xl); color: var(--sz-os); }
.donne { display: flex; justify-content: center; gap: clamp(0.5rem, 1.6vw, 1.25rem); margin: 0; padding: 0; list-style: none; perspective: 1000px; }
.flip {
  --w: clamp(62px, 7.4vw, 112px);
  --f: clamp(0, calc((var(--sc-p, 0) - 0.64 - var(--i) * 0.025) / 0.05), 1);
  width: var(--w); aspect-ratio: 5 / 7; list-style: none;
}
.flip__in {
  position: relative; display: block; width: 100%; height: 100%;
  transform-style: preserve-3d;
  transform: rotateY(calc((1 - var(--f)) * 180deg));
}
.flip .carte { --w: inherit; position: absolute; inset: 0; width: 100%; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.carte--dos {
  transform: rotateY(180deg);
  background:
    repeating-linear-gradient(45deg, rgb(255 236 230 / 0.13) 0 2px, transparent 2px 9px),
    repeating-linear-gradient(-45deg, rgb(255 236 230 / 0.13) 0 2px, transparent 2px 9px),
    var(--sz-rideau);
  box-shadow: var(--e2), inset 0 0 0 calc(var(--w) * 0.06) var(--sz-carte), inset 0 0 0 calc(var(--w) * 0.07) rgb(29 13 20 / 0.2);
}
html:not(.js) .flip { --f: 1; }

@media (max-width: 700px) {
  .final__mot { right: auto; left: var(--gutter); bottom: 12vh; font-size: clamp(3rem, 16vw, 4.4rem); }
  .final__chute { font-size: 2rem; }
  .final__question { font-size: 1.05rem; }
}

/* =========================================================== 6. RAPPEL == */
.rappel {
  position: relative; overflow: clip; isolation: isolate;
  background: radial-gradient(70% 60% at 50% 0%, #2c0d18, var(--sz-nuit) 70%);
  padding: var(--section) 0;
  --c: clamp(0, calc((var(--sc-p, 1) - 0.04) / 0.32), 1);
}
.rappel__rideau { --rw: 16vw; z-index: 0; }
.rappel .rideau--g { transform: translate3d(calc((1 - var(--c)) * -100%), 0, 0); }
.rappel .rideau--d { transform: translate3d(calc((1 - var(--c)) * 100%), 0, 0); }
.rappel__grille {
  position: relative; z-index: 1; max-width: calc(72rem + 32vw);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s-8);
  align-items: start; padding-inline: calc(16vw + var(--s-5));
}
.rappel__signature { color: var(--sz-os); width: min(20rem, 70vw); margin-bottom: var(--s-6); }
.rappel__signature svg { width: 100%; height: auto; }
.rappel__texte .lede { margin-top: var(--s-5); }
.rappel__direct { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: grid; gap: var(--s-2); }
.rappel__direct a { font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; display: inline-block; padding: var(--s-1) 0; }
.rappel__tel { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; letter-spacing: 0.02em; text-decoration: none !important; }
@media (max-width: 1100px) {
  .rappel__rideau { --rw: 7vw; }
  .rappel__grille { grid-template-columns: 1fr; padding-inline: calc(7vw + var(--s-4)); max-width: calc(46rem + 14vw); }
}
@media (max-width: 520px) {
  .rappel__rideau { --rw: 4vw; }
  .rappel__grille { padding-inline: calc(4vw + 12px); gap: var(--s-6); }
  .rappel__tel { font-size: 2rem; }
}

/* ================================================== mouvement réduit == */
@media (prefers-reduced-motion: reduce) {
  .lever { --o: 1; }
  .lever__fumee span { animation: none; }
  .rappel { --c: 1; }
  .eventail .carte { transition: none; transform: rotate(calc((var(--i) - 2.5) * 12deg)); }
  .flip { --f: 1; }
  .final__apres { display: block; opacity: clamp(0, calc((var(--sc-p, 0) - 0.44) * 16), 1); transition: opacity 300ms; }
}

/* ------------------------------------------------ velours photo (13/11) --
   Pans et lambrequin tirés d'UNE seule image 4K (même tissu, même lumière).
   Pans détourés : bord intérieur = vrai ourlet, ombre portée qui suit la forme. */
.rideau {
  background: var(--tex) no-repeat;
  background-size: cover;
  box-shadow: none;
  filter: drop-shadow(0 0 28px rgb(8 0 4 / 0.7));
}
.rideau--g { --tex: url(../img/rideau-velours-g.webp); background-position: right top; box-shadow: none; }
.rideau--d { --tex: url(../img/rideau-velours-d.webp); background-position: left top; box-shadow: none; }
.lambrequin {
  background: url(../img/lambrequin-velours.webp) center top / 100% auto no-repeat;
  -webkit-mask: none; mask: none;
  left: 0; right: 0;
  height: calc(100vw * 423 / 2800);
  transform: none; /* le lambrequin reste en place : seuls les pans s'ouvrent */
  filter: drop-shadow(0 12px 16px rgb(8 0 4 / 0.55));
}
@media (max-width: 700px) {
  .lambrequin { height: 120px; background-size: auto 100%; }
}

/* ------------------------------------------------ vraies cartes (13/11) --
   Images d'un vrai jeu (domaine public) à la place des cartes dessinées. */
.carte { aspect-ratio: 2 / 3; border-radius: calc(var(--w) * 0.07); overflow: hidden; background: #fff; }
.carte > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.eventail { --w: clamp(96px, 10.5vw, 150px); height: calc(var(--w) * 1.5 + var(--w) * 0.6); }
.eventail .carte { transform-origin: 50% 170%; box-shadow: 0 10px 24px -8px rgb(8 0 4 / 0.55), 0 2px 4px rgb(8 0 4 / 0.25); }
.eventail.sc-in .carte { transform: rotate(calc((var(--i) - 2.5) * 10deg)); }
.flip { --w: clamp(70px, 8vw, 120px); aspect-ratio: 2 / 3; }
@media (max-width: 860px) { .eventail { --w: clamp(84px, 24vw, 112px); } }
@media (prefers-reduced-motion: reduce) { .eventail .carte { transform: rotate(calc((var(--i) - 2.5) * 10deg)); } }
@media (max-width: 860px) {
  .avis__corps blockquote p { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
}
.avis__slide { align-content: start; }
@media (max-width: 860px) {
  .avis__ctrl { gap: var(--s-2); }
  .avis__point { width: 24px; }
  .avis__point::before { width: 12px; }
  .avis__point.est-actif::before { width: 18px; }
}
/* dos des cartes : la règle « vraies cartes » met un fond blanc sur .carte, on rétablit le dos */
.flip .carte.carte--dos {
  background:
    repeating-linear-gradient(45deg, rgb(255 236 230 / 0.13) 0 2px, transparent 2px 9px),
    repeating-linear-gradient(-45deg, rgb(255 236 230 / 0.13) 0 2px, transparent 2px 9px),
    var(--sz-rideau);
}
/* la chute n'apparaît qu'une fois les 5 cartes retournées */
.final__chute { opacity: clamp(0, calc((var(--sc-p, 0) - 0.79) / 0.05), 1); }
html:not(.js) .final__chute { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .final__chute { opacity: 1; } }
/* final mobile : les 5 cartes tiennent toujours en entier */
@media (max-width: 480px) {
  .donne { gap: 6px; }
  .flip { --w: calc((100vw - 2 * var(--gutter) - 24px) / 5); }
}
.affiches__rail::after { content: ""; flex: none; width: 1px; margin-left: calc(var(--gutter) - 1px); }

/* ======================================== passe audit 10 experts (13/11) ==
   Surcharges regroupées ici, après les blocs « velours photo » et « vraies
   cartes » qu'elles ne modifient pas. */

/* accessibilité : un repère qui contient le focus est toujours visible */
[data-sc-cue]:focus-within, [data-sc-copy]:focus-within { opacity: 1 !important; transform: none !important; }

/* perf : plus de filter drop-shadow (coût GPU à chaque image) ; ombres
   statiques en pseudo-éléments dégradés */
.rideau, .lambrequin { filter: none; }
/* l'ombre est déjà dans la texture détourée des pans : pas de pseudo-élément (il dessinait une bande droite dans l'ouverture) */
@media (max-width: 700px) {
  .lambrequin { background-image: url(../img/lambrequin-velours-1400.webp); }
  .rideau--g { --tex: url(../img/rideau-velours-g-m.webp); }
  .rideau--d { --tex: url(../img/rideau-velours-d-m.webp); }
}

/* ---------------------------------------------------------------- lever -- */
.lever__actions { align-items: center; }
.lever__avis {
  display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; padding: 0 var(--s-2);
  color: var(--sz-os); font-weight: 600; font-size: var(--t-sm); text-decoration: none;
  text-shadow: 0 1px 10px rgb(10 0 4 / 0.8);
}
.lever__avis .etoiles { color: #ffb4a6; letter-spacing: 0.08em; }
@media (hover: hover) and (pointer: fine) { .lever__avis:hover { text-decoration: underline; text-underline-offset: 0.25em; } }
@media (max-width: 700px) {
  /* contraste : voile local renforcé là où le projecteur perce */
  .lever__ombre {
    height: 88%;
    background:
      radial-gradient(120% 60% at 30% 78%, rgb(14 6 12 / 0.78), transparent 72%),
      linear-gradient(to top, rgb(14 6 12 / 0.96) 0%, rgb(14 6 12 / 0.84) 34%, rgb(14 6 12 / 0.4) 64%, transparent 100%);
  }
  .lever__titre { text-shadow: 0 2px 18px rgb(10 0 4 / 0.9); }
  .lever__sous { text-shadow: 0 1px 10px rgb(10 0 4 / 0.95); }
  .lever__avis { width: 100%; justify-content: center; }
}

/* --------------------------------------------------------------- portes -- */
.portes { background: var(--sz-nuit); padding: var(--s-9) 0 var(--s-6); }
.portes__titre { margin-bottom: var(--s-6); }
.portes__liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); }
.porte {
  position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5;
  border-radius: var(--r-md); color: var(--sz-os); text-decoration: none; isolation: isolate;
  box-shadow: var(--e2);
}
.porte img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform 600ms var(--ease-out); }
.porte::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgb(14 6 12 / 0.95) 0%, rgb(14 6 12 / 0.75) 34%, rgb(14 6 12 / 0.1) 66%, transparent); }
.porte__texte { position: absolute; left: var(--s-4); right: var(--s-4); bottom: var(--s-4); display: grid; gap: var(--s-2); }
.porte__nom { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 1.1rem + 1vw, 2.1rem); line-height: 0.95; text-transform: uppercase; }
.porte__nom::after { content: "\00a0\2192"; color: var(--accent); }
.porte__desc { font-size: var(--t-sm); line-height: 1.45; color: var(--sz-os); }
@media (hover: hover) and (pointer: fine) { .porte:hover img { transform: scale(1.04); } }
@media (max-width: 960px) { .portes__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .portes { padding-top: var(--s-7); }
  .portes__liste { gap: var(--s-3); }
  .porte { aspect-ratio: 3 / 4; }
  .porte__texte { left: var(--s-3); right: var(--s-3); bottom: var(--s-3); }
  .porte__nom { font-size: 1.3rem; }
  .porte__desc { font-size: 0.82rem; line-height: 1.35; }
}

/* ------------------------------------------------------------- close-up -- */
.closeup { padding: var(--s-9) 0 var(--s-8); }
.closeup__grille { row-gap: var(--s-7); align-items: center; }
/* sans le tour de carte : titre à gauche, texte à droite, vidéo pleine largeur dessous */
@media (min-width: 861px) {
  .closeup__grille > .closeup__texte { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-6); align-items: end; }
  .closeup__grille > .closeup__texte > * { grid-column: 8 / span 5; margin-top: 0; }
  .closeup__grille > .closeup__texte > * + * { margin-top: var(--s-4); }
  .closeup__grille > .closeup__texte > .display { grid-column: 1 / span 6; grid-row: 1 / span 4; align-self: center; max-width: none; margin: 0; }
}
.closeup__texte { grid-column: 1 / span 6; }
.tour { grid-column: 7 / span 6; }
.closeup__video { grid-column: 1 / -1; }
.closeup__video video { aspect-ratio: 21 / 9; object-fit: cover; }
/* éventail plus ouvert : chaque index reste lisible */
.eventail { --w: clamp(96px, 9vw, 138px); height: calc(var(--w) * 1.62); max-width: none; }
.eventail .carte {
  transform-origin: 50% 120%;
  transform: translateX(calc((var(--i) - 2.5) * var(--w) * 0.12)) rotate(calc((var(--i) - 2.5) * 2deg));
}
.eventail.sc-in .carte { transform: translateX(calc((var(--i) - 2.5) * var(--w) * 0.5)) rotate(calc((var(--i) - 2.5) * 5deg)); }
@media (max-width: 860px) {
  .closeup__texte, .tour, .closeup__video { grid-column: 1; }
  .eventail { --w: clamp(84px, 24vw, 104px); }
  .eventail.sc-in .carte { transform: translateX(calc((var(--i) - 2.5) * var(--w) * 0.44)) rotate(calc((var(--i) - 2.5) * 5deg)); }
  .closeup__video video { aspect-ratio: 16 / 9; }
}
@media (prefers-reduced-motion: reduce) {
  .eventail .carte, .eventail.sc-in .carte { transition: none; transform: translateX(calc((var(--i) - 2.5) * var(--w) * 0.44)) rotate(calc((var(--i) - 2.5) * 5deg)); }
}

/* lecteurs : bouton Pause/Lecture sur les boucles */
.lecteur { position: relative; }
.lecteur__btn {
  position: absolute; top: var(--s-3); right: var(--s-3); z-index: 2;
  min-width: 44px; min-height: 44px; padding: 0 var(--s-4);
  border: 1px solid rgb(246 236 230 / 0.5); border-radius: 999px;
  background: rgb(18 8 16 / 0.72); color: var(--sz-os); cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.lecteur__btn:focus-visible { outline: 2px solid var(--sz-projecteur); outline-offset: 2px; }

/* ---------------------------------------------------- affiches (rail) --
   Rail maison : --trav (px) mesuré par home.js ; course sur 0 à 0,8 de l'acte,
   puis palier : la dernière carte reste posée, entière. */
.affiches__rail {
  display: flex; align-items: center; width: max-content;
  gap: clamp(1.25rem, 2.6vw, 2.75rem);
  padding: 4.5rem var(--gutter) 2rem;
  transform: translate3d(calc(var(--trav, 0) * -1px * min(1, var(--sc-p, 0) / 0.8)), 0, 0);
  will-change: transform;
}
.affiche { width: clamp(13rem, 18vw, 17rem); }
.affiche__cadre {
  position: relative; display: block; padding: 10px;
  background: #efe6dc; border-radius: 3px;
  box-shadow: 0 2px 4px rgb(8 0 4 / 0.35), 0 20px 40px -14px rgb(8 0 4 / 0.7);
  transition: transform var(--d-base) var(--ease-out);
}
.affiche__cadre img {
  display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: 50% 0;
  border-radius: 0; box-shadow: none; transform: none;
  filter: saturate(0.9) contrast(1.05);
  outline: 1px solid rgb(29 13 20 / 0.25); outline-offset: -1px;
}
.affiche__cadre::after {
  content: ""; position: absolute; inset: 10px; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgb(29 6 14 / 0.35));
}
.affiche[href="/spectacle-de-grandes-illusions/"] .affiche__cadre img { object-position: 46% 50%; }
.affiche[href="/one-man-show/"] .affiche__cadre img { object-position: 100% 0; }
.affiche__cartel { display: block; height: 6.4rem; margin-top: var(--s-4); }
.affiche__cartel h3 {
  margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: 1;
  text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.affiche__cartel p {
  margin: var(--s-2) 0 0; font-size: var(--t-sm); line-height: 1.4; color: var(--ink-soft);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.affiche h3 { margin: 0; }
@media (hover: hover) and (pointer: fine) {
  .affiche:hover img { transform: none; }
  .affiche:hover .affiche__cadre { transform: translateY(-6px); }
}
.affiches__fin { width: clamp(18rem, 32vw, 30rem); }
@media (max-width: 700px) {
  .affiche { width: 60vw; }
  .affiches__fin { width: 80vw; }
}
@media (prefers-reduced-motion: reduce) {
  .affiches__rail { transform: none; }
  .affiches .affiches__stage { overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x proximity; }
  .affiches__rail > * { scroll-snap-align: center; }
}

/* relance après les affiches */
.relance { background: var(--sz-velours); border-top: 1px solid rgb(246 236 230 / 0.08); }
.relance__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s-3) var(--s-6); padding-block: var(--s-6); }
.relance__texte { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: var(--t-xl); text-transform: uppercase; line-height: 1; text-align: center; }

/* ------------------------------------------------------------ parcours -- */
.parcours { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
.parcours__photo { margin: 0; }
.parcours__photo img {
  width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover;
  outline: 1px solid var(--hairline); outline-offset: 10px;
  box-shadow: var(--e2);
}
.parcours__photo figcaption { margin-top: var(--s-5); font-size: var(--t-sm); color: var(--ink-soft); }
@media (max-width: 860px) { .parcours { grid-template-columns: 1fr; } .parcours__photo img { outline-offset: 6px; } }

/* ------------------------------------------------- fronton : logos -- */
.fronton__liste li { height: 72px; }
.fronton__liste img, .fronton__liste li.moyen img, .fronton__liste li.carre img { height: var(--h, 36px); max-width: 220px; }
.fronton__citations {
  list-style: none; margin: var(--s-6) auto 0; padding: 0 var(--gutter); max-width: var(--maxw);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5);
}
.fronton__citations li { text-align: center; padding-top: var(--s-4); border-top: 1px solid var(--hairline); }
.fronton__citations blockquote { margin: 0; }
.fronton__citations p { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); line-height: 1.05; text-transform: uppercase; color: var(--sz-os); }
.fronton__citations span { display: block; margin-top: var(--s-2); font-size: var(--t-sm); color: var(--sz-os-doux); }
@media (max-width: 700px) {
  .fronton__liste li { height: 58px; }
  .fronton__liste img, .fronton__liste li.moyen img, .fronton__liste li.carre img { height: calc(var(--h, 36px) * 0.78); max-width: 170px; }
  .fronton__citations { grid-template-columns: 1fr; gap: var(--s-3); margin-bottom: var(--s-3); }
}

/* ------------------------------------------------------------- final -- */
.final__voile {
  background:
    radial-gradient(42% 52% at 88% 82%, rgb(14 6 18 / 0.72), transparent 100%),
    radial-gradient(48% 52% at 10% 84%, rgb(14 6 18 / 0.8), transparent 100%),
    linear-gradient(to top, rgb(14 6 18 / 0.88) 0%, rgb(14 6 18 / 0.55) 22%, transparent 42%);
}
.final__mot { right: auto; left: var(--gutter); bottom: clamp(2rem, 10vh, 6rem); }
.final__cartes {
  left: auto; right: var(--gutter); bottom: clamp(1.5rem, 6vh, 3.5rem);
  justify-items: end; text-align: right; padding-inline: 0;
}
.flip { --w: clamp(62px, 5.6vw, 84px); }
.donne { justify-content: flex-end; gap: clamp(0.5rem, 1vw, 1rem); }
.final__chute { font-size: var(--t-xl); }
.final__cta { opacity: clamp(0, calc((var(--sc-p, 0) - 0.82) / 0.05), 1); min-height: 44px; }
html:not(.js) .final__cta { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .final__cta { opacity: 1; } }
@media (max-width: 700px) {
  .final__voile {
    background:
      linear-gradient(to bottom, rgb(14 6 18 / 0.88) 0%, rgb(14 6 18 / 0.5) 30%, transparent 46%),
      linear-gradient(to top, rgb(14 6 18 / 0.88) 0%, rgb(14 6 18 / 0.5) 20%, transparent 36%);
  }
  .final__cartes { top: auto; bottom: max(1.5rem, env(safe-area-inset-bottom)); left: var(--gutter); right: var(--gutter); justify-items: center; text-align: center; gap: var(--s-3); }
  .donne { justify-content: center; }
  .final__mot { bottom: 34vh; }
  .final__chute { font-size: 1.6rem; }
}

/* ------------------------------------------------------------ rappel -- */
.rappel__cadre { position: relative; z-index: 1; max-width: calc(72rem + 32vw); padding-inline: calc(16vw + var(--s-5)); }
.rappel__grille { padding-inline: 0; max-width: none; margin-top: var(--s-9); }
.etapes .display { margin-bottom: var(--s-6); }
.etapes__liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); counter-reset: none; }
.etapes__liste li { padding-top: var(--s-4); border-top: 1px solid var(--hairline); }
.etapes__n { display: block; font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--accent); }
.etapes__liste h3 { margin: var(--s-3) 0 0; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; line-height: 1.05; text-transform: uppercase; }
.etapes__liste p { margin: var(--s-2) 0 0; font-size: var(--t-sm); color: var(--ink-soft); }
@media (max-width: 1100px) {
  .rappel__cadre { padding-inline: calc(7vw + var(--s-4)); max-width: calc(46rem + 14vw); }
  .etapes__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .rappel__cadre { padding-inline: calc(4vw + 12px); }
  .etapes__liste { grid-template-columns: 1fr; gap: var(--s-4); }
  .rappel__grille { margin-top: var(--s-8); }
}

/* final réécrit (18/11) : mot lisible, chute + bouton + lien groupés */
.final__mot { text-shadow: 0 2px 6px rgb(14 6 18 / .85), 0 6px 40px rgb(20 0 30 / .7); }
.final__chute { margin: 0; max-width: 18ch; text-shadow: 0 1px 3px rgb(14 6 18 / .9), 0 2px 14px rgb(14 6 18 / .9); }
.final__lien { opacity: clamp(0, calc((var(--sc-p, 0) - 0.82) / 0.05), 1); color: var(--sz-os); text-shadow: 0 1px 6px rgb(14 6 18 / .9); }
html:not(.js) .final__lien { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .final__lien { opacity: 1; } }
/* accueil : villes rangées par région (entrée des cocons géographiques), 18/11 */
.villes__groupes { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: var(--s-5) var(--s-6); margin-top: var(--s-6); }
.villes__region { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: .95rem; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--ink-soft, #5b4249); }
.villes__groupe .villes__liste { flex-direction: column; gap: 0; margin-top: var(--s-2); }
/* 18 avis : les points passent à la ligne au lieu d'élargir la page sur mobile (18/11) */
.avis__points { flex-wrap: wrap; min-width: 0; max-width: 100%; }
.avis__ctrl { min-width: 0; }
