/* Wiss Rénov v4 · identité « coup de pinceau » : blanc chaux, anthracite, un seul orange franc.
   Titrage Bricolage Grotesque (et Instrument Serif italique), texte Geist, détails Geist Mono. */
@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage-latin.woff2") format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage-latin-ext.woff2") format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-italic-ext.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; unicode-range: U+0100-02BA, U+1E00-1EFF; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+1E00-1EFF; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #17191B; --ink-2: #1F2225; --ink-3: #2A2E32;
  --bone: #F5F2EB; --paper: #F5F2EB; --paper-2: #ECE7DE; --paper-3: #DFD8CC;
  --stone: #B5ADA5; --soft: #5E5853;
  --slate: #3D4247; --slate-l: #C0B8B0; --bordeaux: #DC6229; --bordeaux-l: #EF8A55; --gold: #C0B8B0; --gold-l: #EF8A55;
  --orange: #DC6229; --orange-deep: #B84E1C; --red: #DC6229; --red-deep: #B84E1C;
  --blue: #3D4247; --blue-l: #C0B8B0; --yellow: #EF8A55; --flag: #DC6229;
  --tile: #B4553A; --zinc: #9AA4A9; --concrete: #DFD8CC;
  --line-d: rgba(245, 242, 235, .13); --line-l: rgba(23, 25, 27, .13);
  --f-display: "Bricolage", "Arial Narrow", system-ui, sans-serif;
  --f-serif: "Instrument Serif", "Times New Roman", serif;
  --f-text: "Geist", system-ui, -apple-system, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, monospace;
  --hud: rgba(245, 242, 235, .86);
}
body { background: var(--ink); }
::selection { background: var(--orange); color: var(--ink); }

/* ---------- typographie ---------- */
.dsp { font-family: var(--f-display); font-weight: 800; font-stretch: 72%; text-transform: uppercase; letter-spacing: -.012em; line-height: .86; font-variation-settings: normal; }
.dsp em, .it { font-family: var(--f-serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -.02em; color: var(--orange); font-stretch: normal; padding-right: .04em; }
.on-paper .dsp em { color: var(--red-deep); }
.dsp--hero { font-size: clamp(3.4rem, 1rem + 9vw, 12.6rem); }
.dsp--xl { font-size: clamp(3rem, .9rem + 7.4vw, 10rem); }
.dsp--l { font-size: clamp(2.4rem, 1rem + 4.6vw, 6.4rem); }
.dsp--m { font-size: clamp(1.7rem, 1rem + 2.2vw, 3.3rem); line-height: .98; }
.dsp--s { font-size: clamp(1.25rem, 1rem + 1vw, 1.8rem); letter-spacing: -.03em; }
.kicker { font-family: var(--f-mono); font-weight: 500; font-size: .7rem; letter-spacing: .14em; }
.kicker::before { width: .9rem; height: 3px; background: var(--red); opacity: 1; }
.lede { font-weight: 500; letter-spacing: -.01em; }
.manifest__text { font-family: var(--f-display); font-weight: 500; font-stretch: 88%; letter-spacing: -.035em; line-height: 1.04; font-size: clamp(1.8rem, .9rem + 3.2vw, 4.4rem); }
.manifest__text em { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--orange-deep); }
.sig-item b, .zone__out strong, .quick h3, .step h3, .signs li b, .diagram__list b, .wizard legend { font-family: var(--f-display); font-weight: 700; font-stretch: 85%; letter-spacing: -.02em; }
.step h3 { font-size: 1.35rem; }
.menu__list a { font-family: var(--f-display); font-weight: 800; font-stretch: 70%; text-transform: uppercase; letter-spacing: -.01em; }
.trade h3 { font-family: var(--f-display); font-weight: 700; letter-spacing: -.045em; font-stretch: normal; }

/* ---------- boutons, marque ---------- */
.btn { border-radius: 10px; font-weight: 700; letter-spacing: -.005em; }
.btn__ico { border-radius: 7px; }
.btn--orange { --bg: var(--red); --fg: #fff; }
.btn--orange::before { background: var(--bone); }
.btn--orange:hover { color: var(--ink); }
.tag--after { background: var(--red); color: #fff; }
.brand { gap: .9rem; }
.brand__logo { height: 3.7rem; width: auto; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .35)); }
.brand__w { display: none; }
.bar.is-solid .brand__logo { height: 3.1rem; }
.brand__logo { transition: height .4s var(--ease); }

.loader__in { gap: 1.6rem; }
.loader__logo { width: min(17rem, 60vw); height: auto; animation: mk-pop 1.1s var(--ease) both; }
@keyframes mk-pop { from { transform: scale(.85) translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
.loader__bar { width: 12rem; height: 3px; border-radius: 3px; }
.cursor__brush { width: 64px; height: 64px; margin: -32px 0 0 -32px; transform-origin: 32px 32px; }

/* ruban de chantier */
.tape { position: relative; z-index: 3; overflow: hidden; background: var(--yellow); color: var(--ink); padding: .9rem 0; transform: rotate(-2deg) scale(1.05); margin: -1.4rem 0; box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .6); }
.tape::before, .tape::after { content: ""; position: absolute; left: 0; right: 0; height: 7px; background: repeating-linear-gradient(-45deg, var(--ink) 0 12px, transparent 12px 24px); }
.tape::before { top: 0; } .tape::after { bottom: 0; }
.tape__t { display: flex; gap: 2.4rem; width: max-content; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.1rem, .8rem + 1.2vw, 1.9rem); letter-spacing: -.03em; animation: tape 34s linear infinite; padding: .25rem 0; }
.tape__t span { display: inline-flex; gap: 2.4rem; align-items: center; white-space: nowrap; }
.tape__t span::after { content: ""; width: .6rem; height: .6rem; background: var(--red); border-radius: 50%; }
@keyframes tape { to { transform: translateX(-50%); } }

/* ---------- le chantier (accueil) ---------- */
.build { position: relative; height: 900vh; }
.build__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #131517; }
.build__pin > canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.build .stage__shade { z-index: 2; background: linear-gradient(90deg, rgba(17, 19, 21, .82) 0%, rgba(17, 19, 21, .45) 34%, rgba(17, 19, 21, 0) 62%), linear-gradient(0deg, rgba(17, 19, 21, .7) 0%, rgba(17, 19, 21, 0) 38%); }
.build .hero-copy { z-index: 6; }
.build .hero-copy h1 { color: #fff; text-shadow: 0 4px 40px rgba(0, 0, 0, .35); }
.bp { position: absolute; z-index: 4; pointer-events: none; overflow: visible; max-width: none; max-height: none; }
.bp path, .bp line { fill: none; stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.bp .bp--red { stroke: var(--red); stroke-width: 2.5; }
.bp .bp--dim { stroke: var(--yellow); stroke-width: 1.4; stroke-dasharray: 6 6; }
.bp text { font-family: var(--f-mono); font-size: 13px; fill: #fff; letter-spacing: .08em; paint-order: stroke; stroke: rgba(0, 0, 0, .55); stroke-width: 4px; opacity: 0; }
.rail { position: absolute; z-index: 7; right: var(--gutter); top: 50%; transform: translateY(-50%); display: grid; grid-template-columns: auto 3px; gap: 0 1rem; pointer-events: none; }
.rail ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.rail li { display: grid; justify-items: end; gap: .15rem; color: rgba(246, 243, 238, .4); transition: color .4s; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; }
.rail li b { font-family: var(--f-display); font-size: .95rem; letter-spacing: -.03em; text-transform: none; font-weight: 600; }
.rail li.is-done { color: rgba(246, 243, 238, .75); }
.rail li.is-on { color: #fff; }
.rail li.is-on b { color: var(--yellow); }
.rail__bar { background: rgba(246, 243, 238, .15); border-radius: 3px; overflow: hidden; }
.rail__bar i { display: block; width: 100%; height: 100%; background: linear-gradient(var(--yellow), var(--red)); transform-origin: 50% 0; transform: scaleY(0); }
.gauge { position: absolute; z-index: 7; left: var(--gutter); top: calc(var(--bar) + 1.4rem); display: flex; gap: 2rem; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--hud); pointer-events: none; opacity: 0; transition: opacity .5s; }
.build.is-moving .gauge { opacity: 1; }
.gauge div { display: grid; gap: .2rem; }
.gauge b { font-family: var(--f-display); font-size: 2rem; letter-spacing: -.04em; color: #fff; font-weight: 700; line-height: 1; }
.gauge b small { font-size: .45em; margin-left: .2rem; color: var(--yellow); }
.phase { position: absolute; z-index: 6; left: var(--gutter); bottom: clamp(2rem, 8vh, 5.5rem); max-width: 34rem; opacity: 0; pointer-events: none; }
.phase.is-live { pointer-events: auto; }
.phase .kicker { color: var(--yellow); }
.phase .kicker::before { background: var(--yellow); }
.phase h2 { margin-top: 1rem; color: #fff; }
.phase p { margin-top: 1rem; color: rgba(246, 243, 238, .86); max-width: 44ch; }
.phase a { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.2rem; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: .3rem; }
.phase a svg { width: .9rem; height: .9rem; }
.build__end { position: absolute; z-index: 6; left: var(--gutter); bottom: clamp(2rem, 8vh, 5.5rem); max-width: 46rem; opacity: 0; pointer-events: none; }
.build__end.is-live { pointer-events: auto; }
.build__end h2 { color: #fff; }
.build__end .lede { margin-top: 1.4rem; }
.scroll-cue { position: absolute; z-index: 6; left: 50%; bottom: 1.2rem; transform: translateX(-50%); display: grid; justify-items: center; gap: .6rem; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--hud); pointer-events: none; }
.scroll-cue i { width: 2px; height: 2.6rem; background: linear-gradient(var(--yellow), transparent); transform-origin: 50% 0; animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* chiffres clés */
.keys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-l); margin-top: clamp(3rem, 6vw, 5rem); border: 1px solid var(--line-l); border-radius: 18px; overflow: hidden; }
.keys div { background: var(--paper); padding: 1.6rem 1.4rem; display: grid; gap: .4rem; }
.keys b { font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem, 1.4rem + 2vw, 3.4rem); letter-spacing: -.05em; line-height: 1; }
.keys b small { font-size: .45em; color: var(--red-deep); margin-left: .2rem; }
.keys span { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }

/* ---------- métiers empilés ---------- */
.stack { position: relative; z-index: 2; background: var(--ink); padding: clamp(5rem, 10vw, 8rem) 0 0; }
.stack__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem var(--gutter); align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.stack__card { position: sticky; top: 0; height: 100vh; height: 100svh; padding: calc(var(--bar) + .6rem) var(--gutter) 1.2rem; }
.stack__in { position: relative; height: 100%; border-radius: 26px; overflow: hidden; transform-origin: 50% 0; background: var(--ink-3); box-shadow: 0 -30px 60px -30px rgba(0, 0, 0, .7); }
.stack__in video, .stack__in img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stack__in::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17, 19, 21, .86), rgba(17, 19, 21, .35) 55%, rgba(17, 19, 21, .05)), linear-gradient(0deg, rgba(17, 19, 21, .6), transparent 45%); }
.stack__txt { position: absolute; z-index: 2; left: clamp(1.4rem, 4vw, 3.6rem); bottom: clamp(1.4rem, 5vh, 3.4rem); right: clamp(1.4rem, 4vw, 3.6rem); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.6rem 3rem; align-items: end; }
.stack__n { position: absolute; z-index: 2; right: clamp(1.4rem, 4vw, 3.6rem); top: clamp(1.2rem, 4vh, 2.6rem); font-family: var(--f-display); font-weight: 800; font-size: clamp(4rem, 2rem + 8vw, 11rem); line-height: .8; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px rgba(246, 243, 238, .45); }
.stack__txt h3 { margin: .8rem 0 0; color: #fff; }
.stack__txt p { margin-top: 1rem; color: rgba(246, 243, 238, .86); max-width: 46ch; }
.chipset { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.2rem; }
.chipset span { font-size: .8rem; font-weight: 600; padding: .4rem .75rem; border-radius: 99px; background: rgba(246, 243, 238, .1); border: 1px solid rgba(246, 243, 238, .18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.stack__tag { position: absolute; z-index: 2; left: clamp(1.4rem, 4vw, 3.6rem); top: clamp(1.2rem, 4vh, 2.6rem); }

/* ---------- le camion ---------- */
.truck-sec { position: relative; z-index: 2; background: #0E0E10; padding: clamp(5rem, 9vw, 8rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.truck-sec__head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem var(--gutter); align-items: end; }
.truck { position: relative; height: min(78vh, 46rem); margin-top: clamp(1rem, 3vw, 2rem); }
.truck__gl { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; }
.truck__gl:active { cursor: grabbing; }
.van { position: relative; height: min(76vh, 50rem); margin-top: clamp(1rem, 3vw, 2rem); }
.van canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; outline: none; }
.van.is-drag canvas { cursor: grabbing; }
.van canvas:focus-visible { box-shadow: inset 0 0 0 2px var(--yellow); }
.van .spot { flex-direction: row; }
.van .spot--l { flex-direction: row-reverse; }
.van .spot--l span { transform: translate(-100%, -50%); position: absolute; left: -.6rem; }
.van .spot span, .van .spot a { transform: translate(0, -50%); }
.truck__ui { position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%); display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; z-index: 3; }
.truck__ui button { font: 600 .82rem/1 var(--f-text); color: var(--bone); background: rgba(246, 243, 238, .08); border: 1px solid var(--line-d); border-radius: 99px; padding: .7rem 1rem; cursor: pointer; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .3s, border-color .3s; }
.truck__ui button:hover { border-color: rgba(246, 243, 238, .4); }
.truck__ui button[aria-pressed="true"] { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.spot { position: absolute; left: 0; top: 0; z-index: 2; display: flex; align-items: center; gap: .6rem; transition: opacity .35s; pointer-events: auto; }
.spot.is-off { opacity: 0; pointer-events: none; }
.spot i { width: 1.1rem; height: 1.1rem; margin: -.55rem 0 0 -.55rem; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(227, 38, 47, .6); animation: pulse 2.2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 14px rgba(227, 38, 47, 0); } 100% { box-shadow: 0 0 0 0 rgba(227, 38, 47, 0); } }
.spot a, .spot span { font: 600 .78rem/1.2 var(--f-text); color: var(--ink); background: #fff; padding: .45rem .7rem; border-radius: 8px; text-decoration: none; white-space: nowrap; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); transform: translateY(-50%); }
.truck-sec__foot { display: flex; flex-wrap: wrap; gap: 1rem 3rem; justify-content: center; margin-top: 1.2rem; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); }

/* ---------- configurateur de sol ---------- */
.floor-sec { position: relative; z-index: 2; background: var(--paper); color: var(--ink); padding: clamp(5rem, 10vw, 8rem) 0; }
.floor-sec .lede, .sim-how .lede { color: color-mix(in oklab, var(--ink) 82%, transparent); }
.floor { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 1.6rem; margin-top: clamp(2rem, 4vw, 3.4rem); align-items: start; }
.floor__stage { position: relative; border-radius: 22px; overflow: hidden; min-height: 30rem; background: #e9e4dc; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .35); }
.floor__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.floor__stage { aspect-ratio: 16 / 9; min-height: 0; }
.floor__raw { position: absolute; left: 1rem; bottom: 1rem; z-index: 2; font: 600 .78rem/1 var(--f-text); color: var(--ink); background: rgba(255, 255, 255, .86); border: 0; border-radius: 99px; padding: .7rem 1rem; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5); }
.floor__raw[aria-pressed="true"] { background: var(--red); color: #fff; }
.floor__panel { display: grid; gap: 1.4rem; align-content: start; }
.floor__out { display: grid; gap: .35rem; padding: 1.3rem 1.4rem; border-radius: 16px; background: var(--ink); color: var(--bone); min-height: 8.4rem; }
.floor__out b { font-family: var(--f-display); font-weight: 600; font-size: 1.35rem; letter-spacing: -.03em; }
.floor__out span { color: var(--stone); font-size: .95rem; }
.floor__out em { font-style: normal; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .1em; color: var(--yellow); margin-top: .3rem; }
.mats { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.2rem, 1fr)); gap: .6rem; }
.mats button { display: grid; gap: .5rem; padding: .5rem; border-radius: 14px; border: 1.5px solid var(--line-l); background: #fff; cursor: pointer; text-align: left; font: 600 .82rem/1.2 var(--f-text); color: var(--ink); transition: border-color .3s, transform .4s var(--ease); }
.mats button img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 9px; }
.mats button[aria-pressed="true"] { border-color: var(--red); transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(227, 38, 47, .7); }
.walls { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.walls span { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); margin-right: .4rem; }
.walls button { width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--line-l); cursor: pointer; }
.walls button[aria-pressed="true"] { box-shadow: 0 0 0 2.5px var(--red); }

