/* =========================================================================
   GIMENES Couverture — design du site
   Ardoise + orange du logo, chaux des façades. Rayon 0. Motif : le chevron de toit.
   ========================================================================= */

/* ---------- Typo & éléments communs ---------- */
.h-xxl, .h-xl, .h-l, .hero__title, .final__title { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; }
.h-xxl { font-size: var(--step-5); font-stretch: 112%; line-height: .95; }
.h-xl { font-size: var(--step-4); font-stretch: 112%; line-height: 1; }
.h-l { font-size: var(--step-3); font-stretch: 112%; line-height: 1.02; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  margin: 0 0 var(--space-m);
  font-family: var(--font-body); font-size: var(--step--1); font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--orange);
}
.eyebrow::before {
  content: ""; width: 1.1em; height: .62em; flex: none;
  background: currentColor;
  clip-path: polygon(50% 0, 100% 75%, 86% 100%, 50% 40%, 14% 100%, 0 75%);
}

.btn {
  --bg: transparent; --fg: currentColor; --bd: currentColor;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: .85em 1.35em;
  border: 1.5px solid var(--bd); background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: var(--step-0); line-height: 1.15; text-decoration: none; text-align: center;
  cursor: pointer; transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--hover-bg, var(--chaux));
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:hover, .btn:focus-visible { color: var(--hover-fg, var(--ink)); border-color: var(--hover-bg, var(--chaux)); }
.btn span[aria-hidden] { transition: transform .45s var(--ease); }
.btn:hover span[aria-hidden] { transform: translateX(4px); }
.btn--accent { --bg: var(--orange); --fg: var(--ink); --bd: var(--orange); }
.btn--ink { --bg: var(--ink); --fg: var(--chaux); --bd: var(--ink); --hover-bg: var(--orange); --hover-fg: var(--ink); }
.btn--line { --fg: currentColor; --bd: rgba(244,241,236,.4); }
.btn--ghost { --bd: rgba(20,20,20,.25); }
.btn--sm { min-height: 42px; padding: .6em 1.1em; font-size: var(--step--1); }
.btn--lg { min-height: 56px; padding: 1em 1.6em; }

.link-arrow {
  display: inline-flex; gap: .5em; align-items: center;
  font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
  padding-bottom: .2em; transition: background-size .5s var(--ease);
}
.link-arrow:hover { background-size: 0 1.5px; background-position: 100% 100%; }

.pulse { position: relative; width: .55em; height: .55em; border-radius: 50%; background: var(--orange); flex: none; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--orange); animation: pulse 1.8s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(3.2); opacity: 0; } }

.section-head { display: grid; gap: var(--space-s); margin-bottom: var(--space-l); max-width: 60rem; }
.section-head .eyebrow { margin-bottom: 0; }
.section-head__intro { max-width: 34rem; color: var(--muted, var(--color-text-muted)); font-size: var(--step-1); }

/* Sections claires */
.services, .commit, .faq, .sv-body { background: var(--chaux); color: var(--ink); --muted: #57534d; }
.services .eyebrow, .commit .eyebrow, .faq .eyebrow { color: var(--tuile); }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-m);
  padding-inline: var(--gutter);
  transition: transform .5s var(--ease), background-color .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-header[data-scrolled] { background: rgba(20,20,20,.78); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); border-bottom-color: var(--color-line); }
.site-header[data-hidden]:not(:focus-within) { transform: translateY(-100%); }
body[data-menu-open] .site-header { transform: none; background: var(--ink); }

.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; position: relative; z-index: 2; }
.brand__icon { width: auto; height: 30px; }
.brand__word { display: grid; line-height: 1; }
.brand__word b { font-family: var(--font-display); font-weight: 800; font-stretch: 125%; font-size: 1.12rem; letter-spacing: .01em; }
.brand__word span { font-size: .62rem; font-weight: 600; letter-spacing: .38em; text-transform: uppercase; color: var(--orange); margin-top: .3em; }

.site-nav__list { display: flex; gap: clamp(1rem, 2vw, 2.2rem); }
.site-nav__list a { position: relative; text-decoration: none; font-weight: 500; font-size: .95rem; padding: .4em 0; }
.site-nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--orange); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.site-nav__list a:hover::after, .site-nav__list a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.site-nav__mobile { display: none; }

