/* =========================================================
   MAISON ELH — Location de photobooth
   Direction : chambre noire. Lumière inactinique, papier baryté,
   grain argentique. Animations toujours actives (choix assumé).
   ========================================================= */

:root {
  --ink: #0b0a09;
  --ink-2: #13110f;
  --ink-3: #1d1a17;
  --paper: #efe8dc;
  --paper-2: #e4dccd;
  --paper-dim: #9d968b;
  --line: rgba(239, 232, 220, .14);
  --line-strong: rgba(239, 232, 220, .32);
  --red: #ff3b1f;
  --red-deep: #b5200c;
  --gold: #e8b46a;

  --f-display: "Instrument Serif", "Times New Roman", serif;
  --f-sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 3.2vw, 48px);
  --max: 1680px;
  --ease: cubic-bezier(.77, 0, .175, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --radius: 2px;
}

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-paper { background: var(--paper); color: var(--ink); }

img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--red); color: var(--ink); }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 9999; padding: 10px 16px; background: var(--red); color: var(--ink); transform: translateY(-200%); }
.skip:focus { transform: none; }
:focus-visible { outline: 1px solid var(--red); outline-offset: 4px; }

/* ---------- Grain global ---------- */
.grain {
  pointer-events: none; position: fixed; inset: -50%; z-index: 900;
  width: 200%; height: 200%; opacity: .085;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); }
  60% { transform: translate(-6%, -2%); } 80% { transform: translate(5%, 4%); } 100% { transform: translate(0, 0); }
}

