/* ==========================================================================
   Rénovation 18 — design du site
   Anthracite ardoise + terre cuite + enduit chaux. Titres condensés (comme le
   logo), texte en slab (écho de la carte de visite). Rayon quasi nul.
   ========================================================================== */

html { scroll-padding-top: calc(var(--header-h) + 8px); }
body { font-weight: 400; }
::selection { background: var(--terre); color: #fff; }

/* ---------- Typo utilitaire ---------- */
.eyebrow {
  font-family: var(--font-display); font-weight: 700; font-size: var(--step--1);
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--terre-text);
  display: flex; align-items: center; gap: 0.7em; margin-bottom: var(--space-s);
}
.eyebrow::before { content: ""; width: 1.6em; height: 0.55em; background:
  linear-gradient(var(--terre) 0 0) 0 0 / 46% 100% no-repeat,
  linear-gradient(var(--terre) 0 0) 100% 0 / 46% 100% no-repeat; }
.eyebrow--light { color: var(--pierre); }
.h2 {
  font-family: var(--font-display); font-weight: 800; font-stretch: 75%;
  font-size: var(--step-4); line-height: 0.92; text-transform: uppercase; letter-spacing: -0.005em;
  margin-bottom: var(--space-m);
}
.lead { font-size: var(--step-1); line-height: 1.45; color: var(--color-text-muted); max-width: 34ch; }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--ardoise); --fg: var(--chaux); --sh: var(--terre);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  padding: 0.95em 1.4em; border: 2px solid var(--bg); background: var(--bg); color: var(--fg);
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: 0.02em;
  text-decoration: none; border-radius: var(--radius); cursor: pointer; line-height: 1.1;
  box-shadow: 0 0 0 var(--sh); transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn:hover { transform: translate(-3px, -3px); box-shadow: 4px 4px 0 var(--sh); }
.btn:active { transform: none; box-shadow: 0 0 0 var(--sh); }
.btn--brick { --bg: var(--terre); --fg: #fff; --sh: var(--ardoise); }
.btn--brick { color: #fff; background: #C45A22; border-color: #C45A22; } /* AA sur texte blanc */
.btn--dark { --bg: var(--ardoise); --fg: var(--chaux); --sh: var(--terre); }
.btn--line { background: transparent; color: var(--ardoise); border-color: var(--ardoise); --sh: var(--ardoise); }
.btn--line:hover { background: var(--ardoise); color: var(--chaux); }
.btn--chaux { --bg: var(--chaux); --fg: var(--ardoise); --sh: var(--terre); }
.btn--lg { font-size: 1.08rem; padding: 1.1em 1.6em; }
.btn--block { width: 100%; }
.btn svg { flex: none; }

.stars { color: var(--terre); letter-spacing: 0.08em; }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--header-h);
  transition: background .35s, box-shadow .35s, transform .45s var(--ease);
}
.site-header { background: var(--chaux); }
.site-header[data-scrolled] { background: rgba(244, 239, 230, 0.95); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--color-line); }
.site-header[data-hidden] { transform: translateY(-100%); }
.site-header__inner { height: 100%; width: min(100% - 2 * var(--gutter), 90rem); margin-inline: auto; display: flex; align-items: center; gap: var(--space-m); }
.site-header__logo { flex: none; display: block; }
.site-header__logo img { height: 46px; width: auto; }
.site-nav { margin-left: auto; align-items: center; gap: var(--space-m); }
@media (min-width: 900px) { .site-nav { display: flex; } }
.site-nav__list { display: flex; gap: clamp(0.8rem, 1.6vw, 1.8rem); }
.site-nav__list a {
  font-family: var(--font-display); font-weight: 600; text-decoration: none; font-size: 1rem;
  background: linear-gradient(var(--terre) 0 0) 0 100% / 0 2px no-repeat; transition: background-size .3s var(--ease); padding-block: 4px;
}
.site-nav__list a:hover { background-size: 100% 2px; }
.site-nav__cta { padding: 0.75em 1.1em; font-size: 0.95rem; }
.site-nav__hours { display: none; }
.site-header__phone {
  display: none; align-items: center; gap: 0.45em; font-family: var(--font-display); font-weight: 700;
  text-decoration: none; color: var(--ardoise); white-space: nowrap;
}
@media (min-width: 1180px) { .site-header__phone { display: inline-flex; } }