.site-header__actions { display: flex; align-items: center; gap: var(--space-m); position: relative; z-index: 2; }
.header-phone { display: inline-flex; align-items: center; gap: .7em; font-weight: 600; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.site-header__toggle { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; background: none; border: 1px solid var(--color-line); cursor: pointer; }
.toggle-bars { display: grid; gap: 7px; width: 22px; }
.toggle-bars i { display: block; height: 2px; background: currentColor; transition: transform .45s var(--ease); }
[aria-expanded="true"] .toggle-bars i:first-child { transform: translateY(4.5px) rotate(45deg); }
[aria-expanded="true"] .toggle-bars i:last-child { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 1099px) { .header-phone { display: none; } }
@media (max-width: 899px) {
  :root { --header-h: 64px; }
  .site-header__toggle { display: inline-flex; }
  .site-header__actions .btn { display: none; }
  .site-nav {
    position: fixed; inset: 0; z-index: 1; overflow-y: auto;
    padding: calc(var(--header-h) + var(--space-l)) var(--gutter) calc(var(--space-xl) + 4rem);
    background: var(--ink);
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path .7s var(--ease-in-out), visibility 0s .7s;
  }
  .site-nav[data-open] { clip-path: inset(0); visibility: visible; transition: clip-path .7s var(--ease-in-out); }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list a { display: block; padding: .15em 0; font-family: var(--font-display); font-weight: 800; font-stretch: 125%; font-size: clamp(2rem, 9vw, 3rem); line-height: 1.15; }
  .site-nav__list a::after { display: none; }
  .site-nav__mobile { display: block; margin-top: var(--space-l); padding-top: var(--space-m); border-top: 1px solid var(--color-line); }
  .site-nav__label { font-size: var(--step--1); text-transform: uppercase; letter-spacing: .16em; color: var(--orange); font-weight: 600; }
  .site-nav__services { columns: 2; column-gap: var(--space-m); }
  .site-nav__services a { display: flex; gap: .5em; padding: .45em 0; text-decoration: none; font-weight: 500; break-inside: avoid; }
  .site-nav__services span { color: var(--color-text-muted); font-size: .8em; padding-top: .15em; }
  .site-nav__hours { margin-top: var(--space-m); color: var(--color-text-muted); font-size: var(--step--1); }
  body[data-menu-open] { overflow: hidden; }
}
@media (max-width: 420px) { .brand__icon { height: 24px; } .brand__word b { font-size: 1rem; } }

/* ---------- Héros ---------- */
.hero { position: relative; height: 230vh; }
.hero__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero__media {
  --e: 0;
  position: absolute; inset: 0;
  /* Forme « maison » qui s'ouvre jusqu'au plein cadre (--e piloté par le scroll) */
  --x0: 55%; --x1: 96%; --y0: 40%; --y1: 95%;
  clip-path: polygon(
    calc((var(--x0) + var(--x1)) / 2 * (1 - var(--e)) + 50% * var(--e)) calc(var(--y0) * (1 - var(--e))),
    calc(var(--x1) * (1 - var(--e)) + 100% * var(--e)) calc((var(--y0) + (var(--y1) - var(--y0)) * .32) * (1 - var(--e))),
    calc(var(--x1) * (1 - var(--e)) + 100% * var(--e)) calc(var(--y1) * (1 - var(--e)) + 100% * var(--e)),
    calc(var(--x0) * (1 - var(--e))) calc(var(--y1) * (1 - var(--e)) + 100% * var(--e)),
    calc(var(--x0) * (1 - var(--e))) calc((var(--y0) + (var(--y1) - var(--y0)) * .32) * (1 - var(--e)))
  );
  will-change: clip-path;
}
.hero__media img { width: 100%; height: 100%; object-position: 50% 40%; transform: scale(calc(1.18 - .14 * var(--e))); transform-origin: 75% 50%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,20,20,.88), rgba(20,20,20,.35) 70%), linear-gradient(0deg, rgba(20,20,20,.6), transparent 40%); opacity: calc(var(--e) * 1.1); }