/* ---------- Typographie ---------- */
.display {
  font-family: var(--f-display); font-weight: 400; letter-spacing: -.015em; line-height: 1.08;
  font-size: clamp(30px, 3.4vw, 36px); margin: 0;
}
.h1 { font-family: var(--f-display); font-weight: 400; letter-spacing: -.01em; line-height: 1.1; font-size: clamp(28px, 3vw, 36px); margin: 0; }
.h2 { font-family: var(--f-display); font-weight: 400; letter-spacing: -.01em; line-height: 1.12; font-size: clamp(26px, 2.6vw, 32px); margin: 0; }
.h3 { font-family: var(--f-display); font-weight: 400; letter-spacing: 0; line-height: 1.15; font-size: clamp(21px, 1.9vw, 26px); margin: 0; }
.h4 { font-family: var(--f-sans); font-weight: 500; font-size: 20px; letter-spacing: -.01em; line-height: 1.2; margin: 0; }
em, .it { font-style: italic; }
.red { color: var(--red); }
.mono { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.lede { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.4; letter-spacing: -.01em; max-width: 34ch; }
.body-l { font-size: clamp(16px, 1.15vw, 19px); line-height: 1.6; color: color-mix(in srgb, currentColor 78%, transparent); max-width: 62ch; }
.muted { color: var(--paper-dim); }
.is-paper main .muted { color: #6f685e; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px var(--red); }
@keyframes blink { 0%, 60%, 100% { opacity: 1; } 70% { opacity: .2; } }

/* Split text (géré par JS) */
.line-mask { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line-mask > span { display: block; will-change: transform; }
.char { display: inline-block; will-change: transform; }
.word { display: inline-block; white-space: nowrap; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(72px, 9vw, 140px) 0; }
.section--tight { padding: clamp(64px, 8vw, 120px) 0; }
.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; transform-origin: left; }
.is-paper .rule, .paper .rule { background: rgba(11, 10, 9, .16); }
.paper { background: var(--paper); color: var(--ink); }
.paper .muted { color: #6f685e; }
.paper ::selection { background: var(--ink); color: var(--paper); }

/* ---------- Préchargeur ---------- */
.loader {
  position: fixed; inset: 0; z-index: 2000; background: var(--ink); color: var(--paper);
  display: grid; place-items: center; pointer-events: all;
}
.loader__frame { position: relative; width: min(72vw, 520px); aspect-ratio: 3/2; border: 1px solid var(--line-strong); display: grid; place-items: center; }
.loader__frame::before, .loader__frame::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--red); }
.loader__frame::before { width: 28px; height: 1px; transform: translate(-50%, -50%); }
.loader__frame::after { width: 1px; height: 28px; transform: translate(-50%, -50%); }
.loader__count { position: absolute; right: -2px; bottom: -48px; font-family: var(--f-display); font-size: 36px; line-height: 1; }
.loader__label { position: absolute; left: 0; top: -28px; }
.loader__iso { position: absolute; left: 0; bottom: -28px; }
.loader__bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--red); box-shadow: 0 0 16px var(--red); }
.flash { position: fixed; inset: 0; z-index: 2100; background: #fff; opacity: 0; pointer-events: none; mix-blend-mode: normal; }

/* ---------- Transition de page : diaphragme ---------- */
.iris { position: fixed; inset: 0; z-index: 1900; pointer-events: none; }
.iris svg { width: 100%; height: 100%; }
.iris__blade { fill: var(--ink-2); stroke: var(--ink-3); stroke-width: 1.5; }

/* ---------- Curseur viseur ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 1800; pointer-events: none; mix-blend-mode: difference; opacity: 0; transition: opacity .3s; }
.cursor.is-live { opacity: 1; }
.cursor__ring { position: absolute; width: 44px; height: 44px; transform: translate(-50%, -50%); transition: width .5s var(--ease-out), height .5s var(--ease-out); }
.cursor__ring i { position: absolute; width: 10px; height: 10px; border-color: #fff; border-style: solid; border-width: 0; transition: all .5s var(--ease-out); }
.cursor__ring i:nth-child(1) { left: 0; top: 0; border-left-width: 1px; border-top-width: 1px; }
.cursor__ring i:nth-child(2) { right: 0; top: 0; border-right-width: 1px; border-top-width: 1px; }
.cursor__ring i:nth-child(3) { left: 0; bottom: 0; border-left-width: 1px; border-bottom-width: 1px; }
.cursor__ring i:nth-child(4) { right: 0; bottom: 0; border-right-width: 1px; border-bottom-width: 1px; }
.cursor__dot { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); }
.cursor__label { position: absolute; transform: translate(-50%, -50%) scale(.6); opacity: 0; font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #fff; white-space: nowrap; transition: all .4s var(--ease-out); }
.cursor.is-hover .cursor__ring { width: 84px; height: 84px; }
.cursor.is-hover .cursor__ring i { width: 16px; height: 16px; }
.cursor.has-label .cursor__label { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.cursor.has-label .cursor__dot { opacity: 0; }
.cursor.is-down .cursor__ring { width: 30px; height: 30px; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
@media (hover: hover) and (pointer: fine) { body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; } }

/* ---------- En-tête ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 1000; color: var(--paper); transition: color .4s; }
.is-paper .header, .header.on-paper { color: var(--ink); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px var(--gutter); }
.logo { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-display); font-size: 30px; letter-spacing: -.02em; line-height: 1; }
.logo__mark { width: 26px; height: 26px; }
.logo__mark circle { transition: r .6s var(--ease-out); }
.logo:hover .logo__mark { transform: rotate(-20deg) scale(.9); }
.logo__mark { transition: transform .6s var(--ease-out); }
.nav { display: flex; gap: 30px; }
.nav a { position: relative; font-size: 13px; letter-spacing: .02em; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 100%; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header__cta { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; }
.header__cta .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor; transition: transform .6s var(--ease); }
.burger span:nth-child(1) { top: 18px; } .burger span:nth-child(2) { top: 25px; }
.menu-open .burger span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 990; background: var(--red); color: var(--ink); clip-path: circle(0% at calc(100% - 44px) 44px); visibility: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 100px var(--gutter) 32px; }
.menu a.menu__link { display: block; font-family: var(--f-display); font-size: clamp(28px, 8vw, 36px); line-height: 1.25; letter-spacing: -.01em; overflow: hidden; }
.menu a.menu__link span { display: inline-block; }
.menu__foot { display: flex; justify-content: space-between; margin-top: 32px; padding-top: 16px; border-top: 1px solid rgba(11, 10, 9, .3); }

@media (max-width: 1000px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
}

/* ---------- Boutons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 14px; padding: 18px 28px; border-radius: 999px;
  font-size: 14px; font-weight: 500; letter-spacing: .01em; overflow: hidden; isolation: isolate; white-space: nowrap;
  border: 1px solid var(--line-strong); transition: color .6s var(--ease), border-color .6s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--paper); border-radius: inherit; transform: translateY(101%); transition: transform .7s var(--ease); }
.btn:hover { color: var(--ink); border-color: var(--paper); }
.btn:hover::before { transform: none; }
.btn--red { background: var(--red); color: var(--ink); border-color: var(--red); }
.btn--red::before { background: var(--paper); }
.btn--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--ink::before { background: var(--red); }
.btn--ink:hover { border-color: var(--red); }
.paper .btn { border-color: rgba(11, 10, 9, .3); }
.paper .btn::before { background: var(--ink); }
.paper .btn:hover { color: var(--paper); border-color: var(--ink); }
.paper .btn--red:hover { color: var(--ink); }
.paper .btn--red::before { background: var(--ink); }
.paper .btn--red:hover { color: var(--paper); }
.btn__arrow { width: 14px; height: 14px; transition: transform .6s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px) rotate(-45deg); }
.btn__txt { position: relative; display: inline-block; overflow: hidden; }
.btn__txt span { display: block; transition: transform .6s var(--ease); }
.btn__txt span + span { position: absolute; left: 0; top: 100%; }
.btn:hover .btn__txt span { transform: translateY(-100%); }

.link-u { position: relative; display: inline-block; }
.link-u::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 100%; background: currentColor; transform-origin: left; transition: transform .6s var(--ease); }
.link-u:hover::after { transform: scaleX(0); transform-origin: right; }

/* ---------- Visuels (photos procédurales ou réelles) ---------- */
.ph { position: relative; overflow: hidden; background: var(--ink-3); margin: 0; }
.ph canvas, .ph img, .ph video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph__in { position: absolute; inset: -12% 0; }
.ph__in canvas, .ph__in img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph figcaption, .ph .ph__cap { position: absolute; left: 12px; bottom: 10px; z-index: 2; font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #fff; mix-blend-mode: difference; }
.reveal-clip { clip-path: inset(100% 0 0 0); }

/* ---------- HERO accueil ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding-bottom: clamp(24px, 4vw, 48px); }
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__vignette { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 40%, transparent 30%, rgba(11, 10, 9, .85) 100%); pointer-events: none; }
.hero__top { position: absolute; top: 96px; left: 0; right: 0; }
.hero__meta { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.hero__title { position: relative; z-index: 2; }
.hero__title { max-width: 640px; }
.hero__title .display { font-size: clamp(30px, 3.4vw, 36px); }
.hero__title .row2 { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--gutter); }
.hero__bottom { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto; gap: var(--gutter); align-items: end; margin-top: clamp(20px, 3vw, 40px); }
.hero__hint { display: inline-flex; align-items: center; gap: 12px; }
.hero__hint .key { display: inline-grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--line-strong); border-radius: 50%; font-size: 10px; }
.polaroids { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.polaroid { position: absolute; width: clamp(140px, 14vw, 220px); padding: 10px 10px 42px; background: #f6f1e7; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); transform-origin: 50% 0; }
.polaroid canvas { width: 100%; aspect-ratio: 1; background: #111; }
.polaroid span { position: absolute; left: 12px; bottom: 12px; font-family: var(--f-display); font-style: italic; color: #222; font-size: 18px; }
.viewfinder { position: absolute; inset: 88px var(--gutter) var(--gutter); pointer-events: none; z-index: 1; }
.viewfinder i { position: absolute; width: 22px; height: 22px; border: 0 solid rgba(239, 232, 220, .5); }
.viewfinder i:nth-child(1) { left: 0; top: 0; border-left-width: 1px; border-top-width: 1px; }
.viewfinder i:nth-child(2) { right: 0; top: 0; border-right-width: 1px; border-top-width: 1px; }
.viewfinder i:nth-child(3) { left: 0; bottom: 0; border-left-width: 1px; border-bottom-width: 1px; }
.viewfinder i:nth-child(4) { right: 0; bottom: 0; border-right-width: 1px; border-bottom-width: 1px; }
.rec { display: inline-flex; align-items: center; gap: 8px; }
.rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: blink 1.2s infinite; }
@media (max-width: 700px) {
  .hero__bottom { grid-template-columns: 1fr; }
  .hero__title .row2 { flex-direction: column; align-items: flex-start; }
}


/* ---------- Manifeste ---------- */
.manifesto__text { font-family: var(--f-display); font-size: clamp(22px, 2.6vw, 34px); line-height: 1.3; letter-spacing: -.01em; max-width: 30em; }
.manifesto__text .word { opacity: .14; transition: opacity .2s; }
.manifesto__text .inline-ph { display: inline-block; width: 1.6em; height: .82em; vertical-align: -.06em; margin: 0 .1em; border-radius: 999px; overflow: hidden; position: relative; }

/* ---------- Cabines : défilement horizontal ---------- */
.hscroll { position: relative; overflow: hidden; }
.hscroll__track { display: flex; gap: var(--gutter); padding: 0 var(--gutter); width: max-content; will-change: transform; }
.hscroll__intro { width: min(40vw, 560px); flex: none; display: flex; flex-direction: column; justify-content: space-between; padding: 8px 0; }
.booth-card { position: relative; flex: none; width: clamp(300px, 34vw, 560px); display: flex; flex-direction: column; gap: 18px; }
.booth-card .ph { aspect-ratio: 4/5; border-radius: var(--radius); }
.booth-card__num { position: absolute; top: 14px; left: 14px; z-index: 2; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; color: #fff; mix-blend-mode: difference; }
.booth-card__price { position: absolute; top: 14px; right: 14px; z-index: 2; padding: 6px 10px; border-radius: 999px; background: rgba(11, 10, 9, .6); backdrop-filter: blur(10px); font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; }
.booth-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.booth-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-block; padding: 5px 10px; border: 1px solid var(--line-strong); border-radius: 999px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.paper .tag { border-color: rgba(11, 10, 9, .25); }
.booth-card .ph canvas { transition: transform 1.2s var(--ease-out), filter 1.2s var(--ease-out); }
.booth-card:hover .ph canvas { transform: scale(1.06); }
.booth-svg { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; pointer-events: none; }
.booth-svg svg { width: 58%; height: auto; overflow: visible; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); }
@media (max-width: 800px) {
  .hscroll__track { flex-direction: column; width: 100%; }
  .hscroll__intro, .booth-card { width: 100%; }
}

/* ---------- Statistiques ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 32px 24px 0 0; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat + .stat { padding-left: 24px; }
.stat__n { font-family: var(--f-display); font-size: clamp(30px, 3vw, 36px); line-height: 1; }
.stat__n sup { font-size: .35em; vertical-align: top; color: var(--red); margin-left: 4px; }
@media (max-width: 800px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(3) { padding-left: 0; } }

/* ---------- Cabine essai (webcam) ---------- */
.booth-live { display: grid; grid-template-columns: 1.25fr .75fr; gap: var(--gutter); align-items: stretch; }
.booth-live__screen { position: relative; aspect-ratio: 4/3; background: #000; overflow: hidden; border-radius: 4px; border: 1px solid var(--line); }
.booth-live__screen video, .booth-live__screen canvas.live { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.booth-live__idle { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; }
.booth-live__count { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-display); font-size: 36px; color: #fff; pointer-events: none; text-shadow: 0 0 60px rgba(255, 59, 31, .6); }
.booth-live__hud { position: absolute; inset: 14px; pointer-events: none; display: flex; justify-content: space-between; align-items: flex-start; font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.booth-live__frames { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 6px; }
.booth-live__frames i { width: 22px; height: 6px; border: 1px solid #fff; }
.booth-live__frames i.on { background: var(--red); border-color: var(--red); }
.booth-live__side { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.booth-live__strip { position: relative; flex: 1; min-height: 380px; display: grid; place-items: center; background: repeating-linear-gradient(135deg, transparent 0 10px, rgba(239, 232, 220, .03) 10px 11px); border: 1px dashed var(--line-strong); border-radius: 4px; overflow: hidden; }
.booth-live__strip canvas { max-height: 520px; width: auto; box-shadow: 0 30px 60px rgba(0, 0, 0, .6); }
.booth-live__controls { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 13px; transition: background .4s, color .4s, border-color .4s; }
.chip[aria-pressed="true"], .chip.is-on { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.paper .chip { border-color: rgba(11, 10, 9, .25); }
.paper .chip[aria-pressed="true"], .paper .chip.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
@media (max-width: 900px) { .booth-live { grid-template-columns: 1fr; } }

/* ---------- Planche contact ---------- */
.contact-sheet { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; padding: 18px; background: #0f0d0b; border: 1px solid var(--line); }
.contact-sheet__cell { position: relative; }
.contact-sheet__cell .ph { aspect-ratio: 3/2; filter: grayscale(1) contrast(1.1); transition: filter .6s; }
.contact-sheet__cell:hover .ph { filter: none; }
.contact-sheet__cell .n { display: block; margin-top: 6px; font-family: var(--f-mono); font-size: 9px; color: var(--gold); letter-spacing: .1em; }
.contact-sheet__cell svg.mark { position: absolute; inset: -8% -6%; width: 112%; height: 96%; pointer-events: none; overflow: visible; }
.contact-sheet__cell svg.mark path { fill: none; stroke: var(--red); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset .9s var(--ease-out); }
.contact-sheet__cell:hover svg.mark path, .contact-sheet__cell.is-picked svg.mark path { stroke-dashoffset: 0; }
@media (max-width: 800px) { .contact-sheet { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Processus ---------- */
.steps { counter-reset: s; }
.step { display: grid; grid-template-columns: 120px 1fr 1.2fr; gap: var(--gutter); padding: 36px 0; border-top: 1px solid var(--line); align-items: start; }
.paper .step { border-color: rgba(11, 10, 9, .16); }
.step__n { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; }
@media (max-width: 800px) { .step { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- Témoignages ---------- */
.quotes { position: relative; min-height: 50vh; }
.quote { position: absolute; inset: 0; opacity: 0; visibility: hidden; }
.quote.is-active { position: relative; opacity: 1; visibility: visible; }
.quote blockquote { margin: 0; font-family: var(--f-display); font-size: clamp(22px, 2.6vw, 32px); line-height: 1.3; max-width: 34em; }
.quote cite { display: block; margin-top: 32px; font-style: normal; }
.quotes__nav { display: flex; gap: 10px; align-items: center; }
.quotes__nav button { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background .4s, color .4s; }
.paper .quotes__nav button { border-color: rgba(11, 10, 9, .25); }
.quotes__nav button:hover { background: var(--red); color: var(--ink); border-color: var(--red); }
.quotes__progress { flex: 1; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.paper .quotes__progress { background: rgba(11, 10, 9, .16); }
.quotes__progress i { position: absolute; inset: 0; background: currentColor; transform-origin: left; transform: scaleX(0); }

/* ---------- Grand CTA ---------- */
.cta-big { position: relative; overflow: hidden; text-align: center; padding: clamp(96px, 12vw, 180px) 0; }
.cta-big__title { font-family: var(--f-display); font-size: clamp(30px, 3.4vw, 36px); line-height: 1.1; margin: 0; }
.cta-big__btn { position: relative; display: inline-grid; place-items: center; width: clamp(150px, 16vw, 220px); aspect-ratio: 1; border-radius: 50%; background: var(--red); color: var(--ink); margin-top: 48px; font-weight: 500; transition: transform .6s var(--ease-out); }
.cta-big__btn svg.circ { position: absolute; inset: -18px; width: calc(100% + 36px); height: calc(100% + 36px); animation: spin 18s linear infinite; }
.cta-big__btn svg.circ text { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .32em; fill: currentColor; text-transform: uppercase; }
.paper .cta-big__btn svg.circ text { fill: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }
.cta-big__floats { position: absolute; inset: 0; pointer-events: none; }
.cta-big__floats .ph { position: absolute; width: clamp(110px, 12vw, 200px); aspect-ratio: 4/5; border-radius: 2px; }

/* ---------- Pied de page ---------- */
.footer { position: relative; background: var(--ink); color: var(--paper); padding: clamp(64px, 8vw, 120px) 0 24px; overflow: hidden; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--gutter); }
.footer h3 { margin: 0 0 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer ul a { color: var(--paper-dim); transition: color .3s; }
.footer ul a:hover { color: var(--paper); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--line); }
.footer__bottom button { text-decoration: underline; text-underline-offset: 3px; }
.newsletter { display: flex; border-bottom: 1px solid var(--line-strong); margin-top: 18px; max-width: 420px; }
.newsletter input { flex: 1; background: none; border: 0; padding: 14px 0; outline: none; }
.newsletter input::placeholder { color: var(--paper-dim); }
.newsletter button { padding: 0 6px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid > :first-child { grid-column: 1 / -1; } }

/* ---------- En-têtes de pages internes ---------- */
.page-hero { position: relative; padding: clamp(130px, 14vw, 190px) 0 clamp(40px, 5vw, 72px); overflow: hidden; }
.page-hero__meta { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 64px); }
.page-hero__foot { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); margin-top: clamp(32px, 4vw, 64px); align-items: end; }
.crumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.crumbs a { color: var(--paper-dim); }
.paper .crumbs a, .is-paper .crumbs a { color: #6f685e; }
.crumbs span[aria-hidden] { opacity: .4; }
@media (max-width: 800px) { .page-hero__foot { grid-template-columns: 1fr; } }

/* ---------- Catalogue (page Cabines) ---------- */
.cat-row { position: relative; display: grid; grid-template-columns: 80px 1.2fr 1fr 160px; gap: var(--gutter); align-items: center; padding: 34px 0; border-top: 1px solid var(--line); }
.cat-row:last-child { border-bottom: 1px solid var(--line); }
.cat-row__title { font-family: var(--f-display); font-size: clamp(26px, 3vw, 36px); line-height: 1.1; transition: transform .8s var(--ease-out), color .4s; }
.cat-row:hover .cat-row__title { transform: translateX(12px); }
.cat-row__price { text-align: right; }
.cat-row__bg { position: absolute; inset: 0; background: var(--red); transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease); z-index: -1; }
.cat-row:hover .cat-row__bg { transform: scaleY(1); }
.cat-row:hover { color: var(--ink); }
.cat-row:hover .muted { color: var(--ink); }
.cat-list { position: relative; isolation: isolate; }
.cat-preview { position: fixed; left: 0; top: 0; width: 300px; aspect-ratio: 4/5; pointer-events: none; z-index: 50; opacity: 0; transform: translate(-50%, -50%) scale(.8); border-radius: 2px; overflow: hidden; }
@media (max-width: 800px) { .cat-row { grid-template-columns: 1fr; gap: 8px; } .cat-row__price { text-align: left; } .cat-preview { display: none; } }

/* ---------- Détail cabine ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.spec { padding: 28px 24px 28px 0; border-bottom: 1px solid var(--line); }
.spec:not(:nth-child(3n)) { border-right: 1px solid var(--line); }
.spec:not(:nth-child(3n+1)) { padding-left: 24px; }
.spec__v { font-family: var(--f-display); font-size: clamp(22px, 2vw, 28px); line-height: 1; margin-top: 10px; }
@media (max-width: 800px) { .spec-grid { grid-template-columns: 1fr 1fr; } .spec { border-right: 0 !important; padding-left: 0 !important; } }
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: center; }
.feature-split .ph { aspect-ratio: 4/5; }
@media (max-width: 800px) { .feature-split { grid-template-columns: 1fr; } }
.included { list-style: none; margin: 0; padding: 0; }
.included li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.paper .included li { border-color: rgba(11, 10, 9, .16); }
.included li::before { content: "＋"; color: var(--red); margin-right: 12px; }
.included li span:first-of-type { flex: 1; }
.booth-stage { position: relative; height: clamp(420px, 70vh, 760px); display: grid; place-items: center; overflow: hidden; }
.booth-stage svg.machine { height: 86%; width: auto; overflow: visible; filter: drop-shadow(0 50px 60px rgba(0, 0, 0, .6)); }
.booth-stage__floor { position: absolute; left: 10%; right: 10%; bottom: 6%; height: 40px; background: radial-gradient(50% 50% at 50% 50%, rgba(255, 59, 31, .35), transparent 70%); filter: blur(10px); }
.next-booth { display: block; padding: clamp(80px, 10vw, 160px) 0; text-align: center; border-top: 1px solid var(--line); }
.next-booth .h1 { transition: font-style .3s; }
.next-booth:hover .h1 { font-style: italic; color: var(--red); }

/* ---------- Galerie ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.masonry { columns: 3; column-gap: 14px; }
.masonry__item { break-inside: avoid; margin-bottom: 14px; position: relative; cursor: zoom-in; }
.masonry__item .ph { border-radius: 2px; }
.masonry__item .ph canvas { transition: transform 1.2s var(--ease-out); }
.masonry__item:hover .ph canvas { transform: scale(1.05); }
.masonry__meta { display: flex; justify-content: space-between; padding: 8px 2px 0; }
.masonry__item.is-hidden { display: none; }
@media (max-width: 900px) { .masonry { columns: 2; } }
@media (max-width: 520px) { .masonry { columns: 1; } }
.lightbox { position: fixed; inset: 0; z-index: 1500; background: rgba(11, 10, 9, .96); display: grid; grid-template-rows: auto 1fr auto; visibility: hidden; opacity: 0; }
.lightbox.is-open { visibility: visible; opacity: 1; }
.lightbox__top, .lightbox__bot { display: flex; justify-content: space-between; align-items: center; padding: 20px var(--gutter); }
.lightbox__stage { position: relative; display: grid; place-items: center; padding: 0 var(--gutter); min-height: 0; }
.lightbox__stage .ph { width: min(100%, 1100px); max-height: 100%; }
.lightbox__btn { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; }
.lightbox__btn:hover { background: var(--paper); color: var(--ink); }

/* ---------- Journal ---------- */
.posts { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(32px, 4vw, 64px) var(--gutter); }
.post-card { grid-column: span 4; display: flex; flex-direction: column; gap: 16px; }
.post-card--feat { grid-column: span 12; display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--gutter); align-items: end; }
.post-card .ph { aspect-ratio: 4/3; border-radius: 2px; }
.post-card--feat .ph { aspect-ratio: 16/10; }
.post-card__meta { display: flex; gap: 16px; }
.post-card h2, .post-card h3 { transition: color .4s; }
.post-card:hover h2, .post-card:hover h3 { color: var(--red); }
.post-card .ph canvas { transition: transform 1.2s var(--ease-out); }
.post-card:hover .ph canvas { transform: scale(1.05); }
@media (max-width: 900px) { .post-card { grid-column: span 12; } .post-card--feat { grid-template-columns: 1fr; } }

.article { display: grid; grid-template-columns: 1fr minmax(0, 720px) 1fr; column-gap: var(--gutter); row-gap: 0; }
.article > * { grid-column: 2; }
.article .wide { grid-column: 1 / -1; }
.article p { font-size: clamp(17px, 1.25vw, 20px); line-height: 1.7; margin: 0 0 1.4em; }
.article h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; margin: 1.6em 0 .6em; }
.article h3 { font-size: 22px; font-weight: 500; margin: 1.6em 0 .5em; }
.article ul, .article ol { font-size: clamp(17px, 1.25vw, 20px); line-height: 1.7; padding-left: 1.2em; margin: 0 0 1.4em; }
.article li { margin-bottom: .4em; }
.article li::marker { color: var(--red); }
.article blockquote { margin: 1.2em 0 1.6em; padding-left: 28px; border-left: 2px solid var(--red); font-family: var(--f-display); font-size: clamp(20px, 2vw, 26px); line-height: 1.3; }
.article a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--red); }
.article .ph { aspect-ratio: 16/9; margin: 2em 0; }
.article-progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); z-index: 1001; }
.article-toc { position: sticky; top: 120px; align-self: start; grid-column: 1; grid-row: 1 / span 40; display: grid; gap: 8px; justify-self: start; max-width: 220px; }
.article-toc a { color: #6f685e; font-size: 13px; transition: color .3s; }
.article-toc a.is-active { color: var(--ink); }
@media (max-width: 1100px) { .article { grid-template-columns: 1fr; } .article > *, .article .wide { grid-column: 1; } .article-toc { display: none; } }

/* ---------- FAQ ---------- */
.faq-item { border-top: 1px solid var(--line); }
.paper .faq-item { border-color: rgba(11, 10, 9, .16); }
.faq-item summary { list-style: none; display: grid; grid-template-columns: 1fr 44px; gap: 24px; align-items: center; padding: 28px 0; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary :is(h2, h3) { font-family: var(--f-display); font-weight: 400; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.25; margin: 0; transition: transform .6s var(--ease-out); }
.faq-item summary:hover :is(h2, h3) { transform: translateX(12px); }
.faq-item .pm { width: 44px; height: 44px; border-radius: 50%; border: 1px solid currentColor; position: relative; opacity: .5; transition: transform .6s var(--ease), background .3s, opacity .3s; }
.faq-item .pm::before, .faq-item .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1px; background: currentColor; transform: translate(-50%, -50%); }
.faq-item .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .6s var(--ease); }
.faq-item[open] .pm { transform: rotate(180deg); opacity: 1; background: var(--red); border-color: var(--red); }
.faq-item[open] .pm::after { transform: translate(-50%, -50%) rotate(0); }
.faq-item .ans { overflow: hidden; }
.faq-item .ans p { margin: 0 0 28px; max-width: 70ch; font-size: 17px; }

/* ---------- Formulaires ---------- */
.field { position: relative; display: block; padding-top: 22px; }
.field input, .field textarea, .field select { width: 100%; background: none; border: 0; border-bottom: 1px solid var(--line-strong); padding: 12px 0; font-size: 18px; outline: none; border-radius: 0; transition: border-color .4s; appearance: none; }
.paper .field input, .paper .field textarea, .paper .field select { border-color: rgba(11, 10, 9, .3); }
.field textarea { min-height: 120px; resize: vertical; }
.field label, .field .lbl { position: absolute; left: 0; top: 34px; font-size: 18px; color: var(--paper-dim); pointer-events: none; transition: all .4s var(--ease-out); }
.paper .field label { color: #6f685e; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--red); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 0; font-size: 11px; font-family: var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.field select + label { top: 0; font-size: 11px; font-family: var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.field select option { color: var(--ink); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px var(--gutter); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.form-ok { display: none; padding: 24px; border: 1px solid var(--red); }
.form-ok.is-on { display: block; }

/* ---------- Pré-devis ---------- */
.devis { min-height: 100svh; display: grid; grid-template-columns: 1fr 420px; }
.devis__main { position: relative; padding: 130px var(--gutter) 64px; display: flex; flex-direction: column; }
.devis__aside { position: sticky; top: 0; height: 100svh; padding: 110px 32px 32px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 20px; background: var(--ink-2); }
.devis__progress { display: flex; gap: 6px; margin-bottom: 40px; }
.devis__progress button { flex: 1; text-align: left; padding-top: 12px; border-top: 2px solid var(--line); font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--paper-dim); transition: color .4s, border-color .4s; }
.devis__progress button.is-done { border-color: var(--paper); color: var(--paper); }
.devis__progress button.is-current { border-color: var(--red); color: var(--paper); }
.devis__progress button:disabled { cursor: default; }
.devis__steps { position: relative; flex: 1; }
.dstep { display: none; }
.dstep.is-active { display: block; }
.dstep__q { font-family: var(--f-display); font-size: clamp(28px, 3vw, 36px); line-height: 1.1; margin: 12px 0 32px; }
.dstep__nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.choice { position: relative; text-align: left; padding: 22px; min-height: 150px; border: 1px solid var(--line-strong); border-radius: 4px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; overflow: hidden; isolation: isolate; transition: border-color .4s, color .4s; }
.choice::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--paper); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); }
.choice:hover { border-color: var(--paper); }
.choice[aria-pressed="true"] { color: var(--ink); border-color: var(--paper); }
.choice[aria-pressed="true"]::before { transform: none; }
.choice__ico { width: 36px; height: 36px; }
.choice__t { font-family: var(--f-display); font-size: 24px; line-height: 1; letter-spacing: -.01em; }
.choice__check { position: absolute; top: 16px; right: 16px; width: 22px; height: 22px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; opacity: .5; }
.choice[aria-pressed="true"] .choice__check { background: var(--red); border-color: var(--red); opacity: 1; }
.choice[aria-pressed="true"] .choice__check::after { content: ""; width: 8px; height: 4px; border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(-45deg) translate(1px, -1px); }
.machine-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.machine-choice { min-height: 320px; }
.machine-choice .mc-svg { height: 140px; display: grid; place-items: center; }
.machine-choice .mc-svg svg { height: 100%; width: auto; overflow: visible; transition: transform .8s var(--ease-out); }
.machine-choice:hover .mc-svg svg { transform: translateY(-6px) rotate(-2deg); }
.range-wrap { position: relative; padding: 40px 0 10px; }
.range-val { font-family: var(--f-display); font-size: 36px; line-height: 1; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 2px; background: var(--line-strong); outline: none; margin: 28px 0 10px; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 8px rgba(255, 59, 31, .18); cursor: grab; }
.range::-moz-range-thumb { width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 8px rgba(255, 59, 31, .18); cursor: grab; }
.range-scale { display: flex; justify-content: space-between; }
.opt-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: center; text-align: left; padding: 20px 22px; border: 1px solid var(--line-strong); border-radius: 4px; transition: border-color .3s, background .3s; }
.opt:hover { border-color: var(--paper); }
.opt[aria-pressed="true"] { border-color: var(--red); background: rgba(255, 59, 31, .08); }
.opt__t { font-size: 17px; font-weight: 500; }
.opt__p { font-family: var(--f-mono); font-size: 12px; }
.opt__d { grid-column: 1 / -1; font-size: 13px; color: var(--paper-dim); }
.toggle { width: 40px; height: 22px; border-radius: 999px; background: var(--line-strong); position: relative; transition: background .3s; }
.toggle::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); transition: transform .4s var(--ease); }
.opt[aria-pressed="true"] .toggle { background: var(--red); }
.opt[aria-pressed="true"] .toggle::after { transform: translateX(18px); }
@media (max-width: 700px) { .opt-list { grid-template-columns: 1fr; } }
.tpl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tpl { position: relative; aspect-ratio: 1/3; border-radius: 4px; overflow: hidden; outline: 1px solid var(--line); outline-offset: 4px; transition: outline-color .3s, transform .6s var(--ease-out); }
.tpl:hover { transform: translateY(-6px); }
.tpl[aria-pressed="true"] { outline: 2px solid var(--red); }
.tpl canvas { width: 100%; height: 100%; }
.tpl__n { position: absolute; left: 0; right: 0; bottom: -28px; text-align: center; }
@media (max-width: 700px) { .tpl-grid { grid-template-columns: repeat(2, 1fr); row-gap: 48px; } }

