/* ==========================================================================
   B3data · Landing v2 · 29.10.2026
   Direction : « planche de dessin ». Encre sur papier, un seul accent
   (vermillon), données en mono, mise en page éditoriale.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/geist-mono-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #0D1726;
  --ink-2: #1C2738;
  --slate: #3A4558;
  --gray: #5B6475;
  --gray-2: #646D7E;
  --line: #DADDE3;
  --line-2: #E9EBEF;
  --rule: rgba(13, 23, 38, .16);
  --paper: #F6F6F3;
  --paper-2: #EEEEE9;
  --white: #FFFFFF;
  --accent: #E8492B;
  --accent-ink: #C23A1E;
  --accent-tint: rgba(232, 73, 43, .10);
  --accent-on-dark: #FF7A5C;
  --on-dark: #C9CED8;
  --on-dark-2: #9AA3B2;

  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --wrap: 1400px;
  --pad: clamp(20px, 4.4vw, 64px);
  --gut: clamp(16px, 2vw, 32px);
  --section: clamp(96px, 10.5vw, 168px);
  --header-h: 64px;
  --e-out: cubic-bezier(.16, 1, .3, 1);
  --e-io: cubic-bezier(.65, 0, .35, 1);
  --e-spring: cubic-bezier(.32, .72, 0, 1);
}

/* --- reset ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--slate);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, picture, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
:where(ul, ol)[role="list"] { list-style: none; padding: 0; }
::selection { background: var(--ink); color: var(--white); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 1px; }
[tabindex="-1"]:focus { outline: none; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }

.skip {
  position: fixed; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--white); padding: 10px 14px; border-radius: 2px;
  font-weight: 600; transition: top .3s var(--e-out);
}
.skip:focus { top: 12px; }
.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; }

/* grain de papier, fixe */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.05  0 0 0 0 0.09  0 0 0 0 0.15  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* --- layout ----------------------------------------------------------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section); position: relative; }

/* --- type ------------------------------------------------------------- */
h1, h2, h3, h4 { color: var(--ink); font-weight: 600; font-stretch: 108%; letter-spacing: -.02em; line-height: 1.04; text-wrap: balance; }
h1 { font-size: clamp(40px, 5.15vw, 84px); line-height: .98; letter-spacing: -.038em; font-stretch: 110%; }
h2 { font-size: clamp(36px, 4.5vw, 74px); line-height: .99; letter-spacing: -.034em; font-stretch: 110%; }
h3 { font-size: clamp(20px, 1.6vw, 24px); line-height: 1.18; letter-spacing: -.012em; font-stretch: 106%; }
p { text-wrap: pretty; }
.lead { font-size: clamp(17.5px, 1.35vw, 20px); line-height: 1.55; color: var(--slate); max-width: 34em; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .07em; text-transform: uppercase; color: var(--gray); }
strong { color: var(--ink); font-weight: 600; }
.ln-mask { padding-block: .12em; margin-block: -.12em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .09em; text-transform: uppercase; color: var(--gray);
  margin-bottom: 26px;
}
.eyebrow::before {
  content: ""; width: 14px; height: 8px; flex: none; background: var(--accent);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

/* repère de section : numéro + intitulé + trait coté */
.sec-k {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gray);
}
.sec-k span { color: var(--accent-ink); }
.sec-k::after {
  content: ""; width: 72px; height: 9px; flex: none;
  background:
    linear-gradient(currentColor, currentColor) left 50% / 100% 1px no-repeat,
    linear-gradient(currentColor, currentColor) right 0 / 1px 100% no-repeat;
  opacity: .5;
}
.on-dark .sec-k { color: var(--on-dark-2); }
.on-dark .sec-k span { color: var(--accent-on-dark); }

.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 30px; margin-bottom: clamp(64px, 7.5vw, 120px); }
.sec-head .sec-k { grid-column: 1 / -1; }
.sec-head h2 { grid-column: 1 / span 9; }
.sec-head--split h2 { grid-column: 1 / span 7; }
.sec-head--split .lead { grid-column: 9 / -1; align-self: end; }

/* --- boutons : cartouche + case flèche -------------------------------- */
.btn {
  position: relative; display: inline-flex; align-items: stretch; min-height: 52px;
  border: 1px solid transparent; border-radius: 2px; overflow: hidden; isolation: isolate;
  font-size: 15.5px; font-weight: 600; font-stretch: 104%; letter-spacing: -.005em; white-space: nowrap; cursor: pointer;
  transition: color .45s var(--e-out), border-color .45s var(--e-out), background-color .45s var(--e-out), transform .6s var(--e-spring);
}
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1;
  transform: translate3d(0, 101%, 0); transition: transform .6s var(--e-out);
}
.btn:hover::before { transform: none; }
.btn:active { transform: scale(.98); }
.btn-l { display: inline-flex; align-items: center; padding: 0 22px; }
.btn-i { display: inline-grid; place-items: center; width: 52px; flex: none; border-left: 1px solid rgba(255, 255, 255, .18); }
.btn-i svg { width: 16px; height: 16px; transition: transform .6s var(--e-spring); }
.btn:hover .btn-i svg { transform: translate3d(4px, 0, 0); }
.btn-lg { min-height: 60px; font-size: 16.5px; }
.btn-lg .btn-l { padding: 0 26px; }
.btn-lg .btn-i { width: 60px; }
.btn-sm { min-height: 40px; font-size: 14.5px; }
.btn-sm .btn-l { padding: 0 16px; }
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary::before { background: var(--accent-ink); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost .btn-i { border-left-color: var(--ink); }
.btn-ghost::before { background: var(--ink); }
.btn-ghost:hover { color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light .btn-i { border-left-color: rgba(13, 23, 38, .16); }
.btn-light::before { background: var(--accent-ink); }
.btn-light:hover { color: var(--white); }
.btn-outline-light { border-color: rgba(255, 255, 255, .42); color: var(--white); }
.btn-outline-light::before { background: var(--white); }
.btn-outline-light:hover { color: var(--ink); border-color: var(--white); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); font-stretch: 104%;
  padding-bottom: 4px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat, linear-gradient(var(--accent), var(--accent)) 0 100% / 0 1px no-repeat;
  transition: background-size .6s var(--e-out);
}
.link-arrow:hover { background-size: 100% 1px, 100% 1px; }
.link-arrow svg { width: 14px; height: 14px; transition: transform .6s var(--e-spring); }
.link-arrow:hover svg { transform: translate3d(4px, 0, 0); }

/* --- en-tête flottant ---------------------------------------------------- */
.site-header {
  position: fixed; top: 12px; left: 0; right: 0; z-index: 70; pointer-events: none;
  transition: transform .8s var(--e-spring);
}
.nav {
  pointer-events: auto; margin: 0 auto; width: calc(100% - 2 * clamp(10px, 2vw, 28px)); max-width: 1480px;
  height: var(--header-h); display: flex; align-items: center; gap: 28px; padding: 0 10px 0 20px;
  background: rgba(246, 246, 243, .74); border: 1px solid rgba(13, 23, 38, .08); border-radius: 3px;
  -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
  transition: background-color .4s, border-color .4s;
}
.site-header.scrolled .nav { background: rgba(246, 246, 243, .88); border-color: rgba(13, 23, 38, .13); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand svg { height: 28px; width: auto; }
.nav-links { margin-left: 14px; }
.nl { display: flex; align-items: center; gap: 26px; margin: 0; padding: 0; list-style: none; }
.nl-link, .nl-btn { white-space: nowrap; position: relative; font-size: 14.5px; font-weight: 500; color: var(--slate); padding: 6px 0; transition: color .3s; }
.nl-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .5s var(--e-out); }
.nl-link:hover, .nl-btn:hover, .nl-btn[aria-expanded="true"] { color: var(--ink); }
.nl-link:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.lang { display: inline-flex; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--gray); }
.lang b { color: var(--ink); font-weight: 500; }
.lang a:hover { color: var(--ink); }
.nav-contact { font-size: 14.5px; font-weight: 500; color: var(--ink); }
.nav-contact:hover { color: var(--accent-ink); }
.menu-btn { display: none; position: relative; width: 44px; height: 44px; border: 1px solid var(--ink); border-radius: 2px; background: transparent; cursor: pointer; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .6s var(--e-spring), top .6s var(--e-spring); }
.menu-btn span:nth-child(1) { top: 17px; }
.menu-btn span:nth-child(2) { top: 25px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 65; background: var(--paper); visibility: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 48px) var(--pad) max(28px, env(safe-area-inset-bottom));
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--e-io), visibility 0s .8s;
  overflow-y: auto; overscroll-behavior: contain;
}
.mobile-nav.open { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .8s var(--e-io), visibility 0s; }
.mn-list li { overflow: hidden; border-bottom: 1px solid var(--rule); }
.mn-list a {
  display: flex; align-items: baseline; gap: 16px; padding: 12px 0;
  font-size: clamp(26px, 7vw, 44px); font-weight: 600; font-stretch: 110%; letter-spacing: -.035em; line-height: 1.05; color: var(--ink);
  transform: translate3d(0, 105%, 0); transition: transform .9s var(--e-out);
}
.mn-list a span { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--accent-ink); font-weight: 400; }
.mobile-nav.open .mn-list a { transform: none; transition-delay: calc(.25s + var(--i) * .06s); }
.mn-foot { display: grid; gap: 10px; opacity: 0; transition: opacity .6s .5s; }
.mobile-nav.open .mn-foot { opacity: 1; }
.mn-foot .btn { justify-content: space-between; }
.mn-foot .mono { margin-top: 12px; text-transform: none; letter-spacing: .02em; }
.mn-foot .mono a { color: var(--ink); }
.mn-foot .mn-lang { margin-top: 0; color: var(--gray); }
.mn-foot .mn-lang b { font-weight: 500; color: var(--ink); }
.mn-foot .mn-lang a { color: var(--gray); text-decoration: underline; text-underline-offset: 3px; }

/* repère de section fixe (bureau) */
.sec-ind {
  position: fixed; left: clamp(16px, 2.2vw, 32px); bottom: 20px; z-index: 50; pointer-events: none;
  display: flex; gap: 12px; align-items: center; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; mix-blend-mode: difference; opacity: 0; transform: translate3d(0, 8px, 0); transition: opacity .5s, transform .6s var(--e-out);
}
.sec-ind.is-on { opacity: 1; transform: none; }
.sec-ind.is-on.is-off { opacity: 0; }
.sec-ind span { opacity: .65; }
.sec-ind b { font-weight: 400; }

/* --- hero ------------------------------------------------------------- */
.hero { position: relative; }
.hero-stage { position: relative; padding: calc(var(--header-h) + 88px) 0 clamp(72px, 8vw, 120px); }
.hero-stage::before { /* papier millimétré (mode illustration fixe) */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, rgba(13,23,38,.045) 1px, transparent 1px), linear-gradient(to bottom, rgba(13,23,38,.045) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 72% 45%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 80% at 72% 45%, #000 20%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); gap: clamp(24px, 3vw, 48px); align-items: center; position: relative; }
.hero h1 { margin-bottom: 28px; }
.hero .lead { margin-bottom: 36px; max-width: 31em; }
.proof-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; }
.proof-row li { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--gray); }
.proof-row li::before { content: ""; width: 10px; height: 6px; background: var(--accent); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); flex: none; }
.hero-still { display: block; width: 100%; height: auto; -webkit-mask-image: radial-gradient(ellipse 64% 62% at 50% 50%, #000 58%, transparent 100%); mask-image: radial-gradient(ellipse 64% 62% at 50% 50%, #000 58%, transparent 100%); }
.hero-legend { display: none; }
.hero-gl, .hero-scrim, .hero-rooms, .hero-chapters, .hero-cards, .hero-progress, .hero-cue { display: none; }
.hero-chapters, .hero-cards, .hero-progress ol, .hero-legend { list-style: none; padding: 0; }
html.js .hero-copy { visibility: hidden; animation: b3-show 0s 1.6s forwards; }
@keyframes b3-show { to { visibility: visible; } }

/* hero 3D (WebGL 2, mouvement autorisé) */
.hero3d .hero-stage { height: 100vh; height: 100svh; min-height: 460px; padding: 0; overflow: hidden; background: var(--paper); --ch-top: calc(var(--header-h) + clamp(32px, 7vh, 70px)); --ch-fs: clamp(28px, min(2.7vw, 5.6vh), 44px); }
.hero3d .hero-stage::before { display: none; }
.hero3d .hero-static { display: none; }
.hero3d .hero-gl { display: block; position: absolute; inset: 0; z-index: 1; }
.hero3d .hero-gl canvas { width: 100%; height: 100%; }
.hero3d .hero-scrim {
  display: block; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, rgba(246, 246, 243, .94) 0, rgba(246, 246, 243, .8) 26%, rgba(246, 246, 243, 0) 44%);
}
.hero3d .hero-rooms { display: block; position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero3d .hero-grid { display: flex; align-items: center; height: 100%; z-index: 3; pointer-events: none; }
.hero3d .hero-copy { width: min(48%, 700px); padding-top: calc(var(--header-h) + 8px); pointer-events: auto; will-change: transform, opacity; }

.room {
  position: absolute; left: 0; top: 0; display: grid; justify-items: center; gap: 1px; text-align: center; white-space: nowrap;
  padding: 4px 8px 5px; background: rgba(255, 255, 255, .86); border: 1px solid rgba(232, 73, 43, .35); border-radius: 1px; opacity: 0; will-change: transform;
}
.room span { font-size: 11px; font-weight: 600; font-stretch: 104%; color: var(--ink); line-height: 1.2; }
.room b { font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--accent-ink); line-height: 1.2; font-variant-numeric: tabular-nums; }
/* vue en plan : étiquettes de pièces façon Revit ; repères de données : cartouche vermillon */
.room.room-tag { background: none; border: 0; padding: 0; gap: 0; }
.room.room-tag span { font-size: 12px; font-weight: 600; color: var(--ink); }
.room.room-tag b { font-size: 10.5px; color: var(--gray-2); }
.room.room-pin { background: #fff; border-color: var(--accent); padding: 5px 10px 6px; box-shadow: 0 8px 18px -12px rgba(13, 23, 38, .6); }
.room.room-pin span { font-size: 12px; }
.room.room-pin b { font-size: 11.5px; }

.hero3d .hero-chapters {
  display: block; position: absolute; z-index: 3; left: var(--pad); top: var(--ch-top);
  width: min(30vw, 490px); height: 220px; pointer-events: none;
}
.hero-chapters li { position: absolute; left: 0; right: 0; top: 0; overflow: hidden; padding-bottom: .15em; visibility: hidden; opacity: 0; }
.ch-in { will-change: transform; }
.ch-k { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 18px; }
.ch-k::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.ch-in p { font-size: var(--ch-fs, clamp(28px, 2.7vw, 44px)); line-height: 1.04; font-weight: 600; font-stretch: 110%; letter-spacing: -.03em; color: var(--ink); text-wrap: balance; }

.hero3d .hero-cards {
  display: flex; flex-direction: column; gap: 10px; position: absolute; z-index: 3;
  left: var(--pad); top: calc(var(--ch-top) + 36px + var(--ch-fs) * 4.16 + 24px); width: clamp(250px, 21vw, 320px); pointer-events: none;
}
.hero-cards li {
  position: relative; background: #fff; border: 1px solid var(--ink); padding: 12px 16px 13px; visibility: hidden; opacity: 0; will-change: transform;
}
.hero-cards li.is-accent { box-shadow: inset 3px 0 0 var(--accent); }
.hero-cards .k { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-2); margin-bottom: 3px; }
.hero-cards b { display: block; font-size: 16px; font-weight: 600; font-stretch: 106%; color: var(--ink); letter-spacing: -.01em; }
.hero-cards i { display: none; }

.hero3d .hero-progress {
  display: flex; align-items: center; gap: 16px; position: absolute; z-index: 3; left: var(--pad); bottom: 30px; opacity: 0;
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--gray-2);
}
.hero-progress ol { display: flex; gap: 14px; }
.hero-progress li { transition: color .3s; }
.hero-progress li.is-on { color: var(--accent-ink); }
.hero-progress .bar { position: relative; width: 120px; height: 1px; background: var(--rule); overflow: hidden; }
.hero-progress .bar i { position: absolute; inset: 0; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); }
.hero3d .hero-progress .bar i { transform: scaleX(var(--hpx, 0)); }

