/* Plomberie Lemay : thème sombre. Tout le style du site est ici. */
:root {
  --bg: #13211b;
  --bg-2: #07090d;
  --card: #0e1117;
  --card-2: #151a23;
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .18);
  --text: #f5f5f7;
  --muted: #a3aab8;
  --blue: #2997ff;
  --blue-deep: #0a6fe0;
  --cyan: #64d2ff;
  --grad: linear-gradient(100deg, #2997ff 0%, #64d2ff 60%, #b6ecff 100%);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --nav: 60px;
  --r: 28px;
  --wrap: min(1240px, 100% - 48px);
  --font: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav) + 24px); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: #cbbfa9 #13211b; }
.wrap { width: var(--wrap); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 200; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 500; }
.skip:focus { top: 12px; }

/* ---------- Typographie ---------- */
h1, h2, .display { font-weight: 600; letter-spacing: -.04em; line-height: 1.02; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 7.4vw, 6.4rem); }
h2 { font-size: clamp(2.2rem, 5.2vw, 4.4rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.lead { font-size: clamp(1.1rem, 1.55vw, 1.4rem); line-height: 1.45; color: var(--muted); max-width: 46ch; text-wrap: pretty; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.prose p { color: #c9ced8; max-width: 62ch; text-wrap: pretty; }
.prose p + p { margin-top: 1.1em; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 500; font-size: 1.02rem; border: 0; cursor: pointer; white-space: nowrap;
  transition: transform .16s var(--ease), background-color .2s ease, box-shadow .3s ease, border-color .2s ease; }
.btn:active { transform: scale(.97); }
.btn--call { background: var(--blue); color: #fff; box-shadow: 0 10px 40px -12px rgba(52, 92, 74, .7); }
.btn--ghost { background: rgba(255, 255, 255, .08); color: var(--text); border: 1px solid var(--line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: .95rem; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn .arr { transition: transform .3s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .btn--call:hover { background: #3f6e58; box-shadow: 0 14px 50px -10px rgba(52, 92, 74, .9); }
  .btn--ghost:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .34); }
  .btn:hover .arr { transform: translateX(4px); }
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 500; }
.link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
@media (hover: hover) and (pointer: fine) { .link:hover svg { transform: translateX(4px); } .link:hover { color: var(--cyan); } }

/* ---------- Barre de progression et navigation ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 120; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav); border-bottom: 1px solid transparent; transition: background-color .35s ease, border-color .35s ease, backdrop-filter .35s ease; }
.nav.is-scrolled, .nav.is-open { background: rgba(8, 10, 14, .72); border-bottom-color: var(--line); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); }
.nav__bar { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.08rem; letter-spacing: -.02em; min-height: 44px; }
.logo svg { width: 22px; height: 22px; }
.nav__links { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; font-size: .95rem; color: #d7dbe3; background: none; border: 0; cursor: pointer; transition: color .2s ease, background-color .2s ease; }
.nav__link[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .1); }
.nav__link svg { width: 12px; height: 12px; transition: transform .3s var(--ease); }
.nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) { .nav__link:hover { color: #fff; background: rgba(255, 255, 255, .08); } }
.nav__burger { display: none; width: 44px; height: 44px; margin-left: auto; border: 0; background: none; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav__burger span:nth-child(1) { top: 17px; } .nav__burger span:nth-child(2) { top: 26px; }
.nav.is-open .nav__burger span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

/* panneau des services */
.mega { position: fixed; inset: var(--nav) 0 auto 0; z-index: 99; background: rgba(8, 10, 14, .92); backdrop-filter: saturate(180%) blur(24px); -webkit-backdrop-filter: saturate(180%) blur(24px); border-bottom: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s ease, transform .35s var(--ease), visibility 0s .35s; }
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .35s var(--ease), visibility 0s; }
.mega__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 40px; padding-block: 36px 44px; }
.mega__title { font-size: .82rem; color: var(--muted); margin-bottom: 10px; }
.mega a { display: block; padding: 7px 0; font-size: 1.12rem; font-weight: 500; letter-spacing: -.01em; color: #e8eaef; transition: color .2s ease, transform .3s var(--ease); }
@media (hover: hover) and (pointer: fine) { .mega a:hover { color: var(--cyan); transform: translateX(4px); } }

/* menu téléphone */
.sheet { position: fixed; inset: 0; z-index: 98; background: rgba(0, 0, 0, .96); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); padding: calc(var(--nav) + 24px) 24px calc(32px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 4px; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s .3s; }
.sheet.is-open { opacity: 1; visibility: visible; transition: opacity .3s ease, visibility 0s; }
.sheet a:not(.btn) { display: block; padding: 12px 0; font-size: 2rem; font-weight: 600; letter-spacing: -.03em; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i) * 45ms + 80ms); }
.sheet.is-open a:not(.btn) { opacity: 1; transform: none; }
.sheet .btn { margin-top: 28px; }

/* ---------- Héros ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: clip; isolation: isolate; }
.hero--page { min-height: min(86svh, 820px); }
.hero__media { position: absolute; inset: -6% 0 -6% 0; z-index: -2; will-change: transform; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 40%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .1) 28%, rgba(0, 0, 0, .55) 62%, #13211b 100%), linear-gradient(90deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .2) 62%, rgba(0, 0, 0, 0) 100%); }
.hero__in { width: var(--wrap); margin-inline: auto; padding-block: calc(var(--nav) + 48px) clamp(48px, 9vh, 104px); will-change: transform, opacity; }
.hero h1 { max-width: 15ch; margin-top: 22px; font-size: clamp(2.7rem, min(6.8vw, 11.5vh), 6rem); }
.hero--page h1 { max-width: 16ch; font-size: clamp(2.5rem, 6.2vw, 5.2rem); }
.hero .lead { margin-top: 24px; color: #d5d9e2; }
.hero .btn-row { margin-top: 34px; }
.pill { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 14px 0 12px; border-radius: 999px; font-size: .9rem; font-weight: 500; background: rgba(255, 255, 255, .1); border: 1px solid var(--line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: #30d158; box-shadow: 0 0 0 0 rgba(48, 209, 88, .6); animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(48, 209, 88, .55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(48, 209, 88, 0); } }
.crumb { font-size: .92rem; color: #cfd4dd; display: inline-flex; gap: 8px; align-items: center; min-height: 36px; }
.crumb a { color: var(--cyan); }
.scrollcue { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(255, 255, 255, .45); border-radius: 14px; }
.scrollcue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: cue 1.8s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

/* entrée du héros : mot à mot */
.js .split .w { display: inline-block; overflow: clip; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.js .split .w > span { display: inline-block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + 150ms); }
@keyframes rise { to { transform: none; } }
.js .hero [data-in] { opacity: 0; transform: translateY(18px); animation: fadeup .9s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 1ms); }
@keyframes fadeup { to { opacity: 1; transform: none; } }
.js .hero__media img { animation: settle 2.2s var(--ease) both; }
@keyframes settle { from { transform: scale(1.14); filter: blur(10px) brightness(.6); } to { transform: none; filter: none; } }

/* ---------- Apparition au défilement ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(34px); filter: blur(8px); transition: opacity .9s var(--ease), transform 1.1s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-reveal].in { opacity: 1; transform: none; filter: none; }
.js [data-reveal="clip"] { opacity: 1; transform: none; filter: none; }
.figure__in { width: 100%; height: 100%; border-radius: inherit; overflow: clip; }
.js [data-reveal="clip"] .figure__in { clip-path: inset(0 0 100% 0 round var(--r)); transition: clip-path 1.2s var(--ease-io); transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-reveal="clip"].in .figure__in { clip-path: inset(0 0 0 0 round var(--r)); }
.js [data-reveal="clip"] img { transform: scale(1.18); transition: transform 1.6s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-reveal="clip"].in img { transform: none; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(88px, 13vw, 176px); position: relative; }
.section--tight { padding-block: clamp(64px, 9vw, 120px); }
.section__head { max-width: 900px; margin-bottom: clamp(40px, 6vw, 80px); }
.section__head .lead { margin-top: 22px; }
.eyebrowless { display: none; }

/* bandeau défilant */
.marquee { padding-block: 26px; border-block: 1px solid var(--line); overflow: clip; background: var(--bg-2); }
.marquee__track { display: flex; width: max-content; gap: 0; animation: marquee 48s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-weight: 600; letter-spacing: -.03em; color: #5d6676; white-space: nowrap; }
.marquee__track span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.marquee__track span:nth-child(3n+1) { color: var(--text); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (hover: hover) and (pointer: fine) { .marquee:hover .marquee__track { animation-play-state: paused; } }

/* phrase qui s'allume mot à mot */
.statement { padding-block: clamp(110px, 18vw, 240px); }
.statement p { font-size: clamp(1.9rem, 5vw, 4.3rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.08; max-width: 20ch; text-wrap: balance; }
.statement .wd { color: rgba(245, 245, 247, .16); transition: color .35s ease; }
.statement .wd.on { color: var(--text); }
.statement .wd.hot.on { color: var(--blue); }

/* grille des services */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 360px; padding: 28px; border-radius: var(--r); overflow: clip; isolation: isolate; background: var(--card); border: 1px solid var(--line); transition: border-color .4s ease, transform .5s var(--ease); }
.card--xl { grid-column: span 4; min-height: 520px; } .card--md { grid-column: span 2; } .card--tall { grid-column: span 2; min-height: 520px; } .card--wide { grid-column: span 6; min-height: 0; }
.card__img { position: absolute; inset: 0; z-index: -2; }
.card__img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: transform 1.2s var(--ease); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 20%, rgba(0, 0, 0, .55) 58%, rgba(0, 0, 0, .92) 100%); }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s ease; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(120, 170, 130, .22), transparent 62%); }
.card h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); letter-spacing: -.035em; }
.card p { color: #cfd4dd; margin-top: 8px; max-width: 34ch; }
.card__tag { position: absolute; top: 24px; left: 24px; min-height: 32px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; font-size: .88rem; font-weight: 500; background: rgba(0, 0, 0, .5); border: 1px solid var(--line-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.card__go { position: absolute; top: 22px; right: 22px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); border: 1px solid var(--line-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: background-color .3s ease, transform .5s var(--ease); }
.card__go svg { width: 18px; height: 18px; }
.card > a.cover { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
@media (hover: hover) and (pointer: fine) {
  .card:hover { border-color: rgba(120, 170, 130, .45); }
  .card:hover::after { opacity: 1; }
  .card:hover .card__img img { transform: scale(1.06); }
  .card:hover .card__go { background: var(--blue); transform: rotate(-45deg); }
}
.card:active { transform: scale(.985); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); font-size: .98rem; color: #e3e6ec; transition: background-color .25s ease, border-color .25s ease, color .25s ease, transform .16s var(--ease); }
.chip:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) { a.chip:hover { background: var(--blue); border-color: var(--blue); color: #fff; } }
.card--wide { justify-content: flex-start; gap: 22px; padding: 32px; }
.card--wide::before { display: none; }
.card--wide .card__top { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }

/* prix des chauffe-eau */
.prices { background: radial-gradient(900px 520px at 78% 30%, rgba(52, 92, 74, .22), transparent 70%), var(--bg-2); border-block: 1px solid var(--line); }
.prices__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.figure { border-radius: var(--r); aspect-ratio: 4 / 5; }
.figure img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.figure--wide { aspect-ratio: 16 / 10; }
.pricecards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.price { padding: 28px; border-radius: 24px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.price__label { color: var(--muted); font-weight: 500; }
.price__n { font-size: clamp(3rem, 6.4vw, 5.6rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; margin-top: 10px; }
.price__n small { display: block; font-size: .3em; letter-spacing: -.01em; color: var(--muted); font-weight: 500; margin-top: 10px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.fact { padding: 20px 24px; border-radius: 20px; border: 1px solid var(--line); display: flex; align-items: baseline; gap: 14px; }
.fact b { font-size: 1.9rem; font-weight: 600; letter-spacing: -.04em; white-space: nowrap; }
.fact span { color: var(--muted); font-size: .98rem; line-height: 1.35; }
.note { margin-top: 20px; color: var(--muted); font-size: .95rem; }

/* débouchage : chapitres épinglés */
.pin { position: relative; }
.pin__sticky { position: sticky; top: 0; min-height: 100svh; display: flex; align-items: center; padding-block: calc(var(--nav) + 24px) 40px; }
.pin__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 96px); align-items: center; width: var(--wrap); flex: none; }
.steps { margin-top: 36px; display: grid; gap: 4px; }
.step { position: relative; padding: 20px 0 20px 26px; border-left: 2px solid var(--line); opacity: .38; transition: opacity .5s ease; }
.step::before { content: ""; position: absolute; left: -2px; top: 0; width: 2px; height: 100%; background: var(--blue); transform: scaleY(var(--p, 0)); transform-origin: 50% 0; }
.step.on { opacity: 1; }
.step p { color: #c9ced8; margin-top: 6px; max-width: 44ch; }
.pin__media { position: relative; aspect-ratio: 4 / 5; max-height: 76svh; border-radius: var(--r); overflow: clip; background: var(--card); justify-self: end; width: 100%; }
.pin__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .8s ease, transform 1.4s var(--ease); }
.pin__media img.on { opacity: 1; transform: none; }
.js .pin { height: 280vh; }

/* chiffres */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.stat { padding: 40px 24px 40px 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat b { display: block; font-size: clamp(3rem, 6vw, 5.4rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.stat > span { display: block; margin-top: 12px; color: var(--muted); max-width: 22ch; line-height: 1.35; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: clamp(48px, 7vw, 96px); }
.trio p { color: #c2c8d3; margin-top: 12px; }
.trio > div { padding-top: 24px; border-top: 1px solid var(--line-2); }

/* territoire */
.zones { overflow: clip; padding-block: clamp(88px, 12vw, 160px); position: relative; isolation: isolate; }
.zones__bg { position: absolute; inset: 0; z-index: -2; opacity: .5; }
.zones__bg img { width: 100%; height: 100%; object-fit: cover; }
.zones::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #13211b 0%, rgba(0, 0, 0, .35) 40%, rgba(0, 0, 0, .5) 70%, #13211b 100%); }
.zones__row { font-size: clamp(3.6rem, 15vw, 14rem); font-weight: 700; letter-spacing: -.055em; line-height: .92; white-space: nowrap; will-change: transform; }
.zones__row:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .7); }
.zones__foot { margin-top: clamp(40px, 6vw, 72px); display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }

/* texte + photo */
.feature { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.feature--flip > :first-child { order: 2; }
.feature h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); margin-bottom: 26px; }
.feature .links { margin-top: 28px; display: grid; gap: 12px; }
.feature .chips { margin-bottom: 28px; }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); }

/* liste des services (page services) */
.svcgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.svc { position: relative; padding: 24px 64px 24px 24px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); overflow: clip; isolation: isolate; transition: border-color .3s ease, background-color .3s ease, transform .16s var(--ease); }
.svc::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s ease; background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(52, 92, 74, .22), transparent 65%); }
.svc h3 { font-size: 1.22rem; }
.svc p { color: var(--muted); margin-top: 6px; font-size: .98rem; }
.svc__tag { display: inline-block; margin-top: 12px; color: var(--cyan); font-weight: 500; font-size: .95rem; }
.svc svg { position: absolute; right: 22px; top: 26px; width: 20px; height: 20px; color: var(--muted); transition: transform .4s var(--ease), color .3s ease; }
.svc:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) { .svc:hover { border-color: rgba(120, 170, 130, .45); } .svc:hover::after { opacity: 1; } .svc:hover svg { transform: translate(3px, -3px); color: var(--cyan); } }
.group + .group { margin-top: clamp(56px, 8vw, 104px); }
.group h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); margin-bottom: 28px; }

