/* La Traverse — /hebergement
   Coupe d'architecte annotée : l'IA se visite pièce par pièce.
   Dépend des tokens de kit.css (--cream, --ink, --terra, --amber, --display…). */

html { scrollbar-color: var(--terra) var(--cream); }
.hb ::selection { background: var(--terra); color: var(--cream); }
.hb input, .hb textarea, .hb select { caret-color: var(--terra); }
.hb { --ease: cubic-bezier(.16,1,.3,1); --room: var(--paper); --line: var(--fg); --hot: var(--terra); --glow: rgba(196,98,42,.22); }

/* ── Plan : dessin ───────────────────────────────────────────────────────── */
.plan { width: 100%; height: auto; display: block; color: var(--line); overflow: visible; }
.plan .room { fill: var(--room); stroke: currentColor; stroke-width: 1.2; transition: fill .6s var(--ease); }
.plan .wall { stroke: currentColor; stroke-width: 1.6; fill: none; }
.plan .ground { stroke: currentColor; stroke-width: 1.8; }
.plan .thin { stroke: currentColor; stroke-width: 1; fill: none; opacity: .75; }
.plan .lbl { font-family: var(--mono); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; fill: var(--fg-2); font-variant-numeric: tabular-nums; }
.plan .cote { font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; fill: var(--fg-2); }
.plan .hot { cursor: pointer; outline: none; }
.plan .hot:hover .tag, .plan .hot:focus-visible .tag { opacity: 1; }
.plan .hot:focus-visible circle.core { stroke: var(--amber); stroke-width: 3; }
.plan .poche rect { fill: url(#hatch); stroke: none; opacity: .55; }
.plan--m .poche rect { fill: url(#hatch-m); }
/* Dessin portrait : il s'affiche à ~0.8x, ses annotations sont dimensionnées pour ça */
.plan--m .lbl { font-size: 11.5px; letter-spacing: .06em; }
.plan--m .cote { font-size: 10px; }
.plan--m .hot .tag { font-size: 12px; }
.plan--m .callout__t { font-size: 11.5px; letter-spacing: .06em; }
/* Sur le dessin serré, un tag ne reste allumé que le temps du passage */
.plan--m.plan--sweep .hot .tag { animation-name: hb-tag-m; }
.plan--m.plan--sweep .room[data-lit] { animation-name: hb-room-m; }
@keyframes hb-tag-m { 0%, 100% { opacity: 0; } 2%, 12% { opacity: 1; } 18% { opacity: 0; } }
@keyframes hb-room-m { 0%, 100% { fill: var(--room); } 2%, 14% { fill: #fdf0e6; } 22% { fill: var(--room); } }
.plan .callout { opacity: 0; pointer-events: none; }
.plan .callout.is-on { opacity: 1; animation: hb-callout .55s var(--ease) both; }
@keyframes hb-callout { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.plan .callout__lead { fill: none; stroke: var(--terra-hover); stroke-width: 1; stroke-dasharray: 3 4; }
.plan .callout__end { display: none; }
.plan .callout__n { fill: var(--terra-hover); }
.plan .callout__t { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; fill: var(--fg); }
.plan .hot circle.core { fill: var(--hot); stroke: var(--cream); stroke-width: 2; transition: transform .5s var(--ease), fill .4s; transform-box: fill-box; transform-origin: center; }
.plan .hot circle.ring { fill: none; stroke: var(--hot); stroke-width: 1.2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.plan .hot .tag { font-family: var(--mono); font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; fill: var(--fg); opacity: 0; transition: opacity .4s; }
.plan .hot.is-lit circle.core, .plan .hot.is-on circle.core { transform: scale(1.35); fill: var(--amber); }
.plan .hot.is-lit circle.ring, .plan .hot.is-on circle.ring { opacity: .9; animation: hb-ring 1.6s var(--ease) infinite; }
.plan .hot.is-lit .tag, .plan .hot.is-on .tag { opacity: 1; }
.plan .room.is-on { fill: #fdf0e6; }
.plan .sweep { stroke: var(--terra); stroke-width: 1.2; stroke-dasharray: 4 5; opacity: 0; }
@keyframes hb-ring { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }

/* Balayage du hero : chaque point s'allume au passage de la ligne, délai = position x. */
.plan--sweep .sweep { opacity: 1; animation: hb-sweep 11s linear infinite; }
.plan--sweep .hot circle.core { animation: hb-lit 11s linear infinite; animation-delay: var(--d); }
.plan--sweep .hot circle.ring { animation: hb-ringcycle 11s linear infinite; animation-delay: var(--d); }
.plan--sweep .hot .tag { animation: hb-tag 11s linear infinite; animation-delay: var(--d); }
.plan--sweep .room[data-lit] { animation: hb-room 11s linear infinite; animation-delay: var(--d); }
@keyframes hb-sweep { 0% { transform: translateX(0); } 73% { transform: translateX(var(--sweep-w, 920px)); opacity: 1; } 74% { opacity: 0; } 100% { transform: translateX(var(--sweep-w, 920px)); opacity: 0; } }
@keyframes hb-lit { 0%, 100% { transform: scale(1); fill: var(--hot); } 2% { transform: scale(1.5); fill: var(--amber); } 30% { transform: scale(1.2); fill: var(--amber); } 40% { transform: scale(1); fill: var(--hot); } }
@keyframes hb-ringcycle { 0% { transform: scale(.6); opacity: .9; } 14% { transform: scale(2.4); opacity: 0; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes hb-tag { 0%, 100% { opacity: 0; } 2%, 28% { opacity: 1; } 36% { opacity: 0; } }
@keyframes hb-room { 0%, 100% { fill: var(--room); } 2%, 30% { fill: #fdf0e6; } 40% { fill: var(--room); } }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hb-hero { min-height: calc(100svh - 76px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding: 48px var(--pad) 56px; max-width: var(--max); margin: 0 auto; position: relative; }
.hb-hero__title { font-family: var(--display); font-weight: 300; font-size: clamp(40px, 5.6vw, 80px); line-height: .96; letter-spacing: -0.03em; color: var(--fg); text-wrap: balance; margin: 0 0 26px; }
.hb-hero__title em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--terra); letter-spacing: -0.01em; }
.hb-hero__lead { font-family: var(--sans); font-size: clamp(17px, 1.3vw, 20px); line-height: 1.45; color: var(--fg-2); max-width: 30em; margin: 0 0 32px; }
.hb-hero__lead b { color: var(--fg); font-weight: 600; }
.hb-hero__cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hb-hero__ghost { font-family: var(--sans); font-size: 15.5px; color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--border-c2); padding: 6px 2px; transition: border-color .2s, color .2s; }
.hb-hero__ghost:hover { color: var(--terra); border-color: var(--terra); }
.hb-hero__facts { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 40px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); }
.hb-hero__facts b { color: var(--terra-hover); font-weight: 500; }
.hb-hero__plan { position: relative; }
.hb-hero__cap { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); margin-bottom: 10px; }
.hb-hero__cap span:last-child { color: var(--terra-hover); white-space: nowrap; }
.hb-hero__ticker { min-height: 72px; margin-top: 16px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg); line-height: 1.5; }
.hb-hero__ticker div { padding: 2px 0; opacity: .32; transform: translateY(0); transition: opacity .45s var(--ease); }
.hb-hero__ticker div.is-now { opacity: 1; animation: hb-row .5s var(--ease) both; }
.hb-hero__ticker div::before { content: '[ '; color: var(--terra-hover); }
.hb-hero__ticker div::after { content: ' ]'; color: var(--terra-hover); }
@keyframes hb-row { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ── Constat (sombre) ─────────────────────────────────────────────────────── */
.hb-dark { background: var(--ink); color: var(--fg-inv); padding: var(--section) 0; }
.hb-dark__wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.hb-claim { font-family: var(--display); font-weight: 300; font-size: clamp(26px, 3.3vw, 46px); line-height: 1.12; letter-spacing: -0.025em; max-width: 19em; margin: 0; text-wrap: balance; }
.hb-claim em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--amber); }
.hb-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--border-ink); }
.hb-split__col { padding: 32px clamp(0px, 3vw, 48px) 8px 0; }
.hb-split__col + .hb-split__col { border-left: 1px solid var(--border-ink); padding-left: clamp(24px, 3vw, 48px); padding-right: 0; }
.hb-split__h { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.8vw, 26px); font-weight: 400; margin: 0 0 22px; color: var(--fg-inv); }
.hb-split__col--own .hb-split__h { color: var(--amber); }
.hb-split ul { list-style: none; margin: 0; padding: 0; }
.hb-split li { font-family: var(--sans); font-size: 16px; line-height: 1.5; color: var(--fg-inv-2); padding: 12px 0; border-top: 1px solid var(--border-ink); }
.hb-split li b { color: var(--fg-inv); font-weight: 500; }
.hb-split__col--own li { color: rgba(245,240,232,.78); }

/* ── Visite pièce par pièce ───────────────────────────────────────────────── */
.hb-visit { background: var(--cream-2); padding: var(--section) 0; }
.hb-visit__wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.hb-visit__head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 72px); }
.hb-h2 { font-family: var(--display); font-weight: 300; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.04; letter-spacing: -0.03em; color: var(--fg); margin: 0 0 20px; text-wrap: balance; }
.hb-h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--terra); }
.hb-visit__head p { font-family: var(--sans); font-size: 17px; line-height: 1.55; color: var(--fg-2); max-width: 36em; margin: 0; }
.hb-visit__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.hb-visit__sticky { position: sticky; top: 92px; }
.hb-visit__legend { margin-top: 14px; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); }
.hb-visit__legend b { color: var(--terra-hover); font-weight: 500; }
.hb-rooms { list-style: none; margin: 0; padding: 0; }
.hb-room { padding: clamp(28px, 3.4vw, 44px) 0; border-top: 1px solid var(--border-c2); position: relative; transition: opacity .5s; }
.hb-room:last-child { border-bottom: 1px solid var(--border-c2); }
.hb-room__t { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2vw, 28px); line-height: 1.1; letter-spacing: -0.02em; color: var(--fg); margin: 0 0 6px; display: flex; align-items: baseline; gap: 12px; }
.hb-room__t i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-c2); display: inline-block; flex: none; align-self: center; transition: background .4s, box-shadow .4s; }
.hb-room__n { font-family: var(--mono); font-weight: 400; font-size: .5em; letter-spacing: .08em; color: var(--fg-2); font-variant-numeric: tabular-nums; transition: color .4s; }
.hb-room.is-on .hb-room__t i { background: var(--terra); box-shadow: 0 0 0 5px var(--glow); }
.hb-room.is-on .hb-room__n { color: var(--terra-hover); }
.hb-room__cote { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-2); margin: 0 0 14px 21px; }
.hb-room__p { font-family: var(--sans); font-size: 16.5px; line-height: 1.6; color: var(--fg-2); margin: 0; max-width: 36em; }
.hb-room__p b { color: var(--fg); font-weight: 600; }
.hb-set { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 10px; }
.hb-set__k { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--terra-hover); margin-right: 4px; }
.hb-set span { font-family: var(--sans); font-size: 13.5px; color: var(--fg); background: var(--paper); border: 1px solid var(--border-c2); border-radius: 999px; padding: 6px 12px; line-height: 1; }
.hb-visit__foot { margin-top: clamp(32px, 4vw, 56px); font-family: var(--sans); font-size: 16.5px; line-height: 1.55; color: var(--fg-2); max-width: 40em; }
.hb-visit__foot b { color: var(--fg); }