.hero__text {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(var(--header-h) + 1rem); padding-bottom: 4rem;
  pointer-events: none;
}
.hero__text a, .hero__text p { pointer-events: auto; }
.hero__kicker { display: inline-flex; align-items: center; gap: .7em; font-size: var(--step--1); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: var(--space-m); }
.hero__kicker .dot { width: .5em; height: .5em; background: var(--orange); }
.hero__title { font-size: min(9vw, 15vh, 11rem); font-stretch: 125%; line-height: .86; text-transform: uppercase; letter-spacing: -0.035em; }
.hero__title .line { display: block; }
.hero__title .line--accent { color: var(--orange); }
.hero__bottom { --fade: calc(1 - var(--e, 0) * 2.2); display: grid; gap: var(--space-m); max-width: min(42rem, 50%); margin-top: var(--space-l); opacity: max(var(--fade), 0); transform: translateY(calc(var(--e, 0) * -60px)); }
.hero__lead { font-size: var(--step-1); line-height: 1.45; color: #d9d5ce; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__proof { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: var(--step--1); font-weight: 500; color: var(--color-text-muted); }
.hero__proof li { display: inline-flex; align-items: center; gap: .55em; }
.hero__proof svg { width: .95em; color: var(--orange); }

.hero__urgent {
  position: absolute; z-index: 3; right: var(--gutter); bottom: var(--space-l);
  display: inline-flex; align-items: center; gap: .9em;
  padding: .9em 1.2em; background: var(--ink); border: 1px solid rgba(233,78,32,.6);
  text-decoration: none; font-size: var(--step--1); transition: background .3s, color .3s;
}
.hero__urgent b { color: var(--orange); font-weight: 600; margin-right: .3em; }
.hero__urgent:hover { background: var(--orange); color: var(--ink); }
.hero__urgent:hover b { color: var(--ink); }
@keyframes scrollcue { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

@media (max-width: 899px) {
  .hero { height: auto; }
  .hero__sticky { position: relative; height: auto; overflow: visible; display: flex; flex-direction: column; }
  .hero__text { order: 1; height: auto; padding-top: calc(var(--header-h) + var(--space-l)); padding-bottom: var(--space-m); }
  .hero__title { font-size: 10.3vw; line-height: .92; }
  .hero__bottom { opacity: 1; transform: none; margin-top: var(--space-m); max-width: none; }
  .hero__media { order: 2; position: relative; inset: auto; margin-inline: var(--gutter); aspect-ratio: 4 / 3.4; clip-path: var(--house); }
  .hero__media::after { display: none; }
  .hero__media img { transform: scale(calc(1.15 - .15 * var(--p, 0))); }
  .hero__urgent { order: 3; position: relative; right: auto; bottom: auto; margin: var(--space-m) var(--gutter) var(--space-l); justify-content: space-between; }
  .hero__ctas .btn { flex: 1 1 100%; }
}

/* ---------- Bandeau ---------- */
.marquee { position: relative; z-index: 4; background: var(--orange); color: var(--ink); overflow: hidden; transform: rotate(-1.6deg) scale(1.04); margin-block: -1.2rem; padding-block: 1.1rem; }
.marquee__track { display: flex; align-items: center; gap: 1.6rem; width: max-content; animation: marquee 38s linear infinite; transform: skewX(calc(var(--skew, 0) * 1deg)); }
.marquee span { font-family: var(--font-display); font-weight: 800; font-stretch: 125%; font-size: var(--step-3); text-transform: uppercase; white-space: nowrap; line-height: 1; }
.marquee svg { width: clamp(1.6rem, 2.6vw, 2.6rem); flex: none; }
@keyframes marquee { to { translate: -33.333% 0; } }

/* ---------- Pan par pan (section collante) ---------- */
.story { position: relative; height: 330vh; padding-block: var(--space-xl) 0; }
.story__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: var(--space-xl); align-items: center; }
.story__intro { color: var(--color-text-muted); margin-top: var(--space-s); }
.story__steps { position: relative; margin-top: var(--space-l); display: grid; }
.story__step { grid-area: 1 / 1; opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; }
.story__step[data-on] { opacity: 1; transform: none; pointer-events: auto; }
.story__num { display: block; color: var(--orange); font-weight: 600; font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; margin-bottom: .8em; }
.story__step h3 { font-size: var(--step-2); font-stretch: 112%; margin-bottom: .5em; }
.story__step p { color: #cfcbc4; max-width: 30rem; }
.story__bar { margin-top: var(--space-l); height: 2px; background: var(--color-line); max-width: 22rem; }
.story__bar span { display: block; height: 100%; background: var(--orange); transform-origin: left; transform: scaleX(var(--p, 0)); }
.story__frames { position: relative; aspect-ratio: 4 / 3; }
.story__frame { --k: 1; position: absolute; inset: 0; margin: 0; overflow: hidden; clip-path: inset(calc((1 - var(--k)) * 100%) 0 0 0); }
.story__frame img { width: 100%; height: 100%; transform: scale(calc(1.2 - .2 * var(--k))); }
.story__frame figcaption { position: absolute; left: 0; top: 0; display: flex; gap: .6em; align-items: center; padding: .7em 1em; background: var(--ink); font-size: var(--step--1); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }
.story__frame figcaption span { color: var(--orange); }

@media (max-width: 899px) {
  .story { height: 260vh; padding-top: var(--space-xl); }
  .story__sticky { top: var(--header-h); height: calc(100svh - var(--header-h)); grid-template-columns: 1fr; gap: var(--space-m); align-content: start; padding-top: var(--space-s); }
  .story__frames { order: -1; }
  .story__text .h-xl { font-size: var(--step-3); }
  .story__intro { display: none; }
  .story__steps { margin-top: var(--space-s); }
  .story__bar { margin-top: var(--space-s); }
}

/* ---------- Prestations ---------- */
.services { padding-block: var(--space-xl); }
.svc-list { border-top: 1px solid rgba(20,20,20,.18); counter-reset: svc; }
.svc a {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 4rem minmax(0, 1.2fr) minmax(0, 1fr) 3rem; gap: var(--space-m); align-items: center;
  padding: clamp(1.1rem, 2vw, 1.7rem) 0; border-bottom: 1px solid rgba(20,20,20,.18);
  text-decoration: none; transition: color .4s var(--ease), padding .5s var(--ease);
}
.svc a::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease); }
.svc a:hover, .svc a:focus-visible { color: var(--chaux); padding-inline: 1rem; }
.svc a:hover::before, .svc a:focus-visible::before { transform: scaleY(1); }
.svc__num { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--tuile); }
.svc__name { font-family: var(--font-display); font-weight: 800; font-stretch: 118%; font-size: var(--step-3); line-height: 1; letter-spacing: -0.02em; }
.svc__name em { display: inline-block; vertical-align: middle; margin-left: .4em; padding: .35em .6em; font-family: var(--font-body); font-style: normal; font-stretch: 100%; font-size: var(--step--1); font-weight: 600; letter-spacing: 0; background: var(--orange); color: var(--ink); }
.svc__short { color: var(--muted); transition: color .4s; }
.svc a:hover .svc__short { color: #bdb8b0; }
.svc__arrow { width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border: 1.5px solid currentColor; transition: background .4s, color .4s, transform .5s var(--ease); }
.svc__arrow svg { width: 1.1rem; }
.svc a:hover .svc__arrow { background: var(--orange); color: var(--ink); border-color: var(--orange); transform: rotate(45deg); }
@media (max-width: 899px) {
  .svc a { grid-template-columns: 2.4rem minmax(0, 1fr) 2.6rem; gap: .3rem .8rem; }
  .svc__short { grid-column: 2; grid-row: 2; font-size: var(--step--1); }
  .svc__arrow { grid-column: 3; grid-row: 1 / 3; width: 2.4rem; height: 2.4rem; }
  .svc__name { font-size: var(--step-2); }
}

.cursor-img { position: fixed; left: 0; top: 0; z-index: 90; width: 300px; aspect-ratio: 4 / 3.3; pointer-events: none; clip-path: var(--house); opacity: 0; transform: translate(-50%, -50%) scale(.6); transition: opacity .35s var(--ease), scale .45s var(--ease); }
.cursor-img img { width: 100%; height: 100%; }
.cursor-img[data-on] { opacity: 1; scale: 1.67; }
@media (hover: none), (max-width: 899px) { .cursor-img { display: none; } }

/* ---------- Façade pendant / après ---------- */
.facade { background: var(--ink-2); padding-block: var(--space-xl); overflow: clip; }
.facade__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-m); align-items: start; }
.facade__text { grid-column: 1 / 6; grid-row: 1; padding-top: var(--space-l); }
.facade__text > p { color: #cfcbc4; margin: var(--space-m) 0 var(--space-l); max-width: 30rem; }
.facade figure { margin: 0; position: relative; }
.facade__img { overflow: hidden; }
.facade__img img { width: 100%; height: 100%; transform: scale(1.12) translateY(calc((var(--p, .5) - .5) * -6%)); }
.facade__before { grid-column: 7 / 12; grid-row: 1 / 3; transform: translateY(calc((.5 - var(--p, .5)) * 140px)); }
.facade__before .facade__img { aspect-ratio: 3 / 4; }
.facade__after { grid-column: 1 / 8; grid-row: 2; margin-top: var(--space-l) !important; transform: translateY(calc((var(--p, .5) - .5) * 90px)); z-index: 1; }
.facade__after .facade__img { aspect-ratio: 4 / 3; }
.facade figcaption { position: absolute; top: 0; left: 0; padding: .7em 1.1em; background: var(--orange); color: var(--ink); font-family: var(--font-display); font-weight: 800; font-stretch: 125%; text-transform: uppercase; font-size: var(--step-0); }
.facade__before figcaption { background: var(--chaux); }
@media (max-width: 899px) {
  .facade__grid { grid-template-columns: 1fr 1fr; }
  .facade__text { grid-column: 1 / -1; padding-top: 0; }
  .facade__before { grid-column: 1 / 2; grid-row: 2; transform: none; }
  .facade__after { grid-column: 2 / 3; grid-row: 2; margin-top: var(--space-l) !important; transform: none; }
  .facade__after .facade__img { aspect-ratio: 3 / 4; }
  .facade figcaption { font-size: var(--step--1); }
}

/* ---------- Chiffres ---------- */
.figures { padding-block: var(--space-xl); }
.figures__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--space-m); margin-bottom: var(--space-l); }
.figures__head .eyebrow { margin: 0; order: 2; }
.figures__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--color-line); }
.figures__list li { padding: var(--space-m) var(--space-m) 0 0; border-right: 1px solid var(--color-line); padding-left: var(--space-m); }
.figures__list li:first-child { padding-left: 0; }
.figures__list li:last-child { border-right: 0; }
.figures__value { display: flex; align-items: baseline; font-family: var(--font-display); font-weight: 800; font-stretch: 125%; font-size: clamp(3rem, 1rem + 6vw, 7.5rem); line-height: 1; margin-bottom: .2em; font-variant-numeric: tabular-nums; letter-spacing: -0.04em; }
.figures__value small { font-size: .5em; color: var(--orange); margin-left: .05em; }
.figures__label { color: var(--color-text-muted); }
.figures__note { margin-top: var(--space-l); font-size: var(--step--1); color: #77746f; }
@media (max-width: 899px) {
  .figures__list { grid-template-columns: 1fr 1fr; }
  .figures__list li { padding: var(--space-m) var(--space-s) var(--space-m) 0; border-bottom: 1px solid var(--color-line); }
  .figures__list li:nth-child(2n) { border-right: 0; padding-left: var(--space-s); }
  .figures__list li:nth-child(3) { padding-left: 0; }
}

/* ---------- Engagements ---------- */
.commit { padding-top: var(--space-xl); overflow: clip; }
.commit__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: var(--space-xl); align-items: start; }
.commit__head { position: sticky; top: calc(var(--header-h) + var(--space-l)); display: grid; gap: var(--space-l); justify-items: start; }
.commit__head .eyebrow { margin-bottom: calc(var(--space-l) * -1 + var(--space-s)); }
.commit__list { display: grid; }
.commit__list li { padding: var(--space-l) 0; border-top: 1px solid rgba(20,20,20,.18); display: grid; grid-template-columns: 4.2rem 1fr; column-gap: var(--space-m); }
.commit__list li:last-child { border-bottom: 1px solid rgba(20,20,20,.18); }
.commit__roof { grid-row: 1 / 3; width: 3.6rem; color: var(--orange); }
.commit__roof path { stroke-dasharray: 80; stroke-dashoffset: 80; transition: stroke-dashoffset 1.2s var(--ease) .2s; }
.is-visible .commit__roof path, html:not(.js-motion) .commit__roof path { stroke-dashoffset: 0; }
.commit__list h3 { font-size: var(--step-2); font-stretch: 112%; margin-bottom: .45em; }
.commit__list p { color: var(--muted); max-width: 32rem; }
@media (max-width: 899px) {
  .commit__grid { grid-template-columns: 1fr; gap: var(--space-l); }
  .commit__head { position: static; }
  .commit__list li { grid-template-columns: 3rem 1fr; }
  .commit__roof { width: 2.6rem; }
}
.suppliers { margin-top: var(--space-xl); padding-block: var(--space-l); background: var(--chaux-2); overflow: hidden; }
.suppliers__title { font-size: var(--step--1); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--tuile); }
.suppliers .marquee__track { gap: 3rem; animation-duration: 50s; }
.suppliers span { font-family: var(--font-display); font-weight: 700; font-stretch: 112%; font-size: var(--step-2); color: #6d6962; white-space: nowrap; }
.suppliers .marquee__track { animation-name: marquee-half; }
@keyframes marquee-half { to { translate: -50% 0; } }

/* ---------- Zone ---------- */
.zone { padding-block: var(--space-xl); overflow: clip; }
.zone__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-xl); align-items: center; }
.zone__text > p { color: #cfcbc4; margin: var(--space-m) 0; max-width: 32rem; }
.zone__towns { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: var(--space-l); }
.zone__towns li { padding: .45em .85em; border: 1px solid var(--color-line); font-size: var(--step--1); font-weight: 500; transition: border-color .3s, color .3s; }
.zone__towns li:first-child { border-color: var(--orange); color: var(--orange); }
.zone__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-m); }
.zone__map { margin: 0; }
.zone__map svg { width: 100%; max-height: 82vh; overflow: visible; }
.zone__map { --d: clamp(0, calc(var(--p, 1) * 2.4 - .5), 1); }
.zone__ring { fill: none; stroke: rgba(244,241,236,.22); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: calc(1 - clamp(0, calc(var(--p, 1) * 2.6 - .4 - var(--i) * .25), 1)); }
.zone__km { fill: #77746f; font-size: 13px; font-family: var(--font-body); letter-spacing: .1em; }
.zone__town { opacity: clamp(0, calc(var(--p, 1) * 5 - 1.3 - var(--i) * .12), 1); transition: opacity .2s; }
.zone__town line { stroke: var(--orange); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: calc(1 - clamp(0, calc(var(--p, 1) * 5 - 1.3 - var(--i) * .12), 1)); opacity: .55; }
.zone__town circle { fill: var(--chaux); }
.zone__town text { fill: var(--chaux); font-family: var(--font-body); font-weight: 600; font-size: 17px; }
.zone__town--home circle { fill: var(--orange); }
.zone__town--home text { fill: var(--orange); font-family: var(--font-display); font-weight: 800; font-size: 24px; font-stretch: 125%; }
@media (max-width: 899px) {
  .zone__grid { grid-template-columns: 1fr; gap: var(--space-l); }
  .zone__map { order: -1; max-width: 26rem; margin-inline: auto; width: 100%; }
}

/* ---------- Devis ---------- */
.quote { background: var(--ink-2); padding-block: var(--space-xl); border-top: 1px solid var(--color-line); }
.quote__inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--space-xl); align-items: start; }
.quote__intro { color: #cfcbc4; font-size: var(--step-1); margin-top: var(--space-m); max-width: 28rem; }
.quote__side { margin-top: var(--space-l); padding-top: var(--space-l); border-top: 1px solid var(--color-line); }
.quote__side-title { color: var(--color-text-muted); margin-bottom: .3em; }
.quote__phone { display: inline-block; font-family: var(--font-display); font-weight: 800; font-stretch: 125%; font-size: var(--step-3); text-decoration: none; white-space: nowrap; color: var(--orange); margin-bottom: var(--space-m); letter-spacing: -0.02em; }
.quote__phone:hover { color: var(--chaux); }
.quote__side dl { display: grid; gap: var(--space-s); font-size: var(--step--1); }
.quote__side dt { color: var(--color-text-muted); text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 600; }
.quote__side dd a { text-decoration-color: rgba(244,241,236,.3); text-underline-offset: 3px; }

.qform { position: relative; background: var(--chaux); color: var(--ink); padding: clamp(1.4rem, 1rem + 2.5vw, 3rem); }
.qform__progress { position: absolute; inset: 0 0 auto; height: 5px; background: var(--chaux-2); }
.qform__progress span { display: block; height: 100%; background: var(--orange); width: calc(var(--step, 1) / 3 * 100%); transition: width .6s var(--ease); }
.qform__count { font-size: var(--step--1); color: #6d6962; font-weight: 500; margin-bottom: var(--space-s); }
.qform__count b { color: var(--ink); }
.qform__step { display: none; }
.qform__step.is-active { display: block; animation: stepin .6s var(--ease); }
@keyframes stepin { from { opacity: 0; transform: translateX(24px); } }
.qform__q { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-size: var(--step-2); line-height: 1.05; margin-bottom: var(--space-m); padding: 0; }
.chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: flex; align-items: center; min-height: 54px; padding: .7em 1em; border: 1.5px solid rgba(20,20,20,.2); font-weight: 600; transition: background .25s, color .25s, border-color .25s; }
.chip--urgent span { border-color: var(--orange); }
.chip--urgent span::before { content: ""; width: .5em; height: .5em; border-radius: 50%; background: var(--orange); margin-right: .6em; flex: none; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: var(--chaux); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.field { display: grid; gap: .35rem; margin-bottom: var(--space-m); }
.field label { font-weight: 600; font-size: var(--step--1); }
.field input, .field select, .field textarea { width: 100%; min-height: 54px; padding: .8em 1em; background: #fff; border: 1.5px solid rgba(20,20,20,.2); border-radius: 0; color: var(--ink); appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.6em; }
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(233,78,32,.2); }
.field [aria-invalid="true"], .chips[aria-invalid="true"] .chip span { border-color: #c0261b; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--space-s); }
.consent { display: flex; gap: .8em; align-items: flex-start; font-size: var(--step--1); color: #4f4b45; cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--orange); }
.consent a { color: inherit; }
.consent[aria-invalid="true"] { color: #c0261b; }
.qform__nav { display: flex; justify-content: space-between; gap: .75rem; margin-top: var(--space-l); }
.qform__nav [data-quote-next], .qform__nav [data-quote-submit] { margin-left: auto; --hover-bg: var(--ink); --hover-fg: var(--chaux); }
.qform__nav .btn--ghost { --hover-bg: var(--chaux-2); }
.qform__done { padding: var(--space-m) 0; outline: none; }
.qform__done-title { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-size: var(--step-3); line-height: 1; margin-bottom: .4em; }
.qform__fallback { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: var(--space-m); }
.qform__error { color: #c0261b; font-weight: 600; margin-top: var(--space-s); }
.qform[data-done] .qform__step, .qform[data-done] .qform__nav, .qform[data-done] .qform__count { display: none; }
@media (max-width: 899px) {
  .quote__inner { grid-template-columns: 1fr; gap: var(--space-l); }
  .quote__side { display: none; }
  .chips { grid-template-columns: 1fr; }
  .chip span { min-height: 50px; }
  .field-row { grid-template-columns: 1fr; }
  .qform { margin-inline: calc(var(--gutter) * -1); }
}

/* ---------- FAQ ---------- */
.faq { padding-block: var(--space-xl); }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--space-xl); align-items: start; }
.faq__list { border-top: 1px solid rgba(20,20,20,.18); }
.faq__item { border-bottom: 1px solid rgba(20,20,20,.18); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-m); padding: var(--space-m) 0; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 700; font-stretch: 108%; font-size: var(--step-1); line-height: 1.2; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { position: relative; width: 2.2rem; height: 2.2rem; flex: none; border: 1.5px solid currentColor; transition: background .3s, transform .5s var(--ease); }
.faq__item summary i::before, .faq__item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: currentColor; translate: -50% -50%; }
.faq__item summary i::after { rotate: 90deg; transition: rotate .4s var(--ease); }
.faq__item[open] summary i { background: var(--orange); border-color: var(--orange); transform: rotate(180deg); }
.faq__item[open] summary i::after { rotate: 0deg; }
.faq__a { padding: 0 3.5rem var(--space-m) 0; color: #4f4b45; }
@media (max-width: 899px) { .faq__grid { grid-template-columns: 1fr; gap: var(--space-l); } .faq__a { padding-right: 0; } }

/* ---------- Appel final ---------- */
.final { position: relative; background: var(--orange); color: var(--ink); padding-block: var(--space-xl) calc(var(--space-xl) + 4rem); overflow: hidden; }
.final__inner { position: relative; z-index: 1; display: grid; justify-items: start; gap: var(--space-m); }
.final__title { font-size: var(--step-4); font-stretch: 112%; line-height: 1; max-width: 18ch; }
.final__text { font-size: var(--step-1); font-weight: 500; }
.final__phone { display: inline-flex; align-items: center; gap: .3em; font-family: var(--font-display); font-weight: 800; font-stretch: 125%; font-size: clamp(2.4rem, .8rem + 7.5vw, 8.5rem); line-height: 1; text-decoration: none; white-space: nowrap; letter-spacing: -0.04em; margin-block: var(--space-s); background: linear-gradient(var(--ink), var(--ink)) 0 100% / 0 .08em no-repeat; transition: background-size .7s var(--ease); }
.final__phone:hover { background-size: 100% .08em; }
.final__phone .pulse { background: var(--ink); width: .14em; height: .14em; margin-right: .25em; }
.final__phone .pulse::after { background: var(--ink); }
.final__roofs { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(90px, 14vw, 220px); color: rgba(20,20,20,.28); }
.final__roofs path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease); }
.final.is-visible .final__roofs path, html:not(.js-motion) .final__roofs path { stroke-dashoffset: 0; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); padding-top: var(--space-xl); overflow: hidden; }
.site-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--space-l); }
.site-footer__brand img { width: 220px; margin-bottom: var(--space-m); }
.site-footer__brand p { color: var(--color-text-muted); max-width: 22rem; font-size: var(--step--1); }
.site-footer__title { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); }
.site-footer ul { display: grid; gap: .45rem; font-size: var(--step--1); color: #cfcbc4; }
.site-footer ul a { text-decoration: none; }
.site-footer ul a:hover { color: var(--orange); }
.site-footer__giant { margin: var(--space-l) 0 0; text-align: center; font-family: var(--font-display); font-weight: 900; font-stretch: 125%; font-size: 18.6vw; line-height: .78; letter-spacing: -0.05em; color: var(--ink-3); user-select: none; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-s); padding-block: var(--space-m); border-top: 1px solid var(--color-line); font-size: .8rem; color: #8b8780; }
.site-footer__bottom p { margin: 0; }
@media (max-width: 899px) {
  .site-footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-l) var(--space-m); }
  .site-footer ul { overflow-wrap: anywhere; }
  .final__phone { font-size: 9.2vw; }
  .site-footer__brand { grid-column: 1 / -1; }
}

