/* =========================================================
   CIMPRO — Landing « refonte »
   Univers : sac de ciment (pochoir, kraft), cahier de compte,
   ciel bleuté des vidéos CIMPRO, vert CIMPRO.
   ========================================================= */

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

:root {
  --ink: #0d1b26;
  --ink-2: #1d3142;
  --ink-soft: #44566a;
  --sky-50: #f3f8fb;
  --sky-100: #e4f1fa;
  --sky-200: #d6ebf8;
  --sky-line: #1683c7;
  --sky: #59bdf5;
  --green: #00c951;
  --green-hover: #00b448;
  --green-ink: #067a37;
  --kraft: #d9a66a;
  --kraft-paper: #f0dcbb;
  --kraft-ink: #7a4f1d;
  --stamp: #c8372d;

  --stencil: "BS Stencil", "BS Display", "Arial Narrow", Impact, sans-serif;
  --display: "BS Display", "Arial Narrow", Impact, sans-serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 4vw, 48px);
  --nav-h: 76px;
}

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--sky-50);
  background-image: radial-gradient(rgba(22, 131, 199, .12) 1px, transparent 1.3px);
  background-size: 22px 22px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::after { /* grain pellicule */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 3px solid var(--sky-line); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--green); color: var(--ink); }

.wrap { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.nw { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 16px; }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 24px; border-radius: 999px; font-weight: 800; font-size: 16px; line-height: 1.2;
  transition: transform .25s cubic-bezier(.2,.7,.1,1), background-color .2s, color .2s, box-shadow .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--green { background: var(--green); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(0, 150, 60, .7); }
.btn--green:hover { background: var(--green-hover); box-shadow: 0 16px 30px -12px rgba(0, 150, 60, .8); }
.btn--ghost { box-shadow: inset 0 0 0 2px var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--sky-50); }
.btn--light { box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .35s, box-shadow .35s, backdrop-filter .35s; }
.nav.is-scrolled { background: rgba(243, 248, 251, .84); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(13, 27, 38, .08); }
.nav__in { display: flex; align-items: center; gap: 28px; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { height: 40px; width: auto; }
.brand span { font-family: var(--stencil); font-weight: 900; font-size: 30px; letter-spacing: .03em; line-height: 1; }
.nav__links { display: flex; gap: 30px; margin-left: auto; font-weight: 650; font-size: 15px; }
.nav__links a { position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .35s cubic-bezier(.2,.7,.1,1); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__actions { display: flex; align-items: center; gap: 18px; }
.nav__login { font-weight: 700; font-size: 15px; }
.nav__login:hover { color: var(--green-ink); }
.nav__burger { display: none; width: 46px; height: 46px; border-radius: 50%; align-items: center; justify-content: center; box-shadow: inset 0 0 0 2px var(--ink); }
.nav__burger .ico { width: 22px; height: 22px; }

.menu {
  position: fixed; inset: 0; z-index: 70; background: var(--ink); color: #fff;
  display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 32px var(--gutter);
  clip-path: circle(0 at calc(100% - 44px) 38px); visibility: hidden;
  transition: clip-path .7s cubic-bezier(.7,0,.2,1), visibility 0s linear .7s;
}
.menu.is-open { clip-path: circle(150% at calc(100% - 44px) 38px); visibility: visible; transition: clip-path .7s cubic-bezier(.7,0,.2,1), visibility 0s; }
.menu a:not(.btn) { font-family: var(--stencil); font-weight: 900; font-size: clamp(2.6rem, 12vw, 4rem); line-height: 1.05; text-transform: uppercase; }
.menu .btn { margin-top: 28px; align-self: flex-start; }
.menu__close { position: absolute; top: 15px; right: var(--gutter); width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 2px rgba(255,255,255,.5); }

/* ---------- Ouverture cinéma ---------- */
.letterbox { display: none; }
html.anim .letterbox { display: block; position: fixed; left: 0; right: 0; height: 14vh; background: var(--ink); z-index: 80; }
html.anim .letterbox--top { top: 0; }
html.anim .letterbox--bot { bottom: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; padding-top: var(--nav-h); }
.hero__sky { position: absolute; inset: 0; z-index: -2; background: radial-gradient(110% 85% at 72% 28%, #fff 0%, var(--sky-100) 46%, var(--sky-200) 100%); }
.hero__floorwrap { position: absolute; inset: auto 0 0 0; height: 60%; perspective: 520px; perspective-origin: 50% 0%; z-index: -1; overflow: hidden; }
.hero__floor {
  position: absolute; left: -60%; right: -60%; top: 0; bottom: -40%;
  transform-origin: 50% 0%; transform: rotateX(64deg);
  background-image: linear-gradient(rgba(22,131,199,.30) 1.5px, transparent 1.5px), linear-gradient(90deg, rgba(22,131,199,.30) 1.5px, transparent 1.5px);
  background-size: 76px 76px; background-position: 50% 0px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 45%); mask-image: linear-gradient(to bottom, transparent 0%, #000 45%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(24px, 4vw, 64px); min-height: calc(100svh - var(--nav-h)); padding-block: 4vh 9vh; }
.hero__title { font-family: var(--stencil); font-weight: 900; text-transform: uppercase; font-size: clamp(4.4rem, 10.2vw, 10rem); line-height: .84; letter-spacing: .012em; }
.hero__title .l { display: block; }
.hero__tail { display: block; font-family: var(--display); font-weight: 800; text-transform: none; font-size: clamp(1.7rem, 2.7vw, 2.5rem); line-height: 1.05; letter-spacing: .01em; margin-top: .45em; color: var(--ink-2); }
.hero__lead { max-width: 33rem; font-size: 1.125rem; line-height: 1.62; color: var(--ink-soft); margin: 24px 0 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; font-size: 14px; font-weight: 650; color: var(--ink-soft); }
.hero__proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof .ico { color: var(--green-ink); }

.stage { position: relative; height: min(66vh, 600px); min-height: 380px; }
.stage__shadow { position: absolute; left: calc(50% - min(32%, 190px)); width: min(64%, 380px); bottom: calc(14% - 22px); height: 46px; background: radial-gradient(closest-side, rgba(13,27,38,.38), rgba(13,27,38,0)); }
.stage__bagwrap { position: absolute; left: calc(50% - min(27%, 160px)); width: min(54%, 320px); bottom: 14%; }
.stage__bag { width: 100%; height: auto; transform-origin: 50% 100%; filter: drop-shadow(0 26px 22px rgba(13,27,38,.16)); }
.stage__dust { position: absolute; inset: -20% -30% -10%; width: 160%; height: 130%; pointer-events: none; }
.stage__chips { position: absolute; inset: 0; pointer-events: none; }

.chip { position: absolute; background: #fff; border-radius: 12px; padding: 13px 15px 14px; min-width: 196px; font-size: 13px; line-height: 1.4; color: var(--ink-soft);
  box-shadow: 0 0 0 1px rgba(13,27,38,.06), 0 22px 40px -16px rgba(13,27,38,.32); }
.chip b { display: block; color: var(--ink); font-weight: 800; font-size: 14.5px; margin: 6px 0 2px; }
.chip--a { left: 0; top: 8%; rotate: -4deg; }
.chip--b { right: -2%; top: 34%; rotate: 3deg; }
.chip--c { left: 4%; bottom: 3%; rotate: 2deg; }

.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 750; line-height: 1; padding: 5px 9px; border-radius: 999px; background: rgba(0,201,81,.14); color: var(--green-ink); }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill--kraft { background: rgba(217,166,106,.24); color: var(--kraft-ink); }
.pill--sky { background: rgba(89,189,245,.2); color: #0b5f93; }
.bar { height: 6px; border-radius: 9px; background: var(--sky-100); overflow: hidden; margin-top: 9px; }
.bar i { display: block; height: 100%; width: var(--w, 50%); background: var(--green); border-radius: inherit; }

/* ---------- Titres de section ---------- */
.sec { position: relative; padding-block: clamp(96px, 12vw, 168px); }
.h2 { font-family: var(--display); font-weight: 900; font-size: clamp(2.7rem, 5.4vw, 5rem); line-height: .93; letter-spacing: .004em; text-wrap: balance; max-width: 15ch; }
.lead { font-size: 1.125rem; line-height: 1.65; color: var(--ink-soft); max-width: 36rem; margin-top: 22px; }

/* ---------- Problème : le cahier ---------- */
.probleme { overflow-x: clip; }
.probleme .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.probleme__intro { position: sticky; top: calc(var(--nav-h) + 48px); }
.desk { display: grid; gap: 20px; }
.slip {
  position: relative; background-color: #fff; border-radius: 4px; padding: 22px 26px 20px 62px;
  background-image: repeating-linear-gradient(to bottom, transparent 0 27px, rgba(22,131,199,.16) 27px 28px);
  background-position: 0 14px;
  box-shadow: 0 1px 0 rgba(13,27,38,.05), 0 20px 36px -20px rgba(13,27,38,.4);
}
.slip::before { content: ""; position: absolute; left: 42px; top: 0; bottom: 0; width: 1.5px; background: rgba(200,55,45,.4); }
.slip__h { font-family: var(--display); font-weight: 800; font-size: 1.65rem; line-height: 1; letter-spacing: .01em; }
.slip__pb { margin-top: 10px; color: var(--ink-soft); line-height: 28px; }
.strike { --s: 0%; background: linear-gradient(rgba(200,55,45,.75), rgba(200,55,45,.75)) 0 60% / var(--s) 2px no-repeat; }
.slip__fix { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding-top: 13px; border-top: 1px dashed rgba(13,27,38,.2); font-weight: 650; color: var(--green-ink); line-height: 1.5; }
.slip__fix .ico { margin-top: 3px; }

/* ---------- Parcours : du camion à la caisse ---------- */
.parcours { padding-bottom: 0; background: linear-gradient(to bottom, transparent, var(--sky-100) 220px); }
.parcours__head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; padding-bottom: clamp(48px, 6vw, 80px); }
.parcours__head .lead { margin-top: 0; }

/* Base (mobile, mouvement réduit) : frise verticale */
.pin { --road-b: 21vh; --road-h: 86px; --panel-t: clamp(96px, 13vh, 140px); position: relative; }
.track { position: relative; padding: 0 var(--gutter) clamp(80px, 10vw, 120px); max-width: 1240px; margin-inline: auto; }
.road, .truck, .hud { display: none; }
.stations { position: relative; display: flex; flex-direction: column; gap: 48px; padding-left: 64px; }
.stations::before { content: ""; position: absolute; left: 22px; top: 10px; bottom: 10px; width: 2px; background: rgba(13,27,38,.15); }
.stations::after { content: ""; position: absolute; left: 22px; top: 10px; bottom: 10px; width: 2px; background: var(--green); transform-origin: top; transform: scaleY(var(--fill, 0)); }
html:not(.anim) .stations::after { transform: none; }
.station { position: relative; }
.station__dot { position: absolute; z-index: 2; left: -64px; top: 0; width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: var(--sky-50); box-shadow: inset 0 0 0 3px var(--ink);
  font-family: var(--stencil); font-weight: 900; font-size: 1.5rem; line-height: 1; transition: background-color .4s, box-shadow .4s; }
.station__panel { max-width: 460px; transition: opacity .6s, transform .6s cubic-bezier(.2,.7,.1,1), filter .6s; }
.station__title { font-family: var(--display); font-weight: 900; font-size: clamp(2.2rem, 3.2vw, 3rem); line-height: .95; }
.station__txt { margin: 6px 0 16px; color: var(--ink-soft); font-weight: 550; }
html.anim .station__panel { opacity: .32; transform: translateY(14px) scale(.97); filter: saturate(0); }
html.anim .station.is-on .station__panel { opacity: 1; transform: none; filter: none; }
.station.is-on .station__dot, html:not(.anim) .station__dot { background: var(--green); box-shadow: inset 0 0 0 3px var(--ink), 0 0 0 8px rgba(0,201,81,.18); }

/* Mode cinéma (desktop, activé par le JS) : route horizontale épinglée */
.pin--h { height: 100vh; height: 100svh; overflow: hidden; background: linear-gradient(to bottom, var(--sky-100), var(--sky-200)); }
.pin--h .track { position: absolute; top: 0; bottom: 0; left: 0; width: max-content; max-width: none; margin: 0; padding: 0 20vw 0 38vw; will-change: transform; }
.pin--h .road { display: block; position: absolute; left: 0; right: 0; bottom: var(--road-b); height: var(--road-h); background: #23313c; box-shadow: inset 0 5px 0 #34444f, 0 -1px 0 rgba(13,27,38,.25); }
.road::after { content: ""; position: absolute; left: 0; right: 0; top: calc(50% - 2px); height: 4px; background: repeating-linear-gradient(90deg, rgba(243,248,251,.85) 0 48px, transparent 48px 100px); }
.pin--h .stations { flex-direction: row; gap: 0; height: 100%; padding-left: 0; }
.pin--h .stations::before, .pin--h .stations::after { display: none; }
.pin--h .station { flex: 0 0 60vw; height: 100%; }
.pin--h .station::before { content: ""; position: absolute; left: -1px; top: calc(var(--panel-t) + 24px); bottom: calc(var(--road-b) + var(--road-h) + 4px); border-left: 2px dashed rgba(13,27,38,.25); }
.pin--h .station__dot { left: -24px; top: auto; bottom: calc(var(--road-b) + var(--road-h) / 2 - 24px); width: 48px; height: 48px; font-size: 1.6rem; }
.pin--h .station__panel { position: absolute; left: 30px; top: var(--panel-t); width: min(440px, 36vw); }
.pin--h .truck { display: block; position: absolute; z-index: 3; left: 3vw; bottom: calc(var(--road-b) + 14px); width: clamp(300px, 31vw, 470px); pointer-events: none; }
.pin--h .hud { display: grid; }

.ui { background: #fff; border-radius: 14px; padding: 16px 18px; box-shadow: 0 0 0 1px rgba(13,27,38,.06), 0 26px 50px -24px rgba(13,27,38,.45); font-size: 14px; }
.ui__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid rgba(13,27,38,.08); }
.ui__head b { font-weight: 800; font-size: 15px; }
.ui__rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px dashed rgba(13,27,38,.08); }
.ui__rows > div:last-child { border-bottom: 0; }
.ui__rows dt { color: var(--ink-soft); }
.ui__rows dd { font-weight: 750; text-align: right; font-variant-numeric: tabular-nums; }
.ui__rows .neg dd { color: var(--green-ink); }
.ui__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; padding-top: 12px; border-top: 2px solid var(--ink); font-weight: 800; }
.ui__total strong { font-family: var(--display); font-weight: 900; font-size: 1.9rem; line-height: 1; font-variant-numeric: tabular-nums; }
.ui__btns { display: flex; gap: 8px; margin-top: 14px; }
.ui__btns span { font-size: 12.5px; font-weight: 750; padding: 7px 12px; border-radius: 8px; background: var(--sky-100); color: var(--ink-2); }

.hud { position: absolute; z-index: 4; left: 50%; transform: translateX(-50%); bottom: 3.2vh; width: min(1040px, calc(100% - 2 * var(--gutter)));
  grid-template-columns: repeat(4, auto) 1fr; align-items: center; background: var(--ink); color: #fff; border-radius: 16px; padding: 12px 6px;
  box-shadow: 0 24px 50px -20px rgba(13,27,38,.6); }
.hud__cell { padding: 2px 22px; border-right: 1px solid rgba(255,255,255,.12); }
.hud__k { display: block; font-size: 12px; font-weight: 650; color: #9cc3dc; }
.hud__v { display: block; font-family: var(--display); font-weight: 800; font-size: 1.65rem; line-height: 1.05; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hud__v small { font-size: .62em; font-weight: 700; color: #9cc3dc; margin-left: 4px; }
.hud__status { display: flex; align-items: center; gap: 10px; padding: 0 20px; font-weight: 700; font-size: 14px; }
.hud__status i { width: 10px; height: 10px; border-radius: 50%; background: var(--kraft); flex: none; box-shadow: 0 0 0 5px rgba(217,166,106,.2); transition: background-color .4s, box-shadow .4s; }
.hud.is-done .hud__status i { background: var(--green); box-shadow: 0 0 0 5px rgba(0,201,81,.22); }

@media (max-height: 760px) {
  .pin--h { --road-b: 17vh; --road-h: 70px; --panel-t: 84px; }
  .pin--h .station__title { font-size: 2rem; }
  .pin--h .station__txt { margin: 2px 0 10px; font-size: 15px; }
  .pin--h .ui { padding: 12px 14px; font-size: 13px; }
  .pin--h .ui__rows > div { padding: 5px 0; }
  .pin--h .hud__v { font-size: 1.35rem; }
  .pin--h .truck { width: clamp(220px, 22vw, 320px); }
}

/* ---------- Fonctionnalités ---------- */
.fonctions { background: var(--sky-50); }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); margin-top: clamp(48px, 6vw, 80px); }
.col__h { font-family: var(--display); font-weight: 900; font-size: clamp(1.9rem, 2.4vw, 2.3rem); line-height: 1; padding-bottom: 16px; border-bottom: 4px solid var(--ink); }
.feat { padding: 22px 0; border-bottom: 1px solid rgba(13,27,38,.12); }
.feat h4 { font-size: 1.08rem; font-weight: 800; line-height: 1.3; }
.feat p { margin-top: 6px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; }
.extras { padding-top: 18px; display: grid; gap: 10px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.extras li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.extras .ico { color: var(--green-ink); margin-top: 2px; }

/* ---------- Offres : bons de commande ---------- */
.offres { background: linear-gradient(to bottom, var(--sky-50), var(--sky-100)); }
.tickets { display: grid; grid-template-columns: 1.06fr 1fr; gap: clamp(28px, 4vw, 48px); align-items: start; margin-top: clamp(48px, 6vw, 80px); }
.ticket-wrap { filter: drop-shadow(0 26px 30px rgba(13,27,38,.16)); }
.ticket {
  --hole: 8px; position: relative; padding: clamp(32px, 4vw, 46px) clamp(26px, 3.4vw, 44px) clamp(30px, 3.6vw, 40px); background: #fff;
  -webkit-mask: radial-gradient(circle var(--hole) at 50% 0, transparent 97%, #000) 0 0 / 24px 51% repeat-x, radial-gradient(circle var(--hole) at 50% 100%, transparent 97%, #000) 0 100% / 24px 51% repeat-x;
          mask: radial-gradient(circle var(--hole) at 50% 0, transparent 97%, #000) 0 0 / 24px 51% repeat-x, radial-gradient(circle var(--hole) at 50% 100%, transparent 97%, #000) 0 100% / 24px 51% repeat-x;
}
.ticket--kraft { background-color: var(--kraft-paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 .48 0 0 0 0 .31 0 0 0 0 .11 0 0 0 .16 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E"); }
.ticket__h { font-family: var(--display); font-weight: 900; font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1; padding-right: 150px; }
.ticket__d { margin-top: 10px; color: var(--ink-soft); max-width: 30rem; }
.ticket--kraft .ticket__d, .ticket--kraft .ticket__note { color: #5a4630; }
.price { display: flex; align-items: baseline; gap: 10px; margin-top: 26px; }
.price strong { font-family: var(--display); font-weight: 900; font-size: clamp(3.6rem, 6.4vw, 5.4rem); line-height: .86; font-variant-numeric: tabular-nums; }
.price span { font-family: var(--display); font-weight: 800; font-size: 1.6rem; }
.price__sub { margin-top: 8px; font-weight: 700; }
.ticket__then { margin-top: 24px; padding-top: 22px; border-top: 2px dashed rgba(13,27,38,.22); }
.ticket__then b { display: block; font-size: 1.15rem; font-weight: 800; }
.ticket__note { margin-top: 6px; color: var(--ink-soft); font-size: 15.5px; }
.ticket__save { margin-top: 10px; font-weight: 800; color: var(--green-ink); font-size: 15.5px; }
.ticket__list { display: grid; gap: 10px; margin: 24px 0 30px; font-size: 15.5px; font-weight: 600; }
.ticket__list li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.ticket__list .ico { color: var(--green-ink); margin-top: 2px; }
.stamp { position: absolute; top: 34px; right: 28px; transform: rotate(-12deg); padding: 7px 14px 5px; border: 3px solid var(--stamp); border-radius: 6px; color: var(--stamp);
  font-family: var(--stencil); font-weight: 900; font-size: 1.45rem; line-height: 1; letter-spacing: .06em; text-transform: uppercase; opacity: .88; mix-blend-mode: multiply;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60'%3E%3Cfilter id='s'%3E%3CfeTurbulence baseFrequency='.8' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.2 1.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60'%3E%3Cfilter id='s'%3E%3CfeTurbulence baseFrequency='.8' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.2 1.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E"); }
.assure { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(48px, 5vw, 64px); border-top: 1px solid rgba(13,27,38,.14); }
.assure li { display: flex; gap: 14px; padding: 24px 24px 0 0; }
.assure li + li { padding-left: 24px; border-left: 1px solid rgba(13,27,38,.14); }
.assure .ico { width: 26px; height: 26px; color: var(--sky-line); }
.assure b { display: block; font-weight: 800; }
.assure p { color: var(--ink-soft); font-size: 15px; margin-top: 2px; }

/* ---------- Final : la nuit tombe ---------- */
.final { position: relative; overflow: hidden; color: #fff; padding-top: clamp(160px, 20vw, 260px); padding-bottom: 0;
  background: linear-gradient(to bottom, var(--sky-100) 0%, #a8cbe2 9%, #3e6584 24%, #1a3347 38%, var(--ink) 54%); }
.final__beam { position: absolute; top: 18%; left: 0; width: 70vw; height: 70vw; max-width: 1000px; max-height: 1000px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(248,192,118,.24), rgba(248,192,118,0)); mix-blend-mode: screen; transform: translateX(-110%); }
.final__title { font-family: var(--display); font-weight: 900; font-size: clamp(3rem, 7.4vw, 7rem); line-height: .9; max-width: 15ch; text-wrap: balance;
  background: linear-gradient(100deg, #fff 0 42%, #ffe2b0 50%, #fff 58%) 100% 0 / 300% 100% no-repeat; -webkit-background-clip: text; background-clip: text; color: transparent; }
.final__lead { color: #c3d8e7; font-size: 1.15rem; max-width: 36rem; margin-top: 26px; line-height: 1.65; }
.final__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.contact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: clamp(64px, 8vw, 110px); padding-top: 32px; border-top: 1px solid rgba(255,255,255,.14); }
.contact__k { display: flex; align-items: center; gap: 8px; color: #9cc3dc; font-size: 13.5px; font-weight: 650; }
.contact__v { display: block; margin-top: 6px; font-weight: 750; font-size: 1.02rem; line-height: 1.45; }
a.contact__v:hover { color: var(--green); }

.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: clamp(64px, 8vw, 100px); padding-block: 28px 36px; border-top: 1px solid rgba(255,255,255,.1); color: #9cc3dc; font-size: 14px; }
.foot .brand span { color: #fff; font-size: 26px; }
.foot .brand img { height: 34px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 22px; font-weight: 650; }
.foot__links a:hover { color: #fff; }

/* ---------- États initiaux de l'animation (seulement si JS + mouvement autorisé) ---------- */
html.anim .hero__title .l,
html.anim .hero__tail,
html.anim .hero__lead,
html.anim .hero__cta,
html.anim .hero__proof,
html.anim .stage__bagwrap,
html.anim .stage__shadow,
html.anim .chip { opacity: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { gap: 22px; }
  .chip { min-width: 176px; }
  .hud__cell { padding: 2px 16px; }
}

@media (max-width: 899px) {
  :root { --nav-h: 68px; }
  .nav__links, .nav__login, .nav__actions .btn { display: none; }
  .nav__actions { margin-left: auto; }
  .nav__burger { display: inline-flex; }
  .brand span { font-size: 26px; }
  .brand img { height: 34px; }

  .hero__grid { grid-template-columns: 1fr; padding-top: 28px; gap: 8px; min-height: 0; }
  .hero__title { font-size: clamp(3.6rem, 18vw, 6.5rem); }
  .stage { height: 440px; min-height: 0; margin-top: 10px; }
  .chip { min-width: 0; width: 186px; font-size: 12px; padding: 10px 12px; }
  .chip b { font-size: 13px; }
  .chip--a { top: 2%; }
  .chip--b { top: 30%; right: 0; }
  .chip--c { bottom: 0; left: 0; }
  .hero__floorwrap { height: 34%; }

  .probleme .wrap, .parcours__head { grid-template-columns: 1fr; }
  .probleme__intro { position: static; }
  .slip { padding: 20px 20px 18px 50px; }
  .slip::before { left: 32px; }

  .cols { grid-template-columns: 1fr; }
  .tickets { grid-template-columns: 1fr; }
  .ticket__h { padding-right: 0; margin-top: 54px; }
  .stamp { top: 24px; left: 24px; right: auto; }
  .assure { grid-template-columns: 1fr; }
  .assure li, .assure li + li { padding: 20px 0 0; border-left: 0; }
  .contact { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .hero__cta .btn { width: 100%; }
  .hero__proof { gap: 8px 18px; }
  .stage { height: 390px; }
  .chip { width: 168px; }
  .contact { grid-template-columns: 1fr; }
  .final__cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
