/* ==========================================================================
   Prohabitat Rénovation — feuille de styles (mobile first)
   Direction « fond blanc, lettres en couleur » : blanc franc, titres noirs avec mots
   en couleur (bleu #273894, rouge #d03f19, orange #ef5322), aplats chauds réservés
   aux urgences, au bandeau défilant et à l'appel à l'action.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --navy-950: #0c1137;
  --navy-900: #151c55;
  --blue: #273894;
  --blue-700: #1d2a78;
  --blue-200: #c3cdf0;
  --soft-blue: #eef1fb;
  --red: #d03f19;
  --red-600: #b3330f;
  --red-700: #9c2c0c;
  --soft-red: #fff1eb;
  --orange: #ef5322;
  --orange-300: #ff8a5c;
  --wine: #7d1713;
  --ink: #16171d;
  --ink-2: #474a56;
  --ink-3: #6e717c;
  --paper: #fff;
  --paper-2: #f5f4f1;
  --warm: #fff7f2;
  --line: #e6e3dc;
  --white: #fff;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgb(20 22 40 / .05), 0 12px 32px -12px rgb(20 22 40 / .2);
  --shadow-lg: 0 2px 6px rgb(20 22 40 / .06), 0 30px 60px -20px rgb(20 22 40 / .3);
  --container: 1240px;
  --pad: clamp(1.15rem, 4.5vw, 2rem);
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --gable: polygon(50% 0, 100% 24%, 100% 100%, 0 100%, 0 24%);
  --gable-flat: polygon(50% 100%, 100% 100%, 100% 100%, 0 100%, 0 100%);
  interpolate-size: allow-keywords;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; font-weight: 800; font-stretch: 112%; letter-spacing: -.02em; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon--xs { width: .9em; height: .9em; }
.icon--sm { width: 1.1em; height: 1.1em; }
.icon--huge { width: 46%; height: 46%; }
.break { word-break: break-word; }
.break-all { word-break: break-all; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: 10px; }
.skip-link:focus { top: 1rem; }
.container { width: min(100% - 2 * var(--pad), var(--container)); margin-inline: auto; }
.linklike { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: .18em; }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75em 1.35em;
  border: 2px solid transparent; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-stretch: 106%; font-size: 1rem; line-height: 1.15;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .3s var(--ease), background-color .25s, box-shadow .3s, color .25s, border-color .25s;
}
.btn .icon { width: 1.15em; height: 1.15em; transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn:hover .icon:last-child:not(:first-child) { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--red { --bg: var(--red); box-shadow: 0 12px 26px -12px rgb(208 63 25 / .85), inset 0 -2px 0 rgb(0 0 0 / .16); }
.btn--red:hover { --bg: var(--red-600); box-shadow: 0 16px 30px -12px rgb(208 63 25 / .9), inset 0 -2px 0 rgb(0 0 0 / .16); }
.btn--navy { --bg: var(--ink); }
.btn--navy:hover { --bg: var(--blue); }
.btn--blue { --bg: var(--blue); box-shadow: 0 12px 26px -14px rgb(39 56 148 / .8); }
.btn--blue:hover { --bg: var(--blue-700); }
.btn--glass, .btn--line { --bg: #fff; --fg: var(--ink); border-color: var(--ink); }
.btn--glass:hover, .btn--line:hover { --bg: var(--ink); --fg: #fff; border-color: var(--ink); }
.btn--lg { min-height: 56px; padding: .95em 1.6em; font-size: 1.05rem; }
.btn--sm { min-height: 42px; padding: .55em 1.05em; font-size: .95rem; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; color: var(--red); text-decoration: none; }
.link-arrow .icon { transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Eyebrow / titres de section ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1.1rem; color: var(--red); font-weight: 800; font-size: .98rem; font-stretch: 108%; }
.eyebrow--light { color: var(--red); }
.eyebrow__mark { width: 24px; height: 13px; background: linear-gradient(90deg, var(--wine), var(--orange)); clip-path: polygon(0 100%, 50% 0, 100% 100%, 76% 100%, 50% 46%, 24% 100%); flex: none; }
.section-title { font-size: clamp(2.05rem, 5vw, 3.7rem); margin-bottom: 1.1rem; }
.section-title--sm { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.section-lead { color: var(--ink-2); font-size: clamp(1.05rem, 1.4vw, 1.18rem); max-width: 38rem; }
.section-head { margin-bottom: clamp(2.2rem, 5vw, 3.8rem); }
@media (min-width: 900px) {
  .section-head--split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: end; }
  .section-head--split .section-lead { margin-bottom: 1.1rem; }
}

/* Lettres en couleur */
.c-blue { color: var(--blue); }
.c-red { color: var(--red); }
.c-orange { color: var(--orange); }
em.mark {
  --mk: rgb(239 83 34 / .24);
  font-style: normal; color: var(--red);
  background: linear-gradient(transparent 62%, var(--mk) 62%, var(--mk) 94%, transparent 94%) no-repeat 0 0 / 0% 100%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size 1.1s var(--ease-out) .35s;
}
em.mark.c-blue { --mk: rgb(39 56 148 / .16); color: var(--blue); }
em.mark.c-orange { --mk: rgb(255 196 0 / .32); color: var(--orange); }
.is-in em.mark, html:not(.js) em.mark { background-size: 100% 100%; }
.hero em.mark, .page-hero em.mark { animation: markIn 1.1s .9s var(--ease-out) both; background-size: 100% 100%; }
@keyframes markIn { from { background-size: 0% 100%; } }

/* Point « en direct » (urgences) */
.live-dot { position: relative; display: inline-block; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit; animation: livePulse 1.8s ease-out infinite; }
.live-dot--light { background: #fff; }
@keyframes livePulse { from { transform: scale(1); opacity: .7; } to { transform: scale(2.8); opacity: 0; } }
@media (max-width: 420px) { .hide-sm { display: none; } }

/* ==========================================================================
   En-tête
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--header-h);
  color: var(--ink);
  transition: background-color .35s, box-shadow .35s, transform .45s var(--ease);
}
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 1.25rem; }
.site-header.is-solid {
  background: rgb(255 255 255 / .9);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  box-shadow: 0 1px 0 rgb(22 23 29 / .08);
}
.site-header.is-hidden { transform: translateY(-105%); }
body.menu-open .site-header { transform: none; background: #fff; box-shadow: none; }
.brand { display: block; flex: none; margin-right: auto; color: #242021; }
.brand__logo { height: 46px; width: auto; aspect-ratio: 1060 / 525; }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: .25rem; list-style: none; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: .35em;
  padding: .55em .85em; border: 0; border-radius: 999px; background: none;
  color: inherit; font-weight: 600; font-size: .98rem; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.nav__link:hover, .nav__link[aria-current="page"] { background: var(--paper-2); color: var(--red); text-decoration: none; }
.nav__toggle .icon { transition: transform .3s var(--ease); }
.nav__item--sub.is-open .nav__toggle .icon { transform: rotate(180deg); }
.nav__panel {
  position: absolute; top: calc(100% + 14px); left: -1rem; width: min(660px, 80vw);
  padding: .75rem; border-radius: var(--radius); background: #fff; color: var(--ink);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s, transform .35s var(--ease-out), visibility 0s .35s;
}
.nav__panel::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.nav__item--sub.is-open .nav__panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; list-style: none; }
.nav__service { display: flex; gap: .85rem; padding: .85rem; border-radius: 14px; color: var(--ink); text-decoration: none; transition: background-color .2s; }
.nav__service:hover, .nav__service[aria-current="page"] { background: var(--paper-2); text-decoration: none; }
.nav__service strong { display: block; font-stretch: 108%; }
.nav__service small { display: block; color: var(--ink-3); font-size: .85rem; line-height: 1.35; margin-top: .15rem; }
.nav__service-icon { width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--soft-blue); color: var(--blue); display: grid; place-items: center; transition: background-color .2s, color .2s; }
.nav__service:hover .nav__service-icon { background: var(--red); color: #fff; }
.nav__grid li:first-child .nav__service-icon { background: var(--soft-red); color: var(--red); }

.site-header__cta { display: flex; align-items: center; gap: .6rem; }
.header-phone { display: none; align-items: center; gap: .6rem; padding: .3em .9em .3em .3em; color: inherit; font-weight: 800; font-stretch: 106%; line-height: 1.1; text-decoration: none; border-radius: 999px; white-space: nowrap; transition: background-color .2s; }
.header-phone:hover { background: var(--soft-red); text-decoration: none; }
.header-phone__icon { position: relative; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; }
.header-phone__icon .icon { width: 18px; height: 18px; }
.header-phone__icon .live-dot { position: absolute; top: 0; right: 0; width: 9px; height: 9px; background: #fff; box-shadow: 0 0 0 2px var(--red); }
.header-phone__txt small { display: block; font-size: .72rem; font-weight: 800; color: var(--red); }
.header-devis { display: none; }
.burger { width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--paper-2); display: grid; place-content: center; gap: 6px; cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (min-width: 560px) {
  .header-devis { display: inline-flex; }
}
@media (min-width: 760px) {
  .header-phone { display: inline-flex; }
}
@media (min-width: 1080px) {
  :root { --header-h: 80px; }
  .brand__logo { height: 58px; }
  .nav { display: block; }
  .burger { display: none; }
}

/* Menu mobile */
.mobile-menu {
  position: fixed; inset: 0; z-index: 55; overflow-y: auto;
  padding: calc(var(--header-h) + 1rem) 0 2rem;
  background: #fff; color: var(--ink);
  clip-path: circle(0 at calc(100% - 2.4rem) 2.2rem);
  transition: clip-path .6s var(--ease-out);
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 2.4rem) 2.2rem); }
.mobile-menu__label { color: var(--red); font-weight: 800; margin-bottom: .75rem; }
.mobile-menu__services { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; list-style: none; margin-bottom: 1.5rem; }
.mobile-menu__services a { display: flex; align-items: center; gap: .6rem; padding: .9rem; border-radius: 14px; background: var(--paper-2); color: var(--ink); font-weight: 700; text-decoration: none; }
.mobile-menu__services .icon { color: var(--blue); }
.mobile-menu__services li:first-child a { background: var(--soft-red); }
.mobile-menu__services li:first-child .icon { color: var(--red); }
.mobile-menu__links { list-style: none; margin-bottom: 1.5rem; }
.mobile-menu__links a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 1.35rem; font-weight: 800; font-stretch: 112%; text-decoration: none; }
.mobile-menu__sos, .aside-card__sos {
  display: flex; align-items: center; gap: .85rem; margin-bottom: 1rem; padding: 1rem 1.15rem; border-radius: 16px;
  background: linear-gradient(135deg, var(--orange), var(--red) 55%, var(--wine)); color: #fff; font-weight: 700; line-height: 1.2; text-decoration: none;
}
.mobile-menu__sos strong, .aside-card__sos strong { display: block; font-size: 1.45rem; font-weight: 900; font-stretch: 112%; }
.aside-card__sos { margin: 0; }
.aside-card__sos:hover { text-decoration: none; filter: saturate(1.15); }
.mobile-menu__actions { display: grid; gap: .65rem; }
.mobile-menu.is-open .mobile-menu__services li, .mobile-menu.is-open .mobile-menu__links li { animation: menuIn .5s var(--ease-out) both; }
.mobile-menu.is-open li:nth-child(2) { animation-delay: .04s; }
.mobile-menu.is-open li:nth-child(3) { animation-delay: .08s; }
.mobile-menu.is-open li:nth-child(4) { animation-delay: .12s; }
.mobile-menu.is-open li:nth-child(5) { animation-delay: .16s; }
.mobile-menu.is-open li:nth-child(6) { animation-delay: .2s; }
.mobile-menu.is-open li:nth-child(7) { animation-delay: .24s; }
@keyframes menuIn { from { opacity: 0; transform: translateY(14px); } }