/* ---------- avis ---------- */
.g-stars { color: #F5B400; }

/* ---------- carte des trois départements ---------- */
.map .dep { fill: rgba(246, 243, 238, .04); }
.map .dep.is-77 { fill: rgba(227, 38, 47, .07); }
.map .dep-lbl { font-family: var(--f-display); font-weight: 700; font-size: 26px; fill: rgba(246, 243, 238, .12); letter-spacing: -.04em; pointer-events: none; }
.map .base, .m-base { fill: var(--red); }

/* ---------- pages : héros métier et ville ---------- */
.s-hero .dsp--hero, .v-hero .dsp--hero { font-size: clamp(2.6rem, .9rem + 6vw, 7.6rem); }
.foot__brand img { height: 5rem; width: auto; }
.foot__big { font-family: var(--f-display); font-weight: 800; letter-spacing: -.07em; font-stretch: normal; justify-content: center; font-size: clamp(4rem, .5rem + 15vw, 17rem); line-height: .8; }
.foot__big span { background: linear-gradient(180deg, var(--ink-3) 55%, color-mix(in oklab, var(--red) 55%, var(--ink)) 55.2%); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.foot__top { grid-template-columns: 1.4fr repeat(4, 1fr); }
.sim { background: radial-gradient(120% 80% at 85% 0%, rgba(227, 38, 47, .14), transparent 55%), var(--ink); }

/* départements */
.dep-hero { position: relative; min-height: 92vh; display: grid; align-items: end; overflow: hidden; background: var(--ink); }
.dep-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dep-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17, 19, 21, .9), rgba(17, 19, 21, .35) 65%), linear-gradient(0deg, rgba(17, 19, 21, .8), transparent 50%); }
.dep-hero__in { position: relative; z-index: 2; padding: calc(var(--bar) + 5rem) var(--gutter) clamp(2.5rem, 8vh, 5rem); }
.dep-num { position: absolute; z-index: 2; right: var(--gutter); top: calc(var(--bar) + 2rem); font-family: var(--f-display); font-weight: 800; font-size: clamp(6rem, 3rem + 14vw, 18rem); line-height: .8; letter-spacing: -.07em; color: transparent; -webkit-text-stroke: 2px rgba(246, 243, 238, .35); }
.cities { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .8rem; margin-top: 2.4rem; }
.cities a { display: grid; gap: .3rem; padding: 1.2rem 1.3rem; border-radius: 16px; border: 1px solid var(--line-l); background: #fff; text-decoration: none; transition: transform .5s var(--ease), border-color .3s; }
.cities a:hover { transform: translateY(-4px); border-color: var(--red); }
.cities b { font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; letter-spacing: -.03em; }
.cities span { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }

@media (max-width: 860px) {
  .stack__head, .truck-sec__head { grid-template-columns: 1fr; }
  .floor { grid-template-columns: 1fr; }
  .floor__stage { min-height: 22rem; }
  .keys { grid-template-columns: repeat(2, 1fr); }
  .foot__top { grid-template-columns: 1fr 1fr; }
  .stack__txt { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .build { height: 820vh; }
  .rail { top: auto; bottom: auto; top: calc(var(--bar) + 4.6rem); transform: none; right: 1rem; }
  .rail ol { gap: .7rem; }
  .rail li span { display: none; }
  .rail li b { font-size: .72rem; }
  .gauge { gap: 1.2rem; top: calc(var(--bar) + .6rem); }
  .gauge b { font-size: 1.4rem; }
  .phase, .build__end { right: var(--gutter); bottom: 1.6rem; }
  .bp text { font-size: 10px; }
  .van { height: auto; }
  .van canvas { position: relative; height: auto; aspect-ratio: 16 / 10; }
  .van .truck__ui { position: static; transform: none; margin-top: .6rem; padding: 0 1rem; }
  .van .spot { display: none; }
  .stack__card { padding: calc(var(--bar) + .2rem) .6rem .6rem; }
  .stack__in { border-radius: 18px; }
  .foot__top { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
}
@media (prefers-reduced-motion: reduce) { .tape__t, .scroll-cue i, .spot i { animation: none; } }

/* pages métier : liste des prestations, barre d'étape */
.presta { padding: clamp(5rem, 10vw, 8rem) 0; background: var(--ink); }
.presta__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 3rem var(--gutter); align-items: start; }
.presta__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.presta__list li { display: flex; gap: .9rem; align-items: center; padding: 1.1rem 1.2rem; border-radius: 14px; background: var(--ink-2); border: 1px solid var(--line-d); font-weight: 700; letter-spacing: -.01em; }
.presta__list li span { font-family: var(--f-mono); font-size: .7rem; color: var(--yellow); }
.focus__bar { margin-top: 1.6rem; height: 3px; width: min(18rem, 60vw); background: rgba(246, 243, 238, .15); border-radius: 3px; overflow: hidden; }
.focus__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--yellow), var(--red)); transform-origin: 0 50%; transform: scaleX(0); }
.focus--build { height: 280vh; }
@media (max-width: 860px) { .presta__grid { grid-template-columns: 1fr; } .presta__list { grid-template-columns: 1fr; } }

/* =====================================================================
   ===================================================================== */
body { background: var(--ink); }
.body-t, .lede { font-stretch: 100%; }
.lede { font-size: clamp(1.08rem, .98rem + .45vw, 1.4rem); line-height: 1.45; }
.kicker { color: var(--orange); }
.on-paper .kicker { color: var(--orange-deep); }

/* logo vectoriel */
.logo { display: block; color: var(--bone); overflow: visible; }
.brand__logo { height: 2.9rem; width: auto; filter: none; }
.bar.is-solid .brand__logo { height: 2.5rem; }
.bar.on-paper-bar .logo { color: var(--ink); }
.logo__tag { opacity: .62; }
.foot__logo { height: 3.4rem; width: auto; color: var(--bone); }
.chat__mark { width: 2.8rem; height: auto; color: var(--bone); flex: none; }
.loader__logo { width: min(22rem, 70vw); height: auto; color: var(--bone); animation: none; }
.loader__logo .logo__roof path { stroke-dasharray: 220; stroke-dashoffset: 220; animation: roofline 1.1s var(--ease) forwards; }
.loader__logo .logo__roof path:nth-child(2) { animation-delay: .15s; }
.loader__logo .logo__roof path:nth-child(3) { animation-delay: .3s; }
@keyframes roofline { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .loader__logo .logo__roof path { animation: none; stroke-dashoffset: 0; } }

/* boutons */
.btn { border-radius: 999px; font-weight: 600; letter-spacing: 0; }
.btn__ico { border-radius: 50%; }
.btn--orange { --bg: var(--orange); --fg: var(--ink); }
.btn--orange:hover { color: var(--ink); }

/* ruban : bande de zinc et pointillés orange */
.tape { background: var(--ink-2); color: var(--bone); transform: rotate(-1.6deg) scale(1.04); border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); }
.tape::before, .tape::after { height: 4px; background: repeating-linear-gradient(90deg, var(--orange) 0 18px, transparent 18px 36px); }
.tape__t { font-stretch: 70%; text-transform: uppercase; font-weight: 800; letter-spacing: .01em; font-size: clamp(1.3rem, .9rem + 1.6vw, 2.4rem); }
.tape__t span::after { width: .5rem; height: .5rem; background: var(--orange); transform: rotate(45deg); border-radius: 0; }

/* ---------- ouverture : le toit renaît ---------- */
.build { height: 820vh; }
.build__pin { background: var(--ink); }
.build .stage__shade { background: linear-gradient(90deg, rgba(17, 19, 21, .84) 0%, rgba(17, 19, 21, .42) 36%, rgba(17, 19, 21, 0) 64%), linear-gradient(0deg, rgba(17, 19, 21, .72) 0%, rgba(17, 19, 21, 0) 40%), linear-gradient(180deg, rgba(17, 19, 21, .55) 0%, rgba(17, 19, 21, 0) 22%); }
.build .hero-copy { max-width: 62rem; }
.build .hero-copy h1 { font-size: clamp(4rem, 1rem + 11vw, 15rem); line-height: .8; font-stretch: 100%; }
.build .hero-copy h1 em { font-size: .92em; }
.gauge { gap: 2.4rem; }
.gauge b { font-family: var(--f-display); font-stretch: 75%; font-size: 2.3rem; font-weight: 800; }
.gauge .state { font-size: 1.15rem; padding: .35rem .7rem .3rem; border-radius: 99px; background: rgba(247, 244, 239, .12); text-transform: uppercase; letter-spacing: .04em; line-height: 1; margin-top: .25rem; transition: background .4s, color .4s; }
.gauge .state.is-after { background: var(--orange); color: var(--ink); }
.rail li.is-on b { color: var(--orange); }
.phase h2 { font-size: clamp(2.6rem, 1rem + 5vw, 6.4rem); }
.diag { position: absolute; z-index: 5; left: 0; top: 0; display: flex; align-items: center; gap: .55rem; opacity: 0; pointer-events: none; will-change: transform, opacity; }
.diag i { width: 3.2rem; height: 3.2rem; margin: -1.6rem 0 0 -1.6rem; border-radius: 50%; border: 2px dashed var(--orange); box-shadow: 0 0 0 6px rgba(220, 98, 41, .14); animation: diag-spin 9s linear infinite; flex: none; }
.diag b { font-family: var(--f-mono); font-weight: 500; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: var(--bone); padding: .35rem .55rem; border-radius: 4px; transform: translateY(-1.6rem); white-space: nowrap; }
@keyframes diag-spin { to { transform: rotate(360deg); } }

/* chiffres clés */
.keys b { font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: clamp(2.4rem, 1.4rem + 2.6vw, 4.2rem); letter-spacing: -.01em; }
.keys b small { color: var(--orange-deep); font-family: var(--f-serif); font-style: italic; font-weight: 400; text-transform: none; font-size: .5em; }