.ticket { position: relative; flex: 1; min-height: 0; background: var(--paper); color: var(--ink); padding: 24px 22px 28px; overflow: auto; font-family: var(--f-mono); font-size: 12px; letter-spacing: .02em; -webkit-mask: radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) bottom / 18px 100% repeat-x; mask: radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) 50% 100% / 18px 14px repeat-x, linear-gradient(#000, #000) 0 0 / 100% calc(100% - 13px) no-repeat; }
.ticket__head { text-align: center; padding-bottom: 14px; border-bottom: 1px dashed rgba(11, 10, 9, .4); margin-bottom: 14px; }
.ticket__brand { font-family: var(--f-display); font-size: 28px; letter-spacing: -.02em; line-height: 1; text-transform: none; }
.ticket__line { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; }
.ticket__line span:last-child { text-align: right; }
.ticket__line.is-new { animation: tick-in .7s var(--ease-out); }
@keyframes tick-in { from { background: rgba(255, 59, 31, .3); } to { background: transparent; } }
.ticket__sep { border-top: 1px dashed rgba(11, 10, 9, .4); margin: 10px 0; }
.ticket__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; }
.ticket__total strong { font-family: var(--f-display); font-weight: 400; font-size: 36px; letter-spacing: -.03em; line-height: 1; }
.ticket__bar { height: 42px; margin-top: 16px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 9px, var(--ink) 9px 12px, transparent 12px 13px); }
.ticket__empty { color: #6f685e; text-align: center; padding: 18px 0; }
.devis__done { text-align: left; }
.devis__done .h1 { margin-bottom: 24px; }
@media (max-width: 1000px) {
  .devis { grid-template-columns: 1fr; }
  .devis__aside { position: relative; height: auto; border-left: 0; border-top: 1px solid var(--line); padding: 32px var(--gutter); }
  .ticket { max-height: none; }
  .devis-mobile-total { display: flex !important; }
}
.devis-mobile-total { display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 800; justify-content: space-between; align-items: center; padding: 14px 20px; background: var(--paper); color: var(--ink); border-radius: 999px; box-shadow: 0 20px 40px rgba(0, 0, 0, .5); }
.devis-mobile-total strong { font-family: var(--f-display); font-size: 28px; font-weight: 400; }

/* ---------- Évènements ---------- */
.event-block { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); padding: clamp(64px, 8vw, 120px) 0; border-top: 1px solid var(--line); align-items: center; }
.event-block:nth-child(even) .event-block__media { order: 2; }
.event-block__media { position: relative; aspect-ratio: 5/6; }
.event-block__media .ph { position: absolute; }
.event-block__media .ph:nth-child(1) { inset: 0 18% 14% 0; }
.event-block__media .ph:nth-child(2) { width: 46%; aspect-ratio: 3/4; right: 0; bottom: 0; border: 8px solid var(--ink); }
@media (max-width: 800px) { .event-block { grid-template-columns: 1fr; } .event-block:nth-child(even) .event-block__media { order: 0; } }

