/* VACHER Multi Techniques — feuille de style du site (concept validé : « À travers la caméra ») */

/* ===== Tokens ===== */
:root {
  --paper: #f3f6f7;          /* blanc froid, le blanc des splits */
  --paper-2: #e6eef1;
  --ink: #12384b;            /* marine du logo, assombri pour le texte */
  --ink-soft: #4d6876;
  --glacier: #c1e5f5;        /* fond du logo */
  --navy: #174960;           /* trait du logo */
  --heat: #c93716;           /* rouge thermique : appel + chaleur */
  --heat-hover: #a92c10;

  /* Couleurs des métiers (icônes, disjoncteurs) */
  --c-clim: #3fa3d4;
  --c-elec: #e9a800;
  --c-elec-ink: #2b2100;
  --c-chaud: #e2401c;
  --c-pose: #5f8496;
  --c-zone: #2e8b6e;
  --c-steve: #174960;
  --c-contact: #c93716;

  --f: "Figtree", system-ui, sans-serif;
  --fd: "Outfit", "Figtree", system-ui, sans-serif;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --m: clamp(16px, 2.2vw, 32px);
  --nav-h: 68px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f); font-size: var(--step-body); line-height: 1.55; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--fd); font-weight: 700; letter-spacing: -0.035em; line-height: 0.98; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--c-clim); outline-offset: 3px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 14px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Information à fournir par le client : visible tant qu'elle manque */
.ph { background: #fff3a8; color: #5b4a00; padding: 0.15em 0.55em; border-radius: 3px; font-weight: 600; font-size: max(0.85em, 12px); }

/* ===== Boutons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em; min-height: 52px; padding: 0 1.4em;
  background: var(--heat); color: #fff; text-decoration: none; font: 600 1.05rem/1 var(--fd); letter-spacing: -0.01em;
  border: 0; border-radius: 0; cursor: pointer; transition: transform 160ms var(--ease-out), background 160ms;
}
.btn:hover { background: var(--heat-hover); }
.btn:active { transform: scale(0.97); }
.btn svg { width: 1.1em; height: 1.1em; }
.btn--navy { background: var(--navy); }
.btn--navy:hover { background: #0f3446; }
.btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn--ghost:hover { background: rgba(18, 56, 75, 0.06); }
.contact .btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }

/* ===== Navigation ===== */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; padding: 0 var(--m); background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 rgba(18, 56, 75, 0.08); }
.nav__brand { display: block; color: var(--navy); }
.nav__brand svg { display: block; height: 40px; width: auto; }
.nav__links { display: flex; gap: 28px; align-items: center; font: 500 0.98rem var(--fd); }
.nav__links a { text-decoration: none; }
.nav__links a:not(.btn):hover { text-decoration: underline; text-underline-offset: 4px; }
.nav__links .btn { min-height: 44px; font-size: 0.95rem; }
.nav__burger { display: none; width: 48px; height: 48px; border: 0; background: none; color: inherit; cursor: pointer; padding: 0; }
.nav__burger span { display: block; width: 26px; height: 2.5px; background: currentColor; margin: 6px auto; transition: transform 300ms var(--ease-out), opacity 200ms; }