/* ── Le cockpit : l'interface du groupe, telle que le directeur la voit à 23 h 30 ─ */
.cockpit { margin: 22px 0 0; background: var(--ink); color: var(--fg-inv); border-radius: 16px; border: 1px solid var(--border-ink); overflow: hidden; box-shadow: 0 28px 60px -34px rgba(15,17,23,.5); }
.cockpit__top { display: flex; align-items: center; gap: 14px; padding: 11px 16px; border-bottom: 1px solid var(--border-ink); font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-inv-2); }
.cockpit__top b { color: var(--amber); font-weight: 500; }
.cockpit__top .cockpit__ex { margin-left: auto; color: var(--fg-inv-2); border: 1px dashed var(--border-ink); border-radius: 999px; padding: 3px 9px; }
.cockpit__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border-ink); border-bottom: 1px solid var(--border-ink); }
.cockpit__kpis div { background: var(--ink); padding: 14px 16px; }
.cockpit__kpis small { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-inv-2); margin-bottom: 6px; }
.cockpit__kpis strong { display: block; font-family: var(--display); font-weight: 300; font-size: 30px; line-height: 1; color: var(--fg-inv); font-variant-numeric: tabular-nums; }
.cockpit__kpis span { display: block; font-family: var(--sans); font-size: 12.5px; color: var(--fg-inv-2); margin-top: 6px; }
.cockpit__rows { list-style: none; margin: 0; padding: 6px 0; }
.cockpit__rows li { display: grid; grid-template-columns: 150px 1fr 48px minmax(0, 1.4fr); align-items: center; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--border-ink); font-family: var(--sans); font-size: 13.5px; }
.cockpit__rows li:first-child { border-top: 0; }
.cockpit__name { color: var(--fg-inv); font-weight: 500; }
.cockpit__gauge { height: 6px; background: rgba(245,240,232,.1); border-radius: 3px; overflow: hidden; }
.cockpit__gauge i { display: block; height: 100%; background: var(--amber); border-radius: 3px; }
.cockpit__val { font-family: var(--mono); font-size: 12px; color: var(--fg-inv-2); text-align: right; font-variant-numeric: tabular-nums; }
.cockpit__flag { font-size: 12.5px; color: var(--fg-inv-2); padding-left: 12px; position: relative; }
.cockpit__flag::before { content: ''; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--fg-inv-3); }
.cockpit__flag--warn { color: var(--fg-inv); }
.cockpit__flag--warn::before { background: var(--amber); }
.cockpit__flag--ok::before { background: #4fb38f; }

/* ── Personnalisation : la fiche de réglage ──────────────────────────────── */
.hb-tune { padding: var(--section) var(--pad); max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.hb-tune p { font-family: var(--sans); font-size: 17px; line-height: 1.55; color: var(--fg-2); max-width: 32em; margin: 0 0 16px; }
.hb-tune p b { color: var(--fg); font-weight: 600; }
.sheet { background: var(--paper); border: 1px solid var(--border-c2); border-radius: 18px; box-shadow: 0 24px 60px -30px rgba(15,17,23,.28), 0 2px 0 rgba(255,255,255,.6) inset; overflow: hidden; }
.sheet__bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--border-c); background: var(--cream); }
.sheet__bar b { font-family: var(--display); font-weight: 500; font-size: 17px; color: var(--fg); }
.sheet__bar b em { font-family: var(--mono); font-style: normal; font-weight: 400; font-size: 12px; letter-spacing: .08em; color: var(--terra-hover); margin-right: 8px; }
.sheet__cote { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-2); padding: 10px 20px 0; }
.sheet__bar span { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-2); }
.sheet__row { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--border-c); }
.sheet__row:last-child { border-bottom: 0; }
.sheet__k { font-family: var(--sans); font-size: 13.5px; color: var(--fg-2); }
.sheet__v { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-family: var(--sans); font-size: 14px; color: var(--fg); }
.sheet__v .on { background: var(--fg); color: var(--cream); border-radius: 8px; padding: 5px 10px; font-size: 13px; }
.sheet__v .off { background: transparent; color: var(--fg-2); border: 1px dashed var(--border-c2); border-radius: 8px; padding: 4px 10px; font-size: 13px; }
.sheet__v .txt { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--fg); }
.toggle { width: 38px; height: 22px; border-radius: 999px; background: var(--terra); position: relative; flex: none; }
.toggle::after { content: ''; position: absolute; top: 3px; left: 19px; width: 16px; height: 16px; border-radius: 50%; background: var(--cream); box-shadow: 0 1px 2px rgba(0,0,0,.25); }
.toggle--off { background: var(--border-c2); }
.toggle--off::after { left: 3px; }
.sheet__foot { padding: 12px 20px; background: var(--cream); font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); display: flex; justify-content: space-between; }
.sheet__foot b { color: var(--terra-hover); font-weight: 500; }