/* ---------- configurateur maison ---------- */
.house-sec { position: relative; z-index: 2; background: var(--paper); color: var(--ink); padding: clamp(5rem, 10vw, 8rem) 0; }
.house-sec .lede { color: color-mix(in oklab, var(--ink) 80%, transparent); }
.house-sec__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem var(--gutter); align-items: end; }
.house { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 1.4rem; margin-top: clamp(2rem, 4vw, 3.4rem); align-items: start; }
.house__stage { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 9; background: #cfc6b8; box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .45); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.house[data-state="clean"] .house__stage { cursor: ew-resize; }
.house__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.house__tag { position: absolute; right: 1rem; bottom: 1rem; z-index: 3; }
.house__seam { position: absolute; z-index: 4; top: 0; bottom: 0; width: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.house__seam i { position: absolute; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: var(--bone); box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .5); pointer-events: auto; }
.house__seam i::before, .house__seam i::after { content: ""; position: absolute; top: 50%; width: .55rem; height: .55rem; border: solid var(--ink); border-width: 0 0 2px 2px; }
.house__seam i::before { left: .8rem; transform: translateY(-50%) rotate(45deg); }
.house__seam i::after { right: .8rem; transform: translateY(-50%) rotate(-135deg); }
.house__seam span { position: absolute; top: 1rem; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; background: rgba(23, 25, 27, .7); padding: .4rem .6rem; border-radius: 4px; white-space: nowrap; }
.house__seam span:first-child { right: 1rem; }
.house__seam span:last-child { left: 1rem; background: var(--orange); color: var(--ink); }
.house__panel { display: grid; gap: 1.2rem; align-content: start; }
.house__tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .3rem; padding: .3rem; background: rgba(23, 25, 27, .06); border-radius: 999px; }
.house__tabs button { font: 600 .84rem/1 var(--f-text); padding: .85rem .5rem; border: 0; border-radius: 999px; background: transparent; color: var(--soft); cursor: pointer; transition: background .3s, color .3s; }
.house__tabs button[aria-selected="true"] { background: var(--ink); color: var(--bone); }
.house__out { display: grid; gap: .4rem; padding: 1.3rem 1.4rem; border-radius: 16px; background: var(--ink); color: var(--bone); min-height: 7.6rem; }
.house__out b { font-family: var(--f-display); font-stretch: 75%; font-weight: 800; font-size: 1.6rem; text-transform: uppercase; letter-spacing: 0; line-height: 1; }
.house__out span { color: var(--stone); font-size: .95rem; line-height: 1.45; }
.house .mats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.house .mats button { display: grid; gap: .5rem; padding: .45rem; border-radius: 14px; border: 1.5px solid var(--line-l); background: #fff; cursor: pointer; text-align: left; font: 600 .8rem/1.2 var(--f-text); color: var(--ink); transition: border-color .3s, transform .4s var(--ease); }
.house .mats button img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 9px; }
.house .mats button[aria-pressed="true"] { border-color: var(--orange); transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(220, 98, 41, .8); }
.house__hint { font-size: .9rem; color: var(--soft); }
.dirt { display: grid; gap: .5rem; margin-top: .6rem; }
.dirt button { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .3rem 1rem; text-align: left; padding: .9rem 1rem; border-radius: 12px; border: 1.5px solid var(--line-l); background: #fff; cursor: pointer; color: var(--ink); }
.dirt button b { font-family: var(--f-display); font-stretch: 80%; font-weight: 800; text-transform: uppercase; font-size: 1.05rem; }
.dirt button span { grid-column: 1 / -1; font-size: .82rem; color: var(--soft); }
.dirt button span i { font-style: normal; margin: 0 .4rem; color: var(--orange-deep); }
.dirt button::after { content: ""; grid-row: 1; grid-column: 2; width: 2.4rem; height: 1.4rem; border-radius: 99px; background: rgba(23, 25, 27, .14); box-shadow: inset -1.05rem 0 0 2px #fff; transition: background .3s, box-shadow .3s; }
.dirt button[aria-pressed="true"]::after { background: var(--orange); box-shadow: inset 1.05rem 0 0 2px #fff; }
.house__act { margin-top: .6rem; font: 600 .82rem/1 var(--f-text); padding: .8rem 1rem; border-radius: 99px; border: 1.5px solid var(--ink); background: transparent; cursor: pointer; }
.house__toggle { display: flex; align-items: center; gap: .8rem; width: 100%; padding: 1rem 1.1rem; border-radius: 14px; border: 1.5px solid var(--line-l); background: #fff; font: 700 1rem/1 var(--f-text); color: var(--ink); cursor: pointer; }
.house__toggle i { width: 2.8rem; height: 1.6rem; border-radius: 99px; background: rgba(23, 25, 27, .16); position: relative; transition: background .3s; flex: none; }
.house__toggle i::after { content: ""; position: absolute; top: .2rem; left: .2rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.house__toggle[aria-pressed="true"] i { background: var(--orange); }
.house__toggle[aria-pressed="true"] i::after { transform: translateX(1.2rem); }

/* ---------- métiers en défilement horizontal ---------- */
.hs { position: relative; z-index: 2; background: var(--ink); padding: clamp(5rem, 9vw, 7rem) 0 clamp(4rem, 8vw, 6rem); overflow: hidden; }
.hs.is-pinned { height: 100vh; height: 100svh; padding: calc(var(--bar) + 1.5rem) 0 2rem; display: grid; grid-template-rows: auto 1fr; gap: 2rem; }
.hs__head { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; }
.hs.is-pinned .hs__head .dsp--xl { font-size: clamp(2.6rem, 1rem + 5vw, 7rem); }
.hs__meta { display: grid; gap: .8rem; justify-items: end; }
.hs__n { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .14em; color: var(--stone); }
.hs__n b { font-family: var(--f-display); font-stretch: 72%; font-weight: 800; font-size: 3rem; color: var(--bone); letter-spacing: 0; }
.hs__bar { width: 12rem; height: 3px; background: rgba(247, 244, 239, .15); border-radius: 3px; overflow: hidden; }
.hs__bar i { display: block; height: 100%; background: var(--orange); transform-origin: 0 50%; transform: scaleX(0); }
.hs__track { display: flex; gap: 1.2rem; padding: 0 var(--gutter); width: max-content; will-change: transform; }
.hs__card { width: clamp(18rem, 30vw, 30rem); flex: none; }
.hs.is-pinned .hs__card { height: 100%; }
.hs.is-pinned .hs__track { height: 100%; }
.hs__in { position: relative; display: block; height: 100%; min-height: 30rem; border-radius: 22px; overflow: hidden; color: #fff; text-decoration: none; background: var(--ink-3); }
.hs__in img, .hs__in video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hs__in::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(17, 19, 21, .9) 0%, rgba(17, 19, 21, .2) 55%, rgba(17, 19, 21, .1)); }
.hs__in:hover img, .hs__in:hover video { transform: scale(1.05); }
.hs__k { position: absolute; z-index: 2; top: 1.2rem; left: 1.4rem; font-family: var(--f-display); font-stretch: 62%; font-weight: 900; font-size: 5.4rem; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(247, 244, 239, .7); }
.hs__txt { position: absolute; z-index: 2; left: 1.4rem; right: 1.4rem; bottom: 1.4rem; display: grid; gap: .7rem; }
.hs__txt p { font-size: .92rem; color: rgba(247, 244, 239, .82); line-height: 1.45; }
.hs__go { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.hs__go svg { width: .9rem; height: .9rem; }
.hs__card.is-near .hs__k { -webkit-text-stroke-color: var(--orange); }

/* camion */
.truck-sec { background: radial-gradient(80% 60% at 50% 70%, #1E3672 0%, #0C1838 60%, #0A1633 100%); }
.van canvas { mix-blend-mode: normal; }

/* finale, carte, pied */
.foot__big span { font-stretch: 62%; text-transform: uppercase; }
.map .dep { fill: rgba(220, 98, 41, .08); stroke: var(--orange); }

@media (max-width: 899px) {
  .house-sec__head, .house { grid-template-columns: 1fr; }
  .hs__head { grid-template-columns: 1fr; }
  .hs__meta { display: none; }
  .hs__track { flex-direction: column; width: auto; }
  .hs__card { width: auto; }
  .hs__in { min-height: 0; aspect-ratio: 4 / 5; }
}
@media (max-width: 760px) {
  .build .hero-copy h1 { font-size: clamp(3.6rem, 2rem + 13vw, 6rem); }
  .gauge { gap: 1.1rem; flex-wrap: wrap; }
  .gauge b { font-size: 1.6rem; }
  .diag i { width: 2.4rem; height: 2.4rem; margin: -1.2rem 0 0 -1.2rem; }
  .house__tabs button { font-size: .76rem; padding: .8rem .3rem; }
  .house__seam i { width: 2.6rem; height: 2.6rem; }
  .brand__logo { height: 2.3rem; }
  .hs__in { aspect-ratio: 4 / 4.6; }
}
.house__seam[hidden] { display: none; }
.hs.is-pinned { grid-template-columns: minmax(0, 1fr); }
.hs.is-pinned .hs__track { width: max-content; }
.van { height: min(72vh, 46rem); }
.dirt button::after { box-shadow: none; background: radial-gradient(circle at 30% 50%, #fff .5rem, transparent .55rem), rgba(23, 25, 27, .18); }
.dirt button[aria-pressed="true"]::after { box-shadow: none; background: radial-gradient(circle at 70% 50%, #fff .5rem, transparent .55rem), var(--orange); }
@media (max-width: 760px) { .van { height: auto; } }
.foot__logo.logo { display: block; padding: 0; border-radius: 0; background: none; height: 3.6rem; width: auto; color: var(--bone); }

.btn--orange { --bg: var(--red); --fg: #fff; }
.btn--orange::before { background: var(--bone); }
.btn--orange:hover { color: var(--ink); }
.dsp em, .it { font-weight: 380; letter-spacing: -.035em; padding-right: .06em; }
.build .hero-copy h1 em { color: var(--blue-l); font-size: 1em; }
.on-paper .dsp em, .on-paper .manifest__text em, .manifest__text em { color: var(--blue); }
.kicker::before { width: 1.5rem; height: 4px; background: linear-gradient(90deg, var(--blue) 0 33.3%, #fff 33.3% 66.6%, var(--red) 66.6%); box-shadow: 0 0 0 1px rgba(23, 25, 27, .12); }
.tape { background: var(--bone); color: var(--ink); border: 0; }
.tape::before { height: 6px; background: var(--blue); }
.tape::after { height: 6px; background: var(--red); }
.tape__t span::after { background: var(--red); border-radius: 50%; transform: none; }
.diag i { border-color: var(--red); box-shadow: 0 0 0 6px rgba(220, 98, 41, .18); }
.house .mats button[aria-pressed="true"] { border-color: var(--blue); box-shadow: 0 14px 30px -18px rgba(31, 79, 216, .8); }
.dirt button[aria-pressed="true"]::after { background: radial-gradient(circle at 70% 50%, #fff .5rem, transparent .55rem), var(--blue); }
.house__toggle[aria-pressed="true"] i { background: var(--blue); }
.phase a { border-bottom-color: var(--red); }
.brand__logo { height: 3.4rem; }
.bar.is-solid .brand__logo { height: 2.9rem; }
.foot__logo { color: var(--bone); }
.tricolore { display: flex; height: 6px; }
.tricolore i { flex: 1; } .tricolore i:nth-child(1) { background: var(--blue); } .tricolore i:nth-child(2) { background: var(--bone); } .tricolore i:nth-child(3) { background: var(--red); }
.demo-note { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.truck-sec { background: radial-gradient(80% 60% at 50% 70%, #12245c 0%, #17191B 62%, #17191B 100%); }
.keys b span { font: inherit; letter-spacing: inherit; color: inherit; text-transform: none; }
.fab-call { background: var(--red); color: #fff; }
.fab-call:hover .fab-call__n, .fab-call:focus-visible .fab-call__n { max-width: 12rem; }

/* ---------- toiture en éclaté 3D (three.js) ---------- */
.x3d { position: relative; height: 560vh; background: radial-gradient(110% 70% at 68% 42%, #15296a 0%, #0a1740 48%, #050c24 100%); color: var(--bone); }
.x3d__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.x3d__pin > canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.x3d__copy { position: relative; z-index: 2; height: 100%; display: grid; grid-template-rows: auto 1fr; padding: calc(var(--bar) + 3vh) var(--gutter) 5vh; pointer-events: none; }
.x3d__head { max-width: 30rem; }
.x3d__head h2 { color: #fff; }
.x3d__head .lede { margin-top: 1.2rem; color: rgba(247, 246, 242, .78); max-width: 26rem; }
.x3d__list { align-self: end; list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; max-width: 24rem; counter-reset: l; }
.x3d__list li { display: grid; grid-template-columns: 2.2rem 1fr; gap: .7rem; padding: .65rem .9rem; border-radius: 14px; color: rgba(247, 246, 242, .42); border: 1px solid transparent; transition: color .5s, background .5s, border-color .5s; }
.x3d__list li span { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; padding-top: .3rem; transition: color .5s; }
.x3d__list li b { font-family: var(--f-display); font-weight: 700; font-stretch: 80%; font-size: 1.25rem; letter-spacing: -.02em; text-transform: uppercase; }
.x3d__list li p { margin: .3rem 0 0; font-size: .9rem; line-height: 1.45; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s; }
.x3d__list li.is-on { color: #fff; background: rgba(15, 30, 66, .72); border-color: rgba(220, 98, 41, .28); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.x3d__list li.is-on span { color: var(--blue-l); }
.x3d__list li.is-on p { max-height: 5rem; opacity: .82; }
.x3d__list li.is-done span { color: var(--red); }
.x3d__tag { position: absolute; z-index: 3; left: 0; top: 0; pointer-events: none; opacity: 0; transition: opacity .4s; will-change: transform; }
.x3d__tag.is-on { opacity: 1; }
.x3d__tag i { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 6px rgba(220, 98, 41, .25), 0 0 0 14px rgba(220, 98, 41, .1); animation: x3dPing 2s var(--ease) infinite; }
.x3d__tag em { position: absolute; left: 34px; top: -64px; display: grid; gap: .15rem; padding: .6rem .9rem; border-radius: 12px; background: rgba(247, 246, 242, .96); color: var(--ink); font-style: normal; white-space: nowrap; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .6); }
.x3d__tag em::before { content: ""; position: absolute; left: -34px; top: 64px; width: 40px; height: 1.5px; background: rgba(247, 246, 242, .9); transform-origin: 0 0; transform: rotate(-58deg); }
.x3d__tag em span { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .16em; color: var(--blue); }
.x3d__tag em b { font-family: var(--f-display); font-weight: 800; font-stretch: 80%; font-size: 1.1rem; text-transform: uppercase; letter-spacing: -.01em; }
@keyframes x3dPing { 50% { box-shadow: 0 0 0 9px rgba(220, 98, 41, .18), 0 0 0 22px rgba(220, 98, 41, 0); } }
.x3d__hint { position: absolute; z-index: 2; right: var(--gutter); bottom: 4vh; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(247, 246, 242, .6); }
.x3d.no-gl .x3d__pin { background: url("../img/toit-fin.webp") center / cover; }
@media (max-width: 759px) {
  .x3d { height: 480vh; }
  .x3d__copy { grid-template-rows: auto 1fr; padding-top: calc(var(--bar) + 1.2rem); }
  .x3d__head .lede { display: none; }
  .x3d__head h2 { font-size: clamp(2.6rem, 12vw, 3.6rem); }
  .x3d__list { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 4.8rem; max-width: none; }
  .x3d__list li:not(.is-on) { display: none; }
  .x3d__tag em { left: 22px; top: -58px; }
  .x3d__tag em::before { left: -22px; top: 58px; width: 30px; }
  .x3d__hint { display: none; }
}

/* ---------- atelier 3D ---------- */
.atelier-sec { position: relative; background: var(--ink); color: var(--bone); padding: clamp(5rem, 9vw, 8rem) 0; overflow: hidden; }
.atelier-sec__head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: end; }
.atelier-sec__head h2 { color: #fff; }
.atelier-sec__head .lede { color: rgba(247, 246, 242, .78); max-width: 32rem; }
.atelier { display: grid; grid-template-columns: minmax(0, 1fr) 22.5rem; gap: 1.4rem; margin-top: clamp(2.2rem, 4vw, 3.4rem); }
.atelier__stage { position: relative; aspect-ratio: 16 / 10; border-radius: 26px; overflow: hidden; background: linear-gradient(180deg, #3b78d6, #d8e9ff 78%); box-shadow: 0 60px 100px -50px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .08); transition: background .6s; }
.atelier__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; outline: none; }
.atelier__stage canvas:active { cursor: grabbing; }
.atelier__stage canvas:focus-visible { box-shadow: inset 0 0 0 3px var(--blue-l); }
.atelier__tag { position: absolute; left: 1rem; top: 1rem; z-index: 2; background: rgba(23, 25, 27, .7); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.atelier__hint { position: absolute; left: 50%; bottom: 1.1rem; z-index: 2; transform: translateX(-50%); display: inline-flex; align-items: center; gap: .6rem; padding: .55rem .95rem; border-radius: 99px; background: rgba(23, 25, 27, .62); color: #fff; font: 600 .78rem/1 var(--f-text); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); pointer-events: none; transition: opacity .6s; white-space: nowrap; }
.atelier__hint i { width: 1.6rem; height: .9rem; border: 1.5px solid #fff; border-radius: 99px; position: relative; }
.atelier__hint i::after { content: ""; position: absolute; top: 50%; left: 15%; width: .35rem; height: .35rem; margin-top: -.175rem; border-radius: 50%; background: #fff; animation: atHint 1.8s var(--ease) infinite; }
@keyframes atHint { 50% { left: 62%; } }
.atelier.is-touched .atelier__hint { opacity: 0; }
.atelier__panel { display: grid; align-content: start; gap: 1.3rem; padding: 1.4rem; border-radius: 26px; background: var(--ink-2); border: 1px solid var(--line-d); }
.atelier__lbl { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(247, 246, 242, .62); margin-bottom: .7rem; }
.atelier__lbl output { color: #fff; letter-spacing: .06em; }
.atelier__covers { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.atelier__covers button { display: grid; gap: .5rem; padding: .5rem .5rem .7rem; border-radius: 14px; border: 1.5px solid var(--line-d); background: rgba(247, 246, 242, .04); color: var(--bone); font: 600 .82rem/1.2 var(--f-text); text-align: left; cursor: pointer; transition: border-color .3s, background .3s, transform .3s; }
.atelier__covers button:hover { transform: translateY(-2px); }
.atelier__covers button[aria-pressed="true"] { border-color: var(--blue-l); background: rgba(220, 98, 41, .12); }
.sw { display: block; height: 2.6rem; border-radius: 9px; }
.sw--canal { background: repeating-linear-gradient(90deg, #c4683a 0 9px, #9c4528 9px 11px, #b8582f 11px 20px, #8e3f2a 20px 22px); box-shadow: inset 0 -8px 12px -6px rgba(0, 0, 0, .35); }
.sw--romane { background: repeating-linear-gradient(90deg, #b4583a 0 16px, #7d3826 16px 19px, #c06a44 19px 30px); box-shadow: inset 0 -8px 12px -6px rgba(0, 0, 0, .35); }
.sw--ardoise { background: repeating-linear-gradient(0deg, #3a424b 0 7px, #252b31 7px 8px, #4a535c 8px 15px, #252b31 15px 16px); }
.sw--zinc { background: repeating-linear-gradient(90deg, #8b9298 0 16px, #c3c9ce 16px 18px, #7b8288 18px 19px); }
.atelier input[type="range"] { width: 100%; accent-color: var(--red); height: 1.4rem; }
.atelier__row { display: flex; flex-wrap: wrap; gap: .45rem; }
.atelier__row button { padding: .62rem .9rem; border-radius: 99px; border: 1px solid var(--line-d); background: rgba(247, 246, 242, .06); color: var(--bone); font: 600 .8rem/1 var(--f-text); cursor: pointer; transition: background .3s, border-color .3s; }
.atelier__row button:hover { border-color: rgba(247, 246, 242, .4); }
.atelier__row button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.atelier__out { margin: 0; min-height: 2.8em; font-size: .9rem; line-height: 1.45; color: rgba(247, 246, 242, .78); }
.atelier .hero-ctas { margin-top: 0; }
.atelier.no-gl .atelier__stage { background: url("../img/maison-tuile.webp") center / cover; }
.atelier.no-gl .atelier__panel > :not(.hero-ctas), .atelier.no-gl .atelier__hint { display: none; }
@media (max-width: 999px) { .atelier { grid-template-columns: 1fr; } .atelier-sec__head { grid-template-columns: 1fr; } }
@media (max-width: 759px) { .atelier__stage { aspect-ratio: 4 / 5; border-radius: 20px; } .atelier__panel { padding: 1.1rem; } }
@media (min-width: 760px) { .x3d__copy { padding-bottom: 5.6rem; } .x3d__list li { padding: .5rem .85rem; } .x3d__list li b { font-size: 1.12rem; } }
@media (min-width: 760px) and (max-height: 820px) { .x3d__head .lede { display: none; } }

/* =====================================================================
   France Patrimoine : identité
   ===================================================================== */
body { background: var(--ink); font-family: var(--f-text); font-weight: 400; letter-spacing: 0; }
::selection { background: var(--gold-l); color: var(--ink); }
:focus-visible { outline-color: var(--gold-l); }
.on-paper { background-color: var(--paper); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .28 0 0 0 0 .18 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.on-paper :focus-visible { outline-color: var(--bordeaux); }

.dsp { font-family: var(--f-display); font-weight: 500; font-stretch: normal; text-transform: none; letter-spacing: -.018em; line-height: .92; font-variation-settings: normal; }
.dsp em, .it { font-family: var(--f-serif); font-style: italic; font-weight: 500; text-transform: none; letter-spacing: -.02em; color: var(--gold-l); padding-right: .05em; }
.on-paper .dsp em, .on-paper .it { color: var(--bordeaux); }
.dsp--hero { font-size: clamp(3.4rem, 1.1rem + 8.4vw, 11.4rem); }
.dsp--xl { font-size: clamp(3rem, 1rem + 6.6vw, 9rem); }
.dsp--l { font-size: clamp(2.5rem, 1.1rem + 4.2vw, 6rem); }
.dsp--m { font-size: clamp(1.9rem, 1.1rem + 2.2vw, 3.4rem); line-height: 1; }
.dsp--s { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); letter-spacing: -.01em; line-height: 1.05; }
.kicker { font-family: var(--f-text); font-weight: 650; font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-l); gap: .8rem; }
.kicker::before { width: .5rem; height: .5rem; background: none; border: 1px solid currentColor; transform: rotate(45deg); opacity: 1; box-shadow: none; }
.on-paper .kicker { color: var(--bordeaux); }
.lede { font-family: var(--f-text); font-weight: 400; font-size: clamp(1.06rem, .98rem + .38vw, 1.32rem); line-height: 1.55; letter-spacing: -.005em; }
.body-t { line-height: 1.7; }
.manifest__text { font-family: var(--f-display); font-weight: 500; font-stretch: normal; letter-spacing: -.015em; line-height: 1.08; font-size: clamp(2rem, 1rem + 3.3vw, 4.6rem); }
.manifest__text em { font-family: var(--f-serif); font-style: italic; color: var(--bordeaux); }
.sig-item b, .zone__out strong, .quick h3, .step h3, .signs li b, .diagram__list b, .wizard legend { font-family: var(--f-display); font-weight: 600; font-stretch: normal; letter-spacing: -.01em; }
.step h3 { font-size: 1.7rem; line-height: 1.05; }
.menu__list a { font-family: var(--f-display); font-weight: 500; font-stretch: normal; text-transform: none; letter-spacing: -.015em; }
.crumb { font-family: var(--f-text); font-weight: 600; font-size: .66rem; letter-spacing: .2em; }
.tag { font-family: var(--f-text); font-weight: 600; font-size: .62rem; letter-spacing: .18em; background: rgba(23, 25, 27, .6); }
.fld { font-family: var(--f-text); font-weight: 600; font-size: .7rem; letter-spacing: .16em; }
.foot h4 { font-family: var(--f-text); font-weight: 650; font-size: .66rem; letter-spacing: .22em; color: var(--gold); }

/* ornement : filet or et losange */
.orn { display: flex; align-items: center; gap: .8rem; color: var(--gold); margin: 1.6rem 0 0; }
.orn::before, .orn::after { content: ""; height: 1px; width: 3.4rem; background: currentColor; opacity: .7; }
.orn i { width: .5rem; height: .5rem; border: 1px solid currentColor; transform: rotate(45deg); }

/* boutons : bordeaux plein, or au survol */
.btn { border-radius: 2px; font-family: var(--f-text); font-weight: 650; font-size: .92rem; letter-spacing: .02em; }
.btn__ico { border-radius: 1px; }
.btn--orange { --bg: var(--bordeaux); --fg: var(--bone); }
.btn--orange::before { background: var(--gold-l); }
.btn--orange:hover { color: var(--ink); }
.btn--gold { --bg: var(--gold-l); --fg: var(--ink); }
.btn--gold::before { background: var(--bone); }
.btn--ghost { --fg: var(--bone); box-shadow: inset 0 0 0 1px rgba(245, 242, 235, .35); }
.on-paper .btn--ghost, .btn--line { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1px rgba(23, 25, 27, .3); }
.btn--dark { --bg: var(--ink); --fg: var(--bone); }
.btn--dark::before { background: var(--bordeaux); }
.btn--dark:hover { color: var(--bone); }
.tag--after { background: var(--bordeaux); color: var(--bone); }

/* marque */
.logo { display: block; color: var(--bone); overflow: visible; }
.brand__logo { height: 3.3rem; width: auto; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .35)); transition: height .4s var(--ease); }
.bar.is-solid .brand__logo { height: 2.85rem; }
.bar.on-paper-bar .logo { color: var(--ink); filter: none; }
.loader { background: var(--ink); }
.loader__logo { width: min(24rem, 74vw); height: auto; color: var(--bone); animation: fp-seal 1.4s var(--ease) both; }
.loader__logo .logo__seal { transform-origin: 391px 113px; animation: fp-turn 2.4s var(--ease) both; }
@keyframes fp-seal { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes fp-turn { from { transform: rotate(-40deg); opacity: 0; } to { transform: none; opacity: 1; } }
.loader__bar { height: 1px; width: 11rem; }
.loader__bar i { background: var(--gold-l); }
.loader__n { font-family: var(--f-text); }
.foot__logo { height: 7.5rem; width: auto; color: var(--bone); }
.chat__mark { width: 3rem; height: auto; flex: none; }
.bar .tel { font-weight: 600; }
.bar__free { display: inline-flex; align-items: center; gap: .5rem; font-size: .7rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-l); white-space: nowrap; }
.bar__free::before { content: ""; width: .4rem; height: .4rem; background: currentColor; transform: rotate(45deg); }
.bar.on-paper-bar .bar__free { color: var(--bordeaux); }
@media (max-width: 1100px) { .bar__free { display: none; } }
@media (max-width: 760px) { .brand__logo { height: 2.5rem; } .bar.is-solid .brand__logo { height: 2.3rem; } .brand .logo__tag { display: none; } }

/* menu : groupes de métiers */
.menu { background: var(--ink); }
.menu__list { counter-reset: none; }
.menu__group { list-style: none; padding: 0; margin: 0; }
.menu__gt { display: block; font-family: var(--f-text); font-size: .64rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin: 1.4rem 0 .4rem; }
.menu__list li:first-child .menu__gt { margin-top: 0; }
.menu__n { font-family: var(--f-text); color: var(--gold); }

/* gratuités */
.free { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.6rem 0 0; }
.free li { display: inline-flex; align-items: center; gap: .55rem; padding: .55rem .9rem .55rem .7rem; border: 1px solid rgba(239, 138, 85, .38); color: var(--bone); font-size: .82rem; font-weight: 600; letter-spacing: .01em; background: rgba(23, 25, 27, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.free li svg { width: 1rem; height: 1rem; color: var(--gold-l); }
.on-paper .free li { color: var(--ink); background: rgba(255, 255, 255, .45); border-color: rgba(135, 53, 45, .28); }
.on-paper .free li svg { color: var(--bordeaux); }
.free-band { position: relative; z-index: 3; background: var(--bordeaux); color: var(--bone); }
.free-band__in { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 0; align-items: stretch; }
.free-band__in > div { display: grid; gap: .25rem; padding: 1.5rem var(--gutter) 1.5rem 0; border-right: 1px solid rgba(245, 242, 235, .2); margin-right: var(--gutter); }
.free-band b { font-family: var(--f-display); font-size: clamp(1.5rem, 1.1rem + 1vw, 2.1rem); font-weight: 500; line-height: 1; }
.free-band b em { font-style: italic; color: var(--gold-l); }
.free-band span { font-size: .86rem; color: rgba(245, 242, 235, .78); }
.free-band .btn { align-self: center; }
@media (max-width: 900px) { .free-band__in { grid-template-columns: 1fr; } .free-band__in > div { border-right: 0; border-bottom: 1px solid rgba(245, 242, 235, .2); margin: 0; padding: 1.1rem 0; } .free-band .btn { margin: 1.2rem 0; justify-self: start; } }

/* =====================================================================
   Ouverture : le chantier de la maison de maître
   ===================================================================== */
.build { height: 760vh; }
.build__pin { background: #131517; }
.build .stage__shade { background: linear-gradient(90deg, rgba(17, 19, 21, .86) 0%, rgba(17, 19, 21, .5) 34%, rgba(17, 19, 21, 0) 64%), linear-gradient(0deg, rgba(17, 19, 21, .78) 0%, rgba(17, 19, 21, 0) 40%), linear-gradient(180deg, rgba(17, 19, 21, .6) 0%, rgba(17, 19, 21, 0) 24%); }
.build .hero-copy { max-width: 64rem; }
.build .hero-copy h1 { font-size: clamp(3.8rem, 1.2rem + 9vw, 12.4rem); line-height: .86; color: var(--bone); text-shadow: 0 6px 50px rgba(0, 0, 0, .4); }
.build .hero-copy h1 em { color: var(--gold-l); }
.build .hero-copy .lede { max-width: 40rem; color: rgba(245, 242, 235, .9); }
.gauge { font-family: var(--f-text); font-weight: 650; font-size: .62rem; letter-spacing: .22em; gap: 2.4rem; }
.gauge b { font-family: var(--f-display); font-weight: 500; font-size: 2.4rem; letter-spacing: -.01em; }
.gauge b small { color: var(--gold-l); font-family: var(--f-text); font-size: .4em; }
.gauge .state { font-family: var(--f-display); font-style: italic; font-size: 1.4rem; text-transform: none; letter-spacing: 0; padding: .3rem .8rem .35rem; border-radius: 0; background: rgba(245, 242, 235, .1); border: 1px solid rgba(239, 138, 85, .35); }
.gauge .state.is-after { background: var(--gold-l); color: var(--ink); }
.rail li { font-family: var(--f-text); font-weight: 650; font-size: .6rem; letter-spacing: .2em; }
.rail li b { font-family: var(--f-display); font-size: 1.15rem; letter-spacing: 0; font-weight: 500; }
.rail li.is-on b { color: var(--gold-l); }
.rail__bar i { background: linear-gradient(var(--gold-l), var(--bordeaux-l)); }
.phase { max-width: 36rem; }
.phase .kicker { color: var(--gold-l); }
.phase h2 { font-size: clamp(2.8rem, 1.2rem + 4.6vw, 6.4rem); }
.phase a { font-family: var(--f-text); font-weight: 650; border-bottom-color: var(--gold-l); }
.build__end h2 { font-size: clamp(3rem, 1.2rem + 5.6vw, 8rem); }
.scroll-cue { font-family: var(--f-text); font-weight: 650; }
.scroll-cue i { background: linear-gradient(var(--gold-l), transparent); }
.diag i { border-color: var(--gold-l); box-shadow: 0 0 0 6px rgba(239, 138, 85, .16); }
.diag b { font-family: var(--f-text); font-weight: 700; background: var(--bone); color: var(--ink); }
.build__replay { position: absolute; z-index: 7; right: var(--gutter); bottom: 1.4rem; font: 650 .64rem/1 var(--f-text); letter-spacing: .2em; text-transform: uppercase; color: var(--hud); background: none; border: 1px solid rgba(245, 242, 235, .3); padding: .7rem .9rem; cursor: pointer; opacity: 0; transition: opacity .5s; }
.build.is-end .build__replay { opacity: 1; }
.illu-note { position: absolute; z-index: 6; left: var(--gutter); top: calc(var(--bar) + 1rem); font: 600 .58rem/1 var(--f-text); letter-spacing: .2em; text-transform: uppercase; color: rgba(245, 242, 235, .55); }

/* manifeste */
.manifest { position: relative; overflow: hidden; }
.manifest__seal { position: absolute; right: -6rem; top: 50%; width: min(34rem, 60vw); transform: translateY(-50%); opacity: .07; pointer-events: none; }
.keys { border-radius: 0; background: rgba(23, 25, 27, .14); border-color: rgba(23, 25, 27, .14); }
.keys div { background: var(--paper); }
.keys b { font-family: var(--f-display); font-weight: 500; font-stretch: normal; text-transform: none; letter-spacing: -.02em; font-size: clamp(2.6rem, 1.6rem + 2.6vw, 4.6rem); }
.keys b small { font-family: var(--f-serif); font-style: italic; color: var(--bordeaux); }
.keys span { font-family: var(--f-text); font-weight: 650; letter-spacing: .18em; }

/* bandeau défilant */
.tape { background: var(--ink-2); color: var(--bone); transform: none; margin: 0; border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); box-shadow: none; padding: 1.1rem 0; }
.tape::before, .tape::after { display: none; }
.tape__t { font-family: var(--f-display); font-weight: 500; font-style: italic; font-size: clamp(1.6rem, 1rem + 2vw, 3rem); letter-spacing: -.01em; text-transform: none; }
.tape__t span::after { width: .45rem; height: .45rem; background: none; border: 1px solid var(--gold-l); border-radius: 0; transform: rotate(45deg); }

/* métiers : défilement horizontal */
.hs__k { font-family: var(--f-display); font-weight: 400; font-stretch: normal; font-size: 6rem; -webkit-text-stroke: 1px rgba(245, 242, 235, .65); }
.hs__card.is-near .hs__k { -webkit-text-stroke-color: var(--gold-l); }
.hs__in { border-radius: 2px; }
.hs__in::after { background: linear-gradient(0deg, rgba(17, 19, 21, .92) 0%, rgba(17, 19, 21, .25) 55%, rgba(17, 19, 21, .1)); }
.hs__txt h3 { font-size: clamp(1.9rem, 1.3rem + 1.4vw, 2.8rem); }
.hs__go { font-family: var(--f-text); font-weight: 700; color: var(--gold-l); }
.hs__n { font-family: var(--f-text); }
.hs__n b { font-family: var(--f-display); font-weight: 500; }
.hs__bar i { background: var(--gold-l); }
.hs__grp { position: absolute; z-index: 2; top: 1.4rem; right: 1.4rem; font: 700 .58rem/1 var(--f-text); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-l); }

/* camion */
.truck-sec { background: radial-gradient(80% 60% at 50% 70%, #1d3445 0%, #0f1b24 60%, #131517 100%); }
.truck__ui button[aria-pressed="true"] { background: var(--gold-l); border-color: var(--gold-l); color: var(--ink); }
.truck__ui button { border-radius: 2px; font-family: var(--f-text); }
.spot i { background: var(--gold-l); box-shadow: 0 0 0 0 rgba(239, 138, 85, .6); animation-name: pulse-g; }
@keyframes pulse-g { 70% { box-shadow: 0 0 0 14px rgba(239, 138, 85, 0); } 100% { box-shadow: 0 0 0 0 rgba(239, 138, 85, 0); } }
.truck-sec__foot { font-family: var(--f-text); font-weight: 650; }

/* carte */
.map .dep { fill: rgba(239, 138, 85, .06); stroke: var(--gold); stroke-width: 1.2; }
.map .dep.is-18 { fill: rgba(157, 184, 206, .07); }
.map .dep-lbl { font-family: var(--f-display); font-weight: 500; font-size: 64px; fill: rgba(245, 242, 235, .1); }
.map .base, .m-base { fill: var(--bordeaux-l); }
.map .route { stroke: var(--gold-l); }
.on-paper .map .dep { fill: rgba(135, 53, 45, .05); stroke: rgba(135, 53, 45, .5); }
.on-paper .map .dep-lbl { fill: rgba(23, 25, 27, .08); }

/* pied */
.foot { background: #111315; }
.foot__top { grid-template-columns: 1.3fr repeat(4, 1fr); }
.foot__big { font-family: var(--f-display); font-weight: 500; font-style: italic; letter-spacing: -.03em; font-size: clamp(3.6rem, .4rem + 11vw, 13rem); }
.foot__big span { background: linear-gradient(180deg, #23272A 58%, color-mix(in oklab, var(--bordeaux) 60%, #111315) 58.2%); -webkit-background-clip: text; background-clip: text; color: transparent !important; text-transform: none; font-stretch: normal; }
.foot__free { margin-top: 1.4rem; display: grid; gap: .35rem; font-size: .85rem; color: var(--gold-l); }
.foot__free span::before { content: ""; display: inline-block; width: .35rem; height: .35rem; border: 1px solid currentColor; transform: rotate(45deg); margin-right: .6rem; vertical-align: .15em; }

/* finale */
.finale__bg::after { background: linear-gradient(90deg, rgba(17, 19, 21, .9) 0%, rgba(17, 19, 21, .7) 42%, rgba(17, 19, 21, .2) 78%), linear-gradient(0deg, rgba(17, 19, 21, .82) 0%, transparent 42%); }
.quick { border-radius: 2px; background: rgba(23, 25, 27, .62); }
.quick h3 { font-size: 1.9rem; font-weight: 500; }
.fld input, .fld select, .fld textarea { border-radius: 2px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--gold-l); }

/* fab */
.fab-call { background: var(--bordeaux); color: var(--bone); }

/* =====================================================================
   Pages métier
   ===================================================================== */
.s-hero::after { background: linear-gradient(90deg, rgba(17, 19, 21, .86), rgba(17, 19, 21, .35) 60%, rgba(17, 19, 21, .12)), linear-gradient(0deg, rgba(17, 19, 21, .76), transparent 46%); }
.s-hero .dsp--hero, .v-hero .dsp--hero { font-size: clamp(3rem, 1rem + 7vw, 9rem); }
.s-hero__num { position: absolute; z-index: 2; right: var(--gutter); top: calc(var(--bar) + 1.5rem); font-family: var(--f-display); font-weight: 400; font-size: clamp(5rem, 2rem + 10vw, 13rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(239, 138, 85, .55); }
.s-hero__meta { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: flex-end; }

/* prestations */
.presta { background: var(--ink); }
.presta__list li { border-radius: 2px; background: var(--ink-2); font-weight: 600; }
.presta__list li span { font-family: var(--f-display); font-style: italic; font-size: 1.15rem; color: var(--gold-l); }

/* questions cliquables : explication, puis appel ou demande */
.sgn { padding: clamp(5rem, 10vw, 8.5rem) 0; }
.sgn__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 3rem var(--gutter); align-items: start; }
.sgn__aside { position: sticky; top: calc(var(--bar) + 2rem); }
.sgn__list { border-top: 1px solid var(--line-l); }
.sign { border-bottom: 1px solid var(--line-l); }
.sign summary { list-style: none; display: grid; grid-template-columns: 3rem 1fr 2.6rem; gap: 1rem; align-items: center; padding: 1.4rem 0; cursor: pointer; }
.sign summary::-webkit-details-marker { display: none; }
.sign summary .n { font-family: var(--f-display); font-style: italic; font-size: 1.3rem; color: var(--bordeaux); }
.sign summary b { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.85rem); line-height: 1.1; letter-spacing: -.01em; }
.sign summary i { width: 2.6rem; height: 2.6rem; border: 1px solid var(--line-l); display: grid; place-items: center; transition: transform .5s var(--ease), background .3s, color .3s; }
.sign summary i svg { width: 1rem; height: 1rem; }
.sign summary:hover i { background: var(--ink); color: var(--bone); }
.sign[open] summary i { transform: rotate(45deg); background: var(--bordeaux); color: var(--bone); border-color: var(--bordeaux); }
.sign__body { display: grid; gap: 1rem; padding: 0 3.6rem 1.8rem 4rem; }
.sign__body p { color: var(--soft); max-width: 58ch; }
.sign__body .suite { color: var(--ink); font-weight: 650; display: flex; gap: .6rem; align-items: center; }
.sign__body .suite::before { content: ""; width: .45rem; height: .45rem; background: var(--bordeaux); transform: rotate(45deg); flex: none; }
.sign__ctas { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .4rem; }
.sign__ctas .btn { min-height: 2.9rem; font-size: .86rem; }
.sign[open] .sign__body { animation: sign-in .6s var(--ease); }
@keyframes sign-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .sgn__grid { grid-template-columns: 1fr; } .sgn__aside { position: static; } .sign__body { padding: 0 0 1.6rem 0; } .sign summary { grid-template-columns: 2.2rem 1fr 2.4rem; } }

/* méthode */
.method { background: var(--ink); }
.step { border-top: 1px solid var(--line-d); padding-top: 1.6rem; }
.step__k { font-family: var(--f-text); font-weight: 700; letter-spacing: .22em; color: var(--gold-l); }

/* FAQ */
.faq details summary { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.25rem, 1.05rem + .6vw, 1.6rem); letter-spacing: -.005em; }

/* bloc devis récurrent */
.cta-row { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; margin-top: 2rem; }
.cta-note { font-size: .85rem; color: var(--stone); }
.on-paper .cta-note { color: var(--soft); }
.ask-strip { background: var(--paper-2); color: var(--ink); padding: clamp(3rem, 6vw, 4.6rem) 0; border-top: 1px solid rgba(23, 25, 27, .08); border-bottom: 1px solid rgba(23, 25, 27, .08); }
.ask-strip__in { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 1.6rem var(--gutter); align-items: center; }
.ask-strip h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.6rem); }
.ask-strip .free { margin-top: 1rem; }
@media (max-width: 860px) { .ask-strip__in { grid-template-columns: 1fr; } }

/* =====================================================================
   Modules
   ===================================================================== */
.mod { position: relative; padding: clamp(5rem, 9vw, 8rem) 0; overflow: hidden; }
.mod--dark { background: var(--ink); color: var(--bone); }
.mod__head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.6rem var(--gutter); align-items: end; }
.mod--dark .mod__head h2 { color: var(--bone); }
.mod__head .lede { max-width: 34rem; }
.mod--dark .lede { color: rgba(245, 242, 235, .78); }
.mod__grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 1.4rem; margin-top: clamp(2rem, 4vw, 3.2rem); align-items: start; }
.mod__panel { display: grid; gap: 1.2rem; align-content: start; padding: 1.5rem; background: var(--ink-2); border: 1px solid var(--line-d); color: var(--bone); }
.on-paper .mod__panel { background: #fff9ef; border-color: rgba(23, 25, 27, .1); color: var(--ink); box-shadow: 0 30px 60px -40px rgba(60, 40, 20, .35); }
.mod__lbl { display: flex; justify-content: space-between; gap: 1rem; font: 700 .62rem/1.2 var(--f-text); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.on-paper .mod__lbl { color: var(--bordeaux); }
.mod__out { margin: 0; min-height: 3em; font-size: .92rem; line-height: 1.5; color: rgba(245, 242, 235, .8); }
.on-paper .mod__out { color: var(--soft); }
.mod__out b { color: inherit; font-weight: 700; }
.mod__ctas { display: flex; flex-wrap: wrap; gap: .5rem; }
.mod__ctas .btn { min-height: 2.9rem; font-size: .86rem; }
.mod__illu { position: absolute; left: 1rem; bottom: 1rem; z-index: 3; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: .25rem; padding: .25rem; background: rgba(245, 242, 235, .06); border: 1px solid var(--line-d); }
.on-paper .seg { background: rgba(23, 25, 27, .05); border-color: rgba(23, 25, 27, .1); }
.seg button { font: 650 .8rem/1.1 var(--f-text); padding: .8rem .5rem; border: 0; background: transparent; color: inherit; opacity: .7; cursor: pointer; transition: background .3s, color .3s, opacity .3s; }
.seg button[aria-pressed="true"], .seg button[aria-selected="true"] { background: var(--bordeaux); color: var(--bone); opacity: 1; }
.chipb { display: flex; flex-wrap: wrap; gap: .4rem; }
.chipb button { font: 600 .8rem/1 var(--f-text); padding: .7rem .9rem; border: 1px solid var(--line-d); background: rgba(245, 242, 235, .05); color: inherit; cursor: pointer; transition: background .3s, border-color .3s; }
.on-paper .chipb button { border-color: rgba(23, 25, 27, .15); background: #fff; }
.chipb button[aria-pressed="true"] { background: var(--gold-l); border-color: var(--gold-l); color: var(--ink); }
@media (max-width: 999px) { .mod__grid, .mod__head { grid-template-columns: 1fr; } }

/* comparateur avec pourcentage */
.cmpx .cmp { --ar: 16 / 9; border-radius: 2px; box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .55); }
.cmpx .cmp__seam { background: var(--gold-l); box-shadow: 0 0 24px rgba(239, 138, 85, .6); width: 2px; }
.cmpx .cmp__knob { background: var(--bone); color: var(--ink); border-radius: 50%; box-shadow: 0 0 0 6px rgba(245, 242, 235, .22), 0 16px 34px -10px rgba(0, 0, 0, .6); }
.cmpx .cmp__tag { font-family: var(--f-text); }
.cmpx .cmp img { transition: opacity .7s var(--ease); }
.cmpx .cmp__after2 { opacity: 0; }
.cmpx[data-alt="1"] .cmp__after2 { opacity: 1; }
.pct { display: grid; gap: .7rem; }
.pct__n { font-family: var(--f-display); font-weight: 500; font-size: clamp(4rem, 2.6rem + 3vw, 6.4rem); line-height: .8; letter-spacing: -.03em; }
.pct__n small { font-size: .38em; margin-left: .2rem; color: var(--gold-l); }
.on-paper .pct__n small { color: var(--bordeaux); }
.pct__bar { height: 4px; background: rgba(245, 242, 235, .12); overflow: hidden; }
.on-paper .pct__bar { background: rgba(23, 25, 27, .1); }
.pct__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-l)); transform-origin: 0 50%; transform: scaleX(0); }
.pct__lbl { display: flex; justify-content: space-between; font-size: .8rem; color: var(--stone); }
.on-paper .pct__lbl { color: var(--soft); }
.cmpx__keys { display: flex; gap: .4rem; flex-wrap: wrap; }
.cmpx__keys button { font: 650 .78rem/1 var(--f-text); padding: .7rem .85rem; border: 1px solid var(--line-d); background: transparent; color: inherit; cursor: pointer; }
.on-paper .cmpx__keys button { border-color: rgba(23, 25, 27, .18); }
.cmpx__keys button:hover { border-color: var(--gold-l); }

/* atelier peinture */
.paint__stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #cfc4b2; box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .55); }
.paint__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.paint__stage .is-next { clip-path: inset(0 100% 0 0); }
.paint__roller { position: absolute; top: 0; bottom: 0; left: 0; width: 3px; background: var(--gold-l); box-shadow: 0 0 30px 6px rgba(239, 138, 85, .45); opacity: 0; pointer-events: none; }
.paint__roller::after { content: ""; position: absolute; top: 50%; left: -1.1rem; width: 2.2rem; height: 5.4rem; margin-top: -2.7rem; background: var(--bone); border-radius: 1.1rem; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .6); }
.paint__sw { display: grid; grid-template-columns: repeat(2, 1fr); gap: .45rem; }
.paint__sw button { display: flex; align-items: center; gap: .7rem; padding: .7rem .8rem; border: 1px solid rgba(23, 25, 27, .14); background: #fff; color: var(--ink); font: 600 .82rem/1.2 var(--f-text); text-align: left; cursor: pointer; transition: border-color .3s, transform .3s; }
.paint__sw button i { width: 1.6rem; height: 1.6rem; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.paint__sw button[aria-pressed="true"] { border-color: var(--bordeaux); box-shadow: 0 0 0 1px var(--bordeaux); }
.paint__tags { position: absolute; left: 1rem; top: 1rem; display: flex; gap: .4rem; z-index: 2; }

/* photo annotée */
.hot__stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #22313b; box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .7); }
.hot__stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); transform-origin: var(--zx, 50%) var(--zy, 50%); }
.hot__stage.is-zoom > img { transform: scale(1.35); }
.hot__pin { position: absolute; left: var(--x); top: var(--y); z-index: 3; width: 2.6rem; height: 2.6rem; margin: -1.3rem 0 0 -1.3rem; border-radius: 50%; border: 0; padding: 0; background: rgba(23, 25, 27, .55); color: var(--bone); display: grid; place-items: center; cursor: pointer; box-shadow: 0 0 0 2px var(--gold-l); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: opacity .5s, background .3s, transform .4s var(--ease); }
.hot__pin span { font: 700 .8rem/1 var(--f-text); }
.hot__pin::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(239, 138, 85, .6); animation: hot-ping 2.4s var(--ease) infinite; }
@keyframes hot-ping { 0% { transform: scale(.8); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.hot__pin[aria-pressed="true"] { background: var(--gold-l); color: var(--ink); transform: scale(1.1); }
.hot__stage.is-zoom .hot__pin:not([aria-pressed="true"]) { opacity: 0; pointer-events: none; }
.hot__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.hot__list button { width: 100%; display: grid; grid-template-columns: 2rem 1fr; gap: .6rem; text-align: left; padding: .85rem .9rem; border: 1px solid var(--line-d); background: transparent; color: inherit; cursor: pointer; transition: background .3s, border-color .3s; }
.hot__list button > span { font: 700 .8rem/1.6 var(--f-text); color: var(--gold-l); }
.hot__list button b { font-family: var(--f-display); font-weight: 600; font-size: 1.25rem; line-height: 1.1; display: block; }
.hot__list button p { margin: .35rem 0 0; font-size: .88rem; line-height: 1.45; color: rgba(245, 242, 235, .72); display: none; }
.hot__list button[aria-pressed="true"] { background: rgba(239, 138, 85, .1); border-color: rgba(239, 138, 85, .45); }
.hot__list button[aria-pressed="true"] p { display: block; }

/* éclaté 3D : fiches */
.x3d { background: radial-gradient(110% 70% at 68% 42%, #1e3546 0%, #111d26 50%, #111315 100%); }
.x3d__head h2 { color: var(--bone); }
.x3d__list li { cursor: pointer; pointer-events: auto; border-radius: 2px; }
.x3d__list li b { font-family: var(--f-display); font-weight: 600; font-stretch: normal; text-transform: none; font-size: 1.4rem; letter-spacing: 0; }
.x3d__list li span { font-family: var(--f-text); font-weight: 700; }
.x3d__list li.is-on { background: rgba(20, 33, 42, .78); border-color: rgba(239, 138, 85, .3); }
.x3d__list li.is-on span { color: var(--gold-l); }
.x3d__list li.is-done span { color: var(--bordeaux-l); }
.x3d__list li .more { display: inline-flex; margin-top: .4rem; font: 700 .62rem/1 var(--f-text); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-l); }
.x3d__list li:not(.is-on) .more { display: none; }
.x3d__tag i { background: var(--gold-l); box-shadow: 0 0 0 6px rgba(239, 138, 85, .25), 0 0 0 14px rgba(239, 138, 85, .1); animation-name: x3dPingG; }
@keyframes x3dPingG { 50% { box-shadow: 0 0 0 9px rgba(239, 138, 85, .18), 0 0 0 22px rgba(239, 138, 85, 0); } }
.x3d__tag em { border-radius: 2px; background: rgba(245, 242, 235, .97); }
.x3d__tag em span { font-family: var(--f-text); font-weight: 700; color: var(--bordeaux); }
.x3d__tag em b { font-family: var(--f-display); font-weight: 600; font-stretch: normal; text-transform: none; font-size: 1.3rem; }
.x3d__hint { font-family: var(--f-text); font-weight: 650; }
.x3d.no-gl .x3d__pin { background: url("../img/couverture.webp") center / cover; }
.fiche { position: absolute; z-index: 8; right: var(--gutter); top: calc(var(--bar) + 2vh); bottom: 4vh; width: min(27rem, calc(100% - 2 * var(--gutter))); display: grid; grid-template-rows: auto 1fr auto; background: rgba(245, 242, 235, .97); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); transform: translateX(110%); opacity: 0; transition: transform .7s var(--ease), opacity .5s; pointer-events: none; }
.fiche.is-open { transform: none; opacity: 1; pointer-events: auto; }
.fiche__head { padding: 1.4rem 1.5rem 1rem; border-bottom: 1px solid rgba(23, 25, 27, .1); display: grid; grid-template-columns: 1fr auto; gap: .4rem 1rem; }
.fiche__head .kicker { grid-column: 1; }
.fiche__head h3 { grid-column: 1; margin: 0; font-family: var(--f-display); font-weight: 500; font-size: 2.3rem; line-height: 1; }
.fiche__x { grid-column: 2; grid-row: 1 / span 2; align-self: start; width: 2.6rem; height: 2.6rem; border: 1px solid rgba(23, 25, 27, .2); background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.fiche__x svg { width: 1.1rem; height: 1.1rem; }
.fiche__body { overflow: auto; padding: 1.2rem 1.5rem; display: grid; gap: 1.1rem; align-content: start; overscroll-behavior: contain; }
.fiche__body h4 { margin: 0 0 .3rem; font: 700 .62rem/1.2 var(--f-text); letter-spacing: .2em; text-transform: uppercase; color: var(--bordeaux); }
.fiche__body p { margin: 0; font-size: .93rem; line-height: 1.55; color: var(--soft); }
.fiche__foot { padding: 1rem 1.5rem 1.3rem; border-top: 1px solid rgba(23, 25, 27, .1); display: flex; flex-wrap: wrap; gap: .5rem; }
.fiche__foot .btn { min-height: 2.8rem; font-size: .84rem; }
.fiche__nav { display: flex; gap: .4rem; margin-left: auto; }
.fiche__nav button { width: 2.8rem; height: 2.8rem; border: 1px solid rgba(23, 25, 27, .2); background: transparent; cursor: pointer; font: 700 1rem/1 var(--f-text); color: var(--ink); }
@media (max-width: 759px) { .fiche { top: auto; bottom: 0; right: 0; left: 0; width: auto; max-height: 72%; transform: translateY(110%); } }

/* atelier 3D */
.atelier-sec { background: var(--ink); }
.atelier__stage { border-radius: 2px; }
.atelier__panel { border-radius: 2px; }
.atelier__covers button { border-radius: 2px; }
.atelier__covers button[aria-pressed="true"] { border-color: var(--gold-l); background: rgba(239, 138, 85, .1); }
.atelier__row button { border-radius: 2px; }
.atelier__row button[aria-pressed="true"] { background: var(--bordeaux); border-color: var(--bordeaux); }
.atelier input[type="range"], .iso input[type="range"] { accent-color: var(--gold-l); }
.atelier__lbl { font-family: var(--f-text); font-weight: 700; color: var(--gold); }
.atelier__tag { background: rgba(23, 25, 27, .7); }
.sw--ardoise { background: repeating-linear-gradient(0deg, #3b4450 0 7px, #232a31 7px 8px, #4a5561 8px 15px, #232a31 15px 16px); }
.sw--plate { background: repeating-linear-gradient(0deg, #8f4430 0 6px, #7A3412 6px 7px, #a1563c 7px 13px, #7A3412 13px 14px); }
.sw--meca { background: repeating-linear-gradient(90deg, #a5533a 0 14px, #6b2e20 14px 17px, #b8664a 17px 28px); }
.sw--zinc { background: repeating-linear-gradient(90deg, #8b9298 0 16px, #c3c9ce 16px 18px, #7b8288 18px 19px); }
.atelier.no-gl .atelier__stage { background: url("../img/maison.webp") center / cover; }

/* laboratoire isolation */
.iso { display: grid; grid-template-columns: minmax(0, 1fr) 23rem; gap: 1.4rem; margin-top: clamp(2.2rem, 4vw, 3.4rem); }
.iso__stage { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: radial-gradient(120% 90% at 50% 20%, #2b4252 0%, #15222c 60%, #0d161d 100%); box-shadow: 0 60px 100px -50px rgba(0, 0, 0, .8); }
.iso__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; outline: none; }
.iso__stage canvas:active { cursor: grabbing; }
.iso__hud { position: absolute; left: 1rem; top: 1rem; z-index: 2; display: flex; gap: .4rem; flex-wrap: wrap; }
.iso__gauge { position: absolute; right: 1rem; top: 1rem; bottom: 1rem; width: 2.2rem; z-index: 2; display: grid; grid-template-rows: auto 1fr auto; justify-items: center; gap: .5rem; font: 700 .56rem/1 var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: rgba(245, 242, 235, .7); writing-mode: horizontal-tb; }
.iso__gauge div { position: relative; width: 6px; background: rgba(245, 242, 235, .12); overflow: hidden; }
.iso__gauge div i { position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: linear-gradient(0deg, var(--gold), var(--gold-l)); transition: height .3s; }
.iso__layers { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.iso__layers button { width: 100%; display: grid; grid-template-columns: 1.1rem 1fr; gap: .7rem; align-items: start; text-align: left; padding: .75rem .85rem; border: 1px solid var(--line-d); background: transparent; color: inherit; cursor: pointer; }
.iso__layers button i { width: 1.1rem; height: 1.1rem; margin-top: .15rem; }
.iso__layers button b { font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; line-height: 1.1; }
.iso__layers button p { margin: .3rem 0 0; font-size: .85rem; line-height: 1.45; color: rgba(245, 242, 235, .72); display: none; }
.iso__layers button[aria-pressed="true"] { border-color: rgba(239, 138, 85, .5); background: rgba(239, 138, 85, .08); }
.iso__layers button[aria-pressed="true"] p { display: block; }
.iso__scale { display: flex; justify-content: space-between; font-size: .72rem; color: var(--stone); margin-top: .3rem; }
.iso.no-gl .iso__stage { background: url("../img/isolation.webp") center / cover; }
.iso.no-gl .iso__panel > :not(.mod__ctas) { display: none; }
@media (max-width: 999px) { .iso { grid-template-columns: 1fr; } }
@media (max-width: 759px) { .iso__stage { aspect-ratio: 4 / 5; } }

/* schéma : trois fonctions */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(23, 25, 27, .12); border: 1px solid rgba(23, 25, 27, .12); margin-top: clamp(2rem, 4vw, 3rem); }
.trio > div { background: var(--paper); padding: 1.6rem 1.5rem; display: grid; gap: .6rem; align-content: start; }
.trio svg { width: 100%; height: auto; max-height: 7rem; }
.trio b { font-family: var(--f-display); font-weight: 600; font-size: 1.6rem; line-height: 1; }
.trio p { font-size: .93rem; color: var(--soft); }
@media (max-width: 860px) { .trio { grid-template-columns: 1fr; } }

/* =====================================================================
   Pages : départements, villes, carnet, inspirations, conseils, entreprise
   ===================================================================== */
.dep-hero::after { background: linear-gradient(90deg, rgba(17, 19, 21, .9), rgba(17, 19, 21, .35) 65%), linear-gradient(0deg, rgba(17, 19, 21, .82), transparent 50%); }
.dep-num { font-family: var(--f-display); font-weight: 400; -webkit-text-stroke: 1px rgba(239, 138, 85, .5); }
.bati { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: clamp(2rem, 4vw, 3rem); }
.bati article { border-top: 1px solid rgba(23, 25, 27, .2); padding-top: 1.4rem; }
.bati h3 { margin: 0 0 .7rem; font-family: var(--f-display); font-weight: 600; font-size: 1.9rem; line-height: 1; }
.bati p { color: var(--soft); }
@media (max-width: 860px) { .bati { grid-template-columns: 1fr; } }
.cities a { border-radius: 2px; background: #fffaf1; }
.cities a:hover { border-color: var(--bordeaux); }
.cities b { font-family: var(--f-display); font-weight: 600; font-size: 1.5rem; }
.cities span { font-family: var(--f-text); font-weight: 650; }
.v-chip { border-radius: 2px; }

.page-top .dsp--hero { font-size: clamp(3rem, 1rem + 6.6vw, 8.6rem); }

/* carnet de projet */
.carnet { background: var(--paper); color: var(--ink); }
.carnet .ask { background: transparent; }
.wizard { border-radius: 2px; }
.bats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; }
.bats label { position: relative; display: grid; gap: .5rem; justify-items: center; text-align: center; padding: 1.1rem .7rem 1rem; border: 1px solid rgba(245, 242, 235, .16); cursor: pointer; transition: border-color .3s, background .3s, transform .4s var(--ease); font: 600 .84rem/1.2 var(--f-text); }
.bats input { position: absolute; opacity: 0; pointer-events: none; }
.bats svg { width: 4.4rem; height: 3.2rem; color: var(--gold-l); }
.bats label:hover { transform: translateY(-2px); }
.bats input:checked + svg { color: var(--bone); }
.bats label:has(input:checked) { border-color: var(--gold-l); background: rgba(239, 138, 85, .12); }
.bats input:focus-visible + svg { outline: 2px solid var(--gold-l); outline-offset: 4px; }
@media (max-width: 600px) { .bats { grid-template-columns: repeat(2, 1fr); } }
.wizard .chips label span { border-radius: 2px; }
.free-line { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: 1.2rem; font-size: .84rem; color: var(--gold-l); }
.free-line span::before { content: ""; display: inline-block; width: .35rem; height: .35rem; border: 1px solid currentColor; transform: rotate(45deg); margin-right: .55rem; vertical-align: .15em; }

/* inspirations */
.insp { columns: 3 22rem; column-gap: 1rem; margin-top: clamp(2rem, 4vw, 3rem); }
.insp figure { break-inside: avoid; margin: 0 0 1rem; position: relative; overflow: hidden; background: var(--ink-3); }
.insp img { width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.insp figure:hover img { transform: scale(1.04); }
.insp figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.4rem 1rem 1rem; background: linear-gradient(0deg, rgba(17, 19, 21, .85), transparent); color: var(--bone); display: grid; gap: .2rem; }
.insp figcaption b { font-family: var(--f-display); font-weight: 600; font-size: 1.45rem; line-height: 1.05; }
.insp figcaption span { font-size: .8rem; color: rgba(245, 242, 235, .75); }
.insp .tag { position: absolute; top: .8rem; left: .8rem; z-index: 2; }
.insp a { color: inherit; text-decoration: none; }
.disclaim { margin-top: 1.6rem; font-size: .85rem; color: var(--soft); max-width: 62ch; }

/* conseils */
.guide { display: grid; grid-template-columns: 16rem minmax(0, 1fr); gap: 3rem var(--gutter); align-items: start; }
.guide__toc { position: sticky; top: calc(var(--bar) + 2rem); display: grid; gap: .3rem; }
.guide__toc a { text-decoration: none; padding: .55rem 0; border-bottom: 1px solid rgba(23, 25, 27, .1); font-weight: 600; font-size: .92rem; }
.guide__toc a:hover { color: var(--bordeaux); }
.guide article { padding: 0 0 3rem; margin-bottom: 3rem; border-bottom: 1px solid rgba(23, 25, 27, .12); scroll-margin-top: calc(var(--bar) + 2rem); }
.guide article h2 { margin: 0 0 1.2rem; }
.guide article p { color: var(--soft); max-width: 66ch; margin-top: .9rem; }
.guide article ul { margin: 1rem 0 0; padding-left: 1.1rem; color: var(--soft); display: grid; gap: .4rem; max-width: 62ch; }
.guide article li::marker { color: var(--bordeaux); }
@media (max-width: 860px) { .guide { grid-template-columns: 1fr; } .guide__toc { position: static; } }

/* entreprise */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem var(--gutter); align-items: center; }
.story__year { font-family: var(--f-display); font-weight: 400; font-size: clamp(7rem, 3rem + 14vw, 19rem); line-height: .78; color: transparent; -webkit-text-stroke: 1px rgba(135, 53, 45, .55); letter-spacing: -.04em; }
.story__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.story__img img { width: 100%; height: 100%; object-fit: cover; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin-top: clamp(2.4rem, 5vw, 4rem); }
.values article { border-top: 1px solid var(--line-d); padding-top: 1.3rem; }
.values h3 { margin: 0 0 .6rem; font-family: var(--f-display); font-weight: 600; font-size: 1.7rem; line-height: 1; color: var(--bone); }
.values p { color: rgba(245, 242, 235, .72); font-size: .95rem; }
.values span { font-family: var(--f-display); font-style: italic; color: var(--gold-l); font-size: 1.2rem; }
@media (max-width: 960px) { .story { grid-template-columns: 1fr; } .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

/* votre maison demain */
.demain-hero { position: relative; min-height: 88vh; display: grid; align-items: end; overflow: hidden; }
.demain-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.demain-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17, 19, 21, .86), rgba(17, 19, 21, .2) 70%), linear-gradient(0deg, rgba(17, 19, 21, .7), transparent 40%); }
.demain-hero__in { position: relative; z-index: 2; padding: calc(var(--bar) + 5rem) var(--gutter) clamp(2.5rem, 8vh, 5rem); max-width: 60rem; }
.jump { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.8rem; }
.jump a { text-decoration: none; padding: .7rem 1rem; border: 1px solid rgba(245, 242, 235, .3); font-weight: 600; font-size: .86rem; color: var(--bone); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.jump a:hover { border-color: var(--gold-l); color: var(--gold-l); }

/* atelier 3D (page) */
.lab-index { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); margin-top: 2.4rem; }
.lab-index a { background: var(--ink); padding: 1.4rem 1.3rem; text-decoration: none; display: grid; gap: .4rem; transition: background .3s; }
.lab-index a:hover { background: var(--ink-2); }
.lab-index b { font-family: var(--f-display); font-weight: 600; font-size: 1.6rem; line-height: 1; }
.lab-index span { font-size: .86rem; color: var(--stone); }
@media (max-width: 860px) { .lab-index { grid-template-columns: 1fr; } }

@media (max-width: 760px) {
  .build { height: 700vh; }
  .build .hero-copy h1 { font-size: clamp(3.2rem, 1.6rem + 11vw, 5.4rem); }
  .free li { font-size: .76rem; padding: .45rem .7rem .45rem .55rem; }
  .gauge { gap: 1rem; }
  .gauge b { font-size: 1.7rem; }
  .s-hero__num { display: none; }
  .foot__logo { height: 6rem; }
}
@media (prefers-reduced-motion: reduce) { .hot__pin::after, .loader__logo, .loader__logo .logo__seal { animation: none; } }

.fiche .kicker { color: var(--bordeaux); }
.x3d__head { transition: opacity .5s; }
.x3d.has-fiche .x3d__head, .x3d.has-fiche .x3d__list { opacity: .18; }
.foot__links { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line-d); font-size: .88rem; }
.foot__links a { text-decoration: none; color: var(--stone); }
.foot__links a:hover { color: var(--gold-l); }

[hidden] { display: none !important; }
.truck-sec { background: radial-gradient(80% 60% at 50% 60%, #15283a 0%, #0e1c29 58%, #131517 100%); }
.search input, .search .suggest { border-radius: 2px; }
.illu-note { top: auto; left: auto; right: var(--gutter); bottom: 1.5rem; }
.build.is-end .illu-note { opacity: 0; }
@media (max-width: 760px) {
  .bar { gap: .7rem; }
  .bar .btn { min-height: 2.4rem; padding: 0 .85rem; font-size: .78rem; letter-spacing: 0; }
  .menu-btn span { display: none; }
  .brand__logo, .bar.is-solid .brand__logo { height: 2.15rem; }
  .build .rail { display: none; }
  .illu-note { bottom: .8rem; }
}
@media (max-width: 380px) { .brand .logo__seal + * { display: none; } }
.menu { overflow: hidden; }
.menu__list { overflow-y: auto; overscroll-behavior: contain; }
.menu__list .menu__minor { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.4rem; }
.menu__list .menu__minor a { font-family: var(--f-text); font-weight: 600; letter-spacing: .12em; }
@media (max-width: 760px) { .menu__list a { font-size: 1.7rem; } .menu__gt { margin: 1rem 0 .2rem; } }
@media (max-height: 820px) and (min-width: 761px) { .menu__list a { font-size: clamp(1.4rem, .4rem + 2.6vh + .8vw, 2.6rem); } }
@media (max-width: 1100px) { .foot__top { grid-template-columns: 1fr 1fr 1fr; } .foot__top > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 760px) { .foot__top { grid-template-columns: 1fr 1fr; } .finale__in { grid-template-columns: 1fr; } .quick { grid-template-columns: 1fr; } }
.crumb { flex-wrap: wrap; row-gap: .3rem; }

/* =====================================================================================
   Wiss Rénov v4 : surcouche d'identité et nouveaux modules (pinceau, chantiers réels, avis, Velux, gouttière)
   ===================================================================================== */
body { background: var(--ink); }
.dsp { font-family: var(--f-display); font-weight: 650; font-stretch: 78%; text-transform: none; letter-spacing: -.04em; line-height: .9; font-variation-settings: "opsz" 96; }
.dsp em, .it { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-stretch: 100%; letter-spacing: -.012em; color: var(--orange); padding-right: .05em; }
.on-paper .dsp em { color: var(--orange-deep); }
.build .hero-copy h1 { font-size: clamp(3.4rem, 1rem + 7.4vw, 10.6rem); line-height: .88; font-stretch: 78%; color: #fff; }
.build .hero-copy h1 em { color: #F6A06F; font-size: 1em; }
.build__end h2 em, .finale h2 em { color: #F6A06F; }
.menu__list a { font-family: var(--f-display); font-weight: 640; font-stretch: 78%; text-transform: none; letter-spacing: -.04em; }
.manifest__text { font-family: var(--f-display); font-weight: 520; font-stretch: 84%; letter-spacing: -.035em; }
.manifest__text em { font-family: var(--f-serif); font-style: italic; color: var(--orange-deep); }
.sig-item b, .zone__out strong, .quick h3, .step h3, .signs li b, .diagram__list b, .wizard legend, .hot__list button b, .iso__layers button b, .insp figcaption b, .rel b { font-family: var(--f-display); font-weight: 640; font-stretch: 84%; letter-spacing: -.025em; }
.kicker { font-family: var(--f-mono); font-weight: 500; letter-spacing: .16em; }
.kicker::before { background: var(--orange); }
.tape__t { font-family: var(--f-display); font-weight: 680; font-stretch: 78%; letter-spacing: -.035em; }
.foot__big { font-family: var(--f-display); font-style: normal; font-weight: 700; font-stretch: 75%; letter-spacing: -.06em; }
.foot__big span { text-transform: none; background: linear-gradient(180deg, #24282b 58%, color-mix(in oklab, var(--orange) 60%, #111315) 58.2%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.btn--orange { --bg: var(--orange); --fg: #fff; }
.btn--orange:hover { color: var(--ink); }
.btn--gold { --bg: var(--bone); --fg: var(--ink); }
.btn--gold::before { background: var(--orange); }
.btn--gold:hover { color: #fff; }
.tag--after { background: var(--orange); color: #fff; }
.tag--real { background: var(--orange); color: #fff; border-color: transparent; }
.free li { border-color: rgba(239, 138, 85, .4); }
.free li svg { color: #F6A06F; }
.on-paper .free li { border-color: rgba(220, 98, 41, .35); color: var(--ink); }
.on-paper .free li svg { color: var(--orange-deep); }
.free-band { background: var(--orange); }
.free-band b em { color: var(--ink); }
.free-band span { color: rgba(255, 255, 255, .86); }
.free-band__in > div { border-right-color: rgba(255, 255, 255, .25); }
.seg button[aria-pressed="true"], .seg button[aria-selected="true"] { background: var(--orange); color: #fff; }

/* marque */
.brand__logo { height: 2.75rem; width: auto; color: var(--bone); filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .3)); }
.bar.is-solid .brand__logo { height: 2.4rem; }
.foot__logo, .foot__logo.logo { height: 6.2rem; width: auto; color: var(--bone); }
.loader__logo { width: min(15rem, 56vw); height: auto; color: var(--bone); }
.chat__mark { color: var(--ink); }
.manifest__seal { color: var(--ink); }

/* ouverture : le pinceau, puis le film */
.build__pin > #c-brush { z-index: 1; opacity: 1; transition: opacity .2s linear; }
.build:not(.has-brush) #c-brush { display: none; }
.build .stage__shade { background: linear-gradient(90deg, rgba(17, 19, 21, .84) 0%, rgba(17, 19, 21, .46) 34%, rgba(17, 19, 21, 0) 62%), linear-gradient(0deg, rgba(17, 19, 21, .5) 0%, rgba(17, 19, 21, 0) 28%), linear-gradient(180deg, rgba(17, 19, 21, .45) 0%, rgba(17, 19, 21, 0) 18%); }
.hero-hint { position: absolute; z-index: 6; right: var(--gutter); bottom: clamp(4.4rem, 11vh, 7rem); margin: 0; display: none; align-items: center; gap: .8rem; padding: .7rem 1.1rem .7rem .7rem; border-radius: 99px; background: rgba(17, 19, 21, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; font: 500 .7rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; pointer-events: none; border: 1px solid var(--line-d); }
.build.has-brush .hero-hint { display: inline-flex; }
.hero-hint svg { width: 2.6rem; height: 2.6rem; animation: hint-brush 2.6s var(--ease) infinite; }
@keyframes hint-brush { 0%, 100% { transform: translateX(-4px) rotate(-8deg); } 50% { transform: translateX(6px) rotate(10deg); } }
.diag i { border-color: var(--orange); box-shadow: 0 0 0 6px rgba(220, 98, 41, .18); }
.diag b { font-family: var(--f-mono); font-weight: 500; background: var(--bone); color: var(--ink); }
.cursor__brush svg { width: 100%; height: 100%; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); }

/* comparateurs : le pinceau comme poignée */
.cmp__knob { background: var(--bone); color: var(--ink); }
.cmp__knob svg { width: 2.4rem; height: 2.4rem; transform: rotate(-32deg); }
.cmp__seam { background: var(--orange); box-shadow: 0 0 22px rgba(220, 98, 41, .6); }
.cmpx .cmp__seam { background: var(--orange); box-shadow: 0 0 24px rgba(220, 98, 41, .6); }
.paint__roller { background: var(--orange); box-shadow: 0 0 30px 6px rgba(220, 98, 41, .45); }
.paint__roller::after { display: none; }
.paint__roller svg { position: absolute; top: 50%; left: -2.2rem; width: 4.4rem; height: 4.4rem; margin-top: -2.2rem; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .4)); }
.paint__sw { grid-template-columns: 1fr; }

/* vrais chantiers : paires avant / après */
.real { position: relative; padding: clamp(5rem, 9vw, 8rem) 0; overflow: hidden; }
.real.mod--dark { background: var(--ink); color: var(--bone); }
.real__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); margin-top: clamp(2.2rem, 4vw, 3.4rem); align-items: start; }
.real__item { margin: 0; grid-column: span 8; }
.real__item--p { grid-column: span 4; }
.real__grid--duo .real__item { grid-column: span 6; }
.real__item .cmp { border-radius: 4px; box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .6); }
.real__item .tag--real { position: absolute; left: .9rem; bottom: .9rem; z-index: 3; }
.real__item figcaption { display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; align-items: baseline; padding-top: 1rem; }
.real__item figcaption span { font: 500 .7rem/1 var(--f-mono); color: var(--orange); grid-row: span 2; }
.real__item figcaption b { font-family: var(--f-display); font-weight: 640; font-stretch: 84%; font-size: 1.45rem; letter-spacing: -.025em; line-height: 1.05; }
.real__item figcaption em { font-style: normal; font-size: .88rem; color: var(--stone); }
.on-paper .real__item figcaption em { color: var(--soft); }

/* le pinceau sur un vrai chantier */
.brushx { position: relative; padding: clamp(5rem, 9vw, 8rem) 0; overflow: hidden; }
.brushx__stage { position: relative; margin: clamp(2.2rem, 4vw, 3.4rem) auto 0; width: min(100%, calc(78vh * var(--ar-n, 1.333))); aspect-ratio: var(--ar); overflow: hidden; border-radius: 4px; background: #2a2e32; box-shadow: 0 60px 100px -50px rgba(0, 0, 0, .6); cursor: none; touch-action: pan-y; }
.brushx__stage canvas, .brushx__fb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.brushx__stage.is-gl .brushx__fb { display: none; }
.brushx__stage .tag--real { position: absolute; left: 1rem; top: 1rem; z-index: 3; }
.brushx__ui { position: absolute; right: 1rem; bottom: 1rem; z-index: 3; display: flex; gap: .4rem; }
.brushx__ui button { font: 600 .78rem/1 var(--f-text); padding: .75rem 1rem; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(17, 19, 21, .6); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); cursor: pointer; }
.brushx__ui button:first-child { background: var(--orange); border-color: var(--orange); }
.brushx__stage:not(.is-gl) .brushx__ui { display: none; }
.brushx__hint { position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: .7rem; padding: .7rem 1.1rem .7rem .7rem; border-radius: 99px; background: rgba(17, 19, 21, .6); color: #fff; font: 500 .7rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; pointer-events: none; transition: opacity .5s; }
.brushx__hint svg { width: 2.4rem; height: 2.4rem; }
.brushx__stage.is-touched .brushx__hint, .brushx__stage:not(.is-gl) .brushx__hint { opacity: 0; }
@media (hover: none) { .brushx__stage { cursor: auto; } }

/* avis Google réels */
.avis { position: relative; padding: clamp(5rem, 9vw, 8rem) 0; overflow: hidden; }
.avis--dark { background: var(--ink-2); color: var(--bone); }
.avis__head { display: grid; grid-template-columns: 1.3fr auto; gap: 2rem; align-items: end; }
.avis__score { display: grid; justify-items: start; gap: .5rem; padding: 1.4rem 1.6rem; border: 1px solid var(--line-d); text-decoration: none; color: inherit; min-width: 16rem; transition: border-color .3s, transform .5s var(--ease); }
.on-paper .avis__score { border-color: var(--line-l); background: #fff; }
.avis__score:hover { border-color: var(--orange); transform: translateY(-3px); }
.avis__score b { font-family: var(--f-display); font-weight: 700; font-stretch: 78%; font-size: clamp(3.6rem, 2rem + 4vw, 6rem); line-height: .8; letter-spacing: -.05em; }
.avis__score > span:not(.stars) { font-size: .86rem; color: var(--stone); }
.avis__score em { font-style: normal; display: inline-flex; gap: .4rem; align-items: center; font: 600 .74rem/1 var(--f-text); color: var(--orange); }
.avis__score em svg { width: 1rem; height: 1rem; }
.stars { display: inline-flex; gap: .15rem; color: #F2A33A; }
.stars svg { width: 1.05rem; height: 1.05rem; }
.avis__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(2.2rem, 4vw, 3.2rem); }
.avis__card { margin: 0; display: grid; align-content: start; gap: 1rem; padding: 1.5rem; background: rgba(245, 242, 235, .04); border: 1px solid var(--line-d); }
.on-paper .avis__card { background: #fff; border-color: var(--line-l); }
.avis__card blockquote { margin: 0; font-size: .98rem; line-height: 1.55; }
.avis__card figcaption { display: grid; gap: .2rem; margin-top: auto; padding-top: .8rem; border-top: 1px solid var(--line-d); }
.on-paper .avis__card figcaption { border-top-color: var(--line-l); }
.avis__card figcaption b { font-family: var(--f-display); font-weight: 640; font-size: 1.1rem; }
.avis__card figcaption span { font: 500 .66rem/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--stone); }
.avis__note { margin: 1.4rem 0 0; font-size: .8rem; color: var(--stone); }
.foot__avis { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.2rem; padding: .55rem .85rem; border: 1px solid var(--line-d); color: var(--bone); text-decoration: none; font-size: .82rem; }
.foot__avis b { font-family: var(--f-display); font-size: 1.15rem; }

/* photos de chantiers */
.shots { position: relative; padding: clamp(4.5rem, 8vw, 7rem) 0; }
.shots__grid { display: grid; gap: 1rem; margin-top: clamp(2rem, 4vw, 3rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); align-items: start; }
.shots__grid--1 { grid-template-columns: minmax(0, 46rem); }
.shot { margin: 0; }
.shot__img { position: relative; overflow: hidden; border-radius: 3px; background: #2a2e32; }
.shot__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.shot:hover .shot__img img { transform: scale(1.04); }
.shot__img .tag { position: absolute; left: .8rem; top: .8rem; }
.shot figcaption { display: grid; gap: .25rem; padding-top: .8rem; }
.shot figcaption b { font: 500 .68rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--orange-deep); }
.shot figcaption span { font-size: .9rem; }

/* atelier 3D : teintes d'enduit et volets */
.atelier__sw { display: grid; grid-template-columns: repeat(5, 1fr); gap: .4rem; }
.atelier__sw--s { grid-template-columns: repeat(4, 1fr); }
.atelier__sw button { display: grid; justify-items: center; gap: .35rem; padding: .45rem .2rem .5rem; border-radius: 12px; border: 1.5px solid var(--line-d); background: rgba(245, 242, 235, .04); color: var(--bone); font: 600 .62rem/1.15 var(--f-text); cursor: pointer; transition: border-color .3s, transform .4s var(--ease); }
.atelier__sw button i { width: 1.9rem; height: 1.9rem; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2), 0 4px 10px -4px rgba(0, 0, 0, .5); }
.atelier__sw button span { text-align: center; }
.atelier__sw button:hover { transform: translateY(-2px); }
.atelier__sw button[aria-pressed="true"] { border-color: var(--orange); background: rgba(220, 98, 41, .14); }
.atelier__covers button[aria-pressed="true"] { border-color: var(--orange); background: rgba(220, 98, 41, .14); }
.atelier__row button[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); }
.atelier input[type="range"], .velux input[type="range"], .gutter input[type="range"] { accent-color: var(--orange); width: 100%; }
.sw--meca { background: repeating-linear-gradient(90deg, #c0603f 0 14px, #8d3e26 14px 17px, #cc6c48 17px 30px); box-shadow: inset 0 -8px 12px -6px rgba(0, 0, 0, .35); }
.sw--plate { background: repeating-linear-gradient(0deg, #9a4b33 0 6px, #6e3122 6px 7px, #a1563c 7px 13px); }
.atelier.no-gl .atelier__stage { background: url("../img/maison.webp") center / cover; }

/* simulateurs Velux et gouttière */
.velux, .gutter { display: grid; grid-template-columns: minmax(0, 1fr) 23rem; gap: 1.4rem; margin-top: clamp(2.2rem, 4vw, 3.4rem); }
.velux__stage, .gutter__stage { position: relative; aspect-ratio: 16 / 10; overflow: hidden; box-shadow: 0 60px 100px -50px rgba(0, 0, 0, .7); background: linear-gradient(180deg, #5b8fd8, #e3eefb); }
.gutter__stage { background: linear-gradient(180deg, #68707a 0%, #a3abb4 70%); }
.velux__stage canvas, .gutter__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; outline: none; }
.velux__stage canvas:active, .gutter__stage canvas:active { cursor: grabbing; }
.velux__lux { position: absolute; right: 1rem; top: 1rem; bottom: 1rem; width: 2.4rem; z-index: 2; display: grid; grid-template-rows: auto 1fr; justify-items: center; gap: .5rem; font: 700 .56rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: #fff; writing-mode: horizontal-tb; }
.velux__lux div { position: relative; width: 6px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.velux__lux i { position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: linear-gradient(0deg, #DC6229, #FFD08A); transition: height .4s; }
.gutter__meter { position: absolute; right: 1rem; bottom: 1rem; z-index: 2; display: grid; grid-template-columns: auto auto; gap: .5rem; }
.gutter__meter > div { display: grid; gap: .3rem; padding: .7rem .9rem; background: rgba(17, 19, 21, .66); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; min-width: 8.5rem; }
.gutter__meter span { font: 500 .58rem/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.gutter__meter b { font-family: var(--f-display); font-weight: 700; font-size: 1.9rem; line-height: 1; display: inline; }
.gutter__meter small { font-size: .9rem; margin-left: .1rem; }
.gutter__meter > div:last-child b { color: #F6A06F; }
.velux.no-gl .velux__stage { background: url("../media/pose-velux.webp") center / cover; }
.gutter.no-gl .gutter__stage { background: url("../media/gouttieres.webp") center / cover; }

/* divers */
.related__grid--4 { grid-template-columns: repeat(4, 1fr); }
.demain-hero__tag, .v-hero__meta .tag { position: absolute; right: var(--gutter); bottom: 1.4rem; z-index: 3; }
.v-hero__meta { display: flex; gap: .5rem; align-items: center; }
.v-hero__meta .tag { position: static; }
.story__img .tag { position: absolute; left: 1rem; bottom: 1rem; }
.disclaim a { color: var(--orange-deep); }
.hs__grp { color: #F6A06F; }

@media (max-width: 1100px) {
  .avis__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related__grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 999px) {
  .velux, .gutter { grid-template-columns: 1fr; }
  .velux__stage, .gutter__stage { aspect-ratio: 4 / 3.4; }
  .avis__head { grid-template-columns: 1fr; }
  .real__item, .real__item--p, .real__grid--duo .real__item { grid-column: 1 / -1; }
}
@media (max-width: 759px) {
  .avis__grid { grid-template-columns: 1fr; }
  .related__grid--4 { grid-template-columns: 1fr; }
  .atelier__sw { grid-template-columns: repeat(5, 1fr); }
  .atelier__sw button span { display: none; }
  .hero-hint { left: auto; right: var(--gutter); top: calc(var(--bar) + .8rem); bottom: auto; padding: .45rem .8rem .45rem .45rem; font-size: .6rem; }
  .hero-hint svg { width: 1.8rem; height: 1.8rem; }
  .brushx__ui { left: 1rem; right: 1rem; justify-content: flex-end; }
  .gutter__meter > div { min-width: 0; padding: .55rem .7rem; }
  .gutter__meter b { font-size: 1.4rem; }
}

/* ---- rénovation intérieure : pièce 3D, bloc d'accueil ---- */
.x3d[data-room3d] { background: radial-gradient(110% 70% at 62% 46%, #3a3128 0%, #1d1915 52%, #0f0d0b 100%); }
.x3d[data-room3d].no-gl .x3d__pin { background: url("../img/int-greige.webp") center / cover; }
.inside { position: relative; background: var(--ink); color: var(--bone); padding: clamp(5rem, 10vw, 9rem) 0; overflow: hidden; }
.inside__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.inside__media { position: relative; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: #1c1a17; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.inside__media img, .inside__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.inside__media .tag { position: absolute; left: 1rem; bottom: 1rem; z-index: 2; }
.inside__copy h2 { color: var(--bone); }
.inside__copy .lede { color: rgba(245, 242, 235, .78); margin-top: 1.4rem; }
.inside__list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .1rem 1.6rem; border-top: 1px solid rgba(245, 242, 235, .14); }
.inside__list li { display: grid; grid-template-columns: 1.8rem 1fr; gap: .4rem; padding: .85rem 0; border-bottom: 1px solid rgba(245, 242, 235, .14); font-size: .98rem; }
.inside__list li span { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .14em; color: var(--orange); padding-top: .25rem; }
.inside__copy .hero-ctas { margin-top: 2.2rem; }
.inside__strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: clamp(2.4rem, 5vw, 4rem); }
.inside__strip a { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 4px; overflow: hidden; color: var(--bone); text-decoration: none; }
.inside__strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.inside__strip a:hover img { transform: scale(1.05); }
.inside__strip b { position: absolute; left: 1rem; right: 1rem; bottom: .9rem; font-family: var(--f-display); font-weight: 650; font-size: 1.15rem; text-shadow: 0 2px 14px rgba(0, 0, 0, .65); }
.inside__strip a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent 55%); }
.inside__strip b { z-index: 1; }
.inside__strip .tag { position: absolute; top: .8rem; left: .8rem; z-index: 1; }
@media (max-width: 999px) { .inside__grid { grid-template-columns: 1fr; } }
@media (max-width: 759px) { .inside__list { grid-template-columns: 1fr; } .inside__strip { grid-template-columns: 1fr; } .inside__strip a { aspect-ratio: 16 / 9; } }
