/* TCIF, feuille de style unique.
   Palette : bleu plan, jaune signalisation, papier béton. L'encre est un bleu presque noir. */

@font-face { font-family: "Big Shoulders Display"; src: url(/fonts/big-shoulders-display.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url(/fonts/instrument-sans.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Martian Mono"; src: url(/fonts/martian-mono.woff2) format("woff2"); font-weight: 100 800; font-stretch: 75% 112.5%; font-display: swap; }
@font-face { font-family: "Architects Daughter"; src: url(/fonts/architects-daughter.woff2) format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --bleu: #18428F;
  --bleu-nuit: #0F2C66;
  --jaune: #F6C200;
  --papier: #EDE8DC;
  --papier-clair: #F8F5EE;
  --beton: #D9D3C5;
  --encre: #10131C;
  --encre-douce: #474B55;
  --trait: rgba(16, 19, 28, .16);
  --blanc: #FFFFFF;

  --f-titre: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --f-texte: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Martian Mono", ui-monospace, Menlo, Consolas, monospace;
  --f-main: "Architects Daughter", "Segoe Print", "Bradley Hand", cursive;

  --gouttiere: clamp(16px, 4.4vw, 64px);
  --max: 1440px;
  --nav-h: 64px;
  --ombre: 8px 8px 0 rgba(16, 19, 28, .9);

  /* Ressorts calculés (réponse, amortissement) : 0,45 s / 0,72 ; 0,4 s / 1 ; 0,5 s / 0,55 */
  --ressort: linear(0, 0.03, 0.102, 0.2, 0.304, 0.417, 0.527, 0.628, 0.718, 0.795, 0.86, 0.91, 0.951, 0.983, 1.005, 1.021, 1.03, 1.035, 1.037, 1.036, 1.034, 1.03, 1.026, 1.022, 1.018, 1.014, 1.011, 1.008, 1.006, 1.004, 1.002, 1.001, 1, 0.999, 1);
  --ressort-doux: linear(0, 0.029, 0.09, 0.174, 0.259, 0.351, 0.434, 0.515, 0.583, 0.648, 0.701, 0.751, 0.79, 0.826, 0.855, 0.88, 0.9, 0.918, 0.932, 0.945, 0.954, 0.963, 0.969, 0.975, 0.98, 0.983, 0.986, 0.989, 0.991, 0.993, 0.994, 0.995, 0.996, 0.997, 0.998, 0.999, 1);
  --ressort-vif: linear(0, 0.049, 0.174, 0.332, 0.502, 0.665, 0.813, 0.929, 1.016, 1.075, 1.111, 1.124, 1.122, 1.11, 1.091, 1.07, 1.049, 1.03, 1.014, 1.002, 0.993, 0.987, 0.985, 0.984, 0.986, 0.988, 0.99, 0.993, 0.995, 0.998, 0.999, 1.001, 1.002, 1.001, 1);

  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .06 0 0 0 0 .07 0 0 0 0 .11 0 0 0 .5 -.12'/></filter><rect width='100%' height='100%' filter='url(%23g)'/></svg>");
  --grain-clair: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .32 -.08'/></filter><rect width='100%' height='100%' filter='url(%23g)'/></svg>");
  --usure: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='120'><filter id='u'><feTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='3' seed='4'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.4 0 0 0 1.85'/></filter><rect width='100%' height='100%' filter='url(%23u)'/></svg>");
  --grille-blanche: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px) 0 0 / 120px 120px, linear-gradient(90deg, rgba(255, 255, 255, .1) 1px, transparent 1px) 0 0 / 120px 120px;

  interpolate-size: allow-keywords;
  color-scheme: light;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font: 400 1.0625rem/1.55 var(--f-texte);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
}
img, svg { display: block; max-width: 100%; }
/* Rien ne dépasse sur le côté, même pendant une animation (tampon qui claque, carte qu'on tire) */
main > section { overflow-x: clip; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--bleu); outline-offset: 3px; }
.plan :focus-visible, .etapes :focus-visible, .pied :focus-visible, .menu :focus-visible, .doc--bleu :focus-visible { outline-color: var(--jaune); }
::selection { background: var(--jaune); color: var(--encre); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.pat-bleu path { fill: none; stroke: var(--bleu); stroke-width: 1; }
.pat-blanc path { fill: none; stroke: rgba(255, 255, 255, .7); stroke-width: 1; }
.pat-encre path { fill: none; stroke: var(--encre); stroke-width: .8; }
.svg-mono { font-family: var(--f-mono); letter-spacing: .06em; }
.svg-hand { font-family: var(--f-main); }
.svg-display { font-family: var(--f-titre); font-weight: 900; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.evitement { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--jaune); color: var(--encre); padding: 10px 14px; font-weight: 700; transition: top .2s; }
.evitement:focus { top: 12px; }

/* Typographie */
.enveloppe { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gouttiere); }
.titre-xl { font: 900 clamp(3.3rem, 1.7rem + 7.2vw, 9.2rem)/1 var(--f-titre); text-transform: uppercase; letter-spacing: -.012em; }
.titre-l { font: 900 clamp(2.6rem, 1.5rem + 4.8vw, 6.4rem)/1 var(--f-titre); text-transform: uppercase; letter-spacing: -.008em; }
.surtitre { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .9rem; margin-bottom: clamp(1rem, 2vw, 1.6rem); font: 500 .7rem/1.2 var(--f-mono); font-stretch: 87.5%; text-transform: uppercase; letter-spacing: .08em; }
.surtitre span { background: var(--encre); color: var(--papier); padding: .45em .65em; }
.chapo { margin-top: clamp(1.2rem, 2.4vw, 2rem); max-width: 38ch; font-size: clamp(1.1rem, 1rem + .45vw, 1.38rem); line-height: 1.42; }
.mono { font-family: var(--f-mono); font-size: .72rem; font-stretch: 87.5%; letter-spacing: .05em; text-transform: uppercase; line-height: 1.35; }
.hand { font-family: var(--f-main); line-height: 1.15; }
.decoupe .mot { display: inline-block; overflow: clip; vertical-align: top; padding: .02em 0 .16em; margin: -.02em 0 -.16em; }
.decoupe .mot > span { display: inline-block; }

/* Boutons : retour immédiat à l'appui */
.btn {
  --o: var(--encre);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .85em 1.25em;
  font: 700 1rem/1.1 var(--f-texte);
  color: var(--encre); background: var(--papier-clair);
  border: 2px solid var(--encre);
  box-shadow: 4px 4px 0 var(--o);
  text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ressort), box-shadow .35s var(--ressort), background-color .2s;
  touch-action: manipulation;
  user-select: none; -webkit-user-select: none;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; transition: transform .35s var(--ressort); }
@media (hover: hover) {
  .btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--o); }
  .btn:hover svg:last-child { transform: translateX(3px); }
}
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--o); transition-duration: .06s; }
.btn--jaune { background: var(--jaune); }
.btn--encre { background: var(--encre); color: var(--papier-clair); --o: var(--jaune); border-color: var(--encre); }
.btn--ligne { background: var(--papier-clair); }
.btn--ligne-clair { background: transparent; color: var(--blanc); border-color: var(--blanc); --o: var(--blanc); }
.btn--petit { min-height: 40px; padding: .55em 1em; font-size: .9rem; box-shadow: 3px 3px 0 var(--o); }
.btn--large { width: 100%; min-height: 60px; font-size: 1.08rem; }