/* ── Preuve (sombre) ─────────────────────────────────────────────────────── */
.hb-proof { background: var(--ink); color: var(--fg-inv); padding: var(--section) 0; }
.hb-proof__wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hb-proof .hb-h2 { color: var(--fg-inv); }
.hb-proof .hb-h2 em { color: var(--amber); }
.hb-proof__p { font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--fg-inv-2); margin: 0 0 18px; max-width: 30em; }
.hb-proof__p b { color: var(--fg-inv); font-weight: 500; }
.hb-proof__p strong { font-family: var(--display); font-weight: 400; font-size: 1.35em; color: var(--amber); letter-spacing: -0.01em; }
.hb-proof__us { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.hb-proof__us img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--ink); margin-left: -14px; }
.hb-proof__us img:first-child { margin-left: 0; }
.hb-proof__us span { font-family: var(--sans); font-size: 14.5px; color: var(--fg-inv-2); line-height: 1.4; }
.hb-proof__us span b { color: var(--fg-inv); font-weight: 500; }
.shot { border-radius: 16px; overflow: hidden; border: 1px solid var(--border-ink); background: #0b0d12; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.04) inset; transition: transform .8s var(--ease), box-shadow .8s var(--ease); }
.shot:hover { transform: translateY(-4px); box-shadow: 0 52px 90px -40px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.06) inset; }
.shot__bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--border-ink); font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-inv-2); }
.shot__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(245,240,232,.14); display: inline-block; }
.shot__bar span { margin-left: auto; }
.shot img { display: block; width: 100%; height: auto; }
.shot__cap { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-inv-2); margin-top: 14px; text-align: right; }
.shot__cap b { color: var(--amber); font-weight: 500; }