.hero3d .hero-cue {
  display: flex; flex-direction: column; align-items: center; gap: 10px; position: absolute; z-index: 3; left: 50%; bottom: 26px; transform: translateX(-50%);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-2); pointer-events: none;
}
/* crédit de la maquette d'exemple (CC BY 4.0) */
.hero-credit { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin: 14px auto 0; padding-inline: var(--pad); font-family: var(--mono); font-size: 10.5px; letter-spacing: .02em; line-height: 1.5; color: var(--gray-2); }
.hero-credit a { color: var(--slate); text-decoration: underline; text-underline-offset: 2px; }
.hero3d .hero-credit { position: absolute; right: 24px; bottom: 14px; z-index: 3; width: auto; max-width: none; margin: 0; padding: 2px 6px; background: rgba(246, 246, 243, .88); }
.hero-cue i { position: relative; width: 1px; height: 38px; background: var(--rule); overflow: hidden; }
.hero-cue i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 14px; background: var(--accent); animation: b3-cue 2.2s var(--e-io) infinite; }
@keyframes b3-cue { 0% { transform: translateY(-14px); } 100% { transform: translateY(40px); } }

/* --- 01 · constat --------------------------------------------------------- */
.constat .sec-head { margin-bottom: clamp(48px, 5vw, 80px); }
.display { font-size: clamp(46px, 7.6vw, 132px); line-height: .92; letter-spacing: -.048em; font-stretch: 112%; }
.constat .display { grid-column: 1 / -1; max-width: 13ch; }
.manifest {
  font-size: clamp(25px, 2.9vw, 46px); line-height: 1.14; font-weight: 500; font-stretch: 104%; letter-spacing: -.024em; color: var(--ink);
  width: min(100%, 64%); margin: 0 0 clamp(80px, 10vw, 152px) auto; text-wrap: pretty;
}
.manifest .w { will-change: color; }
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.fig { padding: 22px 26px 8px 0; border-right: 1px solid var(--rule); display: flex; flex-direction: column; }
.fig + .fig { padding-left: 26px; }
.fig:last-child { border-right: 0; padding-right: 0; }
.fig-no { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--gray-2); }
.fig .num { font-size: clamp(54px, 6vw, 100px); font-weight: 500; font-stretch: 116%; letter-spacing: -.055em; line-height: .9; color: var(--ink); margin: 34px 0 22px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fig .num small { font-size: .3em; font-weight: 600; letter-spacing: -.01em; margin-left: .18em; color: var(--accent-ink); font-stretch: 104%; vertical-align: .95em; }
.fig .txt { font-size: 15.5px; line-height: 1.5; color: var(--slate); max-width: 22em; }
.fig .src { margin-top: auto; padding-top: 18px; font-family: var(--mono); font-size: 11px; letter-spacing: .03em; line-height: 1.5; }
.fig .src a { color: var(--gray-2); border-bottom: 1px solid var(--line); transition: color .3s, border-color .3s; }
.fig .src a:hover { color: var(--ink); border-color: var(--ink); }
.pains { margin-top: clamp(80px, 10vw, 152px); border-top: 1px solid var(--rule); }
.pain { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr) minmax(0, 5fr); gap: var(--gut); padding: 32px 0 36px; border-bottom: 1px solid var(--rule); align-items: baseline; }
.pain .no { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--accent-ink); }
.pain h3 { font-size: clamp(24px, 2.4vw, 38px); line-height: 1.04; letter-spacing: -.03em; font-stretch: 110%; }
.pain p { color: var(--slate); max-width: 30em; }

/* --- 02 · méthode : planches empilées ------------------------------------- */
.method-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.method-sticky { position: sticky; top: calc(var(--header-h) + 72px); }
.method-side h2 { margin: 30px 0 28px; }
.method-side .lead { margin-bottom: 30px; }
.sheet { position: sticky; top: calc(var(--header-h) + 56px + var(--n) * 22px); padding-bottom: clamp(48px, 9vh, 104px); }
.sheet:nth-child(1) { rotate: -.6deg; }
.sheet:nth-child(2) { rotate: .5deg; }
.sheet:nth-child(3) { rotate: -.25deg; padding-bottom: 0; }
.sheet-in { background: #fff; border: 1px solid var(--ink); transform-origin: 50% 0; box-shadow: 0 40px 80px -48px rgba(13, 23, 38, .45); }
.sheet-art { border-bottom: 1px solid var(--line); background: #FCFCFA; }
.sheet-art .art { width: 100%; height: auto; }
.sheet-txt { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; padding: 24px 28px 26px; }
.sheet-txt .sheet-no { font-size: clamp(40px, 3.6vw, 60px); font-weight: 500; font-stretch: 118%; letter-spacing: -.055em; line-height: .86; color: var(--accent); }
.sheet-txt h3 { font-size: clamp(22px, 1.9vw, 28px); margin-bottom: 8px; letter-spacing: -.022em; }
.sheet-txt p { font-size: 16px; }
.cartouche { display: grid; grid-template-columns: 1fr 1.2fr 1.8fr; border-top: 1px solid var(--ink); }
.cartouche > div { padding: 10px 14px 12px; border-right: 1px solid var(--line); min-width: 0; }
.cartouche > div:last-child { border-right: 0; }
.cartouche dt, .cartouche span { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-2); margin-bottom: 2px; }
.cartouche dd, .cartouche b { font-family: var(--mono); font-size: 12.5px; font-weight: 500; color: var(--ink); letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* --- 03 · sur mesure ------------------------------------------------------ */
.measure { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.plan-sheet { height: 100%; }
.plan-sticky { position: sticky; top: calc(var(--header-h) + 44px); }
.plan-board { background: #fff; border: 1px solid var(--ink); box-shadow: 0 40px 80px -56px rgba(13, 23, 38, .5); }
.plan-board .cartouche { grid-template-columns: 1.4fr 1fr 1fr; }
.plan2d { width: 100%; height: auto; overflow: visible; }
.plan-board .plan2d { padding: 18px 18px 6px; }
.plan2d .room { fill: #fff; transition: fill .7s var(--e-out); }
.plan2d .room.sel { fill: rgba(232, 73, 43, .09); }
.plan2d .pw rect { fill: var(--ink); transition: fill .6s var(--e-out); }
.plan2d .win { fill: #fff; stroke: var(--ink); stroke-width: .8; transition: stroke .6s; }
.plan2d .gap { fill: #fff; }
.plan2d .swing { fill: none; stroke: var(--ink); stroke-width: .9; }
.plan2d .rn { font-family: var(--font); font-size: 12.5px; font-weight: 600; fill: var(--ink); }
.plan2d .ra { font-family: var(--mono); font-size: 10.5px; fill: var(--gray); }
.plan2d .rn.s { font-size: 10px; }
.plan2d .ra.s { font-size: 9.5px; }
.plan2d .cote line { stroke: var(--accent); stroke-width: 1; }
.plan2d .cote .tk { stroke-width: 1.6; }
.plan2d .cl { font-family: var(--mono); font-size: 10.5px; fill: var(--accent-ink); }
.plan2d .ext { stroke: #AEB4BF; stroke-width: .8; }
.plan2d .north circle { fill: none; stroke: var(--ink); stroke-width: .9; }
.plan2d .north path, .plan2d .north text { fill: var(--ink); }
.plan2d .pc, .plan2d .pl { transition: opacity .6s; }
.plan2d .f-data, .plan2d .f-formats, .plan2d .f-maj { opacity: 0; transition: opacity .6s var(--e-out); }
.plan2d .eq-r { fill: #fff; stroke: var(--ink); stroke-width: 1.2; }
.plan2d .eq-d { fill: var(--ink); }
.plan2d .eq-b { fill: var(--ink); }
.plan2d .eq-t { font-family: var(--mono); font-size: 10px; letter-spacing: .02em; fill: #fff; }
.plan2d .eq.warn .eq-r { stroke: var(--accent); }
.plan2d .eq.warn .eq-d { fill: var(--accent); }
.plan2d .eq.warn .eq-b { fill: var(--accent-ink); }
.plan2d .st-b { fill: #fff; stroke: var(--ink); stroke-width: 1; }
.plan2d .st-t { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; fill: var(--ink); }
.plan2d .cloud { fill: none; stroke: var(--accent); stroke-width: 1.4; }
.plan2d .rev { fill: #fff; stroke: var(--accent); stroke-width: 1.2; }
.plan2d .rev-t { font-family: var(--mono); font-size: 11px; font-weight: 600; fill: var(--accent-ink); }
.plan2d[data-focus="geo"] .pw rect { fill: var(--accent); }
.plan2d[data-focus="geo"] .win { stroke: var(--accent); }
.plan2d[data-focus="geo"] .room.sel { fill: #fff; }
.plan2d[data-focus="espaces"] .room.r0 { fill: rgba(232, 73, 43, .16); }
.plan2d[data-focus="espaces"] .room.r1 { fill: rgba(13, 23, 38, .07); }
.plan2d[data-focus="espaces"] .room.r2 { fill: rgba(13, 23, 38, .13); }
.plan2d[data-focus="espaces"] .room.r3 { fill: rgba(13, 23, 38, .035); }
.plan2d[data-focus="espaces"] .room.r4 { fill: rgba(13, 23, 38, .1); }
.plan2d[data-focus="donnees"] .f-data, .plan2d[data-focus="formats"] .f-formats, .plan2d[data-focus="maj"] .f-maj { opacity: 1; }
.plan2d[data-focus="formats"] .pl { opacity: .35; }

.spec { border-top: 1px solid var(--ink); }
.spec > div { display: grid; grid-template-columns: minmax(150px, 2fr) minmax(0, 5fr); gap: var(--gut); padding: 34px 0 40px; border-bottom: 1px solid var(--rule); min-height: min(38vh, 340px); }
.spec dt { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--gray); align-self: start; padding-top: 4px; }
.spec dt span { display: inline-grid; place-items: center; width: 26px; height: 26px; border: 1px solid currentColor; border-radius: 50%; font-size: 11px; transition: background-color .5s, color .5s, border-color .5s; }
.spec > div.is-on dt { color: var(--ink); }
.spec > div.is-on dt span { background: var(--accent); border-color: var(--accent); color: #fff; }
.spec dd { font-size: 17px; color: var(--slate); max-width: 34em; }
.spec dd strong { display: block; font-size: clamp(22px, 2vw, 30px); line-height: 1.08; letter-spacing: -.025em; font-stretch: 108%; margin-bottom: 12px; }
.spec-fig { margin: 24px 0 0; }
.spec-fig-img { display: block; background: var(--white); border: 1px solid var(--line); box-shadow: 0 32px 64px -52px rgba(13, 23, 38, .45); overflow: hidden; transition: border-color .5s; }
.spec-fig-img img { display: block; width: 100%; height: auto; }
.spec-fig figcaption { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-family: var(--mono); font-size: 10.5px; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); transition: color .5s; }
.spec-fig figcaption::before { content: ""; flex: none; width: 8px; height: 8px; border: 1px solid currentColor; transition: background-color .5s, border-color .5s; }
.spec > div.is-on .spec-fig-img { border-color: var(--ink); }
.spec > div.is-on .spec-fig figcaption { color: var(--ink); }
.spec > div.is-on .spec-fig figcaption::before { background: var(--accent); border-color: var(--accent); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tag { font-family: var(--mono); font-size: 11.5px; letter-spacing: .03em; color: var(--ink); border: 1px solid var(--line); background: var(--white); padding: 4px 8px; border-radius: 2px; }
.tag-accent { border-color: var(--accent); color: var(--accent-ink); }

/* --- 04 · le livrable : démonstration de la visionneuse ------------------- */
.viewer { position: relative; margin: 0; background: var(--white); border: 1px solid var(--ink); box-shadow: 0 70px 120px -90px rgba(13, 23, 38, .6); }
.vw-top { display: flex; align-items: center; gap: 10px 20px; min-height: 58px; padding: 9px 12px 9px 16px; border-bottom: 1px solid var(--line); }
.vw-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.vw-brand svg { height: 21px; width: auto; flex: none; }
.vw-ttl { display: grid; gap: 1px; min-width: 0; }
.vw-ttl b { font-size: 15px; font-weight: 600; font-stretch: 106%; color: var(--ink); white-space: nowrap; }
.vw-ttl span { font-family: var(--mono); font-size: 10.5px; color: var(--gray); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vw-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.vw-tools i { font-style: normal; }
.vw-tools .seg { display: inline-flex; border: 1px solid var(--ink); }
.vw-tools .seg i { font-family: var(--mono); font-size: 11.5px; letter-spacing: .02em; padding: 6px 11px; color: var(--ink); background: var(--white); white-space: nowrap; transition: background-color .45s var(--e-out), color .45s var(--e-out); }
.vw-tools .seg i + i { border-left: 1px solid var(--ink); }
.vw-tools .seg i.on { background: var(--ink); color: var(--white); }
.vw-tools .tgl { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11.5px; color: var(--ink); border: 1px solid var(--line); background: var(--white); padding: 6px 10px; white-space: nowrap; transition: background-color .45s var(--e-out), color .45s var(--e-out), border-color .45s; }
.vw-tools .tgl i { width: 10px; height: 10px; border: 1px solid var(--ink); }
.vw-tools .tgl.on { border-color: var(--ink); }
.vw-tools .tgl.on i { background: var(--accent); border-color: var(--accent); }
.vw-tools .tgl.on.is-press, .vw-tools .tgl.is-press { background: var(--ink); border-color: var(--ink); color: var(--white); }
.vw-main { display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 26vw, 368px); }
.vw-stage { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper); border-right: 1px solid var(--line); }
.vw-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--paper); }
/* repères de la visite : calque HTML net, calé image par image sur la vidéo */
.vw-pins { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.vw-pin { position: absolute; left: 0; top: 0; display: grid; justify-items: center; gap: 1px; white-space: nowrap; visibility: hidden; opacity: 0; will-change: transform, opacity; background: var(--white); border: 1px solid var(--accent); padding: 4px 9px 5px; box-shadow: 0 6px 16px -10px rgba(13, 23, 38, .55); }
.vw-pin span { font-size: 12.5px; font-weight: 600; line-height: 1.2; color: var(--ink); }
.vw-pin b { font-family: var(--mono); font-size: 11.5px; font-weight: 500; line-height: 1.2; color: var(--accent-ink); }
.vw-crumbs { position: absolute; left: 14px; top: 14px; z-index: 3; display: flex; flex-wrap: wrap; gap: 6px; max-width: calc(100% - 28px); }
.vw-crumbs span { font-family: var(--mono); font-size: 11px; color: var(--ink); background: var(--white); border: 1px solid var(--line); padding: 3px 8px; }
.vw-crumbs span:empty { display: none; }
.vw-crumbs span.is-last { border-color: var(--ink); }
.vw-fake { position: absolute; right: 14px; bottom: 12px; z-index: 3; font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); background: rgba(246, 246, 243, .9); border: 1px dashed var(--accent); padding: 2px 6px; }
.vw-panel { position: relative; overflow: hidden; background: var(--white); }
.vw-card { position: absolute; inset: 0; padding: 20px 22px; opacity: 0; visibility: hidden; transform: translate3d(0, 14px, 0); transition: opacity .4s var(--e-out), transform .6s var(--e-out), visibility 0s .4s; }
.vw-card.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .7s var(--e-out) .25s, transform .9s var(--e-out) .25s, visibility 0s; }
.vc-k { display: flex; justify-content: space-between; gap: 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--gray); padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.vc-k span:last-child { color: var(--accent-ink); text-align: right; }
.vw-card h3 { font-size: 21px; line-height: 1.15; letter-spacing: -.015em; margin-bottom: 5px; }
.vc-sub { font-family: var(--mono); font-size: 11px; color: var(--gray); margin-bottom: 16px; }
.vc-facts { border-top: 1px solid var(--line-2); }
.vc-facts div { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line-2); }
.vc-facts dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--gray); padding-top: 2px; }
.vc-facts dd { font-size: 14px; color: var(--ink); font-variant-numeric: tabular-nums; }
.vc-facts dd.warn { color: var(--accent-ink); font-weight: 600; }
.vc-list { display: grid; gap: 8px; }
.vc-list li { display: grid; gap: 2px; border: 1px solid var(--line); border-left: 3px solid var(--line); padding: 10px 12px; }
.vc-list li.is-accent { border-color: var(--ink); border-left-color: var(--accent); background: #FBFBF9; }
.vc-list b { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.vc-list span { font-family: var(--mono); font-size: 11px; color: var(--gray); }
.vc-rooms { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-bottom: 14px; }
.vc-rooms th { text-align: left; font-weight: 500; color: var(--slate); padding: 5px 0; border-bottom: 1px dashed var(--line); }
.vc-rooms td { text-align: right; font-family: var(--mono); font-size: 12px; color: var(--ink); padding: 5px 0; border-bottom: 1px dashed var(--line); white-space: nowrap; }
.vc-trace { margin-top: 14px; border-left: 3px solid var(--accent); background: var(--paper); padding: 10px 12px; }
.vc-trace .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 6px; }
.vc-trace ol { display: grid; gap: 4px; font-size: 13px; color: var(--ink); }
.vc-trace b { font-family: var(--mono); font-weight: 500; font-size: 11.5px; margin-right: 8px; }
.vc-trace p:not(.k) { font-size: 13.5px; color: var(--ink); }
.vc-docs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.vc-docs span { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ink); border: 1px solid var(--line); padding: 5px 8px; }
.vc-docs em, .vc-files em { font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: .05em; color: var(--white); background: var(--ink); padding: 2px 5px; }
.vc-files { display: grid; gap: 6px; }
.vc-files li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink); border: 1px solid var(--line); padding: 8px 10px; }
.vc-files em { min-width: 46px; text-align: center; }
.vc-files li.is-accent { border-color: var(--accent); }
.vc-files li.is-accent em { background: var(--accent-ink); }
.vw-cursor { position: absolute; left: 0; top: 0; z-index: 6; width: 20px; height: 22px; pointer-events: none; opacity: 0; transition: opacity .5s; will-change: transform; }
.vw-cursor svg { display: block; width: 20px; height: 22px; filter: drop-shadow(0 3px 4px rgba(13, 23, 38, .3)); }
.vw-cursor::before { content: ""; position: absolute; left: -15px; top: -15px; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--accent); opacity: 0; transform: scale(.3); }
.vw-cursor.is-click::before { animation: vwClick .7s var(--e-out); }
.viewer.is-playing .vw-cursor.is-shown { opacity: 1; }
@keyframes vwClick { from { opacity: 1; transform: scale(.3); } to { opacity: 0; transform: scale(1.6); } }
.vw-steps { display: flex; align-items: stretch; border-top: 1px solid var(--ink); }
.vw-play { flex: none; width: 58px; display: grid; place-items: center; background: var(--white); border: 0; border-right: 1px solid var(--line); cursor: pointer; color: var(--ink); }
.vw-play:hover { background: var(--paper); }
.vw-play i { display: block; width: 12px; height: 14px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.vw-play[aria-pressed="true"] i { width: 0; height: 0; border-right: 0; border-left: 12px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.vw-steps ol { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); flex: 1; min-width: 0; }
.vw-step { position: relative; display: block; width: 100%; height: 100%; text-align: left; background: none; border: 0; border-left: 1px solid var(--line); padding: 14px 14px 16px; cursor: pointer; font: inherit; }
.vw-steps li:first-child .vw-step { border-left: 0; }
.vw-step b { display: block; font-family: var(--mono); font-size: 10.5px; font-weight: 400; letter-spacing: .08em; color: var(--gray-2); margin-bottom: 4px; }
.vw-step span { font-size: 14px; font-weight: 600; font-stretch: 104%; color: var(--gray); white-space: nowrap; transition: color .4s; }
.vw-step:hover span { color: var(--ink); }
.vw-step[aria-current="step"] b { color: var(--accent-ink); }
.vw-step[aria-current="step"] span { color: var(--ink); }
.vw-step i { position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
.vw-step[aria-current="step"] i { transform: scaleX(var(--p, 1)); }
.vw-credit { margin-top: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .02em; line-height: 1.6; color: var(--gray-2); max-width: 90ch; }
.vw-credit a { color: var(--slate); text-decoration: underline; text-underline-offset: 2px; }
.deliver-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--rule); font-size: 17px; color: var(--ink); }
.deliver-note span { max-width: 42em; }

/* --- 05 · vos données : un onglet par métier ------------------------------ */
.dtabs { border-top: 1px solid var(--ink); }
.dt-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--rule); }
.dt-tab { position: relative; display: grid; gap: 8px; align-content: start; text-align: left; padding: 22px 20px 24px; background: none; border: 0; border-left: 1px solid var(--rule); cursor: pointer; font: inherit; }
.dt-tab:first-child { border-left: 0; padding-left: 0; }
.dt-no { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--gray-2); }
.dt-name { font-size: clamp(17px, 1.4vw, 21px); font-weight: 600; font-stretch: 106%; letter-spacing: -.012em; line-height: 1.15; color: var(--gray); transition: color .4s; }
.dt-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .7s var(--e-out); }
.dt-tab:hover .dt-name { color: var(--ink); }
.dt-tab[aria-selected="true"] .dt-no { color: var(--accent-ink); }
.dt-tab[aria-selected="true"] .dt-name { color: var(--ink); }
.dt-tab[aria-selected="true"]::after { transform: scaleX(1); }
.dt-panel { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 96px); padding-top: clamp(40px, 4.5vw, 64px); align-items: start; }
.dt-panel[hidden] { display: none; }
.dt-panel.is-in { animation: dtIn .8s var(--e-out); }
@keyframes dtIn { from { opacity: 0; transform: translate3d(0, 18px, 0); } }
.dt-copy h3 { font-size: clamp(30px, 3.2vw, 50px); line-height: 1; letter-spacing: -.035em; font-stretch: 112%; margin-bottom: 20px; }
.dt-copy > p { font-size: 17.5px; color: var(--slate); max-width: 34em; margin-bottom: 26px; }
.dt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dt-chips li { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; color: var(--ink); border: 1px solid var(--line); background: var(--white); padding: 6px 10px; }
.dt-fiche { background: var(--white); border: 1px solid var(--ink); box-shadow: 0 40px 80px -60px rgba(13, 23, 38, .45); padding: 18px 20px 8px; }
.df-k { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--gray); margin-bottom: 12px; }
.df-k em { font-style: normal; color: var(--accent-ink); border: 1px dashed var(--accent); padding: 1px 6px; }
.df-t { font-size: 20px; font-weight: 600; font-stretch: 106%; color: var(--ink); letter-spacing: -.01em; margin-bottom: 10px; }
.df-facts div { display: grid; grid-template-columns: minmax(112px, 2fr) minmax(0, 3fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-2); }
.df-facts dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--gray); padding-top: 2px; }
.df-facts dd { font-size: 14.5px; color: var(--ink); font-variant-numeric: tabular-nums; }
.df-facts dd.warn { color: var(--accent-ink); font-weight: 600; }
html:not(.js) .dt-list { display: none; }
html.js .dtabs:not(.is-ready) .dt-panel + .dt-panel { display: none; }
html:not(.js) .dt-panel + .dt-panel { border-top: 1px solid var(--rule); margin-top: 48px; }
.dt-more { margin-top: clamp(48px, 5vw, 72px); }