/* ---------- Barre d'action mobile ---------- */
.sticky-cta { display: none; }
@media (max-width: 899px) {
  .sticky-cta {
    position: fixed; z-index: 95; left: .6rem; right: .6rem; bottom: calc(.6rem + env(safe-area-inset-bottom));
    display: grid; grid-template-columns: 1fr 1.25fr; gap: .4rem; padding: .4rem;
    background: rgba(20,20,20,.86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border: 1px solid var(--color-line);
    transition: transform .5s var(--ease), opacity .5s;
  }
  .sticky-cta[data-hide] { transform: translateY(140%); opacity: 0; }
  .sticky-cta a { display: flex; align-items: center; justify-content: center; gap: .5em; min-height: 50px; font-weight: 600; text-decoration: none; }
  .sticky-cta svg { width: 18px; }
  .sticky-cta__call { border: 1.5px solid rgba(244,241,236,.35); }
  .sticky-cta__quote { background: var(--orange); color: var(--ink); }
  body { padding-bottom: 5.4rem; }
  body[data-menu-open] .sticky-cta { z-index: 101; }
}

/* =========================================================================
   Pages prestations
   ========================================================================= */
.crumbs { display: flex; gap: .6em; font-size: var(--step--1); color: var(--color-text-muted); margin-bottom: var(--space-l); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--orange); }