@media (max-width: 899px) {
  :root { --header-h: 64px; }
  .site-header { background: rgba(244, 239, 230, 0.96); box-shadow: 0 1px 0 var(--color-line); }
  .site-header__logo img { height: 36px; }
  .site-header__toggle {
    margin-left: auto; width: 46px; height: 46px; border: 0; background: var(--ardoise); color: var(--chaux);
    align-items: center; justify-content: center; border-radius: var(--radius); cursor: pointer;
  }
  .site-header__toggle-bars, .site-header__toggle-bars::before, .site-header__toggle-bars::after {
    display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: transform .3s var(--ease), background .2s;
  }
  .site-header__toggle-bars::before, .site-header__toggle-bars::after { content: ""; position: absolute; left: 0; }
  .site-header__toggle-bars::before { top: -6px; } .site-header__toggle-bars::after { top: 6px; }
  [aria-expanded="true"] .site-header__toggle-bars { background: transparent; }
  [aria-expanded="true"] .site-header__toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  [aria-expanded="true"] .site-header__toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
  .site-nav[data-open] {
    position: fixed; inset: var(--header-h) 0 0; background: var(--ardoise); color: var(--chaux);
    display: flex; flex-direction: column; align-items: stretch; gap: var(--space-l); padding: var(--space-l) var(--gutter);
    animation: menuIn .45s var(--ease);
  }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list a { display: block; font-size: 2.4rem; font-weight: 800; font-stretch: 75%; text-transform: uppercase; padding: 0.2em 0; border-bottom: 1px solid rgba(244,239,230,.12); }
  .site-nav__hours { display: block; color: var(--pierre); font-size: var(--step--1); }
  @keyframes menuIn { from { opacity: 0; transform: translateY(-12px); } }
}

/* ---------- Héros ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr);
  padding-top: var(--header-h); overflow: clip;
}
.hero__text { padding: var(--space-l) var(--gutter) 5rem; position: relative; z-index: 2; }
.hero__title {
  font-family: var(--font-display); font-weight: 800; font-stretch: 75%; text-transform: uppercase;
  font-size: var(--step-5); line-height: 0.86; letter-spacing: -0.01em; margin: 0 0 var(--space-m);
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero__title .line > span { display: inline-block; animation: lineUp 1.1s var(--ease) both; animation-delay: calc(150ms + var(--i) * 110ms); }
.hero__title .line:last-child { color: var(--terre); }
@keyframes lineUp { from { transform: translateY(105%); } }
.hero__sub { font-size: var(--step-1); line-height: 1.4; max-width: 30ch; color: var(--color-text-muted); animation: fadeUp 1s var(--ease) .55s both; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: var(--space-l); animation: fadeUp 1s var(--ease) .7s both; }
.hero__proof {
  display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0.35em 0.7em; margin-top: var(--space-m);
  text-decoration: none; font-size: var(--step--1); color: var(--color-text-muted); animation: fadeUp 1s var(--ease) .85s both;
}
.hero__proof strong { color: var(--ardoise); font-family: var(--font-display); }
.hero__proof span:last-child { font-style: italic; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } }

.hero__media { margin: 0; position: relative; min-height: 58svh; }
.hero__img { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0 0 0 0); animation: unveil 1.4s var(--ease) .1s both; }
.hero__img img { width: 100%; height: 115%; object-position: 62% 40%; animation: settle 2.4s var(--ease) .1s both; }
@keyframes unveil { from { clip-path: inset(0 0 100% 0); } }
@keyframes settle { from { transform: scale(1.12); } }

.stamp {
  position: absolute; z-index: 3; width: clamp(118px, 13vw, 170px); aspect-ratio: 1; right: var(--gutter); top: 0; translate: 0 -50%;
  background: var(--chaux); border-radius: 50%; display: grid; place-items: center; box-shadow: 0 0 0 6px var(--chaux);
  animation: fadeUp 1s var(--ease) 1s both;
}
.stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(var(--rot, 0deg)); }
.stamp text { font-family: var(--font-display); font-weight: 700; font-size: 17.4px; letter-spacing: 0.14em; text-transform: uppercase; fill: #B3341B; }
.stamp img { width: 34%; }

@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); align-items: center; }
  .hero__text { padding: var(--space-xl) var(--space-l) var(--space-xl) max(var(--gutter), calc((100vw - 90rem) / 2 + var(--gutter))); }
  .hero__media { position: absolute; inset: var(--header-h) 0 0 auto; width: 54%; min-height: 0; }
  .hero__img { inset: 0; }
  .stamp { left: 0; right: auto; top: auto; bottom: 14%; translate: -50% 0; }
  .hero__title { font-size: clamp(3.4rem, 1rem + 6.4vw, 7.4rem); }
  .hero__text { padding-block: var(--space-l); }
}

/* ---------- Bandeau métiers ---------- */
.marquee { background: var(--ardoise); color: var(--chaux); overflow: hidden; padding: 1.15rem 0; border-block: 6px solid var(--terre); }
.marquee__track { display: flex; align-items: center; gap: 1.6rem; width: max-content; will-change: transform; }
.marquee span { font-family: var(--font-display); font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: clamp(1.5rem, 1rem + 2.2vw, 2.6rem); white-space: nowrap; }
.marquee i { width: 0.9rem; height: 0.9rem; background: var(--terre); transform: rotate(45deg); flex: none; }

