/* ==========================================================================
   AD Rénovation — « Le souffle » (v2.3)
   ========================================================================== */
@font-face { font-family: "Familjen Grotesk"; src: url(../fonts/familjen-grotesk-latin.woff2) format("woff2"); font-weight: 400 700; 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: "Familjen Grotesk"; src: url(../fonts/familjen-grotesk-latin-ext.woff2) format("woff2"); font-weight: 400 700; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hanken Grotesk"; src: url(../fonts/hanken-grotesk-latin.woff2) format("woff2"); font-weight: 300 600; 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: "Hanken Grotesk"; src: url(../fonts/hanken-grotesk-latin-ext.woff2) format("woff2"); font-weight: 300 600; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #F3F0E8;       /* chaux */
  --paper-2: #E9E5DA;
  --white: #FBFAF6;
  --ink: #173A33;         /* eucalyptus profond */
  --ink-2: #0F2925;
  --air: #CFE2D8;         /* vert d'air */
  --air-d: #4F9C86;
  --brass: #A8834E;       /* laiton */
  --brass-d: #8A6A3B;
  --muted: color-mix(in srgb, var(--ink) 66%, var(--paper));
  --line: color-mix(in srgb, var(--ink) 13%, transparent);
  --font-d: "Familjen Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-b: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 76px;
  --gut: clamp(16px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body { background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--font-b); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font: inherit; color: inherit; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
:focus-visible { outline: 2.5px solid var(--brass); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: var(--paper); }
.skip:focus { top: 12px; }
.wrap { max-width: 1200px; margin: 0 auto; }
.stars { color: var(--brass); letter-spacing: 2px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border: 0; border-radius: 999px; cursor: pointer;
  font: 500 15.5px/1 var(--font-d); white-space: nowrap; transition: transform .25s var(--ease), background .3s, color .3s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.97); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--ink-2); }
.btn-line { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 16px; }

/* ===== Navigation ===== */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); display: flex; align-items: center; gap: 28px; padding: 0 var(--gut); transition: background .4s, box-shadow .4s, color .4s; }
.nav.solid { background: color-mix(in srgb, var(--paper) 88%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav.light { color: #fff; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-mark { position: relative; width: 38px; height: 38px; flex: none; display: grid; place-items: center; }
.brand-rot { width: 28px; height: 28px; will-change: transform; }
/* Logo = indicateur : l'anneau extérieur se remplit avec la lecture de la page */
.brand-ring { position: absolute; inset: 0; width: 38px; height: 38px; transform: rotate(-90deg); }
.brand-ring circle { fill: none; stroke: var(--brass); stroke-width: 2; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--read, 0) * 100); stroke-linecap: round; }
.brand-txt { font: 600 19px/1 var(--font-d); letter-spacing: -.02em; }
.brand-txt small { display: block; margin-top: 4px; font: 400 12px/1 var(--font-b); letter-spacing: 0; opacity: .7; }
.nav-links { display: flex; gap: 26px; font: 500 15px var(--font-d); }
.nav-links a { position: relative; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-links a:hover::after, .nav-links a.on::after { transform: scaleX(1); }
.burger { display: none; position: relative; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--ink); cursor: pointer; }
.burger span:not(.sr) { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: var(--paper); transition: transform .35s var(--ease); }
.burger span:nth-child(1) { top: 18px; } .burger span:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.drawer { position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--nav-h) + 24px) var(--gut) calc(100px + env(safe-area-inset-bottom));
  background: var(--paper); color: var(--ink); clip-path: circle(0 at calc(100% - var(--gut) - 23px) calc(var(--nav-h) / 2)); transition: clip-path .6s var(--ease); }
.drawer.open { clip-path: circle(150% at calc(100% - var(--gut) - 23px) calc(var(--nav-h) / 2)); }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font: 600 clamp(24px, 7vw, 34px)/1.1 var(--font-d); letter-spacing: -.03em; }
.drawer-foot { font-size: 14.5px; line-height: 1.7; color: var(--muted); }
.drawer-foot a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
body.menu-open .nav { color: var(--ink); }

/* ===== Sections ===== */
.sec { padding: clamp(84px, 12vw, 168px) var(--gut); }
.h2 { font: 600 clamp(36px, 4.8vw, 70px)/.98 var(--font-d); letter-spacing: -.04em; text-wrap: balance; }
.lead { margin-top: 22px; max-width: 58ch; font-size: clamp(16.5px, 1.3vw, 19px); color: var(--muted); }
.head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 6vw, 96px); align-items: end; }
.head .lead { margin-top: 0; }