/* Drawer mobile : s'ouvre en cercle depuis le burger, liens en cascade */
.drawer {
  position: fixed; inset: 0; z-index: 39; background: var(--navy); color: #fff; display: flex; flex-direction: column; justify-content: center;
  padding: 90px var(--m) 40px; gap: 4px;
  clip-path: circle(0% at calc(100% - 40px) 34px); transition: clip-path 520ms var(--ease-out), visibility 0s 520ms; visibility: hidden;
}
.drawer a { font: 600 2.4rem/1.15 var(--fd); letter-spacing: -0.03em; text-decoration: none; opacity: 0; transform: translateY(14px); transition: opacity 300ms, transform 400ms var(--ease-out); }
.drawer .drawer__tel { margin-top: 28px; font-size: 1.3rem; letter-spacing: 0; color: var(--glacier); }
body.drawer-open .drawer { clip-path: circle(150% at calc(100% - 40px) 34px); visibility: visible; transition: clip-path 520ms var(--ease-out); }
body.drawer-open .drawer a { opacity: 1; transform: none; }
body.drawer-open .drawer a:nth-child(2) { transition-delay: 40ms; }
body.drawer-open .drawer a:nth-child(3) { transition-delay: 80ms; }
body.drawer-open .drawer a:nth-child(4) { transition-delay: 120ms; }
body.drawer-open .drawer a:nth-child(5) { transition-delay: 160ms; }
body.drawer-open .drawer a:nth-child(6) { transition-delay: 200ms; }
body.drawer-open .drawer a:nth-child(7) { transition-delay: 240ms; }
body.drawer-open .nav { color: #fff; background: transparent; box-shadow: none; }
body.drawer-open .nav__brand { color: #fff; }
body.drawer-open .nav__burger span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
body.drawer-open .nav__burger span:nth-child(2) { opacity: 0; }
body.drawer-open .nav__burger span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ===== Barre de progression : une ligne fine, couleur de la section en cours ===== */
.rail { position: fixed; left: 0; right: 0; top: var(--nav-h); height: 4px; z-index: 41; pointer-events: none; }
.rail__fill { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(0); background: var(--rail-c, var(--c-clim)); transition: background 400ms; }

/* ===== Bouton flottant Appeler (mobile, après le header) ===== */
.float-cta { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 40; display: flex; flex-direction: column; gap: 12px;
  opacity: 0; transform: translateY(12px); pointer-events: none; visibility: hidden;
  transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out), visibility 0s linear 300ms; }
.float-cta.is-visible { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out); }
.float-cta__btn { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--heat); color: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22); transition: transform 160ms var(--ease-out), background 160ms; }
.float-cta__btn:active { transform: scale(0.94); }
.float-cta__btn svg { width: 24px; height: 24px; }
body.drawer-open .float-cta { opacity: 0; visibility: hidden; pointer-events: none; }
@media (min-width: 1024px) { .float-cta { display: none; } }

/* ===== HERO : la caméra → on passe à travers son écran → les 3 volets ===== */
.hx { position: relative; height: 220svh; }
.hx__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--paper); }
.hx__copy { position: absolute; z-index: 3; left: var(--m); top: calc(var(--nav-h) + clamp(28px, 9vh, 110px)); width: min(46vw, 640px); will-change: opacity, transform; }
.hx__kick { display: flex; flex-wrap: wrap; gap: 8px 18px; font: 600 var(--step-small)/1 var(--fd); color: var(--ink-soft); }
.hx__kick span { display: inline-flex; align-items: center; gap: 7px; }
.hx__kick svg { width: 15px; height: 15px; }
.hx h1 { margin-top: 22px; font-size: clamp(3rem, 1.4rem + 5.6vw, 7.4rem); line-height: 0.92; letter-spacing: -0.045em; }
.hx h1 em { font-style: normal; color: var(--heat); }
.hx__lede { margin-top: 26px; font-size: var(--step-lead); line-height: 1.36; max-width: 33ch; }
.hx__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hx__where { margin-top: 26px; font-size: var(--step-small); color: var(--ink-soft); }

.hx__cam { position: absolute; z-index: 2; margin: 0; right: clamp(16px, 6vw, 110px); top: calc(var(--nav-h) + 24px); height: min(calc(100svh - var(--nav-h) - 72px), 54vw); aspect-ratio: 4 / 5; will-change: transform; }
.hx__cam img { width: 100%; height: 100%; object-fit: cover; }
.hx__cam figcaption { position: absolute; left: 0; right: 0; top: 100%; margin-top: 10px; font-size: var(--step-small); color: var(--ink-soft); }