/* ---------- Avant / après (rideau au scroll) ---------- */
.chantier { position: relative; height: 230vh; background: var(--chaux); }
.chantier__sticky { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; padding-top: var(--header-h); }
.chantier__grid { display: grid; gap: var(--space-l); align-items: center; }
.chantier__body { color: var(--color-text-muted); max-width: 42ch; }
.chantier__hint { font-family: var(--font-display); font-weight: 600; font-size: var(--step--1); letter-spacing: .08em; text-transform: uppercase; color: var(--terre-text); margin-top: var(--space-m); }
.compare { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ardoise); box-shadow: 14px 14px 0 var(--terre); }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 0 0 calc(var(--p) * 100%)); }
.compare__before img { filter: saturate(.85); }
.compare__line { position: absolute; top: 0; bottom: 0; left: calc(var(--p) * 100%); width: 4px; margin-left: -2px; background: var(--chaux); box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.compare__line::after { content: "⇆"; position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--chaux); color: var(--ardoise); font-weight: 700; }
.compare__tag { position: absolute; top: 1rem; font-family: var(--font-display); font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 1.3rem; padding: .3em .7em; background: var(--ardoise); color: var(--chaux); transition: opacity .3s; }
.compare__tag--before { right: 1rem; opacity: calc(1.6 - var(--p) * 2); }
.compare__tag--after { left: 1rem; background: var(--terre); color: #fff; opacity: calc(var(--p) * 2 - .4); }
@media (min-width: 900px) {
  .chantier__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-xl); }
}
@media (max-width: 899px) {
  .chantier { height: 200vh; }
  .chantier__grid { gap: var(--space-m); }
  .chantier .h2 { font-size: var(--step-3); }
  .chantier__body p + p, .chantier__hint { display: none; }
}

/* ---------- Services ---------- */
.services { background: var(--sable); padding-block: var(--space-2xl) var(--space-xl); position: relative; }
.services::before { /* rang de briques en haut de section */
  content: ""; position: absolute; inset: 0 0 auto; height: 22px;
  background:
    repeating-linear-gradient(90deg, var(--terre) 0 64px, var(--chaux) 64px 68px) 0 0 / 100% 9px no-repeat,
    repeating-linear-gradient(90deg, var(--terre) 0 64px, var(--chaux) 64px 68px) 34px 13px / calc(100% + 34px) 9px no-repeat;
  opacity: .9;
}
.services__head { display: grid; gap: 0; margin-bottom: var(--space-xl); }
@media (min-width: 900px) {
  .services__head { grid-template-columns: 7fr 5fr; align-items: end; column-gap: var(--space-xl); }
  .services__head .eyebrow { grid-column: 1 / -1; }
  .services__head .lead { margin-bottom: var(--space-m); }
}
.services__layout { display: grid; gap: var(--space-l); }
.services__visual { display: none; }
.svc-group { margin-bottom: var(--space-l); }
.svc-group__name {
  font-family: var(--font-display); font-weight: 700; font-size: var(--step--1); letter-spacing: .16em; text-transform: uppercase;
  color: var(--terre-text); padding-bottom: .6rem; border-bottom: 2px solid var(--ardoise);
}
.svc { display: grid; grid-template-columns: 3.2rem 1fr; gap: var(--space-s); padding-block: var(--space-m); border-bottom: 1px solid var(--color-line); transition: opacity .4s; }
.svc__num { font-family: var(--font-display); font-weight: 800; font-stretch: 75%; font-size: 1.6rem; color: var(--terre); line-height: 1; padding-top: .2rem; }
.svc__title { font-family: var(--font-display); font-weight: 800; font-stretch: 80%; font-size: var(--step-2); line-height: 1; text-transform: uppercase; margin-bottom: .5rem; }
.svc__text { color: var(--color-text-muted); max-width: 46ch; }
.svc__img { margin-top: var(--space-s); aspect-ratio: 4 / 3; width: 100%; }
.services__list > .btn { margin-top: var(--space-m); }

