/* Coded Site — feuille de style du site du studio.
   Matières : béton (fond), papier (feuilles), encre (noir), ruban de peintre (bleu).
   Le bleu ne sert qu'à ce que le client touche ou doit corriger. */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Caveat Brush"; src: url("../fonts/caveat-brush.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --concrete: #d6d8d7;
  --slab: #c4c7c6;
  --paper: #fff;
  --ink: #000;
  --tape: #3d8bf2;
  --tape-hi: #5a9ff7;
  --blue-ink: #0f4dbd;
  --pass: #0b7a3b;
  --fail: #c2251a;
  --mut: #3d4346;
  --f: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --hand: "Caveat Brush", "Marker Felt", "Bradley Hand", cursive;
  --pad: clamp(18px, 4.2vw, 60px);
  --max: 1360px;
  --hd: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --snap: cubic-bezier(.3, 1.55, .5, 1);
  --torn: polygon(0 0, 100% 0, calc(100% - 6px) 17%, 100% 33%, calc(100% - 6px) 50%, 100% 67%, calc(100% - 6px) 83%, 100% 100%, 0 100%, 6px 83%, 0 67%, 6px 50%, 0 33%, 6px 17%);
  --crepe: repeating-linear-gradient(90deg, rgba(255, 255, 255, .1) 0 1px, transparent 1px 4px);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hd) + 20px); }