/* Les 3 volets : vus à travers l'écran de la caméra, qui s'agrandit jusqu'à la page */
.hx__doors { position: absolute; z-index: 5; left: 0; right: 0; top: var(--nav-h); bottom: 0; display: grid; grid-template-rows: repeat(3, 1fr); gap: var(--g, 0px); padding: var(--g, 0px); background: var(--paper); clip-path: inset(var(--ct, 0) var(--cr, 0) var(--cb, 0) var(--cl, 0)); }
.js .hx__doors { visibility: hidden; }
.door { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--m); text-decoration: none; color: #fff; background: var(--dc); }
.door--elec { color: var(--ink); }
.door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: var(--ph, 0); transform: scale(calc(1.08 - var(--ph, 0) * 0.08)); }
.door::before { content: ""; position: absolute; inset: 0; z-index: 1; opacity: var(--ph, 0); background: linear-gradient(90deg, var(--dc) 0%, color-mix(in srgb, var(--dc) 70%, transparent) 38%, transparent 72%); }
.door--chaud { --dc: #b8361a; }
.door--elec { --dc: #e9e3d2; }
.door--clim { --dc: #174960; }
.door__lab, .door__go { position: relative; z-index: 2; opacity: var(--lb, 0); transform: translateX(calc((1 - var(--lb, 0)) * -24px)); }
.door__lab { display: flex; align-items: baseline; gap: 16px; font-family: var(--fd); }
.door__lab small { font-size: var(--step-small); font-weight: 600; }
.door__lab b { font-size: clamp(1.9rem, 1rem + 3.4vw, 4.6rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.door__lab em { font-style: normal; font-family: var(--f); font-size: var(--step-small); font-weight: 500; margin-left: 4px; }
.door__go { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, 0.94); color: var(--navy); font-size: 1.4rem; transition: transform 240ms var(--ease-out); }
.door:hover .door__go { transform: translateX(6px); }
.door:focus-visible { outline-offset: -6px; outline-color: #fff; }

.hx__hint { position: absolute; z-index: 3; left: 50%; bottom: 18px; transform: translateX(-50%); font-size: 12px; font-weight: 600; color: var(--ink-soft); display: flex; gap: 10px; align-items: center; white-space: nowrap; }
.hx__hint i { width: 18px; height: 28px; border: 2px solid currentColor; border-radius: 10px; position: relative; }
.hx__hint i::after { content: ""; position: absolute; left: 50%; top: 5px; width: 3px; height: 6px; margin-left: -1.5px; border-radius: 2px; background: currentColor; animation: wheel 1.6s infinite; }
@keyframes wheel { 60% { transform: translateY(7px); opacity: 0; } 100% { opacity: 0; } }

/* Sans JS ou en mouvement réduit : tout est posé, sans scène épinglée */
.hx-static .hx, .no-js .hx { height: auto; }
.hx-static .hx__stage, .no-js .hx__stage { position: relative; height: auto; overflow: visible; display: grid; gap: 32px; padding: calc(var(--nav-h) + 32px) var(--m) 0; }
.hx-static .hx__copy, .hx-static .hx__cam, .no-js .hx__copy, .no-js .hx__cam { position: relative; inset: auto; width: auto; height: auto; margin: 0; }
.hx-static .hx__cam, .no-js .hx__cam { max-width: 420px; padding-bottom: 32px; }
.hx-static .hx__hint, .no-js .hx__hint { display: none; }
.hx-static .hx__doors, .no-js .hx__doors { position: relative; inset: auto; visibility: visible; clip-path: none; height: 80svh; margin: 0 calc(var(--m) * -1); --g: 8px; }
.hx-static .door, .no-js .door { --ph: 1; --lb: 1; }

/* ===== CHAPITRES MÉTIERS ===== */
.chap { --c: var(--c-clim); position: relative; padding: clamp(80px, 10vw, 160px) var(--m) clamp(56px, 7vw, 110px); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 88px); align-items: start; }
.chap__num { display: flex; align-items: center; gap: 12px; font: 600 var(--step-small)/1 var(--fd); color: var(--ink-soft); }
.chap__num i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--c); color: #fff; }
.chap__num i svg { width: 17px; height: 17px; }
.chap h2 { margin-top: 22px; font-size: clamp(2.6rem, 1.6rem + 4.2vw, 5.6rem); }
.chap h2 em { font-style: normal; color: var(--ct, var(--c)); }
.chap__lede { margin-top: 24px; font-size: var(--step-lead); line-height: 1.38; max-width: 32ch; }
.chap ul { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid rgba(18, 56, 75, 0.16); }
.chap li { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(18, 56, 75, 0.16); font-weight: 600; }
.chap li span { font-weight: 400; color: var(--ink-soft); font-size: var(--step-small); text-align: right; align-self: center; }
.chap__pics { display: grid; grid-template-columns: 7fr 5fr; gap: 14px; align-items: end; }
.chap__pics figure { margin: 0; }
.chap__pics img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.chap__pics figure:nth-child(2) img { aspect-ratio: 3 / 4; }
.chap__pics figcaption { margin-top: 10px; font-size: var(--step-small); color: var(--ink-soft); }
.chap--chaud { --c: var(--c-chaud); --ct: #c2341a; }
.chap--elec { --c: var(--c-elec); --ct: #7d5800; background: #fbf6e6; }
.chap--elec .chap__num i { color: var(--c-elec-ink); }
.chap--clim { --c: var(--c-clim); --ct: #1c6690; background: #eaf4f9; }

/* ===== SÉPARATEURS ===== */
.sep { display: block; width: 100%; height: auto; overflow: visible; }
/* Câble : une étincelle file le long du fil */
.sep--cable { background: #fbf6e6; }
.sep--cable path { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; }
.sep--cable .spark { fill: var(--c-elec); filter: drop-shadow(0 0 6px #ffd23a); }
.sep--cable .plug { fill: var(--ink); }
/* Liaison frigorifique : deux tubes sous isolant, tracés au défilement */
.sep--liaison { background: #eaf4f9; }
.sep--liaison .pipe-out { fill: none; stroke: var(--navy); stroke-width: 15; stroke-linecap: round; stroke-linejoin: round; }
.sep--liaison .pipe-in { fill: none; stroke: #f4f7f8; stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; }
.sep--liaison .clamp { fill: var(--navy); opacity: 0; transition: opacity 300ms; }
.sep--liaison.is-done .clamp { opacity: 1; }

/* ===== LA POSE EN 6 ÉTAPES (défilement horizontal épinglé) ===== */
.seq { position: relative; height: 480svh; background: var(--navy); color: #fff; }
.seq__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding-top: var(--nav-h); }
.seq__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: 0 var(--m); }
.seq h2 { color: #fff; font-size: clamp(2rem, 1.2rem + 3vw, 4rem); max-width: 18ch; }
.seq__count { font: 600 var(--step-small)/1 var(--fd); color: var(--glacier); white-space: nowrap; }
.seq__track { display: flex; gap: clamp(20px, 3vw, 48px); padding: 32px var(--m) 0; will-change: transform; }
.seq figure { flex: 0 0 clamp(270px, 40vw, 660px); margin: 0; }
.seq figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.seq figcaption { margin-top: 16px; display: grid; gap: 4px; max-width: 44ch; }
.seq figcaption b { font: 600 clamp(1.3rem, 1rem + 1vw, 1.9rem)/1.05 var(--fd); letter-spacing: -0.02em; color: var(--glacier); }
.seq figcaption b small { font-size: max(12px, 0.6em); margin-right: 8px; }
.seq figcaption span { color: rgba(255, 255, 255, 0.88); }
.seq__end { flex: 0 0 clamp(260px, 30vw, 440px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; padding-bottom: 60px; }
.seq__end p { font: 600 clamp(1.5rem, 1.1rem + 1.4vw, 2.4rem)/1.1 var(--fd); letter-spacing: -0.02em; }
.seq__end a { color: var(--glacier); font-weight: 600; }

/* ===== ZONE : le camion + le panneau de votre commune ===== */
.zn { padding: clamp(88px, 11vw, 180px) var(--m) clamp(64px, 8vw, 120px); overflow: hidden; }
.zn__top { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: end; }
.zn h2 { font-size: clamp(2.4rem, 1.4rem + 4vw, 5.4rem); max-width: 14ch; }
.zn__intro { font-size: var(--step-lead); line-height: 1.38; max-width: 34ch; }
.zn__pick { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; }
.zn__field { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.zn__pick label { font: 600 1.05rem var(--fd); }
.zn select { min-height: 52px; min-width: min(100%, 320px); font: 600 1.05rem var(--f); color: var(--ink); background: #fff; border: 0; border-radius: 0; padding: 0 14px; box-shadow: inset 0 0 0 2px var(--ink); }
.zn__scene { position: relative; margin-top: clamp(40px, 5vw, 72px); height: calc(min(70vw, 860px) * 0.66); }
.zn__road { position: absolute; left: calc(var(--m) * -1); right: calc(var(--m) * -1); bottom: 0; height: 18%; background: #dfe7eb; }
.zn__road::after { content: ""; position: absolute; left: 0; right: 0; top: 46%; height: 5px; background: repeating-linear-gradient(90deg, #fff 0 54px, transparent 54px 120px); }
.zn__van { position: absolute; left: -4%; bottom: 7%; width: min(70vw, 860px); transition: transform 900ms var(--ease-out); }
.zn__van.is-away { transform: translateX(-24%); transition: none; }
.zn__sign { position: absolute; right: 2%; bottom: 14%; width: clamp(170px, 22vw, 300px); }
.zn__km { text-align: right; font: 700 clamp(2.4rem, 1.6rem + 3vw, 4.6rem)/0.9 var(--fd); letter-spacing: -0.04em; }
.zn__km small { display: block; margin: 8px 0 0 auto; font: 500 var(--step-small)/1.4 var(--f); letter-spacing: 0; color: var(--ink-soft); max-width: 26ch; }
.zn details { margin-top: 36px; border-top: 1px solid rgba(18, 56, 75, 0.16); }
.zn summary { cursor: pointer; padding: 16px 0; font: 600 1.05rem var(--fd); }
.zn__list { columns: 3 200px; color: var(--ink-soft); font-size: var(--step-small); padding-bottom: 12px; }
/* Panneau d'entrée d'agglomération */
.sign__plate { background: #fff; padding: 8px; box-shadow: 0 0 0 1px #c9d1d4, 0 8px 20px -12px rgba(0, 0, 0, 0.4); }
.sign__plate span { display: grid; place-items: center; min-height: 3.6em; padding: 6px 10px; outline: 5px solid #c8102e; outline-offset: -5px; text-align: center; font: 700 clamp(0.85rem, 0.7rem + 0.5vw, 1.2rem)/1.05 var(--fd); text-transform: uppercase; letter-spacing: 0.01em; color: #111; }
.sign__posts { display: flex; justify-content: space-between; padding: 0 24%; height: clamp(46px, 7vw, 96px); }
.sign__posts i { width: 6px; background: #8c989d; }
.sign.is-pop { animation: pop 460ms var(--ease-out); }
@keyframes pop { from { transform: translateY(18px) rotate(-3deg); opacity: 0; } }

/* ===== STEVE ===== */
.stv { --ink-soft: #35505e; background: var(--glacier); padding: clamp(88px, 11vw, 180px) var(--m); display: grid; grid-template-columns: 6fr 6fr; gap: clamp(32px, 5vw, 88px); align-items: center; }
.stv__count { display: flex; flex-wrap: nowrap; align-items: flex-end; gap: 0.06em; font: 700 clamp(4.5rem, 1rem + 11vw, 13rem)/0.82 var(--fd); letter-spacing: -0.05em; color: var(--navy); }
.stv__digits { display: flex; }
.stv__d { display: inline-block; height: 0.84em; overflow: hidden; }
.stv__d i { display: block; font-style: normal; transition: transform 1.8s var(--ease-out); }
.stv__d i b { display: block; height: 0.84em; font-weight: inherit; }
.stv__u { font-size: max(14px, 0.2em); line-height: 1.1; letter-spacing: -0.01em; padding-bottom: 0.3em; margin-left: 0.2em; }
.stv__joke { margin-top: 24px; font: 500 var(--step-lead)/1.3 var(--fd); max-width: 28ch; letter-spacing: -0.01em; }
.stv__who { display: grid; grid-template-columns: 112px 1fr; gap: 22px; align-items: start; }
.stv__who img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; background: #fff; }
.stv__who h2 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem); }
.stv__who p { margin-top: 12px; max-width: 46ch; }
.stv__proofs { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(18, 56, 75, 0.18); border: 1px solid rgba(18, 56, 75, 0.18); }
.stv__proofs div { background: var(--glacier); padding: 20px 18px; }
.stv__proofs b { display: block; font: 600 1.05rem/1.2 var(--fd); }
.stv__proofs span { display: block; margin-top: 6px; font-size: var(--step-small); color: var(--ink-soft); }
.stv__pro { grid-column: 1 / -1; font-size: var(--step-small); color: var(--ink-soft); }

/* ===== CONTACT + PIED DE PAGE ===== */
.contact { background: var(--navy); color: #fff; padding: clamp(80px, 12vw, 180px) var(--m) 40px; }
.contact h2 { color: #fff; font-size: clamp(2.4rem, 1.4rem + 4vw, 5.4rem); max-width: 16ch; }
.contact__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; margin-top: 48px; align-items: end; }
.contact__tel { display: inline-block; font: 700 clamp(2.6rem, 7vw, 6.5rem)/0.9 var(--fd); letter-spacing: -0.04em; text-decoration: none; color: var(--glacier); }
.contact__tel:hover { color: #fff; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.contact__lines { display: grid; gap: 10px; }
.contact__lines a { color: #fff; }
/* Pied de page « type ostéo » : nom centré + 2 colonnes sur mobile, 3 colonnes sur ordinateur */
.foot { background: #0f3446; color: rgba(255, 255, 255, 0.82); padding: 48px var(--m) 28px; font-size: var(--step-small); }
.foot__in { max-width: 1200px; margin: 0 auto; }
.foot a { color: inherit; text-decoration: none; transition: color 160ms; }
.foot a:hover { color: var(--glacier); }
.foot__name { font: 600 1.5rem/1.15 var(--fd); letter-spacing: -0.02em; color: #fff; }
.foot__job { margin-top: 6px; color: rgba(255, 255, 255, 0.72); }
.foot__who { margin-top: 4px; font-size: 0.8rem; color: rgba(255, 255, 255, 0.66); }
.foot__rule { display: block; width: 32px; height: 1px; background: var(--glacier); margin: 14px 0 16px; }
.foot__id { text-align: center; margin-bottom: 32px; }
.foot__id .foot__rule { width: 48px; margin: 16px auto 0; }
.foot__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.foot__brand { display: none; }
.foot__title { font: 600 0.95rem/1.2 var(--fd); color: #fff; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.foot li a, .foot__brand li { display: flex; align-items: flex-start; gap: 9px; line-height: 1.35; }
.foot svg { flex: none; width: 16px; height: 16px; margin-top: 1px; color: var(--glacier); }
.foot > svg:first-child { width: 0; height: 0; }
.foot__copy { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.18); text-align: center; color: rgba(255, 255, 255, 0.7); }
@media (min-width: 1024px) {
  .foot { padding: 72px var(--m) 32px; }
  .foot__id { display: none; }
  .foot__cols { grid-template-columns: 1.3fr 1fr 1fr; gap: 56px; }
  .foot__brand { display: block; }
  .foot__brand .foot__name { font-size: 1.8rem; }
  .foot__brand ul { margin-top: 22px; max-width: 34ch; }
  .foot__title { font-size: 1.15rem; }
}

/* ===== Mobile ===== */
@media (max-width: 767px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
    
  .hx { height: 210svh; }
  .hx__copy { width: auto; right: var(--m); top: calc(var(--nav-h) + 18px); }
  .hx__kick { gap: 6px 12px; font-size: 12px; }
  .hx h1 { margin-top: 14px; font-size: 13.4vw; }
  .hx__lede { margin-top: 12px; font-size: 1rem; line-height: 1.4; }
  .hx__cta, .hx__where, .hx__hint { display: none; }
  .hx__cam { top: auto; bottom: 22px; right: 50%; height: 38svh; margin-right: calc(-38svh * 0.4); }
  .hx__cam figcaption { display: none; }
  .door { padding: 0 16px; gap: 12px; }
  .door__lab { flex: 1; min-width: 0; flex-direction: column; gap: 6px; }
  .door__lab b { font-size: clamp(1.6rem, 8.4vw, 2.6rem); }
  .door__lab em { margin: 0; }
  .door__go { width: 44px; height: 44px; }
  .hx-static .hx__stage, .no-js .hx__stage { padding-bottom: 0; }
  .hx-static .hx__cam, .no-js .hx__cam { right: auto; margin: 0; height: auto; }
  .hx-static .hx__doors, .no-js .hx__doors { bottom: auto; }

  .chap { grid-template-columns: 1fr; }
  .chap__pics { grid-template-columns: 1fr 1fr; }
  .seq { height: 380svh; }
  .seq__stage { padding-top: var(--nav-h); }
  .seq figure img { aspect-ratio: 4 / 5; }
  .seq h2 { font-size: 1.9rem; }
  .seq__track { padding-top: 18px; }
  .seq figure { flex-basis: 80vw; }
  .seq__end { flex-basis: 74vw; }
  .zn__top { grid-template-columns: 1fr; gap: 18px; }
  .zn__pick { flex-direction: column; align-items: stretch; gap: 22px; }
  .zn select { width: 100%; }
  .zn__km { text-align: left; }
  .zn__km small { margin-left: 0; }
  .zn__scene { height: 230px; margin-top: 28px; }
  .zn__van { width: 78vw; left: -18vw; bottom: 9%; }
  .zn__sign { width: 136px; right: 0; bottom: 15%; }
  .zn__sign .sign__posts { height: 54px; }
  .stv { grid-template-columns: 1fr; }
  .stv__who { grid-template-columns: 80px 1fr; }
  .stv__who img { width: 80px; height: 80px; }
  .stv__proofs { grid-template-columns: 1fr 1fr; }
  .contact__grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ===== Pages secondaires (mentions légales, 404) ===== */
.page { max-width: 760px; padding: calc(var(--nav-h) + clamp(48px, 8vw, 110px)) var(--m) clamp(64px, 8vw, 120px); }
.page h1 { font-size: clamp(2.4rem, 1.4rem + 4vw, 4.6rem); }
.page h2 { margin-top: 44px; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); letter-spacing: -0.02em; }
.page p, .page ul { margin-top: 14px; }
.page ul { padding-left: 1.2em; }
.page .back { display: inline-block; margin-top: 48px; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