/* --- 06 · réglementation (tirage bleu) ------------------------------------- */
.reg { position: relative; background: var(--ink); color: var(--on-dark); overflow: hidden; }
.reg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
}
.reg h2, .reg h3 { color: var(--white); }
.reg .lead { color: var(--on-dark); }
.reg-pin { position: relative; padding-top: var(--section); }
.reg-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 28px; }
.reg-head .sec-k { grid-column: 1 / -1; }
.reg-head h2 { grid-column: 1 / span 7; }
.reg-head .lead { grid-column: 9 / -1; align-self: end; }
.ruler { position: relative; margin-top: clamp(56px, 6vw, 96px); }
.ruler-track { position: relative; padding: 0 var(--pad); }
.ruler-axis { position: absolute; left: calc(var(--pad) + 5px); top: 8px; bottom: 8px; width: 1px; background: rgba(255,255,255,.35); transform-origin: 50% 0; }
.ruler-years, .ruler-now { display: none; }
.ruler-evs { display: grid; gap: 40px; padding-left: 40px; }
.ev { position: relative; }
.ev::before { content: ""; position: absolute; left: -40px; top: 18px; width: 11px; height: 11px; background: var(--ink); border: 1px solid rgba(255,255,255,.7); transform: rotate(45deg); }
.ev.is-now::before { background: var(--accent-on-dark); border-color: var(--accent-on-dark); }
.ev-year { display: block; font-size: clamp(40px, 3.6vw, 60px); font-weight: 500; font-stretch: 118%; letter-spacing: -.05em; line-height: 1; color: var(--white); margin-bottom: 12px; }
.ev.is-now .ev-year { color: var(--accent-on-dark); }
.ev-card h3 { font-size: 18px; margin-bottom: 6px; }
.ev-card p { font-size: 14.5px; line-height: 1.5; color: #AEB5C1; max-width: 30em; }
.ev-card .src { margin-top: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .03em; }
.ev-card .src a { color: var(--on-dark-2); border-bottom: 1px solid rgba(255,255,255,.2); transition: color .3s, border-color .3s; }
.ev-card .src a:hover { color: var(--white); border-color: var(--white); }
.reg-foot { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: clamp(64px, 7vw, 112px); padding-top: 32px; border-top: 1px solid rgba(255,255,255,.14); }
.reg-foot p { font-size: clamp(18px, 1.5vw, 22px); color: var(--white); max-width: 36em; }
.reg-note { position: relative; padding-top: 22px; padding-bottom: var(--section); font-family: var(--mono); font-size: 11.5px; letter-spacing: .03em; color: var(--on-dark-2); }

@media (min-width: 1024px) and (min-height: 700px) {
  .reg-pin { height: 100vh; padding-top: calc(var(--header-h) + 64px); display: flex; flex-direction: column; }
  .reg-head .lead { font-size: 17.5px; }
  .ruler { flex: 1; margin-top: 24px; min-height: 0; }
  .ruler-track { --yw: clamp(280px, 21vw, 330px); height: 100%; width: calc(var(--yw) * 11 + 2 * var(--pad) + 340px); padding: 0; will-change: transform; }
  .ruler-axis { left: var(--pad); top: 66%; bottom: auto; width: calc(var(--yw) * 11); height: 1px; background: rgba(255,255,255,.55); transform-origin: 0 50%; }
  .ruler-axis::before, .ruler-axis::after { content: ""; position: absolute; left: 0; right: -1px; top: 0; pointer-events: none; }
  .ruler-axis::before { height: 14px; background: repeating-linear-gradient(to right, rgba(255,255,255,.7) 0 1px, transparent 1px var(--yw)); }
  .ruler-axis::after { height: 7px; background: repeating-linear-gradient(to right, rgba(255,255,255,.35) 0 1px, transparent 1px calc(var(--yw) / 4)); }
  .ruler-years { display: block; position: absolute; left: var(--pad); top: calc(66% + 24px); width: calc(var(--yw) * 11); height: 20px; }
  .ruler-years span { position: absolute; left: calc(var(--at) * 100%); transform: translateX(-50%); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--on-dark-2); }
  .ruler-now { display: block; position: absolute; left: calc(var(--pad) + var(--at) * var(--yw) * 11); top: 66%; height: 70px; width: 1px; background: var(--accent-on-dark); }
  .ruler-now span { position: absolute; left: 10px; bottom: -3px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-on-dark); white-space: nowrap; }
  .ruler-now::after { content: ""; position: absolute; left: -5px; top: -5px; width: 11px; height: 11px; background: var(--accent-on-dark); transform: rotate(45deg); }
  .ruler-evs { display: block; padding: 0; position: absolute; inset: 0; }
  .ev { position: absolute; left: calc(var(--pad) + var(--at) * var(--yw) * 11); bottom: 34%; width: calc(var(--yw) - 56px); padding: 0 0 26px 18px; }
  .ev::before { left: -5px; top: auto; bottom: -6px; }
  .ev::after { content: ""; position: absolute; left: 0; top: 10px; bottom: 0; width: 1px; background: rgba(255,255,255,.22); }
  .ev.is-now::after { background: var(--accent-on-dark); }
  .reg-foot { margin-top: 0; }
}

/* --- 07 · réalisations ---------------------------------------------------------- */
.refs { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: clamp(56px, 7vw, 112px); align-items: start; }
.ref.r1 { grid-column: 1 / span 7; }
.ref.r2 { grid-column: 9 / span 4; margin-top: clamp(80px, 12vw, 200px); }
.ref.r3 { grid-column: 2 / span 5; }
.ref.r4 { grid-column: 7 / span 6; margin-top: clamp(-120px, -6vw, -40px); }
.ph { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--rule); }
.ph img { width: 100%; height: auto; transform-origin: 50% 50%; will-change: transform; }
.ph.contain { padding: 6%; }
.ref figcaption { display: flex; align-items: baseline; gap: 14px; padding-top: 14px; border-bottom: 1px solid var(--rule); padding-bottom: 12px; }
.r-no { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.ref figcaption b { color: var(--ink); font-weight: 600; font-stretch: 106%; }
.ref figcaption span:last-child { margin-left: auto; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--gray-2); }