body { margin: 0; background: var(--concrete) var(--grain); color: var(--ink); font: 430 18px/1.5 var(--f); font-stretch: 100%; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--tape); outline-offset: 3px; }
::selection { background: var(--tape); color: #000; }
[hidden] { display: none !important; }

main { overflow-x: clip; }
.wrap { width: min(var(--max), 100% - 2 * var(--pad)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 200; background: #000; color: #fff; padding: 12px 18px; font-weight: 700; }
.skip:focus { top: 12px; }

/* Titres : une seule famille, la largeur fait la voix. */
.d1 { font-weight: 900; font-stretch: 78%; font-size: clamp(50px, 8.8vw, 132px); line-height: .86; letter-spacing: -.035em; }
.d2 { font-weight: 900; font-stretch: 80%; font-size: clamp(38px, 5.6vw, 86px); line-height: .92; letter-spacing: -.03em; text-wrap: balance; }
.d3 { font-weight: 850; font-stretch: 88%; font-size: clamp(23px, 2.3vw, 31px); line-height: 1.06; letter-spacing: -.015em; }
.lead { font-size: clamp(19px, 1.55vw, 23px); line-height: 1.42; max-width: 33em; }
.hand { font-family: var(--hand); font-weight: 400; line-height: 1.05; }
.tx a, .lnk { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; transition: background-color .2s; }
.tx a:hover, .lnk:hover { background: var(--tape); color: #000; text-decoration-color: transparent; }
.tx p + p { margin-top: 1em; }

/* Boutons */
.btn { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 54px; padding: 0 1.55em; border: 0; background: none; font-weight: 800; font-stretch: 92%; font-size: 17px; line-height: 1.1; letter-spacing: -.005em; text-decoration: none; text-align: center; white-space: nowrap; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transition: transform .28s var(--snap), background-color .2s; }
.btn-tape { color: #000; padding-inline: 2em; }
.btn-tape::before { background: var(--tape) var(--crepe); clip-path: var(--torn); }
.btn-tape:hover::before { transform: rotate(-2deg) scale(1.05); background-color: var(--tape-hi); }
.btn-tape:active::before { transform: scale(.97); }
.btn-ink { color: #fff; }
.btn-ink::before { background: #000; }
.btn-ink:hover::before { transform: scale(1.04); }
.btn-line { color: #000; }
.btn-line::before { box-shadow: inset 0 0 0 2px #000; transition: background-color .2s; }
.btn-line:hover { color: #fff; }
.btn-line:hover::before { background: #000; }
.on-dark .btn-line { color: #fff; }
.on-dark .btn-line::before { box-shadow: inset 0 0 0 2px #fff; }
.on-dark .btn-line:hover { color: #000; }
.on-dark .btn-line:hover::before { background: #fff; }

/* Feuille de papier et ruban */
.paper { background: var(--paper); box-shadow: 0 1px 0 rgba(0, 0, 0, .12), 0 22px 34px -22px rgba(0, 0, 0, .5); }
.tape { position: absolute; z-index: 3; width: var(--w, 96px); height: var(--h, 28px); background: var(--tape) var(--crepe); clip-path: var(--torn); transform: rotate(var(--r, -36deg)); opacity: .94; pointer-events: none; }

/* ───────── En-tête ───────── */
.hd { position: sticky; top: 0; z-index: 60; background: var(--concrete) var(--grain); transition: box-shadow .25s; }
.hd.is-stuck { box-shadow: 0 2px 0 #000; }
.hd-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; height: var(--hd); padding-inline: var(--pad); }
.hd-r { justify-self: end; display: flex; align-items: center; gap: clamp(16px, 2.2vw, 30px); }

.lockbtn { justify-self: start; display: inline-flex; align-items: center; gap: 11px; height: 46px; padding: 0 15px 0 7px; border: 0; border-radius: 7px; background: #000; color: #fff; font-weight: 700; font-stretch: 92%; font-size: 15px; white-space: nowrap; transition: transform .25s var(--snap); }
.lockbtn:hover { transform: translateY(-1px) rotate(-1deg); }
.lockbtn.ping { animation: ping 1.1s var(--ease) 2; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 var(--tape); } 100% { box-shadow: 0 0 0 22px rgba(61, 139, 242, 0); } }
.dials { display: inline-flex; gap: 2px; }
.dial { position: relative; display: block; width: 21px; height: 32px; overflow: hidden; border-radius: 3px; background: #fff; color: #000; font-weight: 900; font-stretch: 80%; font-size: 17px; line-height: 32px; text-align: center; box-shadow: inset 0 7px 5px -5px rgba(0, 0, 0, .55), inset 0 -7px 5px -5px rgba(0, 0, 0, .55); }
.dial b { display: block; height: 32px; font-weight: inherit; }
.dial-strip { display: block; will-change: transform; }

.brand { display: inline-flex; align-items: center; gap: .34em; font-weight: 900; font-stretch: 125%; font-size: clamp(15px, 1.5vw, 20px); line-height: 1; letter-spacing: .01em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.brand b { padding: .3em .42em .26em; background: #000; color: #fff; font-weight: inherit; }
.brand-inv b { background: #fff; color: #000; }

.nav { display: flex; gap: clamp(16px, 2vw, 28px); }
.nav a { position: relative; padding: 8px 0; font-weight: 650; font-size: 16px; text-decoration: none; }
.nav a::after { content: ""; position: absolute; left: -4px; right: -4px; bottom: 3px; height: 7px; z-index: -1; background: var(--tape); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.hd-cta { min-height: 44px; font-size: 15.5px; }

.menu-btn { display: none; position: relative; width: 46px; height: 46px; border: 0; border-radius: 7px; background: #000; }
.menu-btn i { position: absolute; left: 12px; right: 12px; height: 3px; background: #fff; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn i:nth-child(1) { top: 17px; }
.menu-btn i:nth-child(2) { top: 26px; }
.menu-btn[aria-expanded="true"] i:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

.menu { position: fixed; inset: var(--hd) 0 0; z-index: 55; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 28px var(--pad) calc(28px + env(safe-area-inset-bottom)); background: #000; color: #fff; overflow-y: auto; animation: menu-in .35s var(--ease) both; }
@keyframes menu-in { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
.menu-links a { display: block; padding: 6px 0; font-weight: 900; font-stretch: 80%; font-size: clamp(44px, 13vw, 76px); line-height: 1; letter-spacing: -.03em; text-decoration: none; }
.menu-links a[aria-current="page"] { color: var(--tape); }
.menu-foot { display: grid; gap: 16px; justify-items: start; }
.menu-foot p { color: #b9bfc2; font-size: 16px; }

@media (max-width: 940px) {
  .nav, .hd-cta { display: none; }
  .menu-btn { display: block; }
  .hd-in { grid-template-columns: auto 1fr auto; }
  .brand { justify-self: center; }
}
@media (max-width: 520px) {
  .lockbtn { padding-right: 7px; gap: 0; }
  .lockbtn-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
@media (max-width: 350px) {
  .hd-in { gap: 8px; padding-inline: 14px; }
  .brand { font-size: 13px; }
  .dial { width: 19px; }
}

/* ───────── Serrure à code (dialogue + page d'aperçu) ───────── */
dialog.lock { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: none; color: inherit; overflow: auto; }
html.lock-open { overflow: hidden; }
dialog.lock::backdrop { background: rgba(0, 0, 0, .62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.lock-pos { min-height: 100%; display: grid; align-items: start; justify-items: start; padding: 30px var(--pad) 32px; }
.lock-box { position: relative; width: min(560px, 100%); padding: 40px clamp(20px, 4vw, 38px) 30px; background: var(--paper); box-shadow: 0 34px 60px -24px rgba(0, 0, 0, .8); transform-origin: 40px 0; }
dialog.lock[open] .lock-box { animation: sheet-drop .5s var(--snap) both; }
@keyframes sheet-drop { from { opacity: 0; transform: translateY(-26px) rotate(-5deg) scale(.94); } to { opacity: 1; transform: none; } }
.lock-box > .tape:nth-of-type(1) { --w: 104px; left: -30px; top: 4px; --r: -38deg; }
.lock-box > .tape:nth-of-type(2) { --w: 104px; right: -30px; top: 4px; --r: 38deg; }
.lock-x { position: absolute; right: 10px; top: 10px; width: 44px; height: 44px; border: 0; background: none; font-size: 30px; line-height: 1; font-weight: 300; }
.lock-x:hover { background: #000; color: #fff; }
.lock-h { font-weight: 900; font-stretch: 80%; font-size: clamp(34px, 5vw, 46px); line-height: .95; letter-spacing: -.03em; }
.lock-p { margin-top: 12px; max-width: 30em; }

.padlock { position: relative; margin: 70px 0 0; }
.shackle { position: absolute; left: 50%; top: -30px; width: 132px; height: 46px; margin-left: -66px; border: 11px solid #000; border-bottom: 0; border-radius: 66px 66px 0 0; transition: transform .45s var(--snap); transform-origin: 100% 100%; }
.is-open .shackle { transform: translateY(-13px) rotate(13deg); }
.lock-field { position: relative; display: block; padding: 16px clamp(10px, 2.4vw, 18px); border-radius: 12px; background: #000; }
.lock-input { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; border: 0; border-radius: 12px; background: none; color: transparent; caret-color: transparent; font-size: 16px; text-align: center; letter-spacing: 1em; outline-offset: 4px; cursor: text; }
.lock-input::selection { background: transparent; }
.wheels { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) clamp(8px, 2.6vw, 20px) repeat(4, minmax(0, 1fr)); gap: clamp(3px, .9vw, 6px); }
.wheels::after { content: ""; grid-column: 5; grid-row: 1; align-self: center; height: 5px; border-radius: 3px; background: #fff; opacity: .55; }
.wheel { position: relative; display: block; aspect-ratio: 5 / 7; overflow: hidden; border-radius: 5px; background: #fff; color: #000; container-type: size; box-shadow: inset 0 14px 10px -10px rgba(0, 0, 0, .6), inset 0 -14px 10px -10px rgba(0, 0, 0, .6); transition: box-shadow .2s, background-color .2s; }
.wheel:nth-child(n + 5) { grid-column: auto; }
.wheel:nth-child(5) { grid-column: 6; }
.wheel b { display: grid; place-items: center; height: 100cqh; font-weight: 900; font-stretch: 78%; font-size: 62cqh; line-height: 1; }
.wheel-strip { display: block; will-change: transform; }
.wheel.is-empty { background: #cfd3d2; }
.wheel.is-next { box-shadow: inset 0 14px 10px -10px rgba(0, 0, 0, .6), inset 0 -14px 10px -10px rgba(0, 0, 0, .6), 0 0 0 3px var(--tape); }
.is-wrong .wheels { animation: wrong .42s linear; }
.is-wrong .wheel { background: #ffd9d4; }
@keyframes wrong { 20% { transform: translateX(-9px); } 40% { transform: translateX(8px); } 60% { transform: translateX(-6px); } 80% { transform: translateX(4px); } }
.is-open .wheel { background: #d5f4e1; }
.lock-msg { min-height: 1.5em; margin-top: 14px; font-weight: 650; font-size: 16.5px; }
.lock-msg.bad { color: var(--fail); }
.lock-msg.good { color: var(--pass); }
.lock-go { margin-top: 10px; width: 100%; }
.lock-go[disabled] { opacity: .45; cursor: default; }
.lock-go[disabled]::before { transform: none; background-color: var(--tape); }
.lock-foot { margin-top: 18px; padding-top: 16px; border-top: 2px solid #000; font-size: 16px; }
@media (max-width: 620px) {
  .lock-pos { justify-items: stretch; }
  .lock-box { width: 100%; }
  .lock-box > .tape:nth-of-type(n), .est > .tape:nth-of-type(n), .cf > .tape:nth-of-type(n) { --w: 76px; --h: 23px; top: 2px; }
  .lock-box > .tape:nth-of-type(1), .est > .tape:nth-of-type(1), .cf > .tape:nth-of-type(1) { left: -24px; }
  .lock-box > .tape:nth-of-type(2), .est > .tape:nth-of-type(2), .cf > .tape:nth-of-type(2) { right: -24px; }
  .est, .cf { padding-top: 40px; }
  .roll-desk > .tape:nth-of-type(n) { --w: 78px; --h: 23px; top: 2px; }
  .roll-desk > .tape:nth-of-type(1) { left: -22px; }
  .roll-desk > .tape:nth-of-type(2) { right: -22px; }
}

/* Rideau entre le code accepté et l'aperçu */
.curtain { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: var(--pad); background: #000; color: #fff; text-align: center; transform: translateY(-101%); }
.from-code .curtain:not(.up) { transform: none; }
.curtain.down { transform: none; transition: transform .55s cubic-bezier(.7, 0, .2, 1); }
.curtain.up { transform: translateY(-101%); transition: transform .7s cubic-bezier(.7, 0, .2, 1) .15s; }
.pv-layer { position: fixed; inset: 0; z-index: 310; width: 100%; height: 100%; border: 0; background: #000; }
.curtain-name { font-weight: 900; font-stretch: 80%; font-size: clamp(40px, 8vw, 110px); line-height: .9; letter-spacing: -.03em; text-wrap: balance; }
.curtain-sub { margin-top: 18px; font-family: var(--hand); font-size: clamp(24px, 3vw, 36px); color: var(--tape-hi); }

/* ───────── Accueil : le héros ───────── */
.hero { padding: clamp(22px, 3.4vw, 44px) 0 clamp(64px, 8vw, 120px); }
.hero-h { margin-bottom: clamp(20px, 2.6vw, 36px); }
.hero-h .ln { display: block; overflow: hidden; padding-bottom: .09em; margin-bottom: -.09em; }
.hero-h .ln > span { display: block; }
.js .hero-h .ln > span { animation: line-up .8s var(--ease) both; }
.js .hero-h .ln:nth-child(2) > span { animation-delay: .12s; }
@keyframes line-up { from { transform: translateY(105%); } to { transform: none; } }
.hero-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.hero-tx { padding-top: clamp(0px, 1.4vw, 22px); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 28px; }
.hero-code { position: relative; display: inline-block; margin-top: 34px; padding-left: 74px; font-family: var(--hand); font-size: clamp(22px, 1.9vw, 27px); line-height: 1.08; color: #000; }
.hero-code svg { position: absolute; left: 0; top: -22px; width: 62px; height: 62px; overflow: visible; }
.hero-code path { fill: none; stroke: #000; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 220; }
.js .hero-code path { animation: draw 1s ease-out 1.1s both; }
@keyframes draw { from { stroke-dashoffset: 220; } to { stroke-dashoffset: 0; } }
.hero-code button { all: unset; cursor: pointer; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.hero-code button:hover { background: var(--tape); }
.hero-code button:focus-visible { outline: 3px solid var(--tape); outline-offset: 3px; }

.board-wrap { min-width: 0; padding-left: clamp(0px, 7vw, 112px); margin-top: clamp(-150px, -10vw, 0px); }
.board { position: relative; container-type: inline-size; aspect-ratio: 100 / 70; }
.sheet { position: absolute; left: 0; top: 5%; width: 89%; opacity: 0; transform: translate(64%, -8%) rotate(9deg); transition: transform .7s var(--ease), opacity .4s; }
.sheet.is-on { opacity: 1; transform: rotate(-1deg); }
/* La feuille tient par ses deux rubans : le bas se balance un peu. */
.sheet-in { margin: 0; padding: 1.6cqw 1.6cqw 0; transform-origin: 50% 0; }
.sheet.is-on .sheet-in { animation: sway 3.8s ease-in-out infinite alternate; }
@keyframes sway { from { transform: rotate(-.85deg); } to { transform: rotate(.95deg); } }
.sheet.is-out { opacity: 0; transform: translate(-58%, 12%) rotate(-12deg); transition: transform .6s cubic-bezier(.6, 0, .8, .3), opacity .45s .12s; }
.sheet > .tape { --w: 15cqw; --h: 4.2cqw; }
.sheet > .tape:nth-of-type(1) { left: -4.6cqw; top: .6cqw; --r: -38deg; }
.sheet > .tape:nth-of-type(2) { right: -4.6cqw; top: .6cqw; --r: 38deg; }
.sheet-shot { position: relative; overflow: hidden; background: #111; }
.sheet-shot img { width: 100%; aspect-ratio: 1200 / 750; object-fit: cover; }
.sheet-cap { display: flex; justify-content: space-between; gap: 12px; padding: 1.3cqw .3cqw 1.4cqw; font-weight: 650; font-stretch: 94%; font-size: clamp(12px, 2.1cqw, 15px); line-height: 1.2; }
.sheet-cap span:last-child { color: var(--mut); font-weight: 500; white-space: nowrap; }

.note { position: absolute; z-index: 4; left: var(--x); top: var(--y); padding: .95cqw 2.6cqw .75cqw; background: var(--tape) var(--crepe); clip-path: var(--torn); color: #000; font: 400 clamp(13px, 3.25cqw, 30px)/1 var(--hand); white-space: nowrap; transform: rotate(var(--r)); opacity: 0; }
.note.on { opacity: 1; animation: slap .36s var(--snap) both; }
.note.off { animation: peel .55s cubic-bezier(.5, 0, .9, .4) both; }
@keyframes slap { from { opacity: 0; transform: rotate(calc(var(--r) - 9deg)) scale(1.5) translateY(-16%); } to { opacity: 1; transform: rotate(var(--r)) scale(1); } }
@keyframes peel { from { opacity: 1; transform: rotate(var(--r)); } to { opacity: 0; transform: translate(26%, -150%) rotate(calc(var(--r) + 24deg)) scale(.92); } }
.dot { position: absolute; z-index: 4; left: calc(var(--x) + 1cqw); top: var(--y); display: grid; place-items: center; width: 4.6cqw; height: 4.6cqw; border-radius: 50%; background: var(--pass); transform: scale(0); }
.dot::after { content: ""; width: 44%; height: 22%; margin-top: -8%; border-left: .7cqw solid #fff; border-bottom: .7cqw solid #fff; transform: rotate(-45deg); }
.dot.on { animation: dot-in .4s var(--snap) both; }
@keyframes dot-in { from { transform: scale(0); } to { transform: scale(1); } }
.seal { position: absolute; z-index: 5; right: 5%; top: 30%; display: grid; gap: .5cqw; padding: 1.7cqw 2.6cqw 1.5cqw; background: var(--pass); color: #fff; text-align: center; outline: .35cqw solid #fff; outline-offset: -1cqw; transform: rotate(-9deg); opacity: 0; box-shadow: 0 1.2cqw 2cqw -1cqw rgba(0, 0, 0, .7); }
.seal b { font-weight: 900; font-stretch: 122%; font-size: clamp(13px, 3.5cqw, 34px); line-height: 1; letter-spacing: .02em; text-transform: uppercase; }
.seal i { font-style: normal; font-weight: 650; font-stretch: 100%; font-size: clamp(8px, 1.45cqw, 14px); letter-spacing: .08em; text-transform: uppercase; }
.seal.on { opacity: 1; animation: stamp .5s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes stamp { 0% { opacity: 0; transform: rotate(-22deg) scale(3); } 55% { opacity: 1; transform: rotate(-7deg) scale(.92); } 100% { opacity: 1; transform: rotate(-9deg) scale(1); } }
.board.thump { animation: thump .34s linear; }
@keyframes thump { 20% { transform: translate(-.5cqw, .7cqw) rotate(-.5deg); } 50% { transform: translate(.4cqw, -.4cqw) rotate(.4deg); } 80% { transform: translate(-.2cqw, .2cqw); } }

.sheet-phone { position: absolute; z-index: 6; right: 0; bottom: -3%; width: 20.5%; transform: rotate(3.4deg); }
.sheet-phone-in { padding: .9cqw; transform-origin: 50% 0; animation: sway 4.7s ease-in-out -1.6s infinite alternate-reverse; }
.sheet-phone > .tape { --w: 9cqw; --h: 3.3cqw; left: 50%; top: -1.7cqw; margin-left: -4.5cqw; --r: -4deg; }
.phone-win { position: relative; overflow: hidden; aspect-ratio: 390 / 800; background: #000; container-type: size; }
.phone-win img { position: absolute; left: 0; top: 0; width: 100%; opacity: 0; transition: opacity .5s; }
.phone-win img.is-on { opacity: 1; }
/* Le téléphone parcourt la page, la barre d’appel reste en bas. */
.phone-win .ph-img.is-on { animation: phone-roll 13s cubic-bezier(.3, 0, .7, 1) .9s infinite alternate; }
.phone-win .ph-bar { top: auto; bottom: 0; }
@keyframes phone-roll { from { transform: translateY(0); } to { transform: translateY(calc(-100% + 100cqh)); } }

.board-ui { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; margin-top: clamp(22px, 3.4vw, 40px); }
.board-tab { position: relative; padding: 9px 0; border: 0; background: none; color: var(--mut); font-weight: 650; font-size: 15px; }
.board-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 6px; background: var(--tape); transform: scaleX(0); transform-origin: 0 50%; }
.board-tab[aria-pressed="true"] { color: #000; }
.board-tab[aria-pressed="true"]::after { transform: scaleX(1); }
.board.is-run ~ .board-ui .board-tab[aria-pressed="true"]::after { animation: tab-run var(--dur, 9.4s) linear both; }
@keyframes tab-run { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.board-pause { margin-left: auto; padding: 8px 12px; border: 2px solid #000; background: none; font-weight: 700; font-size: 13.5px; line-height: 1; }
.board-pause:hover { background: #000; color: #fff; }
.board-note { flex-basis: 100%; color: var(--mut); font-size: 15px; }

@media (max-width: 900px) {
  .hero-row { grid-template-columns: 1fr; }
  .board-wrap { padding-left: 0; margin-top: 6px; }
  .hero-code { margin-top: 26px; }
}
@media (max-width: 560px) {
  .d1 { font-size: clamp(46px, 15.4vw, 80px); }
  .sheet { width: 94%; }
  .sheet-phone { width: 24%; }
  .board { aspect-ratio: 100 / 76; }
  .hero-cta .btn { flex: 1 1 auto; }
}

/* ───────── Le ruban qui défile ───────── */
.strip { position: relative; z-index: 2; overflow: hidden; margin: 0 -2vw; padding: .5em 0 .42em; background: var(--tape) var(--crepe); color: #000; font: 400 clamp(25px, 3.1vw, 44px)/1 var(--hand); white-space: nowrap; transform: rotate(-1.3deg); }
.strip-in { display: inline-flex; animation: slide 46s linear infinite; }
.strip-in span { padding: 0 .55em; }
.strip-in span::after { content: "x"; display: inline-block; margin-left: 1.1em; opacity: .5; transform: scale(.8); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ───────── Sections ───────── */
.sec { padding: clamp(72px, 9vw, 140px) 0; }
.sec-hd { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(36px, 5vw, 70px); }
.sec-hd p { font-size: clamp(18px, 1.4vw, 21px); line-height: 1.45; max-width: 31em; }
@media (max-width: 860px) { .sec-hd { grid-template-columns: 1fr; } }
.sec-more { margin-top: clamp(32px, 4vw, 56px); display: flex; flex-wrap: wrap; gap: 14px; }

/* Chantiers */
.job { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4.6vw, 80px); align-items: center; padding: clamp(40px, 5.4vw, 84px) 0; border-top: 3px solid #000; }
.job:last-of-type { padding-bottom: 0; }
.job.flip .job-vis { order: 2; }
.job-vis { position: relative; padding: 0 8% 7% 0; }
.job.flip .job-vis { padding: 0 0 7% 8%; }
.roll { position: relative; padding: clamp(8px, 1.1vw, 16px); transform: rotate(-.8deg); }
.job.flip .roll-desk { transform: rotate(.8deg); }
.roll-desk > .tape:nth-of-type(1) { left: -34px; top: 6px; --r: -38deg; --w: 110px; }
.roll-desk > .tape:nth-of-type(2) { right: -34px; top: 6px; --r: 38deg; --w: 110px; }
.roll-win { position: relative; overflow: hidden; aspect-ratio: 16 / 10.6; container-type: size; background: #111; }
.roll-win > img:first-child { width: 100%; animation: roll var(--t, 30s) cubic-bezier(.3, 0, .7, 1) infinite alternate paused; }
.play .roll-win > img:first-child { animation-play-state: running; }
@keyframes roll { 0%, 2% { transform: translateY(0); } 98%, 100% { transform: translateY(calc(-100% + 100cqh)); } }
.roll-ph { position: absolute; z-index: 2; right: 0; bottom: 0; width: 25%; padding: clamp(5px, .6vw, 9px); transform: rotate(3deg); }
.job.flip .roll-ph { right: auto; left: 0; transform: rotate(-3deg); }
.roll-ph > .tape { left: 50%; top: -13px; margin-left: -38px; --w: 76px; --h: 24px; --r: -5deg; }
.roll-ph .roll-win { aspect-ratio: 390 / 790; }
.roll-ph .roll-win > img:first-child { animation-duration: var(--t, 38s); }
.roll-bar { position: absolute; left: 0; bottom: 0; width: 100%; }

.job-h { font-weight: 900; font-stretch: 80%; font-size: clamp(34px, 3.9vw, 60px); line-height: .94; letter-spacing: -.03em; text-wrap: balance; }
.job-sub { margin-top: 10px; font-weight: 650; font-size: 18px; color: var(--mut); }
.job-tx > p + p { margin-top: 18px; }
.facts { margin-top: 26px; border-top: 2px solid #000; }
.facts div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px solid rgba(0, 0, 0, .28); }
.facts dt { color: var(--mut); font-size: 16.5px; }
.facts dd { font-weight: 800; font-stretch: 90%; font-size: 18px; text-align: right; }
.snap { position: relative; display: inline-block; margin-top: 34px; padding: 9px 9px 0; width: min(210px, 56%); transform: rotate(-3deg); transition: transform .35s var(--snap); }
.snap:hover { transform: rotate(1deg) scale(1.04); }
.snap > .tape { left: 50%; top: -12px; margin-left: -40px; --w: 80px; --h: 25px; --r: 3deg; }
.snap img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.snap figcaption { padding: 7px 2px 9px; font-family: var(--hand); font-size: 20px; line-height: 1.05; }
@media (max-width: 900px) {
  .job, .job.flip { grid-template-columns: 1fr; }
  .job.flip .job-vis { order: 0; }
}

/* Le règlement (section papier) */
.rules-sec { background: var(--paper); }
.rule { position: relative; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr) 54px; gap: 10px clamp(18px, 3vw, 44px); align-items: start; padding: clamp(20px, 2.4vw, 30px) 0; border-top: 2px solid #000; }
.rule:last-child { border-bottom: 2px solid #000; }
.rule-cite { padding-top: .32em; font-weight: 650; font-stretch: 88%; font-size: 16px; color: var(--mut); }
.rule-law { font-weight: 850; font-stretch: 88%; font-size: clamp(21px, 2vw, 28px); line-height: 1.12; letter-spacing: -.012em; }
.rule-do { font-size: 17.5px; line-height: 1.45; }
.rule-ok { width: 46px; height: 46px; justify-self: end; }
.rule-ok path { fill: none; stroke: var(--pass); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 80; stroke-dashoffset: 80; }
.rule.seen .rule-ok path, html:not(.js) .rule-ok path { stroke-dashoffset: 0; transition: stroke-dashoffset .5s ease-out .15s; }
.rules-foot { margin-top: 26px; max-width: 46em; color: var(--mut); font-size: 16px; }
@media (max-width: 900px) {
  .rule { grid-template-columns: minmax(0, 1fr) 46px; }
  .rule-cite, .rule-law, .rule-do { grid-column: 1; }
  .rule-ok { grid-column: 2; grid-row: 1 / span 3; width: 40px; height: 40px; }
}

/* Le déroulé (section noire) */
.proc { background: #000; color: #fff; }
.proc .sec-hd p { color: #c9cfd2; }
.steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 34px); padding-top: 46px; counter-reset: s; }
.chalk { position: absolute; left: 0; right: 0; top: 14px; height: 5px; background: var(--tape); border-radius: 3px; transform: scaleX(0); transform-origin: 0 50%; filter: drop-shadow(0 0 5px rgba(61, 139, 242, .8)); }
.steps.seen .chalk, html:not(.js) .chalk { transform: scaleX(1); transition: transform 1.5s cubic-bezier(.6, 0, .2, 1); }
.step { position: relative; counter-increment: s; }
.step::before { content: ""; position: absolute; left: 0; top: -42px; width: 5px; height: 24px; background: #fff; }
.step-n { display: block; font-weight: 900; font-stretch: 72%; font-size: clamp(64px, 6.6vw, 104px); line-height: .82; letter-spacing: -.04em; }
.step-n::before { content: counter(s); }
.step h3 { margin-top: 16px; font-weight: 850; font-stretch: 88%; font-size: clamp(22px, 1.9vw, 27px); line-height: 1.05; }
.step p { margin-top: 10px; color: #c9cfd2; font-size: 16.5px; line-height: 1.45; }
.js .step { opacity: 0; transform: translateY(18px); }
.js .steps.seen .step { opacity: 1; transform: none; transition: opacity .5s var(--ease) calc(.25s + var(--i) * .22s), transform .5s var(--ease) calc(.25s + var(--i) * .22s); }
.step-try { margin-top: 16px; display: grid; gap: 10px; justify-items: start; }
.demo-dials { display: inline-flex; gap: 3px; padding: 6px; border-radius: 8px; background: #fff; }
.demo-dials .dial { background: #000; color: #fff; box-shadow: none; }
.demo-dials .dial:nth-child(5) { margin-left: 8px; }
.step-try button { padding: 0; border: 0; background: none; color: #fff; font-weight: 700; font-size: 15.5px; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.step-try button:hover { color: var(--tape-hi); }
@media (max-width: 1000px) {
  .steps { grid-template-columns: 1fr; gap: 0; padding: 0 0 0 34px; }
  .chalk { left: 6px; right: auto; top: 0; bottom: 0; width: 5px; height: auto; transform: scaleY(0); transform-origin: 50% 0; }
  .steps.seen .chalk, html:not(.js) .chalk { transform: scaleY(1); }
  .step { display: grid; grid-template-columns: 74px minmax(0, 1fr); column-gap: 14px; padding: 18px 0 22px; }
  .step::before { left: -34px; top: 34px; width: 19px; height: 5px; }
  .step-n { grid-row: 1 / span 3; font-size: 76px; }
  .step h3 { margin-top: 4px; }
  .step p, .step-try { grid-column: 2; }
}

/* Ce qui est compris */
.incl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 5vw, 90px); border-top: 3px solid #000; }
.incl-grid li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid rgba(0, 0, 0, .3); font-size: 18px; line-height: 1.4; }
.incl-grid li::before { content: ""; width: 22px; height: 12px; margin-top: 6px; border-left: 5px solid #000; border-bottom: 5px solid #000; transform: rotate(-45deg) scale(.8); }
.incl-grid b { font-weight: 800; }
@media (max-width: 760px) { .incl-grid { grid-template-columns: 1fr; } }

/* Questions */
.faq { border-top: 3px solid #000; }
.faq details { border-bottom: 2px solid #000; }
.faq summary { display: grid; grid-template-columns: minmax(0, 1fr) 34px; gap: 20px; align-items: center; padding: 22px 0; cursor: pointer; list-style: none; font-weight: 850; font-stretch: 88%; font-size: clamp(21px, 2vw, 28px); line-height: 1.12; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 34px; height: 34px; background: linear-gradient(#000, #000) 50% 50% / 100% 5px no-repeat, linear-gradient(#000, #000) 50% 50% / 5px 100% no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--blue-ink); }
.faq-a { padding: 0 54px 26px 0; max-width: 44em; }
.faq-a p + p { margin-top: .8em; }
.faq-sec .sec-hd { align-items: start; }

/* Bandeau d'appel à l'action (bleu ruban) */
.band { position: relative; overflow: hidden; padding: clamp(60px, 8vw, 120px) 0; background: var(--tape) var(--crepe); color: #000; }
.band :focus-visible { outline-color: #000; }
.band-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(24px, 4vw, 64px); align-items: end; }
.band .d2 { font-size: clamp(46px, 7.6vw, 118px); }
.band p { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.4; max-width: 28em; }
.band .btn { margin-top: 22px; min-height: 60px; font-size: 19px; }
@media (max-width: 860px) { .band-in { grid-template-columns: 1fr; } }

/* Pied de page */
.ft { padding: clamp(48px, 6vw, 84px) 0 0; background: #000; color: #fff; overflow: hidden; }
.ft-top { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 30px clamp(20px, 3vw, 48px); }
.ft-about p { margin-top: 16px; max-width: 26em; color: #c9cfd2; font-size: 16.5px; }
.ft h2 { margin-bottom: 12px; font-weight: 650; font-size: 15px; color: #9aa2a6; }
.ft-col a { display: inline-block; padding: 5px 0; font-weight: 650; font-size: 17px; text-decoration: none; overflow-wrap: anywhere; }
.ft-col a:hover, .ft-about a:hover { color: var(--tape-hi); }
.ft-col li { line-height: 1.3; }
.ft-code { all: unset; cursor: pointer; padding: 5px 0; font-weight: 650; font-size: 17px; }
.ft-code:hover { color: var(--tape-hi); }
.ft-code:focus-visible { outline: 3px solid var(--tape); outline-offset: 3px; }
.ft-word { container-type: inline-size; margin-top: 6px; }
.ft-word span { display: block; font-weight: 900; font-stretch: 125%; font-size: 12.75cqw; line-height: .76; letter-spacing: -.02em; text-transform: uppercase; white-space: nowrap; transform: translateY(8%); }
.ft-legal { display: flex; flex-wrap: wrap; gap: 6px 26px; justify-content: space-between; margin-top: clamp(40px, 6vw, 80px); padding: 22px 0 26px; border-top: 2px solid #fff; color: #c9cfd2; font-size: 15px; }
@media (max-width: 860px) { .ft-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ft-about { grid-column: 1 / -1; } }

/* ───────── Pages intérieures ───────── */
.ph { padding: clamp(28px, 4vw, 56px) 0 clamp(36px, 5vw, 70px); }
.ph .d1 { font-size: clamp(50px, 8.4vw, 132px); text-wrap: balance; }
.ph .lead { margin-top: clamp(18px, 2.4vw, 30px); }
.ph-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px clamp(24px, 4vw, 64px); align-items: end; }
@media (max-width: 860px) { .ph-row { grid-template-columns: 1fr; } }

/* Page Work : les autres pages de chaque site */
.case-pages { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 30px); margin-top: clamp(8px, 2vw, 30px); }
.pg { position: relative; padding: 7px 7px 0; transition: transform .35s var(--snap); }
.pg:nth-child(odd) { transform: rotate(-1.4deg); }
.pg:nth-child(even) { transform: rotate(1.2deg) translateY(10px); }
.pg:hover { transform: rotate(0deg) scale(1.05); z-index: 2; }
.pg img { width: 100%; aspect-ratio: 880 / 550; object-fit: cover; }
.pg figcaption { padding: 8px 2px 10px; font-weight: 700; font-size: 15px; }
@media (max-width: 760px) { .case-pages { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Page Rulebook */
.rb { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 14px clamp(20px, 4vw, 64px); padding: clamp(28px, 3.6vw, 52px) 0; border-top: 3px solid #000; }
.rb-cite { font-weight: 700; font-stretch: 88%; font-size: 17px; }
.rb-cite a { display: inline-block; margin-top: 8px; font-weight: 600; font-size: 15.5px; }
.rb h2 { font-weight: 900; font-stretch: 80%; font-size: clamp(30px, 3.6vw, 54px); line-height: .96; letter-spacing: -.028em; text-wrap: balance; }
.rb-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px clamp(20px, 3vw, 48px); margin-top: 22px; }
.rb-cols h3 { margin-bottom: 8px; font-weight: 800; font-size: 16px; }
.rb-cols div:last-child h3 { display: inline-block; padding: 3px 12px 2px; margin-left: -4px; background: var(--tape) var(--crepe); clip-path: var(--torn); }
.rb-cols p { font-size: 17.5px; line-height: 1.5; }
.rb-note { padding: clamp(22px, 3vw, 36px); margin-top: clamp(30px, 4vw, 56px); border: 3px solid #000; background: var(--paper); max-width: 60em; }
@media (max-width: 860px) { .rb { grid-template-columns: 1fr; } .rb-cols { grid-template-columns: 1fr; } }

/* Page Pricing : deux feuilles de devis */
.ests { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(26px, 4vw, 60px); align-items: start; }
.est { position: relative; padding: clamp(22px, 2.8vw, 40px); }
.est:nth-child(1) { transform: rotate(-.7deg); }
.est:nth-child(2) { transform: rotate(.6deg); margin-top: 26px; }
.est > .tape:nth-of-type(1) { left: -30px; top: 8px; --w: 110px; }
.est > .tape:nth-of-type(2) { right: -30px; top: 8px; --w: 110px; --r: 38deg; }
.est-hd { display: flex; justify-content: space-between; align-items: end; gap: 16px; padding-bottom: 14px; border-bottom: 4px solid #000; }
.est-hd h2 { font-weight: 900; font-stretch: 80%; font-size: clamp(34px, 3.6vw, 52px); line-height: .92; letter-spacing: -.03em; }
.est-hd span { font-weight: 650; font-size: 15px; color: var(--mut); text-align: right; }
.est-rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(0, 0, 0, .3); }
.est-rows b { display: block; font-weight: 800; }
.est-rows span { color: var(--mut); font-size: 16px; line-height: 1.4; }
.est-rows em { font-style: normal; font-weight: 650; font-size: 15px; white-space: nowrap; padding-top: 2px; }
.est-total { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; margin-top: 4px; padding: 16px 0 4px; border-top: 4px solid #000; }
.est-total span { font-weight: 800; font-size: 17px; }
.est-total strong { font-weight: 900; font-stretch: 82%; font-size: clamp(24px, 2.6vw, 38px); line-height: 1; letter-spacing: -.02em; text-align: right; }
.est-total strong.q { font-family: var(--hand); font-weight: 400; font-stretch: 100%; font-size: clamp(25px, 2.4vw, 32px); letter-spacing: 0; color: var(--blue-ink); }
.est-sign { display: flex; align-items: end; gap: 12px; margin-top: 26px; font-size: 14.5px; color: var(--mut); }
.est-sign i { flex: 1; border-bottom: 2px solid #000; height: 28px; }
.est-foot { margin-top: clamp(30px, 4vw, 50px); max-width: 50em; color: var(--mut); font-size: 16px; }
.opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 44px); border-top: 3px solid #000; padding-top: 26px; }
.opts h3 { font-weight: 850; font-stretch: 88%; font-size: 24px; line-height: 1.08; }
.opts p { margin-top: 8px; font-size: 17px; }
@media (max-width: 900px) { .ests, .opts { grid-template-columns: 1fr; } .est:nth-child(2) { margin-top: 0; } }

/* Page Contact : la demande */
.cf-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.cf { position: relative; padding: clamp(22px, 3vw, 42px); }
.cf > .tape:nth-of-type(1) { left: -30px; top: 8px; --w: 110px; }
.cf > .tape:nth-of-type(2) { right: -30px; top: 8px; --w: 110px; --r: 38deg; }
.cf-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.f { display: grid; gap: 6px; }
.f-wide { grid-column: 1 / -1; }
.f label, .f legend { font-weight: 750; font-size: 16px; }
.f small { font-weight: 430; color: var(--mut); }
.f input, .f select, .f textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 2px solid #000; border-radius: 0; background: #fff; font-size: 17px; }
.f textarea { min-height: 132px; resize: vertical; line-height: 1.4; }
.f input:focus-visible, .f select:focus-visible, .f textarea:focus-visible { outline-offset: 2px; }
.f [aria-invalid="true"] { border-color: var(--fail); background: #fff3f1; }
.f-err { color: var(--fail); font-weight: 650; font-size: 15px; }
.f-check { grid-column: 1 / -1; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 15px; line-height: 1.45; color: var(--mut); }
.f-check input { width: 24px; height: 24px; margin: 1px 0 0; accent-color: #000; }
.f-hp { position: absolute; left: -9999px; }
.cf-send { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 24px; }
.cf-send p { color: var(--mut); font-size: 15px; max-width: 26em; }
.cf-done { padding: 18px 20px; margin-top: 20px; border: 3px solid #000; font-weight: 600; }
.cf-done.ok { border-color: var(--pass); }
.cf-side h2 { font-weight: 850; font-stretch: 88%; font-size: 26px; line-height: 1.08; }
.cf-side ol { counter-reset: n; margin-top: 16px; border-top: 3px solid #000; }
.cf-side li { counter-increment: n; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 8px; padding: 14px 0; border-bottom: 1px solid rgba(0, 0, 0, .3); }
.cf-side li::before { content: counter(n); font-weight: 900; font-stretch: 78%; font-size: 26px; line-height: 1; }
.cf-side .hand { margin-top: 26px; font-size: 26px; transform: rotate(-2deg); max-width: 13em; }
.cf-mail { margin-top: 22px; font-size: 17px; }
@media (max-width: 900px) { .cf-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cf-fields { grid-template-columns: 1fr; } }

/* Pages légales */
.legal { max-width: 46em; padding: clamp(24px, 4vw, 56px); margin-bottom: clamp(60px, 8vw, 110px); }
.legal h2 { margin: 1.5em 0 .4em; font-weight: 850; font-stretch: 88%; font-size: 26px; line-height: 1.1; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { font-size: 17.5px; line-height: 1.55; }
.legal p + p { margin-top: .8em; }
.legal ul { list-style: square; padding-left: 1.2em; margin-top: .5em; }
.legal li + li { margin-top: .3em; }
.legal a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.legal a:hover { background: var(--tape); }
.legal-date { color: var(--mut); font-size: 16px; }

/* 404 */
.nf { min-height: 62vh; display: grid; align-content: center; padding: clamp(40px, 6vw, 90px) 0; }
.nf .d1 { font-size: clamp(90px, 22vw, 330px); line-height: .78; }
.nf-row { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 30px; }

/* ───────── Page d'aperçu client ───────── */
.p-preview { background: #000; }
.gate { min-height: 100dvh; display: grid; grid-template-rows: auto 1fr auto; background: var(--concrete) var(--grain); }
.gate-hd { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--hd); padding-inline: var(--pad); }
.gate-hd a.lnk { font-weight: 650; font-size: 16px; }
.gate-mid { display: grid; place-items: center; padding: 24px var(--pad) 56px; }
.gate .lock-box { transform: rotate(-.8deg); }
.gate-ft { padding: 0 var(--pad) 26px; text-align: center; color: var(--mut); font-size: 15.5px; }

.pv { height: 100dvh; display: grid; grid-template-rows: auto minmax(0, 1fr); background: #17191a; color: #fff; }
.pv-bar { display: flex; align-items: center; gap: 10px clamp(10px, 1.6vw, 22px); min-height: 58px; padding: 7px clamp(10px, 1.6vw, 22px); background: #000; }
.pv-bar .brand { font-size: 14px; }
.pv-who { min-width: 0; margin-right: auto; display: grid; line-height: 1.15; }
.pv-who strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 800; font-stretch: 90%; font-size: 17px; }
.pv-who span { color: #aab1b5; font-size: 13.5px; }
.pv-dev { display: inline-flex; padding: 3px; border-radius: 8px; background: #26292b; }
.pv-dev button { min-height: 36px; padding: 0 14px; border: 0; border-radius: 6px; background: none; color: #cfd4d7; font-weight: 700; font-size: 14.5px; }
.pv-dev button[aria-pressed="true"] { background: #fff; color: #000; }
.pv-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border: 2px solid #fff; background: none; color: #fff; font-weight: 750; font-size: 15px; text-decoration: none; white-space: nowrap; }
.pv-btn:hover { background: #fff; color: #000; }
.pv-punch-btn { position: relative; isolation: isolate; border: 0; color: #000; padding: 0 20px; }
.pv-punch-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--tape) var(--crepe); clip-path: var(--torn); transition: transform .25s var(--snap); }
.pv-punch-btn:hover { background: none; color: #000; }
.pv-punch-btn:hover::before { transform: rotate(-2deg) scale(1.05); }
.pv-punch-btn b { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: #000; color: #fff; font-size: 13.5px; }
.pv-stage { position: relative; display: grid; place-items: center; min-height: 0; overflow: hidden; }
.pv-frame { width: 100%; height: 100%; background: #fff; transition: width .45s var(--ease), height .45s var(--ease), border-radius .45s, border-width .45s; border: 0 solid #000; }
.pv-frame iframe { display: block; width: 100%; height: 100%; border: 0; background: #fff; }
.pv-frame.is-phone { width: 414px; height: 868px; border-width: 12px; border-radius: 46px; overflow: hidden; flex: none; transform: scale(var(--s, 1)); box-shadow: 0 0 0 2px #3a3e40, 0 40px 80px -30px #000; }
.pv-stage.is-phone { background: var(--concrete) var(--grain); }

.punch { position: fixed; z-index: 80; right: 0; top: 58px; bottom: 0; width: min(420px, 100%); display: grid; grid-template-rows: auto auto auto minmax(0, 1fr) auto auto; gap: 14px; padding: 22px 22px calc(18px + env(safe-area-inset-bottom)); background: var(--paper); color: #000; box-shadow: -30px 0 60px -30px rgba(0, 0, 0, .8); animation: punch-in .4s var(--ease) both; }
@keyframes punch-in { from { transform: translateX(104%); } to { transform: none; } }
.punch-hd { display: flex; align-items: center; justify-content: space-between; }
.punch-hd h2 { font-weight: 900; font-stretch: 80%; font-size: 38px; line-height: 1; letter-spacing: -.03em; }
.punch-x { width: 44px; height: 44px; border: 0; background: none; font-size: 30px; line-height: 1; font-weight: 300; }
.punch-x:hover { background: #000; color: #fff; }
.punch-p { font-size: 16.5px; color: var(--mut); }
.punch-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.punch-form input { min-height: 50px; padding: 10px 12px; border: 2px solid #000; border-radius: 0; font-size: 17px; }
.punch-form .btn { min-height: 50px; padding: 0 18px; font-size: 16px; }
.punch-list { overflow-y: auto; display: grid; align-content: start; gap: 12px; padding: 8px 4px 8px 2px; }
.punch-list li { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 34px; align-items: center; gap: 6px; padding: 9px 8px 8px 20px; background: var(--tape) var(--crepe); clip-path: var(--torn); font: 400 23px/1.08 var(--hand); animation: slap2 .34s var(--snap) both; }
.punch-list li:nth-child(odd) { transform: rotate(-.8deg); }
.punch-list li:nth-child(even) { transform: rotate(.7deg); }
@keyframes slap2 { from { opacity: 0; scale: 1.2; } to { opacity: 1; scale: 1; } }
.punch-list small { display: block; margin-top: 3px; font: 600 12.5px/1.2 var(--f); opacity: .75; }
.punch-list button { width: 34px; height: 34px; border: 0; background: none; font: 300 24px/1 var(--f); }
.punch-list button:hover { background: #000; color: #fff; }
.punch-empty { align-self: start; padding: 16px; border: 2px dashed #000; font-size: 16.5px; }
.punch-send { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.punch-send .btn { min-height: 50px; padding: 0 10px; font-size: 16px; }
.punch-msg { min-height: 1.4em; font-weight: 650; font-size: 15.5px; }
@media (max-width: 760px) {
  .pv-dev, .pv-bar .brand, .pv-full { display: none; }
  .pv-bar { gap: 8px; padding-left: 14px; }
  .pv-who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pv-btn { padding: 0 11px; font-size: 14.5px; }
  .punch { top: auto; height: min(78dvh, 620px); width: 100%; box-shadow: 0 -30px 60px -30px rgba(0, 0, 0, .8); animation-name: punch-up; }
  @keyframes punch-up { from { transform: translateY(104%); } to { transform: none; } }
}

/* ───────── Mouvement réduit ───────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; transition-delay: 0s !important; }
  .strip-in, .sheet.is-on .sheet-in, .sheet-phone-in, .phone-win .ph-img.is-on { animation: none !important; }
  .roll-win { overflow-y: auto; }
  .roll-win > img:first-child { animation: none; }
  .roll-bar { display: none; }
  .js .step { opacity: 1; transform: none; }
}