.sv-hero { position: relative; padding: calc(var(--header-h) + var(--space-l)) 0 var(--space-xl); overflow: clip; }
.sv-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--space-xl); align-items: end; }
.sv-hero__num { position: absolute; right: var(--gutter); top: calc(var(--header-h) + .5rem); margin: 0; font-family: var(--font-display); font-weight: 900; font-stretch: 125%; font-size: clamp(5rem, 2rem + 14vw, 16rem); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(244,241,236,.12); letter-spacing: -0.05em; pointer-events: none; }
.sv-hero__num span { font-size: .3em; }
.sv-hero .h-xxl { font-size: clamp(2.6rem, 1.2rem + 5.6vw, 6.8rem); }
.sv-hero__lead { font-size: var(--step-1); color: #d9d5ce; max-width: 38rem; margin: var(--space-m) 0 var(--space-l); line-height: 1.45; }
.sv-hero__media { position: relative; margin: 0; aspect-ratio: 4 / 3.5; clip-path: var(--house); }
.sv-hero__media img { width: 100%; height: 100%; transform: scale(calc(1.25 - .2 * var(--p, 0))); }
.sv-hero__media--graphic { background: var(--ink-2); color: var(--orange); display: grid; place-items: end center; }
.sv-hero__media--graphic svg { width: 100%; height: 88%; }
.sv-hero__media--graphic path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s var(--ease) forwards; animation-delay: calc(.2s + var(--i) * .12s); opacity: calc(1 - var(--i) * .11); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.sv-hero--urgent .sv-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(233,78,32,.35), transparent 60%); }
@media (max-width: 899px) {
  .sv-hero__grid { grid-template-columns: 1fr; gap: var(--space-l); }
  .sv-hero__num { top: calc(var(--header-h) + 2.5rem); }
  .sv-hero .hero__ctas .btn { flex: 1 1 100%; }
}