/* ==========================================================================
   Hero d'accueil
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(1.25rem, 4vw, 3rem));
  color: var(--ink);
  background:
    radial-gradient(720px 520px at 88% 30%, rgb(239 83 34 / .09), transparent 70%),
    radial-gradient(600px 420px at 0% 100%, rgb(39 56 148 / .06), transparent 70%),
    #fff;
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "art" "needs"; gap: 1.75rem; align-items: center; }
.hero__copy { grid-area: copy; }
.hero__art { grid-area: art; }
.hero .needs { grid-area: needs; }
.hero__grid > *, .page-hero__grid > *, .zone__grid > *, .devis__grid > *, .svc-body__grid > *, .xs__layout > *, .method__grid > *, .faq-section__grid > *, .legal__grid > *, .cta-band__inner > *, .sos__grid > *, .trust__inner > * { min-width: 0; }
.hero__title { font-size: clamp(2.55rem, 6.4vw, 4.7rem); line-height: .98; font-stretch: 106%; letter-spacing: -.03em; margin-bottom: 1.4rem; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero__title .line > span { display: inline-block; animation: lineUp 1s var(--ease-out) both; }
.hero__title .line:nth-child(2) > span { animation-delay: .1s; }
.hero__title .line:nth-child(3) > span { animation-delay: .2s; }
@keyframes lineUp { from { transform: translateY(105%); } }
.hero__lead { max-width: 33rem; color: var(--ink-2); font-size: clamp(1.06rem, 1.5vw, 1.22rem); animation: fadeUp .9s .35s var(--ease-out) both; }
.hero__lead strong { color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 1.5rem; animation: fadeUp .9s .45s var(--ease-out) both; }
.hero__assur { display: inline-flex; align-items: center; gap: .7rem; margin: 0; color: var(--ink-2); font-size: .95rem; animation: fadeUp .9s .55s var(--ease-out) both; }
.hero__assur strong { color: var(--ink); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } }
@keyframes fadeIn { from { opacity: 0; } }

/* Pastille « urgence » */
.sos-pill {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: .55rem .65rem;
  margin-bottom: 1.3rem; padding: .4rem .45rem .4rem .9rem; border-radius: 22px;
  background: var(--soft-red); box-shadow: inset 0 0 0 1px rgb(208 63 25 / .2);
  color: var(--red-700); font-size: .95rem; line-height: 1.2; text-decoration: none;
  animation: fadeUp .8s var(--ease-out) both;
}
.sos-pill strong { font-weight: 800; font-stretch: 106%; }
.sos-pill__num { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .8rem; border-radius: 999px; background: var(--red); color: #fff; font-weight: 800; font-stretch: 106%; transition: background-color .2s; }
.sos-pill:hover { text-decoration: none; }
.sos-pill:hover .sos-pill__num { background: var(--red-700); }

.needs { animation: fadeUp .9s .55s var(--ease-out) both; }
.needs__label { margin-bottom: .65rem; font-size: .95rem; color: var(--ink-3); }
.needs__list {
  display: flex; gap: .5rem; list-style: none;
  overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
  margin-inline: calc(var(--pad) * -1); padding: 0 var(--pad) .25rem;
}
.needs__list::-webkit-scrollbar { display: none; }
.needs__list li { scroll-snap-align: start; flex: none; }
.chip {
  display: inline-flex; align-items: center; gap: .45em;
  padding: .55em .95em; border-radius: 999px;
  background: #fff; border: 1.5px solid var(--line);
  color: var(--ink); font-weight: 700; font-size: .93rem; text-decoration: none; white-space: nowrap;
  transition: background-color .25s, color .25s, transform .3s var(--ease), border-color .25s;
}
.chip .icon { width: 1.1em; height: 1.1em; color: var(--blue); transition: color .25s; }
.chip:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); text-decoration: none; }
.chip:hover .icon { color: var(--orange-300); }
.needs__list li:first-child .chip { border-color: rgb(208 63 25 / .35); background: var(--soft-red); color: var(--red-700); }
.needs__list li:first-child .chip .icon { color: var(--red); }
.needs__list li:first-child .chip:hover { background: var(--red); color: #fff; border-color: var(--red); }
.needs__list li:first-child .chip:hover .icon { color: #fff; }

.hero__art { position: relative; }
.hero:not(.has-photo) .hero__art { margin-inline: -4%; }
.hero-roof { width: 100%; height: auto; overflow: visible; }
.hero-roof text { font-size: 14px; font-weight: 800; font-stretch: 112%; letter-spacing: .01em; fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
@media (max-width: 640px) { .hero-roof text { font-size: 19px; } }
.hero-roof__notes { stroke: var(--ink-3); stroke-opacity: 1; }
.hero-roof .hr { animation: tileRow .7s var(--ease-out) both; }
.hero-roof .hr:nth-child(1) { animation-delay: .25s; }
.hero-roof .hr:nth-child(2) { animation-delay: .32s; }
.hero-roof .hr:nth-child(3) { animation-delay: .39s; }
.hero-roof .hr:nth-child(4) { animation-delay: .46s; }
.hero-roof .hr:nth-child(5) { animation-delay: .53s; }
.hero-roof .hr:nth-child(6) { animation-delay: .6s; }
.hero-roof .hr:nth-child(7) { animation-delay: .67s; }
.hero-roof .hr:nth-child(8) { animation-delay: .74s; }
.hero-roof .hr:nth-child(9) { animation-delay: .81s; }
.hero-roof .hr:nth-child(10) { animation-delay: .88s; }
.hero-roof .hr:nth-child(11) { animation-delay: .95s; }
.hero-roof .hr:nth-child(12) { animation-delay: 1.02s; }
@keyframes tileRow { from { opacity: 0; transform: translateY(-22px); } }
.hero-roof__ridges { animation: fadeIn .6s 1.1s both; }
.hero-roof__chimney { animation: fadeUp .6s 1.05s var(--ease-out) both; }
.hero-roof__gutter { transform-box: view-box; transform-origin: 8px 320px; animation: gutterIn .9s 1.2s var(--ease-out) both; }
@keyframes gutterIn { from { transform: scaleX(0); } }
.hero-roof__notes path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .8s 1.7s var(--ease) forwards; }
.hero-roof__labels { animation: fadeIn .6s 2s both; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-roof__rain line { stroke: rgb(39 56 148 / .35); stroke-width: 1.6; stroke-linecap: round; animation: rain 1.6s linear infinite; opacity: 0; }
.hero-roof__rain line:nth-child(2) { animation-delay: .5s; }
.hero-roof__rain line:nth-child(3) { animation-delay: 1.1s; }
.hero-roof__rain line:nth-child(4) { animation-delay: .25s; }
.hero-roof__rain line:nth-child(5) { animation-delay: .8s; }
.hero-roof__rain line:nth-child(6) { animation-delay: 1.35s; }
.hero-roof__rain line:nth-child(7) { animation-delay: .65s; }
.hero-roof__rain line:nth-child(8) { animation-delay: 1.5s; }
@keyframes rain { 0% { opacity: 0; transform: translate(0, 0); } 15% { opacity: 1; } 70% { opacity: .9; } 100% { opacity: 0; transform: translate(-26px, 120px); } }
.hero-roof__halo { animation: fadeIn 1.5s .3s both; }

.hero__facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem;
  margin-top: clamp(1.75rem, 4vw, 3rem); padding: 1.25rem 0 1.5rem;
  border-top: 1px solid var(--line); list-style: none;
}
.hero__facts li { display: grid; gap: .1rem; align-content: start; }
.hero__facts strong { font-size: clamp(1.55rem, 4vw, 2.6rem); line-height: 1; font-weight: 900; font-stretch: 120%; letter-spacing: -.02em; }
.hero__facts span { font-size: clamp(.8rem, 1.6vw, .98rem); color: var(--ink-3); line-height: 1.35; }

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    grid-template-areas: "copy art" "needs art";
    column-gap: clamp(2rem, 4vw, 4rem); row-gap: 1.25rem;
    min-height: min(640px, calc(100svh - var(--header-h) - 150px));
    align-content: center;
  }
  .hero .needs { align-self: start; }
  .hero__title { font-stretch: 110%; }
  .hero:not(.has-photo) .hero__art { margin: 0 -3% 0 0; }
  .needs__list { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
  .hero__facts li { grid-template-columns: auto 1fr; align-items: center; gap: .9rem; }
}

/* ==========================================================================
   Photos des en-têtes : cadre en forme de pignon (gérées dans l'administration)
   ========================================================================== */
.hframe { position: relative; isolation: isolate; aspect-ratio: 16 / 12; --off: clamp(9px, 1.6vw, 18px); }
.hframe__img, .hframe__back { position: absolute; inset: 0; clip-path: var(--gable); }
.hframe__img { overflow: hidden; background: var(--paper-2); animation: gableUp 1.25s .15s var(--ease-out) both; }
.hframe__img img {
  width: 100%; height: 100%; object-fit: cover; object-position: inherit;
  transform: scale(calc(1.04 + var(--hp, 0) * .1)) translateY(calc(var(--hp, 0) * 3%));
  will-change: transform;
}
.hframe__back { z-index: -1; background: var(--orange); transform: translate(calc(var(--off) * -1), var(--off)); animation: gableUp 1.25s .4s var(--ease-out) both; }
.hframe::after {
  content: ""; position: absolute; z-index: -2; right: calc(var(--off) * -1.2); top: 12%; width: 42%; aspect-ratio: 1;
  background: radial-gradient(circle, var(--blue) 2px, transparent 2.5px) 0 0 / 14px 14px; opacity: .35;
  animation: fadeIn 1s 1s both;
}
.hframe__img { object-position: inherit; }
@keyframes gableUp { from { clip-path: var(--gable-flat); } }
.hero .hframe { max-width: 560px; margin-inline: auto; }
.fp-c { object-position: 50% 50%; } .fp-t { object-position: 50% 0; } .fp-b { object-position: 50% 100%; }
.fp-l { object-position: 0 50%; } .fp-r { object-position: 100% 50%; } .fp-tl { object-position: 0 0; }
.fp-tr { object-position: 100% 0; } .fp-bl { object-position: 0 100%; } .fp-br { object-position: 100% 100%; }
@media (min-width: 960px) {
  .hero .hframe { aspect-ratio: 1 / 1.02; max-width: none; margin-right: var(--off); }
}

/* Photo plein cadre sous voile rouge (bandeau d'appel à l'action) */
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--red); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: inherit; }
.hero-media--warm::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgb(125 23 19 / calc(var(--o) + .5)) 0%, rgb(208 63 25 / calc(var(--o) + .4)) 55%, rgb(239 83 34 / calc(var(--o) + .3)) 100%); }
.ov-1 { --o: .3; } .ov-2 { --o: .4; } .ov-3 { --o: .48; }
.page-hero.has-photo .page-hero__art { display: none; }
.page-hero.has-photo .page-hero__grid { grid-template-columns: minmax(0, 1fr); }
.cta-band.has-photo .cta-band__deco { display: none; }