@media (min-width: 900px) {
  .services__layout { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-xl); align-items: start; }
  .services__visual { display: block; position: sticky; top: calc(var(--header-h) + 4vh); height: calc(100vh - var(--header-h) - 8vh); }
  .services__frame { position: relative; height: 100%; overflow: hidden; background: var(--ardoise); }
  .services__frame img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transform: scale(1.08); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
  .services__frame img.is-active { opacity: 1; transform: none; }
  .services__counter { position: absolute; left: 0; bottom: 0; background: var(--terre); color: #fff; font-family: var(--font-display); font-weight: 800; font-stretch: 75%; font-size: 3rem; line-height: 1; padding: .25em .4em; }
  .svc__img { display: none; }
  .svc { opacity: .38; padding-block: var(--space-l); }
  .svc.is-active { opacity: 1; }
  .svc-group:last-of-type .svc:last-child { padding-bottom: 30vh; }
}

/* ---------- Avis ---------- */
.avis { position: relative; background: var(--ardoise); color: var(--chaux); padding-block: var(--space-2xl); overflow: hidden; isolation: isolate; }
.avis__bg { position: absolute; inset: -12% 0; z-index: -1; opacity: .22; }
.avis__bg img { width: 100%; height: 100%; }
.avis::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, var(--ardoise) 30%, rgba(35,39,43,.6)); }
.avis__score { display: flex; align-items: baseline; gap: .6rem; margin-bottom: var(--space-l); flex-wrap: wrap; }
.avis__num { font-family: var(--font-display); font-weight: 800; font-stretch: 75%; font-size: var(--step-4); line-height: .9; color: var(--terre); }
.avis__score .stars { font-size: 1.4rem; }
.avis__label { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .14em; font-size: var(--step--1); color: var(--pierre); }
.avis__quote { margin: 0; max-width: 62rem; }
.avis__quote blockquote { margin: 0; }
.avis__quote p {
  font-family: var(--font-body); font-style: italic; font-size: clamp(1.6rem, 1.1rem + 2.3vw, 3.1rem); line-height: 1.22; text-indent: -0.42em;
}
.avis__quote p::before { content: "«\00a0"; color: var(--terre); font-style: normal; }
.avis__quote p::after { content: "\00a0»"; color: var(--terre); font-style: normal; }
[data-words] .w { opacity: .14; transition: opacity .5s; }
[data-words] .w.on { opacity: 1; }
.avis__quote figcaption { margin-top: var(--space-l); display: flex; flex-direction: column; gap: .2rem; }
.avis__quote figcaption strong { font-family: var(--font-display); font-size: var(--step-1); }
.avis__quote figcaption span { color: var(--pierre); font-size: var(--step--1); }
.avis__links { margin-top: var(--space-l); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-m); }
.link-light { color: var(--pierre); text-underline-offset: 4px; }
.link-light:hover { color: #fff; }

/* ---------- Méthode ---------- */
.methode { padding-block: var(--space-2xl); }
.methode .h2 { max-width: 16ch; }
.steps-wrap { position: relative; margin-top: var(--space-xl); }
.steps { display: grid; gap: var(--space-l); position: relative; }
.steps__rail { position: absolute; left: calc(1.6rem - 1.5px); top: 0; bottom: 0; width: 3px; background: var(--color-line); }
.steps__fill { position: absolute; inset: 0; background: var(--terre); transform-origin: top; transform: scaleY(var(--sp, 0)); }
.step { position: relative; padding-left: 5rem; min-height: 3.2rem; transition-delay: var(--d, 0ms); }
.step__num {
  position: absolute; left: 0; top: 0; width: 3.2rem; height: 3.2rem; display: grid; place-items: center; z-index: 1;
  background: var(--ardoise); color: var(--chaux); font-family: var(--font-display); font-weight: 800; font-size: 1.5rem;
}
.step__title { font-family: var(--font-display); font-weight: 800; font-stretch: 80%; text-transform: uppercase; font-size: var(--step-2); margin-bottom: .5rem; }
.step p { color: var(--color-text-muted); max-width: 34ch; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: var(--space-l); }
  .steps__rail { left: 0; right: 0; top: calc(1.6rem - 1.5px); bottom: auto; width: auto; height: 3px; }
  .steps__fill { transform-origin: left; transform: scaleX(var(--sp, 0)); }
  .step { padding-left: 0; padding-top: 5rem; }
}