/* formulaire */
.quote { background: radial-gradient(800px 480px at 12% 20%, rgba(52, 92, 74, .18), transparent 70%), var(--bg-2); border-top: 1px solid var(--line); }
.quote__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contactlist { margin-top: 36px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.contactlist > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contactlist dt { color: var(--muted); }
.contactlist a { color: var(--cyan); }
.form { padding: clamp(24px, 3.4vw, 40px); border-radius: var(--r); background: rgba(255, 255, 255, .045); border: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; } .field--full { grid-column: 1 / -1; }
.field label { font-size: .92rem; color: #d3d7df; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; background: rgba(0, 0, 0, .5); border: 1px solid var(--line-2); font-size: 1rem; transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
.field textarea { min-height: 128px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%23a3aab8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 14px; padding-right: 44px; }
.field select option { background: #0e1117; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(52, 92, 74, .22); }
.field [aria-invalid="true"] { border-color: #ff6961; }
.field__err { color: #ff8a84; font-size: .9rem; }
.form .btn { justify-self: start; }
.form__status { grid-column: 1 / -1; color: #d3d7df; min-height: 1.5em; }
.form__status.ok { color: #7ee2a0; }

/* autres services + bandeau d'appel */
.more { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.callband { text-align: left; border-top: 1px solid var(--line); }
.callband__n { display: inline-block; padding-right: .08em; font-size: clamp(2.6rem, 11vw, 11rem); font-weight: 700; letter-spacing: -.06em; line-height: .95; white-space: nowrap; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; transition: filter .4s ease; }
@media (hover: hover) and (pointer: fine) { .callband__n:hover { filter: brightness(1.25) drop-shadow(0 0 40px rgba(52, 92, 74, .45)); } }
.callband p { margin-top: 20px; }

/* pied de page */
.footer { border-top: 1px solid var(--line); padding-block: 56px calc(40px + env(safe-area-inset-bottom)); color: var(--muted); font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.3fr; gap: 32px; }
.footer h3 { font-size: .9rem; color: var(--text); letter-spacing: 0; font-weight: 500; margin-bottom: 10px; }
.footer li a, .footer address a { display: inline-flex; align-items: center; min-height: 36px; transition: color .2s ease; }
.footer address { font-style: normal; line-height: 1.6; }
@media (hover: hover) and (pointer: fine) { .footer a:hover { color: #fff; } }
.footer__legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
body.has-bar .footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }

/* barre d'appel (téléphone) */
.callbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 90; display: none; transform: translateY(140%); transition: transform .6s var(--ease); }
.callbar.is-on { transform: none; }
.callbar .btn { width: 100%; min-height: 56px; box-shadow: 0 18px 50px -10px rgba(52, 92, 74, .8), 0 0 0 1px rgba(255, 255, 255, .12) inset; }

/* crédits */
.plain { padding-block: calc(var(--nav) + 72px) 96px; }
.plain h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 32px; }
.plain li { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.plain li a { color: var(--cyan); }

/* transitions entre les pages */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s ease both; }
::view-transition-new(root) { animation: vt-in .5s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Tablette et téléphone ---------- */
@media (max-width: 1023px) {
  .nav__links, .nav__bar > .btn { display: none; }
  .nav__burger { display: block; }
  .mega { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card--xl, .card--wide { grid-column: span 2; } .card--md, .card--tall { grid-column: span 1; min-height: 340px; }
  .prices__grid, .quote__grid, .feature, .pin__grid { grid-template-columns: 1fr; }
  .feature--flip > :first-child { order: 0; }
  .figure { aspect-ratio: 4 / 3; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .svcgrid { grid-template-columns: 1fr 1fr; } .more { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .js .pin { height: auto; }
  .pin__sticky { position: static; min-height: 0; padding-block: clamp(88px, 13vw, 176px); }
  .pin__media { display: none; }
  .step { opacity: 1; border-left: 0; padding: 0; }
  .step::before { display: none; }
  .steps { gap: 28px; }
  .step__img { display: block; border-radius: 22px; overflow: clip; aspect-ratio: 16 / 10; margin-bottom: 18px; }
  .step__img img { width: 100%; height: 100%; object-fit: cover; }
}
@media (min-width: 1024px) { .step__img { display: none; } .sheet { display: none; } }
@media (max-width: 639px) {
  body { font-size: 16px; }
  :root { --wrap: calc(100% - 40px); --r: 22px; }
  .hero::before { background: linear-gradient(180deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .15) 25%, rgba(0, 0, 0, .7) 60%, #13211b 100%); }
  .btn-row .btn { width: 100%; }
  .hero:not(.hero--page) .hero__media img { object-position: 50% 55%; }
  .bento { grid-template-columns: 1fr; }
  .card--xl, .card--wide, .card--md, .card--tall { grid-column: auto; min-height: 320px; } .card--wide { min-height: 0; }
  .pricecards, .facts, .cols2, .trio, .svcgrid, .more, .form { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 28px 0; border-left: 0; }
  .stat + .stat { border-top: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid > :first-child { grid-column: 1 / -1; }
  .callbar { display: block; }
  .scrollcue { display: none; }
  .contactlist > div { grid-template-columns: 96px 1fr; }
  .zones__row:nth-child(even) { -webkit-text-stroke-width: 1px; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .2s !important; }
  .js [data-reveal], .js [data-reveal="clip"] .figure__in, .js [data-reveal="clip"] img { opacity: 1; transform: none; filter: none; clip-path: none; }
  .js .split .w > span, .js .hero [data-in] { transform: none; opacity: 1; animation: none; }
  .js .hero__media img { animation: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; row-gap: 8px; padding-inline: 20px; }
  .marquee__track [aria-hidden] { display: none; }
  .statement .wd { color: var(--text); }
  .js .pin { height: auto; } .pin__sticky { position: static; min-height: 0; padding-block: 96px; } .step { opacity: 1; }
  .pin__media img:first-child { opacity: 1; transform: none; }
  @view-transition { navigation: none; }
}

/* =====================================================================
   VERSION CINÉMA : s'ajoute au thème sombre de base (site.css).
   ===================================================================== */

/* grain de pellicule sur toute la page */
.grain { position: fixed; inset: 0; z-index: 130; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22220%22 height=%22220%22%3E%3Cfilter id=%22n%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%22.9%22 numOctaves=%222%22 stitchTiles=%22stitch%22/%3E%3C/filter%3E%3Crect width=%22100%25%22 height=%22100%25%22 filter=%22url(%23n)%22/%3E%3C/svg%3E"); }

/* rideau d'ouverture (première visite de la session) */
.loader { position: fixed; inset: 0; z-index: 300; background: #13211b; display: none; place-items: center; clip-path: inset(0 0 0 0); transition: clip-path 1s var(--ease-io); }
.js:not(.seen) .loader { display: grid; }
.loader.is-out { clip-path: inset(0 0 100% 0); }
.loader__in { display: grid; justify-items: center; gap: 18px; transition: opacity .4s ease, transform .8s var(--ease-io); }
.loader.is-out .loader__in { opacity: 0; transform: translateY(-40px); }
.loader svg { width: 54px; height: 54px; animation: drip 1.1s var(--ease) both; }
@keyframes drip { from { transform: translateY(-46px) scale(.6); opacity: 0; } 60% { transform: translateY(4px) scale(1.04); opacity: 1; } to { transform: none; } }
.loader__name { font-size: 1.3rem; font-weight: 600; letter-spacing: -.02em; }
.loader__n { font-variant-numeric: tabular-nums; color: var(--muted); font-size: .95rem; }
.loader__bar { width: 180px; height: 2px; background: rgba(255, 255, 255, .14); border-radius: 2px; overflow: clip; }
.loader__bar i { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }
/* l'entrée du héros attend la fin du rideau */
.js:not(.is-ready) .hero .split .w > span, .js:not(.is-ready) .hero [data-in], .js:not(.is-ready) .hero__media img { animation-play-state: paused; }

/* héros : eau vivante (WebGL) par-dessus la photographie */
.hero__frame { position: absolute; inset: 0; z-index: -2; overflow: clip; --shrink: 0; will-change: clip-path;
  clip-path: inset(calc(var(--shrink) * 3.5%) calc(var(--shrink) * 2.5%) calc(var(--shrink) * 3.5%) calc(var(--shrink) * 2.5%) round calc(var(--shrink) * 44px)); }
.hero__frame .hero__media { z-index: 0; }
.hero__frame::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .1) 28%, rgba(0, 0, 0, .55) 62%, #13211b 100%), linear-gradient(90deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .2) 62%, rgba(0, 0, 0, 0) 100%); }
.hero::before { display: none; }
.hero__media canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s ease; }
.hero__media canvas.is-on { opacity: 1; }
.hero h1 { font-size: clamp(2.9rem, min(8.2vw, 13vh), 7.6rem); letter-spacing: -.05em; line-height: .96; max-width: 14ch; }
.hero--page h1 { font-size: clamp(2.6rem, min(6.8vw, 11vh), 6rem); max-width: 16ch; }
.hero__meta { position: absolute; right: max(24px, calc((100% - 1240px) / 2)); bottom: clamp(48px, 9vh, 104px); display: grid; gap: 6px; text-align: right; font-size: .9rem; color: #cfd4dd; }
.hero__meta b { font-size: 1.05rem; color: #fff; font-weight: 600; }

/* curseur : un anneau qui suit le pointeur et annonce les cartes */
.cursor { position: fixed; left: 0; top: 0; z-index: 250; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .7); pointer-events: none; opacity: 0; display: grid; place-items: center;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .3s ease, border-color .3s ease, opacity .3s ease; mix-blend-mode: difference; }
.cursor.is-on { opacity: 1; }
.cursor.is-link { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(255, 255, 255, .12); }
.cursor.is-view { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--blue); border-color: var(--blue); mix-blend-mode: normal; }
.cursor span { font-size: .85rem; font-weight: 600; color: #fff; opacity: 0; transition: opacity .2s ease; }
.cursor.is-view span { opacity: 1; }
.cursor.is-down { width: 34px; height: 34px; margin: -17px 0 0 -17px; }

/* titres qui se lèvent mot à mot */
.js [data-split] .w { display: inline-block; overflow: clip; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(110%) rotate(4deg); transform-origin: 0 100%; transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.js [data-split].in .w > span { transform: none; }

/* boutons magnétiques et cartes inclinées */
.btn { transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(var(--s, 1)); transition: transform .5s var(--ease), background-color .2s ease, box-shadow .3s ease, border-color .2s ease; }
.btn:active { --s: .96; transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(var(--s)); }
.bento { perspective: 1400px; }
.card { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: border-color .4s ease, transform .5s var(--ease), box-shadow .5s ease; }
@media (hover: hover) and (pointer: fine) { .card:hover { box-shadow: 0 40px 90px -40px rgba(52, 92, 74, .55); } }
.card:active { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(.985); }
.js .card[data-reveal] { transform: translateY(34px); }
.js .card[data-reveal].in { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }

/* bandeau défilant : s'incline avec la vitesse du défilement */
.marquee { padding-block: 34px; }
.marquee__skew { transform: skewX(var(--skew, 0deg)); will-change: transform; }
.marquee__track span { font-size: clamp(1.8rem, 4vw, 3.4rem); }

/* scène qui s'ouvre : une photographie passe de carte à plein écran */
.expand { position: relative; height: 240vh; }
.expand__sticky { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; overflow: clip; }
.expand__frame { position: absolute; inset: 0; --p: 0; overflow: clip; will-change: clip-path;
  clip-path: inset(calc((1 - var(--p)) * 16%) calc((1 - var(--p)) * 22%) calc((1 - var(--p)) * 16%) calc((1 - var(--p)) * 22%) round calc((1 - var(--p)) * 48px)); }
.expand__frame img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transform: scale(calc(1.3 - var(--p) * .3)); will-change: transform; }
.expand__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .3), rgba(0, 0, 0, .72)); opacity: var(--p); }
.expand__text { position: relative; z-index: 1; width: var(--wrap); text-align: center; --t: 0; opacity: var(--t); transform: translateY(calc((1 - var(--t)) * 60px)); will-change: transform, opacity; }
.expand__text h2 { font-size: clamp(2.8rem, 9vw, 8.4rem); letter-spacing: -.05em; line-height: .95; }
.expand__text p { margin: 22px auto 0; color: #e3e6ec; }

/* bande photographique des pages de services */
.band { position: relative; height: 92vh; overflow: clip; }
.band__frame { position: absolute; inset: 0; --p: 0; overflow: clip; will-change: clip-path;
  clip-path: inset(calc((1 - var(--p)) * 12%) calc((1 - var(--p)) * 9%) calc((1 - var(--p)) * 12%) calc((1 - var(--p)) * 9%) round calc((1 - var(--p)) * 44px)); }
.band__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.25 - var(--p) * .25)); }
.band__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .1) 40%, rgba(0, 0, 0, .78)); }
.band__text { position: absolute; left: 0; right: 0; bottom: clamp(48px, 10vh, 110px); z-index: 1; }
.band__text p { font-size: clamp(2rem, 5.4vw, 4.6rem); font-weight: 600; letter-spacing: -.045em; line-height: 1; max-width: 16ch; }

/* galerie horizontale épinglée */
.hscroll { position: relative; }
.hscroll__sticky { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 4vh, 48px); overflow: clip; padding-top: var(--nav); }
.hscroll__head { width: var(--wrap); margin-inline: auto; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.hscroll__head h2 { font-size: clamp(2rem, 4.6vw, 4rem); }
.hscroll__track { display: flex; gap: 20px; padding-inline: max(24px, calc((100vw - 1240px) / 2)); width: max-content; will-change: transform; }
.shot { position: relative; flex: none; width: clamp(280px, 30vw, 440px); height: min(60svh, 600px); border-radius: var(--r); overflow: clip; isolation: isolate; background: var(--card); border: 1px solid var(--line); transition: border-color .4s ease; }
.shot:nth-child(even) { margin-top: 5vh; }
.shot img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.shot::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .9)); }
.shot__in { position: absolute; left: 26px; right: 26px; bottom: 24px; }
.shot__n { position: absolute; left: 24px; top: 20px; font-variant-numeric: tabular-nums; font-size: .9rem; color: #e3e6ec; }
.shot h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); letter-spacing: -.035em; }
.shot p { color: #cfd4dd; margin-top: 6px; }
@media (hover: hover) and (pointer: fine) { .shot:hover { border-color: rgba(120, 170, 130, .5); } .shot:hover img { transform: scale(1.07); } }
.hscroll__bar { width: var(--wrap); margin-inline: auto; height: 2px; background: var(--line); border-radius: 2px; overflow: clip; }
.hscroll__bar i { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* service suivant : un très grand lien en fin de page */
.next { position: relative; display: block; padding-block: clamp(72px, 11vw, 150px); border-top: 1px solid var(--line); overflow: clip; isolation: isolate; }
.next__img { position: absolute; inset: 0; z-index: -2; opacity: 0; transform: scale(1.1); transition: opacity .7s ease, transform 1.6s var(--ease); }
.next__img img { width: 100%; height: 100%; object-fit: cover; }
.next::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, .62); }
.next__label { color: var(--muted); }
.next__name { display: flex; align-items: center; gap: .3em; margin-top: 14px; font-size: clamp(2.4rem, 8vw, 7.4rem); font-weight: 600; letter-spacing: -.05em; line-height: .98; }
.next__name svg { width: .7em; height: .7em; flex: none; transition: transform .7s var(--ease); }
@media (hover: hover) and (pointer: fine) { .next:hover .next__img { opacity: 1; transform: none; } .next:hover .next__name svg { transform: translateX(.25em); } }

/* le grand numéro : chaque chiffre se lève */
.js .callband__n .w { display: inline-block; overflow: clip; padding-bottom: .08em; margin-bottom: -.08em; }
.js .callband__n .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 45ms);
  /* un seul dégradé pour tout le numéro : chaque chiffre en montre sa part */
  background: var(--grad) calc(var(--i) / 11 * 100%) 0 / 1200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.js .callband__n.in .w > span { transform: none; }

@media (max-width: 1023px) {
  .cursor { display: none; }
  .hero__meta { display: none; }
  .js .hscroll { height: auto !important; }
  .hscroll__sticky { position: static; height: auto; padding-block: clamp(88px, 13vw, 176px); overflow: visible; }
  .hscroll__track { transform: none !important; overflow-x: auto; width: auto; scroll-snap-type: x mandatory; padding-inline: 20px; scrollbar-width: none; }
  .hscroll__track::-webkit-scrollbar { display: none; }
  .shot { scroll-snap-align: center; width: 78vw; height: 58svh; }
  .shot:nth-child(even) { margin-top: 0; }
  .hscroll__bar { display: none; }
  .expand { height: 200vh; }
  .expand__frame { clip-path: inset(calc((1 - var(--p)) * 20%) calc((1 - var(--p)) * 8%) calc((1 - var(--p)) * 20%) calc((1 - var(--p)) * 8%) round calc((1 - var(--p)) * 32px)); }
  .band { height: 70vh; }
}
@media (max-width: 639px) {
  .hero__frame::after { background: linear-gradient(180deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .15) 25%, rgba(0, 0, 0, .7) 60%, #13211b 100%); }
}
@media (prefers-reduced-motion: reduce) {
  .loader, .cursor, .grain { display: none !important; }
  .js [data-split] .w > span, .js .callband__n .w > span { transform: none; }
  .expand { height: auto; }
  .expand__sticky { position: relative; height: 80vh; }
  .expand__frame, .band__frame { --p: 1; }
  .expand__text { --t: 1; }
  .js .hscroll { height: auto !important; }
  .hscroll__sticky { position: static; height: auto; padding-block: 96px; }
  .hscroll__track { transform: none !important; overflow-x: auto; width: auto; }
  .hero__media canvas { display: none; }
}

/* ===== ajouts communs : profondeur à la souris ===== */
.cursor { display: none !important; }
.card__img img, .shot img, .tile img { transition: transform 1.2s var(--ease), translate .7s var(--ease); scale: 1.06; }
@media (hover: hover) and (pointer: fine) {
  .card:hover { translate: 0 -6px; }
  .shot { transition: border-color .4s ease, translate .5s var(--ease); }
  .shot:hover { translate: 0 -8px; }
}
.card { transition: border-color .4s ease, transform .5s var(--ease), box-shadow .5s ease, translate .5s var(--ease); }
[data-depth] { will-change: translate; }
.demo-note { color: var(--muted); font-size: .88rem; }
.contactlist dd, .footer address, .callband .mail { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 639px) { .contactlist > div { grid-template-columns: 88px minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { [data-depth] { translate: none !important; } .card__img img, .shot img { translate: none !important; } }

/* ===== Plomberie Montérégie : pierre claire, bois, eau ===== */
:root {
  --bg: #f6f2ea; --bg-2: #ece5d8; --card: #fffdf9; --card-2: #f7f1e6;
  --line: rgba(22, 30, 25, .12); --line-2: rgba(22, 30, 25, .22);
  --text: #18231d; --muted: #5f665f;
  --blue: #345c4a; --blue-deep: #27473a; --cyan: #345c4a;
  --grad: linear-gradient(#345c4a, #345c4a);
  --navy: #13211b;
  --font: "Golos Text", "Helvetica Neue", Arial, sans-serif;
  --display: "Gloock", "Golos Text", sans-serif;
}
html { color-scheme: light; scrollbar-color: #cbbfa9 var(--bg); }
h1, h2, .statement p, .stat b, .callband__n, .expand__text h2, .zones__row, .marquee__track span, .shot h3, .card h3, .logo {
  font-family: var(--display); }
h1, h2 { font-weight: 700; letter-spacing: -.045em; }
h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.025em; }

/* navigation claire */
.nav__link { color: #33414b; }
@media (hover: hover) and (pointer: fine) { .nav__link:hover { color: var(--text); background: rgba(22, 30, 25, .06); } .footer a:hover { color: var(--text); } }
.nav.is-scrolled, .nav.is-open { background: rgba(246, 242, 234, .8); }
.nav__burger span { background: var(--text); }
.sheet { background: rgba(246, 242, 234, .97); }
.logo { font-weight: 700; letter-spacing: -.035em; font-size: 1.15rem; }
.logo svg { width: 26px; height: 26px; }
.btn--ghost { background: rgba(22, 30, 25, .05); color: var(--text); border: 1px solid var(--line-2); }
@media (hover: hover) and (pointer: fine) { .btn--ghost:hover { background: rgba(22, 30, 25, .1); border-color: rgba(22, 30, 25, .34); } .btn--call:hover { background: #3f6e58; } }
.btn--call { box-shadow: 0 12px 34px -14px rgba(52, 92, 74, .7); }
.pill { background: #fff; border-color: var(--line); box-shadow: 0 6px 20px -12px rgba(22, 30, 25, .3); }
.pill i { background: #0e9f6e; }

/* héros : le titre sur la pierre, la photo dessous qui s'élargit au défilement */
.mhero { display: block; min-height: 0; overflow: visible; padding-top: calc(var(--nav) + clamp(40px, 7vh, 80px)); }
.mhero__top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 24px clamp(28px, 5vw, 72px); align-items: end; }
.mhero h1 { margin-top: 20px; font-size: clamp(2.8rem, min(7vw, 12vh), 6.6rem); line-height: .94; max-width: 13ch; }
.mhero .lead { margin: 0; color: var(--muted); }
.mhero .btn-row { margin-top: 26px; }
.mhero__frame { --p: 0; position: relative; margin-top: clamp(36px, 6vh, 64px); height: min(80svh, 760px); overflow: clip; isolation: isolate;
  clip-path: inset(0 calc((1 - var(--p)) * max(24px, (100% - 1240px) / 2)) 0 calc((1 - var(--p)) * max(24px, (100% - 1240px) / 2)) round calc((1 - var(--p)) * 30px)); will-change: clip-path; }
.mhero__frame .hero__media { inset: -14% 0 -14% 0; }
.mhero__chip { position: absolute; z-index: 2; left: max(48px, calc((100% - 1240px) / 2 + 28px)); bottom: 32px; display: grid; gap: 2px; padding: 16px 22px; border-radius: 20px;
  background: rgba(255, 253, 249, .82); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); box-shadow: 0 20px 50px -24px rgba(19, 33, 27, .5); }
.mhero__chip b { font-family: var(--display); font-size: 1.35rem; letter-spacing: -.03em; }
.mhero__chip span { color: var(--muted); font-size: .95rem; }

/* faits sous le héros */
.facts3 { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.facts3 .stat { padding-block: 44px; }

/* bandeau défilant clair */
.marquee { background: var(--bg-2); }
.marquee__track span { color: #a39b8e; }
.marquee__track span:nth-child(3n+1) { color: var(--text); }

/* la phrase qui s'allume */
.statement .wd { color: rgba(22, 30, 25, .13); }

/* chapitres épinglés */
.step p { color: var(--muted); }
.step .tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--blue); font-weight: 500; font-size: .95rem; }
.pin__media { box-shadow: 0 40px 80px -40px rgba(19, 33, 27, .45); }
.pin__media img { translate: 0 0; }

/* photo qui s'ouvre */
.expand__text { color: #fff; }
.expand__text .grad { background: none; color: #cfe3c8; -webkit-text-fill-color: #cfe3c8; }

/* cuisine et robinetterie */
.feature .figure { box-shadow: 0 40px 80px -40px rgba(19, 33, 27, .4); }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.tile { position: relative; aspect-ratio: 4 / 3; border-radius: 20px; overflow: clip; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), translate .7s var(--ease); }
@media (hover: hover) and (pointer: fine) { .tile:hover img { transform: scale(1.05); } }
.ticks { margin-top: 26px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.ticks li { padding: 15px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; align-items: baseline; }
.ticks li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); translate: 0 -2px; }

/* territoire : bande sombre */
.zones { background: var(--navy); color: #f6f2ea; }
.zones__bg { opacity: .55; }
.zones .chip { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #eef0e9; }
.zones .lead { color: #dfe5da; }

/* urgence : bande bleu nuit avec le grand numéro */
.urgence { background: radial-gradient(900px 520px at 85% 0%, rgba(120, 170, 130, .28), transparent 70%), var(--navy); color: #f6f2ea; border: 0; }
.urgence h2 { max-width: 14ch; }
.urgence .grad { background: none; color: #cfe3c8; -webkit-text-fill-color: #cfe3c8; }
.urgence .lead { color: #c9d4c4; margin-top: 22px; }
.urgence .callband__n { margin-top: clamp(28px, 5vw, 56px); --grad: linear-gradient(100deg, #5cc8f5 0%, #b9ecff 100%); background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.urgence .chips { margin-top: 34px; }
.urgence .chip { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #eef0e9; }

/* soumission */
.quote { background: radial-gradient(800px 480px at 12% 20%, rgba(52, 92, 74, .12), transparent 70%), var(--bg-2); }
.contactlist a { color: var(--blue); }
.form { background: #fffdf9; box-shadow: 0 40px 90px -50px rgba(19, 33, 27, .35); }
.field label { color: var(--text); }
.field input, .field select, .field textarea { background: #fff; }
.field select option { background: #fff; }
.form__status { color: var(--text); }
.form__status.ok { color: #0e7a52; }
.field__err { color: #b42318; }
.field [aria-invalid="true"] { border-color: #b42318; }

.trio p { color: var(--muted); }
.callbar .btn { box-shadow: 0 18px 50px -12px rgba(19, 33, 27, .55); }
.footer__grid { grid-template-columns: 2fr 1fr 1.4fr; }

@media (max-width: 1023px) {
  .mhero__top { grid-template-columns: 1fr; }
  .mhero__frame { height: 62svh; }
  .facts3 { grid-template-columns: 1fr 1fr 1fr; }
  .facts3 .stat:nth-child(3) { padding-left: 28px; border-left: 1px solid var(--line); }
  .facts3 .stat:nth-child(n+3) { border-top: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 639px) {
  .mhero__frame { height: 56svh; }
  .mhero__chip { left: 20px; bottom: 20px; padding: 12px 16px; }
  .facts3 { grid-template-columns: 1fr; }
  .facts3 .stat { padding-block: 26px; }
  .facts3 .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts3 .stat + .stat { border-top: 1px solid var(--line); }
  .tiles { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { .mhero__frame { --p: 1; } }

/* Gloock n'a qu'une graisse */
h1, h2, h3, .stat b, .zones__row, .callband__n { font-weight: 400 !important; }