/* ==========================================================================
   Bandes défilantes croisées
   ========================================================================== */
.tapes { position: relative; z-index: 2; display: grid; overflow: hidden; padding-block: clamp(1.6rem, 3.4vw, 2.8rem); margin-top: -.5rem; }
.tapes > .ticker { grid-area: 1 / 1; width: 106%; margin-left: -3%; align-self: center; }
.ticker { overflow: hidden; background: linear-gradient(90deg, var(--wine), var(--red) 45%, var(--orange)); color: #fff; padding: .95rem 0; transform: rotate(-1.8deg); box-shadow: 0 18px 30px -20px rgb(125 23 19 / .7); }
.ticker--back { background: var(--ink); transform: rotate(1.6deg); box-shadow: none; }
.ticker--back .ticker__track { animation-direction: reverse; animation-duration: 46s; }
.ticker--back span { color: #fff; }
.ticker--back i { background: var(--orange); }
.ticker__track { display: flex; align-items: center; gap: 1.6rem; width: max-content; animation: tick 38s linear infinite; }
.ticker span { font-size: clamp(1.15rem, 2.4vw, 1.7rem); font-weight: 800; font-stretch: 120%; letter-spacing: -.01em; white-space: nowrap; }
.ticker i { width: 14px; height: 9px; background: rgb(255 255 255 / .75); clip-path: polygon(0 100%, 50% 0, 100% 100%, 76% 100%, 50% 46%, 24% 100%); flex: none; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ==========================================================================
   Urgences 24h/24 & recherche de fuite
   ========================================================================== */
.sos { position: relative; padding-block: clamp(2.5rem, 6vw, 4.5rem) var(--section); background: linear-gradient(#fff, var(--warm) 30%); overflow: hidden; }
.sos__giant {
  margin: 0; font-size: clamp(4.6rem, 18.5vw, 16.5rem); line-height: .86; font-weight: 900; font-stretch: 125%;
  letter-spacing: -.045em; white-space: nowrap; text-align: center; user-select: none;
}
.sos__giant span {
  display: inline-block; padding: 0 .07em;
  color: transparent; -webkit-text-stroke: 2px var(--red);
  background: linear-gradient(90deg, var(--wine), var(--red) 45%, var(--orange)) no-repeat 0 0 / calc(var(--p, 0) * 100%) 100%;
  -webkit-background-clip: text; background-clip: text;
}
html:not(.js) .sos__giant span { background-size: 100% 100%; }
.sos__head { display: grid; gap: 0 3rem; margin: clamp(1.5rem, 4vw, 2.75rem) 0 clamp(1.75rem, 4vw, 3rem); }
.sos__head .section-title { max-width: 18ch; }
@media (min-width: 960px) {
  .sos__head { grid-template-columns: 1.15fr 1fr; align-items: end; }
  .sos__head .eyebrow { grid-column: 1 / -1; }
  .sos__head .section-title { margin: 0; }
  .sos__head .section-lead { margin: 0 0 .4rem; }
}
.sos__grid { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .sos__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 1.5rem; } }
.sos-card { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; border-radius: 28px; padding: clamp(1.5rem, 4vw, 2.6rem); }
.sos-card__kicker { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 .9rem; font-weight: 800; font-stretch: 108%; }
.sos-card__title { font-size: clamp(1.75rem, 3.3vw, 2.6rem); margin-bottom: 1rem; }
.sos-card--call { background: linear-gradient(155deg, var(--orange) 0%, var(--red) 46%, var(--wine) 100%); color: #fff; box-shadow: 0 40px 70px -40px rgb(125 23 19 / .9); }
.sos-card--call::after { content: ""; position: absolute; z-index: -1; right: -14%; bottom: -10%; width: 80%; aspect-ratio: 2 / 1; background: rgb(255 255 255 / .08); clip-path: polygon(0 100%, 50% 0, 100% 100%, 84% 100%, 50% 32%, 16% 100%); }
.sos-card--call p { color: rgb(255 255 255 / .9); }
.sos-card__phone {
  display: flex; align-items: center; gap: clamp(.7rem, 2vw, 1rem); margin: .5rem 0 1.25rem; padding: clamp(.85rem, 2.5vw, 1.05rem) clamp(.9rem, 3vw, 1.25rem); border-radius: 22px;
  background: #fff; color: var(--red); text-decoration: none; line-height: 1; white-space: nowrap;
  font-size: clamp(1.3rem, 5.6vw, 2.5rem); font-weight: 900; font-stretch: 112%; letter-spacing: -.01em;
  box-shadow: 0 22px 40px -20px rgb(60 6 0 / .7); transition: transform .35s var(--ease);
}
.sos-card__phone:hover { transform: translateY(-3px) rotate(-.6deg); text-decoration: none; }
.sos-card__phone > .icon { width: 1.15em; height: 1.15em; padding: .22em; border-radius: 50%; background: var(--red); color: #fff; animation: ring 2.8s 1s ease-in-out infinite; transform-origin: 50% 50%; }
.sos-card__phone small { display: block; margin-top: .4rem; font-size: .88rem; font-weight: 700; font-stretch: 100%; color: var(--ink-3); letter-spacing: 0; }
@keyframes ring { 0%, 22%, 100% { transform: rotate(0); } 3% { transform: rotate(-16deg); } 6% { transform: rotate(14deg); } 9% { transform: rotate(-12deg); } 12% { transform: rotate(10deg); } 15% { transform: rotate(-6deg); } 18% { transform: rotate(4deg); } }
.sos-card__cases { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 0 0 1.25rem; }
.sos-card__cases li { padding: .35rem .75rem; border-radius: 999px; border: 1px solid rgb(255 255 255 / .38); background: rgb(255 255 255 / .08); font-size: .88rem; font-weight: 700; }
.sos-card__tip { display: flex; gap: .65rem; align-items: flex-start; margin: auto 0 0; padding-top: 1rem; border-top: 1px solid rgb(255 255 255 / .22); font-size: .95rem; }
.sos-card__tip .icon { margin-top: .1rem; color: #ffd9c7; }
.sos-card--leak { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.sos-card--leak .sos-card__kicker { color: var(--blue); }
.sos-card--leak p { color: var(--ink-2); }
.sos-card__visual { margin: -.25rem 0 1rem; padding: .75rem .5rem .25rem; border-radius: 18px; background: linear-gradient(180deg, var(--soft-blue), #fff); }
.sos-card__links { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem 1.5rem; margin-top: auto; }

/* Animation recherche de fuite */
.leak { width: 100%; height: auto; max-height: 250px; overflow: visible; }
.leak__attic { fill: #fbf3e6; }
.leak__walls { fill: none; stroke: var(--ink-3); stroke-width: 3; stroke-linecap: round; }
.leak__ceiling { stroke: var(--ink-3); stroke-width: 4; stroke-linecap: round; }
.leak__rafter { fill: none; stroke: #c9a36b; stroke-width: 5; stroke-linejoin: round; }
.leak__roof { fill: none; stroke: #8f3a18; stroke-width: 17; stroke-linejoin: round; stroke-linecap: round; }
.leak__tiles { fill: none; stroke: #e2774a; stroke-width: 11; stroke-dasharray: 15 4; stroke-linejoin: round; }
.leak__window { fill: var(--soft-blue); stroke: var(--ink-3); stroke-width: 2.5; }
.leak__water { fill: none; stroke: #2f6fd6; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.leak__water--static { stroke-dasharray: 7 6; stroke-dashoffset: 0; }
.leak__stain { fill: rgb(47 111 214 / .32); }
.leak__pin { fill: var(--red); }
.leak__ring { fill: none; stroke: var(--red); stroke-width: 3; }
.leak__glass { fill: rgb(255 255 255 / .6); stroke: var(--ink); stroke-width: 4.5; }
.leak__handle { stroke: var(--ink); stroke-width: 7; stroke-linecap: round; }
.leak__label { font-size: 15px; font-weight: 800; fill: var(--red); paint-order: stroke; stroke: #fff; stroke-width: 5px; stroke-linejoin: round; }
.leak__label--stain { fill: #2f6fd6; }
.leak__static { display: none; }

/* ==========================================================================
   Garantie décennale & fournisseurs
   ========================================================================== */
.dec-badge { display: block; flex: none; height: auto; }
.dec-badge__ring { font-size: 15.5px; font-weight: 800; letter-spacing: .04em; }
.dec-badge__num { font-size: 66px; font-weight: 900; font-stretch: 112%; letter-spacing: -.03em; }
.dec-badge__ans { font-size: 17px; font-weight: 800; letter-spacing: .22em; }
.dec-badge--lg { width: clamp(112px, 13vw, 150px); }
.dec-badge--sm { width: 64px; }
.dec-badge--xs { width: 42px; }
.dec-badge--img { width: auto; object-fit: contain; }
.dec-badge--img.dec-badge--lg { height: clamp(90px, 11vw, 130px); max-width: 200px; }
.dec-badge--img.dec-badge--sm { height: 60px; max-width: 120px; }
.dec-badge--img.dec-badge--xs { height: 40px; max-width: 90px; }
.trust { padding-block: clamp(2.75rem, 6vw, 4.5rem); background: #fff; border-block: 1px solid var(--line); }
.trust__inner { display: grid; gap: 2.25rem; align-items: center; }
@media (min-width: 960px) { .trust--dec.trust--logos .trust__inner { grid-template-columns: minmax(0, .95fr) minmax(0, 1.35fr); gap: 3.5rem; } }
.trust__dec { display: flex; align-items: center; gap: clamp(1rem, 3vw, 1.6rem); }
.trust__dec.is-in .dec-badge { animation: stampIn .9s .1s var(--ease-out) both; }
@keyframes stampIn { from { opacity: 0; transform: scale(1.5) rotate(-24deg); } 70% { transform: scale(.96) rotate(2deg); } }
.trust__title { margin: 0 0 .45rem; font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 800; font-stretch: 112%; letter-spacing: -.02em; line-height: 1.05; }
.trust__dec-text p:last-child { margin: 0; color: var(--ink-2); font-size: .98rem; }
.trust__label { margin: 0 0 1rem; font-weight: 800; font-stretch: 106%; color: var(--ink-3); }
.trust--logos:not(.trust--dec) .trust__label { text-align: center; }
.logos { overflow: hidden; }
.logos__track { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; list-style: none; }
.logos__track li { padding: .4rem clamp(.9rem, 2vw, 1.6rem); }
.logos--marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.logos--marquee .logos__track { flex-wrap: nowrap; justify-content: flex-start; width: max-content; animation: tick 42s linear infinite; }
.logos--marquee:hover .logos__track, .logos--marquee:focus-within .logos__track { animation-play-state: paused; }
.logos__item { display: grid; place-items: center; height: 76px; }
.logos__item img { width: auto; height: auto; max-height: 58px; max-width: 170px; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .35s, opacity .35s, transform .35s var(--ease); }
.logos__item:hover img, a.logos__item:focus-visible img { filter: none; opacity: 1; transform: scale(1.07); }

/* ==========================================================================
   Toiture couche par couche (scrollytelling)
   ========================================================================== */
.xs { padding-block: var(--section) calc(var(--section) * .6); background: #fff; }
.xs__layout { display: grid; }
.xs__figure {
  position: sticky; top: var(--header-h); z-index: 2; margin: 0 calc(var(--pad) * -1);
  padding: .5rem var(--pad) 1.5rem;
  background: linear-gradient(#fff 82%, rgb(255 255 255 / 0));
}
.xs-svg { width: 100%; height: auto; max-height: 40svh; margin-inline: auto; overflow: visible; }
.xs__dots { display: flex; justify-content: center; gap: .45rem; list-style: none; margin-top: 1rem; }
.xs__dots li { width: 26px; height: 5px; border-radius: 5px; background: var(--line); transition: background-color .3s, width .4s var(--ease); }
.xs__dots li.is-on { background: var(--red); }
.xs__dots li.is-current { width: 44px; }
.xs__steps { list-style: none; position: relative; z-index: 1; display: grid; gap: 38svh; padding: 8svh 0 10svh; }
.xs-step {
  padding: 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: opacity .5s, transform .6s var(--ease-out), border-color .4s;
}
.js .xs-step:not(.is-active) { opacity: .5; transform: scale(.97); }
.xs-step.is-active { border-color: rgb(208 63 25 / .45); }
.xs-step__num { align-self: flex-start; display: inline-block; font-size: .9rem; font-weight: 800; color: #fff; background: var(--ink); padding: .25em .6em; border-radius: 8px; font-stretch: 110%; }
.xs-step.is-active .xs-step__num { background: var(--red); }
.xs-step__name { margin: .9rem 0 .2rem; color: var(--red); font-weight: 700; }
.xs-step__title { font-size: clamp(1.45rem, 2.6vw, 2.1rem); margin-bottom: .7rem; }
.xs-step__text { color: var(--ink-2); }

.xs-layer, .xs-label { transition: opacity .7s var(--ease), transform .9s var(--ease-out); }
.js .xs-layer:not(.is-on) { opacity: 0; transform: translateY(-40px); }
.xs-layer.is-dim { opacity: .42; }
.xs-tiles path { transition: opacity .45s, transform .6s var(--ease-out); }
.js .xs-layer[data-layer="3"]:not(.is-on) .xs-tiles path { opacity: 0; transform: translate(-8px, -46px); }
.xs-tiles path:nth-child(2) { transition-delay: .06s; } .xs-tiles path:nth-child(3) { transition-delay: .12s; }
.xs-tiles path:nth-child(4) { transition-delay: .18s; } .xs-tiles path:nth-child(5) { transition-delay: .24s; }
.xs-tiles path:nth-child(6) { transition-delay: .3s; }  .xs-tiles path:nth-child(7) { transition-delay: .36s; }
.xs-tiles path:nth-child(8) { transition-delay: .42s; } .xs-tiles path:nth-child(9) { transition-delay: .48s; }
.xs-tiles path:nth-child(10) { transition-delay: .56s; }
.xs-batten { transition: opacity .4s; }
.xs-moss circle { transform-box: fill-box; transform-origin: center; transition: transform .7s var(--ease-out) .6s, opacity .5s .6s; }
.xs__figure[data-step="5"] .xs-moss circle { transform: scale(0); opacity: 0; transition-delay: 0s; }
.xs-water-in { opacity: 0; transition: opacity .6s .4s; }
.xs__figure[data-step="4"] .xs-water-in, .xs__figure[data-step="5"] .xs-water-in { opacity: .8; }
.xs-drop, .xs-drip { opacity: 0; }
.xs__figure[data-step="4"] .xs-drop, .xs__figure[data-step="5"] .xs-drop { animation: roll 2.8s cubic-bezier(.5, 0, .9, .6) infinite; }
.xs__figure[data-step="4"] .xs-drop--1, .xs__figure[data-step="5"] .xs-drop--1 { animation-delay: .9s; }
.xs__figure[data-step="4"] .xs-drop--2, .xs__figure[data-step="5"] .xs-drop--2 { animation-delay: 1.8s; }
.xs__figure[data-step="4"] .xs-drip, .xs__figure[data-step="5"] .xs-drip { animation: drip 1.4s ease-in infinite; }
@keyframes roll { 0% { opacity: 0; transform: translateX(0); } 12% { opacity: 1; } 88% { opacity: 1; } 100% { opacity: 0; transform: translateX(var(--dx, -400px)); } }
.xs-drop--0 { --dx: -570px; } .xs-drop--1 { --dx: -430px; } .xs-drop--2 { --dx: -310px; }
@keyframes drip { 0% { opacity: 0; transform: translateY(-4px); } 25% { opacity: 1; } 100% { opacity: 0; transform: translateY(22px); } }
.xs-beads ellipse { transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .5s var(--ease-out); }
.xs__figure[data-step="5"] .xs-beads ellipse { transform: scale(1); }
.xs-beads ellipse:nth-child(2n) { transition-delay: .08s; } .xs-beads ellipse:nth-child(3n) { transition-delay: .16s; }
.xs-shine { stroke-dasharray: .1 1.3; stroke-dashoffset: .2; opacity: 0; }
.xs__figure[data-step="5"] .xs-shine { opacity: .85; animation: shine 2.6s var(--ease) infinite; }
@keyframes shine { to { stroke-dashoffset: -1.2; } }
.xs-label path { fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset .7s var(--ease) .25s; }
.js .xs-label:not(.is-on) { opacity: 0; }
.js .xs-label:not(.is-on) path { stroke-dashoffset: 1; }
.xs-label.is-dim { opacity: .45; }
.xs-label circle { fill: var(--red); stroke: #fff; stroke-width: 2; }
.xs-label text { font-size: 17px; font-weight: 700; font-stretch: 110%; fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 6px; stroke-linejoin: round; }

@media (max-width: 959px) {
  .xs-label text { font-size: 23px; stroke-width: 8px; }
  .xs-label circle { r: 6px; }
}
@media (min-width: 960px) {
  .xs__layout { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 3.5rem; align-items: start; }
  .xs__figure { grid-column: 2; grid-row: 1; top: calc(var(--header-h) + 3vh); height: calc(100vh - var(--header-h) - 6vh); margin: 0; padding: 0; background: none; display: flex; flex-direction: column; justify-content: center; }
  .xs-svg { max-height: none; }
  .xs__steps { grid-column: 1; grid-row: 1; gap: 0; padding: 0; }
  .xs-step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; background: none; border: 0; box-shadow: none; padding: 0 0 0 1.75rem; border-left: 3px solid var(--line); border-radius: 0; }
  .xs-step.is-active { border-left-color: var(--red); }
  .js .xs-step:not(.is-active) { opacity: .28; transform: none; }
  .xs-step__name { margin-top: 1.1rem; }
}

/* ==========================================================================
   Cartes services
   ========================================================================== */
.services { padding-block: var(--section); background: var(--paper-2); }
.related { padding-block: var(--section); }
.svc-grid { display: grid; gap: 1rem; list-style: none; }
.svc-card__link {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: .7rem; height: 100%;
  min-height: 15.5rem; padding: 1.6rem;
  border-radius: var(--radius); border: 1px solid var(--line); background: #fff;
  color: var(--ink); text-decoration: none;
  transition: transform .5s var(--ease-out), box-shadow .5s, color .45s, border-color .45s;
}
.svc-card__link::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, var(--red), var(--wine));
  clip-path: polygon(0 100%, 50% 100%, 100% 100%, 100% 100%, 0 100%);
  transition: clip-path .65s var(--ease-out);
}
a.svc-card__link:hover, a.svc-card__link:focus-visible { color: #fff; border-color: var(--red); transform: translateY(-4px); box-shadow: var(--shadow-lg); text-decoration: none; }
a.svc-card__link:hover::before, a.svc-card__link:focus-visible::before { clip-path: polygon(0 100%, 0 -30%, 50% -80%, 100% -30%, 100% 100%); }
.svc-card__num { position: absolute; top: 1.1rem; right: 1.35rem; font-size: 3.4rem; line-height: 1; font-weight: 900; font-stretch: 125%; color: transparent; -webkit-text-stroke: 1.5px var(--line); transition: -webkit-text-stroke-color .45s; }
.svc-card__link:hover .svc-card__num { -webkit-text-stroke-color: rgb(255 255 255 / .3); }
.svc-card__icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--soft-blue); color: var(--blue); transition: background-color .45s, color .45s, transform .5s var(--ease-out); }
.svc-card__icon .icon { width: 28px; height: 28px; }
.svc-card__link:hover .svc-card__icon { background: #fff; color: var(--red); transform: rotate(-6deg) scale(1.05); }
.svc-card__link.has-img { padding-top: 0; }
.svc-card__img { display: block; margin: 0 -1.6rem .2rem; aspect-ratio: 16 / 9; overflow: hidden; }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.svc-card__link:hover .svc-card__img img { transform: scale(1.06); }
.has-img .svc-card__num { display: none; }
.has-img .svc-card__icon { position: relative; margin-top: -2.6rem; box-shadow: 0 0 0 4px #fff; }
.svc-card__title { margin-top: auto; font-size: 1.5rem; font-weight: 800; font-stretch: 114%; letter-spacing: -.015em; line-height: 1.1; }
.svc-card__text { color: var(--ink-2); transition: color .45s; }
.svc-card__link:hover .svc-card__text { color: rgb(255 255 255 / .85); }
.svc-card__more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--red); transition: color .45s; }
.svc-card__link:hover .svc-card__more { color: #fff; }

/* Carte « Recherche de fuite / urgences » */
.svc-card--urgent .svc-card__link { background: linear-gradient(155deg, var(--orange), var(--red) 50%, var(--wine)); color: #fff; border-color: transparent; }
.svc-card--urgent .svc-card__link::before { background: var(--ink); }
.svc-card--urgent .svc-card__text { color: rgb(255 255 255 / .88); }
.svc-card--urgent .svc-card__more { color: #fff; }
.svc-card--urgent .svc-card__icon { background: #fff; color: var(--red); }
.svc-card--urgent .has-img .svc-card__icon { box-shadow: 0 0 0 4px var(--red); }
.svc-card--urgent .svc-card__title { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.svc-card__badge { position: absolute; z-index: 1; top: 1rem; right: 1rem; display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .8rem; border-radius: 999px; background: rgb(22 23 29 / .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; font-size: .85rem; font-weight: 800; }
.svc-card__badge .live-dot { background: #fff; }
/* Carte « Un autre besoin ? » */
.svc-card__link--static { border: 2px dashed var(--line); background: transparent; justify-content: flex-end; }
.svc-card__link--static .svc-card__icon { background: var(--soft-red); color: var(--red); }
.svc-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.1rem; margin-top: .4rem; }
.svc-card__tel { display: inline-flex; align-items: center; gap: .4rem; color: var(--ink); font-weight: 800; text-decoration: none; }
.svc-card__tel .icon { color: var(--red); }
@media (min-width: 640px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-card--urgent, .svc-card--extra { grid-column: span 2; }
  .svc-card--urgent .svc-card__link.has-img { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-auto-rows: auto; align-content: end; column-gap: 1.75rem; row-gap: .7rem; padding: 1.75rem 0 1.75rem 1.75rem; }
  .svc-card--urgent .has-img > * { grid-column: 1; }
  .svc-card--urgent .has-img .svc-card__img { grid-column: 2; grid-row: 1 / span 5; margin: -1.75rem 0; height: calc(100% + 3.5rem); aspect-ratio: auto; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
  .svc-card--urgent .has-img .svc-card__icon { margin-top: 0; box-shadow: none; }
  .svc-card--urgent .has-img .svc-card__title { margin-top: 0; }
  .svc-card--urgent .svc-card__badge { left: 1.75rem; right: auto; top: 1.5rem; }
  .svc-card--urgent .has-img .svc-card__icon { margin-top: 2.6rem; }
}
@media (min-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .svc-card--extra { grid-column: auto; }
}

/* ==========================================================================
   Méthode
   ========================================================================== */
.method { padding-block: var(--section); background: #fff; position: relative; overflow: hidden; }
.method__grid { display: grid; gap: 3rem; }
.method__head .btn { margin-top: .75rem; }
.method__steps { position: relative; display: grid; gap: 2.4rem; list-style: none; }
.method__line { position: absolute; left: 27px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--line); }
.method__line span { position: absolute; left: 0; top: 0; width: 100%; height: 100%; border-radius: inherit; transform-origin: top; transform: scaleY(var(--p, 0)); background: linear-gradient(var(--orange), var(--red)); }
.method__step { display: grid; grid-template-columns: 56px 1fr; gap: 1.25rem; align-items: start; }
.method__icon { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); border: 2px solid var(--line); transition: background-color .5s, border-color .5s, color .5s, transform .5s var(--ease-out); }
.method__icon .icon { width: 24px; height: 24px; }
.method__step.is-passed .method__icon { background: var(--red); border-color: var(--red); color: #fff; transform: scale(1.08); box-shadow: 0 12px 24px -10px rgb(208 63 25 / .7); }
.method__num { margin: .2rem 0 .25rem; color: var(--red); font-weight: 800; font-size: .95rem; }
.method__step h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin-bottom: .5rem; }
.method__step p:last-child { color: var(--ink-2); margin: 0; }
@media (min-width: 960px) {
  .method__grid { grid-template-columns: .9fr 1.1fr; gap: 5rem; }
  .method__head { position: sticky; top: calc(var(--header-h) + 3rem); align-self: start; }
  .method__steps { gap: 3.5rem; padding-top: .5rem; }
}

/* ==========================================================================
   Zone d'intervention + carte
   ========================================================================== */
.zone { padding-block: var(--section); background: var(--paper-2); }
.zone--page { background: #fff; }
.zone--page { padding-top: clamp(3rem, 6vw, 5rem); }
.zone__grid { display: grid; gap: 2.5rem; align-items: center; }
.zone__map { position: relative; }
.zone__map::before { content: ""; position: absolute; inset: 6.67% 17.5%; border-radius: 50%; background: #fff; box-shadow: var(--shadow); z-index: -1; }
.zone--page .zone__map::before { background: var(--paper-2); box-shadow: none; }
.zmap { width: 100%; height: auto; overflow: visible; }
.zmap__rivers path { stroke-opacity: .8; }
.zmap__river { font-size: 15px; font-style: italic; font-weight: 600; fill: #6c84c8; }
.zmap__rings circle { stroke: var(--blue); stroke-opacity: .22; stroke-width: 1.5; stroke-dasharray: 4 7; }
.zmap__rings .ring--2 { stroke: var(--red); stroke-opacity: .85; stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 0; }
.ring-label { font-size: 14px; font-weight: 700; fill: var(--ink-3); }
.zmap__sweep { transform-box: view-box; transform-origin: 400px 300px; opacity: 0; }
.zone.is-live .zmap__sweep { opacity: 1; animation: spin 7s linear infinite; }
@keyframes spin { to { transform: rotate(-360deg); } }
.town circle { fill: var(--blue); stroke: #fff; stroke-width: 1.5; transform-box: fill-box; transform-origin: center; transition: transform .35s var(--ease-out), fill .25s; }
.town text { font-size: 15px; font-weight: 600; fill: var(--ink); opacity: 0; paint-order: stroke; stroke: #fff; stroke-width: 5px; stroke-linejoin: round; transition: opacity .25s; pointer-events: none; }
.town--named text { opacity: 1; }
.town--hub circle { fill: var(--red); stroke-width: 3; }
.town--hub text { font-size: 22px; font-weight: 800; font-stretch: 112%; }
.town--base circle { fill: var(--orange); stroke-width: 2.5; }
.town--base text { font-weight: 800; fill: var(--red); }
.town.is-active circle { fill: var(--red); transform: scale(1.9); }
.town.is-active text { opacity: 1; font-weight: 800; }
.zmap__compass circle, .zmap__scale path { stroke: var(--ink-3); stroke-width: 1.5; fill: none; }
.zmap__compass path { fill: var(--red); }
.zmap__compass text, .zmap__scale text { font-size: 14px; font-weight: 700; fill: var(--ink-3); }
.js .zone:not(.is-live) .town { opacity: 0; }
.zone.is-live .town { animation: pop .6s var(--ease-out) both; animation-delay: var(--d, 0ms); }
@keyframes pop { from { opacity: 0; transform: scale(.2); } }
.town { transform-box: fill-box; transform-origin: center; }
.js .zone:not(.is-live) .ring--2 { stroke-dashoffset: 1; }
.zone.is-live .ring--2 { transition: stroke-dashoffset 1.6s var(--ease); }
@media (max-width: 639px) {
  .town text { font-size: 24px; stroke-width: 7px; }
  .town--named:not(.town--major) text { opacity: 0; }
  .town--hub text { font-size: 30px; }
  .zmap__river, .ring-label { font-size: 22px; }
  .zmap__compass, .zmap__scale { display: none; }
}
.town-chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 1.5rem 0; }
.town-chip { display: inline-flex; align-items: baseline; gap: .45em; padding: .45em .9em; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; font-size: .93rem; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.town-chip small { color: var(--ink-3); font-weight: 500; font-size: .82rem; }
.town-chip:hover, .town-chip.is-active { border-color: var(--red); background: var(--red); color: #fff; }
.town-chip:hover small, .town-chip.is-active small { color: rgb(255 255 255 / .7); }
.band-title { font-size: 1.1rem; font-stretch: 108%; margin-top: 1.75rem; }
.band-title + .town-chips { margin-top: .75rem; }
@media (min-width: 960px) {
  .zone__grid { grid-template-columns: .9fr 1.1fr; gap: 4rem; }
  .zone--page .zone__grid { grid-template-columns: 1.1fr .9fr; align-items: start; }
  .zone--page .zone__map { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* ==========================================================================
   Réalisations (avant / après)
   ========================================================================== */
.works { padding-block: var(--section); background: #fff; }
.works--page { background: none; padding-top: 3rem; }
.works-grid { display: grid; gap: 1.25rem; list-style: none; }
@media (min-width: 700px) { .works-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .works-grid { grid-template-columns: repeat(3, 1fr); } }
.work { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.work__img img, .ba img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.work__body { padding: 1.25rem 1.4rem 1.5rem; }
.work__meta { margin-bottom: .35rem; color: var(--red); font-weight: 700; font-size: .9rem; }
.work__title { font-size: 1.3rem; margin-bottom: .5rem; }
.work__body p:last-child { color: var(--ink-2); margin: 0; }
.ba { position: relative; --pos: 50%; overflow: hidden; touch-action: pan-y; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__before img { height: 100%; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; box-shadow: 0 0 0 1px rgb(0 0 0 / .1); }
.ba__handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316171d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 22px no-repeat; box-shadow: var(--shadow); }
.ba__range:focus-visible ~ .ba__handle::after { outline: 3px solid var(--orange); outline-offset: 2px; }
.ba__tag { position: absolute; top: .75rem; padding: .25em .65em; border-radius: 999px; background: rgb(22 23 29 / .72); color: #fff; font-size: .8rem; font-weight: 700; pointer-events: none; }
.ba__tag--before { left: .75rem; }
.ba__tag--after { right: .75rem; }
.empty { padding: 3rem 0; color: var(--ink-2); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-section { padding-block: var(--section); background: #fff; border-top: 1px solid var(--line); }
.faq-section__grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .faq-section__grid { grid-template-columns: .8fr 1.2fr; gap: 4rem; } .faq-section header { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; } }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding: 1.3rem 0; cursor: pointer; list-style: none; font-size: 1.14rem; font-weight: 700; font-stretch: 106%; line-height: 1.3; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--red); }
.faq__icon { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); color: var(--ink); transition: transform .4s var(--ease-out), background-color .3s, color .3s; }
.faq__item[open] .faq__icon { transform: rotate(135deg); background: var(--red); color: #fff; }
.faq__a { padding: 0 3.5rem 1.4rem 0; color: var(--ink-2); }
.faq__a p { margin: 0; }
.faq__item::details-content { block-size: 0; overflow: clip; transition: block-size .4s var(--ease-out), content-visibility .4s allow-discrete; }
.faq__item[open]::details-content { block-size: auto; }

/* ==========================================================================
   Bandeau d'appel à l'action
   ========================================================================== */
.cta-band { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(4rem, 8vw, 6.5rem); color: #fff; background: linear-gradient(120deg, var(--wine) 0%, var(--red) 55%, var(--orange) 100%); }
.cta-band__title { text-wrap: balance; }
.cta-band__inner { display: grid; gap: 2rem; align-items: end; }
.cta-band__title { font-size: clamp(1.9rem, 4.4vw, 3.4rem); margin-bottom: 1rem; }
.cta-band__title span { color: #ffd9c7; }
.cta-band__text p { color: rgb(255 255 255 / .85); max-width: 36rem; margin: 0; }
.cta-band__actions { display: grid; gap: 1rem; justify-items: start; }
.cta-band .btn--red { --bg: #fff; --fg: var(--red); box-shadow: 0 16px 30px -14px rgb(0 0 0 / .45); }
.cta-band .btn--red:hover { --bg: var(--ink); --fg: #fff; }
.cta-band__phones { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.cta-band__phones a { display: inline-flex; align-items: center; gap: .45rem; color: #fff; font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.cta-band__phones a:hover { text-decoration: underline; }
.cta-band__deco { position: absolute; right: -60px; bottom: -40px; width: min(520px, 70vw); color: rgb(255 255 255 / .08); z-index: -1; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1.3fr 1fr; gap: 4rem; } .cta-band__actions { justify-items: end; } }

/* ==========================================================================
   Pied de page
   ========================================================================== */
.site-footer { background: var(--paper-2); color: var(--ink-2); padding: 4rem 0 calc(2rem + 74px); font-size: .98rem; border-top: 1px solid var(--line); }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--red); text-decoration: underline; }
.site-footer__top { display: grid; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line); }
.site-footer__logo { display: inline-block; color: #242021; margin-bottom: 1.25rem; }
.site-footer__logo svg { height: 92px; width: auto; aspect-ratio: 1060 / 525; }
.site-footer__brand p { max-width: 26rem; }
.site-footer__promise { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink); font-weight: 800; }
.site-footer__promise .icon { color: var(--red); }
.site-footer__dec { display: flex; align-items: center; gap: .85rem; margin: .25rem 0 0; color: var(--ink); font-weight: 700; line-height: 1.3; }
.site-footer__title { color: var(--ink); font-weight: 900; font-stretch: 112%; margin-bottom: 1rem; }
.site-footer__contact, .site-footer__links { list-style: none; display: grid; gap: .7rem; }
.site-footer__contact a, .site-footer__addr { display: flex; gap: .7rem; align-items: flex-start; }
.site-footer__contact a { font-weight: 700; }
.site-footer__contact .icon { margin-top: .15rem; color: var(--red); }
.site-footer__contact small { display: block; color: var(--ink-3); font-size: .82rem; font-weight: 500; }
.site-footer__bottom { display: grid; gap: 1rem; padding-top: 1.75rem; font-size: .88rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; list-style: none; }
.site-footer__legal a, .site-footer__legal button { color: var(--ink-2); }
.site-footer__credit a { color: var(--red); }
@media (min-width: 900px) {
  .site-footer { padding-bottom: 2rem; }
  .site-footer__top { grid-template-columns: 1.3fr 1.25fr .8fr .7fr; gap: 2.5rem; }
  .site-footer__bottom { grid-template-columns: auto 1fr auto; align-items: center; }
  .site-footer__legal { justify-content: center; }
}

/* Barre d'action mobile */
.actionbar {
  position: fixed; left: .6rem; right: .6rem; bottom: calc(.6rem + env(safe-area-inset-bottom)); z-index: 40;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: .4rem;
  transform: translateY(160%); transition: transform .5s var(--ease-out);
}
.actionbar.is-visible { transform: none; }
.actionbar a { display: flex; align-items: center; justify-content: center; gap: .55rem; min-height: 56px; border-radius: 16px; color: #fff; font-weight: 800; font-stretch: 108%; line-height: 1.05; text-decoration: none; box-shadow: 0 12px 28px -10px rgb(22 23 29 / .55); }
.actionbar small { display: block; font-size: .72rem; font-weight: 700; opacity: .8; }
.actionbar__call { background: var(--ink); }
.actionbar__call .icon { color: var(--orange-300); }
.actionbar__devis { background: var(--red); }
@media (min-width: 900px) { .actionbar { display: none; } }

/* ==========================================================================
   Pages intérieures
   ========================================================================== */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + clamp(1.5rem, 5vw, 3.5rem)) 0 clamp(2.5rem, 6vw, 4.5rem);
  background: radial-gradient(640px 400px at 92% 0%, rgb(239 83 34 / .09), transparent 70%), #fff;
  color: var(--ink); border-bottom: 1px solid var(--line);
}
.page-hero:not(.has-photo)::after {
  content: ""; position: absolute; z-index: -1; right: -4%; bottom: -2px; width: min(520px, 62vw); aspect-ratio: 2 / 1;
  background: linear-gradient(120deg, var(--orange), var(--red)); opacity: .1;
  clip-path: polygon(0 100%, 50% 0, 100% 100%, 86% 100%, 50% 28%, 14% 100%);
  animation: fadeUp 1s .3s var(--ease-out) both;
}
.page-hero--service:not(.has-photo)::after { display: none; }
.page-hero--compact { padding-bottom: clamp(2rem, 5vw, 3.25rem); }
.page-hero__title { font-size: clamp(2.2rem, 5.4vw, 4.1rem); max-width: 20ch; margin-bottom: 1rem; animation: fadeUp .8s var(--ease-out) both; }
.page-hero__lead { max-width: 40rem; color: var(--ink-2); font-size: clamp(1.05rem, 1.4vw, 1.2rem); animation: fadeUp .8s .1s var(--ease-out) both; }
.page-hero.has-photo { display: flex; flex-direction: column; }
.page-hero.has-photo > .container { width: min(100% - 2 * var(--pad), var(--container)); }
.page-hero.has-photo > .hframe { order: 2; width: min(100% - 2 * var(--pad), 640px); margin: 2rem auto 0; aspect-ratio: 16 / 11; }
@media (min-width: 960px) {
  .page-hero.has-photo { justify-content: center; min-height: clamp(540px, 76vh, 700px); }
  .page-hero--compact.has-photo { min-height: clamp(460px, 62vh, 580px); }
  .page-hero.has-photo > .container { padding-right: calc(min(44%, 560px) + 3rem); }
  .page-hero.has-photo > .hframe {
    position: absolute; margin: 0; aspect-ratio: auto;
    top: calc(var(--header-h) + 1.75rem); bottom: clamp(2rem, 5vh, 3.25rem);
    right: calc(max(var(--pad), (100% - var(--container)) / 2) + var(--off));
    width: min(44%, 560px);
  }
}
.page-hero .hero__actions { margin-bottom: 0; }
.page-hero__grid { display: grid; gap: 2rem; align-items: center; }
.page-hero__art { display: none; }
.page-hero__badge { width: min(280px, 100%); aspect-ratio: 1; margin-left: auto; border-radius: 48px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, var(--orange), var(--red) 45%, var(--wine)); box-shadow: 0 40px 80px -30px rgb(239 83 34 / .6); transform: rotate(-7deg); animation: badgeIn 1s .2s var(--ease-out) both, float 7s 1.2s ease-in-out infinite; }
.page-hero__badge .icon { stroke-width: 1; }
@keyframes badgeIn { from { opacity: 0; transform: rotate(-20deg) scale(.7); } }
@keyframes float { 50% { transform: rotate(-4deg) translateY(-10px); } }
@media (min-width: 900px) { .page-hero__grid { grid-template-columns: 1.6fr 1fr; } .page-hero__art { display: block; } }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; margin-bottom: 1.25rem; font-size: .9rem; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: .35rem; opacity: .5; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.svc-body { padding-block: clamp(3rem, 7vw, 5.5rem); }
.svc-body__grid { display: grid; gap: 2.5rem; }
.svc-block + .svc-block { margin-top: clamp(2.75rem, 5vw, 4rem); }
.svc-block__title { font-size: clamp(1.6rem, 3vw, 2.25rem); margin-bottom: 1.4rem; }
.signs { display: grid; gap: .65rem; list-style: none; }
.signs li { display: flex; gap: .8rem; align-items: flex-start; padding: 1rem 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.signs .icon { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--red); color: #fff; margin-top: .05rem; }
@media (min-width: 640px) { .signs { grid-template-columns: 1fr 1fr; } }
.works-list { display: grid; gap: 1rem; }
.works-list__item { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; padding: 1.35rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.works-list__num { font-size: 1.9rem; line-height: 1; font-weight: 800; font-stretch: 125%; color: var(--red); }
.works-list__item h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.works-list__item p { margin: 0; color: var(--ink-2); }
.mini-steps { counter-reset: s; list-style: none; display: grid; gap: .8rem; }
.mini-steps li { counter-increment: s; position: relative; display: grid; gap: .15rem; padding: 1rem 1rem 1rem 3.6rem; border-radius: 14px; background: var(--paper-2); }
.mini-steps li::before { content: counter(s); position: absolute; left: 1rem; top: 1rem; width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 800; font-size: .95rem; }
.mini-steps span { color: var(--ink-2); }
.svc-block--tips { padding: 1.6rem; border-radius: var(--radius); background: var(--soft-red); color: var(--ink); box-shadow: inset 4px 0 0 var(--red); }
.svc-block--tips .svc-block__title { font-size: 1.4rem; color: var(--red); }
.tip { display: flex; gap: .85rem; align-items: flex-start; color: var(--ink-2); }
.tip:last-child { margin-bottom: 0; }
.tip .icon { color: var(--red); margin-top: .1rem; }
.aside-card { padding: 1.6rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: .9rem; }
.aside-card__title { margin: 0; font-size: 1.35rem; font-weight: 800; font-stretch: 112%; line-height: 1.15; }
.aside-card__promise { margin: 0; display: flex; gap: .5rem; align-items: center; color: var(--red); font-weight: 700; }
.aside-card__phone { display: flex; gap: .75rem; align-items: center; padding: .8rem 1rem; border-radius: 14px; background: var(--paper-2); color: var(--ink); font-weight: 800; font-size: 1.1rem; text-decoration: none; transition: background-color .2s; }
.aside-card__phone:hover { background: var(--soft-red); text-decoration: none; }
.aside-card__dec { margin: 0; display: flex; align-items: center; gap: .75rem; padding-top: .9rem; border-top: 1px solid var(--line); font-weight: 700; font-size: .93rem; line-height: 1.3; }
.aside-card__phone .icon { color: var(--red); }
.aside-card__phone small { display: block; font-size: .8rem; font-weight: 500; color: var(--ink-3); }
.aside-card__zone, .aside-card__addr { margin: 0; display: flex; gap: .5rem; align-items: flex-start; color: var(--ink-2); font-size: .93rem; }
.aside-card__list { list-style: none; display: grid; gap: .45rem; }
.aside-card__list li { display: flex; gap: .5rem; align-items: center; font-weight: 600; }
.aside-card__list .icon { color: var(--red); }
@media (min-width: 1000px) {
  .svc-body__grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 4rem; }
  .svc-body__aside .aside-card { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

.prose-section { padding-block: var(--section); background: var(--paper-2); }
.prose-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .prose-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.prose h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); margin: 2.2rem 0 .9rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin: 1.6rem 0 .6rem; font-stretch: 106%; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.2rem; margin-bottom: 1em; }
.prose li + li { margin-top: .35rem; }
.prose-links { list-style: none; padding: 0 !important; display: grid; gap: .5rem; }
.prose-links a { display: flex; gap: .8rem; align-items: flex-start; padding: .9rem 1rem; border-radius: 14px; background: #fff; color: var(--ink); text-decoration: none; border: 1px solid var(--line); }
.prose-links a:hover { border-color: var(--red); }
.prose-links .icon { color: var(--red); margin-top: .15rem; }

.legal { padding-block: clamp(3rem, 6vw, 5rem); }
.legal__grid { display: grid; gap: 2.5rem; }
.legal .prose { max-width: 48rem; }
.legal__nav { padding: 1.4rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); align-self: start; }
.legal__nav-title { font-weight: 800; margin-bottom: .75rem; }
.legal__nav ul { list-style: none; display: grid; gap: .4rem; }
.legal__nav a { color: var(--ink-2); text-decoration: none; }
.legal__nav a[aria-current="page"] { color: var(--red); font-weight: 700; }
.legal__updated { margin: 1rem 0 0; font-size: .85rem; color: var(--ink-3); }
@media (min-width: 960px) { .legal__grid { grid-template-columns: 1fr 300px; gap: 4rem; } .legal__nav { position: sticky; top: calc(var(--header-h) + 2rem); } }
mark.todo { background: #ffe1d4; color: var(--wine); padding: .05em .35em; border-radius: 4px; font-weight: 700; }
.table-wrap { overflow-x: auto; margin: 1rem 0 1.5rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
.table-wrap th, .table-wrap td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap th { background: var(--paper-2); font-weight: 700; }
.table-wrap tr:last-child td { border-bottom: 0; }
.form-model { padding: 1.4rem; border: 2px dashed var(--line); border-radius: 14px; background: #fff; }

/* ==========================================================================
   Formulaire de devis
   ========================================================================== */
.devis { padding-block: clamp(2rem, 5vw, 4rem) clamp(4rem, 8vw, 6rem); }
.devis__grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 1000px) { .devis__grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 3rem; } .aside-card--sticky { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.dform { padding: clamp(1.25rem, 4vw, 2.5rem); border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.dform__alert { margin-bottom: 1.5rem; padding: 1rem 1.2rem; border-radius: 14px; background: #fff1ec; border: 1px solid #f5c2ae; color: var(--wine); }
.dform__alert ul { margin: .4rem 0 0 1.1rem; }
.dprogress { margin-bottom: 1.75rem; }
.dprogress__steps { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; gap: .25rem; margin-bottom: .75rem; font-size: .82rem; font-weight: 700; color: var(--ink-3); }
.dprogress__steps li { display: flex; flex-direction: column; align-items: center; gap: .3rem; text-align: center; }
.dprogress__steps span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); color: var(--ink-2); transition: background-color .3s, color .3s; }
.dprogress__steps li.is-done span, .dprogress__steps li.is-current span { background: var(--red); color: #fff; }
.dprogress__steps li.is-current { color: var(--ink); }
.dprogress__bar { height: 6px; border-radius: 6px; background: var(--paper-2); overflow: hidden; }
.dprogress__bar span { display: block; height: 100%; width: 25%; border-radius: inherit; background: linear-gradient(90deg, var(--orange), var(--red)); transition: width .6s var(--ease-out); }
.dstep { border: 0; padding: 0; margin: 0 0 2rem; min-width: 0; }
.dform.is-stepped .dstep:not(.is-current) { display: none; }
.dform.is-stepped .dstep.is-current { animation: stepIn .5s var(--ease-out) both; }
.dform.is-stepped .dstep.is-back { animation-name: stepBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(26px); } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-26px); } }
.dstep__title { display: flex; align-items: center; gap: .75rem; padding: 0; margin-bottom: 1.2rem; font-size: clamp(1.35rem, 3vw, 1.8rem); font-weight: 800; font-stretch: 112%; letter-spacing: -.015em; line-height: 1.15; }
.dstep__n { width: 38px; height: 38px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--blue); color: #fff; font-size: 1.05rem; }
.dstep__hint { color: var(--ink-3); margin-top: -.6rem; }
.opts { display: flex; flex-wrap: wrap; gap: .55rem; }
.opts--cards { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
@media (min-width: 640px) { .opts--cards { grid-template-columns: repeat(3, 1fr); } }
.opt, .pill { position: relative; cursor: pointer; }
.opt input, .pill input, .drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt__ui { height: 100%; display: flex; flex-direction: column; gap: .55rem; padding: 1rem; border: 1.5px solid var(--line); border-radius: 16px; background: #fff; font-weight: 700; line-height: 1.25; transition: border-color .2s, background-color .2s, transform .25s var(--ease), box-shadow .25s; }
.opt__ui .icon { width: 28px; height: 28px; color: var(--blue); transition: color .2s, transform .35s var(--ease-out); }
.opt:hover .opt__ui { border-color: var(--ink); transform: translateY(-2px); }
.opt input:checked + .opt__ui { border-color: var(--red); background: #fff4ef; box-shadow: 0 0 0 3px rgb(208 63 25 / .14); }
.opt input:checked + .opt__ui .icon { color: var(--red); transform: scale(1.12) rotate(-6deg); }
.opt input:focus-visible + .opt__ui, .pill input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.pill span { display: inline-block; padding: .6em 1em; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; font-size: .95rem; transition: border-color .2s, background-color .2s, color .2s; }
.pill:hover span { border-color: var(--ink); }
.pill input:checked + span { border-color: var(--blue); background: var(--blue); color: #fff; }
.field { margin-bottom: 1.35rem; }
.field__label { display: flex; align-items: center; gap: .45rem; margin-bottom: .5rem; font-weight: 700; }
.field__label abbr { color: var(--red); text-decoration: none; }
.opt-tag { color: var(--ink-3); font-weight: 500; font-size: .88rem; }
.field__error { margin: .4rem 0 0; color: var(--red-600); font-weight: 600; font-size: .93rem; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } .field--cp { max-width: 220px; } .field-row:has(.field--cp) { grid-template-columns: 200px 1fr; } }
.input { width: 100%; min-height: 54px; padding: .8em 1em; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
textarea.input { min-height: 120px; resize: vertical; }
select.input { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316171d' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 1rem center / 18px no-repeat; padding-right: 2.75rem; }
.input:hover { border-color: #c9c4b8; }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgb(39 56 148 / .16); }
.input[aria-invalid="true"] { border-color: var(--red); background: #fff8f5; }
.zone-check { min-height: 1.6em; margin: 0; font-weight: 700; display: flex; gap: .5rem; align-items: center; }
.zone-check.is-in { color: #1d7a45; }
.zone-check.is-out { color: var(--wine); }
.zone-check.is-loading { color: var(--ink-3); font-weight: 500; }
.drop { display: block; cursor: pointer; }
.drop__ui { display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.2rem; border: 2px dashed var(--line); border-radius: 16px; background: var(--paper-2); transition: border-color .2s, background-color .2s; }
.drop__ui .icon { width: 30px; height: 30px; color: var(--red); }
.drop:hover .drop__ui, .drop:focus-within .drop__ui, .drop.is-over .drop__ui { border-color: var(--red); background: #fff; }
.drop:focus-within .drop__ui { outline: 3px solid var(--orange); outline-offset: 2px; }
.thumbs { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin-top: .75rem; }
.thumbs li { position: relative; }
.thumbs img { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; }
.thumbs button { position: absolute; top: -8px; right: -8px; width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; }
.thumbs button .icon { width: 14px; height: 14px; }
.recap { display: flex; flex-wrap: wrap; gap: .4rem; margin: -.4rem 0 1.4rem; }
.recap span { padding: .3em .75em; border-radius: 999px; background: var(--paper-2); font-size: .88rem; font-weight: 600; }
.dform__legal { font-size: .88rem; color: var(--ink-3); margin: 0; }
.dnav { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.dnav [data-next], .dnav [data-submit] { margin-left: auto; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Merci / 404 */
.thanks { padding: calc(var(--header-h) + 4rem) 0 6rem; text-align: center; }
.thanks__inner { max-width: 44rem; }
.thanks__icon { width: 96px; height: 96px; margin: 0 auto 1.75rem; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; animation: popIn .7s var(--ease-out) both; box-shadow: 0 20px 40px -14px rgb(208 63 25 / .7); }
.thanks__icon .icon { width: 48px; height: 48px; }
@keyframes popIn { from { transform: scale(.3) rotate(-30deg); opacity: 0; } }
.thanks__title { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 1rem; }
.thanks__lead { color: var(--ink-2); font-size: 1.15rem; }
.thanks__urgent { margin: 2rem 0; padding: 1.5rem; border-radius: var(--radius); background: linear-gradient(135deg, var(--orange), var(--red) 55%, var(--wine)); color: #fff; display: grid; gap: 1rem; justify-items: center; }
.thanks__urgent p { margin: 0; }
.thanks__next { text-align: left; margin: 0 auto 2rem; max-width: 30rem; }
.thanks__label { font-weight: 800; }
.thanks__next ul { padding-left: 1.2rem; color: var(--ink-2); }
.thanks__code { font-size: clamp(6rem, 20vw, 11rem); line-height: .9; font-weight: 900; font-stretch: 125%; margin: 0 0 1rem; color: transparent; -webkit-text-stroke: 2px var(--red); }
.thanks__links { display: flex; justify-content: center; gap: .75rem; flex-wrap: wrap; margin: 1.5rem 0 2rem; }
.thanks__services { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; list-style: none; }
.thanks__services a { display: inline-flex; gap: .4rem; align-items: center; padding: .5em .9em; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }

/* ==========================================================================
   Bandeau de consentement cookies
   ========================================================================== */
.consent { position: fixed; z-index: 80; left: .75rem; right: .75rem; bottom: .75rem; display: flex; justify-content: center; }
.consent[hidden] { display: none; }
.consent__box { width: min(100%, 560px); padding: 1.4rem; border-radius: var(--radius); background: #fff; color: var(--ink); box-shadow: 0 30px 80px -20px rgb(22 23 29 / .45); border: 1px solid var(--line); animation: fadeUp .5s var(--ease-out) both; }
.consent__title { font-weight: 800; font-size: 1.15rem; margin-bottom: .5rem; }
.consent__desc { font-size: .93rem; color: var(--ink-2); }
.consent__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.consent__actions .btn { flex: 1 1 auto; }
.consent__prefs { display: grid; gap: .75rem; margin-bottom: 1rem; }
.switch { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch__ui { position: relative; width: 44px; height: 26px; border-radius: 26px; background: var(--line); transition: background-color .2s; margin-top: .1rem; }
.switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); box-shadow: 0 1px 3px rgb(0 0 0 / .2); }
.switch input:checked + .switch__ui { background: var(--red); }
.switch input:checked + .switch__ui::after { transform: translateX(18px); }
.switch input:disabled + .switch__ui { opacity: .55; }
.switch input:focus-visible + .switch__ui { outline: 3px solid var(--orange); outline-offset: 2px; }
.switch small { display: block; color: var(--ink-3); font-size: .85rem; }

/* ==========================================================================
   Apparitions au scroll
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ticker__track { animation: none; }
  .hero-roof__rain, .xs-drop, .xs-drip, .xs-shine, .zmap__sweep { display: none; }
  .leak__anim { display: none; }
  .leak__static { display: inline; }
  .sos__giant span { background-size: 100% 100%; }
  .logos--marquee .logos__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .live-dot::after { display: none; }
  .hframe__img img { transform: none; }
}

@media print {
  .site-header, .mobile-menu, .actionbar, .consent, .ticker, .tapes, .cta-band__deco { display: none !important; }
  body { background: #fff; }
  .page-hero, .hero { background: none; color: #000; padding-top: 1rem; }
}