/* ===== HERO : on traverse la bouche d'extraction ===== */
.hx { position: relative; height: 340vh; }
.hx-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
/* Le mur : enduit à la chaux, lumière rasante venue d'en haut à gauche */
.hx-wall { position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(255,255,255,.28), rgba(255,255,255,0) 55%),
    radial-gradient(90% 80% at 100% 100%, rgba(120,104,80,.10), rgba(0,0,0,0) 60%),
    linear-gradient(180deg, #DBD4C6, #CFC6B5); }
.hx-wall::after { content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .5 0 0 0 0 .42 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
/* L'ouverture : un disque (coins arrondis) qui grandit ; la pièce, à l'intérieur, est contre-agrandie pour rester immobile.
   Tout passe par transform / opacity : rien n'est redessiné pendant le défilement. */
.hx-hole { position: absolute; border-radius: 50%; overflow: hidden; will-change: transform; transform-origin: 50% 50%; background: #0b0f0e; }
.hx-room { position: absolute; will-change: transform; transform-origin: 0 0; }
.hx-room img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.hx-duct { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, #1d2422 0, #0b0f0e 100%); will-change: opacity; }
.hx-shade { position: absolute; inset: 0; opacity: 0; pointer-events: none; will-change: opacity;
  background: linear-gradient(180deg, rgba(8,22,19,.45) 0, rgba(8,22,19,0) 22%, rgba(8,22,19,0) 34%, rgba(8,22,19,.86) 100%); }
.hx-col { position: absolute; overflow: visible; pointer-events: none; will-change: transform, opacity; transform-origin: 50% 50%; }
.hx-vapor { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; will-change: opacity; }
.hx-copy { position: absolute; z-index: 4; left: var(--gut); top: 50%; max-width: min(600px, 46vw); transform: translateY(-46%); will-change: transform, opacity; }
.hx-kick { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 24px; font: 500 14px var(--font-b); color: var(--muted); }
.hx-kick span { display: flex; align-items: center; gap: 8px; }
.hx-kick span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); }
.hx h1 { font: 600 clamp(46px, 6.4vw, 104px)/.94 var(--font-d); letter-spacing: -.045em; }
.hx h1 em { font-style: normal; font-weight: 400; color: color-mix(in srgb, var(--ink) 68%, var(--air)); }
.hx-lead { margin-top: 24px; max-width: 44ch; font-size: clamp(16.5px, 1.3vw, 19px); color: var(--muted); }
.hx-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hx-proof { margin-top: 24px; font-size: 14px; color: var(--muted); }
.hx-hint { position: absolute; z-index: 4; left: 50%; bottom: 26px; transform: translateX(-50%); font: 500 13px var(--font-b); color: var(--muted); }
/* Fin du hero : un sommaire posé sur la photo */
.hx-end { position: absolute; z-index: 5; left: var(--gut); right: var(--gut); bottom: clamp(28px, 6vh, 64px); color: #fff; pointer-events: none; }
.hx-end.open { pointer-events: auto; }
.hx-end .stars { color: #E2B979; }
.hx-end-k { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 9px 16px; border-radius: 99px; background: rgba(8,22,19,.62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font: 500 14px var(--font-b); opacity: var(--r0, 0); transform: translateY(calc((1 - var(--r0, 0)) * 14px)); }
.hx-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 58px; align-items: center; gap: 18px; padding: clamp(14px, 2.2vh, 22px) 0; border-top: 1px solid rgba(255,255,255,.3);
  opacity: var(--ro, 0); transform: translateY(calc((1 - var(--ro, 0)) * 26px)); }
.hx-row:nth-of-type(1) { --ro: var(--r1); } .hx-row:nth-of-type(2) { --ro: var(--r2); } .hx-row:nth-of-type(3) { --ro: var(--r3); }
.hx-row b { font: 600 clamp(30px, 4vw, 64px)/1 var(--font-d); letter-spacing: -.04em; transition: transform .5s var(--ease); }
.hx-row.small b { font-size: clamp(22px, 2.6vw, 40px); font-weight: 500; }
.hx-row .d { font-size: 15px; color: rgba(255,255,255,.78); text-align: right; }
.hx-row .d em { font-style: normal; color: var(--air); }
.hx-row i { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); transition: background .3s, color .3s; }
.hx-row i svg { width: 20px; height: 20px; }
.hx-row:hover b { transform: translateX(12px); }
.hx-row:hover i { background: #fff; color: var(--ink); }

/* ===== VMC : le texte défile, la photo reste ===== */
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); margin-top: clamp(48px, 7vw, 100px); }
.svc-item { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; border-top: 1px solid var(--line); opacity: .32; transition: opacity .6s var(--ease); }
.svc-item.on { opacity: 1; }
.svc-item h3 { font: 600 clamp(38px, 4.4vw, 68px)/.95 var(--font-d); letter-spacing: -.045em; }
.svc-item p { margin-top: 18px; max-width: 42ch; font-size: clamp(16.5px, 1.25vw, 19px); color: var(--muted); }
.svc-media { position: sticky; top: 12vh; height: 76vh; border-radius: 28px; overflow: hidden; background: var(--paper-2); }
.svc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .8s var(--ease), transform 1.4s var(--ease); }
.svc-media img.on { opacity: 1; transform: scale(1); }
.svc-media .zoom.on { transform: scale(1.7); }
.svc-tag { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 14px; padding: 60px 24px 22px; background: linear-gradient(180deg, rgba(8,22,19,0), rgba(8,22,19,.55)); color: #fff; font: 600 17px var(--font-d); }
.svc-bars { display: flex; gap: 5px; margin-left: auto; }
.svc-bars i { width: 24px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.35); transition: background .4s; }
.svc-bars i.on { background: #fff; }

/* Simple / double flux, sur fond sombre */
.flux { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; margin-top: clamp(80px, 10vw, 150px); padding: clamp(28px, 5vw, 72px); border-radius: 34px; background: var(--ink); color: var(--paper); }
.flux h3 { font: 600 clamp(30px, 3.2vw, 48px)/1 var(--font-d); letter-spacing: -.04em; }
.switch { display: inline-flex; margin: 26px 0; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.08); }
.switch button { min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: none; cursor: pointer; font: 500 15px var(--font-d); color: var(--paper); transition: background .35s var(--ease), color .35s; }
.switch button[aria-pressed="true"] { background: var(--air); color: var(--ink); }
.flux-body h4 { font: 600 21px var(--font-d); }
.flux-body p { margin-top: 10px; max-width: 44ch; color: color-mix(in srgb, var(--paper) 72%, var(--ink)); }
.flux-body li { display: flex; gap: 12px; margin-top: 10px; font-size: 15.5px; }
.flux-body li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 9px; border-radius: 50%; background: var(--brass); }
.house { width: 100%; height: auto; }
.house .wall { fill: rgba(255,255,255,.03); stroke: rgba(243,240,232,.85); stroke-width: 2.4; stroke-linejoin: round; }
.house .thin { fill: none; stroke: rgba(243,240,232,.25); stroke-width: 1.2; }
.house .unit { fill: rgba(243,240,232,.08); stroke: rgba(243,240,232,.7); stroke-width: 1.4; }
.house text { font: 500 13px var(--font-b); fill: rgba(243,240,232,.6); }
.house .f { fill: none; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 12; animation: run 1.6s linear infinite; }
.house .in { stroke: #9FD3BF; filter: drop-shadow(0 0 6px rgba(159,211,191,.7)); }
.house .out { stroke: #D9B37A; filter: drop-shadow(0 0 6px rgba(217,179,122,.6)); }
@keyframes run { to { stroke-dashoffset: -28; } }
.house .mode { transition: opacity .5s var(--ease); }
.house[data-mode="simple"] .m-double, .house[data-mode="double"] .m-simple { opacity: 0; }
.keys { display: flex; justify-content: center; gap: 22px; margin-top: 14px; font-size: 13.5px; color: rgba(243,240,232,.7); }
.keys span { display: flex; align-items: center; gap: 8px; }
.keys i { width: 20px; border-top: 3px dotted; }
.k-in { color: #9FD3BF; } .k-out { color: #D9B37A; }

/* Le test de la feuille */
.leaf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 80px); margin-top: clamp(80px, 10vw, 150px); }
.leaf-scene { position: relative; aspect-ratio: 1; border-radius: 34px; overflow: hidden; background: radial-gradient(120% 90% at 30% 0%, #F6F2EA, #E3DDD0); }
.leaf-scene svg { width: 100%; height: 100%; }
.paper { transform-box: view-box; transform-origin: 200px 170px; transition: transform 1.3s cubic-bezier(.5, 0, .7, .4), opacity 1.3s; }
.leaf-scene.ok .paper { animation: flutter 2.4s ease-in-out infinite; }
.leaf-scene.ko .paper { transform: translate(40px, 330px) rotate(32deg) scale(.9); opacity: 0; }
@keyframes flutter { 0%, 100% { transform: rotate(-.6deg); } 50% { transform: rotate(.6deg) translateY(1px); } }
.leaf-txt h3 { font: 600 clamp(30px, 3.2vw, 48px)/1 var(--font-d); letter-spacing: -.04em; }
.leaf-txt p { margin-top: 18px; max-width: 44ch; font-size: clamp(16.5px, 1.25vw, 19px); color: var(--muted); }
.leaf-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.leaf-btns button { min-height: 46px; padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer; background: var(--paper-2); font: 500 15px var(--font-d); transition: background .3s, color .3s; }
.leaf-btns button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.leaf-txt .verdict { min-height: 3em; margin-top: 20px; font: 500 18px/1.4 var(--font-d); color: var(--ink); }

.pull { margin-top: clamp(80px, 10vw, 150px); max-width: 940px; }
.pull blockquote { font: 500 clamp(28px, 3.6vw, 54px)/1.1 var(--font-d); letter-spacing: -.035em; text-wrap: balance; }
.pull figcaption { margin-top: 18px; font-size: 14.5px; color: var(--muted); }

/* ===== Rénovation ===== */
.sec-reno { background: var(--white); }
/* Bandeau photo + citation de Xavier */
.band { position: relative; margin: clamp(48px, 7vw, 96px) 0 0; height: min(78vh, 760px); overflow: hidden; }
.band img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; object-position: 50% 62%; transform: translateY(var(--py, 0px)); }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,28,24,.72) 0, rgba(10,28,24,.35) 45%, rgba(10,28,24,0) 75%); }
.band figure { position: absolute; z-index: 1; left: var(--gut); bottom: clamp(28px, 6vw, 72px); max-width: 640px; color: #fff; }
.band blockquote { font: 500 clamp(26px, 3.2vw, 46px)/1.12 var(--font-d); letter-spacing: -.03em; }
.band figcaption { margin-top: 16px; font-size: 14.5px; color: rgba(255,255,255,.78); }
.reno-pin { margin: 0 calc(var(--gut) * -1); }
.reno-pin > .wrap { box-sizing: content-box; padding: 0 var(--gut); }
/* Comment je travaille : une ligne de chantier qui se remplit */
.steps-t { margin-top: clamp(64px, 8vw, 120px); font: 600 clamp(26px, 2.6vw, 38px)/1 var(--font-d); letter-spacing: -.035em; }
.steps-line { display: none; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 40px; padding-top: 42px; }
.steps::before, .steps::after { content: ""; position: absolute; left: 0; top: 13px; height: 2px; border-radius: 2px; }
.steps::before { right: 0; background: var(--line); }
.steps::after { width: calc(var(--fill, 0) * 100%); background: var(--brass); transition: width .2s linear; }
.step { position: relative; }
.step::before { content: ""; position: absolute; top: -38px; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 2px var(--ink); transition: background .4s, box-shadow .4s; }
.step.on::before { background: var(--brass); box-shadow: inset 0 0 0 2px var(--brass), 0 0 0 6px color-mix(in srgb, var(--brass) 20%, transparent); }
.step h4 { font: 600 clamp(21px, 1.8vw, 26px)/1.12 var(--font-d); letter-spacing: -.025em; }
.step p { margin-top: 10px; font-size: 15.5px; color: var(--muted); }

/* ===== Métiers : grande liste, chaque ligne s'ouvre au clic ===== */
.metiers { margin-top: clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.mw { border-top: 1px solid var(--line); }
.met { position: relative; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 56px; align-items: center; gap: 20px; padding: clamp(22px, 3vw, 34px) 0; border: 0; background: none; cursor: pointer; text-align: left; isolation: isolate; }
.met::before { content: ""; position: absolute; inset: 0 calc(var(--gut) * -1); z-index: -1; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.met:hover, .mw.open .met { color: var(--paper); }
.met:hover::before, .mw.open .met::before { transform: scaleY(1); }
.met b { font: 600 clamp(28px, 3.4vw, 52px)/1 var(--font-d); letter-spacing: -.04em; }
.met .d { font-size: 15.5px; color: var(--muted); transition: color .4s; }
.met:hover .d, .mw.open .met .d { color: color-mix(in srgb, var(--paper) 75%, var(--ink)); }
.met i { position: relative; width: 48px; height: 48px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; }
.met i::before, .met i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 1.8px; margin: -.9px 0 0 -8px; background: currentColor; transition: transform .4s var(--ease); }
.met i::after { transform: rotate(90deg); }
.mw.open .met i::after { transform: rotate(0); }
.star b::after { content: "ma spécialité"; margin-left: 14px; font: italic 400 clamp(15px, 1.3vw, 19px) var(--font-b); letter-spacing: 0; color: var(--brass); vertical-align: middle; }
.mw.open .star b::after, .star:hover b::after { color: #E2B979; }
.more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.mw.open .more { grid-template-rows: 1fr; }
.more > div { overflow: hidden; }
.more-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: end; padding: 28px 0 34px; }
.more ul { display: grid; gap: 8px; }
.more li { display: flex; gap: 12px; font-size: 16px; }
.more li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 9px; border-radius: 50%; background: var(--brass); }
.more .acts { display: flex; flex-wrap: wrap; gap: 8px; }

/* ===== Avis ===== */
.avis { background: var(--ink); color: var(--paper); }
.avis-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); }
.avis-side { position: sticky; top: 120px; align-self: start; }
.avis-score { font: 600 clamp(88px, 9vw, 140px)/.85 var(--font-d); letter-spacing: -.06em; }
.avis-score-s { margin-top: 14px; font-size: 15px; color: color-mix(in srgb, var(--paper) 70%, var(--ink)); }
.avis-score-s .stars { display: block; margin-bottom: 4px; font-size: 20px; }
.filters { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 40px; }
.filters button { position: relative; padding: 6px 0; border: 0; background: none; cursor: pointer; color: color-mix(in srgb, var(--paper) 60%, var(--ink)); font: 500 16px var(--font-d); transition: color .3s; }
.filters button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--air); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.filters button:hover, .filters button[aria-pressed="true"] { color: var(--paper); }
.filters button[aria-pressed="true"]::after { transform: scaleX(1); }
.feature { margin-top: clamp(36px, 5vw, 64px); }
.feature blockquote { max-width: 26ch; font: 500 clamp(28px, 3.4vw, 50px)/1.12 var(--font-d); letter-spacing: -.03em; transition: opacity .35s, transform .45s var(--ease); }
.feature.swap blockquote, .feature.swap .who { opacity: 0; transform: translateY(10px); }
.who { display: flex; align-items: center; gap: 14px; margin-top: 26px; font-size: 15px; color: color-mix(in srgb, var(--paper) 72%, var(--ink)); transition: opacity .35s, transform .45s var(--ease); }
.who b { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--air); color: var(--ink); font: 600 17px var(--font-d); }
.nav-q { display: flex; align-items: center; gap: 18px; margin-top: 22px; font-size: 14px; color: color-mix(in srgb, var(--paper) 65%, var(--ink)); }
.arrows { display: flex; gap: 8px; }
.arrows button { display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; cursor: pointer; background: none; color: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); transition: background .3s, color .3s; }
.arrows button:hover { background: var(--paper); color: var(--ink); }
.arrows svg { width: 18px; height: 18px; }
#prev svg { transform: scaleX(-1); }
.prog { flex: 1; max-width: 260px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.15); overflow: hidden; }
.prog i { display: block; height: 100%; width: var(--w, 0%); background: var(--air); transition: width .5s var(--ease); }
.link-g { display: inline-flex; align-items: center; gap: 10px; margin-top: 40px; padding-bottom: 3px; border-bottom: 1px solid currentColor; font: 500 15px var(--font-d); color: color-mix(in srgb, var(--paper) 80%, var(--ink)); }
.link-g svg { width: 16px; height: 16px; }