/* ── Échange ─────────────────────────────────────────────────────────────── */
.hb-talk { padding: var(--section) var(--pad); max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.hb-talk p { font-family: var(--sans); font-size: 17px; line-height: 1.55; color: var(--fg-2); max-width: 28em; margin: 0 0 14px; }
.hb-talk__how { list-style: none; margin: 26px 0 0; padding: 0; }
.hb-talk__how li { font-family: var(--sans); font-size: 15.5px; color: var(--fg-2); padding: 12px 0; border-top: 1px solid var(--border-c); display: grid; grid-template-columns: 28px 1fr; gap: 10px; }
.hb-talk__how li:last-child { border-bottom: 1px solid var(--border-c); }
.hb-talk__how em { font-family: var(--serif); font-style: italic; color: var(--terra-hover); font-size: 17px; }
.hb-form { background: var(--paper); border: 1px solid var(--border-c2); border-radius: 22px; padding: clamp(22px, 3vw, 36px); position: relative; box-shadow: 0 30px 70px -40px rgba(15,17,23,.25); }
.hb-form .contact-form__submit { width: 100%; justify-content: center; }
.hb-form .contact-form__submit:disabled { opacity: .6; cursor: progress; transform: none; }
.hb-form .hb-form__note { font-family: var(--mono); font-size: 12px; line-height: 1.5; letter-spacing: .04em; color: var(--fg-2); margin: 12px 0 0; text-align: left; }
.hb-form .hb-form__err { display: none; color: var(--terra-hover); font-family: var(--sans); font-size: 14px; margin: 12px 0 0; }
.hb-done { display: none; text-align: center; padding: 48px 20px; }
.hb-done .hb-h2 { font-size: clamp(30px, 3.4vw, 44px); }

/* ── Apparitions : une seule grammaire, depuis un état déjà visible ──────── */
@media (prefers-reduced-motion: no-preference) {
  .hb [data-in] { opacity: .001; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .hb [data-in].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .plan--sweep .sweep, .plan .hot circle.ring { animation: none !important; opacity: 0 !important; }
  .plan--sweep .hot circle.core, .plan--sweep .hot .tag, .plan--sweep .room[data-lit] { animation: none !important; }
  .plan--sweep .hot .tag { opacity: 1; }
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hb-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 40px; }
  .hb-hero__plan { margin-top: 12px; }
}
@media (max-width: 880px) {
  .hb-visit__grid { grid-template-columns: 1fr; }
  .hb-visit__sticky { position: sticky; top: 64px; z-index: 2; background: var(--cream-2); padding: 8px 0 6px; margin: 0 calc(-1 * var(--pad)); padding-left: var(--pad); padding-right: var(--pad); border-bottom: 1px solid var(--border-c); }
  .hb-visit__sticky .plan { max-height: 34vh; width: auto; margin: 0 auto; }
  .hb-visit__legend { display: none; }
  .hb-split { grid-template-columns: 1fr; }
  .hb-split__col + .hb-split__col { border-left: 0; padding-left: 0; border-top: 1px solid var(--border-ink); }
  .hb-tune, .hb-proof__wrap, .hb-talk { grid-template-columns: 1fr; }
  .sheet__row { grid-template-columns: 1fr; gap: 8px; }
  .cockpit__kpis { grid-template-columns: 1fr 1fr; }
  .cockpit__rows li { grid-template-columns: 1fr 48px; grid-template-areas: 'name val' 'gauge gauge' 'flag flag'; row-gap: 6px; }
  .cockpit__name { grid-area: name; } .cockpit__gauge { grid-area: gauge; } .cockpit__val { grid-area: val; } .cockpit__flag { grid-area: flag; }
  .cockpit__top .cockpit__ex { display: none; }
}
@media (max-width: 700px) {
  .hb-hero__plan { margin: 12px calc(-1 * var(--pad)) 0; padding: 0 6px; }
  .hb-hero__cap { padding: 0 var(--pad); }
  .hb-hero__ticker { padding: 0 var(--pad); }
  .hb-hero__plan #plan-hero .plan { max-width: 440px; margin: 0 auto; }
  /* visite : le plan collé est un repère, la légende porte le nom de la pièce */
  .hb-visit__sticky .plan { max-height: 30vh; }
  .hb-visit__sticky .plan .callout, .hb-visit__sticky .plan .tag { display: none; }
  .hb-visit__legend { display: flex; margin-top: 6px; justify-content: center; }
  .hb-visit__legend span:first-child { display: none; }
}
@media (max-width: 560px) {
  .hb-hero__facts { gap: 8px 16px; }
  .hb-set span { font-size: 12.5px; }
}

/* Bouton : l'état survolé garde un contraste AA sur cette page */
.hb .btn-primary:hover { background: var(--terra-hover); }