/* ---------- Studio / à propos ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.value { padding-top: 24px; border-top: 1px solid var(--line); }
.paper .value { border-color: rgba(11, 10, 9, .16); }
.value__n { font-family: var(--f-display); font-size: 36px; line-height: 1; color: var(--red); }
@media (max-width: 800px) { .values { grid-template-columns: 1fr; } }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.team .ph { aspect-ratio: 3/4; }
@media (max-width: 800px) { .team { grid-template-columns: 1fr 1fr; } }

/* ---------- Divers ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }
.sticky-col { position: sticky; top: 120px; align-self: start; }
.badge-award { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 110px; height: 110px; border-radius: 50%; border: 1px solid var(--line-strong); text-align: center; font-family: var(--f-mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.badge-award b { font-family: var(--f-display); font-size: 30px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.legal h2 { font-family: var(--f-display); font-weight: 400; font-size: 28px; margin: 48px 0 12px; }
.legal p, .legal li { color: #4a453e; max-width: 70ch; }
.not-found { min-height: 100svh; display: grid; place-items: center; text-align: center; }
.hover-img { position: relative; }
.tilt { transform-style: preserve-3d; will-change: transform; }

/* ---------- États initiaux (avant animation) ---------- */
.iris { display: none; }
.js .iris { display: block; }
.js [data-split] { visibility: hidden; }
.js [data-intro]:not([data-split]), .js [data-reveal], .js [data-stagger] > * { opacity: 0; }
.js [data-clip] { clip-path: inset(100% 0 0 0); }
.wm { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .1em 0; margin: 0 -.06em -.1em 0; }
.wi { display: inline-block; will-change: transform; }