/* Navigation */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.4rem);
  padding: 0 var(--gouttiere);
  background: var(--papier);
  border-bottom: 2px solid var(--encre);
  transition: transform .5s var(--ressort-doux);
}
.nav.est-cachee { transform: translateY(-102%); }
.nav__logo { display: block; padding: 6px 0; }
.nav__logo svg { height: 36px; width: auto; fill: var(--encre); }
.nav__liens ul { display: flex; gap: clamp(1rem, 1.8vw, 1.8rem); }
.nav__liens a { position: relative; display: block; padding: .5rem 0; font-weight: 600; font-size: .92rem; text-decoration: none; }
.nav__liens a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .25rem; height: 3px; background: var(--jaune); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ressort-doux); }
.nav__liens a:hover::after, .nav__liens a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { margin-left: auto; }
.nav__menu { display: none; align-items: center; gap: .6rem; margin-left: auto; min-height: 44px; padding: 0 .9rem; background: var(--encre); color: var(--papier); border: 0; font: 600 .8rem var(--f-mono); text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
.nav__burger { display: grid; gap: 5px; }
.nav__burger i { display: block; width: 18px; height: 2px; background: currentColor; }
@media (max-width: 1080px) {
  .nav__liens, .nav__cta { display: none; }
  .nav__menu { display: inline-flex; }
}

/* Menu mobile (dialog natif) */
.menu {
  position: fixed; inset: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0;
  padding: 18px var(--gouttiere) calc(24px + env(safe-area-inset-bottom));
  border: 0; color: var(--blanc);
  background: var(--grille-blanche), var(--bleu);
  opacity: 0; transform: translateY(-14px);
  transition: opacity .25s, transform .45s var(--ressort-doux), overlay .45s allow-discrete, display .45s allow-discrete;
}
.menu[open] { display: flex; flex-direction: column; opacity: 1; transform: none; }
@starting-style { .menu[open] { opacity: 0; transform: translateY(-14px); } }
.menu::backdrop { background: transparent; }
.menu__tete { display: flex; justify-content: space-between; align-items: center; min-height: 44px; }
.menu__fermer { min-height: 44px; padding: 0 1rem; background: var(--jaune); color: var(--encre); border: 0; font: 600 .8rem var(--f-mono); text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
.menu__liens { margin-top: 3vh; display: grid; }
.menu__liens a { display: flex; align-items: baseline; gap: .8rem; padding: .3rem 0; border-bottom: 1px solid rgba(255, 255, 255, .2); font: 900 clamp(2rem, 9vw, 3.4rem)/1 var(--f-titre); text-transform: uppercase; text-decoration: none; }
.menu__liens .mono { color: var(--jaune); font-size: .7rem; }
.menu__pied { margin-top: auto; display: grid; gap: 12px; padding-top: 24px; }

/* 01 Hero
   Téléphone : panneau en portrait. Ordinateur : panneau paysage, grue et charge à droite.
   Le mot CHANTIER est la palissade au pied du panneau : entier, jamais caché derrière. */
.hero {
  --sol: clamp(34px, 5vh, 54px);
  --geant: min(30svh, 28vw);
  --palissade: calc(var(--geant) * .8);
  position: relative; isolation: isolate;
  min-height: 100svh;
  display: flex; flex-direction: column;
  padding: calc(var(--nav-h) + clamp(14px, 3vh, 40px)) var(--gouttiere) var(--sol);
  overflow: clip;
  background: var(--grain), var(--papier);
}
.hero__grille { position: absolute; inset: 0; z-index: -3; background-image: linear-gradient(rgba(24, 66, 143, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(24, 66, 143, .1) 1px, transparent 1px); background-size: 32px 32px; -webkit-mask-image: linear-gradient(#000 40%, transparent 92%); mask-image: linear-gradient(#000 40%, transparent 92%); }
.hero__scene { position: relative; z-index: 2; flex: 1; display: flex; }
.panneau { position: relative; display: flex; flex-direction: column; width: min(100%, 780px); margin-inline: auto; transform-origin: 50% 100%; animation: planter 1s var(--ressort-vif) both; }
@keyframes planter { from { transform: translateY(-46px) rotate(-2.4deg); } }
.panneau__planche {
  position: relative;
  container-type: inline-size;
  padding: 0 clamp(16px, 2.4vw, 32px) clamp(16px, 2vw, 26px);
  background: var(--grain), var(--papier-clair);
  border: 3px solid var(--encre);
  box-shadow: inset 0 0 0 6px var(--papier-clair), inset 0 0 0 7px var(--encre), 12px 12px 0 rgba(16, 19, 28, .18);
}
.panneau__bandeau {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  margin: 0 calc(-1 * clamp(16px, 2.4vw, 32px)) clamp(12px, 1.8vw, 22px);
  padding: .65rem max(28px, clamp(16px, 2.4vw, 32px));
  background: var(--bleu); color: var(--blanc);
  font: 800 clamp(1.05rem, .9rem + .6vw, 1.45rem)/1 var(--f-titre); text-transform: uppercase; letter-spacing: .08em;
}
.panneau__bandeau .mono { font-size: .64rem; opacity: .85; }
.panneau__vis { position: absolute; z-index: 3; width: 11px; height: 11px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f4f1ea, #9c968b 70%); border: 1.5px solid var(--encre); }
.panneau__vis::after { content: ""; position: absolute; inset: 3.5px 1px; border-top: 1.5px solid var(--encre); transform: rotate(40deg); }
.panneau__vis:nth-of-type(1) { top: 8px; left: 8px; }
.panneau__vis:nth-of-type(2) { top: 8px; right: 8px; }
.panneau__vis:nth-of-type(3) { bottom: 8px; left: 8px; }
.panneau__vis:nth-of-type(4) { bottom: 8px; right: 8px; }
.panneau__kicker { display: block; max-width: 46ch; margin-bottom: .6rem; font: 600 .7rem/1.4 var(--f-mono); font-stretch: 87.5%; text-transform: uppercase; letter-spacing: .05em; color: var(--bleu); }
.panneau__accroche { display: block; font: 900 clamp(2.5rem, 12.5cqi, 4.6rem)/1 var(--f-titre); text-transform: uppercase; letter-spacing: -.004em; text-wrap: balance; }
.panneau__accroche mark {
  color: inherit; padding: 0 .06em; margin: 0 -.06em;
  background: linear-gradient(transparent 56%, var(--jaune) 56% 94%, transparent 94%) no-repeat 0 0 / 100% 100%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  animation: surligner .7s .85s cubic-bezier(.6, 0, .3, 1) both;
}
@keyframes surligner { from { background-size: 0% 100%; } }
.panneau__rubriques { margin: clamp(12px, 1.8vw, 20px) 0; border-top: 2px solid var(--encre); }
.panneau__rubriques > div { display: grid; grid-template-columns: 11rem 1fr; gap: .3rem 1rem; align-items: baseline; padding: .42rem 0; border-bottom: 1px solid var(--trait); }
.panneau__rubriques dt { font: 500 .66rem/1.3 var(--f-mono); font-stretch: 87.5%; text-transform: uppercase; letter-spacing: .05em; color: var(--bleu); }
.panneau__rubriques dd { font-weight: 600; font-size: 1rem; line-height: 1.3; }
.panneau__rubriques dd strong { font: 900 1.35rem/1 var(--f-titre); text-transform: uppercase; letter-spacing: .03em; background: var(--jaune); padding: .05em .3em; }
.panneau__rubriques a { font-weight: 700; text-decoration-color: var(--jaune); text-decoration-thickness: 3px; }
.panneau__actions { display: flex; flex-wrap: wrap; gap: 12px 14px; }
.garanties { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: clamp(12px, 1.6vw, 18px); font-size: .9rem; font-weight: 600; }
.garanties li { display: flex; align-items: center; gap: .4rem; }
.garanties svg { width: 18px; height: 18px; flex: none; color: var(--bleu); }
.panneau__piquets { flex: 1 0 auto; min-height: calc(var(--palissade) + 14px); display: flex; justify-content: space-between; padding: 0 15%; }
.panneau__piquets i { position: relative; width: clamp(14px, 1.4vw, 20px); background: linear-gradient(90deg, #8e887d, #d8d2c5 38%, #a39d91 70%, #7f796f); border: 2px solid var(--encre); border-top: 0; }
.panneau__piquets i::before { content: ""; position: absolute; left: -6px; right: -6px; top: 14px; height: 9px; background: var(--encre); }

/* La palissade : CHANTIER en entier, posé sur le sol */
.hero__geant { position: absolute; z-index: 1; left: 0; right: 0; bottom: var(--sol); height: var(--palissade); pointer-events: none; }
.hero__geant > div { display: flex; justify-content: center; align-items: flex-end; gap: .22em; height: 100%; font: 900 var(--geant)/.8 var(--f-titre); text-transform: uppercase; letter-spacing: -.005em; color: var(--bleu); white-space: nowrap; will-change: transform; }
.hero__geant span { display: block; flex: none; text-box: trim-both cap alphabetic; }
.ruban { position: absolute; z-index: 3; left: -2%; width: 104%; max-width: none; bottom: calc(var(--sol) - 10px); height: clamp(56px, 8vh, 90px); overflow: visible; pointer-events: none; }
.ruban__ombre { fill: rgba(16, 19, 28, .14); }
.js .ruban { clip-path: inset(0 100% 0 0); animation: derouler 1.1s .7s cubic-bezier(.65, 0, .2, 1) forwards; }
@keyframes derouler { to { clip-path: inset(0 0 0 0); } }
.hero__sol { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: var(--sol); border-top: 3px solid var(--encre); background: repeating-linear-gradient(-45deg, transparent 0 7px, rgba(16, 19, 28, .3) 7px 8px), var(--beton); }
.hero__descendre { position: absolute; z-index: 4; right: var(--gouttiere); bottom: calc((var(--sol) - 30px) / 2); height: 30px; display: flex; align-items: center; gap: .5rem; padding: 0 .7rem; background: var(--papier); border: 1.5px solid var(--encre); text-decoration: none; }
.hero__descendre svg { width: 14px; height: 14px; transform: rotate(90deg); animation: hocher 2.4s var(--ressort) infinite; }
@keyframes hocher { 0%, 60%, 100% { translate: 0 0; } 30% { translate: 0 4px; } }

/* La grue et sa charge (ordinateur large seulement) */
.hero__grue { display: none; }

@media (min-width: 1081px) {
  .panneau { width: min(64vw, 1000px); margin-inline: auto; }
  .panneau__accroche { font-size: clamp(3rem, 8.6cqi, 5rem); }
  .panneau__corps { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 0 clamp(20px, 2.4vw, 34px); align-items: start; }
  .panneau__rubriques { margin-bottom: 0; }
  .panneau__rubriques > div { grid-template-columns: 9.5rem 1fr; }
  .panneau__cta { padding-top: clamp(12px, 1.8vw, 20px); }
  .panneau__actions { flex-direction: column; align-items: stretch; }
  .garanties { flex-direction: column; gap: .35rem; }
}
@media (min-width: 1240px) {
  .panneau { margin-inline: clamp(0px, calc((100vw - 1440px) / 2), 240px) 0; }
  .hero__grue { display: block; position: absolute; z-index: 0; right: clamp(-36px, -2vw, 0px); top: calc(var(--nav-h) + 6px); bottom: var(--sol); aspect-ratio: 700 / 820; container-type: size; color: var(--bleu); }
  .grue { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .62; }
  .charge { position: absolute; left: 56%; top: 21.83%; width: 0; height: 0; transform-origin: 0 0; will-change: transform; }
  .charge__cable { position: absolute; left: -1px; top: 0; width: 2px; height: 7cqh; background: currentColor; }
  .charge__crochet { position: absolute; left: -9px; top: 7cqh; width: 18px; height: 22px; }
  .charge__elingues { position: absolute; left: -15cqw; width: 30cqw; top: calc(7cqh + 14px); height: 6cqh; background: linear-gradient(to top right, transparent calc(50% - 1px), currentColor 50%, transparent calc(50% + 1px)) left / 50% 100% no-repeat, linear-gradient(to top left, transparent calc(50% - 1px), currentColor 50%, transparent calc(50% + 1px)) right / 50% 100% no-repeat; }
  .charge__bloc { position: absolute; left: -15cqw; width: 30cqw; top: calc(13cqh + 14px); aspect-ratio: 1.25; display: flex; flex-direction: column; background: var(--papier-clair); border: 2px solid var(--encre); box-shadow: 8px 8px 0 rgba(16, 19, 28, .85); color: var(--encre); }
  .charge__barre { display: flex; align-items: center; gap: 4px; padding: 5px 7px; background: var(--encre); }
  .charge__barre i { width: 7px; height: 7px; border-radius: 50%; background: var(--jaune); }
  .charge__barre i + i { background: var(--papier); }
  .charge__barre span { margin-left: 6px; font: 500 max(9px, 1.5cqw)/1 var(--f-mono); color: var(--papier); letter-spacing: .03em; }
  .charge__page { position: relative; flex: 1; display: grid; grid-template-columns: 1fr .9fr; grid-template-rows: auto auto auto 1fr; align-content: start; gap: 1.3cqw 2cqw; padding: 2.2cqw; }
  .charge__titre { grid-column: 1; font: 900 3.9cqw/.9 var(--f-titre); text-transform: uppercase; }
  .charge__ligne { grid-column: 1; height: .9cqw; background: var(--beton); }
  .charge__ligne--court { width: 70%; }
  .charge__bouton { grid-column: 1; align-self: start; width: 64%; height: 3.6cqw; background: var(--jaune); border: 2px solid var(--encre); }
  .charge__photo { grid-column: 2; grid-row: 1 / 5; background: radial-gradient(circle at 70% 30%, var(--jaune) 0 14%, transparent 15%), linear-gradient(transparent 62%, var(--beton) 62%), var(--bleu); border: 2px solid var(--encre); }
  .charge__note { position: absolute; left: 36cqw; width: 40cqw; top: calc(21.83cqh + 13cqh + 14px + 24cqw + 26px); display: flex; align-items: flex-start; justify-content: center; gap: 6px; font-size: clamp(1rem, .7rem + .5vw, 1.35rem); color: var(--bleu); text-align: left; }
  .charge__note svg { width: 18px; height: 26px; flex: none; margin-top: -2px; }
}

@media (max-width: 1080px) {
  /* Le mot tient au-dessus du ruban, qui s'affine */
  .hero__geant { bottom: calc(var(--sol) + 22px); }
  .panneau__piquets { min-height: calc(var(--palissade) + 36px); }
  .ruban { height: 44px; bottom: calc(var(--sol) - 8px); }
}
@media (max-width: 640px) {
  .hero { padding-top: calc(var(--nav-h) + 12px); }
  .panneau__rubriques > div { grid-template-columns: 6.6rem 1fr; gap: .2rem .7rem; padding: .42rem 0; }
  .panneau__rubriques dd { font-size: .92rem; }
  .panneau__actions .btn { flex: 1 1 auto; }
  .panneau__actions .btn--jaune { flex-basis: 100%; }
  .garanties { font-size: .82rem; gap: .3rem .9rem; }
  .hero__descendre { display: none; }
}

/* Bandes de signalisation et marquee */
.bande { position: relative; overflow: hidden; padding: .35rem 0; color: var(--jaune); background: var(--encre); border-block: 12px solid transparent; border-image: repeating-linear-gradient(-45deg, var(--jaune) 0 14px, var(--encre) 14px 28px) 12; }
.bande__piste { display: flex; width: max-content; animation: defiler 34s linear infinite; }
.bande__piste span { display: flex; align-items: center; padding-right: .5em; font: 900 clamp(2.4rem, 1.4rem + 4.4vw, 5.6rem)/1 var(--f-titre); text-transform: uppercase; letter-spacing: .01em; white-space: nowrap; }
.bande__piste span::after { content: ""; width: .32em; height: .32em; margin-left: .5em; background: currentColor; transform: rotate(45deg); }
@keyframes defiler { to { transform: translateX(-50%); } }
.bande--fin { display: grid; }
.bande--fin .bande__piste { grid-area: 1 / 1; }
.bande__voile { grid-area: 1 / 1; overflow: hidden; margin-block: -.35rem; padding-block: .35rem; background: var(--jaune); clip-path: inset(0% 100% 0% 0%); }
.bande__piste--b { color: var(--encre); animation-direction: reverse; }

/* 02 Du plan au site */
.plan { position: relative; color: var(--blanc); background: var(--grille-blanche), var(--grain-clair), var(--bleu); }
.plan__intro { padding-top: clamp(80px, 11vw, 160px); padding-bottom: clamp(24px, 3vw, 48px); }
.plan .surtitre span { background: var(--jaune); color: var(--encre); }
.plan__scene {
  position: relative;
  height: 100svh; min-height: 560px;
  display: grid;
  grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  grid-template-areas: "commandes chantier" "commandes cartouche";
  gap: 18px clamp(24px, 3vw, 48px);
  padding: calc(var(--nav-h) + 18px) var(--gouttiere) 22px;
  max-width: 1600px; margin-inline: auto;
}
.plan__commandes { grid-area: commandes; display: flex; flex-direction: column; gap: clamp(10px, 2vh, 18px); min-height: 0; }
.plan__champ label { display: block; margin-bottom: .4rem; color: var(--jaune); }
.plan__champ input {
  width: 100%; padding: .2rem 0 .35rem;
  font: 800 clamp(1.5rem, 1.2rem + 1vw, 2.1rem)/1.1 var(--f-titre); text-transform: uppercase; letter-spacing: .02em;
  color: var(--blanc); caret-color: var(--jaune);
  background: transparent; border: 0; border-bottom: 2px solid rgba(255, 255, 255, .7); border-radius: 0;
}
.plan__champ input::placeholder { color: rgba(255, 255, 255, .45); }
.plan__champ input:focus { outline: none; border-bottom-color: var(--jaune); }
.plan__exemples { display: flex; flex-wrap: wrap; gap: .3rem .5rem; align-items: center; font-size: .85rem; }
.plan__exemples .mono { width: 100%; color: rgba(255, 255, 255, .7); font-size: .62rem; }
.plan__exemples button { min-height: 32px; padding: .15rem .55rem; background: rgba(255, 255, 255, .08); border: 1px dashed rgba(255, 255, 255, .6); cursor: pointer; transition: background-color .2s, transform .3s var(--ressort); }
.plan__exemples button:hover { background: rgba(255, 255, 255, .18); }
.plan__exemples button:active { transform: scale(.96); }
.plan__onglets { display: grid; grid-template-columns: repeat(3, 1fr); border: 2px solid var(--blanc); }
.plan__onglets button { min-height: 42px; padding: .3rem .4rem; background: transparent; border: 0; border-left: 2px solid var(--blanc); font: 700 .8rem/1.1 var(--f-texte); cursor: pointer; transition: background-color .2s, color .2s; }
.plan__onglets button:first-child { border-left: 0; }
.plan__onglets button[aria-selected="true"] { background: var(--jaune); color: var(--encre); }
.plan__etapes { display: grid; gap: 2px; }
.plan__etapes li { display: grid; grid-template-columns: 2.2rem auto 1fr; align-items: baseline; gap: 0 .7rem; padding: clamp(.22rem, .9vh, .4rem) 0; border-top: 1px solid rgba(255, 255, 255, .22); font: 800 clamp(1.05rem, 2.4vh, 1.3rem)/1 var(--f-titre); text-transform: uppercase; letter-spacing: .03em; opacity: .42; transition: opacity .3s; }
.plan__etapes li.fait { opacity: .72; }
.plan__etapes li.fait .mono { color: var(--blanc); }
.plan__etapes li .mono { font-size: .62rem; color: var(--jaune); }
.plan__etapes li em { font-style: normal; font-size: .9rem; text-transform: none; letter-spacing: 0; color: var(--jaune); white-space: nowrap; opacity: 0; translate: -6px 0; transition: opacity .3s, translate .4s var(--ressort-doux); }
.plan__etapes li[aria-current="step"] { opacity: 1; }
.plan__etapes li[aria-current="step"] em { opacity: 1; translate: 0 0; }

.plan__chantier { grid-area: chantier; position: relative; min-height: 0; overflow: hidden; }
.plan__fleche { position: absolute; left: 0; right: 0; top: 0; height: 18px; border-block: 2px solid var(--blanc); }
.plan__mat { position: absolute; left: 6px; top: 0; bottom: 0; width: 22px; border-inline: 2px solid var(--blanc); background: linear-gradient(to bottom right, transparent calc(50% - 1px), rgba(255, 255, 255, .7) 50%, transparent calc(50% + 1px)) 0 0 / 100% 22px, linear-gradient(to bottom left, transparent calc(50% - 1px), rgba(255, 255, 255, .7) 50%, transparent calc(50% + 1px)) 0 0 / 100% 22px; }
.plan__mat::before { content: ""; position: absolute; left: -2px; top: 18px; width: 34px; height: 26px; border: 2px solid var(--blanc); background: var(--bleu); }
.plan__compteur { display: flex; align-items: baseline; gap: .3rem; margin-top: auto; font: 900 clamp(3.4rem, 11vh, 8.5rem)/.8 var(--f-titre); color: transparent; -webkit-text-stroke: 2px var(--jaune); }
.plan__compteur small { font-size: .3em; color: var(--jaune); -webkit-text-stroke: 0; }
.plan__treillis { width: 100%; height: 100%; }
.plan__chariot { position: absolute; top: 14px; left: 0; width: 34px; height: 12px; margin-left: -17px; background: var(--blanc); border: 2px solid var(--blanc); box-shadow: inset 0 0 0 2px var(--bleu); will-change: transform; }
.maquette { position: absolute; left: 58px; right: 170px; top: 74px; bottom: 50px; container-type: size; container-name: maquette; }
.maquette__terrain { position: absolute; inset: 1.6cqi; display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.2cqi; }
.maquette__terrain { counter-reset: axe; }
.maquette__terrain i { position: relative; border-inline: 1px dashed rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); counter-increment: axe; }
.maquette__terrain i::before { content: counter(axe, upper-alpha); position: absolute; left: 50%; top: 0; translate: -50% 0; width: max(16px, 2.4cqi); aspect-ratio: 1; display: grid; place-items: center; border: 1.5px solid var(--blanc); border-radius: 50%; background: var(--bleu); font: 600 max(8px, 1.1cqi)/1 var(--f-mono); color: var(--blanc); }
.maquette__terrain::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 7%; border-top: 2px solid var(--blanc); background: repeating-linear-gradient(45deg, transparent 0 5px, rgba(255, 255, 255, .45) 5px 6px); }
.plan__tampon { left: 0; top: 0; font-size: 1.45rem; opacity: 0; visibility: hidden; -webkit-mask-size: 360px 180px; mask-size: 360px 180px; }
.plan__cable { position: absolute; left: 0; top: 18px; width: 2px; height: 100%; margin-left: -1px; background: var(--blanc); transform-origin: top; opacity: 0; visibility: hidden; z-index: 2; }
.plan__crochet { position: absolute; left: 0; top: 0; height: 26px; opacity: 0; visibility: hidden; z-index: 2; background: linear-gradient(to top right, transparent calc(50% - 1px), var(--blanc) 50%, transparent calc(50% + 1px)) left / 50% 100% no-repeat, linear-gradient(to top left, transparent calc(50% - 1px), var(--blanc) 50%, transparent calc(50% + 1px)) right / 50% 100% no-repeat; }
.maquette__cadre i { position: absolute; background: var(--blanc); }
.maquette__cadre i:nth-child(1) { left: 0; right: 0; top: 0; height: 2px; transform-origin: left; }
.maquette__cadre i:nth-child(2) { top: 0; bottom: 0; right: 0; width: 2px; transform-origin: top; }
.maquette__cadre i:nth-child(3) { left: 0; right: 0; bottom: 0; height: 2px; transform-origin: right; }
.maquette__cadre i:nth-child(4) { top: 0; bottom: 0; left: 0; width: 2px; transform-origin: bottom; }
.maquette__plan, .maquette__site { position: absolute; inset: 0; }
.maquette__site { clip-path: inset(0 0 0 0); }
.maquette__rouleau { position: absolute; left: -10px; right: -10px; top: 0; height: 100%; pointer-events: none; z-index: 3; opacity: 0; }
.maquette__rouleau i { position: absolute; left: 0; right: 0; top: -5px; height: 10px; background: var(--jaune); border: 2px solid var(--encre); }

/* Maquettes générées par plan.js */
.m { position: absolute; inset: 0; display: grid; gap: 1.6cqi; padding: 1.6cqi; }
.b { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
.t { position: relative; display: block; }
.t__in { display: block; }
.t__barre { position: absolute; left: 0; top: 50%; width: 100%; height: .5em; margin-top: -.25em; border-radius: 1px; transform-origin: right; }
.m--site { grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: auto 1fr 30% auto; grid-template-areas: "ent ent ent" "acc acc ph" "c1 c2 c3" "pied pied pied"; }
.m--site .b--entete { grid-area: ent; } .m--site .b--accroche { grid-area: acc; } .m--site .b--ph1 { grid-area: ph; }
.m--site .b--c1 { grid-area: c1; } .m--site .b--c2 { grid-area: c2; } .m--site .b--c3 { grid-area: c3; } .m--site .b--pied { grid-area: pied; }
.m--boutique { grid-template-columns: repeat(3, 1fr) 1.15fr; grid-template-rows: auto 1fr 1fr auto; grid-template-areas: "ent ent ent ent" "p1 p2 p3 pan" "p4 p5 p6 pan" "pied pied pied pied"; }
.m--boutique .b--entete { grid-area: ent; } .m--boutique .b--panier { grid-area: pan; } .m--boutique .b--pied { grid-area: pied; }
.m--boutique .b--p1 { grid-area: p1; } .m--boutique .b--p2 { grid-area: p2; } .m--boutique .b--p3 { grid-area: p3; }
.m--boutique .b--p4 { grid-area: p4; } .m--boutique .b--p5 { grid-area: p5; } .m--boutique .b--p6 { grid-area: p6; }
.m--application { grid-template-columns: 17% 1fr 1fr 1fr; grid-template-rows: auto auto 1fr; grid-template-areas: "nav ent ent ent" "nav k1 k2 k3" "nav cal cal liste"; }
.m--application .b--nav { grid-area: nav; } .m--application .b--entete { grid-area: ent; }
.m--application .b--k1 { grid-area: k1; } .m--application .b--k2 { grid-area: k2; } .m--application .b--k3 { grid-area: k3; }
.m--application .b--cal { grid-area: cal; } .m--application .b--liste { grid-area: liste; }

.b { display: flex; flex-direction: column; justify-content: center; gap: 1cqi; padding: 1.4cqi 1.8cqi; font-size: 1.5cqi; line-height: 1.3; }
.b--entete { flex-direction: row; align-items: center; justify-content: space-between; }
.m-logo { flex: none; font: 900 2.4cqi/1 var(--f-titre); text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.m-logo--app { white-space: normal; overflow-wrap: anywhere; font-size: 1.8cqi; line-height: 1.05; }
.m--application .b--nav { justify-content: flex-start; padding-top: 2.2cqi; }
.b--pied { flex-direction: row; align-items: center; justify-content: space-between; gap: 2cqi; }
.m-pied-nom { white-space: nowrap; }
.m-pied-lien { flex: none; opacity: .8; }
.b__etiquette { position: absolute; left: 1.4cqi; top: 50%; translate: 0 -50%; font: 500 max(8px, 1.15cqi)/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; color: rgba(255, 255, 255, .8); pointer-events: none; }
.maquette__site .b__etiquette { display: none; }
.m-nav { display: flex; gap: 2cqi; font-size: 1.4cqi; }
.m-btn { display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; height: 4.6cqi; padding: 0 2cqi; font-weight: 700; font-size: 1.45cqi; white-space: nowrap; }
.m-btn--petit { height: 3.6cqi; align-self: center; }
.m-sur { font: 600 1.15cqi/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: .05em; }
.m-titre { font: 900 5.6cqi/.9 var(--f-titre); text-transform: uppercase; overflow-wrap: anywhere; }
.m-texte { font-size: 1.6cqi; max-width: 34ch; }
.m-h { font: 800 2.1cqi/1 var(--f-titre); text-transform: uppercase; }
.m-lignes { display: grid; gap: .6cqi; font-size: 1.35cqi; }
.m-lignes .t__in { display: flex; justify-content: space-between; gap: 1cqi; }
.m-recherche { flex: 1; max-width: 40%; margin: 0 2cqi; padding: .7cqi 1.2cqi; border: 1.5px solid currentColor; font-size: 1.3cqi; opacity: .75; }
.b--prod { justify-content: flex-start; gap: .5cqi; padding: .9cqi; }
.prod__ph { position: relative; flex: 1; min-height: 0; margin-bottom: .4cqi; overflow: hidden; }
.m-titre--app { font-size: 3.2cqi; }
.m-logo--tel { display: none; }
.m-cal i { position: relative; }
.m-cal b { position: absolute; inset: 0; }
.ph { position: absolute; inset: 0; }
.b--ph { padding: 0; }
.m-prix { font: 800 2cqi/1 var(--f-titre); }
.m-kpi { font: 900 4cqi/1 var(--f-titre); }
.m-cal { display: grid; grid-template-columns: repeat(5, 1fr); grid-auto-rows: 1fr; gap: .5cqi; flex: 1; margin-top: .6cqi; }
.m-cal i { display: block; }
.m-barre-nav { display: grid; gap: 1.2cqi; margin-top: 2cqi; }

/* Version plan (bleu, traits blancs) */
.maquette__plan .b { border: 1.5px dashed rgba(255, 255, 255, .75); background: rgba(255, 255, 255, .04); color: var(--blanc); }
.maquette__plan .t__barre { background: rgba(255, 255, 255, .55); }
.maquette__plan .m-btn { border: 1.5px solid var(--blanc); }
.maquette__plan .b--ph { background: linear-gradient(to top right, transparent calc(50% - 1px), rgba(255, 255, 255, .6) 50%, transparent calc(50% + 1px)), linear-gradient(to top left, transparent calc(50% - 1px), rgba(255, 255, 255, .6) 50%, transparent calc(50% + 1px)), rgba(255, 255, 255, .04); }
.maquette__plan .ph { display: none; }
.maquette__plan .m-cal i { border: 1px dashed rgba(255, 255, 255, .5); }
.maquette__plan .m-barre { background: rgba(255, 255, 255, .5); }

/* Version finie (couleurs) */
.maquette__site .m { background: #FBF9F4; }
.maquette__site .b { color: var(--encre); background: var(--papier-clair); }
.maquette__site .t__barre { background: var(--beton); }
.maquette__site .m-btn { background: var(--jaune); color: var(--encre); border: 2px solid var(--encre); }
.maquette__site .b--entete { background: var(--papier-clair); border-bottom: 2px solid var(--encre); }
.maquette__site .b--accroche { background: var(--bleu); color: var(--blanc); }
.maquette__site .b--accroche .m-btn { border-color: var(--blanc); }
.maquette__site .b--c2 { background: var(--jaune); }
.maquette__site .b--pied { background: var(--encre); color: var(--papier); }
.maquette__site .b--ph { background: var(--beton); }
.maquette__site .b--panier { background: var(--encre); color: var(--papier-clair); }
.maquette__site .b--nav { background: var(--bleu); color: var(--blanc); }
.maquette__site .b--k1 { background: var(--jaune); }
.maquette__site .m-cal i { background: var(--beton); }
.maquette__site .m-cal i.pris b { background: var(--bleu); }
.maquette__site .m-cal i.pris-j b { background: var(--jaune); }
.maquette__site .m-barre { background: var(--bleu); }
.m-barre { display: block; height: .7cqi; transform-origin: left; }

/* Petites illustrations « photos » de la maquette */
.ph svg { width: 100%; height: 100%; }

/* Maquette en format téléphone quand le chantier est étroit */
/* Maquette téléphone très basse : on retire les lignes secondaires plutôt que de rogner */
@container maquette (max-width: 460px) and (orientation: portrait) and (max-height: 400px) {
  .m-sur, .m--site .b--c2 .m-texte { display: none; }
}
@container maquette (max-width: 460px) and (orientation: portrait) {
  .m { gap: 2.4cqi; padding: 2.4cqi; }
  .b { font-size: 3.4cqi; padding: 2.6cqi 3.2cqi; gap: 1.6cqi; }
  .m-logo { font-size: 5.2cqi; max-width: 70%; }
  .m-nav { display: none; }
  .m-btn { height: 10cqi; padding: 0 4cqi; font-size: 3.4cqi; }
  .m-btn--petit { height: 8cqi; }
  .m-sur { font-size: 2.6cqi; }
  .m-titre { font-size: 10.5cqi; }
  .m-texte { font-size: 3.5cqi; }
  .m-h { font-size: 4.4cqi; }
  .m-lignes { font-size: 3.1cqi; gap: 1.2cqi; }
  .m-prix { font-size: 4.2cqi; }
  .m-kpi { font-size: 8cqi; }
  .maquette__terrain { grid-template-columns: repeat(4, 1fr); inset: 2.4cqi; gap: 2.4cqi; }
  .maquette__terrain i:nth-child(n+5) { display: none; }
  .m-logo--app { font-size: 3.4cqi; }
  .m-pied-lien { display: none; }
  .m--site { grid-template-columns: 1fr 1fr; grid-template-rows: auto 20% 1fr auto auto; grid-template-areas: "ent ent" "ph ph" "acc acc" "c1 c2" "pied pied"; }
  .m--site .b--c3 { display: none; }
  .m--boutique { grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr 1fr auto; grid-template-areas: "ent ent" "p1 p2" "p3 p4" "pan pan"; }
  .m--boutique .b--p5, .m--boutique .b--p6, .m--boutique .b--pied { display: none; }
  .m--boutique .b--panier { flex-direction: row; align-items: center; justify-content: space-between; }
  .m--boutique .b--panier .m-lignes, .m-recherche { display: none; }
  .m--application { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto 1fr auto auto; grid-template-areas: "ent ent" "k1 k2" "cal cal" "liste liste" "nav nav"; }
  .m--application .b--nav { padding-top: 0; justify-content: space-around; }
  .m--application .b--k3 { display: none; }
  .m--application .b--nav { flex-direction: row; justify-content: space-around; align-items: center; }
  .m--application .b--nav .m-logo { display: none; }
  .m--application .m-barre-nav { display: flex; width: 100%; justify-content: space-around; margin: 0; }
  .m-titre--app { display: none; }
  .m-logo--tel { display: block; }
  .b--entete { padding-block: 1cqi; }
  .m-btn--petit { height: 7cqi; }
}

/* Cotes mesurées en direct */
.cotes { position: absolute; inset: 0; pointer-events: none; }
.cote { position: absolute; opacity: 0; color: var(--blanc); }
.cote span { position: absolute; font: 500 10px/1 var(--f-mono); font-stretch: 80%; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; background: var(--bleu); padding: 2px 4px; }
.cote--h { height: 12px; border-inline: 1.5px solid currentColor; }
.cote--h::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px solid currentColor; }
.cote--h::after { content: ""; position: absolute; inset: 50% -1px auto; height: 0; border-inline: 6px solid transparent; }
.cote--h span { left: 50%; top: 50%; transform: translate(-50%, -50%); }
.cote--v { width: 12px; border-block: 1.5px solid currentColor; }
.cote--v::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 1.5px solid currentColor; }
.cote--v span { left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-90deg); }

.cote-note { position: absolute; opacity: 0; color: var(--jaune); font-size: 17px; line-height: 1.1; white-space: nowrap; }

.cartouche { grid-area: cartouche; display: grid; grid-template-columns: 1.6fr repeat(2, 1fr) .8fr 1.2fr .8fr; border: 2px solid var(--blanc); align-self: end; }
.cartouche > div { padding: .45rem .6rem; border-left: 1px solid rgba(255, 255, 255, .5); min-width: 0; }
.cartouche > div:first-child { border-left: 0; }
.cartouche dt { font: 500 .56rem/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; opacity: .75; }
.cartouche dd { font: 600 .82rem/1.25 var(--f-texte); overflow-wrap: anywhere; }
.cartouche__projet dd { font: 800 1.05rem/1.1 var(--f-titre); text-transform: uppercase; letter-spacing: .03em; color: var(--jaune); }

@media (max-width: 900px) {
  .plan__scene {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr) auto;
    grid-template-areas: "commandes" "chantier" "cartouche";
    gap: 10px;
    padding: calc(var(--nav-h) + 6px) var(--gouttiere) calc(12px + env(safe-area-inset-bottom));
    min-height: 520px;
  }
  .plan__commandes { gap: 10px; }
  .plan__champ label { margin: 0 0 .1rem; font-size: .62rem; }
  .plan__champ input { font-size: 1.2rem; padding-bottom: .2rem; }
  .plan__exemples { gap: 4px 6px; font-size: .74rem; }
  .plan__exemples .mono { width: auto; }
  .plan__exemples button { min-height: 28px; padding: .1rem .45rem; }
  .plan__onglets button { min-height: 38px; }
  .plan__etapes { display: flex; margin-top: 0; gap: 4px; }
  .plan__compteur, .plan__mat { display: none; }
  .plan__etapes li { flex: 1; display: block; padding: 0; border: 0; font-size: 0; height: 4px; background: rgba(255, 255, 255, .25); opacity: 1; }
  .plan__etapes li .mono, .plan__etapes li em { display: none; }
  .plan__etapes li[aria-current="step"], .plan__etapes li.fait { background: var(--jaune); }
  .maquette { left: 34px; right: 34px; top: 56px; bottom: 98px; }
  .plan__tampon { font-size: 1.05rem; }
  .cartouche { grid-template-columns: 1.3fr 1fr 1fr; }
  .cartouche dt { font-size: .5rem; }
  .cartouche > div:nth-child(3), .cartouche > div:nth-child(4), .cartouche > div:nth-child(6) { display: none; }
}
@media (max-width: 900px) and (min-width: 560px) {
  .maquette { left: 18%; right: 18%; }
}



/* Téléphone à l'horizontale et écrans très bas : commandes à gauche, chantier à droite */
@media (orientation: landscape) and (max-height: 520px) {
  .plan__scene {
    grid-template-columns: minmax(210px, 34%) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    grid-template-areas: "commandes chantier";
    gap: 0 18px; min-height: 0;
    padding: calc(var(--nav-h) + 6px) var(--gouttiere) 8px;
  }
  .cartouche, .plan__compteur, .plan__mat { display: none; }
  .plan__commandes { gap: 8px; justify-content: center; }
  .plan__champ { display: block; }
  .plan__champ label { margin-bottom: .1rem; font-size: .58rem; }
  .plan__champ input { font-size: 1.1rem; }
  .plan__exemples { gap: 4px; font-size: .7rem; }
  .plan__exemples .mono { width: 100%; }
  .plan__exemples button { min-height: 26px; padding: .05rem .4rem; }
  .plan__onglets button { min-height: 34px; font-size: .74rem; }
  .plan__etapes { display: flex; gap: 4px; margin-top: 4px; }
  .plan__etapes li { flex: 1; display: block; padding: 0; border: 0; font-size: 0; height: 4px; background: rgba(255, 255, 255, .25); opacity: 1; }
  .plan__etapes li .mono, .plan__etapes li em { display: none; }
  .plan__etapes li[aria-current="step"], .plan__etapes li.fait { background: var(--jaune); }
  .maquette { left: 32px; right: 124px; top: 40px; bottom: 30px; }
  .plan__tampon { font-size: 1rem; }

  .etapes__cadre { padding-top: calc(var(--nav-h) + 8px); padding-bottom: 10px; }
  .etapes .surtitre { display: none; }
  .etapes .titre-l { font-size: 1.6rem; }
  .metre { margin-top: 6px; }
  .metre__boitier { width: 36px; }
  .metre__ruban { height: 20px; }
  .etapes__piste { margin-top: 10px; }
  .phase { width: min(84vw, 760px); }
  .phase__num { font-size: 5rem; }
  .phase__texte h3 { font-size: 1.6rem; margin: .25rem 0 .4rem; }
  .phase__texte p:not(.mono):not(.hand) { font-size: .9rem; line-height: 1.4; }
  .phase__devise { margin-top: .5rem; font-size: 1.1rem; }
  .phase__dessin { display: none; }
}

/* Tampons encreurs */
.tampon {
  position: absolute; z-index: 5;
  padding: .4em .7em .35em;
  font: 900 1.7rem/.92 var(--f-titre); text-transform: uppercase; letter-spacing: .07em; text-align: center;
  color: var(--bleu);
  border: 4px solid currentColor; border-radius: 6px;
  outline: 2px solid currentColor; outline-offset: -10px;
  transform: rotate(-9deg);
  -webkit-mask-image: var(--usure); mask-image: var(--usure); -webkit-mask-size: 240px 120px; mask-size: 240px 120px;
  pointer-events: none;
}
.tampon--jaune { color: var(--jaune); }
.tampon--bleu { color: var(--bleu); }

/* 03 Offres */
.offres { position: relative; background: var(--grain), var(--beton); padding-bottom: clamp(70px, 9vw, 140px); overflow: clip; }
.offres__tete { padding-top: clamp(80px, 11vw, 160px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 0 4vw; align-items: end; }
.offres__tete .surtitre { grid-column: 1 / -1; }
.offres__table { position: relative; margin-top: clamp(40px, 6vw, 90px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 clamp(16px, 2.4vw, 36px); align-items: start; }
.doc { position: relative; display: flex; flex-direction: column; transition: rotate .6s var(--ressort), translate .6s var(--ressort); }
@media (hover: hover) { .doc:hover { rotate: 0deg !important; translate: 0 -6px; } }
.doc > .btn, .ticket__papier > .btn { margin-top: 22px; align-self: flex-start; }
.doc__tete { display: flex; justify-content: space-between; padding-bottom: .6rem; margin-bottom: 1.1rem; border-bottom: 2px solid currentColor; }
.doc__titre { font: 900 clamp(2.3rem, 1.6rem + 2.2vw, 3.6rem)/.88 var(--f-titre); text-transform: uppercase; }
.doc__sous { margin-top: .6rem; font-size: 1rem; max-width: 32ch; }
.doc__dessin { width: 100%; height: auto; margin: 1.2rem 0; }
.doc__total { display: flex; align-items: baseline; flex-wrap: wrap; gap: .3rem .8rem; margin-top: 1.2rem; padding-top: .8rem; border-top: 2px solid currentColor; }
.doc__total strong { font: 900 clamp(3rem, 2rem + 3vw, 4.8rem)/.85 var(--f-titre); letter-spacing: -.01em; }

.doc--devis { grid-column: 1 / span 5; margin-top: 30px; padding: clamp(20px, 2.6vw, 36px); background: repeating-linear-gradient(transparent 0 31px, rgba(24, 66, 143, .08) 31px 32px), var(--papier-clair); box-shadow: var(--ombre); rotate: -1.6deg; }
.doc--devis .doc__dessin { max-width: 320px; color: var(--encre); }
.doc__lignes li { display: flex; align-items: baseline; gap: .6rem; padding: .32rem 0; font-weight: 500; }
.doc__lignes i { flex: 1; border-bottom: 2px dotted rgba(16, 19, 28, .4); transform: translateY(-.25em); }
.doc__lignes .mono { color: var(--bleu); font-size: .62rem; }
.doc--devis .doc__total strong { background: linear-gradient(transparent 60%, var(--jaune) 60% 92%, transparent 92%); padding: 0 .1em; }
.scotch { position: absolute; top: -14px; width: 110px; height: 30px; background: rgba(248, 245, 238, .62); border-left: 1px dashed rgba(16, 19, 28, .18); border-right: 1px dashed rgba(16, 19, 28, .18); box-shadow: 0 1px 0 rgba(16, 19, 28, .08); }
.scotch--g { left: -18px; rotate: -32deg; }
.scotch--d { right: -18px; rotate: 28deg; }

.doc--ticket { grid-column: 6 / span 3; margin-top: -10px; filter: drop-shadow(8px 8px 0 rgba(16, 19, 28, .9)); rotate: 1.4deg; }
.ticket__papier {
  --z: 9px;
  display: flex; flex-direction: column;
  padding: 30px clamp(18px, 1.8vw, 26px) 36px;
  background: var(--grain), #FBFAF6;
  -webkit-mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / calc(2 * var(--z)) 51% repeat-x, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(2 * var(--z)) 51% repeat-x;
  mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / calc(2 * var(--z)) 51% repeat-x, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(2 * var(--z)) 51% repeat-x;
}
.doc--ticket .doc__dessin { max-width: 200px; margin: 0 auto 1rem; }
.ticket__entete { text-align: center; padding-bottom: .8rem; margin-bottom: .9rem; border-bottom: 1.5px dashed var(--encre); font-size: .66rem; }
.doc--ticket .doc__titre { font-size: clamp(2rem, 1.5rem + 1.3vw, 2.7rem); }
.ticket__ligne { margin-top: 1rem; font-size: .64rem; }
.ticket__articles { margin-top: .5rem; font-size: .66rem; }
.ticket__articles li { display: flex; justify-content: space-between; gap: .5rem; padding: .3rem 0; border-bottom: 1px dotted rgba(16, 19, 28, .35); text-transform: none; letter-spacing: .01em; }
.ticket__total { display: flex; flex-direction: column; margin-top: 1rem; padding-top: .6rem; border-top: 2px solid var(--encre); }
.ticket__total strong { font: 900 clamp(2.8rem, 2rem + 2vw, 4rem)/.9 var(--f-titre); }
.ticket__note { margin-top: .8rem; font-size: .58rem; line-height: 1.5; text-transform: none; letter-spacing: .02em; }
.ticket__code { height: 42px; margin-top: 1rem; background: repeating-linear-gradient(90deg, var(--encre) 0 2px, transparent 2px 4px, var(--encre) 4px 5px, transparent 5px 8px, var(--encre) 8px 11px, transparent 11px 12px, var(--encre) 12px 13px, transparent 13px 17px); }

.doc--bleu { grid-column: 9 / span 4; margin-top: 110px; padding: clamp(20px, 2.6vw, 36px); color: var(--blanc); background: var(--grille-blanche), var(--bleu); box-shadow: inset 0 0 0 8px var(--bleu), inset 0 0 0 9px rgba(255, 255, 255, .7), var(--ombre); rotate: -.8deg; }
.doc--bleu .doc__dessin { color: var(--blanc); }
.doc__puces { display: flex; flex-wrap: wrap; gap: .5rem; }
.doc__puces li { padding: .3rem .6rem; border: 1.5px solid var(--blanc); font-weight: 600; font-size: .92rem; }
.doc--bleu .doc__total strong { color: var(--jaune); }

.etiquette { position: relative; z-index: 3; grid-column: 4 / span 3; grid-row: 2; justify-self: center; margin-top: -64px; width: 240px; padding: 18px 18px 18px 40px; background: var(--grain), var(--jaune); clip-path: polygon(22px 0, 100% 0, 100% 100%, 22px 100%, 0 calc(100% - 22px), 0 22px); rotate: 7deg; transform-origin: 0 50%; transition: rotate .7s var(--ressort-vif); }
.etiquette:hover { rotate: 2deg; }
.etiquette__trou { position: absolute; left: 12px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--beton); box-shadow: inset 0 0 0 2px var(--encre); }
.etiquette__ficelle { position: absolute; right: 100%; top: 30%; width: 120px; color: var(--encre); display: none; }
.etiquette__titre { margin-top: .3rem; font: 800 1.35rem/1 var(--f-titre); text-transform: uppercase; }
.etiquette__prix { font: 900 2.6rem/1 var(--f-titre); margin-top: .3rem; }
.etiquette__note { font-size: .82rem; line-height: 1.3; margin-top: .2rem; }

.offres__mentions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: clamp(40px, 5vw, 70px); }
.mention-tampon { display: inline-block; padding: .55rem .9rem; border: 2.5px solid var(--bleu); color: var(--bleu); font: 800 clamp(1.1rem, .9rem + .7vw, 1.5rem)/1.1 var(--f-titre); text-transform: uppercase; letter-spacing: .04em; rotate: -1.2deg; -webkit-mask-image: var(--usure); mask-image: var(--usure); }

@media (max-width: 1080px) {
  .offres__tete { grid-template-columns: 1fr; }
  .offres__table { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 28px; }
  .doc--devis { grid-column: 1; margin-top: 0; }
  .doc--ticket { grid-column: 2; margin-top: 30px; }
  .doc--bleu { grid-column: 1 / -1; margin-top: 10px; max-width: 640px; justify-self: end; }
  .etiquette { grid-column: 1; grid-row: auto; justify-self: start; margin-top: -10px; }
  .offres__mentions { margin-top: 56px; }
}
@media (max-width: 640px) {
  .offres__table { grid-template-columns: 1fr; gap: 44px; }
  .doc--devis, .doc--ticket, .doc--bleu, .etiquette { grid-column: 1; }
  .doc--ticket { max-width: 360px; justify-self: center; width: 100%; margin-top: 0; }
  .doc--bleu { rotate: .8deg; }
  .etiquette { justify-self: end; margin-top: -8px; margin-right: 6px; }
}

/* 04 Entretien */
.entretien { background: var(--grain), var(--papier); padding-block: clamp(80px, 11vw, 160px); overflow: clip; }
.entretien__grille { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(32px, 5vw, 80px); align-items: end; }
.entretien__tete { align-self: start; position: sticky; top: calc(var(--nav-h) + 40px); }
.entretien .titre-xl { font-size: clamp(3rem, 1.2rem + 4.6vw, 6.2rem); }
.entretien__annot { margin-top: 2rem; color: var(--bleu); font-size: 1.35rem; rotate: -3deg; }
.immeuble { position: relative; border-inline: 3px solid var(--encre); }
.immeuble__toit { height: 64px; margin-inline: -3px; color: var(--encre); }
.immeuble__toit svg { width: 100%; height: 100%; overflow: visible; }
.etage { position: relative; display: grid; grid-template-columns: minmax(170px, 34%) 1fr; border-top: 3px solid var(--encre); background: var(--papier-clair); }
.etage__niveau { position: absolute; left: -3px; top: -3px; translate: -100% 0; padding: .35rem .5rem; background: var(--encre); color: var(--papier); font-size: .6rem; writing-mode: vertical-rl; rotate: 180deg; transform-origin: center; }
.etage__plaque { padding: clamp(16px, 2vw, 26px); border-right: 2px solid var(--encre); display: flex; flex-direction: column; gap: .4rem; }
.etage__plaque h3 { font: 900 clamp(2rem, 1.5rem + 1.5vw, 3rem)/.9 var(--f-titre); text-transform: uppercase; }
.etage__prix strong { font: 900 clamp(2.6rem, 2rem + 2vw, 4rem)/.9 var(--f-titre); }
.etage__prix span { font: 600 1rem var(--f-texte); margin-left: .2rem; }
.etage__contenu { padding: clamp(16px, 2vw, 26px); align-self: center; }
.etage__plus { margin-bottom: .6rem; }
.etage__contenu li { position: relative; padding: .28rem 0 .28rem 1.4rem; line-height: 1.4; }
.etage__contenu li::before { content: ""; position: absolute; left: 0; top: .72em; width: .55rem; height: .55rem; border: 2px solid currentColor; }
.etage__contenu small { display: block; font-size: .82rem; opacity: .85; }
.etage--croissance { background: var(--grille-blanche), var(--bleu); color: var(--blanc); }
.etage--croissance .etage__plaque { border-color: rgba(255, 255, 255, .7); }
.etage--serenite { background: var(--grain), var(--jaune); }
.etage--serenite .etage__plaque { padding-block: clamp(26px, 3vw, 40px); }
.etage--serenite .etage__contenu li::before { background: var(--encre); }
.etage__badge { align-self: flex-start; margin-top: .3rem; padding: .3rem .5rem; background: var(--encre); color: var(--jaune); }
.immeuble__fondations { margin-inline: -26px; padding: 14px 26px; border: 3px solid var(--encre); background: repeating-linear-gradient(45deg, transparent 0 7px, rgba(16, 19, 28, .26) 7px 8px), var(--beton); }
.immeuble__fondations .mono { background: var(--papier-clair); display: inline-block; padding: .3rem .5rem; border: 1.5px solid var(--encre); }

@media (max-width: 960px) {
  .entretien__grille { grid-template-columns: 1fr; }
  .entretien__tete { position: static; }
  .entretien__annot { display: none; }
  .immeuble { margin-left: 26px; }
}
@media (max-width: 560px) {
  .etage { grid-template-columns: 1fr; }
  .etage__plaque { border-right: 0; border-bottom: 2px dashed currentColor; flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: space-between; }
  .etage__badge { margin-top: 0; }
  .immeuble__fondations { margin-inline: -16px; padding-inline: 16px; }
}

/* 05 Étapes */
.etapes { position: relative; color: var(--blanc); background: var(--grille-blanche), var(--grain-clair), var(--bleu-nuit); }
.etapes__cadre { display: flex; flex-direction: column; min-height: 100svh; padding: calc(var(--nav-h) + clamp(20px, 4vh, 48px)) 0 clamp(24px, 4vh, 48px); overflow: hidden; }
.etapes .surtitre span { background: var(--jaune); color: var(--encre); }
.metre { position: relative; display: flex; align-items: center; margin-top: clamp(16px, 3vh, 36px); padding-left: var(--gouttiere); }
.metre__boitier { position: relative; z-index: 2; width: clamp(56px, 7vw, 96px); flex: none; }
.metre__ruban { position: relative; flex: 1; height: clamp(28px, 3.4vw, 38px); margin-left: -3px; overflow: hidden; }
.metre__graduations {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, var(--encre) 0 1.5px, transparent 1.5px 100px) 0 0 / 100% 70% no-repeat, repeating-linear-gradient(90deg, var(--encre) 0 1px, transparent 1px 10px) 0 0 / 100% 35% no-repeat, repeating-linear-gradient(90deg, var(--encre) 0 1px, transparent 1px 50px) 0 0 / 100% 52% no-repeat, var(--jaune);
  border-block: 2px solid var(--encre);
  transform: translateX(var(--sortie, 0%));
}
.metre__graduations span { position: absolute; bottom: 1px; transform: translateX(3px); font: 600 10px/1 var(--f-mono); color: var(--encre); }
.metre__graduations::after { content: ""; position: absolute; right: 0; top: -6px; bottom: -6px; width: 8px; background: var(--encre); }
.etapes__piste { display: flex; flex: 1; align-items: center; margin-top: clamp(20px, 4vh, 44px); padding-inline: var(--gouttiere); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.est-pilote .etapes__piste { overflow: visible; width: max-content; scroll-snap-type: none; }
.phase { position: relative; flex: none; width: min(84vw, 1020px); display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 0 clamp(20px, 3vw, 48px); padding: 0 clamp(24px, 4vw, 72px) 0 0; scroll-snap-align: start; }
.phase + .phase { padding-left: clamp(24px, 3vw, 48px); border-left: 1.5px dashed rgba(255, 255, 255, .35); }
.phase__num { grid-row: 1 / 3; font: 900 clamp(7rem, 4rem + 11vw, 17rem)/.78 var(--f-titre); color: transparent; -webkit-text-stroke: 2px var(--jaune); letter-spacing: -.02em; }
.phase__texte h3 { margin: .7rem 0 1rem; font: 900 clamp(2.4rem, 1.6rem + 3vw, 4.6rem)/.88 var(--f-titre); text-transform: uppercase; }
.phase__texte p:not(.mono):not(.hand) { max-width: 40ch; font-size: clamp(1rem, .95rem + .3vw, 1.2rem); line-height: 1.5; }
.phase__texte .mono { color: var(--jaune); }
.phase__devise { margin-top: 1.2rem; color: var(--jaune); font-size: clamp(1.25rem, 1rem + .8vw, 1.7rem); rotate: -2deg; }
.phase__dessin { grid-column: 2; align-self: end; width: min(100%, 300px); margin-top: 1.4rem; color: var(--blanc); opacity: .9; }
@media (max-width: 760px) {
  .phase { width: 86vw; grid-template-columns: 1fr; grid-template-rows: auto; }
  .phase__num { grid-row: auto; font-size: 6.5rem; }
  .phase__dessin { grid-column: 1; width: 200px; }
  .phase + .phase { padding-left: 22px; }
}

/* 06 Chantiers livrés */
.chantiers { background: var(--grain), var(--beton); padding-block: clamp(80px, 11vw, 160px); overflow: clip; }
.chantiers__tete { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0 4vw; align-items: end; }
.chantiers__tete .surtitre { grid-column: 1 / -1; }
.chantiers__mur { margin-top: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); align-items: start; }
.rea { position: relative; display: flex; flex-direction: column; background: var(--papier-clair); border: 2px solid var(--encre); box-shadow: var(--ombre); }
.rea__visuel { position: relative; overflow: hidden; aspect-ratio: 4 / 3; display: grid; place-items: center; background: var(--grille-blanche), var(--bleu); border-bottom: 2px solid var(--encre); }
.rea__visuel img { width: 100%; height: 100%; object-fit: cover; }
.rea__fiche { padding: clamp(18px, 2vw, 28px); }
.rea__fiche h3 { margin: .5rem 0 .8rem; font: 900 clamp(1.8rem, 1.3rem + 1.4vw, 2.7rem)/.92 var(--f-titre); text-transform: uppercase; }
.rea__fiche dl { display: grid; gap: .7rem; }
.rea__fiche dt { font: 600 .66rem/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--bleu); }
.rea__fiche dd { margin-top: .15rem; }
.rea__fiche { position: relative; }
.rea__fiche > .mono:first-of-type { min-height: 62px; max-width: calc(100% - 150px); }
.rea__tampon { top: 12px; right: 14px; font-size: 1.15rem; }
.fictif { position: absolute; z-index: 2; left: 12px; top: 12px; padding: .3rem .5rem; background: var(--jaune); color: var(--encre); font: 600 .62rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; }
.rea--brasserie { grid-column: 1 / span 7; }
.rea--brasserie .rea__visuel { aspect-ratio: 16 / 11; }
.rea--finances { grid-column: 8 / span 5; margin-top: 70px; rotate: .8deg; }
.rea--site { grid-column: 8 / span 5; rotate: -.6deg; }
.rea--vous { grid-column: 1 / span 7; margin-top: -20px; min-height: 340px; display: grid; place-items: center; padding: 30px; border: 0; box-shadow: none; background: transparent; color: var(--encre); text-decoration: none; }
.avis { grid-column: 8 / span 5; padding: clamp(18px, 2vw, 28px); border: 2px dashed var(--encre); background: rgba(248, 245, 238, .5); }

.ecran-tel { height: 88%; aspect-ratio: 9 / 16; padding: 10px; background: var(--encre); border-radius: 26px; display: flex; flex-direction: column; box-shadow: 10px 10px 0 rgba(16, 19, 28, .35); rotate: -4deg; translate: -12% 2%; }
.ecran-tel > * { background: #FBF9F4; }
.ecran-tel__barre { display: flex; justify-content: space-between; align-items: center; padding: 18px 12px 10px; border-radius: 18px 18px 0 0; font: 900 clamp(.9rem, 1.6vw, 1.3rem)/1 var(--f-titre); text-transform: uppercase; }
.ecran-tel__panier { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--jaune); font: 700 .7rem var(--f-texte); border: 1.5px solid var(--encre); }
.ecran-tel__plats { flex: 1; padding: 4px 10px; display: grid; align-content: start; gap: 8px; }
.ecran-tel__plats li { display: grid; grid-template-columns: 34px 1fr auto; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--trait); font-size: clamp(.58rem, 1vw, .76rem); font-weight: 600; line-height: 1.2; }
.ecran-tel__plats small { display: block; font-weight: 400; opacity: .7; }
.ecran-tel__plats b { font-size: clamp(.6rem, 1vw, .76rem); }
.vignette { width: 34px; height: 34px; border-radius: 6px; border: 1.5px solid var(--encre); }
.vignette--a { background: radial-gradient(circle at 50% 70%, var(--encre) 0 18%, transparent 19%), radial-gradient(ellipse at 50% 40%, var(--jaune) 0 45%, transparent 46%), var(--beton); }
.vignette--b { background: repeating-linear-gradient(45deg, var(--bleu) 0 3px, transparent 3px 7px), var(--papier-clair); }
.vignette--c { background: linear-gradient(var(--jaune) 0 0) 50% 50% / 60% 30% no-repeat, var(--beton); }
.vignette--d { background: radial-gradient(circle at 50% 60%, var(--bleu) 0 30%, transparent 31%), var(--papier-clair); }
.ecran-tel__payer { padding: 10px; border-radius: 0 0 18px 18px; display: grid; gap: 6px; font-size: clamp(.55rem, .9vw, .7rem); }
.ecran-tel__payer b { display: block; padding: 9px; text-align: center; background: var(--jaune); border: 2px solid var(--encre); font-size: clamp(.65rem, 1.1vw, .85rem); }
.ecran-ticket { position: absolute; right: 6%; bottom: 9%; width: max(30%, 150px); padding: 14px 12px 18px; background: #FBFAF6; color: var(--encre); rotate: 5deg; font-size: clamp(.5rem, .9vw, .66rem); line-height: 1.8; box-shadow: 6px 6px 0 rgba(16, 19, 28, .35); }
.ecran-ticket p { white-space: nowrap; }
.ecran-ticket p:first-child { font-weight: 700; border-bottom: 1px dashed var(--encre); margin-bottom: 4px; }

.ecran-app { width: 84%; aspect-ratio: 16 / 10.5; display: grid; grid-template-columns: 26% 1fr; background: #FBF9F4; border: 2px solid var(--encre); box-shadow: 8px 8px 0 rgba(16, 19, 28, .35); rotate: -2deg; font-size: clamp(.55rem, 1vw, .78rem); }
.ecran-app__cote { display: flex; flex-direction: column; gap: 9px; padding: 12px 10px; background: var(--encre); color: var(--papier); }
.ecran-app__cote b { font: 800 clamp(.8rem, 1.3vw, 1.05rem)/1 var(--f-titre); text-transform: uppercase; margin-bottom: 6px; }
.ecran-app__cote i { height: 6px; background: rgba(237, 232, 220, .35); }
.ecran-app__cote i:nth-of-type(2) { background: var(--jaune); width: 80%; }
.ecran-app__corps { padding: 12px; display: grid; grid-template-rows: auto 1fr auto; gap: 8px; min-width: 0; }
.ecran-app__solde { font: 900 clamp(1.1rem, 2.2vw, 1.9rem)/1 var(--f-titre); }
.ecran-app__solde small { display: block; font: 500 .6rem var(--f-mono); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 3px; }
.ecran-app__barres { display: flex; align-items: flex-end; gap: 6%; padding: 4px 0; border-bottom: 1.5px solid var(--encre); min-height: 40px; }
.ecran-app__barres i { flex: 1; height: calc(var(--h) * 100%); background: var(--bleu); }
.ecran-app__barres i:last-child { background: var(--jaune); outline: 1.5px solid var(--encre); }
.ecran-app__lignes li { display: flex; justify-content: space-between; padding: 2px 0; border-bottom: 1px solid var(--trait); }

.mini-panneau { width: 66%; padding: 0 14px 16px; background: var(--papier-clair); border: 3px solid var(--encre); box-shadow: inset 0 0 0 4px var(--papier-clair), inset 0 0 0 5px var(--encre), 8px 8px 0 rgba(16, 19, 28, .35); rotate: -2deg; }
.mini-panneau__bandeau { margin: 0 -14px 10px; padding: 6px 12px; background: var(--jaune); color: var(--encre); font: 800 clamp(.7rem, 1.2vw, .95rem)/1 var(--f-titre); text-transform: uppercase; letter-spacing: .08em; border-bottom: 3px solid var(--encre); }
.mini-panneau p { font: 900 clamp(1.1rem, 2.4vw, 2rem)/.9 var(--f-titre); text-transform: uppercase; margin-bottom: 10px; }
.mini-panneau i { display: block; height: 6px; margin: 6px 0; background: var(--beton); }
.mini-panneau i:nth-of-type(2) { width: 70%; }
.mini-panneau__btn { display: block; width: 46%; height: 18px; margin-top: 12px; background: var(--jaune); border: 2px solid var(--encre); }

.echafaudage { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--encre); opacity: .8; }
.rea__bache {
  position: relative; z-index: 1; width: min(88%, 460px); display: grid; gap: .6rem; padding: clamp(20px, 3vw, 34px);
  background: radial-gradient(circle, rgba(16, 19, 28, .2) 1px, transparent 1.5px) 0 0 / 6px 6px, var(--jaune);
  border: 2px solid var(--encre); box-shadow: var(--ombre);
  transition: transform .5s var(--ressort), box-shadow .5s var(--ressort);
}
.rea__bache strong { font: 900 clamp(2.4rem, 1.6rem + 3vw, 4.4rem)/.88 var(--f-titre); text-transform: uppercase; }
.rea__lien { display: inline-flex; align-items: center; gap: .5rem; margin-top: .4rem; font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; }
.rea__lien svg { width: 1.1em; height: 1.1em; }
.rea--vous:hover .rea__bache { transform: translate(-3px, -3px) rotate(-1deg); box-shadow: 11px 11px 0 rgba(16, 19, 28, .9); }
.rea--vous:active .rea__bache { transform: translate(3px, 3px); box-shadow: 2px 2px 0 rgba(16, 19, 28, .9); transition-duration: .06s; }
.avis h3 { margin: .4rem 0 .6rem; font: 900 2.2rem/.9 var(--f-titre); text-transform: uppercase; }
.avis__lignes { display: grid; gap: 16px; margin-top: 18px; }
.avis__lignes i { height: 1px; border-bottom: 1.5px dashed rgba(16, 19, 28, .35); }

@media (max-width: 960px) {
  .chantiers__tete { grid-template-columns: 1fr; }
  .chantiers__mur { grid-template-columns: 1fr 1fr; }
  .rea--brasserie, .rea--vous { grid-column: 1 / -1; }
  .rea--finances, .rea--site, .avis { grid-column: auto; margin-top: 0; }
  .avis { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .chantiers__mur { grid-template-columns: 1fr; }
  .rea--finances, .rea--site { rotate: 0deg; }
  .rea--brasserie .rea__visuel { aspect-ratio: 1; place-items: center start; }
  .ecran-tel { height: 84%; margin-left: 4%; translate: 0 0; }
  .ecran-ticket { width: 38%; right: 3%; bottom: 12%; }
  .ecran-tel__plats li:nth-child(4), .ecran-tel__plats small { display: none; }
  .ecran-tel__plats li { grid-template-columns: 26px 1fr auto; gap: 6px; padding: 5px 0; font-size: .6rem; }
  .ecran-tel__plats b { font-size: .6rem; }
  .vignette { width: 26px; height: 26px; }
  .rea--vous { min-height: 300px; padding: 20px 6px; }
}

/* 07 Le chef de chantier */
.apropos { background: var(--grain), var(--papier); padding-block: clamp(80px, 11vw, 160px); overflow: clip; }
.apropos__grille { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px clamp(32px, 5vw, 80px); align-items: center; }
.apropos__texte > p:not(.surtitre) { max-width: 54ch; margin-top: 1.1rem; font-size: clamp(1.02rem, .98rem + .25vw, 1.18rem); }
.apropos__intro { margin-top: clamp(1.4rem, 3vw, 2.4rem) !important; font-size: clamp(1.2rem, 1rem + .7vw, 1.6rem) !important; line-height: 1.38; font-weight: 500; }
.apropos__texte > p.apropos__signature { font-size: 3.2rem; color: var(--bleu); rotate: -6deg; margin-top: 1.2rem; transform-origin: left; }
.badge-zone { position: relative; height: 620px; display: flex; justify-content: center; }
.badge__cordon { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.badge__cordon path { fill: none; stroke: var(--bleu); stroke-width: 10; stroke-linecap: round; }
.badge {
  position: absolute; top: 150px; width: min(300px, 82vw);
  padding: 0 0 16px;
  background: var(--papier-clair); border: 2px solid var(--encre); border-radius: 14px;
  box-shadow: 10px 10px 0 rgba(16, 19, 28, .85);
  touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none;
  transform-origin: 50% -40px;
}
.badge:active { cursor: grabbing; }
.badge__pince { position: absolute; left: 50%; top: -30px; width: 30px; height: 40px; margin-left: -15px; border: 3px solid var(--encre); border-radius: 8px 8px 4px 4px; background: linear-gradient(90deg, #a39d91, #e6e1d6, #8e887d); }
.badge__tete { display: flex; justify-content: space-between; padding: 12px 14px; background: var(--bleu); color: var(--blanc); border-radius: 12px 12px 0 0; }
.badge__tete .mono { font-size: .6rem; }
.badge__photo { position: relative; margin: 14px 14px 12px; aspect-ratio: 4 / 4.2; background: var(--grille-blanche), var(--bleu); border: 2px solid var(--encre); display: grid; place-items: center; overflow: hidden; }
.badge__photo img { width: 100%; height: 100%; object-fit: cover; }
.badge__casque { width: 82%; padding: 0; background: none; border: 0; color: var(--blanc); cursor: pointer; transition: transform .6s var(--ressort-vif); }
.badge__casque:active { transform: scale(.94); }
.badge__casque svg { width: 100%; height: auto; }
.badge__nom { padding: 0 14px; font: 900 2rem/.95 var(--f-titre); text-transform: uppercase; }
.badge__role { padding: 2px 14px 0; font-weight: 600; font-size: .92rem; }
.badge__infos { margin: 10px 14px 0; padding-top: 8px; border-top: 1.5px solid var(--encre); display: grid; gap: 6px; font-size: .6rem; }
.badge__infos dt { color: var(--bleu); }
.badge__infos dd { text-transform: none; letter-spacing: .02em; font-size: .64rem; }
.badge__code { height: 26px; margin: 12px 14px 0; background: repeating-linear-gradient(90deg, var(--encre) 0 3px, transparent 3px 5px, var(--encre) 5px 6px, transparent 6px 9px, var(--encre) 9px 10px, transparent 10px 14px); }
.badge__aide { position: absolute; right: 2%; top: 40px; color: var(--bleu); font-size: 1.3rem; rotate: 6deg; }
@media (max-width: 960px) {
  .apropos__grille { grid-template-columns: 1fr; }
  .badge-zone { height: 640px; }
  .badge__aide { right: 6%; top: 60px; }
}

/* 08 FAQ */
.faq { background: var(--grain), var(--papier-clair); padding-block: clamp(80px, 10vw, 150px); border-top: 2px solid var(--encre); }
.faq__grille { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px clamp(32px, 5vw, 80px); align-items: start; }
.faq__tete { position: sticky; top: calc(var(--nav-h) + 40px); }
.faq__tete .chapo a { font-weight: 700; text-decoration-color: var(--jaune); text-decoration-thickness: 3px; }
.faq__liste { border-top: 2px solid var(--encre); counter-reset: q; }
.faq details { border-bottom: 1.5px solid var(--encre); counter-increment: q; }
.faq summary { position: relative; display: grid; grid-template-columns: 3.4rem 1fr 2rem; align-items: center; gap: .6rem; padding: 1.15rem 0; cursor: pointer; list-style: none; font: 700 clamp(1.1rem, 1rem + .45vw, 1.4rem)/1.25 var(--f-texte); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q." counter(q, decimal-leading-zero); font: 500 .66rem/1 var(--f-mono); letter-spacing: .05em; color: var(--bleu); }
.faq summary::after { content: ""; justify-self: end; width: 22px; height: 22px; background: linear-gradient(var(--encre) 0 0) 50% / 100% 2.5px no-repeat, linear-gradient(var(--encre) 0 0) 50% / 2.5px 100% no-repeat; transition: rotate .45s var(--ressort); }
.faq details[open] summary::after { rotate: 135deg; }
.faq summary:hover { color: var(--bleu); }
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size .45s var(--ressort-doux), content-visibility .45s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq details > div { padding: 0 2.6rem 1.4rem 4rem; max-width: 64ch; }
@media (max-width: 960px) {
  .faq__grille { grid-template-columns: 1fr; }
  .faq__tete { position: static; }
}
@media (max-width: 560px) {
  .faq summary { grid-template-columns: 1fr 1.6rem; }
  .faq summary::before { grid-column: 1 / -1; }
  .faq details > div { padding: 0 0 1.2rem; }
}

/* 09 Devis en 3 questions */
.devis { background: var(--grain), var(--jaune); padding-block: clamp(80px, 10vw, 150px); border-top: 2px solid var(--encre); }
.devis .surtitre span { background: var(--encre); color: var(--jaune); }
.devis__grille { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "tete tete" "bon recap"; gap: clamp(28px, 4vw, 56px) clamp(24px, 4vw, 60px); align-items: start; }
.devis__tete { grid-area: tete; }
.bon { grid-area: bon; padding: clamp(20px, 3vw, 40px); background: repeating-linear-gradient(transparent 0 35px, rgba(24, 66, 143, .08) 35px 36px), var(--papier-clair); border: 2px solid var(--encre); box-shadow: var(--ombre); }
.bon__q { margin: 0; padding: 0; border: 0; min-width: 0; }
.bon__q + .bon__q { margin-top: clamp(30px, 3.4vw, 46px); }
.bon__q legend { display: flex; align-items: center; gap: .8rem; width: 100%; padding: 0 0 .7rem; margin-bottom: 1rem; border-bottom: 2px dashed rgba(16, 19, 28, .28); font: 900 clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem)/1 var(--f-titre); text-transform: uppercase; }
.bon__num { display: grid; place-items: center; flex: none; width: 1.5em; height: 1.5em; border: 2.5px solid var(--encre); border-radius: 50% 46% 52% 48%; font-size: .8em; }
.bon__choix { display: grid; gap: 10px; }
.bon__choix--besoin { grid-template-columns: repeat(3, 1fr); }
.bon__choix--suivi { grid-template-columns: repeat(4, 1fr); }
.bon__choix--delai { grid-template-columns: repeat(3, 1fr); }
.bon label { position: relative; display: block; cursor: pointer; }
.bon input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bon label > span { display: flex; flex-direction: column; justify-content: center; gap: .2rem; height: 100%; min-height: 64px; padding: .7rem .8rem .7rem 2.4rem; border: 2px solid var(--encre); background: var(--papier-clair); transition: background-color .15s, color .15s, transform .3s var(--ressort); }
.bon label > span::before { content: ""; position: absolute; left: .75rem; top: 50%; width: 1.05rem; height: 1.05rem; margin-top: -.525rem; border: 2px solid currentColor; background: var(--papier-clair); }
.bon input[type="radio"] + span::before { border-radius: 50%; }
.bon b { font-weight: 700; line-height: 1.2; }
.bon small { font: 500 .66rem/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .03em; }
.bon small i { font-style: normal; }
.bon input:checked + span { background: var(--encre); color: var(--papier-clair); }
.bon input:checked + span::before { background: var(--jaune); border-color: var(--jaune); box-shadow: inset 0 0 0 3px var(--encre); }
.bon input:focus-visible + span { outline: 3px solid var(--bleu); outline-offset: 3px; }
.bon label:active > span { transform: scale(.98); }
.bon input:disabled + span { opacity: .4; cursor: not-allowed; }
.bon__case > span { max-width: 420px; }
.bon__info { margin-top: .5rem; font-size: .88rem; color: var(--bleu); }
.bon__sous { margin: 1.2rem 0 .6rem; }

.recap { grid-area: recap; position: sticky; top: calc(var(--nav-h) + 24px); filter: drop-shadow(8px 8px 0 rgba(16, 19, 28, .9)); }
.recap__papier {
  --z: 10px;
  position: relative; padding: 24px clamp(20px, 2.4vw, 30px) 40px;
  background: var(--grain), #FBFAF6;
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--z)) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(2 * var(--z)) var(--z) repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--z)) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(2 * var(--z)) var(--z) repeat-x;
}
.recap__tete { display: flex; justify-content: space-between; padding-bottom: .7rem; border-bottom: 1.5px dashed var(--encre); }
.recap__lignes { padding: .6rem 0; min-height: 150px; font-size: .68rem; }
.recap__lignes li { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px dotted rgba(16, 19, 28, .35); text-transform: none; letter-spacing: .01em; }
.recap__lignes li span:last-child { text-align: right; white-space: nowrap; }
.recap__total { display: grid; gap: .2rem; padding-top: .8rem; border-top: 2px solid var(--encre); }
.recap__total strong { font: 900 clamp(3.4rem, 2.6rem + 2.4vw, 5rem)/.88 var(--f-titre); letter-spacing: -.01em; }
.recap__mensuel { font: 800 1.5rem/1 var(--f-titre); color: var(--bleu); text-transform: uppercase; }
.recap__note { margin: 1rem 0 1.2rem; font-size: .9rem; line-height: 1.4; }
.recap__tampon { right: 10%; top: 34%; font-size: 3rem; opacity: 0; }
@media (max-width: 960px) {
  .devis__grille { grid-template-columns: 1fr; grid-template-areas: "tete" "bon" "recap"; }
  .recap { position: static; }
  .bon__choix--suivi { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .bon__choix--besoin, .bon__choix--delai { grid-template-columns: 1fr; }
  .bon label > span { min-height: 54px; }
}

/* 10 Contact */
.contact { background: var(--grain), var(--papier); padding-block: clamp(80px, 10vw, 150px); }
.contact__grille { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(32px, 5vw, 80px); align-items: start; }
.contact__directs { margin-top: 2.2rem; display: grid; gap: 1.2rem; }
.contact__directs li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .2rem 1rem; padding-top: .8rem; border-top: 2px solid var(--encre); }
.contact__directs .mono { grid-column: 1 / -1; color: var(--bleu); }
.contact__valeur { font: 800 clamp(1.4rem, 1rem + 1.4vw, 2.2rem)/1.1 var(--f-titre); text-decoration: none; overflow-wrap: anywhere; }
.contact__valeur:hover { text-decoration: underline; text-decoration-color: var(--jaune); text-decoration-thickness: 4px; }
.btn-copier { min-height: 40px; padding: 0 .9rem; background: var(--jaune); border: 2px solid var(--encre); font: 600 .72rem var(--f-mono); text-transform: uppercase; letter-spacing: .05em; cursor: pointer; transition: transform .3s var(--ressort); }
.btn-copier:active { transform: scale(.95); }
.formulaire { position: relative; padding: clamp(20px, 3vw, 40px); background: var(--papier-clair); border: 2px solid var(--encre); box-shadow: var(--ombre); }
.formulaire__tete { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .7rem; margin-bottom: 1.2rem; border-bottom: 2px solid var(--encre); }
.formulaire__demo { margin-bottom: 1.2rem; padding: .7rem .9rem; background: repeating-linear-gradient(-45deg, rgba(246, 194, 0, .45) 0 10px, rgba(246, 194, 0, .2) 10px 20px); border: 2px solid var(--encre); font-size: .92rem; }
.formulaire__demo b { display: inline-block; margin-right: .5rem; padding: .1rem .4rem; background: var(--encre); color: var(--jaune); font: 600 .66rem var(--f-mono); text-transform: uppercase; letter-spacing: .06em; }
.formulaire__ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.champ { margin-bottom: 1.1rem; }
.champ label { display: block; margin-bottom: .2rem; font: 600 .66rem/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .05em; }
.champ label small { text-transform: none; letter-spacing: 0; font-weight: 400; }
.champ input, .champ select, .champ textarea {
  width: 100%; padding: .55rem .1rem; border: 0; border-bottom: 2px solid var(--encre); border-radius: 0;
  background: transparent; font: 500 1.05rem/1.4 var(--f-texte); color: var(--encre);
  transition: border-color .2s, background-color .2s;
}
.champ textarea { resize: vertical; min-height: 154px; border: 2px solid var(--encre); padding: 2px .7rem; line-height: 30px; background: repeating-linear-gradient(transparent 0 29px, rgba(24, 66, 143, .14) 29px 30px) 0 2px; background-attachment: local; }
.champ select { appearance: none; -webkit-appearance: none; padding-right: 2rem; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9'><path d='M1 1l6 6 6-6' fill='none' stroke='%2310131C' stroke-width='2'/></svg>") right .3rem center no-repeat; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--bleu); background-color: rgba(24, 66, 143, .05); }
.champ input::placeholder, .champ textarea::placeholder { color: #6E717A; }
.champ [aria-invalid="true"] { border-color: #A3361F; }
.champ--piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.champ-case { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; margin: .4rem 0 1.2rem; font-size: .9rem; line-height: 1.45; cursor: pointer; }
.champ-case input { width: 22px; height: 22px; margin: 0; accent-color: var(--bleu); }
.formulaire__turnstile:empty { display: none; }
.formulaire__turnstile { margin-bottom: 1rem; }
.formulaire__erreur { min-height: 1.4em; margin-bottom: .6rem; color: #A3361F; font-weight: 600; font-size: .92rem; }
.formulaire [type="submit"][disabled] { opacity: .6; cursor: progress; }
.formulaire__resultat { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; gap: 1rem; padding: clamp(20px, 3vw, 40px); background: var(--grain), var(--papier-clair); overflow: auto; }
.formulaire__resultat[hidden] { display: none; }
.formulaire.a-resultat > :not(.formulaire__resultat):not(.formulaire__tete) { display: none; }
.formulaire.a-resultat .formulaire__resultat { position: relative; inset: auto; padding: 0; background: none; overflow: visible; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "titre tampon" "demo demo" "nouveau nouveau"; align-items: center; gap: 1rem 1.6rem; }
.formulaire.a-resultat .formulaire__tampon { grid-area: tampon; position: relative; right: auto; top: auto; margin: 6px 10px 6px 0; font-size: 2rem; }
.formulaire.a-resultat .formulaire__ok { grid-area: titre; padding: 0; }
.formulaire.a-resultat [data-resultat-demo] { grid-area: demo; }
.formulaire.a-resultat .formulaire__nouveau { grid-area: nouveau; justify-self: start; }
@media (max-width: 560px) {
  .formulaire.a-resultat .formulaire__resultat { grid-template-columns: 1fr; grid-template-areas: "tampon" "titre" "demo" "nouveau"; }
  .formulaire.a-resultat .formulaire__tampon { justify-self: end; font-size: 1.6rem; }
}
.formulaire.a-resultat .formulaire__nouveau { margin-top: .4rem; }
.formulaire__ok { max-width: 30ch; padding-right: 150px; font: 900 clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem)/1 var(--f-titre); text-transform: uppercase; }
.formulaire__tampon { right: 22px; top: 22px; font-size: 2.4rem; }
.formulaire__apercu { margin: 0; padding: 1rem; max-height: 300px; overflow: auto; background: #FBFAF6; border: 2px dashed var(--encre); font: 500 .76rem/1.6 var(--f-mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.formulaire__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1rem; }
.formulaire__nouveau { align-self: flex-start; margin-top: auto; padding: .5rem 0; background: none; border: 0; text-decoration: underline; cursor: pointer; font-weight: 600; }
@media (max-width: 960px) {
  .contact__grille { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .formulaire__ligne { grid-template-columns: 1fr; }
  .formulaire__ok { padding-right: 0; padding-top: 70px; }
}

/* Pied de page */
.pied { position: relative; overflow: hidden; color: var(--blanc); background: var(--grille-blanche), var(--grain-clair), var(--bleu); padding-top: clamp(60px, 8vw, 110px); padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
.pied__grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.pied__logo { width: 120px; height: auto; fill: var(--jaune); margin-bottom: 1rem; }
.pied__intro p { max-width: 36ch; }
.pied__liens ul { display: grid; gap: .45rem; }
.pied__liens a, .pied__contact a { text-decoration: none; font-weight: 600; }
.pied__liens a:hover, .pied__contact a:hover { text-decoration: underline; text-decoration-color: var(--jaune); text-decoration-thickness: 3px; }
.pied__contact { display: grid; align-content: start; gap: .5rem; font: 800 clamp(1.3rem, 1rem + .9vw, 1.8rem)/1.1 var(--f-titre); }
.pied__geant { height: 37vw; margin-top: clamp(30px, 5vw, 70px); line-height: 0; overflow: hidden; }
.pied__geant span { display: block; white-space: nowrap; font: 900 66vw/.8 var(--f-titre); color: var(--jaune); letter-spacing: -.02em; transform: translateX(-6vw); will-change: transform; }
.pied__legal { position: relative; display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; padding-top: 16px; border-top: 2px solid var(--blanc); font-size: .62rem; }
@media (max-width: 860px) { .pied__grille { grid-template-columns: 1fr 1fr; } .pied__intro { grid-column: 1 / -1; } }
@media (max-width: 767px) { .pied { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }

/* Barre d'action mobile */
.barre-mobile { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: none; grid-template-columns: 1.3fr 1fr; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--papier); border-top: 2px solid var(--encre); transform: translateY(110%); transition: transform .5s var(--ressort-doux); }
.barre-mobile .btn { min-height: 48px; box-shadow: 3px 3px 0 var(--o); }
.barre-mobile.est-visible { transform: none; }
@media (max-width: 767px) { .barre-mobile { display: grid; } }

/* Notification */
.toast { position: fixed; z-index: 120; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); max-width: min(92vw, 460px); padding: .8rem 1.1rem; background: var(--encre); color: var(--jaune); font: 600 .74rem/1.45 var(--f-mono); letter-spacing: .03em; border: 2px solid var(--jaune); translate: -50% calc(100% + 140px); visibility: hidden; transition: translate .5s var(--ressort), visibility 0s .5s; pointer-events: none; }
.toast.est-visible { translate: -50% 0; visibility: visible; transition: translate .5s var(--ressort), visibility 0s; }
@media (max-width: 767px) { .toast { bottom: calc(90px + env(safe-area-inset-bottom)); } }

/* Curseur de géomètre (ordinateur uniquement) : des traits fins, jamais d'aplat sur le texte */
.curseur { position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none; opacity: 0; transition: opacity .2s; }
.curseur.est-actif { opacity: 1; }
.curseur__croix { position: absolute; left: -12px; top: -12px; width: 24px; height: 24px; transition: transform .35s var(--ressort), opacity .2s; }
.curseur__croix::before, .curseur__croix::after { content: ""; position: absolute; background: var(--encre); box-shadow: 0 0 0 1px rgba(248, 245, 238, .85); }
.curseur__croix::before { left: 11px; top: 0; width: 2px; height: 24px; }
.curseur__croix::after { top: 11px; left: 0; height: 2px; width: 24px; }
.curseur__anneau { position: absolute; left: -18px; top: -18px; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--encre); box-shadow: 0 0 0 1.5px rgba(248, 245, 238, .85), inset 0 0 0 1.5px rgba(248, 245, 238, .85); scale: .3; opacity: 0; transition: scale .35s var(--ressort), opacity .2s; }
.curseur.sur-lien .curseur__croix { transform: scale(.35); }
.curseur.sur-lien .curseur__anneau { scale: 1; opacity: 1; }
.curseur.appui .curseur__anneau { scale: .82; }
.curseur__casque { position: absolute; left: 10px; top: -34px; width: 30px; color: var(--encre); display: none; }
.casque-porte .curseur__casque { display: block; }
html.a-curseur:not(.surcouche):not(.sur-champ), html.a-curseur:not(.surcouche):not(.sur-champ) * { cursor: none !important; }
html.surcouche .curseur, html.sur-champ .curseur { opacity: 0; }

/* Pages simples : légal, 404 */
.page { padding: calc(var(--nav-h) + clamp(40px, 7vw, 90px)) 0 clamp(60px, 8vw, 120px); background: var(--grain), var(--papier); min-height: 80vh; }
.page__titre { margin-bottom: 2rem; }
.legal { max-width: 760px; }
.legal h2 { margin: 2.6rem 0 .8rem; font: 900 clamp(1.7rem, 1.3rem + 1.2vw, 2.4rem)/1 var(--f-titre); text-transform: uppercase; }
.legal p, .legal li { margin-bottom: .7rem; }
.legal ul { list-style: square; padding-left: 1.2rem; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.4rem; padding: 1rem 0; border-block: 2px solid var(--encre); }
.legal dt { font: 600 .68rem/1.6 var(--f-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--bleu); }
@media (max-width: 560px) { .legal dl { grid-template-columns: 1fr; gap: .1rem; } .legal dd { margin-bottom: .6rem; } }

/* Préférences d'accessibilité */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .15s !important; scroll-behavior: auto !important; }
  .bande__piste { animation: none; }
  .js .ruban { clip-path: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .grue { opacity: .3; }
  .scotch { background: var(--papier-clair); }
  .rea__tampon { background: var(--papier-clair); }
}
@media (prefers-contrast: more) {
  :root { --trait: rgba(16, 19, 28, .5); --encre-douce: var(--encre); }
  .plan__etapes li { opacity: .8; }
  .plan__exemples .mono, .cartouche dt { opacity: 1; }
  .grue { opacity: .85; }
}
@media print {
  .nav, .barre-mobile, .curseur, .bande, .toast, .hero__grue, .ruban, .hero__geant { display: none !important; }
}

/* Pages simples : en-tête court, pied court, 404 */
.nav__retour { margin-left: auto; }
.pied--court { padding-top: 24px; }
.pied--court .pied__legal { border-top: 0; padding-top: 0; }
.pied--court a { text-decoration: none; }
.pied--court a:hover { text-decoration: underline; }
.interdit { position: relative; overflow: hidden; min-height: 100svh; display: grid; align-content: center; }
.interdit__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(32px, 5vw, 80px); align-items: center; }
.interdit__panneau { padding: clamp(24px, 4vw, 48px); background: var(--grain), var(--jaune); border: 4px solid var(--encre); box-shadow: inset 0 0 0 8px var(--jaune), inset 0 0 0 11px var(--encre), var(--ombre); text-align: center; rotate: -2deg; }
.interdit__casque { width: 120px; margin: 0 auto 12px; color: var(--encre); }
.interdit__titre { margin: .4rem 0; font: 900 clamp(2.8rem, 1.6rem + 4vw, 5.6rem)/1 var(--f-titre); text-transform: uppercase; }
.interdit__sous { display: inline-block; padding: .3rem .7rem; background: var(--encre); color: var(--jaune); font: 700 .8rem var(--f-mono); text-transform: uppercase; letter-spacing: .06em; }
.interdit__texte .btn { margin-top: 1.6rem; max-width: 360px; }
.interdit__note { margin-top: 1.4rem; color: var(--bleu); font-size: 1.3rem; rotate: -3deg; }
.interdit__ruban { position: absolute; left: -5%; right: -5%; bottom: 12%; height: 46px; padding: 0; border: 0; background: none; cursor: pointer; rotate: -4deg; }
.interdit__ruban span { position: absolute; top: 0; bottom: 0; width: 50.5%; background: repeating-linear-gradient(-45deg, var(--jaune) 0 22px, var(--encre) 22px 44px); border-block: 2px solid var(--encre); transition: transform 1.1s cubic-bezier(.5, 0, .7, .4), opacity .4s 1s; }
.interdit__ruban span:first-child { left: 0; transform-origin: 0 50%; }
.interdit__ruban span:last-child { right: 0; transform-origin: 100% 50%; }
.interdit__ruban.est-coupe span:first-child { transform: rotate(68deg) translateY(30px); opacity: 0; }
.interdit__ruban.est-coupe span:last-child { transform: rotate(-64deg) translateY(30px); opacity: 0; }
@media (max-width: 860px) {
  .interdit__grille { grid-template-columns: 1fr; }
  .interdit__ruban { bottom: 4%; }
}