/* ===== Qui suis-je ===== */
.adrien { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 6vw, 100px); }
.who-k { font: italic 400 18px var(--font-b); color: var(--brass-d); }
.adrien h2 { font: 500 clamp(34px, 4.4vw, 66px)/1.04 var(--font-d); letter-spacing: -.04em; text-wrap: balance; }
.adrien h2 em { font-style: normal; color: color-mix(in srgb, var(--ink) 55%, var(--air)); }
.adrien .txt { margin-top: 28px; max-width: 58ch; font-size: clamp(16.5px, 1.25vw, 19px); color: var(--muted); }
.sign { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.sign svg { width: 44px; height: 44px; color: var(--ink); }
.sign b { display: block; font: 600 18px var(--font-d); }
.sign span { font-size: 14px; color: var(--muted); }
.facts { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.facts span { margin: 0 6px; opacity: .5; }
.facts .stars { margin: 0; opacity: 1; letter-spacing: 0; }

/* ===== Contact ===== */
.contact { background: var(--paper-2); }
.c-t { font: 500 clamp(20px, 1.8vw, 26px)/1.2 var(--font-d); letter-spacing: -.02em; color: var(--muted); }
.tel { display: inline-block; margin-top: 10px; font: 600 clamp(48px, 9.4vw, 150px)/.9 var(--font-d); letter-spacing: -.055em; transition: color .3s; }
.tel:hover { color: var(--air-d); }
.c-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); margin-top: clamp(36px, 5vw, 64px); align-items: start; }
.c-row .lead { margin-top: 0; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 26px; font-size: 15.5px; }
.hours dt { color: var(--muted); }
.hours .today { font-weight: 600; color: var(--ink); }
.hours dd.today::after { content: " · aujourd'hui"; font-weight: 400; color: var(--air-d); }
.addr { margin-top: 20px; font-size: 14.5px; color: var(--muted); }