/* ---------- Animations des machines ---------- */
.m-arm { animation: m-arm 5s ease-in-out infinite alternate; }
@keyframes m-arm { from { transform: rotate(-28deg); } to { transform: rotate(18deg); } }
.m-spin { animation: m-dash 3s linear infinite; }
@keyframes m-dash { to { stroke-dashoffset: -56; } }
.m-ring { animation: m-pulse 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes m-pulse { 50% { opacity: .55; transform: scale(.96); } }
.m-screen { animation: m-glow 3.2s ease-in-out infinite; }
@keyframes m-glow { 50% { opacity: .75; } }
.m-curtain { animation: m-curtain 4s ease-in-out infinite; transform-box: fill-box; transform-origin: left top; }
@keyframes m-curtain { 50% { transform: scaleX(.86) skewY(1deg); } }
.booth-stage [data-machine] svg { height: 100%; width: auto; overflow: visible; filter: drop-shadow(0 50px 60px rgba(0, 0, 0, .6)); }
.is-paper main .btn { border-color: rgba(11, 10, 9, .3); }
.is-paper main .btn::before { background: var(--ink); }
.is-paper main .btn:hover { color: var(--paper); border-color: var(--ink); }
.is-paper main .btn--red:hover { color: var(--paper); }
.is-paper .rule { background: rgba(11, 10, 9, .16); }

/* Comparatif */
.cmp { width: 100%; min-width: 760px; border-collapse: collapse; }
.cmp th, .cmp td { text-align: left; padding: 18px 16px 18px 0; border-top: 1px solid var(--line); vertical-align: top; }
.cmp thead th { font-family: var(--f-display); font-weight: 400; font-size: clamp(22px, 2vw, 32px); border-top: 0; }
.cmp tbody th { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 400; color: var(--paper-dim); width: 18%; }
.cmp tbody tr { transition: background .3s; }
.cmp tbody tr:hover { background: rgba(239, 232, 220, .04); }

@media print {
  .header, .footer, .grain, .iris, .cursor, .devis__main, .devis-mobile-total, .flash { display: none !important; }
  body { background: #fff; color: #000; }
  .devis { display: block; }
  .devis__aside { position: static; height: auto; background: #fff; border: 0; padding: 0; }
  .ticket { -webkit-mask: none; mask: none; overflow: visible; }
}

/* Filets adaptés aux fonds clairs */
body.is-paper, .paper { --line: rgba(11, 10, 9, .16); --line-strong: rgba(11, 10, 9, .3); }
.footer { --line: rgba(239, 232, 220, .14); --line-strong: rgba(239, 232, 220, .32); }

/* Retouches QA */
.machine-choice .mc-svg svg { height: 140px; }
.menu-open .header { mix-blend-mode: normal; color: var(--ink); }
@media (max-width: 1000px) { .devis__main { padding-bottom: 110px; } }
@media (max-width: 700px) {
  .devis__progress button { font-size: 0; }
  .devis__progress button span { font-size: 10px; }
}

/* Les mots découpés n'héritent jamais d'un retrait (cause des chevauchements) */
.word, .wm, .wi, .char { text-indent: 0; }

/* Bloc fixe qui remplace les bandeaux défilants */
.strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); border-block: 1px solid var(--line); }
.strip > * { padding: 22px 20px 22px 0; display: flex; flex-direction: column; gap: 6px; }
.strip > * + * { padding-left: 20px; border-left: 1px solid var(--line); }
.strip .strip__t { font-family: var(--f-display); font-size: 22px; line-height: 1.2; }
a.strip__item { transition: color .3s; }
a.strip__item:hover .strip__t { color: var(--red); }
@media (max-width: 600px) { .strip > * + * { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }
.booth-live__count span { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: rgba(11, 10, 9, .55); border: 1px solid rgba(255, 255, 255, .5); }

/* Lisibilité du hero : pas de rouge sur fond rouge */
.hero h1 em.red { color: var(--paper); }
.hero__vignette { background: linear-gradient(to top, rgba(11, 10, 9, .92) 0%, rgba(11, 10, 9, .6) 35%, transparent 65%), radial-gradient(120% 90% at 50% 40%, transparent 30%, rgba(11, 10, 9, .85) 100%); }