.sv-body { padding-block: var(--space-xl); }
.sv-body__grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: var(--space-xl); align-items: start; }
.sv-body__head { position: sticky; top: calc(var(--header-h) + var(--space-l)); }
.sv-proof { display: grid; gap: .5rem; margin-top: var(--space-l); }
.sv-proof li { display: flex; align-items: center; gap: .7em; font-weight: 600; }
.sv-proof li::before { content: ""; width: 1em; height: .6em; background: var(--orange); clip-path: polygon(50% 0, 100% 75%, 86% 100%, 50% 40%, 14% 100%, 0 75%); }
.sv-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--space-l); }
.sv-list li { padding: var(--space-m) 0 var(--space-l); border-top: 1.5px solid var(--ink); }
.sv-list__n { display: block; font-weight: 600; color: var(--tuile); margin-bottom: var(--space-s); font-size: var(--step--1); }
.sv-list h3 { font-size: var(--step-2); font-stretch: 108%; margin-bottom: .45em; line-height: 1.05; }
.sv-list p { color: var(--muted); }
@media (max-width: 899px) {
  .sv-body__grid { grid-template-columns: 1fr; gap: var(--space-l); }
  .sv-body__head { position: static; }
  .sv-list { grid-template-columns: 1fr; }
}

.sv-method { padding-block: var(--space-xl); position: relative; }
.sv-method__list { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-m); margin-top: var(--space-l); }
.sv-method__list li { transition-delay: calc(var(--i) * 120ms); }
.sv-method__step { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; margin-bottom: var(--space-m); background: var(--ink); border: 1.5px solid var(--orange); color: var(--orange); font-family: var(--font-display); font-weight: 800; font-stretch: 125%; font-size: var(--step-1); }
.sv-method__list h3 { font-size: var(--step-1); font-stretch: 112%; margin-bottom: .4em; }
.sv-method__list p { color: var(--color-text-muted); font-size: var(--step--1); max-width: 18rem; }
.sv-method__list::before, .sv-method__list::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 1.7rem; height: 1.5px; background: var(--color-line); }
.sv-method__list::after { background: var(--orange); transform-origin: left; transform: scaleX(clamp(0, calc(var(--p, 1) * 2 - .4), 1)); }
@media (max-width: 899px) {
  .sv-method__list { grid-template-columns: 1fr 1fr; gap: var(--space-l) var(--space-m); }
  .sv-method__list::before, .sv-method__list::after { display: none; }
}

