/* Kit des maquettes ZELY (issu de Piscine Kachou). Thème : --navy = couleur principale foncée, --cyan = accent. Chaque site redéfinit les variables dans theme.css. */
:root {
  --navy-rgb: 33, 53, 114; --navy2-rgb: 24, 40, 88; --ink-rgb: 19, 32, 74; --cyan-rgb: 50, 166, 206;
  --navy: #213572; --navy-2: #182858; --ink: #13204a; --cyan: #32a6ce; --cyan-d: #13759a; --sky: #e9f6fb;
  --sand: #f7f3ec; --line: #dde6f1; --grey: #5d6984; --white: #fff;
  --display: 'Outfit', system-ui, sans-serif; --text: 'Inter', system-ui, sans-serif; --hand: 'Caveat', cursive;
  --ease: cubic-bezier(.22, 1, .36, 1); --r-s: 12px; --r-m: 18px; --r-l: 26px; --r: var(--r-m); --pad: clamp(20px, 5vw, 96px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--text); font-size: 17px; line-height: 1.55; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
picture { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
/* Illustrations (Figma) : valeurs SVG par défaut, sans le style des icônes */
.cf-svg, .cp-svg, .rv-svg, .dg-svg, .carte, .pc-svg { width: 100%; height: auto; fill: #000; stroke: none; stroke-width: 1; stroke-linecap: butt; stroke-linejoin: miter; }
.pc-svg { width: 42px; height: 42px; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: -0.025em; line-height: 1.08; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid rgba(var(--cyan-rgb), .65); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible { border-radius: 999px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border: 0; border-radius: 999px; font-weight: 600; font-size: 16px; white-space: nowrap; transition: transform .35s var(--ease), background-color .25s, box-shadow .25s; }
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn-sm { height: 44px; padding: 0 20px; font-size: 15px; }
.btn-lg { height: 58px; padding: 0 30px; font-size: 17px; }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 10px 24px -10px rgba(var(--navy-rgb), .7); }
.btn-navy svg { color: var(--cyan); }
.btn-navy:hover { background: var(--navy-2); }
.btn-cyan { background: var(--cyan); color: var(--ink); box-shadow: 0 12px 30px -12px rgba(var(--cyan-rgb), .9); }
.btn-cyan:hover { background: var(--cyan-h, #4bb5da); }
.btn-white { background: #fff; color: var(--navy); }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .2); }
.btn-soft { background: var(--sky); color: var(--navy); }
.link { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; font-weight: 600; color: var(--navy); border-bottom: 2px solid var(--cyan); padding-bottom: 2px; }
.link svg { width: 16px; height: 16px; color: var(--cyan); transition: transform .3s var(--ease); }
.link:hover svg { transform: translateX(4px); }

/* En-tête */
.top { position: fixed; z-index: 40; top: 0; left: 0; right: 0; height: 80px; display: flex; align-items: center; gap: 28px; padding: 0 var(--pad) 0 calc(var(--pad) - 32px); background: #fff; box-shadow: 0 4px 24px rgba(var(--ink-rgb), .06); animation: drop .6s var(--ease) both; }
.top .logo img { width: 141px; height: auto; }
.nav { display: flex; gap: 28px; margin: 0 auto; }
.nav a { font-weight: 500; font-size: 15px; color: var(--navy); position: relative; padding: 6px 0; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.tel { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; color: var(--navy); white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #2bbd5d; box-shadow: 0 0 0 0 rgba(43, 189, 93, .5); animation: ping 2.4s infinite; }
.icon-btn { display: none; width: 42px; height: 42px; border-radius: var(--r-s); border: 0; place-items: center; }
.icon-btn svg { width: 20px; height: 20px; }
.call-m { background: var(--sky); color: var(--navy); border-radius: 50%; }
.menu-m { background: var(--navy); color: #fff; }
.menu { display: none; }
@keyframes drop { from { transform: translateY(-100%); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(43, 189, 93, .55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(43, 189, 93, 0); } }

/* Héros */
.hero { position: relative; min-height: max(760px, min(100vh, 940px)); padding: 128px var(--pad) 72px; display: flex; align-items: center; overflow: hidden; background: var(--navy); }
.hero-photos, .hero-veil { position: absolute; inset: 80px 0 0; }
.hero-photos { overflow: hidden; }
.hp { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hp.on { opacity: 1; }
.hp img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.hp.on img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { to { transform: scale(1); } }
.hero-veil { background: linear-gradient(90deg, rgba(var(--navy-rgb), .93) 0%, rgba(var(--navy-rgb), .74) 40%, rgba(var(--navy-rgb), .22) 70%, rgba(var(--navy-rgb), .08) 100%); }
.hero-inner { position: relative; z-index: 2; width: 100%; max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 468px; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .28); color: #fff; font-weight: 500; font-size: 14px; backdrop-filter: blur(6px); }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.h1 { margin-top: 26px; color: #fff; font-size: clamp(44px, 5.4vw, 78px); line-height: 1.06; letter-spacing: -0.035em; }
.h1 .ln { display: block; overflow: hidden; padding: 0 .06em .06em; margin: 0 -.06em -.06em; }
.h1 .ln > span { display: inline-block; animation: rise .9s var(--ease) both; animation-delay: var(--d); }
.brush { position: relative; display: inline-block; z-index: 0; }
.brush-svg { stroke: none; position: absolute; z-index: -1; left: -2%; bottom: -.04em; width: 104%; height: .5em; fill: var(--cyan); opacity: .92; clip-path: inset(0 100% 0 0); animation: paint .7s cubic-bezier(.65, 0, .35, 1) 1.1s forwards; }
@keyframes rise { from { transform: translateY(105%); } }
@keyframes paint { to { clip-path: inset(0 0 0 0); } }
.lead { max-width: 560px; margin-top: 24px; color: rgba(255, 255, 255, .88); font-size: 20px; line-height: 1.55; }
.proofs { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 34px; color: #fff; }
.proofs li { display: flex; align-items: center; gap: 12px; }
.proofs li + li { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .25); }
.proofs b { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; }
.proofs small { display: block; font-size: 13px; opacity: .72; }
.stars { display: inline-flex; gap: 2px; color: #ffc53d; }
.stars svg { width: 17px; height: 17px; fill: currentColor; stroke: none; }
.a-in { animation: fadeup .8s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes fadeup { from { opacity: 0; transform: translateY(18px); } }
.quote.a-in { animation-name: slidein; }
@keyframes slidein { from { opacity: 0; transform: translateX(60px); } }

/* Formulaire de devis */
.quote { position: relative; padding: 30px 32px 24px; border-radius: var(--r-l); background: #fff; box-shadow: 0 40px 90px -30px rgba(var(--ink-rgb), .55); }
.q-head h2 { font-size: 28px; color: var(--navy); }
.q-head > p { margin-top: 4px; color: var(--grey); font-size: 14px; font-weight: 500; }
.q-progress { margin-top: 18px; }
.q-step { display: block; font-size: 13px; font-weight: 600; color: var(--cyan-d); }
.q-bar { display: block; height: 6px; margin-top: 8px; border-radius: 3px; background: var(--line); overflow: hidden; }
.q-bar i { display: block; height: 100%; width: 33.4%; border-radius: inherit; background: var(--cyan); transition: width .6s var(--ease); }
.q-pane { display: none; margin: 22px 0 0; padding: 0; border: 0; min-width: 0; }
.q-pane.on { display: block; animation: pane .5s var(--ease); }
@keyframes pane { from { opacity: 0; transform: translateX(24px); } }
legend { padding: 0; margin-bottom: 14px; font-weight: 600; font-size: 20px; color: var(--navy); }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: var(--r-m); background: #f7f9fd; border: 1.5px solid var(--line); cursor: pointer; transition: border-color .2s, background-color .2s, transform .3s var(--ease); }
.tile:hover { border-color: #b9d7ea; transform: translateY(-2px); }
.tile input { position: absolute; opacity: 0; pointer-events: none; }
.t-ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--sky); color: var(--navy); }
.t-ico svg { width: 22px; height: 22px; }
.tile b { font-weight: 600; font-size: 15px; color: var(--navy); line-height: 1.25; }
.t-chk { position: absolute; top: 12px; right: 12px; width: 24px; height: 24px; border-radius: 50%; background: var(--cyan); color: #fff; display: grid; place-items: center; transform: scale(0); transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.t-chk svg { width: 14px; height: 14px; stroke-width: 3; }
.tile:has(input:checked) { border-color: var(--cyan); background: rgba(var(--cyan-rgb), .08); box-shadow: 0 0 0 1px var(--cyan); }
.tile:has(input:checked) .t-chk { transform: scale(1); }
.tile:has(input:focus-visible) { outline: 3px solid rgba(var(--cyan-rgb), .5); outline-offset: 2px; }
.field { display: block; margin-bottom: 14px; }
.field span, .field-label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--navy); }
.field em { font-style: normal; font-weight: 500; color: var(--grey); }
.field input { width: 100%; height: 52px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: var(--r-s); background: #f7f9fd; font: inherit; font-size: 16px; color: var(--ink); transition: border-color .2s, background-color .2s; }
.field input:focus { outline: none; border-color: var(--cyan); background: #fff; box-shadow: 0 0 0 4px rgba(var(--cyan-rgb), .15); }
.field input.bad { border-color: #d9534f; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; padding: 10px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #f7f9fd; font-size: 14px; font-weight: 500; color: var(--navy); cursor: pointer; transition: all .2s; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:has(input:checked) { border-color: var(--cyan); background: rgba(var(--cyan-rgb), .1); color: var(--navy); font-weight: 600; }
.chip:has(input:focus-visible) { outline: 3px solid rgba(var(--cyan-rgb), .5); outline-offset: 2px; }
.q-err { margin-top: 10px; color: #c0392b; font-size: 14px; font-weight: 500; }
.q-legal { margin-top: 4px; font-size: 12.5px; color: var(--grey); }
.q-actions { display: flex; gap: 10px; margin-top: 20px; }
.q-next { flex: 1; border-radius: var(--r-s); }
.q-back { height: 58px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: var(--r-s); background: #fff; font-weight: 600; color: var(--navy); }
.q-call { margin-top: 14px; text-align: center; font-size: 14px; color: var(--grey); font-weight: 500; }
.q-call a { color: var(--navy); font-weight: 600; }
.q-done { text-align: center; padding: 18px 0 6px; }
.done-ico { width: 68px; height: 68px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--cyan); color: #fff; animation: pop .6s cubic-bezier(.34, 1.56, .64, 1); }
.done-ico svg { width: 34px; height: 34px; stroke-width: 3; }
.q-done h3 { font-size: 24px; color: var(--navy); }
.q-done p { margin-top: 10px; color: var(--grey); }
.q-done a { color: var(--navy); font-weight: 600; white-space: nowrap; }
.quote.done .q-actions, .quote.done .q-progress { display: none; }
@keyframes pop { from { transform: scale(0); } }
.quote.flash { animation: flash 1.2s var(--ease); }
@keyframes flash { 0%, 100% { box-shadow: 0 40px 90px -30px rgba(var(--ink-rgb), .55); } 30% { box-shadow: 0 0 0 6px rgba(var(--cyan-rgb), .55), 0 40px 90px -30px rgba(var(--ink-rgb), .55); } }

/* Marques */
.brands { display: flex; align-items: center; justify-content: center; gap: 18px 40px; flex-wrap: wrap; padding: 26px var(--pad); background: var(--sand); color: var(--grey); font-size: 14px; font-weight: 500; }
.brands ul { display: flex; gap: 40px; }
.brands li { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; color: var(--grey); }

/* Sections */
section { position: relative; }
.sec-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-family: var(--hand); font-weight: 700; font-size: 28px; line-height: 1; color: var(--cyan-d); }
.kicker.light { color: var(--cyan-l, #8fd6ef); }
.h2 { margin-top: 10px; font-size: clamp(32px, 3.6vw, 50px); color: var(--navy); }
.h3 { font-size: clamp(24px, 2.4vw, 32px); color: var(--navy); margin-top: 8px; }
.sub { margin-top: 14px; color: var(--grey); font-size: 18px; }
.services, .ba-sec, .works, .steps-sec, .faq { padding: 110px var(--pad); }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 1280px; margin: 0 auto; }
.svc { overflow: hidden; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 50px -34px rgba(var(--ink-rgb), .45); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.svc:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(var(--ink-rgb), .5); }
.svc-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.svc-img picture, .w picture { height: 100%; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc:hover .svc-img img { transform: scale(1.05); }
.svc-tag { position: absolute; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--navy); font-weight: 600; font-size: 14px; }
.svc-tag svg { width: 17px; height: 17px; color: var(--cyan-d); }
.svc-body { padding: 26px 28px 28px; }
.svc-body h3 { font-size: 24px; color: var(--navy); }
.svc-body ul { margin: 16px 0 22px; display: grid; gap: 8px; }
.svc-body li { position: relative; padding-left: 26px; color: #3a4666; font-size: 16px; }
.svc-body li::before { content: ''; position: absolute; left: 0; top: .45em; width: 16px; height: 9px; border-radius: 40% 60% 50% 50%; background: var(--cyan); opacity: .85; transform: rotate(-8deg); }

/* Avant / après */
.ba-sec { background: var(--sand); }
.ba { position: relative; max-width: 1200px; margin: 0 auto; aspect-ratio: 1800 / 852; border-radius: var(--r-l); overflow: hidden; box-shadow: 0 30px 70px -40px rgba(var(--ink-rgb), .6); user-select: none; touch-action: pan-y; }
.ba img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-after, .ba-before { position: absolute; inset: 0; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-before picture { width: 100%; height: 100%; }
.ba-tag { position: absolute; top: 20px; font-family: var(--hand); font-weight: 700; font-size: 36px; line-height: 1; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); pointer-events: none; }
.ba-t1 { left: 24px; } .ba-t2 { right: 24px; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; }
.ba-handle span { position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--navy); box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.ba-handle svg { width: 26px; height: 26px; stroke-width: 2.6; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-range:focus-visible + * , .ba:has(.ba-range:focus-visible) .ba-handle span { outline: 3px solid var(--cyan); outline-offset: 3px; }
.ba.sweep .ba-before, .ba.sweep .ba-handle { transition: clip-path 1.1s cubic-bezier(.65, 0, .35, 1), left 1.1s cubic-bezier(.65, 0, .35, 1); }

/* Réalisations */
.works-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 250px; gap: 16px; max-width: 1280px; margin: 0 auto; }
.w { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-m); background: var(--sky); }
.w-big { grid-column: span 2; grid-row: span 2; }
.w-wide { grid-column: span 2; }
.w img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.w:hover img { transform: scale(1.06); }
.w figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(var(--ink-rgb), .8)); color: rgba(255, 255, 255, .85); font-size: 14px; }
.w figcaption b { display: block; color: #fff; font-family: var(--display); font-weight: 600; font-size: 19px; }
.works-cta { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; margin-top: 44px; }
.works-cta p { font-family: var(--display); font-weight: 600; font-size: 22px; color: var(--navy); }

/* Méthode */
.steps-sec { background: linear-gradient(180deg, #fff 0%, var(--sky) 28%, var(--sky) 72%, #fff 100%); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; max-width: 1280px; margin: 0 auto; counter-reset: s; }
.steps li { position: relative; padding: 28px 24px 26px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.steps li:not(:last-child)::after { content: ''; position: absolute; top: 52px; right: -22px; width: 22px; height: 2px; background: repeating-linear-gradient(90deg, var(--cyan) 0 6px, transparent 6px 11px); }
.s-num { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--display); font-weight: 600; font-size: 22px; }
.steps h3 { margin-top: 18px; font-size: 20px; color: var(--navy); }
.steps p { margin-top: 8px; color: var(--grey); font-size: 16px; }
.steps-photos { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 16px; max-width: 1280px; margin: 28px auto 0; }
.steps-photos picture { height: 220px; overflow: hidden; border-radius: var(--r-m); }
.steps-photos img { width: 100%; height: 100%; object-fit: cover; }

/* Avis + zone */
.trust { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; max-width: calc(1280px + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad) 110px; }
.trust-card { border-radius: var(--r-l); padding: 40px; }
.rating { background: var(--navy); color: #fff; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.rating .big { font-family: var(--display); font-weight: 600; font-size: 92px; line-height: 1; letter-spacing: -0.04em; margin-top: 8px; }
.rating .big small { font-size: 36px; opacity: .6; }
.big-stars svg { width: 26px; height: 26px; }
.rating > p:not(.big):not(.kicker) { opacity: .8; margin-bottom: 14px; }
.zone { background: #fff; }
.towns { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 22px; }
.towns li { padding: 9px 16px; border-radius: 999px; background: var(--sky); color: var(--navy); font-weight: 500; font-size: 15px; }
.zone-note { display: flex; gap: 10px; align-items: flex-start; color: var(--grey); font-size: 15px; }
.zone-note svg { width: 20px; height: 20px; color: var(--cyan-d); margin-top: 2px; }

/* Questions */
.faq { padding-top: 20px; }
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
details { border-radius: var(--r-m); border: 1px solid var(--line); background: #fff; transition: box-shadow .3s; }
details[open] { box-shadow: 0 16px 40px -28px rgba(var(--ink-rgb), .45); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; list-style: none; font-weight: 600; font-size: 18px; color: var(--navy); }
summary::-webkit-details-marker { display: none; }
summary svg { width: 22px; height: 22px; color: var(--cyan-d); transition: transform .35s var(--ease); }
details[open] summary svg { transform: rotate(180deg); }
details p { padding: 0 24px 22px; color: var(--grey); }

/* Pied de page */
.foot { padding: 72px var(--pad) 28px; background: var(--ink); color: rgba(255, 255, 255, .72); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; max-width: 1280px; margin: 0 auto; }
.foot-grid img { width: 168px; height: auto; margin-bottom: 18px; }
.foot-grid p { max-width: 340px; }
.foot h3 { font-family: var(--text); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.foot-grid a, .foot-grid span { display: flex; align-items: center; gap: 10px; padding: 5px 0; }
.foot-grid a:hover { color: #fff; }
.foot-grid svg { width: 17px; height: 17px; color: var(--cyan); }
.foot-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; max-width: 1280px; margin: 52px auto 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: rgba(255, 255, 255, .5); }
.mbar { display: none; }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.svc-grid .reveal:nth-child(2), .works-grid .reveal:nth-child(3n+2), .steps .reveal:nth-child(2) { transition-delay: .08s; }
.works-grid .reveal:nth-child(3n), .steps .reveal:nth-child(3) { transition-delay: .16s; }
.steps .reveal:nth-child(4) { transition-delay: .24s; }


/* =====================================================================================
   v2 · site multi-pages (accueil, construction, rénovation, entretien, réalisations, devis)
   ===================================================================================== */
.svc-img picture, .w picture, .g picture, .type picture { height: 100%; }
.btn-ghost-navy { background: #fff; color: var(--navy); border: 1.5px solid var(--line); }
.btn-ghost-navy:hover { border-color: var(--navy); }
.btn-ghost-navy svg { color: var(--cyan-d); }
.link-light { color: #fff; border-color: var(--cyan); }

/* Bandeau du haut + en-tête collant */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 38px; padding: 0 var(--pad); background: var(--ink); color: rgba(255, 255, 255, .82); font-size: 13.5px; }
.topbar p { display: flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar b { color: #fff; font-weight: 600; }
.tb-dot { width: 7px; height: 7px; border-radius: 50%; background: #2bbd5d; flex: none; animation: ping 2.4s infinite; }
.tb-sep { opacity: .4; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; white-space: nowrap; }
.topbar a svg { width: 15px; height: 15px; color: var(--cyan); }
.top { position: sticky; top: 0; animation: none; transition: box-shadow .3s; }
.top.scrolled { box-shadow: 0 8px 30px rgba(var(--ink-rgb), .1); }
.nav a.on { color: var(--navy); font-weight: 600; }
.nav a.on::after { transform: scaleX(1); }
.menu-m .ic-close, .menu-m[aria-expanded="true"] .ic-open { display: none; }
.menu-m[aria-expanded="true"] .ic-close { display: block; }

/* Héros d'accueil (en-tête désormais dans le flux) */
.hero { min-height: max(720px, min(calc(100vh - 118px), 860px)); padding: 64px var(--pad) 84px; }
.hero-photos, .hero-veil { inset: 0; }
.hero-quote { align-self: center; }
.scroll-hint { position: absolute; z-index: 3; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, .55); border-radius: var(--r-s); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 80% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* Héros des pages intérieures */
.phero { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.phero-img { position: absolute; inset: 0; }
.phero-img picture, .phero-img img { width: 100%; height: 100%; object-fit: cover; }
.phero-img img { animation: kenburns 12s linear forwards; transform: scale(1.08); }
.phero-veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--navy2-rgb), .94) 0%, rgba(var(--navy2-rgb), .78) 45%, rgba(var(--navy2-rgb), .25) 100%); }
.phero-in { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 72px var(--pad) 76px; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, .7); margin-bottom: 22px; }
.crumbs a:hover { color: #fff; }
.crumbs svg { width: 14px; height: 14px; transform: rotate(-90deg); opacity: .6; }
.h1-page { font-size: clamp(40px, 4.6vw, 66px); max-width: 820px; }
.phero .lead { max-width: 620px; }
.phero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Bandeau de saison */
.saison-band { display: flex; align-items: center; gap: 22px; max-width: 1280px; margin: 40px max(var(--pad), calc((100% - 1280px) / 2)) 0; padding: 22px 28px; border-radius: var(--r-m); background: linear-gradient(110deg, var(--navy), var(--navy-l, #2a4a8f)); color: rgba(255, 255, 255, .85); }
.sb-ico { width: 56px; height: 56px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #ffd36b; }
.sb-ico svg { width: 28px; height: 28px; }
.saison-band p { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sb-mois { font-family: var(--hand); font-weight: 700; font-size: 22px; color: var(--cyan-l, #8fd6ef); line-height: 1; }
.saison-band b { font-family: var(--display); font-weight: 600; font-size: 22px; color: #fff; }
.saison-band .link { white-space: nowrap; padding: 10px 0 6px; }

/* Services v2 : cartes cliquables avec picto tracé */
.svc { display: block; color: inherit; }
.svc-body { position: relative; }
.svc-body > p { color: var(--grey); margin-top: 6px; }
.svc-body ul { margin: 14px 0 18px; }
.svc-picto { position: absolute; right: 24px; top: -34px; width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--navy); box-shadow: 0 12px 30px -12px rgba(var(--ink-rgb), .45); }
.pc-svg { width: 42px; height: 42px; }
.pc-trait > * { stroke-dasharray: 160; stroke-dashoffset: 0; }
.svc:hover .pc-trait > *, .svc:focus-visible .pc-trait > * { animation: trace 1.1s var(--ease) both; }
.svc:hover .svc-picto { color: var(--cyan-d); }
@keyframes trace { from { stroke-dashoffset: 160; } }
.svc .link { pointer-events: none; }

/* Configurateur */
.cfg { padding: 110px var(--pad); background: linear-gradient(180deg, #fff, var(--sky) 40%, var(--sky) 70%, #fff); }
.cfg-wrap { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(320px, 1fr); gap: 28px; max-width: 1280px; margin: 0 auto; align-items: start; }
.cfg-plan { position: relative; border-radius: var(--r-l); overflow: hidden; background: #fff; box-shadow: 0 30px 70px -40px rgba(var(--ink-rgb), .55); }
.cf-svg { display: block; width: 100%; height: auto; }
.cf-txt { font: 600 13px var(--text); fill: #8a7f6d; }
.cf-txt-s { font-size: 11px; fill: #6b7890; }
.cf-cote { font: 700 13px var(--text); fill: #fff; }
.cf-svg #cf-reflets { animation: reflets 9s linear infinite; }
@keyframes reflets { to { transform: translate(90px, 46px); } }
.cf-svg #cf-pac-helice { animation: spin 2.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cf-svg #cf-tuyau { animation: flow 1.2s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -12; } }
.cf-svg .cf-led-p { animation: glow 2.6s ease-in-out infinite; }
.cf-svg .cf-led-p:nth-child(2) { animation-delay: .4s; } .cf-svg .cf-led-p:nth-child(3) { animation-delay: .8s; }
@keyframes glow { 50% { opacity: .55; } }
.cf-svg #cf-volet, .cf-svg #cf-volet-coffre, .cf-svg #cf-escalier, .cf-svg #cf-led, .cf-svg #cf-pac { transition: opacity .5s var(--ease), transform .6s var(--ease); }
.cf-svg [data-off] { opacity: 0; }
.cf-svg #cf-pac[data-off] { transform: translateY(-14px); }
.cfg-stats { display: flex; gap: 10px; flex-wrap: wrap; position: absolute; left: 16px; bottom: 16px; }
.cfg-stats span { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--grey); font-size: 14px; box-shadow: 0 6px 18px -8px rgba(var(--ink-rgb), .35); }
.cfg-stats b { color: var(--navy); font-family: var(--display); font-size: 17px; }
.cfg-ctrl { padding: 28px; border-radius: var(--r-l); background: #fff; border: 1px solid var(--line); }
.cfg-group + .cfg-group { margin-top: 22px; }
.cfg-label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-weight: 600; font-size: 14px; color: var(--navy); }
.cfg-label output { font-family: var(--display); font-size: 18px; color: var(--cyan-d); }
.cfg-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 5px; border-radius: var(--r-s); background: #f1f5fa; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: grid; place-items: center; min-height: 44px; padding: 6px 8px; border-radius: var(--r-s); font-size: 14px; font-weight: 600; color: var(--grey); text-align: center; line-height: 1.2; transition: all .25s; }
.seg input:checked + span { background: #fff; color: var(--navy); box-shadow: 0 4px 12px -4px rgba(var(--ink-rgb), .3); }
.seg input:focus-visible + span { outline: 3px solid rgba(var(--cyan-rgb), .5); }
.range input { width: 100%; accent-color: var(--navy); height: 40px; }
.swatches { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.swatches label, .opt { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-s); border: 1.5px solid var(--line); cursor: pointer; font-size: 14px; font-weight: 500; color: var(--navy); transition: border-color .2s, background-color .2s; }
.swatches input, .opt input { position: absolute; opacity: 0; }
.swatches i { width: 26px; height: 26px; border-radius: 8px; flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.swatches label:has(input:checked), .opt:has(input:checked) { border-color: var(--cyan); background: rgba(var(--cyan-rgb), .08); }
.swatches label:has(input:focus-visible), .opt:has(input:focus-visible) { outline: 3px solid rgba(var(--cyan-rgb), .45); }
.opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.opt svg { width: 20px; height: 20px; color: var(--grey); }
.opt:has(input:checked) svg { color: var(--cyan-d); }
.cfg-send { width: 100%; margin-top: 24px; border-radius: var(--r-s); }
.cfg-note { margin-top: 12px; font-size: 13px; color: var(--grey); }

/* Coupe technique au défilement */
.coupe { padding: 110px var(--pad); background: #fff; }
.coupe-in { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 48px; max-width: 1280px; margin: 0 auto; }
.coupe-stage { position: relative; }
.coupe-svg { position: sticky; top: max(110px, calc(50vh - 180px)); border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 70px -45px rgba(var(--ink-rgb), .6); background: #fff; }
.cp-svg { display: block; width: 100%; height: auto; }
.cp-txt-s { font: 600 12px var(--text); fill: #6b7890; }
.cp-r circle { fill: var(--navy); stroke: #fff; stroke-width: 3; }
.cp-r text { font: 700 14px var(--text); fill: #fff; }
.cp-aspi { stroke: var(--navy); } .cp-refoul { stroke: var(--cyan); }
.cp-svg [id^="cp-e"], .cp-svg .cp-r, #cp-gravier, #cp-local, #cp-soleil { transition: opacity .6s var(--ease), transform .8s var(--ease); }
.coupe[data-s="0"] #cp-e1, .coupe:not([data-s]) #cp-e1 { opacity: 1; }
.cp-svg #cp-e2, .cp-svg #cp-e3, .cp-svg #cp-e4, .cp-svg #cp-e5, .cp-svg #cp-e6, .cp-svg #cp-gravier, .cp-svg #cp-local, .cp-svg .cp-r { opacity: 0; }
.coupe[data-s] .cp-svg #cp-r1 { opacity: 1; }
.coupe[data-s="2"] #cp-e2, .coupe[data-s="3"] #cp-e2, .coupe[data-s="4"] #cp-e2, .coupe[data-s="5"] #cp-e2, .coupe[data-s="6"] #cp-e2 { opacity: 1; }
.cp-svg #cp-e2 path { stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 1.2s var(--ease); }
.coupe[data-s="2"] #cp-e2 path, .coupe[data-s="3"] #cp-e2 path, .coupe[data-s="4"] #cp-e2 path, .coupe[data-s="5"] #cp-e2 path, .coupe[data-s="6"] #cp-e2 path { stroke-dashoffset: 0; }
.coupe[data-s="2"] #cp-gravier, .coupe[data-s="3"] #cp-gravier, .coupe[data-s="4"] #cp-gravier, .coupe[data-s="5"] #cp-gravier, .coupe[data-s="6"] #cp-gravier { opacity: 1; }
.cp-svg #cp-e3 { clip-path: inset(100% 0 0 0); transition: clip-path 1.1s var(--ease), opacity .3s; }
.coupe[data-s="3"] #cp-e3, .coupe[data-s="4"] #cp-e3, .coupe[data-s="5"] #cp-e3, .coupe[data-s="6"] #cp-e3 { opacity: 1; clip-path: inset(0 0 0 0); }
.coupe[data-s="4"] #cp-e4, .coupe[data-s="5"] #cp-e4, .coupe[data-s="6"] #cp-e4, .coupe[data-s="4"] #cp-local, .coupe[data-s="5"] #cp-local, .coupe[data-s="6"] #cp-local { opacity: 1; }
.cp-svg .cp-tuyau { stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset 1.6s var(--ease); }
.coupe[data-s="4"] .cp-tuyau, .coupe[data-s="5"] .cp-tuyau, .coupe[data-s="6"] .cp-tuyau { stroke-dashoffset: 0; }
.coupe[data-s="6"] .cp-tuyau { stroke-dasharray: 10 8; animation: flow 1s linear infinite; }
.coupe[data-s="5"] #cp-e5, .coupe[data-s="6"] #cp-e5 { opacity: 1; }
.cp-svg #cp-revetement { stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 1.4s var(--ease); }
.coupe[data-s="5"] #cp-revetement, .coupe[data-s="6"] #cp-revetement { stroke-dashoffset: 0; }
.cp-svg #cp-e6 { clip-path: inset(100% 0 0 0); transition: clip-path 1.6s var(--ease), opacity .3s; }
.coupe[data-s="6"] #cp-e6 { opacity: 1; clip-path: inset(0 0 0 0); }
.coupe[data-s="6"] #cp-soleil { transform: translateY(-6px); }
.cp-svg #cp-helice { animation: spin 1.4s linear infinite; animation-play-state: paused; }
.coupe[data-s="6"] #cp-helice { animation-play-state: running; }
.coupe[data-s="6"] #cp-vague { animation: vague 3s ease-in-out infinite; }
@keyframes vague { 50% { transform: translateX(-20px); } }
.coupe[data-s="1"] #cp-r1, .coupe[data-s="2"] #cp-r2, .coupe[data-s="3"] #cp-r3, .coupe[data-s="4"] #cp-r4, .coupe[data-s="5"] #cp-r5, .coupe[data-s="6"] #cp-r6 { opacity: 1; }
.coupe-steps { display: flex; flex-direction: column; gap: 0; }
.cs { display: flex; gap: 18px; padding: 28px 0 44vh; opacity: .35; transition: opacity .5s; }
.cs:last-child { padding-bottom: 30vh; }
.cs.on { opacity: 1; }
.cs-n { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--sky); color: var(--navy); font-family: var(--display); font-weight: 600; font-size: 20px; transition: background-color .4s, color .4s; }
.cs.on .cs-n { background: var(--navy); color: #fff; }
.cs h3 { font-size: 24px; color: var(--navy); }
.cs p { margin-top: 8px; color: var(--grey); }

/* Types de bassins */
.types { padding: 110px var(--pad) 40px; }
.types-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; max-width: 1280px; margin: 0 auto; }
.type { overflow: hidden; border-radius: var(--r-m); background: #fff; border: 1px solid var(--line); }
.type picture { height: 190px; overflow: hidden; }
.type img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.type:hover img { transform: scale(1.06); }
.type > div { padding: 18px 20px 22px; }
.type h3 { font-size: 20px; color: var(--navy); }
.type p { margin-top: 6px; color: var(--grey); font-size: 15px; }

/* Spas */
.spas { padding: 110px var(--pad); background: var(--sand); }
.spas-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; max-width: 1280px; margin: 0 auto; align-items: center; }
.spas-txt .sub { margin: 14px 0 0; max-width: 62ch; }
.spa-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0; }
.spa-card { padding: 22px; border-radius: var(--r-m); background: #fff; }
.spa-card svg { width: 28px; height: 28px; color: var(--cyan-d); }
.spa-card h3 { margin-top: 12px; font-size: 20px; color: var(--navy); }
.spa-card p { margin-top: 6px; font-size: 15px; color: var(--grey); }
.spas-photos { position: relative; height: 520px; }
.spas-photos picture { position: absolute; overflow: hidden; border-radius: var(--r-m); box-shadow: 0 30px 60px -35px rgba(var(--ink-rgb), .6); }
.spas-photos img { width: 100%; height: 100%; object-fit: cover; }
.sp1 { left: 0; top: 0; width: 72%; height: 72%; }
.sp2 { right: 0; bottom: 0; width: 56%; height: 52%; border: 6px solid var(--sand); }

/* Équipements / prestations */
.equip { padding: 110px var(--pad); }
.equip-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; max-width: 1280px; margin: 0 auto; }
.eq { padding: 24px; border-radius: var(--r-m); border: 1px solid var(--line); background: #fff; transition: transform .4s var(--ease), box-shadow .4s; }
.eq:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -28px rgba(var(--ink-rgb), .5); }
.eq > span { width: 48px; height: 48px; border-radius: var(--r-s); display: grid; place-items: center; background: var(--sky); color: var(--navy); }
.eq > span svg { width: 24px; height: 24px; }
.eq h3 { margin-top: 16px; font-size: 18px; color: var(--navy); }
.eq p { margin-top: 6px; font-size: 15px; color: var(--grey); }

/* Nuancier */
.nuancier { padding: 110px var(--pad); background: linear-gradient(180deg, #fff, var(--sky)); }
.nu-wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, 1fr); gap: 32px; max-width: 1280px; margin: 0 auto; align-items: center; }
.nu-visual { position: relative; padding: 24px; border-radius: var(--r-l); background: #fff; box-shadow: 0 30px 70px -45px rgba(var(--ink-rgb), .55); }
.rv-svg { display: block; width: 100%; height: auto; --rv-mur: #8fd0ec; --rv-fond: #9ad8f0; --rv-eau: #4fc6e8; }
.rv-svg #rv-plage { fill: #f3ede1; }
.rv-svg #rv-margelle, .rv-svg #rv-margelle-avant, .rv-svg #rv-margelle-avant2 { fill: #fbf8f2; stroke: #e1d6c3; }
.rv-svg #rv-trou { fill: var(--rv-mur); }
.rv-svg .rv-mur { fill: var(--rv-mur); transition: fill .6s; }
.rv-svg .rv-mur-ombre { filter: brightness(.9); }
.rv-svg #rv-fond { fill: var(--rv-fond); transition: fill .6s; }
.rv-svg .rv-marche { fill: var(--rv-fond); filter: brightness(1.05); transition: fill .6s; }
.rv-svg .rv-contremarche { fill: var(--rv-mur); filter: brightness(.88); transition: fill .6s; }
.rv-svg .rv-grille { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 1; opacity: 0; transition: opacity .5s; }
.rv-svg[data-grille="carrelage"] #rv-grille-carrelage, .rv-svg[data-grille="pate"] #rv-grille-pate { opacity: 1; }
.rv-svg[data-grille="pate"] #rv-grille-pate { stroke: rgba(20, 90, 110, .35); }
.rv-svg #rv-frise { fill: none; stroke: var(--navy); stroke-width: 6; opacity: 0; transition: opacity .5s; }
.rv-svg[data-rev="liner"] #rv-frise { opacity: .55; }
.rv-svg #rv-eau { fill: var(--rv-eau); fill-opacity: .42; transition: fill .6s; }
.rv-svg #rv-reflets path { fill: none; stroke: #fff; stroke-opacity: .75; stroke-width: 2; animation: vague 3.2s ease-in-out infinite; }
.rv-svg #rv-reflets path:nth-child(2n) { animation-delay: -1.4s; }
.nu-eau { position: absolute; left: 24px; bottom: 20px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: 14px; color: var(--grey); box-shadow: 0 6px 18px -8px rgba(var(--ink-rgb), .3); }
.nu-eau b { color: var(--navy); }
.nu-list { display: grid; gap: 10px; }
.nu-item { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--r-m); background: #fff; border: 1.5px solid var(--line); cursor: pointer; transition: border-color .2s, transform .3s var(--ease); }
.nu-item:hover { transform: translateX(4px); }
.nu-item input { position: absolute; opacity: 0; }
.nu-item i { width: 40px; height: 40px; flex: none; border-radius: var(--r-s); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.nu-item b { display: block; color: var(--navy); }
.nu-item small { display: block; margin-top: 2px; color: var(--grey); font-size: 14px; line-height: 1.45; }
.nu-item:has(input:checked) { border-color: var(--cyan); box-shadow: 0 0 0 1px var(--cyan); }
.nu-item:has(input:focus-visible) { outline: 3px solid rgba(var(--cyan-rgb), .45); }

/* Urgence */
.urgence { display: flex; align-items: center; gap: 24px; max-width: 1280px; margin: -44px auto 0; position: relative; z-index: 3; padding: 26px 30px; border-radius: var(--r-l); background: #fff; box-shadow: 0 30px 60px -30px rgba(var(--ink-rgb), .45); }
.u-ico { width: 60px; height: 60px; flex: none; border-radius: var(--r-m); display: grid; place-items: center; background: #fff1d6; color: #e39a12; }
.u-ico svg { width: 30px; height: 30px; animation: zap 2s ease-in-out infinite; }
@keyframes zap { 0%, 60%, 100% { transform: none; } 70% { transform: scale(1.15) rotate(-6deg); } 80% { transform: scale(1); } }
.urgence div { flex: 1; }
.urgence h2 { font-size: 26px; color: var(--navy); }
.urgence p { margin-top: 4px; color: var(--grey); }

/* Diagnostic */
.diag { padding: 110px var(--pad); }
.diag-wrap { display: grid; grid-template-columns: 260px minmax(0, 1.3fr) minmax(280px, 1fr); gap: 22px; max-width: 1280px; margin: 0 auto; align-items: start; }
.diag-tabs { display: grid; gap: 8px; }
.diag-tabs button { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-s); border: 1.5px solid var(--line); background: #fff; text-align: left; font-weight: 600; font-size: 15px; color: var(--navy); transition: all .25s; }
.diag-tabs button svg { width: 20px; height: 20px; color: var(--cyan-d); }
.diag-tabs button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.diag-tabs button[aria-selected="true"] svg { color: var(--cyan); }
.diag-scene { border-radius: var(--r-l); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -45px rgba(var(--ink-rgb), .55); }
.dg-svg { display: block; width: 100%; height: auto; }
.dg-aspi { stroke: var(--navy); } .dg-refoul { stroke: var(--cyan); }
.dg-svg #dg-algues, .dg-svg #dg-etincelles, .dg-svg #dg-fuite, .dg-svg #dg-alerte, .dg-svg #dg-feuilles { opacity: 0; transition: opacity .5s; }
.dg-svg #dg-eau { transition: fill .8s; }
.dg-svg #dg-helice { animation: spin 1.2s linear infinite; }
.dg-svg .dg-aspi, .dg-svg .dg-refoul { stroke-dasharray: 10 8; animation: flow 1s linear infinite; }
.dg-svg #dg-bulles circle { animation: bulle 1.6s ease-in infinite; }
.dg-svg #dg-bulles circle:nth-child(2) { animation-delay: .5s; } .dg-svg #dg-bulles circle:nth-child(3) { animation-delay: 1s; }
@keyframes bulle { from { transform: translateY(4px); opacity: 0; } 40% { opacity: 1; } to { transform: translateY(-6px); opacity: 0; } }
.dg-svg #dg-aiguille { transition: transform .8s var(--ease); }
.dg-svg #dg-niveau { transition: transform 1s var(--ease); }
/* états */
.diag-scene[data-state="verte"] .dg-svg { --dg-eau1: #9cc95a; --dg-eau2: #4f7d1f; }
.diag-scene[data-state="verte"] #dg-algues, .diag-scene[data-state="verte"] #dg-feuilles { opacity: 1; }
.diag-scene[data-state="verte"].fixed .dg-svg { --dg-eau1: #7fd6ee; --dg-eau2: #2a8cc0; }
.diag-scene[data-state="verte"].fixed #dg-algues { opacity: 0; }
.diag-scene[data-state="verte"].fixed #dg-etincelles { opacity: 1; }
.diag-scene[data-state="fuite"] #dg-fuite { opacity: 1; }
.diag-scene[data-state="fuite"] #dg-niveau { transform: translateY(22px); }
.diag-scene[data-state="fuite"] .dg-goutte { animation: goutte 1.4s ease-in infinite; }
@keyframes goutte { from { transform: translateY(-6px); opacity: 0; } 30% { opacity: 1; } to { transform: translateY(14px); opacity: 0; } }
.diag-scene[data-state="pompe"] #dg-helice, .diag-scene[data-state="pompe"] .dg-aspi, .diag-scene[data-state="pompe"] .dg-refoul { animation-play-state: paused; }
.diag-scene[data-state="pompe"] #dg-alerte { opacity: 1; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.diag-scene[data-state="pompe"] .dg-svg { --dg-eau1: #a9d8e6; --dg-eau2: #5c9bb5; }
.diag-scene[data-state="filtre"] #dg-boue { opacity: 1; }
.diag-scene[data-state="filtre"] #dg-aiguille { transform: rotate(150deg); }
.diag-scene[data-state="filtre"] .dg-aspi, .diag-scene[data-state="filtre"] .dg-refoul { animation-duration: 3.5s; }
.diag-scene[data-state="sel"] #dg-bulles circle { animation: none; opacity: 0; }
.diag-scene[data-state="sel"] #dg-sel rect { stroke: #e2483d; }
.diag-scene[data-state="sel"] #dg-alerte { opacity: 1; animation: blink 1s steps(2) infinite; }
.diag-info { padding: 26px; border-radius: var(--r-l); background: var(--sky); }
.diag-card h3 { font-size: 24px; color: var(--navy); }
.why { margin: 8px 0 18px; color: #3a4666; max-width: 62ch; }
.checks { display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; font-size: 15px; color: #2b3758; }
.checks svg { width: 18px; height: 18px; color: var(--cyan-d); stroke-width: 3; margin-top: 3px; }
.when { display: flex; gap: 10px; margin-top: 18px; padding: 14px; border-radius: var(--r-s); background: #fff; font-size: 15px; font-weight: 500; color: var(--navy); }
.when svg { width: 20px; height: 20px; color: #e39a12; margin-top: 1px; }
.diag-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.diag-card:not([hidden]) { animation: pane .5s var(--ease); }

/* Calendrier des saisons */
.saisons { padding: 110px var(--pad); background: var(--sand); }
.cal { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; max-width: 1280px; margin: 0 auto; padding-bottom: 92px; }
.cal-m { padding: 12px 0; border-radius: var(--r-s); text-align: center; font-weight: 600; font-size: 14px; color: var(--grey); background: #fff; transition: all .4s; }
.cal-m.now { background: var(--navy); color: #fff; transform: translateY(-4px); box-shadow: 0 12px 24px -12px rgba(var(--ink-rgb), .6); }
.cal-m.now::after { content: 'Maintenant'; display: block; font-family: var(--hand); font-size: 18px; font-weight: 700; color: var(--cyan-l, #8fd6ef); line-height: 1; margin-top: 2px; }
.cal-bars { position: absolute; left: 0; right: 0; top: 76px; height: 70px; }
.cb { position: absolute; left: calc(var(--a) / 12 * 100% + 3px); width: calc((var(--b) - var(--a)) / 12 * 100% - 6px); height: 14px; border-radius: 7px; transform-origin: left; transform: scaleX(0); transition: transform 1s var(--ease); }
.cal.in .cb { transform: scaleX(1); }
.cb-travaux { top: 0; background: var(--navy); }
.cb-route { top: 22px; background: #7cc56b; }
.cb-saison { top: 22px; background: var(--cyan); }
.cb-hiver { top: 44px; background: #9db4d6; }
.cal-legend { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: 1280px; margin: 0 auto; }
.cl { display: flex; gap: 14px; padding: 20px; border-radius: var(--r-m); background: #fff; border: 2px solid transparent; transition: border-color .4s, transform .4s var(--ease); }
.cl > span { width: 42px; height: 42px; flex: none; border-radius: var(--r-s); display: grid; place-items: center; color: #fff; }
.cl > span svg { width: 22px; height: 22px; }
.cl-travaux > span { background: var(--navy); } .cl-route > span { background: #7cc56b; } .cl-saison > span { background: var(--cyan); } .cl-hiver > span { background: #9db4d6; }
.cl h3 { font-size: 18px; color: var(--navy); }
.cl p { margin-top: 4px; font-size: 14px; color: var(--grey); }
.cl.now { border-color: var(--cyan); transform: translateY(-4px); }

/* Avis */
.avis-band { display: flex; align-items: center; gap: 40px; max-width: 1280px; margin: 0 auto 110px; padding: 40px 44px; border-radius: var(--r-l); background: var(--navy); color: #fff; }
.ab-note { flex: none; }
.ab-note .big { font-family: var(--display); font-weight: 600; font-size: 76px; line-height: 1; letter-spacing: -0.04em; }
.ab-note .big small { font-size: 30px; opacity: .6; }
.ab-note .stars svg { width: 22px; height: 22px; }
.ab-note > p:last-child { margin-top: 6px; font-size: 14px; opacity: .75; }
.ab-txt { flex: 1; font-family: var(--display); font-weight: 500; font-size: 24px; line-height: 1.35; }
.ab-wrap { padding: 0 var(--pad); }
body > main > .avis-band { margin-left: max(var(--pad), calc((100% - 1280px) / 2)); margin-right: max(var(--pad), calc((100% - 1280px) / 2)); }

/* Localisateur */
.zone { padding: 110px var(--pad); background: linear-gradient(180deg, var(--sky), #fff); }
.zone-in { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 28px; max-width: 1280px; margin: 0 auto; align-items: start; }
.map-box { position: relative; border-radius: var(--r-l); overflow: hidden; background: #d4ecf5; box-shadow: 0 30px 70px -45px rgba(var(--ink-rgb), .55); }
.carte { display: block; width: 100%; height: auto; }
.carte .dep-nom { font: 600 13px var(--text); letter-spacing: 3px; fill: #9fb0c6; }
.carte .mer-nom { font: italic 15px var(--text); fill: #5e9bb7; }
.carte #rayon { fill: var(--cyan); fill-opacity: .1; stroke: var(--navy); stroke-width: 1.5; stroke-dasharray: 5 7; transform-origin: center; transform-box: fill-box; }
.carte #rayon-etiquette rect { fill: var(--navy); } .carte #rayon-etiquette text { font: 600 13px var(--text); fill: #fff; }
.carte .v-zone circle { fill: var(--navy); stroke: #fff; stroke-width: 2; transition: r .2s; }
.carte .v-repere circle { fill: #9fb0c6; stroke: #fff; stroke-width: 1.5; }
.carte #villes text { font: 500 13px var(--text); fill: var(--ink); paint-order: stroke; stroke: rgba(255, 255, 255, .85); stroke-width: 3px; }
.carte .v-repere text { fill: #7a879f; }
.carte #villes > g { cursor: pointer; opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease) var(--d, 0s), transform .5s var(--ease) var(--d, 0s); transform-box: fill-box; }
.map-in .carte #villes > g { opacity: 1; transform: none; }
.carte #villes > g.on circle { fill: var(--cyan); r: 8; }
.carte .k-halo { fill: var(--cyan); fill-opacity: .25; } .carte .k-point { fill: var(--navy); stroke: #fff; stroke-width: 3; } .carte .k-coeur { fill: var(--cyan); }
.carte .k-etiquette rect { fill: var(--navy); } .carte .k-etiquette text { font: 600 12.5px var(--text); fill: #fff; }
.carte #echelle path { stroke: var(--ink); stroke-width: 2; fill: none; } .carte #echelle text { font: 500 12px var(--text); fill: var(--ink); }
.carte .onde { fill: none; stroke: var(--cyan); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: onde 3s var(--ease) infinite; opacity: 0; }
.carte .onde:nth-child(2) { animation-delay: 1s; } .carte .onde:nth-child(3) { animation-delay: 2s; }
@keyframes onde { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(5); opacity: 0; } }
.carte .trajet { fill: none; stroke: var(--navy); stroke-width: 2.5; stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: tracer .9s var(--ease) forwards; }
@keyframes tracer { to { stroke-dashoffset: 0; } }
.carte .pin { fill: var(--cyan); }
.carte .visiteur { animation: drop-pin .5s cubic-bezier(.34, 1.56, .64, 1); transform-box: fill-box; transform-origin: bottom; }
@keyframes drop-pin { from { transform: translateY(-20px) scale(.6); opacity: 0; } }
.map-tip { position: absolute; transform: translate(-50%, calc(-100% - 16px)); padding: 8px 14px; border-radius: var(--r-s); background: #fff; color: var(--ink); font-size: 14px; white-space: nowrap; box-shadow: 0 10px 24px -10px rgba(var(--ink-rgb), .45); pointer-events: none; }
.zone-side { padding: 28px; border-radius: var(--r-l); background: #fff; border: 1px solid var(--line); }
.locator { position: relative; }
.locator label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 14px; color: var(--navy); }
.loc-field { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: var(--r-s); background: #f7f9fd; }
.loc-field:focus-within { border-color: var(--cyan); background: #fff; box-shadow: 0 0 0 4px rgba(var(--cyan-rgb), .15); }
.loc-field svg { width: 20px; height: 20px; color: var(--grey); }
.loc-field input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; font: inherit; font-size: 16px; color: var(--ink); outline: none; }
#loc-list { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 6px); padding: 6px; border-radius: var(--r-s); background: #fff; box-shadow: 0 20px 40px -16px rgba(var(--ink-rgb), .4); }
#loc-list li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: var(--r-s); cursor: pointer; }
#loc-list li[aria-selected="true"], #loc-list li:hover { background: var(--sky); }
#loc-list span { color: var(--grey); font-size: 14px; }
.loc-result { margin-top: 16px; padding: 18px; border-radius: var(--r-m); background: var(--sky); animation: pane .5s var(--ease); }
.loc-result.out { background: #fff4e5; }
.loc-result h3 { font-size: 20px; color: var(--navy); }
.loc-result p { margin-top: 4px; color: var(--grey); font-size: 15px; }
.loc-result .btn { margin-top: 14px; }
.loc-km { font-family: var(--display); font-weight: 600; color: var(--cyan-d); }
.towns-t { margin: 22px 0 10px; font-weight: 600; font-size: 14px; color: var(--navy); }
.zone-side .towns { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.zone-side .towns button { min-height: 42px; padding: 10px 14px; border: 0; border-radius: 999px; background: var(--sky); color: var(--navy); font-weight: 500; font-size: 14px; transition: background-color .2s, color .2s; }
.zone-side .towns button:hover, .zone-side .towns button.on { background: var(--navy); color: #fff; }

/* Devis de bas de page */
.devis-sec { padding: 110px var(--pad); background: radial-gradient(90% 120% at 0% 0%, var(--navy-l, #2a4a8f), var(--navy) 55%, var(--navy-2)); color: #fff; }
.devis-in { display: grid; grid-template-columns: minmax(0, 1fr) 500px; gap: 64px; max-width: 1280px; margin: 0 auto; align-items: center; }
.devis-txt .h2 { color: #fff; }
.devis-txt .sub { color: rgba(255, 255, 255, .8); max-width: 520px; }
.devis-points { display: grid; gap: 12px; margin: 28px 0; }
.devis-points li { display: flex; gap: 12px; align-items: center; font-size: 17px; }
.devis-points svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--cyan); color: var(--ink); stroke-width: 3; }
.devis-tel { display: inline-grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 14px 22px 14px 14px; border-radius: var(--r-m); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); transition: background-color .25s; }
.devis-tel:hover { background: rgba(255, 255, 255, .16); }
.devis-tel span { grid-row: span 2; width: 48px; height: 48px; border-radius: var(--r-s); display: grid; place-items: center; background: var(--cyan); color: var(--ink); }
.devis-tel span svg { width: 22px; height: 22px; }
.devis-tel b { font-family: var(--display); font-size: 24px; }
.devis-tel small { font-size: 13px; opacity: .75; }
.q-budget { margin-top: 18px; }
.chips + .q-err, .q-budget + .q-err { margin-top: 14px; }
.q-config { margin: 16px 0 0; padding: 12px 14px; border-radius: var(--r-s); background: var(--sky); color: var(--navy); font-size: 14px; font-weight: 500; }

/* Contact */
.contact-hero { padding: 64px var(--pad) 96px; background: linear-gradient(180deg, var(--sky), #fff); }
.ch-in { display: grid; grid-template-columns: minmax(0, 1fr) 500px; gap: 56px; max-width: 1280px; margin: 0 auto; align-items: start; }
.contact-hero .crumbs { color: var(--grey); }
.contact-hero .crumbs a:hover { color: var(--navy); }
.h1-dark { color: var(--navy); margin-top: 0; }
.contact-hero .lead { color: var(--grey); }
.ch-cards { display: grid; gap: 12px; margin-top: 30px; max-width: 480px; }
.ch-card { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 14px 18px 14px 14px; border-radius: var(--r-m); background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
a.ch-card:hover { transform: translateX(4px); box-shadow: 0 16px 30px -22px rgba(var(--ink-rgb), .5); }
.ch-card span { grid-row: span 2; width: 46px; height: 46px; border-radius: var(--r-s); display: grid; place-items: center; background: var(--sky); color: var(--navy); }
.ch-card span svg { width: 22px; height: 22px; }
.ch-card b { color: var(--navy); font-size: 17px; }
.ch-card small { color: var(--grey); font-size: 13.5px; }
.ch-urg span { background: #fff1d6; color: #e39a12; }
.proofs-dark { color: var(--ink); }
.proofs-dark li + li { border-color: var(--line); }
.contact-hero .quote { box-shadow: 0 40px 90px -40px rgba(var(--ink-rgb), .5); border: 1px solid var(--line); }

/* Galerie */
.gallery-sec { padding: 70px var(--pad) 110px; }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 34px; }
.filters button { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: 15px; color: var(--navy); transition: all .25s; }
.filters button span { min-width: 22px; padding: 1px 6px; border-radius: 999px; background: var(--sky); font-size: 12px; color: var(--navy); }
.filters button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.filters button[aria-selected="true"] span { background: rgba(255, 255, 255, .18); color: #fff; }
.gallery { columns: 3 320px; column-gap: 16px; max-width: 1280px; margin: 0 auto; }
.g { position: relative; margin: 0 0 16px; break-inside: avoid; overflow: hidden; border-radius: var(--r-m); background: var(--sky); }
.g[hidden] { display: none; }
.g button, .w button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.g img { width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.g:hover img { transform: scale(1.05); }
.g figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(var(--ink-rgb), .82)); color: rgba(255, 255, 255, .85); font-size: 14px; pointer-events: none; transform: translateY(8px); opacity: 0; transition: all .4s var(--ease); }
.g:hover figcaption, .g:focus-within figcaption { transform: none; opacity: 1; }
.g figcaption b { display: block; color: #fff; font-family: var(--display); font-weight: 600; font-size: 18px; }
.g.pop { animation: pop .45s var(--ease); }
.works-mini { padding-top: 40px; }
.mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1280px; margin: 0 auto; }
.mini-grid .w { height: 300px; }
.steps-more { text-align: center; margin-top: 30px; }

/* Visionneuse */
.lightbox { position: fixed; z-index: 80; inset: 0; display: grid; place-items: center; padding: 40px; background: rgba(var(--ink-rgb), .9); backdrop-filter: blur(6px); }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1200px, 100%); animation: pane .4s var(--ease); }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: var(--r-m); }
.lightbox figcaption { margin-top: 12px; text-align: center; color: rgba(255, 255, 255, .85); }
.lb-close { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; }
.lb-close svg { width: 22px; height: 22px; }

/* Pied de page v2 */
.foot-grid { grid-template-columns: 1.3fr 1fr 1fr 1.1fr; }
.foot-grid p { margin-top: 0; }
.foot-g { display: flex; align-items: center; gap: 10px; margin-top: 16px !important; font-size: 14px; }
.foot-g .stars svg { width: 15px; height: 15px; }
.foot-cta { color: #fff !important; font-weight: 600; margin-top: 8px; }

/* ---------- Ordinateur moyen ---------- */
@media (max-width: 1240px) {
  .nav { gap: 20px; } .nav a { font-size: 14px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr) 430px; gap: 40px; }
  .quote { padding: 26px 26px 20px; }
  .diag-wrap { grid-template-columns: 220px minmax(0, 1fr); }
  .diag-info { grid-column: 1 / -1; }
  .devis-in, .ch-in { grid-template-columns: minmax(0, 1fr) 450px; gap: 40px; }
  .equip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .nav, .top .tel { display: none; }
  .top .btn-sm { margin-left: auto; }
  .icon-btn { display: grid; }
  .menu.open { display: flex; flex-direction: column; position: fixed; z-index: 39; top: 80px; left: 0; right: 0; max-height: calc(100vh - 80px); overflow-y: auto; padding: 14px var(--pad) 22px; background: #fff; box-shadow: 0 20px 40px rgba(var(--ink-rgb), .12); }
  .menu a:not(.btn) { padding: 14px 0; font-weight: 600; font-size: 18px; color: var(--navy); border-bottom: 1px solid var(--line); }
  .menu .btn { margin-top: 16px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
  .hero-veil, .phero-veil { background: linear-gradient(180deg, rgba(var(--navy-rgb), .55), rgba(var(--navy-rgb), .88) 55%, rgba(var(--navy-rgb), .96)); }
  .cfg-wrap, .coupe-in, .nu-wrap, .zone-in, .spas-in, .devis-in, .ch-in { grid-template-columns: minmax(0, 1fr); }
  /* une seule colonne : c’est le bloc image entier qui reste collé en haut pendant que les étapes défilent dessous */
  .coupe-in { display: block; }
  .coupe-stage { position: sticky; top: 80px; z-index: 2; padding: 8px 0 12px; background: linear-gradient(#fff 85%, rgba(255, 255, 255, 0)); }
  .coupe-svg { position: static; }
  .coupe-steps { position: relative; z-index: 1; }
  .cs { padding: 24px 0 34vh; }
  .types-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:not(:last-child)::after { display: none; }
  .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; }
  .cal-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .avis-band { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px 32px; align-items: center; }
  .avis-band .btn { grid-column: 1 / -1; justify-self: start; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .spas-photos { height: 420px; }
}

/* ---------- Téléphone ---------- */
@media (max-width: 700px) {
  body { font-size: 16px; padding-bottom: 84px; }
  .topbar { height: 40px; padding: 0 14px; font-size: 12.5px; }
  .topbar a { align-self: stretch; }
  .foot-grid a { padding: 9px 0; }
  .tb-sep, .tb-saison { display: none; }
  .topbar a { font-size: 13px; }
  .top { height: 64px; gap: 10px; padding: 0 14px; }
  .top .logo img { width: 104px; }
  .top .btn-sm { display: none; }
  .call-m { margin-left: auto; }
  .menu.open { top: 64px; max-height: calc(100vh - 64px); }
  html { scroll-padding-top: 72px; }
  .hero { min-height: 0; padding: 0 0 36px; display: block; }
  .hero-photos, .hero-veil { inset: 0 0 auto; height: 380px; }
  .hero-photos { overflow: hidden; }
  .hero-veil { background: linear-gradient(180deg, rgba(var(--navy-rgb), .12), rgba(var(--navy-rgb), .55) 55%, var(--navy) 100%); }
  .hero-inner { gap: 22px; }
  .hero-text { padding: 150px 20px 0; }
  .scroll-hint { display: none; }
  .eyebrow { font-size: 12px; padding: 6px 12px; }
  .h1 { margin-top: 16px; font-size: 38px; }
  .h1-page { font-size: 36px; }
  .lead { font-size: 16.5px; margin-top: 16px; }
  .proofs { gap: 10px 18px; margin-top: 22px; flex-wrap: nowrap; }
  .proofs li:nth-child(3) { display: none; }
  .proofs li + li { border-left: 0; padding-left: 0; }
  .stars svg { width: 14px; height: 14px; }
  .proofs b { font-size: 14px; } .proofs small { font-size: 12px; }
  .quote { margin: 0 12px; padding: 22px 18px 18px; border-radius: var(--r-m); }
  .devis-sec .quote, .contact-hero .quote { margin: 0; }
  .q-head h2 { font-size: 23px; }
  legend { font-size: 17px; }
  .tiles { gap: 10px; }
  .tile { padding: 13px; gap: 9px; }
  .t-ico { width: 38px; height: 38px; }
  .tile b { font-size: 14px; }
  .brands { gap: 10px 24px; font-size: 13px; }
  .brands ul { gap: 24px; }
  .brands li { font-size: 18px; }
  .services, .ba-sec, .works, .steps-sec, .faq, .cfg, .coupe, .types, .spas, .equip, .nuancier, .diag, .saisons, .zone, .devis-sec, .gallery-sec { padding: 72px 16px; }
  .types { padding-bottom: 20px; }
  .sec-head { margin-bottom: 30px; }
  .kicker { font-size: 24px; }
  .h2 { font-size: 30px; }
  .sub { font-size: 16px; }
  .phero-in { padding: 44px 20px 48px; }
  .phero-ctas .btn { width: 100%; }
  .saison-band { margin: 24px 12px 0; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px 14px; padding: 20px; align-items: start; }
  .saison-band .sb-ico { width: 48px; height: 48px; }
  .saison-band .link { grid-column: 1 / -1; justify-self: start; }
  .tb-lieu { display: none; }
  .saison-band b { font-size: 19px; }
  .svc-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .svc-body { padding: 22px 20px; }
  .svc-body h3 { font-size: 22px; }
  .svc-picto { width: 56px; height: 56px; top: -28px; right: 18px; }
  .pc-svg { width: 34px; height: 34px; }
  .cfg-ctrl { padding: 20px; }
  .cfg-stats { position: static; padding: 12px; background: #fff; gap: 6px; }
  .cfg-stats span { font-size: 13px; padding: 6px 10px; box-shadow: none; background: var(--sky); }
  .seg span { font-size: 13px; min-height: 42px; }
  .coupe-stage { top: 64px; }
  .coupe-svg { border-radius: var(--r-m); }
  .cs { padding: 18px 0 30vh; }
  .cs h3 { font-size: 20px; }
  .types-grid { grid-template-columns: minmax(0, 1fr); }
  .spa-cards { grid-template-columns: minmax(0, 1fr); }
  .spas-photos { height: 320px; }
  .equip-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .eq { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px; padding: 18px; }
  .eq > span { grid-row: span 2; }
  .eq h3 { margin-top: 2px; font-size: 17px; }
  .eq p { margin-top: 2px; font-size: 14px; }
  .nu-visual { padding: 12px; }
  .nu-eau { position: static; display: inline-block; margin-top: 8px; box-shadow: none; background: var(--sky); }
  .urgence { margin: 16px 12px 0; flex-wrap: wrap; padding: 22px; gap: 14px; }
  .urgence .btn { width: 100%; }
  .diag-wrap { grid-template-columns: minmax(0, 1fr); }
  .diag-tabs { display: flex; overflow-x: auto; gap: 8px; margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .diag-tabs button { flex: none; padding: 11px 14px; font-size: 14px; }
  .diag-info { padding: 20px; }
  .cal { grid-template-columns: repeat(6, minmax(0, 1fr)); padding-bottom: 0; }
  .cal-bars { display: none; }
  .cal-legend { grid-template-columns: minmax(0, 1fr); margin-top: 18px; }
  .avis-band { margin: 0 12px 72px !important; padding: 28px 22px; grid-template-columns: minmax(0, 1fr); }
  .ab-txt { font-size: 19px; }
  .zone-side { padding: 20px; }
  .map-tip { font-size: 12px; }
  .devis-tel b { font-size: 20px; }
  .contact-hero { padding: 36px 16px 64px; }
  .ch-cards { max-width: none; }
  .gallery { columns: 2 150px; column-gap: 10px; }
  .g { margin-bottom: 10px; border-radius: var(--r-s); }
  .g figcaption { opacity: 1; transform: none; padding: 22px 10px 7px; }
  .g figcaption span { display: none; }
  .g figcaption b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .filters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 -16px 24px; padding: 0 16px 4px; scrollbar-width: none; }
  .filters button { flex: none; }
  .mini-grid { grid-template-columns: minmax(0, 1fr); }
  .mini-grid .w { height: 220px; }
  .ba { border-radius: var(--r-m); aspect-ratio: 4 / 3.4; }
  .ba-tag { font-size: 28px; top: 14px; }
  .works-grid { grid-auto-rows: 160px; gap: 10px; }
  .w figcaption { padding: 30px 12px 10px; font-size: 12px; }
  .w figcaption b { font-size: 16px; }
  .works-cta { flex-direction: column; gap: 12px; }
  .works-cta .btn { width: 100%; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .steps li { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; padding: 20px; }
  .steps li > :not(.s-num) { grid-column: 2; }
  .steps h3 { margin-top: 0; font-size: 19px; }
  .s-num { grid-row: span 2; }
  summary { font-size: 16px; padding: 18px; }
  details p { padding: 0 18px 18px; font-size: 15px; }
  .foot { padding: 56px 20px 24px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .lightbox { padding: 16px; }
  .mbar { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1.5fr; gap: 10px; padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); box-shadow: 0 -8px 24px rgba(var(--ink-rgb), .1); transform: translateY(110%); transition: transform .5s var(--ease); }
  .mbar.on { transform: none; }
  .mbar .btn { height: 52px; border-radius: var(--r-s); padding: 0 12px; }
  .mbar svg { width: 18px; height: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .brush-svg { clip-path: none; }
  .cs { opacity: 1; }
}

/* ---------- Kit : citations d'avis, tuiles à 5 ou 6 choix ---------- */
.quotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1240px; margin: 0 auto; }
.qt { margin: 0; padding: 28px; border-radius: var(--r-m); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.qt .stars { color: #f5b301; }
.qt blockquote { margin: 0; font-family: var(--display); font-size: 20px; line-height: 1.35; color: var(--ink); }
.qt figcaption { font-size: 14px; color: var(--grey); }
.tiles-5, .tiles-6 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .quotes-grid { grid-template-columns: 1fr; } }
/* Logo texte dans le pied de page (les règles .foot-grid span ne doivent pas l'étirer) */
.foot-grid .foot-logo, .foot-grid .foot-logo span { padding: 0; }
.foot-grid .foot-logo .wm { display: inline-flex; flex-direction: row; gap: 10px; }
.foot-grid .foot-logo .wm-t { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }

/* ---------- Signature ZELY (pied de page) ---------- */
.foot-legal { align-items: center; }
.made { display: inline-flex; align-items: center; gap: 8px; }
.zely-sig { --zsig: linear-gradient(90deg, #fff 0%, #9cc7ff 25%, #146EF5 50%, #9cc7ff 75%, #fff 100%); position: relative; display: inline-flex; gap: 1px; padding: 4px 10px; border-radius: 999px; font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: .06em; text-decoration: none; isolation: isolate; overflow: hidden; border: 1px solid rgba(255, 255, 255, .16); transition: border-color .3s, transform .3s cubic-bezier(.22, 1, .36, 1); }
.zely-sig span { display: inline-block; background: var(--zsig); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: zely-flow 4s linear infinite; }
.zely-sig span:nth-child(2) { animation-delay: -.25s; }
.zely-sig span:nth-child(3) { animation-delay: -.5s; }
.zely-sig span:nth-child(4) { animation-delay: -.75s; }
.zely-sig::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .22) 50%, transparent 70%); transform: translateX(-120%); animation: zely-shine 3.2s ease-in-out infinite; }
.zely-sig:hover, .zely-sig:focus-visible { border-color: rgba(156, 199, 255, .7); transform: translateY(-1px); }
.zely-sig:hover span { animation: zely-flow 1.2s linear infinite, zely-hop .5s cubic-bezier(.22, 1, .36, 1) both; }
.zely-sig:hover span:nth-child(2) { animation-delay: -.25s, .05s; }
.zely-sig:hover span:nth-child(3) { animation-delay: -.5s, .1s; }
.zely-sig:hover span:nth-child(4) { animation-delay: -.75s, .15s; }
@keyframes zely-flow { to { background-position: -300% 0; } }
@keyframes zely-shine { 0%, 45% { transform: translateX(-120%); } 75%, 100% { transform: translateX(120%); } }
@keyframes zely-hop { 0% { transform: none; } 40% { transform: translateY(-4px); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .zely-sig span, .zely-sig::before, .zely-sig:hover span { animation: none; }
  .zely-sig span { color: #fff; background: none; }
}
/* Signature ZELY : zone tactile d'au moins 44 px sur mobile, sans changer le rendu (marge intérieure absorbée par la ligne) */
@media (max-width: 700px) { .zely-sig { min-height: 44px; align-items: center; padding: 0 14px; margin: -6px 0; } }

/* Champ piège anti-robots du devis */
.q-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Relance devis : bandeau entre deux sections ---------- */
.relance { padding: 0 var(--pad); margin: 0 0 90px; }
.rl-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); grid-template-areas: 'txt choix' 'tel choix'; gap: 10px 40px; max-width: 1180px; margin: 0 auto; padding: 34px 36px; border-radius: var(--r-l); background: var(--navy); color: #fff; box-shadow: 0 30px 60px -36px rgba(var(--ink-rgb), .7); align-items: center; }
.rl-txt { grid-area: txt; }
.rl-kick { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.rl-kick svg { width: 16px; height: 16px; }
.rl-txt h2 { margin-top: 10px; font-size: clamp(26px, 2.6vw, 36px); color: #fff; }
.rl-txt p:not(.rl-kick) { margin-top: 8px; color: rgba(255, 255, 255, .8); }
.rl-choix { grid-area: choix; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rl-b { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-height: 92px; padding: 14px 14px 12px; border: 1.5px solid rgba(255, 255, 255, .18); border-radius: var(--r-m); background: rgba(255, 255, 255, .05); color: #fff; font-weight: 600; font-size: 15px; line-height: 1.25; text-align: left; transition: background-color .25s, border-color .25s, transform .3s var(--ease); }
.rl-b > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, .12); }
.rl-b > span svg { width: 18px; height: 18px; }
.rl-fl { position: absolute; right: 12px; top: 14px; width: 16px; height: 16px; opacity: .55; transition: transform .3s var(--ease), opacity .3s; }
.rl-b:hover { background: #fff; color: var(--navy); border-color: #fff; transform: translateY(-3px); }
.rl-b:hover > span { background: var(--sky); }
.rl-b:hover .rl-fl { opacity: 1; transform: translateX(3px); }
.rl-b:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.rl-tel { grid-area: tel; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; color: rgba(255, 255, 255, .85); }
.rl-tel svg { width: 18px; height: 18px; } .rl-tel b { color: #fff; font-size: 17px; }

/* ---------- Devis flottant (ordinateur) ---------- */
.dv-flot { position: fixed; z-index: 44; right: 24px; bottom: 24px; display: none; align-items: center; gap: 12px; padding: 10px 20px 10px 10px; border-radius: 999px; background: var(--navy); color: #fff; box-shadow: 0 20px 40px -16px rgba(var(--ink-rgb), .6); transform: translateY(140%); opacity: 0; transition: transform .5s var(--ease), opacity .4s; }
.dv-flot.on { transform: none; opacity: 1; }
.dv-flot-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--navy); }
.dv-flot-ico svg { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.dv-flot:hover .dv-flot-ico svg { transform: translateX(3px); }
.dv-flot b { display: block; font-size: 15.5px; line-height: 1.2; } .dv-flot small { display: block; font-size: 13px; color: rgba(255, 255, 255, .78); }
@media (min-width: 1001px) { .dv-flot { display: inline-flex; } }
body:has(.vg-bulle.vg-vis) .dv-flot, body:has(.lightbox:not([hidden])) .dv-flot { opacity: 0; pointer-events: none; }

/* ---------- Visionneuse : devis pour un projet comme celui de la photo ---------- */
.lb-devis { display: flex; margin: 16px auto 0; }
.lb-devis[hidden] { display: none; }

/* ---------- Scène animée (Figma) ---------- */
.scene { padding: 100px var(--pad); }
.sc-in { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; max-width: 1200px; margin: 0 auto; align-items: center; }
.sc-txt .h2 { margin-top: 10px; }
.sc-lead { margin-top: 14px; max-width: 520px; color: var(--grey); }
.sc-etapes { display: grid; gap: 12px; margin-top: 24px; }
.sc-etapes li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; }
.sc-etapes b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--navy); color: #fff; font-family: var(--display); font-size: 18px; }
.sc-etapes span { padding-top: 2px; color: var(--grey); font-size: 15.5px; line-height: 1.5; }
.sc-etapes strong { display: block; font-family: var(--display); font-size: 18px; color: var(--navy); }
.sc-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }
.sc-tel { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; font-size: 18px; color: var(--navy); }
.sc-tel svg { width: 20px; height: 20px; color: var(--cyan); }
.sc-video { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-l); background: var(--navy); box-shadow: 0 30px 70px -36px rgba(var(--ink-rgb), .55); }
.sc-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.sc-video figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

@media (max-width: 1000px) {
  .rl-in { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'txt' 'choix' 'tel'; padding: 26px 22px; gap: 16px; }
  .sc-in { grid-template-columns: minmax(0, 1fr); gap: 28px; max-width: 680px; }
  .sc-video { order: -1; }
}
@media (max-width: 700px) {
  .relance { padding: 0 12px; margin-bottom: 64px; }
  .rl-choix { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .rl-b { min-height: 0; flex-direction: row; align-items: center; padding: 10px; font-size: 14px; }
  .rl-b > span { width: 30px; height: 30px; flex: none; }
  .rl-fl { display: none; }
  .scene { padding: 64px 16px; }
  .sc-etapes span { font-size: 15px; }
  .relance, .rl-choix, .sc-video { scroll-margin-top: 80px; }
}