/* --- 08 · tarifs ------------------------------------------------------------------- */
.plans { display: grid; grid-template-columns: 1.25fr 1fr 1fr; border: 1px solid var(--ink); background: var(--white); }
.plan { padding: 36px 32px 34px; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.plan:last-child { border-right: 0; }
.plan.featured { background: var(--ink); color: var(--on-dark); border-right: 0; position: relative; }
.plan.featured h3, .plan.featured .price { color: var(--white); }
.plan .p-k { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--gray); margin-bottom: 20px; display: flex; justify-content: space-between; gap: 12px; padding: 0; }
.plan.featured .p-k { color: var(--on-dark-2); }
.plan.featured .p-k b { color: var(--accent-on-dark); font-weight: 500; }
.plan .p-k span { color: inherit; }
.plan h3 { font-size: clamp(24px, 2vw, 30px); margin-bottom: 8px; letter-spacing: -.025em; }
.plan .p-d { font-size: 15.5px; min-height: 3em; }
.price { font-size: clamp(40px, 3.6vw, 56px); font-weight: 500; font-stretch: 114%; letter-spacing: -.045em; color: var(--ink); line-height: 1; margin: 26px 0 8px; }
.price small { font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--gray); margin-left: 4px; font-stretch: 100%; }
.plan.featured .price small { color: var(--on-dark-2); }
.price-q { font-size: clamp(34px, 2.9vw, 44px); }
.price-note { font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; color: var(--gray); margin-bottom: 24px; }
.plan ul { padding: 0; margin: 0 0 30px; display: grid; gap: 10px; }
.plan li { font-size: 15px; padding-left: 24px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 7px; width: 11px; height: 6px; border-left: 1.6px solid var(--ink); border-bottom: 1.6px solid var(--ink); transform: rotate(-45deg); }
.plan.featured li::before { border-color: var(--accent-on-dark); }
.plan .btn { margin-top: auto; justify-content: space-between; }
.calc { --fill: 3.4%; border: 1px solid rgba(255,255,255,.18); padding: 18px 18px 16px; margin: 4px 0 26px; border-radius: 2px; background: rgba(255,255,255,.03); }
.calc label { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 14px; }
.calc .m2 { display: inline-flex; align-items: baseline; gap: 6px; }
.calc input[type="number"] { width: 88px; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.35); color: var(--white); font-family: var(--mono); font-size: 16px; text-align: right; padding: 2px 0; -moz-appearance: textfield; }
.calc input[type="number"]::-webkit-outer-spin-button, .calc input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 18px; margin: 2px 0 14px; background: transparent; cursor: pointer;
}
.calc input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(to right, var(--accent-on-dark) var(--fill), rgba(255,255,255,.22) var(--fill)); }
.calc input[type="range"]::-moz-range-track { height: 2px; background: rgba(255,255,255,.22); }
.calc input[type="range"]::-moz-range-progress { height: 2px; background: var(--accent-on-dark); }
.calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -7px; background: var(--white); border: 0; border-radius: 0; transform: rotate(45deg); }
.calc input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; background: var(--white); border: 0; border-radius: 0; transform: rotate(45deg); }
.calc output { display: flex; justify-content: space-between; align-items: baseline; color: var(--white); }
.calc output span { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-2); }
.calc output b { font-size: 34px; font-weight: 500; font-stretch: 114%; letter-spacing: -.035em; color: var(--white); font-variant-numeric: tabular-nums; }
.fineprint { font-size: 13.5px; color: var(--gray); margin-top: 18px; }

/* --- 09 · mission ------------------------------------------------------------- */
.mission-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 30px; }
.mission-head .sec-k { grid-column: 1 / -1; }
.mission-head h2 { grid-column: 1 / span 8; }
.manifest--sm { grid-column: 6 / -1; width: auto; margin: 24px 0 0; font-size: clamp(22px, 2.3vw, 36px); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gut); margin-top: clamp(72px, 8vw, 128px); }
.pillar { border-top: 1px solid var(--ink); padding-top: 24px; }
.pillar .no { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--accent-ink); margin-bottom: 40px; }
.pillar h3 { font-size: clamp(22px, 1.9vw, 28px); margin-bottom: 12px; letter-spacing: -.024em; }
.pillar p { font-size: 15.5px; max-width: 28em; }

/* --- 10 · faq ------------------------------------------------------------------- */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.faq-sticky { position: sticky; top: calc(var(--header-h) + 72px); }
.faq-side h2 { margin: 30px 0 22px; }
.faq-side p { margin-bottom: 24px; max-width: 26em; }
.qa { border-bottom: 1px solid var(--rule); }
.qa details { border-top: 1px solid var(--rule); }
.qa details:first-child { border-top-color: var(--ink); }
.qa summary {
  display: grid; grid-template-columns: 52px minmax(0, 1fr) 24px; gap: 12px; align-items: baseline; padding: 26px 0; cursor: pointer; list-style: none;
  font-size: clamp(19px, 1.65vw, 24px); font-weight: 600; font-stretch: 106%; letter-spacing: -.015em; line-height: 1.25; color: var(--ink);
  transition: color .3s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--accent-ink); }
.q-no { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .08em; color: var(--gray-2); }
.qa summary i { position: relative; width: 16px; height: 16px; align-self: center; justify-self: end; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; transition: transform .6s var(--e-spring); }
.qa summary i::after { transform: rotate(90deg); }
.qa details[open] summary i::after { transform: rotate(0deg); }
.qa details[open] summary i::before { transform: rotate(180deg); }
.qa details p { padding: 0 40px 30px 64px; max-width: 46em; }
@supports (interpolate-size: allow-keywords) {
  .qa { interpolate-size: allow-keywords; }
  .qa details::details-content { height: 0; overflow: clip; transition: height .7s var(--e-out), content-visibility .7s allow-discrete; }
  .qa details[open]::details-content { height: auto; }
}

/* --- 11 · passer à l'action ------------------------------------------------------ */
.final { position: relative; background: var(--ink); color: var(--on-dark); padding: clamp(128px, 15vw, 240px) 0 clamp(96px, 10vw, 160px); overflow: hidden; }
.final::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 80%); mask-image: linear-gradient(to bottom, #000, transparent 80%);
}
.final-inner { position: relative; }
.final-t { font-size: clamp(50px, 8.6vw, 148px); line-height: .9; letter-spacing: -.052em; font-stretch: 112%; color: var(--white); max-width: 11ch; margin: 30px 0 clamp(56px, 6vw, 96px); }
.final-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 32px; border-top: 1px solid rgba(255,255,255,.16); padding-top: 32px; }
.final-row p { font-size: clamp(18px, 1.5vw, 22px); color: var(--white); max-width: 26em; }

/* --- pied de page ------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--on-dark-2); padding: clamp(72px, 7vw, 112px) 0 24px; border-top: 1px solid rgba(255,255,255,.1); overflow: hidden; }
.foot { display: grid; grid-template-columns: 2.2fr repeat(4, 1fr); gap: 32px; }
.foot-brand .brand svg { height: 30px; }
.foot-brand p { margin: 18px 0 14px; max-width: 24em; font-size: 15px; }
.foot-mail { color: var(--white); border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 2px; }
.foot-mail:hover { border-color: var(--white); }
.foot h2 { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 16px; }
.foot ul { display: grid; gap: 8px; }
.foot ul a { font-size: 15px; color: var(--on-dark); transition: color .3s; }
.foot ul a:hover { color: var(--white); }
.foot-mark-wrap { overflow: hidden; margin-top: clamp(56px, 7vw, 112px); }
.foot-mark { font-size: min(16.1vw, 232px); font-weight: 700; font-stretch: 116%; letter-spacing: -.065em; line-height: .76; color: var(--white); white-space: nowrap; margin-left: -.045em; will-change: transform; user-select: none; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; margin-top: 4px; font-size: 13px; }
.foot-bottom .mono { color: var(--on-dark-2); font-size: 11px; }

/* --- réduction des animations --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html.js .hero-copy { visibility: visible; animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .sheet { position: relative; top: auto; rotate: none; }
}

/* --- responsive ---------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fig:nth-child(2) { border-right: 0; padding-right: 0; }
  .fig:nth-child(3) { padding-left: 0; }
  .fig:nth-child(n+3) { border-top: 1px solid var(--rule); margin-top: 8px; }
}
/* ordinateurs étroits : le logo Twin3Data, plus long, et les six liens tiennent sur une ligne */
@media (min-width: 1024px) and (max-width: 1199px) {
  .nav { gap: 22px; }
  .nav .brand svg { height: 24px; }
  .nav-links { margin-left: 4px; }
  .nl { gap: 18px; }
  .nav-cta { gap: 14px; }
}
@media (max-width: 1023px) {
  :root { --header-h: 58px; }
  .nav-links, .nav-contact { display: none; }
  /* sélecteur de langue gardé dans l'en-tête mobile : seule la langue cible, zone de 44 px */
  .lang b { display: none; }
  .lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 44px; font-size: 12.5px; letter-spacing: .08em; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
  .menu-btn { display: block; }
  .nav-cta { gap: 6px; }
  .nav { gap: 12px; padding: 0 6px 0 14px; }
  .sec-ind { display: none; }
  .sec-head h2, .sec-head--split h2 { grid-column: 1 / -1; }
  .sec-head--split .lead { grid-column: 1 / -1; }
  .reg-head h2, .reg-head .lead, .mission-head h2, .manifest--sm { grid-column: 1 / -1; }
  .manifest { width: 100%; }
  .method-grid, .measure, .faq { grid-template-columns: minmax(0, 1fr); }
  .method-sticky, .faq-sticky { position: static; }
  .sheet { top: calc(var(--header-h) + 36px + var(--n) * 16px); }
  .plan-sticky { position: relative; top: auto; }
  .plan-sheet { max-width: 460px; }
  .spec > div { min-height: 0; padding: 26px 0 28px; }
  .pain { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .vw-main { grid-template-columns: minmax(0, 1fr); }
  .vw-stage { border-right: 0; border-bottom: 1px solid var(--line); }
  .vw-panel { height: 412px; }
  .vw-tools .tgl:not([data-exp]) { display: none; }
  .vw-steps ol { display: flex; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
  .vw-steps ol::-webkit-scrollbar { display: none; }
  .vw-steps li { flex: 0 0 auto; scroll-snap-align: start; }
  .vw-step { min-width: 132px; }
  .dt-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dt-tab:nth-child(3) { border-left: 0; padding-left: 0; }
  .dt-tab:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .dt-panel { grid-template-columns: minmax(0, 1fr); }
  .dt-fiche { max-width: 520px; }
  .refs { grid-template-columns: minmax(0, 1fr); }
  .ref.r1, .ref.r2, .ref.r3, .ref.r4 { grid-column: 1 / -1; margin-top: 0; }
  .ref.r2 { max-width: 420px; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plan { border-right: 0; border-bottom: 1px solid var(--line); }
  .pillars { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }

  /* hero : version compacte */
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero3d .hero-grid { align-items: flex-start; }
  .hero3d .hero-copy { width: 100%; max-width: 640px; padding-top: calc(var(--header-h) + 52px); }
  .hero3d .proof-row { display: none; }
  .hero3d .hero-chapters { left: var(--pad); right: var(--pad); width: auto; top: calc(var(--header-h) + 40px); height: 150px; margin-top: 0; }
  .ch-in p { font-size: clamp(26px, 6.2vw, 38px); }
  .ch-k { margin-bottom: 12px; }
  .hero3d .hero-cards { left: var(--pad); right: var(--pad); top: auto; bottom: max(22px, env(safe-area-inset-bottom)); width: auto; height: 72px; display: block; }
  .hero-cards li { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 12px 14px; }
  .hero-cards li .k, .hero-cards li b { grid-column: 2; }
  .hero-cards i { display: inline-grid; grid-row: 1 / span 2; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-style: normal; font-family: var(--mono); font-size: 11px; }
  .hero-cards li.is-accent i { background: var(--accent); }
  .hero3d .hero-scrim { background: linear-gradient(180deg, rgba(246, 246, 243, .96) 0, rgba(246, 246, 243, .88) 27%, rgba(246, 246, 243, 0) 40%, rgba(246, 246, 243, 0) 80%, rgba(246, 246, 243, .9) 100%); }
  .hero3d .hero-progress, .hero3d .hero-cue { display: none; }
  .hero3d .room { padding: 3px 6px; }
  .hero3d .room span { display: none; }
  .hero3d .room.room-pin span { display: block; font-size: 11px; }
  .hero3d .room.room-tag span { display: block; font-size: 10.5px; }
  .hero3d .room.room-tag b { font-size: 9.5px; }
  .hero3d .hero-credit { right: 12px; bottom: 8px; font-size: 9.5px; }
  .hero3d .room.room-pin b { font-size: 10.5px; }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .hero-stage { padding-top: calc(var(--header-h) + 56px); }
  .hero-static { display: block; }
  .hero-legend { display: grid; gap: 8px; margin-top: 18px; }
  .hero-legend li div { display: grid; gap: 4px; border: 1px solid var(--line); background: #fff; padding: 10px 12px; font-size: 14px; font-weight: 600; color: var(--ink); }
  .hero-legend li span { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--gray-2); }
  .btn-lg { min-height: 56px; font-size: 16px; }
  .cta-row .btn { flex: 1 1 100%; justify-content: space-between; }
  .figures { grid-template-columns: minmax(0, 1fr); }
  .fig, .fig + .fig { padding: 22px 0 26px; border-right: 0; border-top: 1px solid var(--rule); }
  .fig:first-child { border-top: 0; }
  .fig .num { margin: 18px 0 14px; }
  .sheet-txt { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 20px 18px; }
  .cartouche { grid-template-columns: 1fr 1fr; }
  .cartouche > div:last-child { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .plan-board .cartouche > div:last-child { grid-column: auto; border-top: 0; }
  .plan-board .cartouche { grid-template-columns: 1.4fr 1fr 1fr; }
  .spec > div { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .qa summary { grid-template-columns: 36px minmax(0, 1fr) 20px; }
  .vw-top { padding: 8px 10px 8px 12px; gap: 8px 12px; }
  .vw-ttl, .vw-tools .seg:first-child { display: none; }
  .vc-facts div { padding: 7px 0; }
  .vc-rooms th, .vc-rooms td { padding: 4px 0; }
  .vc-trace { margin-top: 10px; padding: 8px 10px; }
  .vw-tools .seg i, .vw-tools .tgl { padding: 6px 8px; font-size: 11px; }
  .vw-card { padding: 16px 16px; }
  .vw-card h3 { font-size: 19px; }
  .vc-sub { margin-bottom: 12px; }
  .vw-crumbs { left: 10px; top: 10px; }
  .vw-pin { padding: 3px 7px 4px; }
  .vw-pin span { font-size: 11px; }
  .vw-pin b { font-size: 10.5px; }
  .vw-pin.is-minor { display: none; }
  .vw-crumbs span { font-size: 10px; padding: 2px 6px; }
  .vw-fake { right: 10px; bottom: 8px; font-size: 9px; }
  .vw-cursor svg { display: none; }
  .vw-cursor::after { content: ""; position: absolute; left: -11px; top: -11px; width: 22px; height: 22px; border-radius: 50%; background: rgba(13, 23, 38, .28); border: 2px solid #fff; box-shadow: 0 2px 6px rgba(13, 23, 38, .3); }
  .vw-play { width: 50px; }
  .deliver-note { font-size: 16px; }
  .dt-tab { padding: 16px 12px 18px; }
  .dt-tab:first-child, .dt-tab:nth-child(3) { padding-left: 0; }
  .dt-copy > p { font-size: 16.5px; }
  .qa details p { padding: 0 0 26px 48px; }
  .plan { padding: 30px 22px; }
  .foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* en-tête des petits téléphones : logo, langue, bouton et menu tiennent dans la barre ; sous 430 px le bouton d'estimation reste dans le héro et le menu */
@media (max-width: 480px) {
  .nav .brand svg { height: 24px; }
  .nav-cta .btn-sm { font-size: 13.5px; }
  .nav-cta .btn-sm .btn-l { padding: 0 12px; }
}
@media (max-width: 429px) {
  .nav-cta .btn-sm { display: none; }
}

/* écrans courts (téléphone dans une app, barre d'outils visible) : le texte du héro reste entier */
@media (max-width: 1023px) and (max-height: 760px) {
  .hero3d .hero-copy { padding-top: calc(var(--header-h) + 30px); }
  .hero3d .hero-copy .eyebrow { margin-bottom: 14px; }
  .hero3d .hero-copy h1 { font-size: clamp(30px, 6.3vh, 40px); margin-bottom: 14px; }
  .hero3d .hero-copy .lead { font-size: 15.5px; line-height: 1.5; margin-bottom: 20px; }
  .hero3d .hero-copy .btn-lg { min-height: 50px; font-size: 15.5px; }
  .hero3d .hero-copy .btn-lg .btn-i { width: 50px; }
  .hero3d .hero-copy .cta-row { gap: 10px; }
  .hero3d .hero-chapters { top: calc(var(--header-h) + 26px); }
  .ch-in p { font-size: clamp(24px, 5.4vh, 34px); }
}

/* --- entrées / sorties (fin de la section Plans 3D) ----------------- */
.io { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(24px, 3.4vw, 56px); align-items: start; margin-top: clamp(72px, 8vw, 128px); padding-top: clamp(32px, 3vw, 44px); border-top: 1px solid var(--rule); }
.io-k { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.io-k span { color: var(--accent-ink); }
.io-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.io-tags li { font-family: var(--mono); font-size: 12.5px; letter-spacing: .02em; color: var(--ink); border: 1px solid var(--line); background: var(--white); padding: 6px 10px; border-radius: 2px; }
.io-txt { margin-top: 18px; max-width: 32em; font-size: 15.5px; line-height: 1.6; color: var(--slate); }
.io-arrow { align-self: center; display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--rule); border-radius: 50%; color: var(--accent-ink); }
.io-arrow svg { width: 18px; height: 18px; }
@media (max-width: 767px) {
  .io { grid-template-columns: minmax(0, 1fr); }
  .io-arrow { justify-self: start; transform: rotate(90deg); width: 44px; height: 44px; }
}

/* --- pages secondaires : contact, mentions légales, 404 -------------- */
.sub-main { padding: calc(var(--header-h) + clamp(64px, 8vw, 128px)) 0 var(--section); }
.sub-main h1 { font-size: clamp(40px, 4.6vw, 72px); margin-top: 26px; }
.sub-main .lead { margin-top: 26px; }

.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 56px; align-items: start; }
.contact-intro { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 48px); }
.contact-facts { margin-top: 44px; border-top: 1px solid var(--rule); }
.contact-facts div { display: grid; grid-template-columns: 10.5em minmax(0, 1fr); gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--rule); }
.contact-facts dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--gray); padding-top: 3px; }
.contact-facts dd { color: var(--ink); font-size: 15.5px; line-height: 1.5; }
.contact-facts a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.cform, .cform-done { grid-column: 7 / -1; }
.cform { background: var(--white); border: 1px solid var(--line); border-radius: 2px; padding: clamp(24px, 3vw, 44px); }
.cform fieldset { border: 0; padding: 0; margin: 0 0 34px; min-width: 0; }
.cform legend { display: flex; align-items: center; gap: 12px; width: 100%; padding: 0 0 14px; margin-bottom: 22px; border-bottom: 1px solid var(--rule); font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.cform legend span { color: var(--accent-ink); }
.cform legend i, .cf-l i { font-style: normal; font-family: var(--font); font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--gray-2); }
.cf { display: block; margin-bottom: 20px; }
.cf-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 20px; }
.cf-l { display: block; margin-bottom: 8px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--slate); }
.cform input:not([type="file"]):not([type="hidden"]), .cform select, .cform textarea {
  display: block; width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 2px;
  background: var(--paper); color: var(--ink); font: inherit; font-size: 16px; line-height: 1.4;
  transition: border-color .3s var(--e-out), background-color .3s var(--e-out), box-shadow .3s var(--e-out);
}
.cform textarea { min-height: 156px; resize: vertical; }
.cform select {
  -webkit-appearance: none; appearance: none; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230D1726' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 12px 8px;
}
.cform input:hover, .cform select:hover, .cform textarea:hover { border-color: var(--gray-2); }
.cform input:not([type="file"]):focus, .cform select:focus, .cform textarea:focus { outline: none; border-color: var(--ink); background-color: var(--white); box-shadow: 0 0 0 3px var(--accent-tint); }
.cform [aria-invalid="true"] { border-color: var(--accent-ink) !important; }
.cform ::placeholder { color: var(--gray-2); opacity: 1; }
.cf-err { display: block; margin-top: 7px; font-size: 13.5px; line-height: 1.4; color: var(--accent-ink); }
.cf-err:empty { display: none; }
.cf-unit { position: relative; display: block; }
.cf-unit b { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 13px; font-weight: 400; color: var(--gray); pointer-events: none; }
.cform .cf-unit input { padding-right: 46px; -moz-appearance: textfield; }
.cf-unit input::-webkit-outer-spin-button, .cf-unit input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cform input[type="file"] { display: block; width: 100%; padding: 16px; border: 1px dashed var(--gray-2); border-radius: 2px; background: var(--paper); font-size: 14.5px; color: var(--slate); cursor: pointer; }
.cform input[type="file"]::file-selector-button { margin-right: 14px; padding: 10px 16px; border: 1px solid var(--ink); border-radius: 2px; background: var(--white); color: var(--ink); font: 600 14.5px var(--font); cursor: pointer; transition: background-color .3s var(--e-out), color .3s var(--e-out); }
.cform input[type="file"]:hover::file-selector-button { background: var(--ink); color: var(--white); }
.cf-h { margin-top: 10px; font-size: 13.5px; line-height: 1.5; color: var(--gray); }
.cf-files { margin-top: 12px; font-family: var(--mono); font-size: 12.5px; color: var(--slate); }
.cf-files li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line-2); }
.cf-files li span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cf-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.cf-send { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding-top: 6px; }
.cf-note { max-width: 30em; font-size: 13.5px; line-height: 1.5; color: var(--gray); }
.cf-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.cform button[disabled] { opacity: .65; cursor: progress; }
.cf-status { margin-top: 18px; font-size: 14.5px; line-height: 1.5; color: var(--accent-ink); }
.cf-status:empty { display: none; }
.cform-done { display: none; padding: clamp(28px, 3.4vw, 48px); background: var(--white); border: 1px solid var(--line); border-radius: 2px; }
.cform-done:target, .cform-done.is-on { display: block; }
.cform-done:target + .cform { display: none; }
.cform-done h2 { font-size: clamp(30px, 3vw, 44px); margin-top: 22px; }
.cform-done .lead { margin-top: 18px; }
.cform-done .btn { margin-top: 30px; }
.cform-done:focus { outline: none; }
@media (max-width: 1023px) {
  .contact-intro, .cform, .cform-done { grid-column: 1 / -1; }
  .contact-intro { position: static; }
}
@media (max-width: 600px) {
  .cf-2 { grid-template-columns: minmax(0, 1fr); }
  .contact-facts div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .cf-send .btn { width: 100%; }
  .cf-send .btn .btn-l { flex: 1; }
}