/* ---------- Benne ---------- */
.benne { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; color: var(--ardoise); }
.benne__img { position: absolute; inset: -10% 0; }
.benne__img img { width: 100%; height: 100%; object-position: 50% 60%; }
.benne__card {
  position: relative; background: var(--chaux); margin: 0 var(--gutter) var(--gutter); padding: var(--space-l);
  max-width: 34rem; box-shadow: 12px 12px 0 var(--terre);
}
.benne__card .h2 { font-size: var(--step-3); }
.benne__card p { color: var(--color-text-muted); }
.benne__card .btn { margin-top: var(--space-s); }
@media (max-width: 899px) {
  .benne { display: block; min-height: 0; }
  .benne__img { position: relative; inset: auto; aspect-ratio: 4 / 3; }
  .benne__card { margin: -3rem var(--gutter) var(--space-xl); }
}
@media (min-width: 900px) { .benne__card { margin-left: max(var(--gutter), calc((100vw - var(--container)) / 2)); margin-bottom: var(--space-xl); } }

/* ---------- Entreprise locale ---------- */
.local { padding-block: var(--space-2xl) var(--space-xl); }
.local__grid { display: grid; gap: var(--space-l); align-items: center; }
.local__img { margin: 0; }
.local__img img { width: 100%; aspect-ratio: 4 / 3; }
.local__text > div { color: var(--color-text-muted); max-width: 44ch; }
@media (min-width: 900px) {
  .local__grid { grid-template-columns: 7fr 5fr; gap: var(--space-xl); }
  .local__img { margin-left: calc(-1 * max(var(--gutter), (100vw - var(--container)) / 2)); }
}

/* ---------- Zone ---------- */
.zone { padding-block: var(--space-xl) var(--space-2xl); }
.zone__grid { display: grid; gap: var(--space-l); align-items: stretch; }
.zone__grid > div > p { color: var(--color-text-muted); max-width: 46ch; }
.towns { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: var(--space-m); }
.towns li { font-family: var(--font-display); font-weight: 600; font-size: .95rem; padding: .45em .8em; border: 1.5px solid var(--ardoise); transition-delay: var(--d, 0ms); }
.towns li:first-child { background: var(--ardoise); color: var(--chaux); }
.zone__map { position: relative; min-height: 360px; background: var(--ardoise); overflow: hidden; }
.zone__map::before { /* trame de parcelles, en attendant la vraie carte */
  content: ""; position: absolute; inset: 0; opacity: .5;
  background:
    radial-gradient(circle at 48% 52%, rgba(212,105,47,.55) 0 6%, transparent 6.3%),
    radial-gradient(circle at 48% 52%, transparent 0 22%, rgba(212,105,47,.35) 22.3% 22.8%, transparent 23.1% 40%, rgba(212,105,47,.25) 40.3% 40.8%, transparent 41%),
    repeating-linear-gradient(28deg, transparent 0 46px, rgba(244,239,230,.07) 46px 47px),
    repeating-linear-gradient(-64deg, transparent 0 70px, rgba(244,239,230,.07) 70px 71px);
}
.zone__map-btn { position: absolute; inset: 0; width: 100%; border: 0; background: transparent; color: var(--chaux); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; font-family: var(--font-display); }
.zone__map-btn img { background: var(--chaux); padding: 10px; width: 72px; height: 72px; }
.zone__map-btn span { font-weight: 800; font-size: 1.3rem; text-transform: uppercase; letter-spacing: .04em; border-bottom: 2px solid var(--terre); }
.zone__map-btn small { color: var(--pierre); font-size: .9rem; }
.zone__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
@media (min-width: 900px) { .zone__grid { grid-template-columns: 5fr 7fr; gap: var(--space-xl); } .zone__map { min-height: 480px; } }

