
  @font-face { font-family: 'DM Sans'; src: url(/vendor/dm-sans/dm-sans-latin.woff2) format('woff2'); font-weight: 100 1000; font-display: swap; }
  @font-face { font-family: 'DM Sans'; src: url(/vendor/dm-sans/dm-sans-latin-ext.woff2) format('woff2'); font-weight: 100 1000; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20CF; }
  :root { --bg: #ecebe6; --ink: #0d0d0d; --ink-2: #6b6a66; --line: rgba(13,13,13,.13); --btn: #0d0d0d; --btn-ink: #f9f8fa; --white: #f9f8fa; --glass: rgba(249,248,250,.72);
    --fc-back: #dad5cc; --fc-front-1: #ece8e0; --fc-front-2: #e2ddd3; --fc-line: #ffffffb3; --chip: rgba(13,13,13,.07);
    --ease: cubic-bezier(.2,.8,.2,1); --spring: cubic-bezier(.34,1.45,.64,1);
    --gutter: 24px; --s1: 16px; --s2: 32px; --s3: 64px; --s4: 120px; --s5: 200px; }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg: #0b0b0b; --ink: #f9f8fa; --ink-2: #8d8d8d; --line: rgba(249,248,250,.13); --btn: #f9f8fa; --btn-ink: #0b0b0b; --glass: rgba(33,31,29,.72); --fc-back: #2a2725; --fc-front-1: #35312e; --fc-front-2: #2b2826; --fc-line: #ffffff14; --chip: rgba(249,248,250,.08); } }
  :root[data-theme="dark"] { --bg: #0b0b0b; --ink: #f9f8fa; --ink-2: #8d8d8d; --line: rgba(249,248,250,.13); --btn: #f9f8fa; --btn-ink: #0b0b0b; --glass: rgba(33,31,29,.72); --fc-back: #2a2725; --fc-front-1: #35312e; --fc-front-2: #2b2826; --fc-line: #ffffff14; --chip: rgba(249,248,250,.08); }
  * { box-sizing: border-box; }
  body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.5 'DM Sans', system-ui, sans-serif; -webkit-font-smoothing: antialiased; transition: background .4s, color .4s; }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; color: inherit; }
  svg.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
  h1, h2, p { margin: 0; text-wrap: balance; }
  .wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }

  /* logo : le rabat du dossier se soulève au survol */
  .logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 22px; letter-spacing: -.055em; }
  .mark { width: 20px; height: 18px; fill: currentColor; flex: none; overflow: visible; }
  .mark path { transform-box: fill-box; transform-origin: 50% 100%; transition: transform .45s cubic-bezier(.3,1.6,.5,1); }
  .logo:hover .mark path:first-child { transform: scaleY(1.5); }
  .logo:hover .mark path:last-child { transform: translateY(8%) scaleX(.96); }

  /* bouton : la flèche descend au survol */
  .btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 20px 0 22px; border-radius: 99px; font: 500 15px/1 'DM Sans', sans-serif; background: var(--btn); color: var(--btn-ink); border: 0; cursor: pointer; transition: transform .4s var(--spring), box-shadow .3s; }
  .btn .arr { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--spring); }
  .btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -14px rgba(0,0,0,.55); }
  .btn:hover .arr { transform: translateY(2px); }
  .btn:active { transform: scale(.97); transition-duration: .12s; }
  .btn-sm { height: 36px; padding: 0 14px 0 16px; font-size: 14px; gap: 8px; }

  /* en-tête : pleine largeur en haut, puis une île flottante (comme les îlots de l'app) qui suit le chapitre lu */
  .top { position: fixed; inset: 0 0 auto; z-index: 40; display: flex; justify-content: center; padding: 0; pointer-events: none; transition: padding .6s var(--ease); }
  .bar { pointer-events: auto; display: flex; align-items: center; gap: 14px; width: 100%; max-width: 100%; height: 64px; padding: 0 var(--gutter); border-radius: 0; background: transparent; transition: max-width .7s var(--ease), height .6s var(--ease), padding .6s var(--ease), border-radius .6s var(--ease), background .5s, box-shadow .5s, backdrop-filter .5s; }
  .ver { font-size: 11.5px; font-weight: 500; letter-spacing: 0; color: var(--ink-2); border: 1px solid var(--line); border-radius: 99px; padding: 3px 8px; transition: background .3s, color .3s; }
  /* le logo ramène à l'accueil ; la pastille de version ouvre les nouveautés */
  .brand { display: flex; align-items: center; gap: 10px; }
  .ver:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
  .right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
  .theme { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: none; cursor: pointer; display: grid; place-items: center; transition: transform .5s var(--spring), background .3s; }
  .theme:hover { background: var(--chip); }
  .theme .sun { display: none; }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme .sun { display: block; } :root:not([data-theme="light"]) .theme .moon { display: none; } }
  :root[data-theme="dark"] .theme .sun { display: block; } :root[data-theme="dark"] .theme .moon { display: none; }
  .top.float { padding-top: 12px; }
  .top.float .bar { max-width: 720px; height: 56px; padding: 0 10px 0 20px; border-radius: 99px; background: var(--glass); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); box-shadow: 0 0 0 1px var(--line), 0 18px 40px -22px rgba(0,0,0,.45); }

  /* couverture : la photo remplit l'écran, puis se resserre dans son cadre au défilement (lignes et cadre apparaissent) */
  .cover { position: relative; height: 230svh; }
  .stage { position: sticky; top: 0; height: 100svh; min-height: 640px; display: grid; place-items: center; overflow: hidden; }
  .cover-card { position: relative; height: min(62svh, 700px); aspect-ratio: 4 / 5; max-width: calc(100vw - 48px); color: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; overflow: hidden; transform: scale(var(--s, 1)); will-change: transform; box-shadow: 0 50px 100px -50px rgba(0,0,0,calc(var(--p, 0) * .6)); }
  .cover-card .ph { position: absolute; inset: -12% 0; background: #8a5a2b center / cover; z-index: 0; transform: translate3d(0, var(--hy, 0px), 0) scale(var(--hs, 1)); will-change: transform; animation: zoomin 2.4s var(--ease) both; }
  @keyframes zoomin { from { scale: 1.15; } }
  .cover-card::before { content: ''; position: absolute; inset: 0; z-index: 1; background: radial-gradient(70% 55% at 50% 50%, rgba(20,10,4,.45), rgba(20,10,4,0) 75%); }
  .cover-card > :not(.ph) { position: relative; z-index: 3; }
  .cover-card .logo { position: absolute; top: 26px; font-size: 20px; gap: 7px; }
  .cover-card h1 { font-size: clamp(40px, min(5.6vw, 7.4svh), 84px); font-weight: 500; letter-spacing: -.05em; line-height: .98; max-width: 9ch; }
  .cta { position: absolute; z-index: 4; left: 0; right: 0; bottom: 40px; display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--white); transition: color .5s; }
  .cta small { font-size: 12.5px; opacity: .85; }
  .cta .btn { background: var(--white); color: #0d0d0d; }
  .cta .arr { animation: nudge 1.8s var(--ease) infinite 2s; } .cta .btn:hover .arr { animation: none; }
  @keyframes nudge { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(3px); } }
  .cover.past .cta { color: var(--ink); } .cover.past .cta .btn { background: var(--btn); color: var(--btn-ink); }
  .top.on-photo .logo, .top.on-photo .theme { color: var(--white); } .top.on-photo .ver { color: rgba(249,248,250,.8); border-color: rgba(249,248,250,.35); } .top.on-photo .theme { border-color: rgba(249,248,250,.35); }
  .top.on-photo .btn { background: var(--white); color: #0d0d0d; }

  /* intro, app, dossiers */
  .intro { padding: var(--s5) 0; display: flex; justify-content: center; text-align: center; }
  .label { font-size: 13px; color: var(--ink-2); padding-top: 14px; }
  .lead { font-size: clamp(30px, 3.6vw, 54px); font-weight: 500; line-height: 1.08; letter-spacing: -.04em; max-width: 32ch; }
  .live { position: relative; margin: 0; border-radius: 12px; overflow: hidden; background: #121212; height: clamp(520px, calc(100svh - 270px), 860px); box-shadow: 0 0 0 1px var(--line), 0 60px 120px -60px rgba(0,0,0,.6); transition: box-shadow .5s; }
  .live iframe { width: 100%; height: 100%; border: 0; display: block; pointer-events: none; }
  .cap { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; font-size: clamp(17px, 1.5vw, 21px); letter-spacing: -.015em; min-height: 32px; }
  .cap-n { font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; flex: none; letter-spacing: 0; }
  .cap-t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .35s, filter .35s, transform .45s var(--ease); }
  .cap-t.out { opacity: 0; filter: blur(5px); transform: translateY(6px); }
  .cap-steps { display: flex; gap: 6px; flex: none; }
  .cap-step { position: relative; width: 44px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
  .cap-step i { position: absolute; inset: 0; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); }
  .cur { position: absolute; left: 0; top: 0; z-index: 6; display: flex; align-items: flex-start; pointer-events: none; opacity: 0; transform: translate(60vw, 60vh); transition: transform .62s cubic-bezier(.5,0,.15,1), opacity .4s; }
  .cur svg { width: 20px; height: 20px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.45)); transition: transform .15s; }
  .cur span { margin: 16px 0 0 -2px; background: #0066ff; color: #fff; font-size: 11.5px; font-weight: 500; padding: 4px 8px; border-radius: 4px 99px 99px 99px; }
  .cur.down svg { transform: scale(.82); }
  .live.run .cur { opacity: 1; }
  .kept { position: absolute; z-index: 5; left: 0; top: 0; padding: 5px 10px; border-radius: 99px; background: #2fbf71; color: #0b0b0b; font-size: 12px; font-weight: 600; opacity: 0; transform: translateY(6px) scale(.8); transition: opacity .3s, transform .45s var(--spring); pointer-events: none; }
  .kept.on { opacity: 1; transform: none; }
  .live-cap { display: flex; justify-content: space-between; gap: 24px; font-size: 13px; color: var(--ink-2); margin: 18px 0 0; }

  .folders { padding: var(--s5) 0 0; text-align: center; display: flex; flex-direction: column; align-items: center; }
  .folders h2 { font-size: clamp(36px, 4.6vw, 68px); font-weight: 500; letter-spacing: -.045em; line-height: 1.02; }
  .folders > p { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.3; letter-spacing: -.015em; color: var(--ink-2); max-width: 30ch; margin-top: 20px; }
  /* les dossiers partent empilés au centre, puis se distribuent */
  .cards { list-style: none; margin: var(--s3) 0 0; padding: 0; width: 100%; max-width: 1080px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 28px; text-align: left; filter: none !important; }
  .cards .card { transform: translateX(var(--fx)) rotate(var(--fr)); transition: transform 1.3s var(--ease) calc(var(--k) * 70ms + .2s); }
  .cards.in .card { transform: none; }
  .cards .card:nth-child(1) { --fx: 160%; --fr: -6deg; --k: 3; z-index: 1; } .cards .card:nth-child(2) { --fx: 54%; --fr: -2deg; --k: 2; z-index: 2; }
  .cards .card:nth-child(3) { --fx: -54%; --fr: 2deg; --k: 1; z-index: 3; } .cards .card:nth-child(4) { --fx: -160%; --fr: 6deg; --k: 0; z-index: 4; }
  .card { position: relative; display: flex; flex-direction: column; gap: 14px; cursor: default; }
  .fc { position: relative; aspect-ratio: 1.3; perspective: 900px; }
  .fc > svg { position: absolute; left: 0; top: 0; width: 100%; height: 92%; overflow: visible; fill: var(--fc-back); }
  .fc-sheet, .fc-cover { position: absolute; left: 9%; right: 9%; top: 11%; height: 70%; border-radius: 6px; background: var(--chip) center / cover no-repeat; box-shadow: 0 1px 2px #0002, 0 6px 18px #0003; transition: transform .45s cubic-bezier(.3, 1.4, .5, 1); }
  .fc-cover { left: 16%; right: 5%; top: 17%; transform: rotate(4deg); transition-delay: .03s; }
  .fc-front { position: absolute; left: 0; right: 0; bottom: 0; height: 50%; border-radius: 14px 14px 16px 16px; background: linear-gradient(180deg, var(--fc-front-1), var(--fc-front-2)); box-shadow: inset 0 1px 0 var(--fc-line), 0 1px 2px #0003, 0 16px 34px #0000004d; transform-origin: 50% 100%; transition: transform .45s cubic-bezier(.3, 1.3, .5, 1); }
  .card:hover .fc-front { transform: rotateX(-18deg); }
  .card:hover .fc-sheet { transform: translateY(-8%); }
  .card:hover .fc-cover { transform: translateY(-10%) rotate(5deg); }
  .fc-badges { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 6px; }
  .fc-badges span { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 99px; background: var(--chip); color: var(--ink-2); font-size: 11px; white-space: nowrap; }
  .fc-badges .agent { color: #d97757; }
  .fc-badges .agent i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: wait 1.2s ease-in-out infinite; }
  @keyframes wait { 50% { opacity: .3; } }
  .fc-badges svg.i { width: 12px; height: 12px; }
  .fc-count { position: absolute; right: 16px; bottom: 15px; font-size: 11px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
  .card-meta b { display: block; font-size: 14px; font-weight: 500; letter-spacing: -.01em; }
  .card-meta small { display: block; font-size: 12px; color: var(--ink-2); margin-top: 2px; }

  /* chapitres, sommaire à gauche */
  .book { display: grid; grid-template-columns: 200px 1fr; gap: 48px; padding: var(--s5) 0 0; margin-bottom: var(--s5); }
  .toc { position: sticky; top: 120px; align-self: start; display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
  .toc a { position: relative; display: flex; justify-content: space-between; padding: 6px 0; color: var(--ink-2); transition: color .3s, padding .4s var(--ease); }
  .toc a::before { content: ''; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform .4s var(--spring); }
  .toc a small { font-size: 12px; } .toc a:hover { color: var(--ink); }
  .toc a.on { color: var(--ink); padding-left: 16px; } .toc a.on::before { transform: scale(1); }
  .chapter { padding: 0 0 var(--s5); } .chapter:last-child { padding-bottom: 0; }
  .ch-head { display: grid; grid-template-columns: 56px 1fr; align-items: baseline; padding-top: 24px; border-top: 1px solid var(--line); margin-bottom: var(--s3); }
  .num { font-size: 14px; color: var(--ink-2); }
  .ch-head h2 { font-size: clamp(36px, 4.6vw, 68px); font-weight: 500; letter-spacing: -.045em; line-height: 1.02; max-width: 16ch; }
  .ch-head p { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.3; letter-spacing: -.015em; color: var(--ink-2); max-width: 34ch; margin-top: 20px; }
  .trip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-left: 56px; }
  .tc > b { display: flex; gap: 12px; font-size: 15px; font-weight: 600; margin: 18px 0 6px; }
  .tc > b i { font-style: normal; color: var(--ink-2); font-weight: 500; font-variant-numeric: tabular-nums; }
  .tc > p { font-size: 15.5px; line-height: 1.45; color: var(--ink-2); max-width: 32ch; }
  .steps .tc > b { margin-top: 0; margin-bottom: 14px; }

  /* motions : une petite scène en boucle (6 s), sur le canvas sombre de l'app */
  .mot { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: #121212 radial-gradient(circle, rgba(255,255,255,.08) 1px, transparent 1.3px) 0 0 / 16px 16px; container-type: inline-size; color: #e8e8e8; font-size: 3.4cqw; box-shadow: 0 0 0 1px var(--line); }
  .mot * { animation-duration: 6s; animation-iteration-count: infinite; animation-timing-function: cubic-bezier(.6,0,.2,1); }
  .mf { position: absolute; background: #333 center / cover; color: #f9f8fa; display: grid; place-items: center; text-align: center; box-shadow: 0 10px 24px -12px rgba(0,0,0,.7); }
  .mf b { font-weight: 500; letter-spacing: -.04em; line-height: 1; font-size: 2.6cqw; max-width: 8ch; }
  .mf em { position: absolute; left: 0; bottom: calc(100% + 1.4cqw); font-style: normal; font-size: 2.4cqw; color: #8d8d8d; }
  .mf.full { inset: 12% 10%; } .mf.full b { font-size: 5cqw; }
  .face { display: inline-grid; place-items: center; width: 5.4cqw; height: 5.4cqw; border-radius: 50%; background: #0066ff; color: #fff; font-size: 2.6cqw; font-weight: 600; flex: none; }
  .face.c { background: #d97757; }
  /* I a : du code aux cadres */
  .code { position: absolute; left: 6%; top: 16%; width: 38%; bottom: 16%; background: #1d1d1d; border-radius: 2cqw; padding: 4cqw 3cqw; display: flex; flex-direction: column; gap: 1.6cqw; font: 2.7cqw/1.3 ui-monospace, Menlo, monospace; }
  .code small { color: #8d8d8d; font-size: 2.5cqw; }
  .code .ln { font-style: normal; padding: 1cqw 1.6cqw; border-radius: 1cqw; animation-name: hl; }
  .code .ln:nth-of-type(2) { animation-delay: .7s; } .code .ln:nth-of-type(3) { animation-delay: 1.4s; }
  @keyframes hl { 0%, 3% { background: transparent; } 8%, 20% { background: rgba(13,153,255,.32); } 28%, 100% { background: transparent; } }
  .m-code .mf { width: 22%; height: 30%; animation-name: pop; } .m-code .mf b { font-size: 1.8cqw; }
  .k1 { left: 50%; top: 16%; } .k2 { left: 74%; top: 16%; animation-delay: .7s; } .k3 { left: 50%; top: 54%; animation-delay: 1.4s; }
  @keyframes pop { 0%, 6% { opacity: 0; transform: scale(.7); } 14%, 84% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: scale(.96); } }
  /* I b : un écran, trois largeurs */
  .szf { left: 50%; top: 20%; height: 64%; transform: translateX(-50%); animation-name: sz; }
  @keyframes sz { 0%, 26% { width: 70%; } 34%, 60% { width: 40%; } 68%, 92% { width: 19%; } 100% { width: 70%; } }
  .sz { position: absolute; left: 0; right: 0; top: 8%; text-align: center; font-size: 2.6cqw; color: #8d8d8d; font-variant-numeric: tabular-nums; }
  .sz span { position: absolute; left: 0; right: 0; opacity: 0; animation-name: s1; }
  .sz span:nth-child(2) { animation-name: s2; } .sz span:nth-child(3) { animation-name: s3; }
  @keyframes s1 { 0%, 28% { opacity: 1; } 32%, 96% { opacity: 0; } 100% { opacity: 1; } }
  @keyframes s2 { 0%, 30% { opacity: 0; } 34%, 62% { opacity: 1; } 66%, 100% { opacity: 0; } }
  @keyframes s3 { 0%, 64% { opacity: 0; } 68%, 94% { opacity: 1; } 98%, 100% { opacity: 0; } }
  /* I c : un curseur, le titre suit */
  .tf { left: 7%; top: 16%; width: 52%; height: 68%; }
  .tt { animation-name: tt; font-size: 3.4cqw !important; }
  @keyframes tt { 0%, 10% { font-size: 3.4cqw; letter-spacing: -.04em; } 40%, 60% { font-size: 5.2cqw; letter-spacing: -.07em; } 90%, 100% { font-size: 3.4cqw; letter-spacing: -.04em; } }
  .dial { position: absolute; left: 64%; right: 6%; top: 22%; background: #1d1d1d; border-radius: 2.4cqw; padding: 3cqw; display: flex; flex-direction: column; gap: 1.6cqw; font-size: 2.4cqw; color: #a3a3a3; box-shadow: 0 10px 24px -12px rgba(0,0,0,.7); }
  .dial small { color: #f9f8fa; font-size: 2.6cqw; font-weight: 500; margin-bottom: 1cqw; }
  .track { position: relative; height: 3.6cqw; border-radius: 1cqw; background: #2a2a2a; overflow: hidden; }
  .track i { position: absolute; left: 0; top: 0; bottom: 0; width: 30%; background: #3a3a3a; border-right: .5cqw solid #fff; animation-name: tk; }
  .track.t2 i { animation-name: tk2; }
  @keyframes tk { 0%, 10% { width: 30%; } 40%, 60% { width: 78%; } 90%, 100% { width: 30%; } }
  @keyframes tk2 { 0%, 10% { width: 55%; } 40%, 60% { width: 22%; } 90%, 100% { width: 55%; } }
  /* II a : un retour épinglé */
  .mcur { position: absolute; left: 0; top: 0; width: 5cqw; animation-name: mc; } .mcur svg { width: 100%; filter: drop-shadow(0 1px 2px rgba(0,0,0,.5)); }
  @keyframes mc { 0% { transform: translate(78cqw, 60cqw); } 22%, 100% { transform: translate(52cqw, 30cqw); } }
  .pin { position: absolute; left: 50cqw; top: 27cqw; display: flex; align-items: center; gap: 1.6cqw; padding: .8cqw; border-radius: 4cqw 4cqw 4cqw 0; background: #fff; color: #111; font-size: 2.6cqw; white-space: nowrap; transform-origin: 0 100%; translate: 0 -100%; animation-name: pin; overflow: hidden; max-width: 0; }
  .pin .txt { padding-right: 1.6cqw; }
  @keyframes pin { 0%, 26% { opacity: 0; max-width: 7cqw; transform: scale(.5); } 32% { opacity: 1; max-width: 7cqw; transform: none; } 44%, 86% { opacity: 1; max-width: 60cqw; } 94%, 100% { opacity: 0; max-width: 60cqw; } }
  /* II b : le fil */
  .th { position: absolute; left: 12%; right: 12%; top: 14%; background: #1d1d1d; border-radius: 2.6cqw; padding: 3.4cqw; display: flex; flex-direction: column; gap: 2.6cqw; box-shadow: 0 10px 24px -12px rgba(0,0,0,.7); }
  .msg { display: flex; gap: 2cqw; font-size: 2.7cqw; line-height: 1.4; }
  .msg p b { display: block; font-weight: 500; color: #f9f8fa; } .msg p span { color: #bdbdbd; } .msg p i { font-style: normal; color: #d97757; }
  .work { display: flex; align-items: center; gap: .8cqw; font-size: 2.5cqw; color: #8d8d8d; animation-name: wk; height: 0; opacity: 0; }
  .work i { width: 1.2cqw; height: 1.2cqw; border-radius: 50%; background: #d97757; animation: wait 1s ease-in-out infinite; }
  .work i:nth-child(2) { animation-delay: .15s; } .work i:nth-child(3) { animation-delay: .3s; margin-right: 1cqw; }
  @keyframes wk { 0%, 16% { opacity: 0; height: 0; } 22%, 46% { opacity: 1; height: 3cqw; } 52%, 100% { opacity: 0; height: 0; } }
  .re { animation-name: rep; }
  @keyframes rep { 0%, 50% { opacity: 0; transform: translateY(2cqw); filter: blur(1cqw); } 58%, 90% { opacity: 1; transform: none; filter: none; } 97%, 100% { opacity: 0; } }
  /* II c : le cadre se met à jour */
  .up b { margin-bottom: 8cqw; }
  .ub { position: absolute; left: 50%; bottom: 12%; transform: translateX(-50%); background: #f9f8fa; color: #111; border-radius: 99px; font-size: 2.2cqw; padding: 1.2cqw 2.4cqw; animation-name: ub; white-space: nowrap; }
  @keyframes ub { 0%, 36% { font-size: 2.2cqw; padding: 1.2cqw 2.4cqw; } 44%, 90% { font-size: 3.4cqw; padding: 2cqw 4.4cqw; } 100% { font-size: 2.2cqw; padding: 1.2cqw 2.4cqw; } }
  .flash { position: absolute; inset: 0; background: #fff; opacity: 0; animation-name: fl; }
  @keyframes fl { 0%, 36% { opacity: 0; } 40% { opacity: .55; } 52%, 100% { opacity: 0; } }
  .toast { position: absolute; left: 50%; bottom: 3%; transform: translateX(-50%); display: flex; align-items: center; gap: 1.2cqw; padding: 1.2cqw 2.6cqw; border-radius: 99px; background: #1d1d1d; font-size: 2.4cqw; white-space: nowrap; animation-name: ts; opacity: 0; }
  .toast svg.i { width: 2.8cqw; height: 2.8cqw; color: #3ddc84; }
  @keyframes ts { 0%, 42% { opacity: 0; translate: 0 2cqw; } 50%, 86% { opacity: 1; translate: 0 0; } 94%, 100% { opacity: 0; } }
  /* III : trois variantes de la DA */
  .v { top: 24%; width: 25%; aspect-ratio: 4 / 5; } .v.a { left: 8%; } .v.b { left: 37.5%; } .v.c { left: 67%; }
  .v b { font-size: 2.3cqw; }
  .m-vers .v { animation-name: vin; } .m-vers .v.b { animation-delay: .35s; } .m-vers .v.c { animation-delay: .7s; }
  @keyframes vin { 0%, 4% { opacity: 0; transform: translateY(8cqw) scale(.92); } 16%, 86% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
  .selbox { position: absolute; top: calc(24% - .4cqw); width: calc(25% + .8cqw); aspect-ratio: 4 / 5; outline: .4cqw solid #0d99ff; animation-name: sb; }
  @keyframes sb { 0%, 26% { left: calc(8% - .4cqw); } 34%, 60% { left: calc(37.5% - .4cqw); } 68%, 92% { left: calc(67% - .4cqw); } 100% { left: calc(8% - .4cqw); } }
  .m-keep .dim { animation-name: dim; } .m-keep .win { animation-name: win; z-index: 1; }
  @keyframes dim { 0%, 20% { opacity: 1; } 34%, 88% { opacity: .22; } 100% { opacity: 1; } }
  @keyframes win { 0%, 20% { transform: none; outline: 0 solid #2fbf71; } 34%, 88% { transform: scale(1.14); outline: .5cqw solid #2fbf71; } 100% { transform: none; } }
  .won { position: absolute; left: 50%; top: 13%; transform: translateX(-50%); background: #2fbf71; color: #0b0b0b; font-size: 2.3cqw; font-weight: 600; padding: .8cqw 2cqw; border-radius: 99px; animation-name: won; opacity: 0; }
  @keyframes won { 0%, 30% { opacity: 0; translate: 0 1cqw; } 38%, 88% { opacity: 1; translate: 0 0; } 96%, 100% { opacity: 0; } }
  .m-keep code { position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%); font: 2.4cqw ui-monospace, Menlo, monospace; color: #f9f8fa; background: #1d1d1d; padding: 1.2cqw 2.4cqw; border-radius: 1.4cqw; white-space: nowrap; animation-name: won; opacity: 0; animation-delay: .4s; }
  /* IV a : les références arrivent */
  .m-refs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4cqw; padding: 8% 10%; }
  .m-refs i { border-radius: 1.4cqw; background: #333 center / cover; animation-name: drop; }
  .m-refs .th1 { animation-delay: .2s; } .m-refs .th2 { animation-delay: .4s; } .m-refs .th3 { animation-delay: .6s; } .m-refs .th4 { animation-delay: .8s; } .m-refs .th5 { animation-delay: 1s; }
  @keyframes drop { 0%, 2% { opacity: 0; transform: translateY(-6cqw) rotate(-4deg) scale(.9); } 12%, 86% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
  /* IV b : le brief s'écrit */
  .doc { position: absolute; left: 14%; right: 14%; top: 14%; bottom: 14%; background: #1d1d1d; border-radius: 2.4cqw; padding: 5cqw; display: flex; flex-direction: column; gap: 2.6cqw; }
  .doc .h { font-size: 3.6cqw; font-weight: 500; letter-spacing: -.03em; color: #f9f8fa; margin-bottom: 1cqw; }
  .doc .l { height: 1.8cqw; border-radius: 1cqw; background: #4a4a4a; transform-origin: 0 50%; animation-name: wr; }
  .doc .l1 { width: 86%; } .doc .l2 { width: 72%; animation-delay: .5s; } .doc .l3 { width: 90%; animation-delay: 1s; } .doc .l4 { width: 54%; animation-delay: 1.5s; }
  @keyframes wr { 0%, 4% { transform: scaleX(0); } 18%, 88% { transform: scaleX(1); } 96%, 100% { transform: scaleX(0); } }
  /* IV c : les automatismes sont rayés */
  .rs { position: absolute; left: 18%; right: 18%; top: 12%; display: flex; flex-direction: column; gap: 1.8cqw; }
  .rs-h { display: flex; justify-content: space-between; align-items: center; font-size: 3cqw; margin-bottom: 1cqw; } .rs-h b { font-weight: 500; color: #f9f8fa; }
  .tog { width: 7cqw; height: 4cqw; border-radius: 99px; background: #3a3a3a; position: relative; animation-name: tog; }
  .tog::after { content: ''; position: absolute; left: .5cqw; top: .5cqw; width: 3cqw; height: 3cqw; border-radius: 50%; background: #fff; animation: inherit; animation-name: knob; }
  @keyframes tog { 0%, 10% { background: #3a3a3a; } 16%, 90% { background: #2fbf71; } 100% { background: #3a3a3a; } }
  @keyframes knob { 0%, 10% { transform: none; } 16%, 90% { transform: translateX(3cqw); } 100% { transform: none; } }
  .rs span { position: relative; padding: 1.6cqw 2.4cqw; border-radius: 1.4cqw; background: #1d1d1d; font-size: 2.7cqw; color: #e8e8e8; animation-name: off; }
  .rs span::after { content: ''; position: absolute; left: 2.4cqw; right: 2.4cqw; top: 50%; height: .3cqw; background: #e8e8e8; transform-origin: 0 50%; transform: scaleX(0); animation: inherit; animation-name: strike; }
  .rs .r1, .rs .r1::after { animation-delay: .35s; } .rs .r2, .rs .r2::after { animation-delay: .7s; } .rs .r3, .rs .r3::after { animation-delay: 1.05s; }
  @keyframes off { 0%, 22% { opacity: 1; } 30%, 88% { opacity: .35; } 100% { opacity: 1; } }
  @keyframes strike { 0%, 20% { transform: scaleX(0); } 28%, 88% { transform: scaleX(1); } 96%, 100% { transform: scaleX(0); } }
  @media (prefers-reduced-motion: reduce) { .mot * { animation: none !important; } }

  .prompt { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; max-width: 460px; text-align: left; border: 1px solid var(--line); cursor: pointer; background: none; border-radius: 12px; padding: 15px 16px; font: 400 14px/1.4 ui-monospace, 'SF Mono', Menlo, monospace; transition: border-color .25s, background .25s, transform .4s var(--spring); }
  .prompt:hover { border-color: var(--ink); background: var(--chip); }
  .prompt:active { transform: scale(.985); }
  .prompt em { position: relative; width: 18px; height: 18px; flex: none; }
  .prompt em svg { position: absolute; inset: 0; transition: opacity .25s, transform .4s var(--spring); }
  .prompt em svg:first-child { opacity: .55; } .prompt em svg:last-child { opacity: 0; transform: scale(.4); color: #2fbf71; }
  .prompt.ok { border-color: #2fbf71; }
  .prompt.ok em svg:first-child { opacity: 0; transform: scale(.4); } .prompt.ok em svg:last-child { opacity: 1; transform: none; }

  /* fin */
  .end { position: relative; height: 96svh; min-height: 620px; margin: 0 var(--gutter); color: var(--white); display: grid; place-items: center; text-align: center; overflow: hidden; }
  .end .ph { position: absolute; inset: -14% 0; background: #555 30% 6% / cover; transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
  .end > div { position: relative; z-index: 3; }
  .end h2 { font-size: clamp(40px, 6vw, 90px); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; margin-bottom: var(--s2); text-shadow: 0 1px 30px rgba(0,0,0,.15); }
  .end .btn { background: var(--white); color: #0d0d0d; }
  .end p { font-size: 13px; opacity: .9; margin-top: 16px; }
  footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: var(--s3) var(--gutter) 40px; font-size: 13px; color: var(--ink-2); }
  footer .logo { font-size: 16px; gap: 6px; color: var(--ink); } footer .mark { width: 14px; height: 13px; }
  .made { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px 0 12px; border-radius: 99px; border: 1px solid var(--line); color: var(--ink); transition: background .3s, border-color .3s; }
  .made .mark { width: 13px; height: 12px; }
  .made:hover { background: var(--chip); border-color: var(--ink); }
  footer > span:last-child { text-align: right; }
  .foot-l { display: flex; align-items: center; gap: 16px; }

  /* mouvement : du flou au net */
  .rv { opacity: 0; transform: translateY(32px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0s); }
  .rv.in { opacity: 1; transform: none; filter: none; }
  .w { display: inline-block; opacity: 0; transform: translateY(.4em); filter: blur(8px); animation: up .9s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + 500ms); }
  .cover-card .logo, .cta { opacity: 0; animation: up .9s var(--ease) forwards; } .cover-card .logo { animation-delay: .35s; } .cta { animation-delay: .95s; }
  @keyframes up { from { opacity: 0; transform: translateY(14px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
  @keyframes rise { from { opacity: 0; transform: translateY(40px) scale(.96); filter: blur(10px); } }
  @keyframes fade { from { opacity: 0; } }
  @media (prefers-reduced-motion: reduce) { .rv, .w, .cover-card .logo, .cta, .cover-card .ph { opacity: 1; transform: none; filter: none; transition: none; animation: none; } }

  @media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 900px) {
    :root { --gutter: 16px; --s3: 48px; --s4: 88px; --s5: 136px; }
    .book { grid-template-columns: 1fr; gap: 0; }
    .trip { grid-template-columns: 1fr; padding-left: 0; gap: 40px; } .ch-head { grid-template-columns: 36px 1fr; }
    .cards .card { --fx: 0 !important; --fr: 0deg !important; }
    .label, .toc { display: none; }
    .cover-card { height: auto; width: calc(100vw - 48px); } .cover-card h1 { font-size: 40px; } .cover { height: 100svh; } .stage { min-height: 560px; } .cta { bottom: 28px; } .cover-card { height: min(72svh, 520px); width: auto; max-width: calc(100vw - 32px); } .cap-step { width: 18px; } .cap { font-size: 15px; }
    .top.float { padding: 10px 10px 0; } .top.float .bar { padding: 0 8px 0 16px; }
    .live { height: 70svh; }
    .end { margin: 0 12px; height: 80svh; }
    .live-cap { flex-direction: column; gap: 4px; }
    footer { grid-template-columns: 1fr; justify-items: center; text-align: center; } footer > span:last-child { text-align: center; } .foot-l { flex-direction: column; gap: 6px; }
  }

  /* grain : une seule couche fixe, sur tout le site, à taille constante */
  .grain-all { position: fixed; inset: -50%; z-index: 100; pointer-events: none; background: url(/img/grain.png) 0 0 / 180px; mix-blend-mode: overlay; opacity: .14; animation: grain 1s steps(6) infinite; }
  :root[data-theme="dark"] .grain-all { opacity: .1; }
  @keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }
  @media (prefers-reduced-motion: reduce) { .grain-all { animation: none; } }
  html.lenis, html.lenis body { height: auto; } .lenis.lenis-smooth { scroll-behavior: auto !important; } .lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; } .lenis.lenis-stopped { overflow: hidden; }

  /* chapitres : photo de la DA à gauche, points à droite */
  .ch-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; padding-left: 56px; }
  .entries { display: flex; flex-direction: column; gap: 48px; }
  .entry b { display: flex; gap: 12px; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
  .entry b i { font-style: normal; color: var(--ink-2); font-weight: 500; font-variant-numeric: tabular-nums; }
  .entry p { font-size: clamp(20px, 1.9vw, 27px); line-height: 1.25; letter-spacing: -.02em; max-width: 26ch; }
  .photo { position: relative; aspect-ratio: 1; overflow: hidden; color: var(--white); display: grid; place-items: center; isolation: isolate; }
  .photo .ph { position: absolute; inset: -12% 0; background: #6b4a3a center / cover; will-change: transform; z-index: 0; transition: scale .9s var(--ease); }
  .photo:hover .ph { scale: 1.03; }
  .photo span { position: relative; z-index: 2; font-weight: 500; font-size: clamp(26px, 3.6vw, 52px); letter-spacing: -.04em; display: inline-flex; }
  .photo svg.i { width: 1.3em; height: 1.3em; stroke-width: 1.3; }
  /* les révélations sont pilotées par GSAP (ScrollTrigger) : pas de transition CSS concurrente */
  .rv { transition: none !important; }
  @media (max-width: 900px) { .ch-body { grid-template-columns: 1fr; padding-left: 0; gap: 40px; } }

  /* page Nouveautés (dans le CSS global : Barba ne remplace que le contenu, pas le <head>) */
  .ch { max-width: 820px; margin: 0 auto; padding: 160px var(--gutter) var(--s5); }
  .ch h1 { font-size: clamp(44px, 6vw, 76px); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
  .ch .intro-p { font-size: clamp(19px, 1.7vw, 24px); color: var(--ink-2); margin-top: 20px; letter-spacing: -.015em; }
  .ch .now { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); border: 1px solid var(--line); border-radius: 99px; padding: 6px 12px; margin-top: 28px; }
  .ch .now i { width: 7px; height: 7px; border-radius: 50%; background: #2fbf71; }
  .ch .back { display: inline-flex; color: var(--ink-2); font-size: 14px; margin-bottom: 40px; transition: color .2s, transform .4s var(--spring); }
  .ch .back::before { content: ''; width: 14px; margin-right: 8px; border-top: 1px solid currentColor; align-self: center; }
  .ch .back:hover { color: var(--ink); transform: translateX(-3px); }
  .ch .month { margin-top: 96px; }
  .ch .month h2 { font-size: 15px; font-weight: 500; color: var(--ink-2); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
  .ch .month h2::first-letter { text-transform: uppercase; }
  .ch .item { display: grid; grid-template-columns: 130px 1fr; gap: 24px; padding: 40px 0; border-bottom: 1px solid var(--line); }
  .ch time { font-size: 14px; color: var(--ink-2); }
  .ch time b { display: block; font-size: 32px; font-weight: 500; color: var(--ink); letter-spacing: -.03em; margin-bottom: 6px; }
  .ch .latest time b::after { content: 'Dernière'; display: inline-block; vertical-align: middle; margin-left: 8px; font-size: 11px; font-weight: 500; color: #0b0b0b; background: #2fbf71; border-radius: 99px; padding: 4px 7px; letter-spacing: 0; }
  .ch .news { margin-bottom: 24px; } .news:last-child { margin-bottom: 0; }
  .ch h3 { font-size: 19px; font-weight: 500; letter-spacing: -.02em; margin: 0 0 6px; }
  .ch .news p { color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
  .ch .fix { margin-top: 28px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; }
  .ch h4 { font-size: 13px; font-weight: 500; color: var(--ink-2); margin: 0 0 10px; }
  .ch ul { margin: 0; padding-left: 18px; } .ch li { color: var(--ink-2); font-size: 14.5px; margin-bottom: 4px; }
  @media (max-width: 760px) { .ch { padding-top: 120px; } .ch .item { grid-template-columns: 1fr; gap: 14px; } .ch time b { display: inline; margin-right: 6px; font-size: 22px; } }

  /* le film de l'interface : scène 16/9, monde déplacé par la caméra (GSAP), îlots fixes, grande légende */
  .film { margin-top: 0; }
  .film-stage { position: relative; aspect-ratio: 16 / 9; max-height: calc(100svh - 140px); width: 100%; border-radius: 14px; overflow: hidden; container-type: size; background: #121212; color: #e8e8e8; box-shadow: 0 0 0 1px var(--line), 0 60px 120px -60px rgba(0,0,0,.6); }
  .world { position: absolute; inset: 0; background: radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1.3px) 0 0 / 2cqw 2cqw; will-change: transform; }
  .world::before { content: ''; position: absolute; left: -200%; right: -200%; top: -200%; bottom: -300%; background: inherit; }
  .fr { position: absolute; }
  .fr em { position: absolute; left: 0; bottom: calc(100% + .7cqh); font-style: normal; font-size: 1.15cqw; color: #8d8d8d; white-space: nowrap; }
  .fr .pic { position: absolute; inset: 0; background: #333 center / cover; display: grid; place-items: center; text-align: center; color: #f9f8fa; overflow: hidden; box-shadow: 0 1cqw 3cqw -1cqw rgba(0,0,0,.6); }
  .fr .pic b { font-weight: 500; letter-spacing: -.045em; line-height: 1; font-size: 3.2cqw; max-width: 9ch; }
  .fr-home { left: 6%; top: 24%; width: 50%; height: 50%; }
  .fr-prog { left: 60%; top: 24%; width: 22%; height: 50%; } .fr-prog .pic b { font-size: 2cqw; }
  .fr-mob { left: 85%; top: 24%; width: 9.5%; height: 50%; } .fr-mob .pic b { font-size: 1.2cqw; }
  .fbtn { position: absolute; left: 50%; bottom: 14%; translate: -50% 0; background: #f9f8fa; color: #111; border-radius: 99px; font-size: .95cqw; font-weight: 500; padding: .55cqw 1.2cqw; white-space: nowrap; }
  .fflash { position: absolute; inset: 0; background: #fff; opacity: 0; }
  .fpin { position: absolute; left: 33.5%; top: 63%; display: flex; align-items: center; gap: .6cqw; padding: .35cqw; border-radius: 1.6cqw 1.6cqw 1.6cqw 0; background: #fff; color: #111; font-size: 1cqw; white-space: nowrap; translate: 0 -100%; transform-origin: 0 100%; box-shadow: 0 .8cqw 2cqw rgba(0,0,0,.4); }
  .fpin .face { width: 2cqw; height: 2cqw; font-size: .9cqw; }
  .fpin .txt { display: inline-block; overflow: hidden; } .fpin .txt i { font-style: normal; color: #d97757; }
  .fr-v { top: 116%; width: 24%; height: 58%; } .fr-v1 { left: 11%; } .fr-v2 { left: 38%; } .fr-v3 { left: 65%; }
  .fr-v .pic b { font-size: 2.2cqw; }
  .fsel { position: absolute; top: calc(116% - .3cqw); left: 10%; width: calc(24% + .6cqw); height: calc(58% + .6cqw); border: .25cqw solid #0d99ff; opacity: 0; }
  .fwon { position: absolute; left: 50%; top: 109%; translate: -50% 0; background: #2fbf71; color: #0b0b0b; font-size: 1.1cqw; font-weight: 600; padding: .45cqw 1.1cqw; border-radius: 99px; opacity: 0; }
  .isl { position: absolute; z-index: 3; display: flex; align-items: center; gap: .9cqw; height: 3.2cqw; padding: 0 1.2cqw; border-radius: 1.2cqw; background: #1d1d1d; box-shadow: 0 0 0 1px rgba(255,255,255,.05); font-size: 1.05cqw; white-space: nowrap; }
  .isl svg.i { width: 1.3cqw; height: 1.3cqw; opacity: .75; }
  .isl .mark { width: 1.3cqw; height: 1.2cqw; fill: currentColor; }
  .isl-top { left: 50%; top: 1.6cqw; translate: -50% 0; } .isl-top b { font-weight: 500; } .isl-top .sep, .isl-top .page { color: #8d8d8d; }
  .isl-work { left: 1.6cqw; top: 1.6cqw; color: #a3a3a3; } .isl-work i { width: .6cqw; height: .6cqw; border-radius: 50%; background: #d97757; animation: wait 1s ease-in-out infinite; }
  .isl-tools { left: 50%; bottom: 1.6cqw; translate: -50% 0; gap: .3cqw; padding: 0 .4cqw; } .isl-tools span { width: 2.5cqw; height: 2.5cqw; display: grid; place-items: center; border-radius: .8cqw; } .isl-tools span.on { background: #2e2e2e; }
  .isl-zoom { right: 1.6cqw; bottom: 1.6cqw; } .isl-zoom b { font-weight: 400; font-variant-numeric: tabular-nums; min-width: 3.4cqw; text-align: center; }
  .ftoast { position: absolute; z-index: 3; left: 50%; top: 6cqw; translate: -50% 0; display: flex; align-items: center; gap: .6cqw; padding: .7cqw 1.4cqw; border-radius: 99px; background: #1d1d1d; font-size: 1.05cqw; white-space: nowrap; box-shadow: 0 0 0 1px rgba(255,255,255,.06); }
  .ftoast svg.i { width: 1.3cqw; height: 1.3cqw; color: #3ddc84; }
  .fcur { position: absolute; z-index: 5; left: 0; top: 0; width: 1.8cqw; pointer-events: none; } .fcur svg { width: 100%; filter: drop-shadow(0 2px 3px rgba(0,0,0,.45)); }
  /* la légende : grande, en bas à gauche, sur un voile */
  .fcap { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 12cqh 3cqw 7cqw; display: flex; align-items: flex-end; gap: 1.6cqw; background: linear-gradient(180deg, rgba(18,18,18,0), rgba(18,18,18,.92) 70%); pointer-events: none; }
  .fcap-n { font-size: 1.1cqw; color: #8d8d8d; font-variant-numeric: tabular-nums; padding-bottom: .9cqw; }
  .fcap-t { font-size: clamp(22px, 4.2cqw, 64px); font-weight: 500; letter-spacing: -.045em; line-height: 1; color: #f9f8fa; max-width: 18ch; }
  .fcap-t span { display: inline-block; }
  @media (max-width: 900px) { .film-stage { aspect-ratio: 4 / 5; max-height: none; } }

  /* chapitres sans numéro : titres alignés au bord, petits titres en retrait */
  .ch-head { grid-template-columns: 1fr; }
  .ch-body, .trip { padding-left: 0; }
  .entry b { color: var(--ink); opacity: .5; font-weight: 500; }
  .entry b i { color: inherit; }
  .tc > b { opacity: .5; font-weight: 500; }

  /* couverture : l'état final est un grand panneau arrondi presque pleine page (plus de petite carte seule) */
  .cover { height: 190svh; }
  .board { transform: none !important; }
  .cover-card { width: calc(100vw - 48px); height: calc(100svh - 108px); aspect-ratio: auto; max-width: none; margin-top: 44px; border-radius: calc(16px / var(--s, 1)); }
  .cover-card h1 { font-size: clamp(48px, min(8vw, 12svh), 140px); max-width: 11ch; }
  .cover.past .cta { color: var(--white); } .cover.past .cta .btn { background: var(--white); color: #0d0d0d; }
  .cta { bottom: 52px; }
  @media (max-width: 900px) { .cover-card { width: calc(100vw - 24px); height: calc(100svh - 92px); margin-top: 40px; } .cover-card h1 { font-size: 46px; } .cta { bottom: 40px; } }



  /* Commerce.Design : son logo devant son nom, en pleine opacité */
  .entry b.brand { opacity: 1; align-items: center; gap: 10px; } .entry b.brand span:last-child { opacity: .5; }
  .cd-logo { width: 22px; height: 20px; flex: none; }
  /* hero : plus de zoom, un grand panneau fixe dès l'arrivée */
  .cover { height: 100svh; }

  /* film : les écrans du site Nuits Claires (orange, titre serré, programme sombre, trois affiches) */
  .world { will-change: auto; }
  .nc { position: absolute; inset: 0; overflow: hidden; background: #ff5a1f; color: #140c08; box-shadow: 0 1cqw 3cqw -1cqw rgba(0,0,0,.6); display: flex; flex-direction: column; }
  .nc h4 { margin: 0; font-weight: 700; letter-spacing: -.075em; line-height: .82; }
  .nc-home { padding: 1.3cqw 1.6cqw 1.2cqw; }
  .nc-nav { display: flex; align-items: center; gap: 1.4cqw; font-size: .72cqw; font-weight: 500; }
  .nc-nav b { font-size: .95cqw; letter-spacing: -.04em; margin-right: auto; }
  .fbtn { position: static !important; translate: none !important; background: #140c08; color: #ff5a1f; border-radius: 99px; font-size: .72cqw; font-weight: 600; padding: .45cqw .9cqw; }
  .nc-hero { flex: 1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.6cqw; padding-top: 1.2cqw; min-height: 0; }
  .nc-hero h4 { font-size: 6.2cqw; align-self: end; }
  .nc-hero i { border-radius: .3cqw; background: center / cover; }
  .nc-meta { display: flex; gap: 2cqw; border-top: .15cqw solid #140c08; margin-top: 1cqw; padding-top: .6cqw; font-size: .7cqw; font-weight: 600; }
  .nc-prog { background: #140c08; color: #f4efe6; padding: 1.6cqw; gap: .2cqw; }
  .nc-prog h4 { font-size: 2.4cqw; margin-bottom: 1cqw; }
  .nc-prog p { display: flex; gap: 1.2cqw; align-items: baseline; margin: 0; padding: .55cqw 0; border-top: 1px solid rgba(244,239,230,.15); font-size: 1.15cqw; font-weight: 600; letter-spacing: -.04em; }
  .nc-prog small { color: #ff5a1f; font-size: .7cqw; font-weight: 600; letter-spacing: 0; min-width: 2.6cqw; }
  .nc-mob { padding: .9cqw; gap: .6cqw; font-size: .55cqw; }
  .nc-mob > b { font-size: .6cqw; } .nc-mob i { height: 42%; border-radius: .25cqw; background: center / cover; }
  .nc-mob h4 { font-size: 2.4cqw; margin-top: auto; }
  .nc-mob > span { background: #140c08; color: #ff5a1f; border-radius: 99px; text-align: center; padding: .4cqw; font-weight: 600; }
  .aff { padding: 1.3cqw; gap: .8cqw; }
  .aff small { font-size: .8cqw; font-weight: 600; letter-spacing: -.02em; }
  .aff h4 { font-size: 4.2cqw; }
  .aff > span { align-self: flex-start; border-radius: 99px; font-size: .8cqw; font-weight: 600; padding: .5cqw 1cqw; }
  .aff i { background: center / cover; }
  .a1 { color: #fff; justify-content: flex-end; } .a1 i { position: absolute; inset: 0; } .a1::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20,8,2,0) 35%, rgba(20,8,2,.6)); } .a1 > :not(i) { position: relative; z-index: 2; } .a1 small { position: absolute; top: 1.3cqw; left: 1.3cqw; } .a1 > span { background: #fff; color: #140c08; }
  .a2 { background: #d7ff3a; align-items: center; text-align: center; } .a2 i { width: 9cqw; height: 9cqw; border-radius: 50%; margin: auto 0 .4cqw; } .a2 h4 { font-size: 3.6cqw; } .a2 > span { align-self: center; background: #140c08; color: #d7ff3a; }
  .a3 { background: #0d0d0d; color: #ff5a1f; } .a3 small { color: #f4efe6; } .a3 i { height: 34%; margin: .4cqw -1.3cqw; filter: grayscale(1) contrast(1.1); } .a3 h4 { margin-top: auto; } .a3 > span { background: #ff5a1f; color: #140c08; }
  .fflash { z-index: 3; }
  /* la bulle se pose sous le bouton Billetterie, alignée à droite */
  .fpin { left: auto !important; right: 45.5%; top: 29% !important; translate: none !important; border-radius: 1.6cqw 0 1.6cqw 1.6cqw !important; transform-origin: 100% 0 !important; }
  /* la légende : sans numéro, dans la bande basse laissée libre par la caméra */
  .fcap { padding: 14cqh 3cqw 6.4cqw; }
  .fcap-t { font-size: clamp(22px, 3.6cqw, 56px); }

  /* Réglages : un composant et son panneau de contrôles (façon DialKit, comme dans l'app) */
  .dial-demo { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #121212 radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1.3px) 0 0 / 16px 16px; box-shadow: 0 0 0 1px var(--line); container-type: inline-size; color: #e8e8e8; }
  .dd-stage { position: absolute; left: 7%; top: 14%; width: 50%; }
  .dd-label { display: block; font-size: calc(2.6 * var(--u)); color: #8d8d8d; margin-bottom: calc(1.6 * var(--u)); }
  /* le composant : toutes ses mesures suivent les curseurs (valeurs sans unité, en cqw) */
  .ticket { --ts: 34; --tr: 4; --tg: 12; --tb: #ff5a1f; --ti: #140c08; position: relative; background: var(--tb); color: var(--ti); border-radius: calc(var(--tr) * calc(.26 * var(--u))); padding: calc(var(--tg) * .9 * calc(.26 * var(--u))); display: flex; flex-direction: column; gap: calc(var(--tg) * calc(.26 * var(--u))); transition: background .5s, color .5s; box-shadow: 0 calc(2 * var(--u)) calc(5 * var(--u)) -calc(2 * var(--u)) rgba(0,0,0,.6); }
  .ticket small { font-size: calc(2.2 * var(--u)); font-weight: 600; }
  .ticket h5 { margin: 0; font-size: calc(var(--ts) * calc(.2 * var(--u))); font-weight: 700; letter-spacing: -.07em; line-height: .85; }
  .t-foot { display: flex; align-items: center; justify-content: space-between; }
  .t-foot b { font-size: calc(3 * var(--u)); font-weight: 700; letter-spacing: -.03em; }
  .t-foot span { background: var(--ti); color: var(--tb); border-radius: 99px; font-size: calc(2.2 * var(--u)); font-weight: 600; padding: calc(1.4 * var(--u)) calc(2.6 * var(--u)); transition: background .5s, color .5s; }
  /* repères façon outil de design : colonnes, marge intérieure, espacements chiffrés */
  .guides { position: absolute; inset: 0; pointer-events: none; }
  .g-pad { position: absolute; inset: calc(var(--tg) * .9 * calc(.26 * var(--u))); outline: 1px dashed rgba(255,0,153,.75); }
  .g-cols { position: absolute; inset: calc(var(--tg) * .9 * calc(.26 * var(--u))); background: repeating-linear-gradient(90deg, rgba(255,0,153,.12) 0 calc((100% - 3 * calc(1.6 * var(--u))) / 4), transparent 0 calc((100% - 3 * calc(1.6 * var(--u))) / 4 + calc(1.6 * var(--u)))); }
  .g-gap { position: absolute; left: 50%; width: 1px; background: #ff0099; }
  .g-gap::before, .g-gap::after { content: ''; position: absolute; left: -calc(.8 * var(--u)); width: calc(1.6 * var(--u)); height: 1px; background: #ff0099; } .g-gap::before { top: 0; } .g-gap::after { bottom: 0; }
  .g-side { position: absolute; left: 0; top: 50%; height: 1px; background: #ff0099; }
  .guides em { position: absolute; font-style: normal; font: 600 calc(1.7 * var(--u))/1 'DM Sans', sans-serif; color: #fff; background: #ff0099; padding: calc(.4 * var(--u)) calc(.7 * var(--u)); border-radius: calc(.6 * var(--u)); white-space: nowrap; font-variant-numeric: tabular-nums; }
  .g-gap em { left: calc(1.2 * var(--u)); top: 50%; translate: 0 -50%; } .g-side em { left: 50%; top: -calc(3.4 * var(--u)); translate: -50% 0; }
  .dk { position: absolute; right: 6%; top: 50%; translate: 0 -50%; width: 32%; background: #1d1d1d; border-radius: 3cqw; padding: 3cqw; display: flex; flex-direction: column; gap: 2.6cqw; box-shadow: 0 0 0 1px rgba(255,255,255,.05), 0 2cqw 5cqw -2cqw rgba(0,0,0,.7); }
  .dk-h { display: flex; justify-content: space-between; align-items: baseline; font-size: 2.6cqw; } .dk-h b { font-weight: 500; color: #f9f8fa; } .dk-h small { font-size: 2.1cqw; color: #8d8d8d; }
  .dk-top { display: flex; justify-content: space-between; font-size: 2.1cqw; color: #a3a3a3; margin-bottom: 1.2cqw; } .dk-top b { font-weight: 500; color: #f9f8fa; font-variant-numeric: tabular-nums; }
  .dk-track { position: relative; height: 4.4cqw; border-radius: 1.4cqw; background: #2a2a2a; overflow: hidden; }
  .dk-track i { position: absolute; left: 0; top: 0; bottom: 0; background: #3a3a3a; border-right: .5cqw solid #fff; }
  .dk-sw { display: flex; gap: 1.4cqw; } .dk-sw i { width: 4.2cqw; height: 4.2cqw; border-radius: 1.2cqw; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); transition: box-shadow .3s; }
  .dk-sw i.on { box-shadow: 0 0 0 .5cqw #1d1d1d, 0 0 0 .9cqw #fff; }

  /* boutons : plus de soulèvement ; le libellé roule vers le haut, la flèche descend et revient */
  .btn { transition: background .3s, color .3s; } .btn:hover { transform: none; box-shadow: none; } .btn:active { transform: scale(.98); }
  .btn .arr { width: 16px; height: 16px; transition: none; }
  .btn:hover .arr { animation: dive .6s var(--ease); }
  @keyframes dive { 0% { transform: none; } 45% { transform: translateY(120%); opacity: 0; } 46% { transform: translateY(-120%); opacity: 0; } 100% { transform: none; opacity: 1; } }
  .roll { position: relative; display: inline-block; overflow: hidden; line-height: 1.25; vertical-align: middle; }
  .roll > span { display: block; transition: transform .55s var(--ease); }
  .roll::after { content: attr(data-t); position: absolute; left: 0; top: 100%; transition: transform .55s var(--ease); }
  .btn:hover .roll > span, .btn:hover .roll::after { transform: translateY(-100%); }
  .cta .arr { animation: none; }
  /* lien externe : un lien texte, souligné au survol, la flèche part en diagonale */
  .visit { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 15px; color: var(--ink); }
  .visit span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 2px; transition: background-size .45s var(--ease); }
  .visit i { display: inline-flex; overflow: hidden; width: 16px; height: 16px; }
  .visit .arr { width: 16px; height: 16px; transition: transform .45s var(--ease); }
  .visit:hover span { background-size: 100% 1px; }
  .visit:hover .arr { animation: fly .55s var(--ease); }
  @keyframes fly { 0% { transform: none; } 45% { transform: translate(110%, -110%); } 46% { transform: translate(-110%, 110%); } 100% { transform: none; } }

  /* film : les trois pistes sont des versions de l'Accueil (format écran), chacune avec sa direction */
  .fr-v { top: 125%; width: 26%; height: 29%; container-type: size; } .fr-v1 { left: 8%; } .fr-v2 { left: 37%; } .fr-v3 { left: 66%; }
  .fr-v .nc-home { padding: 4cqw 5cqw 4cqw; } .fr-v .nc-nav { gap: 4cqw; font-size: 2.6cqw; } .fr-v .nc-nav b { font-size: 3.4cqw; }
  .fr-v .vb { background: #140c08; color: #ff5a1f; border-radius: 99px; font-weight: 600; padding: 1.4cqw 3cqw; }
  .fr-v .nc-hero { gap: 5cqw; padding-top: 4cqw; } .fr-v .nc-hero h4 { font-size: 21cqw; } .fr-v .nc-meta { gap: 6cqw; font-size: 2.4cqw; border-top-width: .5cqw; margin-top: 3cqw; padding-top: 2cqw; }
  .vb2 { background: #111; color: #fff; } .vb2 .nc-hero { position: static; display: block; } .vb2 .nc-hero i { position: absolute; inset: 0; z-index: 0; filter: brightness(.8); } .vb2 .nc-hero h4 { position: absolute; left: 5cqw; bottom: 12cqw; z-index: 1; font-size: 27cqw; }
  .vb2 .nc-nav, .vb2 .nc-meta { position: relative; z-index: 1; } .vb2 .nc-meta { position: absolute; left: 5cqw; right: 5cqw; bottom: 4cqw; border-color: #fff; } .vb2 .vb { background: #fff; color: #111; }
  .vc { background: #0d0d0d; color: #ff5a1f; } .vc .nc-hero { grid-template-columns: 1fr; } .vc .nc-hero i { display: none; } .vc .nc-hero h4 { font-size: 30cqw; letter-spacing: -.085em; } .vc .nc-meta { border-color: #ff5a1f; } .vc .vb { background: #ff5a1f; color: #0d0d0d; } .vc .nc-nav b { color: #f4efe6; }
  .fsel { top: calc(125% - .3cqw) !important; width: calc(26% + .6cqw) !important; height: calc(29% + .6cqw) !important; }
  .fwon { top: 119.5% !important; }
  /* la bulle se pose au-dessus du titre de l'Accueil */
  .fpin { left: 20% !important; right: auto !important; top: 47% !important; translate: 0 -100% !important; border-radius: 1.6cqw 1.6cqw 1.6cqw 0 !important; transform-origin: 0 100% !important; }

  /* film : libellés des pistes lisibles, titres contenus dans leur cadre */
  .fr-v em { font-size: 4.4cqw; bottom: calc(100% + 2.4cqw); }
  .vb2 .nc-hero h4 { font-size: 22cqw; bottom: 14cqw; }
  .vc .nc-hero h4 { font-size: 23cqw; }
  .vc .nc-hero { padding-top: 3cqw; }
  /* réglages : le composant et son panneau, centrés et équilibrés */
  .dial-demo { display: flex; align-items: center; justify-content: center; gap: 5cqw; padding: 0 6cqw; }
  .dd-stage { position: static; width: 54%; flex: none; }
  .dk { position: static; translate: none; width: 34%; flex: none; }
  .prompt { max-width: 520px; }

  /* film, ouverture : la demande à Claude, en grand, le dernier mot au premier plan */
  .fprompt { position: absolute; inset: 0; z-index: 6; display: grid; place-items: center; pointer-events: none; }
  .fp-box { position: relative; width: 76%; padding: 3cqw 3.4cqw 3.4cqw; border-radius: 2.4cqw; background: rgba(29,29,29,.92); backdrop-filter: blur(1.4cqw); -webkit-backdrop-filter: blur(1.4cqw); box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 3cqw 8cqw -2cqw rgba(0,0,0,.8); }
  .fp-head { display: flex; align-items: center; gap: .8cqw; font-size: 1.1cqw; color: #8d8d8d; margin-bottom: 2cqw; } .fp-head i { width: .7cqw; height: .7cqw; border-radius: 50%; background: #d97757; }
  .fp-text { margin: 0; font-size: 5.4cqw; font-weight: 600; letter-spacing: -.05em; line-height: 1.05; color: #f9f8fa; min-height: 2.1em; }
  .fp-words span { transform-origin: 0 70%; } .fp-words .cmd { color: #ff5a1f; }
  .fp-caret { display: inline-block; width: .5cqw; height: 4.6cqw; margin-left: .6cqw; vertical-align: -0.6cqw; background: #f9f8fa; animation: caret 1s steps(1) infinite; }
  @keyframes caret { 50% { opacity: 0; } }
  .fp-enter { position: absolute; right: 2.4cqw; bottom: 2.4cqw; font-size: 1.2cqw; color: #0d0d0d; background: #f9f8fa; border-radius: .8cqw; padding: .6cqw 1.1cqw; font-weight: 500; }
  .ffade { position: absolute; inset: 0; z-index: 7; background: #0b0b0b; pointer-events: none; opacity: 0; }
  /* V2 : titre plus bas, il ne touche plus le menu */
  .vb2 .nc-hero h4 { font-size: 19cqw !important; bottom: 13cqw !important; }

  /* film en spot de lancement : ouverture plein noir, très grand ; légendes masquées ; carton final */
  .fprompt { background: #0b0b0b; }
  .fp-box { width: 84%; padding: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
  .fp-head { font-size: 1.3cqw; margin-bottom: 2.4cqw; }
  .fp-text { font-size: 7.4cqw; letter-spacing: -.055em; line-height: 1; }
  .fp-caret { width: .6cqw; height: 6.4cqw; }
  .fp-enter { right: 0; bottom: -4.6cqw; font-size: 1.3cqw; }
  .fcap-t { font-size: clamp(24px, 4.4cqw, 68px); letter-spacing: -.05em; }
  .fcap-t .m { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; } .fcap-t .m > span { display: inline-block; }
  .fend { position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6cqw; background: #0b0b0b; color: #f9f8fa; opacity: 0; pointer-events: none; text-align: center; }
  .fend-logo { display: inline-flex; align-items: center; gap: 1.2cqw; font-size: 7cqw; font-weight: 600; letter-spacing: -.06em; }
  .fend-logo .mark { width: 6cqw; height: 5.4cqw; fill: currentColor; }
  .fend p { margin: 0; font-size: 2.4cqw; color: #a3a3a3; letter-spacing: -.02em; }

  /* ouverture : une seule ligne, énorme et grasse ; la caméra suit le dernier mot (film.js) */
  .fprompt { display: block; overflow: hidden; }
  .fp-box { position: absolute; inset: 0; width: auto; }
  .fp-head { position: absolute; left: 3cqw; top: 3cqw; }
  .fp-text { position: absolute; left: 0; top: 50%; translate: 0 -50%; white-space: nowrap; font-size: 15cqw; font-weight: 700; letter-spacing: -.065em; line-height: 1; min-height: 0; }
  .fp-line { display: inline-block; will-change: transform; }
  .fp-caret { width: 1cqw; height: 12cqw; vertical-align: -1.6cqw; margin-left: 1cqw; }
  .fp-enter { right: 3cqw; bottom: 3cqw; font-size: 1.4cqw; }

  /* montage cut et carton final sur photos de la DA */
  .fcut { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
  .fcut .slide { position: absolute; inset: 0; background: #333 center / cover; display: grid; place-items: center; opacity: 0; overflow: hidden; }
  .fcut .slide::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 50%, rgba(10,6,4,.35), rgba(10,6,4,0)); }
  .fcut b { position: relative; font-size: 17cqw; font-weight: 700; letter-spacing: -.07em; line-height: .9; color: #f9f8fa; }
  .fend { background: #333 center / cover; }
  .fend::before { content: ''; position: absolute; inset: 0; background: rgba(10,6,4,.35); }
  .fend > * { position: relative; }
  .fend-logo { font-size: 11cqw; } .fend-logo .mark { width: 9.4cqw; height: 8.4cqw; }
  .fend p { color: rgba(249,248,250,.9); font-size: 2.8cqw; }
  .fp-text { font-size: 22cqw; letter-spacing: -.07em; }
  .fp-line { position: relative; }
  .fp-caret { width: 1.4cqw; height: 18cqw; vertical-align: -2.6cqw; }
  .fp-words .w { display: inline-block; transition: none; }
  .fcap-t { font-size: clamp(26px, 5.2cqw, 80px); }

  /* pistes : la sélection colle au cadre, la pastille Retenue suit le libellé, V3 tient dans son cadre */
  .fsel { top: 125% !important; left: 8%; width: 26% !important; height: 29% !important; border: 0 !important; outline: .22cqw solid #0d99ff; outline-offset: .25cqw; }
  .fr-v em { display: flex; align-items: center; gap: 2.4cqw; }
  .kept { font-style: normal; font-size: 3.4cqw; font-weight: 600; color: #0b0b0b; background: #2fbf71; border-radius: 99px; padding: .9cqw 2.4cqw; opacity: 0; }
  .vc .nc-hero h4 { font-size: 19cqw !important; }
  .vc .nc-meta { margin-top: 2cqw; }

  /* ===== les trois pistes, refaites avec rigueur : marges de 5cqw, grille de 12 colonnes, une seule échelle typo ===== */
  .fr-v .pv { --m: 5cqw; position: absolute; inset: 0; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; padding: var(--m); gap: 0; font-family: 'DM Sans', sans-serif; box-shadow: 0 1.4cqw 4cqw -1.4cqw rgba(0,0,0,.7); }
  .pv h4 { margin: 0; font-weight: 700; letter-spacing: -.075em; line-height: .84; }
  .p-nav { display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 4cqw; font-size: 2.2cqw; font-weight: 500; }
  .p-nav b { font-size: 2.6cqw; font-weight: 700; letter-spacing: -.04em; }
  .p-nav nav { display: flex; gap: 3.6cqw; justify-content: flex-end; }
  .p-cta { border-radius: 99px; font-weight: 600; padding: 1.3cqw 2.6cqw; }
  .p-meta, .p-side { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 2cqw; font-size: 2.1cqw; font-weight: 500; }
  /* V1 éditoriale : titre sur 8 colonnes, photo sur 4, filet et infos sur la grille */
  .v1 { background: #ff5a1f; color: #140c08; } .v1 .p-cta { background: #140c08; color: #ff5a1f; }
  .v1 .p-body { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 2cqw; align-items: end; padding: 3cqw 0 3.2cqw; min-height: 0; }
  .v1 h4 { grid-column: 1 / 9; font-size: 18cqw; }
  .v1 figure { grid-column: 9 / 13; margin: 0; aspect-ratio: 3 / 4; background: center / cover; border-radius: .6cqw; }
  .v1 .p-meta { border-top: .35cqw solid #140c08; padding-top: 1.8cqw; }
  /* V2 photo : image pleine page, voile pour la lisibilité, titre en bas à gauche, infos empilées à droite */
  .v2 { color: #f9f8fa; background: #2a160c; } .v2 .p-cta { background: #f9f8fa; color: #140c08; }
  .v2 figure { position: absolute; inset: 0; margin: 0; background: center 40% / cover; }
  .v2 figure::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,6,2,.45) 0%, rgba(14,6,2,0) 30%, rgba(14,6,2,0) 45%, rgba(14,6,2,.7) 100%); }
  .v2 .p-nav, .v2 .p-body { position: relative; }
  .v2 .p-body { grid-row: 3; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 2cqw; align-items: end; }
  .v2 h4 { grid-column: 1 / 9; font-size: 19cqw; }
  .v2 .p-side { grid-column: 9 / 13; grid-template-columns: 1fr; row-gap: .9cqw; padding-bottom: .8cqw; text-align: right; }
  /* V3 typographique : le titre sur toute la largeur, la programmation en trois colonnes */
  .v3 { background: #0d0d0d; color: #f4efe6; grid-template-rows: auto auto 1fr; } .v3 .p-cta { background: #ff5a1f; color: #0d0d0d; }
  .v3 h4 { color: #ff5a1f; font-size: 13.4cqw; letter-spacing: -.08em; line-height: .9; margin: 4.4cqw 0 0; white-space: nowrap; }
  .v3 .p-line { align-self: end; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 2cqw; row-gap: 1.6cqw; border-top: .3cqw solid rgba(244,239,230,.25); padding-top: 2.2cqw; }
  .v3 .p-line p { margin: 0; display: flex; gap: 1.4cqw; align-items: baseline; font-size: 2.9cqw; font-weight: 600; letter-spacing: -.035em; }
  .v3 .p-line small { color: #ff5a1f; font-size: 1.9cqw; font-weight: 600; letter-spacing: 0; font-variant-numeric: tabular-nums; }
  /* libellés : la piste et sa direction */
  .fr-v em i { font-style: normal; color: #5c5c5c; margin-left: -1cqw; }

  /* frappe : la ligne garde sa mise en page (lettres en ligne, crénage intact), le curseur glisse derrière la dernière lettre */
  .fp-words .w, .fp-words .c { display: inline !important; }
  .fp-caret { position: absolute; left: 0; top: 50%; translate: 0 -50%; margin: 0; vertical-align: baseline; }
  /* carton final : logo et accroche plus petits et resserrés, le bâtiment bien cadré */
  .fend { gap: .8cqw; background-position: 30% 8%; }
  .fend-logo { font-size: 5.4cqw; gap: .7cqw; } .fend-logo .mark { width: 4.6cqw; height: 4.1cqw; }
  .fend p { font-size: 1.7cqw; }
  .fr-v .kept { position: static; left: auto; top: auto; transform: none; translate: none; margin-left: 1cqw; }

  /* frappe : le texte est ancré à droite, il grandit vers la gauche ; le curseur reste à la même place */
  .fp-text { left: auto !important; right: 36%; top: 50%; translate: 0 -50%; white-space: nowrap; font-size: 20cqw; font-weight: 700; letter-spacing: -.065em; line-height: 1; color: #f9f8fa; will-change: transform; }
  .fp-done { color: #f9f8fa; } .fp-cur.cmd { color: #ff5a1f; }
  .fp-caret { position: static !important; translate: none !important; display: inline-block; width: 1.2cqw; height: 16cqw; margin-left: 1.2cqw; vertical-align: -1.8cqw; background: #f9f8fa; animation: caret 1s steps(1) infinite; }

  /* film de campagne : plans photo plein cadre, une phrase petite et posée bas, un voile très léger */
  .camp { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
  .camp .shot { position: absolute; inset: 0; background: #222 center / cover; will-change: transform, opacity; }
  .camp .shot::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,5,3,0) 55%, rgba(8,5,3,.5) 100%); }
  .camp p { position: absolute; z-index: 1; left: 4.4cqw; bottom: 4.4cqw; margin: 0; max-width: 30ch; font-size: clamp(16px, 2.5cqw, 34px); font-weight: 500; letter-spacing: -.025em; line-height: 1.2; color: #f9f8fa; }
  .fend-logo { font-size: 5cqw; }

  /* campagne : phrases centrées et plus grandes ; le doigt montré en entier ; baseline sous le logo */
  .camp .shot::after { background: radial-gradient(70% 60% at 50% 55%, rgba(8,5,3,.38), rgba(8,5,3,0) 75%); }
  .camp p { left: 0; right: 0; bottom: auto; top: 50%; translate: 0 -50%; margin: 0 auto; max-width: 16ch; text-align: center; font-size: clamp(28px, 5.4cqw, 84px); font-weight: 600; letter-spacing: -.045em; line-height: 1.02; text-shadow: 0 1px 30px rgba(0,0,0,.25); }
  .shot-doigt { background-size: auto 115% !important; background-position: 50% 0 !important; background-color: #4f312b !important; }
  .fend { gap: 1.2cqw; } .fend p { display: block; font-size: 1.9cqw; color: rgba(249,248,250,.9); }
  /* mobile de la planche : un format de téléphone, moins allongé */
  .fr-mob { width: 13% !important; height: 42% !important; left: 84% !important; }
  .fr-prog { width: 20% !important; }
  .camp .shot { background-repeat: no-repeat; }

  /* le fil de commentaire dans le film : une épingle et sa carte, comme dans l'app */
  .fthread { position: absolute; left: 57.5%; top: 27%; z-index: 3; display: flex; gap: .8cqw; align-items: flex-start; }
  .ft-pin { width: 2.4cqw; height: 2.4cqw; border-radius: 1.2cqw 1.2cqw 1.2cqw 0; background: #fff; display: grid; place-items: center; box-shadow: 0 .6cqw 1.6cqw rgba(0,0,0,.4); }
  .ft-pin .face { width: 1.8cqw; height: 1.8cqw; font-size: .8cqw; }
  .ft-card { width: 19cqw; background: #1d1d1d; border-radius: 1.1cqw; padding: 1.2cqw; display: flex; flex-direction: column; gap: 1cqw; box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 1.4cqw 3cqw -1cqw rgba(0,0,0,.7); }
  .ft-msg { display: flex; gap: .8cqw; font-size: .9cqw; line-height: 1.4; } .ft-msg .face { width: 1.7cqw; height: 1.7cqw; font-size: .75cqw; }
  .ft-msg p { margin: 0; } .ft-msg b { display: block; font-weight: 500; color: #f9f8fa; } .ft-msg span { color: #bdbdbd; } .ft-msg span i { font-style: normal; color: #d97757; }
  .ft-dots { gap: .3cqw; padding-top: .4cqw; } .ft-dots i { width: .5cqw; height: .5cqw; border-radius: 50%; background: #8d8d8d; animation: wait 1s ease-in-out infinite; } .ft-dots i:nth-child(2) { animation-delay: .15s; } .ft-dots i:nth-child(3) { animation-delay: .3s; }
  .ft-txt { display: block; }
  .fr-home .nc-meta { border-top-color: currentColor; }
  /* le mobile : une vraie page de téléphone (marges, grille, proportions) */
  .fr-mob { width: 12.5% !important; height: 44% !important; left: 84.5% !important; container-type: size; }
  .mob { position: absolute; inset: 0; overflow: hidden; background: #ff5a1f; color: #140c08; display: flex; flex-direction: column; padding: 7cqw 7cqw 8cqw; gap: 5cqw; box-shadow: 0 1cqw 3cqw -1cqw rgba(0,0,0,.6); border-radius: 2.4cqw; }
  .m-nav { display: flex; justify-content: space-between; align-items: center; font-size: 6.4cqw; } .m-nav b { letter-spacing: -.04em; }
  .m-nav i { width: 8cqw; height: 4.6cqw; background: linear-gradient(currentColor 0 0) 0 0 / 100% .9cqw no-repeat, linear-gradient(currentColor 0 0) 0 100% / 100% .9cqw no-repeat; }
  .mob figure { margin: 0; flex: 1; min-height: 0; border-radius: 1.6cqw; background: center / cover; }
  .mob h4 { margin: 0; font-size: 22cqw; font-weight: 700; letter-spacing: -.075em; line-height: .84; }
  .m-meta { display: flex; justify-content: space-between; border-top: .7cqw solid currentColor; padding-top: 3cqw; font-size: 5.4cqw; font-weight: 600; }
  .m-cta { background: #140c08; color: #ff5a1f; border-radius: 99px; text-align: center; padding: 4.2cqw; font-size: 6.4cqw; font-weight: 600; }
  /* carton final : logo et baseline rapprochés */
  .fend { gap: .3cqw !important; } .fend p { margin-top: -.2cqw; }
  .camp .shot { opacity: 1; }

  /* plans fixes (pas de poussée) ; carton final : logo au centre, baseline centrée en bas de l'écran */
  .camp { overflow: hidden; } .camp .shot { will-change: transform; backface-visibility: hidden; }
  .fend { justify-content: center; }
  .fend p { position: absolute; left: 0; right: 0; bottom: 4.4cqw; margin: 0 !important; text-align: center; font-size: 1.5cqw !important; letter-spacing: -.01em; }

  /* « Bientôt disponible » : un état, pas un lien ; au survol le bouton grossit avec ressort, un reflet le traverse, le libellé roule */
  .btn.soon { position: relative; overflow: hidden; cursor: pointer; gap: 10px; transition: transform .6s cubic-bezier(.34,1.56,.64,1), box-shadow .5s; }
  .btn.soon::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-18deg); opacity: 0; }
  .btn.soon:hover { transform: scale(1.06); box-shadow: 0 16px 34px -16px rgba(0,0,0,.6); }
  .btn.soon:hover::after { opacity: 1; animation: sheen .9s cubic-bezier(.2,.8,.2,1); }
  @keyframes sheen { from { left: -60%; } to { left: 120%; } }
  .btn.soon:active { transform: scale(.98); }
  .pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: #2fbf71; flex: none; animation: pulse 1.8s ease-in-out infinite; }
  @keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(47,191,113,.55); } 50% { box-shadow: 0 0 0 6px rgba(47,191,113,0); } }
  @media (prefers-reduced-motion: reduce) { .btn.soon:hover { transform: none; } .btn.soon::after, .pulse-dot { animation: none; } }

  /* hero : la petite mention reste lisible sur la photo */
  .cta small { display: inline-block; padding: 7px 14px; border-radius: 99px; background: rgba(12,7,4,.42); backdrop-filter: blur(10px) saturate(1.2); -webkit-backdrop-filter: blur(10px) saturate(1.2); opacity: 1 !important; color: rgba(249,248,250,.95); }

  /* prompts : copie bloquée pour l'instant, le bouton répond par un léger mouvement et un message */
  .prompt { position: relative; overflow: hidden; }
  .prompt::after { content: 'Disponible au lancement de foldr'; position: absolute; inset: 0; display: flex; align-items: center; padding: 0 16px; font: 500 14px/1 'DM Sans', sans-serif; color: var(--ink); background: var(--bg); transform: translateY(100%); transition: transform .5s cubic-bezier(.2,.8,.2,1); right: auto; top: auto; opacity: 1; }
  .prompt.locked::after { transform: none; }
  .prompt.locked { animation: nudge-x .4s cubic-bezier(.36,.07,.19,.97); border-color: var(--line); }
  @keyframes nudge-x { 20%, 60% { transform: translateX(-3px); } 40%, 80% { transform: translateX(3px); } }
  .prompt em svg:last-child { display: none; }

  /* photos des chapitres : le mot reste lisible même sur une zone claire */
  .photo span { text-shadow: 0 1px 24px rgba(0,0,0,.35); }

  /* Nouveautés : par thème, aéré */
  .ch .month h2 { display: flex; align-items: center; gap: 12px; }
  .ch .month h2 em { font-style: normal; font-size: 11px; font-weight: 600; color: #0b0b0b; background: #2fbf71; border-radius: 99px; padding: 4px 8px; text-transform: none; }
  .ch .themes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 40px; margin-top: 40px; }
  .ch .theme-item h3 { font-size: 20px; font-weight: 500; letter-spacing: -.02em; margin: 0 0 10px; }
  .ch .theme-item p { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.55; }
  .ch .fixes { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 15px; }
  @media (max-width: 760px) { .ch .themes { grid-template-columns: 1fr; gap: 32px; } }

  /* point du bouton : de la couleur du texte (noir sur les boutons clairs) */
  .pulse-dot { background: currentColor; animation: pulse-ink 1.8s ease-in-out infinite; }
  @keyframes pulse-ink { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 45%, transparent); } 50% { box-shadow: 0 0 0 6px color-mix(in srgb, currentColor 0%, transparent); } }
  /* mention sous le CTA : plus de pastille, un dégradé sombre en bas de la photo suffit */
  .cta small { padding: 0; border-radius: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
  .cover-card::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 38%; z-index: 2; pointer-events: none; background: linear-gradient(180deg, rgba(10,6,3,0), rgba(10,6,3,.55)); }

  /* lien vers le site de BloomStudio, souligné au survol */
  footer .studio { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease), color .3s; }
  footer .studio:hover { color: var(--ink); background-size: 100% 1px; }

  /* liste d'attente : une fenêtre, la photo de la DA à gauche, le formulaire à droite ; elle monte du flou au net */
  .wl { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: var(--gutter); border: 0; background: none; color: var(--ink); display: none; place-items: center; overflow: auto; overscroll-behavior: contain; }
  .wl[open] { display: grid; }
  .wl::backdrop { background: rgba(8,6,4,.42); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: wl-fade .5s var(--ease) both; }
  .wl.out::backdrop { animation: wl-fade .3s var(--ease) reverse both; }
  @keyframes wl-fade { from { opacity: 0; } }
  .wl-card { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; width: min(920px, 100%); min-height: 560px; border-radius: 28px; overflow: hidden; background: var(--bg); box-shadow: 0 0 0 1px var(--line), 0 50px 120px -40px rgba(0,0,0,.6); animation: wl-in .7s var(--spring) both; }
  .wl.out .wl-card { animation: wl-out .3s var(--ease) both; }
  @keyframes wl-in { from { opacity: 0; transform: translateY(28px) scale(.96); filter: blur(8px); } }
  @keyframes wl-out { to { opacity: 0; transform: translateY(16px) scale(.98); filter: blur(6px); } }
  .wl-ph { position: relative; overflow: hidden; color: var(--white); display: flex; flex-direction: column; justify-content: space-between; padding: 28px; }
  .wl-ph .ph { position: absolute; inset: 0; background: #9a8c78 center / cover; animation: zoomin 1.6s var(--ease) both; }
  .wl-ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,6,3,.25), rgba(10,6,3,0) 35%, rgba(10,6,3,0) 60%, rgba(10,6,3,.45)); }
  .wl-ph > :not(.ph) { position: relative; z-index: 1; }
  .wl-ph .logo { font-size: 18px; gap: 6px; } .wl-ph .mark { width: 17px; height: 15px; }
  .wl-ph p { font-size: 26px; font-weight: 500; letter-spacing: -.04em; line-height: 1.05; }
  .wl-body { position: relative; display: grid; align-items: center; padding: 56px 48px 44px; }
  .wl-x { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--chip); cursor: pointer; display: grid; place-items: center; transition: transform .5s var(--spring), background .3s; }
  .wl-x:hover { transform: rotate(90deg); }
  .wl-step { display: flex; flex-direction: column; gap: 14px; }
  .wl-step[hidden] { display: none; }
  .wl-step h2 { font-size: 34px; font-weight: 500; letter-spacing: -.045em; line-height: 1.02; max-width: 12ch; }
  .wl-lead { color: var(--ink-2); font-size: 15.5px; line-height: 1.45; max-width: 34ch; margin-bottom: 10px; }
  .wl-lead b { color: var(--ink); font-weight: 500; }
  .wl-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; }
  .wl-field em { font-style: normal; font-weight: 400; color: var(--ink-2); margin-left: 4px; }
  .wl-field input { height: 48px; padding: 0 16px; border-radius: 14px; border: 0; background: var(--chip); color: var(--ink); font: 400 16px 'DM Sans', sans-serif; outline: none; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .25s, background .25s; }
  .wl-field input::placeholder { color: var(--ink-2); opacity: .7; }
  .wl-field input:focus { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); }
  .wl-field input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px #d4483b; }
  .wl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
  .wl-check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 13px; line-height: 1.45; color: var(--ink-2); cursor: pointer; margin-top: 2px; }
  .wl-check input { position: absolute; opacity: 0; pointer-events: none; }
  .wl-check i { width: 20px; height: 20px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--line); background: var(--chip); display: grid; place-items: center; transition: background .2s, box-shadow .2s; }
  .wl-check i::after { content: ''; width: 9px; height: 5px; border: solid var(--btn-ink); border-width: 0 0 1.8px 1.8px; transform: translateY(-1px) rotate(-45deg) scale(0); transition: transform .35s var(--spring); }
  .wl-check input:checked + i { background: var(--btn); box-shadow: none; }
  .wl-check input:checked + i::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
  .wl-check input:focus-visible + i { box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 3px var(--chip); }
  .wl-check input[aria-invalid="true"] + i { box-shadow: inset 0 0 0 1.5px #d4483b; }
  .wl-err { font-size: 13px; color: #d4483b; }
  .wl-go { justify-content: center; height: 50px; margin-top: 8px; position: relative; }
  .wl-spin { display: none; width: 16px; height: 16px; border-radius: 50%; border: 1.8px solid currentColor; border-right-color: transparent; animation: wl-rot .7s linear infinite; }
  .wl-go.busy { pointer-events: none; } .wl-go.busy .wl-go-t { opacity: .6; } .wl-go.busy .wl-spin { display: block; }
  @keyframes wl-rot { to { transform: rotate(1turn); } }
  .wl-note { font-size: 12.5px; color: var(--ink-2); text-align: center; }
  .wl-link { border: 0; background: none; padding: 0; color: var(--ink); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; font-size: inherit; }
  .wl-ico { width: 52px; height: 52px; border-radius: 16px; background: var(--chip); display: grid; place-items: center; margin-bottom: 6px; animation: wl-in .7s var(--spring) both; }
  .wl-ico svg.i { width: 22px; height: 22px; }
  [data-step="sent"] { align-items: flex-start; } [data-step="sent"] .wl-note { text-align: left; margin-top: 8px; }
  @media (max-width: 760px) {
    .wl { padding: 12px; align-items: end; }
    .wl-card { grid-template-columns: 1fr; min-height: 0; border-radius: 24px; }
    .wl-ph { height: 150px; padding: 20px; } .wl-ph p { display: none; }
    .wl-body { padding: 28px 22px 24px; } .wl-step h2 { font-size: 28px; }
    .wl-x { background: rgba(249,248,250,.85); color: #0d0d0d; top: -136px; }
  }
  @media (prefers-reduced-motion: reduce) { .wl-card, .wl::backdrop, .wl-ico, .wl-ph .ph { animation: none; } }

  /* page « Vous êtes sur la liste » : la fin de la landing, en plein écran */
  .merci h2 { margin-bottom: 16px; }
  .merci .merci-lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.4; max-width: 30ch; margin: 0 auto var(--s2); opacity: .92; }
  .merci-ok { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 28px; background: rgba(249,248,250,.16); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(249,248,250,.35); animation: wl-in .9s var(--spring) .2s both; }
  .merci-ok svg.i { width: 24px; height: 24px; stroke-width: 1.8; }
  .merci::before { content: ''; position: absolute; inset: 0; z-index: 2; background: radial-gradient(60% 50% at 50% 50%, rgba(10,6,3,.42), rgba(10,6,3,.08) 80%); }
  /* mobile : la mention sous le CTA reste centrée dans le cadre de la photo */
  @media (max-width: 900px) { .cta { padding: 0 32px; text-align: center; } .cta small { max-width: 32ch; line-height: 1.45; text-wrap: balance; } }

  /* page merci : exactement un écran, la photo encadrée par la même marge sur les quatre côtés, sans défilement ni pied de page */
  html:has([data-barba-namespace="merci"]), html:has([data-barba-namespace="merci"]) body { height: 100%; overflow: hidden; overscroll-behavior: none; }
  body:has([data-barba-namespace="merci"]) footer { display: none; }
  .merci { --m: var(--gutter); box-sizing: border-box; height: calc(100svh - 2 * var(--m)); min-height: 0; margin: var(--m); padding: 72px var(--m) var(--m); }
  .merci > div { max-height: 100%; }
  .merci h2 { font-size: clamp(34px, min(6vw, 9svh), 90px); }
  @media (max-width: 760px) { .merci { --m: 12px; } }
  @media (max-height: 560px) { .merci-ok { display: none; } .merci h2 { margin-bottom: 10px; } .merci .merci-lead { margin-bottom: 18px; } }

  /* réglages, en grand : la démo prend toute la largeur du chapitre, le vrai panneau DialKit à droite du billet */
  .ch-body.wide { grid-template-columns: 1fr; gap: 56px; }
  .ch-body.wide .entries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 64px; }
  .ch-body.wide .entries > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .wide .dial-demo { aspect-ratio: 16 / 9; gap: 7cqw; padding: 0 8cqw; border-radius: 14px; }
  .wide .dd-stage { width: 40%; }
  .dial-demo { --u: 1cqw; } .wide .dial-demo { --u: .5cqw; }
  .dd-label { font-size: calc(1.3 * var(--u)); margin-bottom: calc(1 * var(--u)); }
  .dd-panel { flex: none; width: 300px; color-scheme: dark; }
  .dd-panel .dialkit-root, .dd-panel .dialkit-panel { width: 100%; }
  @media (max-width: 900px) {
    .ch-body.wide .entries { grid-template-columns: 1fr; }
    .wide .dial-demo { aspect-ratio: auto; flex-direction: column; gap: 28px; padding: 40px 20px 28px; }
    .wide .dd-stage { width: 84%; } .wide .dial-demo { --u: 1.5cqw; }
    .dd-panel { width: 100%; max-width: 320px; }
  }

  /* loader : sur fond noir, le dossier se ferme (le dos se pose, le devant monte et rebondit), les lettres montent une à une ;
     puis le logo part vers le haut et le volet noir se lève sur la page. Uniquement des transformations et de l'opacité : fluide même si la page travaille. */
  .ld { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: #0b0b0b; color: #f9f8fa; will-change: transform; }
  .ld-logo { display: flex; align-items: center; gap: 14px; font: 600 48px/1 'DM Sans', sans-serif; letter-spacing: -.055em; will-change: transform, opacity; }
  .ld-mark { width: 46px; height: 41px; fill: currentColor; overflow: visible; }
  .ld-mark path { transform-box: fill-box; will-change: transform; }
  .ld-mark path:last-child { transform-origin: 50% 100%; animation: ld-back .7s cubic-bezier(.2,.8,.2,1) .4s both; }
  .ld-mark path:first-child { transform-origin: 50% 100%; animation: ld-front 1s cubic-bezier(.34,1.5,.5,1) .6s both; }
  .ld-word { display: inline-flex; overflow: hidden; padding: .1em .02em .14em; margin: -.1em 0 -.14em; }
  .ld-word span { display: inline-block; animation: ld-letter .8s cubic-bezier(.2,.9,.2,1) .85s both; }
  @keyframes ld-back { from { transform: translateY(18%) scaleY(.4); opacity: 0; } }
  @keyframes ld-front { from { transform: translateY(85%) rotate(-6deg); opacity: 0; } 35% { opacity: 1; } }
  @keyframes ld-letter { from { transform: translateY(110%); } }
  .ld.ld-out .ld-logo { animation: ld-leave .55s cubic-bezier(.6,0,.4,1) both; }
  .ld.ld-out { animation: ld-open 1.05s cubic-bezier(.77,0,.18,1) .2s both; }
  @keyframes ld-leave { to { transform: translateY(-40px) scale(.96); opacity: 0; } }
  @keyframes ld-open { to { transform: translateY(-100%); } }
  /* tant que le loader est là : pas de défilement, et le hero attend son tour pour s'animer */
  html.ld-on { overflow: hidden; }
  html.ld-on #cover *, html.ld-on .top * { animation-play-state: paused !important; }
  /* la barre du haut n'apparaît qu'une fois le volet levé */
  .top { transition: padding .6s var(--ease), opacity .7s var(--ease) .6s; } html.ld-on .top { opacity: 0; transition: none; }
  @media (max-width: 760px) { .ld-logo { font-size: 38px; gap: 11px; } .ld-mark { width: 36px; height: 32px; } }
  @media (prefers-reduced-motion: reduce) { .ld *, .ld { animation: none !important; } .ld.ld-out { opacity: 0; transition: opacity .25s; } }
  /* page merci : tout est déjà en place (photo, barre), seuls le check, le titre, le texte et le bouton apparaissent */
  body:has([data-barba-namespace="merci"]) :is(.top, .bar) { transition: none; }
  .merci h2, .merci .merci-lead, .merci .btn { animation: up .9s var(--ease) both; }
  .merci h2 { animation-delay: .3s; } .merci .merci-lead { animation-delay: .42s; } .merci .btn { animation-delay: .54s; }
  @media (prefers-reduced-motion: reduce) { .merci h2, .merci .merci-lead, .merci .btn, .merci-ok { animation: none; } }