.legal { max-width: 48rem; }
.legal-date { margin-top: 18px; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 40px; padding: 18px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-family: var(--mono); font-size: 12px; letter-spacing: .07em; text-transform: uppercase; }
.legal-toc a { color: var(--ink); }
.legal-toc a:hover { color: var(--accent-ink); }
.legal section { padding-top: 52px; scroll-margin-top: 112px; }
.legal h2 { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; letter-spacing: -.02em; margin-bottom: 18px; }
.legal h3 { font-size: 18px; line-height: 1.3; letter-spacing: -.01em; margin: 26px 0 8px; }
.legal p, .legal li { font-size: 16.5px; line-height: 1.7; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 10px 0 0; padding-left: 1.2em; }
.legal li + li { margin-top: 4px; }
.legal a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal dl { display: grid; grid-template-columns: 13em minmax(0, 1fr); gap: 10px 22px; margin-top: 18px; }
.legal dt { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--gray); padding-top: 5px; }
.legal dd { color: var(--ink); font-size: 16.5px; line-height: 1.6; }
@media (max-width: 600px) {
  .legal dl { grid-template-columns: minmax(0, 1fr); gap: 2px 0; }
  .legal dd { margin-bottom: 12px; }
}
.nf .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.nf .mono { margin-top: 28px; }
.nf .mono a { text-decoration: underline; text-underline-offset: 3px; }

/* mouvement réduit : les planches ne sont plus collantes, aucun décalage (la règle tablette/mobile remettait un « top ») */
@media (prefers-reduced-motion: reduce) {
  .sheet { top: auto; }
}

/* --- colonnes de gauche fixes au défilement (02 et FAQ) : elles couvrent toute la hauteur de leur rangée,
   sinon le texte ne peut pas rester en place pendant que les planches défilent --- */
.method-side, .faq-side { align-self: stretch; }
.fineprint a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; white-space: nowrap; }
.fineprint a:hover { color: var(--accent-ink); }

/* --- sous-menus de l'en-tête (motif « disclosure ») : un bouton ouvre un panneau de liens --- */
.nl-group { position: relative; }
.nl-link { display: inline-flex; align-items: center; }
.nl-btn { display: inline-flex; align-items: center; gap: 7px; background: none; border: 0; border-radius: 0; cursor: pointer; font-family: inherit; line-height: inherit; }
.nl-chev { width: 10px; height: 6px; transition: transform .35s var(--e-out); }
.nl-btn[aria-expanded="true"] .nl-chev { transform: rotate(180deg); }
.nl-panel {
  position: absolute; top: calc(100% + 20px); left: -20px; z-index: 2; width: max-content; min-width: 300px; max-width: 380px;
  padding: 8px; background: var(--white); border: 1px solid var(--rule); border-radius: 3px;
  box-shadow: 0 28px 64px -30px rgba(13, 23, 38, .4);
}
.nl-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
.nl-panel[hidden] { display: none; }
.nl-panel.is-open { animation: nl-in .3s var(--e-out); }
@keyframes nl-in { from { opacity: 0; transform: translateY(-6px); } }
.nl-panel--end { left: auto; right: -20px; }
.nl-list { margin: 0; padding: 0; list-style: none; }
.nl-list a {
  display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: baseline; padding: 10px 12px; border-radius: 2px;
  font-size: 15px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; color: var(--ink); transition: background-color .2s;
}
.nl-list a:hover { background: var(--paper); }
.nl-list a:hover .nl-t { color: var(--accent-ink); }
.nl-no { font-family: var(--mono); font-size: 11.5px; font-weight: 400; letter-spacing: .06em; color: var(--accent-ink); }
.nl-t { transition: color .2s; }
.nl-t small { display: block; margin-top: 3px; font-size: 13px; font-weight: 400; letter-spacing: 0; line-height: 1.4; color: var(--gray); }
.nl-cap {
  display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: baseline; margin: 0; padding: 10px 12px 4px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--slate);
}
.nl-sub a { display: block; padding: 7px 12px 7px 42px; font-size: 14.5px; font-weight: 500; }
.nl-sep { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line-2); }
@media (prefers-reduced-motion: reduce) { .nl-panel.is-open { animation: none; } .nl-chev { transition: none; } }

/* --- adresse e-mail copiée au clic (repli sans logiciel de messagerie) --- */
.copy-toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 300;
  transform: translate(-50%, 12px); opacity: 0; pointer-events: none;
  max-width: calc(100vw - 32px); padding: 12px 16px; border-radius: 2px;
  background: var(--ink); color: var(--white); font-size: 14px; line-height: 1.4;
  box-shadow: 0 10px 30px rgba(13, 23, 38, .2);
  transition: opacity .3s var(--e-out), transform .3s var(--e-out);
}
.copy-toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .copy-toast { transition: none; } }

/* 05 · logiciel sur mesure (06.11.2026) */
.pillars--4 { margin-top: clamp(56px, 6vw, 96px); }
@media (min-width: 1024px) { .pillars--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 600px) and (max-width: 1023px) {
  .pillars--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px var(--gut); }
}
.soft-deal { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; margin-top: clamp(56px, 6vw, 96px); padding-top: 28px; border-top: 1px solid var(--rule); }
.soft-facts { display: grid; grid-template-columns: repeat(4, minmax(0, auto)); gap: 18px clamp(24px, 3vw, 48px); }
.soft-facts dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 6px; }
.soft-facts dd { font-size: 16px; color: var(--ink); max-width: 18em; }
.fineprint + .fineprint { margin-top: 8px; }
@media (max-width: 1023px) { .soft-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .soft-deal .btn { flex: 1 1 100%; justify-content: space-between; } }
/* carte Export de la démonstration : 7 lignes tiennent sur mobile (lien de consultation ajouté) */
@media (max-width: 599px) { .vc-files { gap: 4px; } .vc-files li { padding-top: 6px; padding-bottom: 6px; } }

/* héros : corrections d'affichage (07.11.2026) — rien de coupé ni de recouvert, du 320 × 568 au 2560 × 1440, portrait et paysage */
/* ordinateurs peu hauts : chapitres et fiches resserrés pour laisser la place à la progression */
@media (min-width: 1024px) and (max-height: 700px) {
  .hero3d .hero-stage { --ch-top: calc(var(--header-h) + clamp(24px, 9vh - 22px, 70px)); }
  .hero3d .hero-cards { gap: 8px; top: calc(var(--ch-top) + 36px + var(--ch-fs) * 4.16 + 18px); }
  .hero3d .hero-cards li { padding: 9px 14px 10px; }
  .hero3d .hero-cards b { font-size: 15px; }
}
/* la ligne de preuves (déjà masquée sur mobile) cède sa place quand la hauteur manque */
@media (min-width: 1024px) and (max-height: 640px), (min-width: 1024px) and (max-width: 1199px) and (max-height: 820px) {
  .hero3d .proof-row { display: none; }
}
/* mobile et tablette : les fiches restent au-dessus du crédit de la maquette */
@media (max-width: 1023px) {
  .hero3d .hero-cards { bottom: max(38px, calc(env(safe-area-inset-bottom) + 16px)); }
}
/* téléphone à l'horizontale : la scène tient dans l'écran */
@media (max-width: 1023px) and (max-height: 500px) {
  .hero3d .hero-stage { min-height: 300px; }
  .hero3d .hero-copy { padding-top: calc(var(--header-h) + 24px); }
  .hero3d .hero-copy .eyebrow { display: none; }
  .hero3d .hero-copy h1 { font-size: clamp(24px, 7.4vh, 32px); margin-bottom: 10px; }
  .hero3d .hero-copy .lead { font-size: 14px; line-height: 1.42; margin-bottom: 12px; }
  .hero3d .hero-copy .btn-lg { min-height: 44px; font-size: 14.5px; }
  .hero3d .hero-copy .btn-lg .btn-i { width: 44px; }
  .hero3d .hero-copy .cta-row .btn { flex: 0 1 auto; }
  .hero3d .hero-copy .film-cta { margin-top: 8px; padding: 4px 14px 4px 4px; gap: 12px; }
  .hero3d .hero-copy .film-cta-thumb { width: 64px; height: 36px; }
  .hero3d .hero-chapters { top: calc(var(--header-h) + 16px); }
}
/* 320 px de large : le crédit passe sur deux lignes, les fiches remontent d'autant */
@media (max-width: 359px) {
  .hero3d .hero-cards { bottom: max(52px, calc(env(safe-area-inset-bottom) + 16px)); }
}
/* petits téléphones (320 px de large, ou portrait de moins de 600 px de haut) */
@media (max-width: 359px), (max-width: 1023px) and (max-height: 600px) and (orientation: portrait) {
  .hero3d .hero-copy .eyebrow { display: none; }
  .hero3d .hero-copy h1 { font-size: clamp(26px, 5.6vh, 34px); }
  .hero3d .hero-copy .lead { font-size: 14.5px; line-height: 1.45; margin-bottom: 16px; }
  .hero3d .hero-copy .btn-lg { min-height: 44px; font-size: 14.5px; }
  .hero3d .hero-copy .btn-lg .btn-i { width: 44px; }
  .hero3d .hero-copy .film-cta { margin-top: 12px; }
  .hero3d .hero-copy .film-cta-thumb { width: 72px; height: 41px; }
}