/* ---------- Devis ---------- */
.devis { background: var(--ardoise); color: var(--chaux); padding-block: var(--space-2xl); position: relative; }
.devis::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--terre); }
.devis__grid { display: grid; gap: var(--space-l); }
.devis__text > p { color: #C9C1B5; max-width: 38ch; }
.devis__call { margin-top: var(--space-l); font-family: var(--font-display); color: var(--pierre); }
.devis__call a { display: inline-block; font-weight: 800; font-stretch: 75%; font-size: var(--step-4); color: var(--chaux); text-decoration: none; line-height: 1; margin-top: .2rem; transition: color .25s; }
.devis__call a:hover { color: var(--terre); }
.devis__call small { display: block; margin-top: .4rem; font-size: var(--step--1); letter-spacing: .06em; }
.devis__form { background: var(--chaux); color: var(--ardoise); padding: clamp(1.25rem, 1rem + 2vw, 2.5rem); display: grid; gap: 1.1rem; box-shadow: 14px 14px 0 var(--terre); }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.chips legend, .field label { font-family: var(--font-display); font-weight: 700; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .55rem; padding: 0; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: .55em .85em; border: 1.5px solid #BDB2A1; font-family: var(--font-display); font-weight: 600; font-size: .95rem; transition: all .2s; user-select: none; }
.chip input:checked + span { background: var(--terre); border-color: var(--terre); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--ardoise); outline-offset: 2px; }
.chip:hover span { border-color: var(--ardoise); }
.field { display: flex; flex-direction: column; }
.field-row { display: grid; gap: 1.1rem; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field input, .field textarea { width: 100%; border: 0; border-bottom: 2px solid var(--ardoise); background: #fff; padding: .8em .85em; font-family: var(--font-body); font-size: 1.05rem; border-radius: 0; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--terre); box-shadow: 0 2px 0 var(--terre); }
.field textarea::placeholder { color: #8E867B; }
.devis__status:empty { display: none; }
.devis__status { font-family: var(--font-display); font-weight: 600; padding: .8em 1em; background: var(--sable); border-left: 4px solid var(--terre); }
@media (min-width: 900px) { .devis__grid { grid-template-columns: 5fr 7fr; gap: var(--space-xl); align-items: start; } .devis__text { position: sticky; top: calc(var(--header-h) + 2rem); } }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ardoise-3); color: #C9C1B5; padding-bottom: var(--space-l); position: relative; }
.site-footer__bricks { height: 26px; background:
  repeating-linear-gradient(90deg, var(--ardoise-2) 0 64px, var(--ardoise-3) 64px 68px) 0 0 / 100% 11px no-repeat,
  repeating-linear-gradient(90deg, var(--ardoise-2) 0 64px, var(--ardoise-3) 64px 68px) 34px 15px / calc(100% + 34px) 11px no-repeat; }
.site-footer__grid { display: grid; gap: var(--space-l); padding-block: var(--space-xl) var(--space-l); }
.site-footer__brand img { width: 260px; height: auto; margin-bottom: var(--space-s); }
.site-footer__brand p { max-width: 30ch; }
.site-footer__title { font-family: var(--font-display); font-weight: 700; font-size: var(--step--1); letter-spacing: .16em; text-transform: uppercase; color: var(--terre); margin-bottom: .7rem; }
.site-footer a { color: var(--chaux); text-underline-offset: 3px; }
.site-footer__phone { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; text-decoration: none; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding-top: var(--space-m); border-top: 1px solid rgba(244,239,230,.1); font-size: var(--step--1); }
.site-footer__legal a { color: #9E968A; }
@media (min-width: 900px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

/* ---------- CTA fixe mobile ---------- */
.sticky-cta { display: none; }
@media (max-width: 899px) {
  .sticky-cta {
    display: grid; grid-template-columns: 1fr 1.25fr; position: fixed; inset: auto 0 0; z-index: 55;
    padding: .55rem .6rem calc(.55rem + env(safe-area-inset-bottom)); gap: .5rem; background: var(--ardoise);
    transform: translateY(110%); transition: transform .45s var(--ease);
  }
  .sticky-cta[data-visible] { transform: none; }
  .sticky-cta a { display: flex; align-items: center; justify-content: center; gap: .45em; padding: .95em; font-family: var(--font-display); font-weight: 800; text-decoration: none; font-size: 1.02rem; }
  .sticky-cta__call { background: var(--chaux); color: var(--ardoise); }
  .sticky-cta__quote { background: #C45A22; color: #fff; }
  body { padding-bottom: 0; }
  .site-footer { padding-bottom: 6rem; }
}

/* ---------- Révélations ---------- */
.js-motion [data-reveal] { transition-delay: var(--d, 0ms); }

@media (prefers-reduced-motion: reduce) {
  .chantier { height: auto; }
  .chantier__sticky { position: static; height: auto; padding-block: var(--space-xl); }
  .compare { --p: .5 !important; }
  .hero__title .line > span, .hero__img, .hero__img img { animation: none; }
}