.sv-others { padding-block: var(--space-l) var(--space-xl); border-top: 1px solid var(--color-line); }
.sv-others__list { display: flex; flex-wrap: wrap; gap: .3rem 2.2rem; }
.sv-others__list a { font-family: var(--font-display); font-weight: 800; font-stretch: 118%; font-size: var(--step-2); text-decoration: none; color: #8b8780; transition: color .3s; line-height: 1.3; }
.sv-others__list a:hover { color: var(--chaux); }
.sv-others__list a span { color: var(--orange); font-size: .7em; }

/* ---------- Réalisations ---------- */
.rl-hero { padding: calc(var(--header-h) + var(--space-l)) 0 var(--space-l); }
.rl-grid { columns: 2; column-gap: var(--space-l); padding-bottom: var(--space-xl); }
.rl-item { margin: 0 0 var(--space-l); break-inside: avoid; }
.rl-item__img { overflow: hidden; }
.rl-item img { width: 100%; transform: scale(1.12) translateY(calc((var(--p, .5) - .5) * -7%)); }
.rl-item figcaption { display: flex; flex-direction: column; gap: .15em; padding-top: .8rem; font-weight: 600; }
.rl-item figcaption span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); font-weight: 600; }
@media (max-width: 699px) { .rl-grid { columns: 1; } }

/* ---------- Légal ---------- */
.legal { padding: calc(var(--header-h) + var(--space-l)) 0 var(--space-xl); max-width: 50rem; }
.legal h1 { margin-bottom: var(--space-l); }
.legal__block { padding: var(--space-m) 0; border-top: 1px solid var(--color-line); }
.legal__block h2 { font-size: var(--step-1); font-stretch: 112%; margin-bottom: .7em; color: var(--orange); }
.legal__block p { color: #cfcbc4; }