/* film de marque : bouton du héros, carte de « Qui sommes-nous », lecteur en fenêtre (jamais de lecture automatique) */
.film-cta { display: inline-flex; align-items: center; gap: 16px; margin-top: 22px; padding: 6px 20px 6px 6px; background: rgba(255, 255, 255, .55); border: 1px solid var(--rule); border-radius: 2px; color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: border-color .4s var(--e-out), background-color .4s var(--e-out); }
.film-cta:hover { border-color: var(--ink); background: var(--white); }
.film-cta-thumb { position: relative; display: block; width: 112px; height: 63px; flex: none; overflow: hidden; background: var(--ink); }
.film-cta-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--e-out); }
.film-cta:hover .film-cta-thumb img { transform: scale(1.07); }
.film-cta-play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(13, 23, 38, .22); }
.film-cta-play::before { content: ""; grid-area: 1 / 1; width: 32px; height: 32px; background: var(--accent); transition: transform .5s var(--e-out); }
.film-cta-play svg { position: relative; z-index: 1; grid-area: 1 / 1; width: 10px; height: 12px; margin-left: 2px; color: var(--white); transition: transform .5s var(--e-out); }
.film-cta:hover .film-cta-play::before, .film-cta:hover .film-cta-play svg { transform: scale(1.1); }
.film-cta-txt { display: grid; gap: 5px; }
.film-cta-t { font-weight: 600; font-stretch: 104%; font-size: 16px; line-height: 1.1; }
.film-cta-m { font-family: var(--mono); font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--gray); }
/* héros sur les ordinateurs peu hauts (1366 × 768, 1280 × 720…) : titre, marges et vignette suivent la hauteur, identiques à partir de 900 px */
@media (min-width: 1024px) {
  .hero3d .hero-copy .eyebrow { margin-bottom: clamp(16px, 2.9vh, 26px); }
  .hero3d .hero-copy h1 { font-size: clamp(40px, min(5.15vw, 8.6vh), 84px); margin-bottom: clamp(16px, 3.1vh, 28px); }
  .hero3d .hero-copy .lead { margin-bottom: clamp(22px, 4vh, 36px); }
  .hero3d .hero-copy .film-cta { margin-top: clamp(12px, 2.4vh, 22px); }
  .hero3d .hero-copy .film-cta-thumb { width: clamp(80px, 12.4vh, 112px); height: auto; aspect-ratio: 16 / 9; }
  .hero3d .hero-copy .proof-row { margin-top: clamp(16px, 3.3vh, 30px); }
}
/* carte du film dans « Qui sommes-nous » */
.film-card { grid-column: 1 / -1; display: block; width: 100%; margin-top: 10px; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.film-card-img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper); border: 1px solid var(--rule); }
.film-card-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--e-out); }
.film-card:hover .film-card-img img { transform: scale(1.04); }
.film-card-play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 64px; height: 64px; margin: -32px 0 0 -32px; background: var(--accent); color: var(--white); transition: transform .5s var(--e-out); }
.film-card-play svg { width: 15px; height: 18px; margin-left: 3px; }
.film-card:hover .film-card-play { transform: scale(1.08); }
.film-card-cap { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 16px; }
.film-card-t { font-weight: 600; font-stretch: 104%; font-size: 17px; line-height: 1.2; }
.film-card-m { font-family: var(--mono); font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--gray); white-space: nowrap; }
@media (min-width: 1024px) {
  .mission-head .film-card { grid-column: 1 / span 5; grid-row: 3; align-self: start; margin-top: 30px; }
}
@media (max-width: 640px) {
  .film-card-play { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
  .film-card-cap { flex-direction: column; gap: 6px; margin-top: 12px; }
}
html.film-open, html.film-open body { overflow: hidden; }
.film-dlg { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: clamp(14px, 4vw, 56px); border: 0; background: transparent; color: var(--white); }
.film-dlg[open] { display: grid; place-items: center; }
.film-dlg:focus { outline: none; }
.film-dlg::backdrop { background: rgba(13, 23, 38, .94); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.film-dlg-in { width: min(1280px, 100%, calc((100vh - 150px) * 16 / 9)); width: min(1280px, 100%, calc((100svh - 150px) * 16 / 9)); animation: film-in .5s var(--e-out) both; }
@keyframes film-in { from { opacity: 0; transform: translate3d(0, 14px, 0) scale(.985); } }
.film-dlg-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.film-dlg-k { margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: .09em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.film-dlg-k span:first-child { color: var(--accent-on-dark); }
.film-dlg-x { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; background: none; border: 1px solid rgba(255, 255, 255, .28); border-radius: 2px; color: var(--white); font-family: var(--mono); font-size: 12px; letter-spacing: .09em; text-transform: uppercase; cursor: pointer; transition: border-color .3s var(--e-out); }
.film-dlg-x:hover { border-color: var(--white); }
.film-dlg-x svg { width: 11px; height: 11px; }
.film-dlg-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.film-video { display: block; width: 100%; height: 100%; background: #000; }
.film-end { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; padding: 24px; background: rgba(13, 23, 38, .88); text-align: center; }
.film-end[hidden] { display: none; }
.film-end-k { margin: 0; color: var(--white); font-weight: 600; font-stretch: 108%; font-size: clamp(20px, 2.6vw, 34px); letter-spacing: -.02em; line-height: 1.1; }
.film-end .cta-row { justify-content: center; }
.film-end button.btn-outline-light { background: transparent; font: inherit; cursor: pointer; }
@media (max-width: 640px) {
  .film-cta { margin-top: 18px; width: 100%; }
  .film-dlg-k { font-size: 11px; }
  .film-dlg-k .film-dlg-long { display: none; }
  .film-end { gap: 0; padding: 12px; }
  .film-end-k, .film-end .film-end-long, .film-end .btn-i { display: none; }
  .film-end .cta-row { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 8px; width: 100%; max-width: 290px; }
  .film-end .btn-lg { min-height: 46px; font-size: 14px; justify-content: center; }
  .film-end .btn-lg .btn-l { padding: 0 16px; }
}
/* écrans très peu hauts (téléphone à l'horizontale) : vidéo plus grande, écran de fin compact */
@media (max-height: 500px) {
  .film-dlg { padding: 8px 20px; }
  .film-dlg-in { width: min(1280px, 100%, calc((100vh - 64px) * 16 / 9)); width: min(1280px, 100%, calc((100svh - 64px) * 16 / 9)); }
  .film-dlg-top { margin-bottom: 6px; }
  .film-dlg-x { padding: 6px 10px; }
  .film-dlg-k .film-dlg-long { display: none; }
}
@media (max-height: 420px) {
  .film-end { gap: 0; padding: 12px; }
  .film-end-k, .film-end .film-end-long, .film-end .btn-i { display: none; }
  .film-end .cta-row { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 8px; width: 100%; max-width: 290px; }
  .film-end .btn-lg { min-height: 44px; font-size: 14px; justify-content: center; }
  .film-end .btn-lg .btn-l { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) { .film-dlg-in { animation: none; } .film-cta-thumb img, .film-cta-play::before, .film-cta-play svg, .film-card-img img, .film-card-play { transition: none; } }

/* Vue « quartier » (onglet Collectivités, 10.11.2026) */
.dt-wide { grid-column: 1 / -1; margin: 0; }
.dt-wide-img { display: block; background: var(--white); border: 1px solid var(--ink); box-shadow: 0 40px 80px -60px rgba(13, 23, 38, .45); overflow: hidden; }
.dt-wide-img img { display: block; width: 100%; height: auto; }
.dt-wide figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-top: 14px; font-size: 14.5px; line-height: 1.45; color: var(--slate); }
.dt-wide-k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.dt-wide figcaption i { display: inline-block; width: 10px; height: 10px; background: var(--accent); margin: 0 6px 0 2px; }
.dt-wide figcaption em { margin-left: auto; font-style: normal; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); border: 1px dashed var(--accent); padding: 1px 6px; white-space: nowrap; }
@media (max-width: 720px) { .dt-wide figcaption em { margin-left: 0; } }
/* Titre du héros plus long (10.11.2026) : tailles revues pour garder 4 lignes sur ordinateur */
.nw { white-space: nowrap; }
@media (min-width: 1024px) { .hero-copy h1, .hero3d .hero-copy h1 { font-size: clamp(34px, min(3.55vw, 6vh), 60px); } }
@media (max-width: 1023px) { .hero-copy h1 { font-size: clamp(30px, 8.2vw, 46px); } }
@media (max-width: 1023px) and (max-height: 760px) { .hero3d .hero-copy h1 { font-size: clamp(25px, 4.6vh, 33px); } }
@media (max-width: 359px), (max-width: 1023px) and (max-height: 600px) and (orientation: portrait) { .hero3d .hero-copy h1 { font-size: clamp(22px, 4.3vh, 27px); } }
@media (max-width: 1023px) and (max-height: 500px) { .hero3d .hero-copy h1 { font-size: clamp(19px, 5.4vh, 24px); } }
/* Repère de section (10.11.2026) : vertical, centré dans la marge gauche, pour ne plus passer sur le texte */
.sec-ind { left: calc((var(--pad) - 11px) / 2); bottom: 24px; gap: 10px; line-height: 1; writing-mode: vertical-rl; transform: rotate(180deg) translate3d(0, -8px, 0); }
.sec-ind.is-on { transform: rotate(180deg) translate3d(0, 0, 0); }
.sec-ind.is-on.is-hide { opacity: 0; }

/* anti-spam du formulaire (10.11.2026) : lien du message sans JavaScript */
.cf-status a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Espace client (10.11.2026) : visuel de la visionneuse à droite, sous le texte en mobile */
.client-shot { grid-column: 7 / -1; margin: 0; }
.client-shot img { display: block; width: 100%; height: auto; background: var(--white); border: 1px solid var(--line); border-radius: 2px; }
.client-shot figcaption { margin-top: 16px; font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.client-shot .cta-row { margin-top: 30px; }
@media (max-width: 1023px) {
  .client-shot { grid-column: 1 / -1; }
}

/* héros : bouton secondaire opaque, lisible là où il passe sur le plan (11.11.2026) */
.hero .cta-row .btn-ghost { background: var(--paper); }
/* héros : sur les écrans plutôt hauts ou étroits, les deux boutons passent l'un sous l'autre pour ne jamais toucher la maquette animée (mesuré de 1024 à 1920 px, 11.11.2026) */
@media (min-width: 1024px) and (max-aspect-ratio: 3/2), (min-width: 1024px) and (max-width: 1365px) and (max-aspect-ratio: 162/100) {
  .hero-copy .cta-row { flex-direction: column; flex-wrap: nowrap; align-items: stretch; width: max-content; max-width: 100%; }
}

/* === 08 · Tarifs simplifiés : bande de démo (11.11.2026) =================== */
/* --- héros et appel final : ligne de réassurance sous les boutons --- */
.cta-note { margin-top: 14px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .05em; line-height: 1.5; color: var(--gray); }
.on-dark .cta-note { color: var(--on-dark-2); }
.cta-row .cta-note { flex: 1 1 100%; margin-top: 2px; }
@media (max-width: 1023px) { .hero3d .hero-copy .cta-note { margin-top: 10px; } }

/* --- bande de démo : sous la démo animée (04) et sous la grille (08) --- */
.demo-band {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px clamp(28px, 4vw, 64px);
  margin-top: clamp(40px, 4.5vw, 64px); padding: 28px 32px; background: var(--white); border: 1px solid var(--ink); border-radius: 2px;
}
.demo-band .db-t { max-width: 40em; font-size: clamp(17px, 1.35vw, 19.5px); line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.db-cta { display: grid; justify-items: start; gap: 10px; }
.db-cta .btn { justify-content: space-between; }
.db-cta .cta-note { margin: 0; }
@media (max-width: 1023px) {
  .demo-band { grid-template-columns: minmax(0, 1fr); padding: 26px 22px; gap: 20px; }
  .db-cta { justify-items: stretch; }
}


/* FAQ : lien dans une réponse, repérable sans la couleur */
.qa details p a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.qa details p a:hover { color: var(--accent-ink); }

/* ==========================================================================
   Tarifs · « Ce qui est compris » et calcul du prix selon la surface (11.11.2026)
   Cartes : prototype de l'agent 2 (commande.css) ; calcul : mêmes curseur et paliers que la commande de l'espace client.
   ========================================================================== */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 1024px) {
    /* les rangées des trois cartes restent alignées : ouvrir une liste descend les trois boutons ensemble */
    .plans.has-incl { grid-template-rows: repeat(8, auto); }
    .plans.has-incl > .plan { display: grid; grid-row: span 8; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
    .plans.has-incl > .plan > .btn { margin-top: 0; align-self: end; }
    .plans.has-incl > .plan > .incl { align-self: start; }
  }
}
.plans.has-incl .plan .btn { width: 100%; }
.incl { margin: 0 0 22px; border-top: 1px solid var(--line); }
.plan.featured .incl { border-top-color: rgba(255, 255, 255, .16); }
.incl > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 48px; padding: 10px 0; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
}
.incl > summary::-webkit-details-marker { display: none; }
.plan.featured .incl > summary { color: var(--white); }
.incl > summary:hover { color: var(--accent-ink); }
.plan.featured .incl > summary:hover { color: var(--accent-on-dark); }
.incl > summary:focus-visible { outline-offset: 2px; }
.incl-i { position: relative; width: 14px; height: 14px; flex: none; }
.incl-i::before, .incl-i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; transition: transform .45s var(--e-out); }
.incl-i::after { transform: rotate(90deg); }
.incl[open] .incl-i::after { transform: rotate(0deg); }
.plan .incl-l { display: grid; gap: 10px; margin: 4px 0 0; padding: 0; }
.plan .incl-l li { font-size: 14.5px; line-height: 1.5; }
.plan .incl-r { display: grid; gap: 6px; margin: 16px 0 4px; padding: 14px 0 0; border-top: 1px dashed var(--line); }
.plan.featured .incl-r { border-top-color: rgba(255, 255, 255, .16); }
.plan .incl-r li { padding-left: 20px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .03em; line-height: 1.5; color: var(--slate); }
.plan.featured .incl-r li { color: var(--on-dark); }
.plan .incl-r li::before { top: 5px; width: 8px; height: 8px; border: 0; background: var(--accent); transform: none; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.plan.featured .incl-r li::before { background: var(--accent-on-dark); }
.plan.featured .price-note { color: var(--on-dark-2); }

/* surface du bâtiment : une seule saisie, le prix de chaque carte se calcule en direct */
.prix-bar { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 10px 40px; align-items: start; margin: 0 0 18px; padding: 26px 32px 22px; border: 1px solid var(--ink); background: var(--white); scroll-margin-top: calc(var(--header-h) + 24px); }
.prix-lab { display: block; margin: 0 0 10px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.prix-u { position: relative; display: block; }
.prix-u input { width: 100%; height: 52px; padding: 0 52px 0 16px; border: 1px solid var(--ink); border-radius: 2px; background: var(--white); font: 600 22px/1 var(--font); color: var(--ink); font-variant-numeric: tabular-nums; }
.prix-u input::placeholder { color: var(--gray); font-weight: 400; }
.prix-u input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.prix-u b { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 13px; font-weight: 400; color: var(--slate); pointer-events: none; }
.prix-bar.is-err .prix-u input { border-color: var(--accent-ink); box-shadow: inset 0 0 0 1px var(--accent-ink); }
.prix-r { padding-top: 22px; }
.prix-range { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 44px; margin: 0; padding: 0; border: 0; background: transparent; cursor: pointer; --f: 0; }
.prix-range::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(to right, var(--accent) 0 calc(12px + (100% - 24px) * var(--f)), var(--gray) calc(12px + (100% - 24px) * var(--f)) 100%); }
.prix-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; margin-top: -11px; border: 2px solid var(--ink); border-radius: 2px; background: var(--white); box-shadow: 0 6px 16px -8px rgba(13, 23, 38, .5); transition: background-color .25s var(--e-out), transform .35s var(--e-spring); }
.prix-range:active::-webkit-slider-thumb { transform: scale(1.12); background: var(--accent); }
.prix-range::-moz-range-track { height: 2px; background: var(--gray); }
.prix-range::-moz-range-progress { height: 2px; background: var(--accent); }
.prix-range::-moz-range-thumb { width: 20px; height: 20px; border: 2px solid var(--ink); border-radius: 2px; background: var(--white); }
.prix-range:focus { outline: none; }
.prix-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--accent); }
.prix-range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--accent); }
@media (forced-colors: active) { .prix-range:focus-visible { outline: 2px solid CanvasText; outline-offset: 2px; } }
.prix-ticks { position: relative; height: 22px; margin: 2px 12px 0; font-family: var(--mono); font-size: 11px; color: var(--slate); }
.prix-ticks span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; padding-top: 8px; }
.prix-ticks span::before { content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 6px; background: var(--gray); }
.prix-ticks span:first-child { transform: none; }
.prix-ticks span:first-child::before { left: 0; }
.prix-ticks span:last-child { transform: translateX(-100%); }
.prix-ticks span:last-child::before { left: auto; right: 0; }
.prix-bar .prix-r { display: none; }
.prix-bar.is-on .prix-r { display: block; }
.prix-h { grid-column: 1 / -1; margin: 4px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--slate); }
.prix-bar.is-err .prix-h { color: var(--accent-ink); }
/* prix des cartes une fois la surface connue */
.plan .price .t { font-variant-numeric: tabular-nums; }
.plan .price.is-total { letter-spacing: -.03em; }
/* case « J'ai déjà une maquette » : dans le formulaire de contact (Eak, 11.11, 19 h 38) */
.cf-chk { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 22px; font-size: 15px; line-height: 1.45; color: var(--ink); cursor: pointer; }
.cf-chk input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent-ink); cursor: pointer; }
.cf-chk small { display: block; margin-top: 4px; font-size: 13.5px; color: var(--gray); }
.plan .price-note .rep { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; font-family: var(--font); font-size: 13.5px; letter-spacing: 0; line-height: 1.45; color: var(--ink); cursor: pointer; }
.plan .price-note .rep input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--accent-ink); cursor: pointer; }
@media (max-width: 860px) {
  .prix-bar { grid-template-columns: 1fr; padding: 22px 20px 18px; }
  .prix-r { padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .incl-i::before, .incl-i::after, .prix-range::-webkit-slider-thumb { transition: none; }
}
/* conditions générales de vente (cgv.html, en/terms-of-sale.html) et impression des pages légales (12.11.2026) */
.legal-see { margin-top: 14px; }
.legal .cgv-ver { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.legal .cgv-ver div { flex: 1 1 12em; padding: 14px 18px 16px; border: 1px solid var(--rule); border-left: 3px solid var(--accent); background: var(--white); }
.legal .cgv-ver dt { padding-top: 0; }
.legal .cgv-ver dd { margin: 6px 0 0; font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.legal p.cgv-liens { margin-top: 18px; font-size: 15px; color: var(--slate); }
.legal p.cgv-portee { margin-top: 12px; font-size: 15.5px; line-height: 1.6; color: var(--slate); }
.legal .cgv-ver + p.cgv-portee { margin-top: 22px; }
.legal section ul + p { margin-top: 12px; }
.legal section strong { font-weight: 600; }
.legal section.cgv-annexe { margin-top: 56px; border-top: 1px solid var(--rule); }
.cgv-toc { margin-top: 44px; }
.legal .cgv-toc-t { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--gray); margin: 0 0 6px; }
.cgv-toc ol { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 32px; border-top: 1px solid var(--rule); }
.legal .cgv-toc li { margin: 0; break-inside: avoid; font-size: 15px; line-height: 1.4; }
.legal .cgv-toc a { display: flex; gap: 12px; align-items: baseline; min-height: 44px; padding: 11px 0; border-bottom: 1px solid var(--line-2); text-decoration: none; color: var(--ink); }
.legal .cgv-toc a:hover { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.cgv-toc-no { flex: none; font-family: var(--mono); font-size: 12px; color: var(--gray); font-variant-numeric: tabular-nums; }
.legal.cgv h2 { text-wrap: balance; }
.art-no { display: block; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 8px; }
.legal p.cgv-top { margin-top: 14px; }
.cgv-top a { display: inline-block; padding: 6px 0; font-family: var(--mono); font-size: 12px; letter-spacing: .07em; text-transform: uppercase; }
.legal .cgv-top a { color: var(--gray); text-decoration: none; }
.legal .cgv-top a:hover { color: var(--accent-ink); }
.cgv-fin { margin-top: 64px; padding-top: 8px; border-top: 1px solid var(--rule); }
.legal .cgv-fin dd { font-size: 15px; }
.legal .cgv-fin p { font-size: 14px; color: var(--slate); margin-top: 12px; }
.print-only { display: none; }
@media (max-width: 760px) {
  .cgv-toc ol { columns: 1; }
}
@media print {
  @page { margin: 16mm 15mm 18mm; }
  .page-doc { background: #fff; color: #000; font-size: 10.5pt; }
  .page-doc .site-header, .page-doc .mobile-nav, .page-doc .site-footer, .page-doc .grain, .page-doc .skip, .page-doc .cgv-top, .page-doc .cgv-liens a, .page-doc .cgv-sep { display: none !important; }
  .page-doc .legal .cgv-ver div { background: none; border-color: #000; }
  .page-doc .sub-main { padding: 0; }
  .page-doc .wrap { max-width: none; padding-inline: 0; }
  .page-doc .legal { max-width: none; }
  .page-doc .sec-k { color: #000; }
  .page-doc .legal h1 { font-size: 22pt; line-height: 1.15; margin-top: 8pt; }
  .page-doc .legal h2 { font-size: 13pt; margin-bottom: 6pt; break-after: avoid; page-break-after: avoid; }
  .page-doc .legal h3 { font-size: 11pt; break-after: avoid; page-break-after: avoid; }
  .page-doc .legal section { padding-top: 14pt; }
  .page-doc .legal p, .page-doc .legal li, .page-doc .legal dd { font-size: 10.5pt; line-height: 1.45; color: #000; orphans: 3; widows: 3; }
  .page-doc .legal dt, .page-doc .art-no, .page-doc .cgv-toc-no, .page-doc .legal .cgv-toc-t { color: #000; }
  .page-doc .legal a { color: #000; text-decoration: none; }
  .page-doc .legal-toc { display: none; }
  .page-doc .cgv-toc { margin-top: 14pt; break-inside: avoid; }
  .page-doc .legal .cgv-toc a { min-height: 0; padding: 2pt 0; border: 0; }
  .page-doc .cgv-toc ol { border: 0; }
  .page-doc .cgv-ver, .page-doc .cgv-fin { break-inside: avoid; }
  .page-doc .legal section.cgv-annexe { break-before: page; margin-top: 0; border-top: 0; }
  .page-doc .legal section strong { font-weight: 600; }
  .page-doc .legal ul { margin-top: 4pt; }
  .page-doc .legal li + li { margin-top: 1pt; }
  .page-doc .print-only { display: block !important; }
}

/* ==========================================================================
   Tarifs · « Compris dans les trois offres » : espace client, visionneuse, demandes, accès (11.11.2026)
   Bloc .ev-box avant le calcul du prix ; ligne .ev-li en tête de chaque carte. Classes ev- nouvelles seulement
   (.ev, .ev-year, .ev-card existent déjà dans la frise réglementaire : non utilisées ici).
   ========================================================================== */
.ev-box {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  margin: 0 0 clamp(40px, 4.5vw, 64px); background: var(--white); border: 1px solid var(--ink); border-radius: 2px;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.ev-c { padding: clamp(36px, 4.2vw, 64px) clamp(24px, 4vw, 60px); display: flex; flex-direction: column; align-items: flex-start; }
.ev-k {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .09em; text-transform: uppercase; color: var(--accent-ink);
  margin-bottom: 26px;
}
.ev-k::before { content: ""; width: 14px; height: 8px; flex: none; background: var(--accent); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.ev-nw { white-space: nowrap; }
.ev-t { font-size: clamp(32px, 3.4vw, 54px); line-height: 1; letter-spacing: -.034em; font-stretch: 110%; max-width: 13em; }
.ev-d { margin-top: 24px; font-size: clamp(16.5px, 1.25vw, 18.5px); line-height: 1.55; color: var(--slate); max-width: 34em; }
.ev-l { align-self: stretch; margin: clamp(32px, 3.4vw, 44px) 0 0; padding: 0; counter-reset: none; }
.ev-l > li {
  display: grid; grid-template-columns: 44px minmax(0, 12.5em) minmax(0, 1fr); column-gap: 20px; align-items: baseline;
  padding: 18px 0 19px; border-top: 1px solid var(--line);
}
.ev-l > li:last-child { border-bottom: 1px solid var(--line); }
.ev-n { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--accent-ink); }
.ev-l h4 { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.25; letter-spacing: -.012em; font-stretch: 106%; }
.ev-l p { font-size: 15px; line-height: 1.55; color: var(--slate); }
.ev-btn { margin-top: clamp(28px, 3vw, 40px); justify-content: space-between; gap: 18px; }

/* visuel : la visionneuse sur téléphone ; tout ce qu'il montre est dit dans le texte (aria-hidden) */
.ev-fig {
  position: relative; display: grid; place-items: center; overflow: hidden;
  padding: clamp(56px, 5vw, 80px) 24px; border-left: 1px solid var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(13, 23, 38, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 23, 38, .055) 1px, transparent 1px);
  background-size: 24px 24px; background-position: -1px -1px;
}
.ev-ph {
  position: relative; width: min(100%, 304px); padding: 9px; border-radius: 42px; background: var(--ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .1) inset, 0 44px 80px -40px rgba(13, 23, 38, .5), 0 14px 28px -18px rgba(13, 23, 38, .32);
}
.ev-ph::before { content: ""; position: absolute; top: 16px; left: 50%; width: 76px; height: 21px; margin-left: -38px; border-radius: 12px; background: var(--ink); z-index: 2; }
.ev-ph-scr { position: relative; overflow: hidden; border-radius: 33px; background: var(--white); color: var(--ink); font-size: 11px; line-height: 1.35; padding-top: 42px; }
.ev-ph-top { display: flex; align-items: center; gap: 8px; padding: 0 14px 9px; border-bottom: 1px solid var(--line-2); }
.ev-ph-cube { width: 18px; height: 18px; flex: none; color: var(--ink); }
.ev-ph-name { flex: 1; font-weight: 600; font-size: 12px; font-stretch: 106%; letter-spacing: -.01em; }
.ev-ph-ic { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); }
.ev-ph-seg { display: flex; margin: 9px 14px 0; border: 1px solid var(--ink); border-radius: 2px; font-family: var(--mono); font-size: 9.5px; }
.ev-ph-seg span { flex: 1; text-align: center; padding: 4px 0; }
.ev-ph-seg span + span { border-left: 1px solid var(--ink); }
.ev-ph-seg .on { background: var(--ink); color: var(--white); }
.ev-ph-view { position: relative; margin-top: 9px; aspect-ratio: 720 / 470; overflow: hidden; background: #ECEAE6; }
.ev-ph-view img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.ev-ph-chip { position: absolute; left: 10px; top: 8px; padding: 2px 6px; font-family: var(--mono); font-size: 9px; background: var(--white); border: 1px solid var(--ink); border-radius: 2px; }
.ev-ph-pin {
  position: absolute; left: 9px; top: -10px; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px 3px 6px;
  font-family: var(--mono); font-size: 9px; color: var(--accent-ink); background: var(--white); border: 1px solid var(--accent-ink); border-radius: 2px;
}
.ev-ph-pin i { width: 7px; height: 7px; background: var(--accent); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.ev-ph-tabs { display: flex; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; color: var(--gray); }
.ev-ph-tabs span { flex: 1; text-align: center; padding: 8px 0 7px; }
.ev-ph-tabs .on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
.ev-ph-fil {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px;
  background-color: #FBFBF9;
  background-image: linear-gradient(rgba(13, 23, 38, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(13, 23, 38, .04) 1px, transparent 1px);
  background-size: 14px 14px;
}
.ev-ph-m { display: inline-flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: 8.5px; color: var(--slate); margin-top: 2px; white-space: nowrap; }
.ev-ph-m i { width: 6px; height: 6px; background: var(--accent); }
.ev-st { margin-left: 4px; padding: 1px 5px; color: var(--accent-ink); background: var(--white); border: 1px solid currentColor; border-radius: 2px; }
.ev-r { align-self: flex-end; }
.ev-b { max-width: 86%; padding: 7px 9px; font-size: 10.5px; line-height: 1.4; border-radius: 2px; }
.ev-b--me { align-self: flex-end; background: var(--ink); color: var(--white); }
.ev-b--team { background: var(--white); color: var(--ink); border: 1px solid var(--line); box-shadow: inset 2px 0 0 var(--ink); }
.ev-f { align-self: flex-end; display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px 6px 6px; background: var(--white); border: 1px solid var(--ink); border-radius: 2px; font-size: 10px; }
.ev-f b { font-family: var(--mono); font-size: 7.5px; font-weight: 600; color: var(--accent-ink); border: 1px solid currentColor; padding: 3px 3px 2px; border-radius: 1px; }
.ev-f span { text-decoration: underline; text-underline-offset: 2px; }
.ev-ph-in { display: flex; align-items: center; gap: 8px; padding: 9px 12px 18px; border-top: 1px solid var(--line); color: var(--slate); }
.ev-ph-i { width: 16px; height: 16px; flex: none; }
.ev-ph-field { position: relative; flex: 1; min-width: 0; height: calc(2 * 1.4em + 12px); padding: 6px 8px; border: 1px solid var(--line); border-radius: 2px; font-size: 10px; line-height: 1.4; color: var(--ink); overflow: hidden; }
.ev-tag {
  position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink);
  background: var(--white); border: 1px solid var(--ink); border-radius: 2px; box-shadow: 0 14px 28px -18px rgba(13, 23, 38, .35);
}
.ev-tag::before { content: ""; width: 7px; height: 7px; background: var(--accent); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.ev-tag--a { top: 16%; left: 5%; }
.ev-tag--b { bottom: 9%; right: 5%; }
.ev-credit { position: absolute; left: 16px; bottom: 12px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .03em; color: var(--slate); background: var(--paper); padding: 2px 4px; }

/* --- téléphone : scène « mise à jour de la fiche de la chaudière » (11.11.2026, 23 h) ---------------------
   Sans JS et en mouvement réduit : état de fin, fixe et lisible. tarifs.js ajoute .is-anim puis les étapes
   k-tap, k-elem, k-type, k-pdf, k-send, k-sent, k-sent2, k-rep, k-done, k-out sur .ev-fig.
   Seuls opacity et transform bougent ; chaque élément garde sa place : aucune variation de mise en page. */
.ev-pt { position: absolute; left: 24%; top: 66%; width: 0; height: 0; }
.ev-tap { position: absolute; left: -11px; top: -11px; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--accent); opacity: 0; }
.ev-pin2 { position: absolute; left: 9px; top: 9px; white-space: nowrap; padding: 2px 6px; font-family: var(--mono); font-size: 8px; color: var(--white); background: var(--ink); border-radius: 2px; }
.ev-att { align-self: flex-end; white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; }
.ev-el { display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; font-family: var(--mono); font-size: 8.5px; color: var(--accent-ink); background: var(--white); border: 1px solid var(--accent-ink); border-radius: 2px; }
.ev-el i, .ev-chip-el::before { width: 6px; height: 6px; background: var(--accent); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.ev-att .ev-f { align-self: auto; font-size: 9.5px; padding: 5px 7px 5px 5px; }
.ev-stl { align-self: flex-end; display: inline-flex; align-items: center; gap: 4px; padding: 1px 6px; font-family: var(--mono); font-size: 8.5px; color: var(--accent-ink); background: var(--white); border: 1px solid currentColor; border-radius: 2px; }
.ev-sts { display: inline-grid; }
.ev-sts i { grid-area: 1 / 1; font-style: normal; transition: opacity .45s var(--e-out); }
.ev-s1, .ev-s2 { opacity: 0; }
.ev-mail { display: inline-flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: 8.5px; color: var(--slate); }
.ev-mail::before { content: ""; width: 9px; height: 7px; border: 1px solid currentColor; border-radius: 1px; background: linear-gradient(35deg, transparent 46%, currentColor 47%, currentColor 53%, transparent 54%) left / 50% 100% no-repeat, linear-gradient(-35deg, transparent 46%, currentColor 47%, currentColor 53%, transparent 54%) right / 50% 100% no-repeat; }
.ev-stm { align-self: center; padding: 2px 7px; background: var(--white); border: 1px solid var(--line); border-radius: 2px; }
.ev-th { align-self: stretch; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; transition: opacity .6s var(--e-out); }
.ev-ph-fil { position: relative; }
.ev-chips { position: absolute; left: 12px; right: 12px; bottom: 8px; display: flex; flex-wrap: wrap; gap: 5px; pointer-events: none; }
.ev-chip-el, .ev-chip-pdf { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; font-family: var(--mono); font-size: 8.5px; background: var(--white); border-radius: 2px; opacity: 0; }
.ev-chip-el { color: var(--accent-ink); border: 1px solid var(--accent-ink); }
.ev-chip-el::before { content: ""; flex: none; }
.ev-chip-el em, .ev-chip-pdf em { font-style: normal; color: var(--slate); }
.ev-chip-pdf { color: var(--ink); border: 1px solid var(--ink); }
.ev-chip-pdf b { font-size: 7.5px; font-weight: 600; color: var(--accent-ink); }
.ev-ph-ph, .ev-typed { position: absolute; left: 8px; right: 8px; top: 6px; }
.ev-ph-ph { color: var(--gray); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev-typed { color: var(--ink); }
.ev-ph-act { position: relative; width: 22px; height: 22px; flex: none; display: grid; place-items: center; }
.ev-ph-act > * { grid-area: 1 / 1; }
.ev-send { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--white); opacity: 0; transform: scale(.6); }
.ev-send svg { width: 13px; height: 13px; }
.ev-ph-tabs .on { position: relative; }
.ev-ph-tabs .on::after { content: ""; position: absolute; top: 6px; right: 12%; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: 0; }

/* transitions (toujours amorties, sans rebond) */
.ev-a, .ev-ph-pin, .ev-pin2, .ev-chip-el, .ev-chip-pdf, .ev-ph-ph, .ev-send, .ev-mic, .ev-clip, .ev-ph-tabs .on::after, .ev-tag--b {
  transition: opacity .55s var(--e-out), transform .7s var(--e-out), color .4s var(--e-out), background-color .5s var(--e-out), border-color .5s var(--e-out);
}
.ev-fig.is-anim .ev-a { opacity: 0; transform: translateY(8px); }
.ev-fig.is-anim.k-sent .ev-a1, .ev-fig.is-anim.k-sent2 .ev-a2, .ev-fig.is-anim.k-rep .ev-a3, .ev-fig.is-anim.k-done .ev-a4 { opacity: 1; transform: none; }
.ev-fig.is-anim .ev-ph-pin { opacity: 0; transform: translateX(-4px); }
.ev-fig.is-anim.k-elem .ev-ph-pin { opacity: 1; transform: none; }
.ev-fig.is-anim .ev-pin2 { opacity: 0; transform: translateY(-3px); }
.ev-fig.is-anim.k-done .ev-pin2 { opacity: 1; transform: none; }
.ev-fig.is-anim.k-tap .ev-tap { animation: ev-tap 1.1s var(--e-out) both; }
.ev-fig.is-anim.k-elem .ev-chip-el { opacity: 1; }
.ev-fig.is-anim.k-pdf .ev-chip-pdf { opacity: 1; }
.ev-fig.is-anim.k-pdf .ev-clip { color: var(--accent-ink); }
.ev-fig.is-anim.k-sent .ev-chip-el, .ev-fig.is-anim.k-sent .ev-chip-pdf { opacity: 0; transform: translateY(-10px); }
.ev-fig.is-anim.k-sent .ev-clip { color: inherit; }
.ev-fig.is-anim.has-txt .ev-ph-ph { opacity: 0; }
.ev-fig.is-anim.has-txt .ev-mic { opacity: 0; }
.ev-fig.is-anim.has-txt .ev-send { opacity: 1; transform: none; }
.ev-fig.is-anim.has-txt.k-send .ev-send { transform: scale(.86); background: var(--accent-ink); }
.ev-fig.is-anim.k-type.has-txt .ev-typed::after { content: ""; display: inline-block; width: 1px; height: 1.15em; margin-left: 1px; vertical-align: -2px; background: var(--ink); animation: ev-caret 1s steps(1) infinite; }
.ev-fig.is-anim .ev-s3 { opacity: 0; }
.ev-fig.is-anim.k-sent2 .ev-s1 { opacity: 1; }
.ev-fig.is-anim.k-rep .ev-s1 { opacity: 0; }
.ev-fig.is-anim.k-rep .ev-s2 { opacity: 1; }
.ev-fig.is-anim.k-done .ev-s2 { opacity: 0; }
.ev-fig.is-anim.k-done .ev-s3 { opacity: 1; }
.ev-fig.is-anim.k-rep .ev-ph-tabs .on::after { opacity: 1; }
.ev-fig.is-anim.k-done .ev-ph-tabs .on::after { opacity: 0; }
.ev-fig.is-anim.k-rep .ev-tag--b { border-color: var(--accent-ink); background-color: #FFF4F1; transform: translateY(-3px); }
.ev-fig.is-anim.k-done .ev-tag--b { border-color: var(--ink); background-color: var(--white); transform: none; }
.ev-fig.is-anim.k-out .ev-th, .ev-fig.is-anim.k-out .ev-ph-pin, .ev-fig.is-anim.k-out .ev-pin2 { opacity: 0; }
.ev-fig.k-reset, .ev-fig.k-reset *, .ev-fig.k-reset *::before, .ev-fig.k-reset *::after { transition: none !important; animation: none !important; }
@keyframes ev-tap {
  0% { opacity: 0; transform: scale(.35); background: rgba(232, 73, 43, .35); }
  25% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.9); background: rgba(232, 73, 43, 0); }
}
@keyframes ev-caret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .ev-fig *, .ev-fig *::before, .ev-fig *::after, .ev-tag--b { transition: none !important; animation: none !important; }
}

/* ligne « compris » en tête de chaque carte, au niveau du prix */
.plan li.ev-li { color: var(--ink); font-weight: 500; line-height: 1.45; }
.plan li.ev-li::before { top: 6px; width: 9px; height: 9px; border: 0; background: var(--accent); transform: none; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.plan.featured li.ev-li { color: var(--white); }
.plan.featured li.ev-li::before { background: var(--accent-on-dark); }

@media (prefers-reduced-motion: no-preference) {
  .ev-btn .btn-i svg { transition: transform .5s var(--e-spring); }
  .ev-btn:hover .btn-i svg { transform: translateX(3px); }
}
@media (max-width: 1279px) {
  .ev-l > li { grid-template-columns: 40px minmax(0, 1fr); row-gap: 6px; }
  .ev-l > li p { grid-column: 2; }
}
@media (max-width: 1023px) {
  .ev-box { grid-template-columns: minmax(0, 1fr); }
  .ev-fig { border-left: 0; border-top: 1px solid var(--ink); padding: 64px 20px 64px; }
  .ev-tag--a { top: 20px; left: 16px; }
  .ev-tag--b { bottom: 40px; right: 16px; }
}
@media (min-width: 600px) and (max-width: 1023px) {
  .ev-l > li { grid-template-columns: 44px minmax(0, 13em) minmax(0, 1fr); }
  .ev-l > li p { grid-column: auto; }
}
@media (max-width: 1023px) {
  /* le visuel suit le titre : la valeur se voit avant la liste et avant le prix */
  .ev-box { --evp: clamp(22px, 5vw, 48px); padding-top: clamp(32px, 6vw, 56px); }
  .ev-c { display: contents; }
  .ev-c > * { margin-inline: var(--evp); }
  .ev-fig { order: 1; }
  .ev-l, .ev-btn { order: 2; }
  .ev-k { justify-self: start; }
  .ev-btn { justify-self: start; margin-bottom: clamp(32px, 6vw, 56px); }
  .ev-fig { margin-top: 32px; border-bottom: 1px solid var(--ink); }
  .ev-l { margin-top: 8px; }
  .ev-l > li:first-child { border-top: 0; }
}
@media (max-width: 760px) {
  .ev-btn { justify-self: stretch; }
  .ev-fig { padding: 60px 16px 52px; }
  .ev-ph { width: min(100%, 262px); }
  .ev-l > li { grid-template-columns: 34px minmax(0, 1fr); padding: 15px 0 16px; row-gap: 4px; }
  .ev-l p { font-size: 14.5px; }
  .ev-tag { font-size: 10px; padding: 6px 9px; }
  .ev-tag--b { bottom: 30px; }
  .ev-credit { font-size: 10px; bottom: 9px; }
}

/* héros sur téléphone (15.11.2026) : le bouton du film reste visible dès l'arrivée, barre du navigateur comprise ;
   le crédit de la maquette n'apparaît qu'avec la maquette, une fois le texte du héros effacé, et ne recouvre plus rien.
   Tablettes et téléphones à l'horizontale (moins de 501 px de haut) : réglages précédents inchangés. */
/* bouton du film : une bande fine de 48 px (vignette 16:9, lecture vermillon, titre et durée) */
@media (max-width: 760px) and (min-height: 501px) {
  .hero3d .hero-copy .film-cta { min-height: 48px; padding: 5px 18px 5px 5px; gap: 14px; background: rgba(255, 255, 255, .7); }
  .hero3d .hero-copy .film-cta-thumb { width: 64px; height: 36px; }
  .hero3d .hero-copy .film-cta-play::before { width: 24px; height: 24px; }
  .hero3d .hero-copy .film-cta-play svg { width: 8px; height: 10px; margin-left: 1px; }
  .hero3d .hero-copy .film-cta-txt { gap: 4px; }
  .hero3d .hero-copy .film-cta-t { font-size: 15px; }
  .hero3d .hero-copy .film-cta-m { font-size: 10.5px; }
}
/* grands téléphones (plus de 860 px de haut) : rythme d'origine, marges un peu resserrées */
@media (max-width: 760px) and (min-height: 861px) {
  .hero3d .hero-copy { padding-top: calc(var(--header-h) + 28px); }
  .hero3d .hero-copy .eyebrow { margin-bottom: 20px; }
  .hero3d .hero-copy h1 { margin-bottom: 22px; }
  .hero3d .hero-copy .lead { margin-bottom: 24px; }
  .hero3d .hero-copy .film-cta { margin-top: 14px; }
}
/* de 601 à 860 px de haut (navigateur intégré d'une app, barre d'outils posée sur la page) : même ordre, rythme resserré
   qui suit la hauteur ; le bouton du film finit au moins 90 px au-dessus du bas de l'écran dès 800 px de haut */
@media (max-width: 760px) and (min-height: 601px) and (max-height: 860px) {
  .hero3d .hero-copy { padding-top: calc(var(--header-h) + clamp(24px, 6vh - 16px, 32px)); }
  .hero3d .hero-copy .eyebrow { margin-bottom: clamp(12px, 3vh - 8px, 18px); }
  .hero3d .hero-copy h1 { margin-bottom: clamp(12px, 3vh - 8px, 18px); }
  .hero3d .hero-copy .lead { font-size: 15.5px; line-height: 1.5; margin-bottom: clamp(16px, 3vh - 4px, 22px); }
  .hero3d .hero-copy .btn-lg { min-height: 48px; font-size: 15.5px; }
  .hero3d .hero-copy .btn-lg .btn-i { width: 48px; }
  .hero3d .hero-copy .cta-row { gap: 8px; }
  .hero3d .hero-copy .cta-note { margin-top: 6px; }
  .hero3d .hero-copy .film-cta { margin-top: clamp(10px, 2vh - 4px, 14px); }
}
@media (max-width: 760px) and (min-height: 601px) and (max-height: 700px) {
  .hero3d .hero-copy .lead { font-size: 15px; line-height: 1.45; }
  .hero3d .hero-copy .cta-note { font-size: 11px; letter-spacing: .02em; }
  .hero3d .hero-copy .cta-row { gap: 6px; }
  .hero3d .hero-copy .film-cta { margin-top: 8px; }
}
/* très petits téléphones en portrait : la ligne de rubriques cède sa place, comme déjà sous 600 px de haut */
@media (max-width: 760px) and (max-height: 660px) and (orientation: portrait) {
  .hero3d .hero-copy .eyebrow { display: none; }
}
/* crédit de la maquette (mobile et tablette, où la maquette n'apparaît qu'au défilement) : affiché seulement quand elle est à l'écran, le texte du héros une fois effacé */
@supports selector(:has(*)) {
  @media (max-width: 1023px) {
    .hero3d .hero-credit { opacity: 0; visibility: hidden; transition: opacity .4s var(--e-out), visibility 0s linear .4s; }
    .hero3d .hero-stage:has(.hero-copy[style*="visibility: hidden"]) .hero-credit { opacity: 1; visibility: visible; transition: opacity .6s var(--e-out) .1s, visibility 0s; }
  }
  @media (max-width: 1023px) and (prefers-reduced-motion: reduce) {
    .hero3d .hero-credit, .hero3d .hero-stage:has(.hero-copy[style*="visibility: hidden"]) .hero-credit { transition: none; }
  }
}