/* Devis par SMS : le message s'écrit dans un téléphone */
.devis { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 80px); align-items: center; margin-top: clamp(64px, 8vw, 120px); padding: clamp(24px, 4vw, 56px); border-radius: 34px; background: var(--white); scroll-margin-top: calc(var(--nav-h) + 16px); }
.devis h3 { font: 600 clamp(28px, 2.8vw, 40px)/1.04 var(--font-d); letter-spacing: -.035em; }
.devis h3 em { font-style: normal; font-weight: 400; color: var(--muted); }
.devis-intro { margin-top: 12px; max-width: 48ch; font-size: 15.5px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chips legend, .field label { display: block; margin-bottom: 10px; font: 600 15px var(--font-d); }
.chips label { position: relative; }
.chips input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid color-mix(in srgb, var(--ink) 30%, transparent); font-size: 15px; transition: background .25s, color .25s, border-color .25s; }
.chips input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2.5px solid var(--brass); outline-offset: 2px; }
.field { margin-top: 24px; }
.field small { font: 400 13px var(--font-b); color: var(--muted); }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 13px 16px; border-radius: 14px; border: 1.5px solid color-mix(in srgb, var(--ink) 25%, transparent); background: var(--paper); font: 400 16px var(--font-b); color: var(--ink); resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.devis-side { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.phone { width: min(290px, 100%); aspect-ratio: 9 / 18.5; margin-bottom: 10px; padding: 12px; border-radius: 46px; background: #111614; box-shadow: 0 40px 80px rgba(15,41,37,.25), inset 0 0 0 2px #2a312e; }
.screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: #F7F6F2; display: flex; flex-direction: column; }
.screen-top { padding: 34px 16px 14px; text-align: center; border-bottom: 1px solid rgba(0,0,0,.06); background: rgba(255,255,255,.8); }
.screen-top b { display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto 6px; border-radius: 50%; background: var(--ink); color: var(--paper); font: 600 15px var(--font-d); }
.screen-top span { font: 500 12.5px var(--font-b); color: #333; }
.thread { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px 12px; }
.bubble { align-self: flex-end; max-width: 88%; padding: 11px 14px; border-radius: 20px 20px 6px 20px; background: var(--ink); color: #fff; font-size: 14px; line-height: 1.45; }
.bubble .gap { color: var(--air); font-style: italic; }
.send { display: flex; justify-content: center; align-items: center; min-height: 44px; margin: 0 12px 18px; border-radius: 999px; background: var(--air); color: var(--ink); font: 600 14px var(--font-d); }
.sms-m { display: none; }
.devis-side > .btn { width: min(290px, 100%); }
#smsGo.is-incomplete { opacity: .6; }
.devis-status { min-height: 1.4em; font-size: 14px; text-align: center; color: var(--muted); }
.sms-note { max-width: 32ch; font-size: 13.5px; text-align: center; color: var(--muted); }

/* ===== Pied de page (même structure que les sites d'ostéopathes) ===== */
.foot { padding: 48px var(--gut) calc(28px + env(safe-area-inset-bottom)); background: var(--ink-2); color: var(--paper); font-size: 15px; }
.foot a { transition: color .3s; }
.foot a:hover { color: var(--air); }
.foot-name { font: 600 24px/1.15 var(--font-d); letter-spacing: -.02em; }
.foot-h { margin-bottom: 18px; font: 600 19px/1.2 var(--font-d); letter-spacing: -.01em; }
.foot-id { display: none; }
.foot-cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; }
.foot-contact { display: none; }
.foot-brand .foot-name { margin-bottom: 18px; }
.foot-line { display: flex; align-items: flex-start; gap: 12px; margin-top: 12px; color: color-mix(in srgb, var(--paper) 85%, var(--ink)); }
.foot-line svg { flex: none; width: 16px; height: 16px; margin-top: 4px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.foot-info p:not(.foot-h) { margin-top: 12px; color: color-mix(in srgb, var(--paper) 85%, var(--ink)); }
.foot-info .foot-h + p { margin-top: 0; }
.foot-links { display: flex; flex-direction: column; gap: 12px; color: color-mix(in srgb, var(--paper) 85%, var(--ink)); }
.foot-links .foot-h { margin-bottom: 6px; color: var(--paper); }
.foot-legal { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); text-align: center; font-size: 14px; color: color-mix(in srgb, var(--paper) 70%, var(--ink)); }
.foot-ml { margin-top: 8px; }

/* ===== Un seul bouton d'appel, rond, sur le côté ===== */
.fab { position: fixed; z-index: 60; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--ink); color: var(--paper); box-shadow: 0 10px 28px rgba(15,41,37,.3); transition: transform .3s var(--ease), opacity .3s; }
.fab:hover { transform: scale(1.06); }
.fab.off { opacity: 0; transform: scale(.6); pointer-events: none; }
.fab svg { width: 24px; height: 24px; }
.fab::before, .fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 2px var(--ink); opacity: 0; }
.fab.ping::before { animation: fabWave 1.6s var(--ease) 1; }
.fab.ping::after { animation: fabWave 1.6s var(--ease) .45s 1; }
@keyframes fabWave { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.8); opacity: 0; } }
.fab span { position: absolute; right: 70px; padding: 9px 14px; border-radius: 99px; background: var(--ink); color: var(--paper); font: 600 14.5px var(--font-d); white-space: nowrap; opacity: 0; transform: translateX(8px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.fab:hover span { opacity: 1; transform: none; }

/* ===== Tablette ===== */
@media (max-width: 1080px) { .nav-links { display: none; } .burger { display: block; } }
@media (max-width: 860px) {
  .avis-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .avis-side { position: static; display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 0 18px; }
  .avis-score { font-size: 84px; }
  .filters { grid-column: 1 / -1; flex-direction: row; flex-wrap: nowrap; gap: 22px; overflow-x: auto; margin: 26px calc(var(--gut) * -1) 0; padding: 0 var(--gut); scrollbar-width: none; }
  .filters button { flex: none; }
  .avis-main .h2 { display: none; }
  .feature { margin-top: 30px; }
  .feature blockquote { font-size: 25px; }
}

/* ===== Mobile ===== */
@media (max-width: 760px) {
  :root { --nav-h: 66px; }
  body { font-size: 16.5px; }
  .sec { padding-top: 72px; padding-bottom: 72px; }
  .head, .flux, .leaf, .adrien, .c-row, .devis { grid-template-columns: minmax(0, 1fr); }

  /* Hero */
  .hx { height: 300vh; }
  .hx-copy { left: var(--gut); right: var(--gut); top: auto; bottom: 100px; max-width: none; transform: none; }
  .hx h1 { font-size: clamp(40px, 11.5vw, 58px); }
  .hx-kick, .hx-ctas, .hx-proof, .hx-hint { display: none; }
  .hx-lead { margin-top: 14px; font-size: 15.5px; }
  .hx-end { bottom: 92px; }
  .hx-end-k { font-size: 13.5px; }
  .hx-end-x { display: none; }
  .hx-row { grid-template-columns: minmax(0, 1fr) 44px; gap: 12px; padding: 15px 0; }
  .hx-row .d { display: none; }
  .hx-row b { font-size: clamp(24px, 7.4vw, 32px); }
  .hx-row.small b { font-size: 18px; }
  .hx-row i { width: 44px; height: 44px; }

  /* VMC : même principe que sur PC, la photo en haut, le texte glisse à l'horizontale quand on descend */
  .svc { display: flex; flex-direction: column; height: 330svh; margin: 32px calc(var(--gut) * -1) 0; gap: 0; }
  .svc-media { order: -1; position: sticky; top: var(--nav-h); height: 56svh; border-radius: 0; }
  .svc-list { position: sticky; top: calc(var(--nav-h) + 56svh); display: flex; overflow: hidden; padding-bottom: 8px; touch-action: pan-y; background: var(--paper); }
  .svc-item { flex: 0 0 100%; min-height: 0; justify-content: flex-start; padding: 24px var(--gut) 0; border-top: 0; opacity: 1; transform: translateX(calc(var(--x, 0) * -100%)); }
  .svc-item h3 { font-size: clamp(34px, 9.6vw, 42px); }
  .svc-item p { margin-top: 12px; font-size: 16px; }
  .flux { margin-top: 24px; padding: 26px 20px; border-radius: 26px; }
  .leaf, .pull { margin-top: 64px; }
  .leaf-scene { aspect-ratio: 4 / 3.4; }

  /* Rénovation : la photo et les étapes dans un même écran qui reste en place */
  .sec-reno { padding-bottom: 0; }
  .reno-pin { height: 320svh; margin-top: 36px; touch-action: pan-y; }
  .band { position: sticky; top: var(--nav-h); height: 52svh; margin: 0; }
  .band img { transform: scale(calc(1.16 - var(--x, 0) * .05)); transform-origin: 50% 70%; transition: transform .2s linear; }
  .band::after { background: linear-gradient(180deg, rgba(10,28,24,.05) 25%, rgba(10,28,24,.85)); }
  .band figure { left: var(--gut); right: var(--gut); bottom: 22px; }
  .band blockquote { font-size: 19px; line-height: 1.22; }
  .band figcaption { margin-top: 10px; font-size: 13px; }
  .reno-pin > .wrap { position: sticky; top: calc(var(--nav-h) + 52svh); overflow: hidden; padding: 0 0 8px; background: var(--white); }
  .steps-stage { display: flex; flex-direction: column; padding: 22px var(--gut) 0; overflow: hidden; }
  .steps-t { margin-top: 0; font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--brass-d); }
  .steps-line { position: relative; display: block; height: 20px; margin-top: 14px; }
  .steps-line::before, .steps-line span { content: ""; position: absolute; left: 0; top: 9px; height: 2px; border-radius: 2px; }
  .steps-line::before { right: 0; background: var(--line); }
  .steps-line span { width: calc(var(--x, 0) / 3 * 100%); background: var(--brass); }
  .steps-line i { position: absolute; top: 0; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 2px var(--ink); transition: background .4s, box-shadow .4s; }
  .steps-line i:nth-of-type(1) { left: 10px; } .steps-line i:nth-of-type(2) { left: 33.3%; } .steps-line i:nth-of-type(3) { left: 66.6%; } .steps-line i:nth-of-type(4) { left: calc(100% - 10px); }
  .steps-line i.on { background: var(--brass); box-shadow: inset 0 0 0 2px var(--brass), 0 0 0 6px color-mix(in srgb, var(--brass) 20%, transparent); }
  .steps { display: flex; gap: 0; margin-top: 18px; padding: 0; }
  .steps::before, .steps::after, .step::before { display: none; }
  .step { flex: 0 0 100%; padding-right: 16px; transform: translateX(calc(var(--x, 0) * -100%)); }
  .step h4 { font-size: 26px; }
  .step p { margin-top: 10px; font-size: 16px; max-width: 32ch; }

  /* Métiers */
  .sec-met { padding-top: 48px; }
  .met { grid-template-columns: minmax(0, 1fr) 44px; gap: 14px; padding: 20px 0; }
  .met .d { display: none; }
  .met b { font-size: clamp(25px, 7.6vw, 32px); }
  .met i { width: 44px; height: 44px; }
  .star b::after { display: block; margin: 8px 0 0; }
  .more-in { grid-template-columns: minmax(0, 1fr); padding: 20px 0 26px; }
  .more .acts .btn { flex: 1; }

  /* Pied de page : nom centré, puis 2 colonnes Informations / Nous contacter */
  .foot { padding-top: 44px; }
  .foot-id { display: block; margin-bottom: 32px; text-align: center; }
  .foot-sub { margin-top: 6px; font-size: 14px; color: color-mix(in srgb, var(--paper) 62%, var(--ink)); }
  .foot-num { margin-top: 4px; font-size: 12.5px; color: color-mix(in srgb, var(--paper) 50%, var(--ink)); }
  .foot-rule { display: block; width: 48px; height: 1px; margin: 16px auto 0; background: var(--brass); }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .foot-brand, .foot-info { display: none; }
  .foot-contact { display: block; }
  .foot-h { margin-bottom: 0; font-size: 15px; }
  .foot-links .foot-h, .foot-contact .foot-h { padding-bottom: 12px; margin-bottom: 4px; background: linear-gradient(var(--brass), var(--brass)) 0 100% / 32px 1px no-repeat; }
  .foot-links { gap: 12px; font-size: 14px; }
  .foot-contact .foot-line { margin-top: 12px; font-size: 14px; }
  .foot-legal { margin-top: 36px; font-size: 13.5px; }
  .foot-ml { display: none; }
  /* Qui suis-je + contact */
  .who-k { margin-bottom: -14px; }
  .tel { font-size: clamp(42px, 13.4vw, 60px); }
  .devis { padding: 22px 18px; }
  .phone { display: none; }
  .devis-side { align-items: stretch; }
  .sms-m { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 22px; background: var(--paper); }
  .sms-to { font: 600 14px var(--font-d); color: var(--muted); }
  .sms-m .bubble { align-self: stretch; max-width: none; font-size: 15.5px; }
  .devis-side > .btn { width: 100%; }
  .sms-go { min-height: 56px; font-size: 16px; }
  .sms-note { max-width: none; }
}
/* Écrans peu hauts */
@media (max-height: 640px) and (min-width: 761px) { .hx-lead, .hx-kick { display: none; } }
@media (max-height: 680px) and (max-width: 760px) { .hx-lead { display: none; } .hx h1 { font-size: clamp(34px, 10vw, 46px); } }

/* ===== Mouvement réduit : hero statique ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
.hx-static .hx { height: auto; }
.hx-static .hx-stage { position: relative; height: auto; overflow: visible; padding: calc(var(--nav-h) + 32px) 0 24px; }
.hx-static .hx-wall, .hx-static .hx-col, .hx-static .hx-vapor, .hx-static .hx-hint, .hx-static .hx-duct { display: none; }
.hx-static .hx-copy { position: relative; left: auto; right: auto; top: auto; bottom: auto; transform: none; max-width: 760px; padding: 0 var(--gut); }
.hx-static .hx-ctas { display: flex; }
.hx-static .hx-hole { position: relative; height: 62vh; margin: 32px var(--gut) 0; border-radius: 24px; }
.hx-static .hx-room { position: absolute; inset: 0; }
.hx-static .hx-shade { position: absolute; top: auto; bottom: 0; height: 62vh; margin: 0 var(--gut); border-radius: 24px; opacity: 1; }
.hx-static .hx-end { position: relative; left: auto; right: auto; bottom: auto; margin: -260px calc(var(--gut) + 24px) 0; pointer-events: auto; --r0: 1; --r1: 1; --r2: 1; --r3: 1; }
