/* ==========================================================================
   JOE PEINTURE — proposition de refonte de la homepage
   Direction artistique : « le mur en train d'être peint »
   ========================================================================== */

:root {
  /* Fonds */
  --paper: #f7f3ec;
  --oat: #ede6d8;
  --white: #fffdf9;

  /* Encre */
  --ink: #161411;
  --ink-2: #554f47;
  --ink-3: #857d72;
  --line: rgba(22, 20, 17, 0.12);

  /* Ocre du logo */
  --ochre: #e7b54a;
  --ochre-light: #f3cf7c;
  --ochre-shade: #c08c25;
  --ochre-ink: #7a4f00;

  /* Univers des prestations (teinte pâle / fond de scène / couleur franche / texte) */
  --s1-tint: #fbefd3; --s1-stage: #f4dfa9; --s1-accent: #e7b54a; --s1-ink: #7a4f00;
  --s2-tint: #f9e6dd; --s2-stage: #f1cdbb; --s2-accent: #d2613c; --s2-ink: #7c2d14;
  --s3-tint: #e7ecfb; --s3-stage: #d2dbf7; --s3-accent: #2f55d4; --s3-ink: #1a2f80;
  --s4-tint: #e2eee4; --s4-stage: #cbe1cf; --s4-accent: #2d8a55; --s4-ink: #114b2b;
  --s5-tint: #f3e4ee; --s5-stage: #e6cddd; --s5-accent: #8d3a77; --s5-ink: #571c47;
  --s6-tint: #ebe8e2; --s6-stage: #dbd5ca; --s6-accent: #1e1c19; --s6-ink: #1e1c19;

  /* Typographie : une seule voix, celle du logo */
  --font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --fs-h1: clamp(54px, 7.7vw, 120px);
  --fs-h1-sub: clamp(19px, 2vw, 30px);
  --fs-h2: clamp(40px, 5.2vw, 78px);
  --fs-h3: clamp(32px, 3.7vw, 56px);
  --fs-lead: clamp(19px, 1.55vw, 23px);
  --fs-body: 17px;
  --fs-small: 14px;

  /* Grille (mesures transposées de Clay : contenu 1200 px, scènes 1280 px) */
  --g: clamp(20px, 4vw, 48px);
  --wrap: 1200px;
  --stage: 1296px;
  --radius-xl: clamp(28px, 3.4vw, 48px);
  --radius-l: 24px;
  --radius-btn: 12px;
  --section: clamp(96px, 11vw, 164px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.04em; line-height: 0.96; }
button, input, textarea { font: inherit; color: inherit; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--ochre); color: var(--ink); }
:focus-visible { outline: 3px solid var(--s3-accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--g)); margin-inline: auto; }
.stage-w { width: min(var(--stage), 100% - 2 * clamp(10px, 2.2vw, 72px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 16px; }

/* Texture de plâtre très légère, réutilisée sur les murs */
.plaster {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .3 0 0 0 0 .22 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */
.btn {
  --bg: var(--ink); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 22px;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--bd); border-radius: var(--radius-btn);
  font-weight: 700; font-size: 15.5px; letter-spacing: -0.01em; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .2s var(--ease), border-color .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn--ink:hover { --bg: #34302a; }
.btn--light { --bg: var(--white); --fg: var(--ink); --bd: var(--line); }
.btn--light:hover { --bg: #fff; --bd: rgba(22,20,17,.35); }
.btn--ochre { --bg: var(--ochre); --fg: var(--ink); }
.btn--ochre:hover { --bg: var(--ochre-light); }
.btn--ghost { --bg: transparent; --fg: currentColor; --bd: currentColor; }
.btn--small { min-height: 44px; padding: 0 16px; font-size: 14px; }
.btn--accent { --bg: var(--accent); --fg: #fff; }
.btn--accent:hover { filter: brightness(1.08); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 15px; text-decoration: none;
  border-bottom: 2px solid currentColor; padding-bottom: 4px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translate(3px, 0); }

/* Pastille de numérotation (seul « label » du site : il porte une information) */
.pill {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  height: 30px; padding: 0 12px; border-radius: 999px;
  background: var(--accent, var(--ink)); color: #fff;
  font-size: 13px; font-weight: 700; letter-spacing: 0;
}
.pill b { font-weight: 800; }
.pill span { opacity: .7; font-weight: 600; }

/* --------------------------------------------------------------------------
   En-tête flottant
   -------------------------------------------------------------------------- */
.header {
  position: fixed; inset: 12px 0 auto; z-index: 50;
  pointer-events: none;
}
.header__bar {
  pointer-events: auto;
  width: min(var(--stage), 100% - 24px); margin-inline: auto;
  height: 66px; padding: 0 10px 0 18px;
  display: flex; align-items: center; gap: 28px;
  background: rgba(255, 253, 249, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border: 1px solid rgba(22, 20, 17, 0.07);
  border-radius: 18px;
  transition: box-shadow .3s var(--ease);
}
.header.is-scrolled .header__bar { box-shadow: 0 10px 30px -18px rgba(22, 20, 17, 0.35); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand__icon { width: 56px; height: 26px; fill: var(--ochre); }
.brand__word { width: 142px; height: 15px; fill: var(--ink); }
.nav { display: flex; gap: 4px; margin-right: auto; }
.nav a {
  position: relative; padding: 8px 12px; border-radius: 10px;
  font-size: 14.5px; font-weight: 600; text-decoration: none; color: var(--ink-2); white-space: nowrap;
  transition: color .2s, background-color .2s;
}
.nav a:hover, .nav a.is-active { color: var(--ink); background: var(--oat); }
.header__actions { display: flex; align-items: center; gap: 8px; }
.header__tel { --bg: var(--oat); --fg: var(--ink); }
.header__tel:hover { --bg: #e4dccb; }
.burger, .header__devis-m { display: none; }
[hidden] { display: none !important; }

/* Menu mobile */
.menu {
  position: fixed; inset: 0; z-index: 49;
  background: var(--paper);
  padding: 104px var(--g) 32px;
  display: flex; flex-direction: column; gap: 28px;
  transform: translateY(-102%); visibility: hidden;
  transition: transform .55s var(--ease), visibility 0s linear .55s;
}
.menu.is-open { transform: none; visibility: visible; transition: transform .55s var(--ease); }
.menu nav { display: flex; flex-direction: column; }
.menu nav a {
  font-size: clamp(34px, 10vw, 46px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.15;
  text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--line);
}
.menu__foot { margin-top: auto; display: grid; gap: 10px; }
.menu__foot .btn { width: 100%; }

/* --------------------------------------------------------------------------
   HERO — le mur en cours de peinture
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: clamp(112px, 10.5vw, 150px);
  background-color: var(--paper);
  overflow: clip;
}
.hero__top { position: relative; z-index: 3; }
.hero__title { max-width: 820px; }
.hero__title .l { display: block; font-size: var(--fs-h1); line-height: .88; letter-spacing: -0.055em; }
.hero__title .hl { position: relative; display: inline-block; }
.hero__title .sub {
  display: block; margin-top: clamp(18px, 2vw, 28px); max-width: 600px;
  font-size: var(--fs-h1-sub); line-height: 1.18; letter-spacing: -0.025em; font-weight: 700; color: var(--ink);
}
.hero__title .sub strong { font-weight: 800; white-space: nowrap; }

/* sol peint */
.hero__ground { position: relative; z-index: 2; margin-top: clamp(30px, 3.2vw, 46px); }
.hero__lower {
  position: relative; z-index: 3;
  padding: clamp(36px, 3.4vw, 50px) 0 calc(var(--radius-xl) + clamp(40px, 4vw, 60px));
  max-width: min(560px, 100%);
}
.hero__lead { font-size: 18px; line-height: 1.55; font-weight: 500; color: var(--ink); max-width: 520px; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 10px; margin-top: 26px; }
.hero__more { display: inline-flex; margin-top: 22px; gap: 10px; align-items: center; font-weight: 700; font-size: 14.5px; text-decoration: none; }
.hero__more svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.hero__more:hover svg { transform: translateY(3px); }

.paint {
  --paint-w: min(61vw, calc(50vw + 150px));
  --band-w: clamp(150px, 19vw, 270px);
  --band-gap: clamp(26px, 3.2vw, 46px);
  position: absolute; z-index: 1; left: 0; top: 0; bottom: 0;
  width: var(--paint-w);
  pointer-events: none;
}
.paint__done, .paint__band, .paint__rest {
  position: absolute; top: 0; bottom: 0;
  background-color: var(--ochre);
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0) 0 23px, rgba(255,255,255,.07) 23px 25px, rgba(255,255,255,0) 25px 61px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55 1.6' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .36 0 0 0 0 .05 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
}
.paint__done { left: 0; right: var(--band-w); }
.paint__done::after { /* bord vertical net du dernier passage terminé */
  content: ""; position: absolute; right: -2px; top: -6px; height: calc(var(--band-gap) + 8px); width: 4px; background: var(--ochre); border-radius: 2px;
}
/* bord supérieur irrégulier : la trace du rouleau */
.paint__done::before, .paint__band::before {
  content: ""; position: absolute; left: 0; right: 0; top: -9px; height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='10' preserveAspectRatio='none'%3E%3Cpath d='M0 10V6.5C14 5.2 22 7.4 38 6.1S66 3.9 84 5.2 112 8.2 131 6.4 160 3.1 182 4.9 214 7.8 236 6.2 270 2.6 292 4.4 324 7.6 347 5.6 380 3.3 400 5.1V10Z' fill='%23e7b54a'/%3E%3C/svg%3E") repeat-x 0 0 / 400px 10px;
}
.paint__band {
  right: 0; width: var(--band-w); top: var(--band-gap);
  transform-origin: 50% 100%;
  background-color: #ebbd57;
}
.paint__band::after { /* bord droit : léger bourrelet laissé par l'extrémité du rouleau */
  content: ""; position: absolute; top: 0; bottom: 0; right: -3px; width: 6px;
  background: linear-gradient(90deg, rgba(192,140,37,.0), rgba(192,140,37,.55) 55%, rgba(192,140,37,0));
  border-radius: 3px;
}
.roller {
  position: absolute; z-index: 4;
  right: calc(var(--band-w) * -0.211);
  top: var(--band-gap);
  width: calc(var(--band-w) * 1.246);
  transform: translateY(-16.4%);
  pointer-events: none;
  filter: drop-shadow(0 18px 18px rgba(80, 52, 0, 0.18));
}
.roller svg { width: 100%; height: auto; overflow: visible; }

/* nuancier de photos */
.fan {
  position: absolute; z-index: 3;
  right: max(var(--g), calc((100% - var(--wrap)) / 2 - 10px));
  top: clamp(104px, 9vw, 132px);
  width: clamp(300px, 29vw, 430px);
  aspect-ratio: 480 / 640;
}
.chip {
  position: absolute; left: 50%; bottom: 0;
  width: 58%; aspect-ratio: 5 / 7.3;
  margin-left: -29%;
  background: var(--white);
  border-radius: 8px;
  padding: 8px 8px 0;
  box-shadow: 0 1px 0 rgba(22,20,17,.06), 0 24px 40px -28px rgba(22, 20, 17, 0.45);
  transform-origin: 50% 92%;
  transform: rotate(var(--r, 0deg));
  transition: transform 1.2s var(--ease);
}
.chip img { width: 100%; height: 78%; object-fit: cover; border-radius: 3px; }
.chip__strip { height: 22%; display: flex; align-items: center; justify-content: space-between; padding: 0 6px 0 4px; }
.chip__swatch { width: 44%; height: 58%; border-radius: 3px; background: var(--c); }
.chip__ref { font-size: 11px; font-weight: 700; letter-spacing: .02em; color: var(--ink-2); text-align: right; line-height: 1.25; }
.chip__ref b { display: block; color: var(--ink); font-size: 13px; }
.fan__rivet {
  position: absolute; left: 50%; bottom: 3.4%; width: 26px; height: 26px; margin-left: -13px; z-index: 6;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0 12%, #d9d4ca 30%, #8b857b 72%, #5d584f 100%);
  box-shadow: 0 2px 4px rgba(0,0,0,.35);
}

/* état initial (avant chargement) des éléments animés du hero */
.js .paint__band { transform: scaleY(0); }
.js .roller { transform: translateY(calc(-16.4% + 260px)); opacity: 0; }
.js .chip { transform: rotate(0deg) translateY(40px); }
.js .hero__title .l, .js .hero__title .sub, .js .hero__lower > * { opacity: 0; transform: translateY(26px); }
.is-ready .paint__band { transform: none; transition: transform 1.5s var(--ease-in-out) .35s; }
.is-ready .roller { transform: translateY(-16.4%); opacity: 1; transition: transform 1.5s var(--ease-in-out) .35s, opacity .4s .35s; }
.is-ready .chip { transform: rotate(var(--r, 0deg)); transition-delay: calc(.5s + var(--i) * .08s); }
.is-ready .hero__title .l, .is-ready .hero__title .sub, .is-ready .hero__lower > * {
  opacity: 1; transform: none;
  transition: opacity .9s var(--ease), transform 1.1s var(--ease);
}
.is-ready .hero__title .l:nth-child(2) { transition-delay: .08s; }
.is-ready .hero__title .l:nth-child(3) { transition-delay: .16s; }
.is-ready .hero__title .sub { transition-delay: .28s; }
.is-ready .hero__lower > * { transition-delay: .5s; }
.is-ready .hero__lower > *:nth-child(2) { transition-delay: .6s; }
.is-ready .hero__lower > *:nth-child(3) { transition-delay: .7s; }

/* --------------------------------------------------------------------------
   Panneau superposé + présentation
   -------------------------------------------------------------------------- */
.panel {
  position: relative; z-index: 5;
  margin-top: calc(-1 * var(--radius-xl));
  background: var(--white);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.about { padding: clamp(72px, 8vw, 120px) 0 var(--section); }
.about__title { font-size: var(--fs-h2); max-width: 19ch; line-height: 1; }
.cap {
  display: inline-block; position: relative; overflow: hidden;
  width: 1.9em; height: .78em; margin: 0 .03em;
  vertical-align: -0.02em;
  border-radius: 999px;
  background: var(--oat);
}
.cap--b { width: 1.5em; border-radius: .8em .8em .12em .8em; }
.cap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.js .about__title .cap { width: 0; margin: 0; transition: width 1.2s var(--ease) .35s, margin 1.2s var(--ease) .35s; }
.js .about__title.is-visible .cap { width: 1.9em; margin: 0 .03em; }
.js .about__title.is-visible .cap--b { width: 1.5em; }
.about__grid {
  margin-top: clamp(48px, 6vw, 88px);
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2vw, 28px); row-gap: clamp(40px, 5vw, 72px);
}
.about__domains { grid-column: 1 / span 3; border-top: 2px solid var(--ink); align-self: start; }
.about__domains li {
  font-size: clamp(24px, 2.3vw, 34px); font-weight: 800; letter-spacing: -0.04em; line-height: 1;
  padding: 16px 0 16px; border-bottom: 1px solid var(--line);
}
.about__text { grid-column: 4 / span 6; align-self: start; }
.about__text p { font-size: var(--fs-lead); line-height: 1.5; font-weight: 500; letter-spacing: -0.012em; color: var(--ink); }
.about__text p strong { font-weight: 800; }
.about__quote {
  grid-column: 10 / span 3; align-self: start;
  background: var(--ochre); color: var(--ink);
  border-radius: var(--radius-l);
  padding: 26px 24px 24px;
  display: flex; flex-direction: column; gap: 16px;
}
.about__quote h3 { font-size: 26px; letter-spacing: -0.035em; line-height: 1.02; }
.about__quote p { font-size: 15px; line-height: 1.5; font-weight: 550; }
.about__quote .btn { margin-top: 8px; align-self: flex-start; }
.about__ph { position: relative; overflow: hidden; }
.about__ph img { width: 100%; height: 100%; object-fit: cover; }
.about__ph--a { grid-column: 1 / span 8; aspect-ratio: 16 / 9; }
.about__ph--b { grid-column: 9 / span 4; aspect-ratio: 4 / 5; margin-top: calc(-1 * clamp(40px, 8vw, 140px)); align-self: end; }

/* --------------------------------------------------------------------------
   Prestations : nuancier + cartes empilées
   -------------------------------------------------------------------------- */
.services { padding: var(--section) 0 calc(var(--section) * .7); background: var(--paper); position: relative; }
.services__head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 28px; align-items: end; }
.services__head h2 { grid-column: 1 / span 6; font-size: var(--fs-h2); }
.services__head p { grid-column: 8 / span 5; font-size: var(--fs-lead); line-height: 1.45; font-weight: 500; color: var(--ink-2); }

.swatches {
  margin-top: clamp(44px, 5vw, 72px);
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px;
}
.swatch {
  display: flex; flex-direction: column; text-decoration: none;
  background: var(--white); border-radius: 10px; padding: 8px 8px 14px;
  border: 1px solid rgba(22,20,17,.06);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.swatch__c { height: clamp(54px, 6vw, 84px); border-radius: 5px; background: var(--accent); transition: height .45s var(--ease); }
.swatch__n { margin-top: 12px; font-size: 12.5px; font-weight: 800; color: var(--ink-3); padding-inline: 4px; }
.swatch__t { font-size: 14px; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; padding-inline: 4px; margin-top: 2px; }
.swatch:hover { transform: translateY(-6px); box-shadow: 0 22px 30px -24px rgba(22,20,17,.5); }
.swatch.is-active .swatch__c { height: clamp(64px, 7vw, 98px); }

.svc-list { margin-top: clamp(44px, 5vw, 72px); position: relative; }
.svc {
  --accent: var(--s1-accent); --tint: var(--s1-tint); --stage-bg: var(--s1-stage); --accent-ink: var(--s1-ink);
  position: sticky; top: calc(88px + var(--i) * 14px);
  min-height: min(640px, calc(100vh - 120px));
  margin-bottom: clamp(16px, 2vw, 28px);
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(20px, 3vw, 48px);
  padding: clamp(24px, 3.4vw, 48px);
  background: var(--tint);
  border-radius: var(--radius-xl);
  transform-origin: 50% 0;
  will-change: transform;
}
.svc:last-child { margin-bottom: 0; }
.svc[data-s="2"] { --accent: var(--s2-accent); --tint: var(--s2-tint); --stage-bg: var(--s2-stage); --accent-ink: var(--s2-ink); }
.svc[data-s="3"] { --accent: var(--s3-accent); --tint: var(--s3-tint); --stage-bg: var(--s3-stage); --accent-ink: var(--s3-ink); }
.svc[data-s="4"] { --accent: var(--s4-accent); --tint: var(--s4-tint); --stage-bg: var(--s4-stage); --accent-ink: var(--s4-ink); }
.svc[data-s="5"] { --accent: var(--s5-accent); --tint: var(--s5-tint); --stage-bg: var(--s5-stage); --accent-ink: var(--s5-ink); }
.svc[data-s="6"] { --accent: var(--s6-accent); --tint: var(--s6-tint); --stage-bg: var(--s6-stage); --accent-ink: var(--s6-ink); }
.svc__shade { position: absolute; inset: 0; border-radius: inherit; background: var(--ink); opacity: 0; pointer-events: none; z-index: 5; }
.svc__text { display: flex; flex-direction: column; padding: 8px 0 4px clamp(0px, 1vw, 12px); }
.svc__title { margin-top: 26px; font-size: var(--fs-h3); line-height: .98; letter-spacing: -0.045em; }
.svc__title em { font-style: normal; color: var(--accent-ink); display: block; }
.svc__foot { margin-top: auto; padding-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.svc__foot .link-arrow { color: var(--accent-ink); }
.svc__foot .btn--accent { --bg: var(--accent); }
.svc[data-s="1"] .svc__foot .btn--accent { --fg: var(--ink); }

/* scène visuelle de chaque prestation */
.svc__stage {
  position: relative; overflow: hidden;
  background: var(--stage-bg);
  border-radius: calc(var(--radius-xl) - 14px);
  min-height: 420px;
  isolation: isolate;
}
.ph { position: absolute; margin: 0; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.tag {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  height: 28px; padding: 0 11px; border-radius: 8px;
  display: inline-flex; align-items: center;
  background: var(--white); color: var(--ink);
  font-size: 12.5px; font-weight: 800; letter-spacing: -0.005em;
}

/* 1 — Peinture : deux pans, une bande de rouleau */
.st-paint .ph--a { left: 9%; top: 12%; width: 38%; height: 70%; }
.st-paint .ph--b { left: 52%; top: 20%; width: 38%; height: 72%; }
.st-paint .band {
  position: absolute; z-index: 1; left: -4%; right: -4%; top: 50%; height: 24%;
  background: var(--accent);
  border-radius: 6px;
  transform-origin: 0 50%;
}
.st-paint .band::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0) 0 9px, rgba(255,255,255,.12) 9px 10px), linear-gradient(90deg, transparent 70%, rgba(255,255,255,.2));
}
.st-paint .ph { z-index: 2; }

/* 2 — Lissage : du brut au lisse */
.st-wall .wall { position: absolute; inset: 9% 7% 9% 7%; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: 4px; }
.st-wall .wall__rough {
  position: relative;
  background-color: #e9d9cd;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.045' numOctaves='4' seed='4'/%3E%3CfeDiffuseLighting lighting-color='%23fff' surfaceScale='3.2'%3E%3CfeDistantLight azimuth='225' elevation='38'/%3E%3C/feDiffuseLighting%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 300px; background-blend-mode: multiply;
}
.st-wall .wall__smooth { position: relative; background: linear-gradient(160deg, #fbf3ee, #f1e1d8); }
.st-wall .wall__smooth::before { /* reflet de l'enduit lissé */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.75) 46%, transparent 60%);
  transform: translateX(-60%); transition: transform 1.6s var(--ease);
}
.svc.is-in .st-wall .wall__smooth::before { transform: translateX(60%); }
.st-wall .knife { position: absolute; z-index: 3; left: 50%; top: 50%; width: 46%; transform: translate(-30%, -58%) rotate(-8deg); filter: drop-shadow(0 16px 14px rgba(60, 20, 5, .25)); }
.st-wall .tag { bottom: 14px; }
.st-wall .wall__smooth .tag { left: auto; right: 14px; top: 14px; bottom: auto; }
.st-wall .ph--c { right: 7%; bottom: 9%; width: 30%; height: 44%; z-index: 4; border: 8px solid var(--white); border-bottom-width: 30px; box-shadow: 0 20px 30px -22px rgba(60,20,5,.55); transform: rotate(3deg); }

/* 3 — Plaques de plâtre : photo + plaques en volume */
.st-board .ph--a { left: 0; bottom: 0; width: 72%; height: 64%; }
.st-board .boards { position: absolute; right: 2%; top: 4%; width: 54%; z-index: 2; filter: drop-shadow(0 30px 26px rgba(20, 40, 120, .28)); }
.st-board .boards g { transition: transform 1.2s var(--ease); }
.svc.is-in .st-board .boards .b2 { transform: translateY(-22px); }
.svc.is-in .st-board .boards .b3 { transform: translateY(-44px); }
.st-board .ph--a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(47,85,212,.0) 60%, rgba(47,85,212,.18)); }

/* 4 — Carrelage et parquet : la photo posée carreau par carreau */
.st-tile .tiles {
  position: absolute; left: 6%; top: 8%; width: 60%; height: 84%;
  display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(5, 1fr); gap: 5px;
}
.st-tile .tiles i {
  background-image: url("../photos/sol-imitation-bois.jpg");
  background-size: 400% 500%;
  border-radius: 2px;
  transform: scale(.6); opacity: 0;
  transition: transform .8s var(--ease), opacity .6s var(--ease);
  transition-delay: calc(var(--d) * 45ms);
}
.svc.is-in .st-tile .tiles i { transform: none; opacity: 1; }
.st-tile .ph--b { right: 6%; top: 18%; width: 30%; height: 64%; }
.st-tile .tag--a { left: calc(6% + 12px); bottom: calc(8% + 12px); }
.st-tile .tag--b { left: auto; right: calc(6% + 12px); bottom: calc(18% + 12px); }

/* 5 — Portes et fenêtres : cadres d'architecture */
.st-frame .door { position: absolute; left: 10%; bottom: 0; width: 33%; height: 86%; border: 14px solid var(--accent); border-bottom: 0; background: var(--white); }
.st-frame .door img { width: 100%; height: 100%; object-fit: cover; }
.st-frame .window { position: absolute; right: 9%; top: 11%; width: 40%; aspect-ratio: 1 / 1.15; border-radius: 999px 999px 6px 6px; overflow: hidden; border: 12px solid var(--white); box-shadow: 0 0 0 1px rgba(87,28,71,.08); }
.st-frame .window img { width: 100%; height: 100%; object-fit: cover; }
.st-frame .window::before, .st-frame .window::after { content: ""; position: absolute; background: var(--white); z-index: 1; }
.st-frame .window::before { left: 50%; top: 0; bottom: 0; width: 10px; margin-left: -5px; }
.st-frame .window::after { left: 0; right: 0; top: 46%; height: 10px; }
.st-frame .tag--door { left: calc(10% + 26px); bottom: 24px; }
.st-frame .tag--win { left: auto; right: calc(9% + 24px); top: calc(11% + 24px); bottom: auto; }

/* 6 — Bricolage : planche d'atelier, photos scotchées */
.st-board6 { background-image: linear-gradient(var(--stage-bg), var(--stage-bg)); }
.st-board6 .ph { background: var(--white); padding: 8px; box-shadow: 0 18px 30px -22px rgba(0,0,0,.5); }
.st-board6 .ph--a { left: 7%; top: 13%; width: 54%; height: 44%; transform: rotate(-2.5deg); }
.st-board6 .ph--b { right: 7%; bottom: 10%; width: 50%; height: 40%; transform: rotate(2deg); }
.st-board6 .ph--c { left: 14%; bottom: 7%; width: 26%; height: 34%; transform: rotate(-4deg); }
.tape {
  position: absolute; z-index: 3; width: 84px; height: 26px;
  background: rgba(240, 226, 192, .88);
  box-shadow: 0 1px 1px rgba(0,0,0,.06);
  clip-path: polygon(3% 0, 97% 4%, 100% 30%, 98% 60%, 100% 100%, 4% 96%, 0 70%, 2% 40%);
}
.st-board6 .ph--a .tape { left: 50%; top: -14px; transform: translateX(-50%) rotate(3deg); }
.st-board6 .ph--b .tape { right: 18px; top: -12px; transform: rotate(-6deg); }
.st-board6 .ph--c .tape { left: 10px; top: -12px; transform: rotate(-10deg); width: 64px; }
.st-board6 .nut { position: absolute; right: 9%; top: 9%; width: 25%; z-index: 4; filter: drop-shadow(0 18px 16px rgba(0,0,0,.25)); }

/* --------------------------------------------------------------------------
   Bande d'appel
   -------------------------------------------------------------------------- */
.callout { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.callout__inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding: clamp(56px, 6vw, 84px) 0; }
.callout h2 { font-size: clamp(30px, 3.6vw, 52px); letter-spacing: -0.045em; line-height: 1; max-width: 18ch; }
.callout__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.callout .btn--light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.35); }
.callout .btn--light:hover { --bd: #fff; }
.callout__stroke { position: absolute; left: -2%; bottom: -1px; height: 10px; width: 46%; background: var(--ochre); transform-origin: 0 50%; }

/* --------------------------------------------------------------------------
   Témoignages
   -------------------------------------------------------------------------- */
.reviews { --rv: var(--s3-tint); padding: var(--section) 0; background: var(--paper); transition: background-color .8s var(--ease); position: relative; }
.reviews::before { content: ""; position: absolute; inset: 0; background: var(--rv); opacity: .55; transition: background-color .8s var(--ease); pointer-events: none; }
.reviews > * { position: relative; }
.reviews__head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 28px; align-items: end; }
.reviews__head h2 { grid-column: 1 / span 6; font-size: var(--fs-h2); }
.reviews__head p { grid-column: 7 / span 6; font-size: var(--fs-lead); line-height: 1.45; font-weight: 500; color: var(--ink-2); max-width: 520px; justify-self: end; }
.reviews__track {
  margin-top: clamp(44px, 5vw, 72px);
  display: grid; grid-auto-flow: column; grid-auto-columns: min(820px, 78%);
  gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: max(var(--g), calc((100% - var(--wrap)) / 2));
  scroll-padding-inline: max(var(--g), calc((100% - var(--wrap)) / 2));
  overscroll-behavior-x: contain;
}
.reviews__track::-webkit-scrollbar { display: none; }
.review {
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 56px);
  display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 44px);
  min-height: 400px;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.review:not(.is-active) { opacity: .55; }
.review__mono {
  width: clamp(64px, 7vw, 96px); aspect-ratio: 1;
  border-radius: 50% 50% 50% 8px;
  background: var(--c);
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -0.04em;
}
.review blockquote { margin: 0; display: flex; flex-direction: column; height: 100%; }
.review__lead { font-size: clamp(28px, 3.2vw, 46px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.02; }
.review__rest { margin-top: 18px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; font-weight: 500; color: var(--ink-2); max-width: 52ch; }
.review footer { margin-top: auto; padding-top: 28px; font-weight: 800; font-size: 16px; display: flex; align-items: center; gap: 12px; }
.review footer::before { content: ""; width: 28px; height: 3px; background: var(--c); border-radius: 2px; }
.reviews__nav { margin-top: 28px; display: flex; align-items: center; gap: 18px; }
.reviews__dots { display: flex; gap: 8px; }
.reviews__dots button {
  width: 42px; height: 14px; border: 0; padding: 0; border-radius: 4px; cursor: pointer;
  background: var(--c); opacity: .35; transition: opacity .3s, width .4s var(--ease);
}
.reviews__dots button[aria-current="true"] { opacity: 1; width: 64px; }
.round {
  width: 50px; height: 50px; border-radius: 14px; border: 1px solid var(--line); background: var(--white);
  display: grid; place-items: center; cursor: pointer; transition: background-color .2s, border-color .2s;
}
.round:hover { border-color: var(--ink); }
.round svg { width: 18px; height: 18px; }
.reviews__arrows { margin-left: auto; display: flex; gap: 8px; }

/* --------------------------------------------------------------------------
   Engagements (bento)
   -------------------------------------------------------------------------- */
.commit { padding: 0 0 var(--section); background: var(--paper); }
.commit__panel { background: var(--oat); border-radius: var(--radius-xl); padding: clamp(28px, 4vw, 56px); }
.commit__head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 28px; row-gap: 22px; align-items: end; }
.commit__head h2 { grid-column: 1 / span 7; font-size: clamp(38px, 4.6vw, 68px); }
.commit__head p { grid-column: 8 / span 5; font-size: 17px; line-height: 1.55; font-weight: 500; color: var(--ink-2); }
.bento {
  margin-top: clamp(36px, 4vw, 56px);
  display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(210px, auto); gap: 12px;
}
.tile { position: relative; border-radius: var(--radius-l); overflow: hidden; padding: 26px; display: flex; flex-direction: column; }
.tile h3 { font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.04em; line-height: 1.02; max-width: 14ch; }
.tile p { margin-top: 12px; font-size: 15.5px; line-height: 1.5; font-weight: 500; max-width: 36ch; }
.tile__n { font-size: 13px; font-weight: 800; margin-bottom: auto; padding-bottom: 28px; opacity: .6; }
.tile--photo { grid-column: 1 / span 4; grid-row: span 2; padding: 0; }
.tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile--team { grid-column: 5 / span 4; background: var(--ochre); }
.tile--eco { grid-column: 9 / span 4; grid-row: span 2; background: var(--s4-tint); padding: 0; }
.tile--eco .tile__body { padding: 26px; }
.tile--eco img { margin-top: auto; width: 100%; height: 52%; object-fit: cover; object-position: 50% 70%; }
.tile--eco h3, .tile--eco .tile__n { color: var(--s4-ink); }
.tile--mat { grid-column: 5 / span 4; background: var(--white); }
.tile--mat .tile__tex { position: absolute; right: -10%; top: -20%; width: 62%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; }
.tile--mat .tile__tex img { width: 100%; height: 100%; object-fit: cover; }
.tile--mat .tile__n { position: relative; }
.tile--detail { grid-column: 1 / span 12; background: var(--ink); color: var(--white); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 28px; align-items: end; padding: 32px; min-height: 200px; }
.tile--detail .tile__n { grid-column: 1 / -1; color: var(--ochre); opacity: 1; padding-bottom: 36px; }
.tile--detail h3 { grid-column: 1 / span 7; font-size: clamp(28px, 3.2vw, 46px); max-width: 20ch; }
.tile--detail p { grid-column: 8 / span 5; margin: 0; color: rgba(255,253,249,.78); }

/* --------------------------------------------------------------------------
   Démarche
   -------------------------------------------------------------------------- */
.process { padding: var(--section) 0; background: var(--paper); }
.process__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 88px); align-items: start; }
.process__title { font-size: var(--fs-h2); }
.process__intro { margin-top: 26px; font-size: 17px; line-height: 1.55; font-weight: 500; color: var(--ink-2); max-width: 42ch; }
.steps { position: relative; margin-top: clamp(48px, 6vw, 80px); padding-left: 34px; }
.steps__rail { position: absolute; left: 7px; top: 8px; bottom: 8px; width: 3px; background: var(--line); border-radius: 2px; }
.steps__rail i { position: absolute; left: 0; top: 0; width: 100%; height: var(--p, 0%); background: var(--ink); border-radius: 2px; transition: height .6s var(--ease); }
.step { position: relative; padding: 4px 0 clamp(56px, 9vh, 110px); }
.step:last-child { padding-bottom: 0; }
.step::before { content: ""; position: absolute; left: -34px; top: 8px; width: 17px; height: 17px; border-radius: 50%; background: var(--paper); border: 3px solid var(--ink-3); transition: border-color .4s, background-color .4s; }
.step.is-on::before { border-color: var(--ink); background: var(--ochre); }
.step .pill { --accent: var(--ink); }
.step h3 { margin-top: 16px; font-size: clamp(36px, 3.8vw, 56px); letter-spacing: -0.045em; transition: color .4s; }
.step p { margin-top: 12px; font-size: 18px; line-height: 1.5; font-weight: 500; color: var(--ink-2); max-width: 34ch; }
.step:not(.is-on) h3 { color: var(--ink-3); }
.step__cta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.step__cta-title { margin-top: 18px; font-size: 19px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; max-width: 26ch; }

.process__figure { position: sticky; top: 110px; }
.scene { width: 100%; aspect-ratio: 600 / 560; border-radius: var(--radius-xl); overflow: hidden; background: var(--oat); position: relative; }
.scene svg { width: 100%; height: 100%; display: block; }
.scene__label { position: absolute; left: 20px; top: 20px; }
.scene .s-phone, .scene .s-tape, .scene .s-swatches, .scene .s-paint, .scene .s-roller, .scene .s-check, .scene .s-swatch-out { transition: opacity .7s var(--ease), transform .9s var(--ease); }
.scene .s-tape-line { transition: transform 1.1s var(--ease); transform-origin: 470px 0; }
.scene .s-paint { transition: transform 1.4s var(--ease-in-out); transform-origin: 0 0; }
.scene .s-roller { transition: transform 1.4s var(--ease-in-out), opacity .5s; }
/* états */
.scene .s-phone { opacity: 0; transform: translateY(30px); }
.scene .s-tape { opacity: 0; transform: translateY(20px); }
.scene .s-tape-line { transform: scaleX(0); }
.scene .s-swatches { opacity: 0; transform: translateY(-20px); }
.scene .s-check { opacity: 0; }
.scene .s-paint { transform: scaleX(0); }
.scene .s-roller { opacity: 0; transform: translateX(-40px); }
[data-step="1"] .s-phone, [data-step="2"] .s-phone, [data-step="3"] .s-phone, [data-step="4"] .s-phone { opacity: 1; transform: none; }
[data-step="2"] .s-phone, [data-step="3"] .s-phone, [data-step="4"] .s-phone { opacity: .28; }
[data-step="2"] .s-tape, [data-step="3"] .s-tape { opacity: 1; transform: none; }
[data-step="2"] .s-tape-line, [data-step="3"] .s-tape-line { transform: none; }
[data-step="3"] .s-tape { opacity: .35; }
[data-step="3"] .s-swatches, [data-step="4"] .s-swatches { opacity: 1; transform: none; }
[data-step="3"] .s-check, [data-step="4"] .s-check { opacity: 1; }
[data-step="4"] .s-swatch-out { opacity: 0; }
[data-step="4"] .s-paint { transform: none; }
[data-step="4"] .s-roller { opacity: 1; transform: translateX(486px); }

/* --------------------------------------------------------------------------
   Réalisations
   -------------------------------------------------------------------------- */
.works { padding: var(--section) 0; background: var(--white); }
.works__head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 28px; align-items: end; }
.works__head h2 { grid-column: 1 / span 7; font-size: var(--fs-h2); max-width: 13ch; }
.works__head p { grid-column: 8 / span 5; font-size: var(--fs-lead); line-height: 1.45; font-weight: 500; color: var(--ink); }
.gallery {
  margin-top: clamp(44px, 5vw, 72px);
  display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(70px, 7.4vw, 108px); gap: 10px;
}
.shot { position: relative; overflow: hidden; margin: 0; cursor: zoom-in; background: var(--oat); padding: 0; border: 0; text-align: left; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.shot:hover img { transform: scale(1.045); }
.shot__cap {
  position: absolute; left: 0; bottom: 0; z-index: 1;
  background: var(--white); color: var(--ink);
  font-size: 13px; font-weight: 800; padding: 9px 12px;
  transform: translateY(101%); transition: transform .45s var(--ease);
}
.shot:hover .shot__cap, .shot:focus-visible .shot__cap { transform: none; }
.g1 { grid-column: 1 / span 4; grid-row: 1 / span 6; }
.g2 { grid-column: 5 / span 8; grid-row: 1 / span 3; }
.g3 { grid-column: 5 / span 3; grid-row: 4 / span 4; }
.g4 { grid-column: 8 / span 2; grid-row: 4 / span 3; }
.g5 { grid-column: 10 / span 3; grid-row: 4 / span 6; }
.g6 { grid-column: 1 / span 4; grid-row: 7 / span 3; }
.g7 { grid-column: 5 / span 3; grid-row: 8 / span 2; }
.g8 { grid-column: 8 / span 2; grid-row: 7 / span 3; }
.g9 { grid-column: 10 / span 3; grid-row: 9 / span 1; }
.g9 { display: none; }
.works__foot { margin-top: clamp(36px, 4vw, 56px); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 28px; align-items: start; }
.works__foot p { grid-column: 1 / span 6; font-size: 16px; line-height: 1.6; font-weight: 500; color: var(--ink-2); }
.works__foot .btn { grid-column: 10 / span 3; justify-self: end; }

/* visionneuse */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(22, 20, 17, 0.92); }
.lightbox__inner { width: 100%; height: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 24px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 120px); margin: auto; object-fit: contain; }
.lightbox figure { display: grid; gap: 14px; justify-items: center; }
.lightbox figcaption { color: #fff; font-weight: 700; font-size: 14px; }
.lightbox .round { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); color: #fff; }
.lightbox__close { position: fixed; top: 20px; right: 20px; }

/* --------------------------------------------------------------------------
   Contact — le mur est peint
   -------------------------------------------------------------------------- */
.contact {
  position: relative;
  background-color: var(--ochre);
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0) 0 23px, rgba(255,255,255,.06) 23px 25px, rgba(255,255,255,0) 25px 61px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55 1.6' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .36 0 0 0 0 .05 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.2'/%3E%3C/svg%3E");
  padding: var(--section) 0 calc(var(--section) + var(--radius-xl));
}
.contact::before {
  content: ""; position: absolute; left: 0; right: 0; top: -9px; height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='10' preserveAspectRatio='none'%3E%3Cpath d='M0 10V6.5C14 5.2 22 7.4 38 6.1S66 3.9 84 5.2 112 8.2 131 6.4 160 3.1 182 4.9 214 7.8 236 6.2 270 2.6 292 4.4 324 7.6 347 5.6 380 3.3 400 5.1V10Z' fill='%23e7b54a'/%3E%3C/svg%3E") repeat-x 0 0 / 400px 10px;
}
.contact__grid { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact__title { font-size: clamp(42px, 6vw, 92px); letter-spacing: -0.055em; line-height: .93; max-width: 17ch; }
.contact__copy { padding-top: clamp(0px, 9vw, 150px); }
.contact__sub { margin-top: 0; font-size: var(--fs-lead); font-weight: 700; letter-spacing: -0.02em; }
.coords { margin-top: clamp(40px, 5vw, 64px); border-top: 2px solid var(--ink); }
.coords li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(22,20,17,.22); align-items: baseline; }
.coords dt, .coords .k { font-size: 13.5px; font-weight: 700; color: rgba(22,20,17,.7); }
.coords a, .coords .v { font-size: clamp(18px, 1.7vw, 24px); font-weight: 800; letter-spacing: -0.03em; text-decoration: none; line-height: 1.25; }
.coords a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.coords li:first-child a { font-size: clamp(26px, 2.8vw, 40px); }

.house { position: relative; }
.house__roof { display: block; width: 100%; height: auto; fill: var(--ink); margin-bottom: -2px; }
.form-card {
  position: relative; z-index: 2;
  background: var(--white); border-radius: 0 0 var(--radius-l) var(--radius-l);
  width: 74%; margin-inline: auto; margin-top: -1.2%;
  padding: clamp(22px, 3vw, 36px);
  box-shadow: 0 40px 60px -40px rgba(80, 52, 0, 0.55);
}
.form-card h3 { font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -0.04em; }
.form-card > p { margin-top: 10px; font-size: 15.5px; line-height: 1.5; font-weight: 500; color: var(--ink-2); }
.form { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 700; }
.field input, .field textarea {
  width: 100%; border: 1px solid rgba(22,20,17,.16); background: var(--paper);
  border-radius: 12px; padding: 13px 14px; font-size: 16px; font-weight: 500;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 3px rgba(231,181,74,.45); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #b3261e; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-top: 6px; }
.demo-note { font-size: 12.5px; font-weight: 600; color: var(--ink-3); line-height: 1.4; max-width: 30ch; }
.demo-note b { color: var(--ink-2); }
.form__done { display: none; grid-column: 1 / -1; background: var(--s4-tint); color: var(--s4-ink); border-radius: 12px; padding: 14px 16px; font-weight: 700; font-size: 15px; }
.form.is-sent .form__done { display: block; }

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */
.footer { background: var(--paper); padding-bottom: 12px; }
.footer__panel {
  position: relative; z-index: 2; margin-top: calc(-1 * var(--radius-xl));
  background: var(--oat); border-radius: var(--radius-xl);
  padding: clamp(32px, 4.4vw, 64px);
}
.footer__grid { display: grid; grid-template-columns: 4fr 2.4fr 2fr 3.2fr; gap: 32px; }
.footer__logo { width: 230px; }
.footer__logo svg { display: block; }
.footer__about { margin-top: 22px; font-size: 14.5px; line-height: 1.6; font-weight: 500; color: var(--ink-2); max-width: 40ch; }
.footer h2 { font-size: 15px; letter-spacing: -0.01em; line-height: 1.2; margin-bottom: 16px; }
.footer li { padding: 5px 0; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.footer li a { text-decoration: none; }
.footer li a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom { margin-top: clamp(40px, 5vw, 64px); padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.footer__bottom nav { display: flex; gap: 20px; }
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { color: var(--ink); text-decoration: underline; }
.footer__demo { margin-left: auto; color: var(--ink-3); }

/* --------------------------------------------------------------------------
   Apparitions au scroll
   -------------------------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--delay, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js .callout__stroke { transform: scaleX(0); transition: transform 1.4s var(--ease-in-out) .2s; }
.js .callout.is-visible .callout__stroke { transform: none; }
.js .st-paint .band { transform: scaleX(0); transition: transform 1.3s var(--ease-in-out) .15s; }
.js .svc.is-in .st-paint .band { transform: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .nav a { padding: 8px 9px; font-size: 14px; }
  .header__tel { display: none; }
}

@media (max-width: 980px) {
  .nav, .header__actions .btn--ink { display: none; }
  .header__tel { display: inline-flex; }
  .burger {
    display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; border: 0; cursor: pointer;
    background: var(--ink); color: #fff;
  }
  .burger span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: background-color .2s; }
  .burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease); }
  .burger span::before { top: -6px; } .burger span::after { top: 6px; }
  .burger[aria-expanded="true"] span { background: transparent; }
  .burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
  .burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
  .header__bar { gap: 12px; justify-content: space-between; height: 62px; }
  .header__actions { margin-left: auto; }

  /* hero : empilement */
  .hero { padding-top: 104px; }
  .hero__title { max-width: 100%; }
  .fan { position: relative; right: auto; top: auto; bottom: auto; width: min(420px, 70vw); aspect-ratio: 480 / 450; margin: 28px 0 -40px 4vw; }
  .hero__ground { margin-top: 0; }
  .paint { --paint-w: calc(100% - 11vw); --band-w: 32vw; }
  .roller { width: calc(var(--band-w) * 1.32); }
  .hero__lower { max-width: 100%; padding-top: 150px; }

  .about__grid { grid-template-columns: repeat(6, 1fr); }
  .about__domains { grid-column: 1 / span 2; }
  .about__text { grid-column: 3 / span 4; }
  .about__quote { grid-column: 1 / -1; }
  .about__ph--a { grid-column: 1 / span 4; }
  .about__ph--b { grid-column: 5 / span 2; margin-top: 0; }

  .services__head h2, .services__head p, .reviews__head h2, .reviews__head p, .commit__head h2, .commit__head p, .works__head h2, .works__head p { grid-column: 1 / -1; justify-self: start; }
  .services__head p, .reviews__head p, .works__head p { margin-top: 22px; }
  .swatches { grid-template-columns: repeat(3, 1fr); }
  .svc { grid-template-columns: 1fr; position: relative; top: auto; min-height: 0; }
  .svc__stage { min-height: 0; aspect-ratio: 7 / 5.4; order: -1; }
  .svc__foot { padding-top: 28px; }
  .svc__title { margin-top: 18px; }

  .callout__inner { grid-template-columns: 1fr; gap: 28px; }

  .bento { grid-template-columns: repeat(6, 1fr); }
  .tile--photo { grid-column: 1 / span 3; }
  .tile--team { grid-column: 4 / span 3; }
  .tile--eco { grid-column: 1 / span 3; grid-row: span 2; }
  .tile--mat { grid-column: 4 / span 3; }
  .tile--detail { grid-column: 1 / -1; }
  .tile--detail h3, .tile--detail p { grid-column: 1 / -1; }
  .tile--detail p { margin-top: 16px; }

  .process__grid { grid-template-columns: 1fr; }
  .process__figure { position: sticky; top: 84px; z-index: 2; order: -1; margin-inline: auto; width: min(100%, 520px); }
  .process__figure::before { content: ""; position: absolute; z-index: -1; left: -40px; right: -40px; top: -90px; bottom: -14px; background: linear-gradient(var(--paper) 88%, rgba(247,243,236,0)); }
  .process__copy { position: relative; z-index: 1; }

  .contact__grid { grid-template-columns: 1fr; }
  .house { max-width: 640px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  :root { --fs-body: 16px; }
  .brand { gap: 7px; }
  .brand__icon { width: 40px; height: 19px; }
  .brand__word { width: 108px; height: 12px; }
  .header__bar { padding: 0 8px 0 14px; gap: 8px; }
  .header__actions { gap: 6px; }
  .header__actions .header__devis-m { min-height: 42px; padding: 0 13px; font-size: 13.5px; }
  .burger { width: 42px; height: 42px; }
  .fan { width: min(290px, 72vw); margin: 22px 0 -34px 1vw; }
  .hero__ground { margin-top: 22px; }
  .paint { --band-w: 31vw; --band-gap: 22px; }
  .hero__lower { padding-top: 128px; }
  .header__tel { display: none; }
  .header__actions .header__devis-m { display: inline-flex; }
  .hero__title .l { line-height: .92; }
  .hero__title .sub { max-width: 30ch; }
  .hero__cta .btn { flex: 1 1 100%; }
  .fan { width: min(330px, 84vw); }

  .about__grid { grid-template-columns: 1fr 1fr; row-gap: 28px; column-gap: 8px; }
  .about__domains { grid-column: 1 / -1; display: flex; }
  .about__domains li { flex: 1; font-size: 21px; padding: 14px 0; }
  .about__text { grid-column: 1 / -1; }
  .about__quote { grid-column: 1 / -1; }
  .about__ph--a { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .about__ph--b { display: none; }

  .swatches { display: flex; overflow-x: auto; margin-inline: calc(-1 * var(--g)); padding: 4px var(--g) 10px; scroll-padding-inline: var(--g); scroll-snap-type: x mandatory; scrollbar-width: none; }
  .swatches::-webkit-scrollbar { display: none; }
  .swatch { flex: 0 0 38%; scroll-snap-align: start; }
  .svc { padding: 12px 12px 26px; border-radius: 28px; }
  .svc__text { padding: 8px 10px 0; }
  .svc__stage { border-radius: 18px; aspect-ratio: 1 / 1; }
  .tag { font-size: 11.5px; height: 25px; left: 8px; bottom: 8px; }

  .reviews__track { grid-auto-columns: 86%; gap: 10px; }
  .review { grid-template-columns: 1fr; min-height: 0; gap: 18px; padding: 26px 24px 28px; }
  .review__mono { width: 56px; font-size: 20px; }

  .commit__panel { padding: 22px 14px 14px; border-radius: 28px; }
  .commit__head { padding-inline: 6px; }
  .bento { grid-template-columns: 1fr 1fr; gap: 8px; grid-auto-rows: minmax(150px, auto); }
  .tile { padding: 20px; }
  .tile--photo { grid-column: 1 / -1; grid-row: span 1; min-height: 240px; }
  .tile--team { grid-column: 1 / -1; }
  .tile--eco { grid-column: 1 / -1; grid-row: span 1; }
  .tile--eco .tile__body { padding: 20px; }
  .tile--eco img { height: 180px; }
  .tile--mat { grid-column: 1 / -1; }
  .tile--detail { padding: 22px; }

  .process__figure { top: 76px; width: min(100%, 360px); }
  .scene { border-radius: 22px; }
  .steps { margin-top: 36px; }
  .step { padding-bottom: 46vh; }
  .step:last-child { padding-bottom: 0; }
  .step h3 { font-size: 34px; }
  .step p { font-size: 16.5px; }

  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 120px; gap: 6px; margin-inline: calc(-1 * var(--g) + 6px); }
  .g1 { grid-column: 1 / span 1; grid-row: span 3; }
  .g2 { grid-column: 1 / -1; grid-row: span 2; order: -1; }
  .g3 { grid-column: 2 / span 1; grid-row: span 3; }
  .g4 { grid-column: 1 / span 1; grid-row: span 2; }
  .g5 { grid-column: 2 / span 1; grid-row: span 3; }
  .g6 { grid-column: 1 / span 1; grid-row: span 2; }
  .g7 { grid-column: 1 / -1; grid-row: span 2; }
  .g8 { grid-column: 1 / span 1; grid-row: span 2; }
  .g9 { display: block; grid-column: 2 / span 1; grid-row: span 2; }
  .works__foot { grid-template-columns: 1fr; row-gap: 24px; }
  .works__foot p, .works__foot .btn { grid-column: 1 / -1; justify-self: stretch; }

  .coords li { grid-template-columns: 1fr; gap: 4px; }
  .form-card { width: 86%; }
  .form { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__panel { border-radius: 28px; padding: 28px 22px; }
  .footer__demo { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation: none !important; }
}


/* ================= V3 : retouches ================= */
/* Hero : même animation que la V1, décalée vers la droite (plus de cartes) ; rouleau et peinture montent ensemble */
@media (min-width: 981px) {
  .paint { --paint-w: 100%; }
  .paint__band { width: calc(var(--band-w) * 1.239); }
  .roller { right: 0; }
}
.paint__band { background-color: var(--ochre); }
.js .roller { transform: translateY(calc(-19% + var(--h, 260px))); }
.is-ready .roller { transform: translateY(-19%); }

/* Boutons : remplissage jaune au survol (inversion quand le fond est déjà jaune) */
.btn { --hv: var(--ochre); --hf: var(--ink);
  background: linear-gradient(var(--hv), var(--hv)) 0 0 / 0% 100% no-repeat, var(--bg);
  transition: background-size .5s var(--ease), color .3s, border-color .3s, transform .2s var(--ease); }
.btn:hover { background-size: 100% 100%; color: var(--hf); }
.btn--ink:hover { --bg: var(--ink); } .btn--light:hover { --bg: var(--white); }
.header__tel:hover { --bg: var(--oat); } .btn--accent:hover { filter: none; }
.btn--ochre { --hv: #fff; } .btn--ochre:hover { --bg: var(--ochre); }
.hero__ground .btn--ink { --hv: var(--white); }
.hero__ground .btn--light { --hv: var(--ink); --hf: #fff; }
.hero__ground .btn--light:hover { --bd: var(--ink); }

/* Démarche : chaque étape n'affiche que son propre dessin */
[data-step="2"] .s-phone, [data-step="3"] .s-phone, [data-step="4"] .s-phone { opacity: 0; transform: translateY(30px); }
[data-step="3"] .s-tape, [data-step="4"] .s-tape { opacity: 0; transform: translateY(20px); }
[data-step="4"] .s-swatches { opacity: 0; transform: translateY(-20px); }

/* Contact : les bords du toit tombent sur ceux du bloc blanc */
.form-card { width: 100%; margin-top: -2px; }

/* Pied de page classique, pleine largeur */
.contact { padding-bottom: var(--section); }
.footer { background: var(--oat); padding-bottom: 0; }
.footer__panel { width: min(var(--wrap), 100% - 2 * var(--g)); margin: 0 auto; background: transparent; border-radius: 0; padding: clamp(56px, 6vw, 88px) 0 26px; }
.footer__bottom { margin-top: clamp(40px, 5vw, 64px); }

@media (max-width: 680px) {
  .form-card { width: 100%; }
  .footer__panel { border-radius: 0; padding: 44px 0 24px; }
}
.scene .s-paint { opacity: 0; }
[data-step="4"] .s-paint { opacity: 1; }

/* Boutons : transition plus douce (fondu à bord progressif) */
.btn { background: linear-gradient(100deg, var(--hv) 55%, transparent 100%) 0 0 / 0% 100% no-repeat, var(--bg);
  transition: background-size .8s var(--ease), color .5s ease .05s, border-color .5s ease, transform .2s var(--ease); }
.btn:hover { background-size: 240% 100%; }

/* Prestations : une photo dans le cadre */
.svc__stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Présentation : texte sur toute la largeur */
.about__text { grid-column: 4 / -1; }
.about { padding-bottom: var(--section); }

/* Hero plein écran, panneau suivant délimité par un simple trait */
.hero { min-height: 100svh; display: flex; flex-direction: column; }
.hero__ground { flex: 1; display: flex; flex-direction: column; }
.hero__ground > .wrap { flex: 1; }
.panel { border-radius: 0; margin-top: 0; border-top: 1px solid rgba(20, 18, 16, .2); }

/* Survol : même durée partout, et plus de liseré sombre sur les boutons */
.btn { transition: background-size .8s var(--ease), background-color .8s var(--ease), color .5s ease .05s, border-color .8s ease, transform .2s var(--ease); }
.btn:hover { background-color: var(--hv); }
.nav a, .footer li a, .footer__bottom a, .hero__more, .link-arrow { transition: color .8s var(--ease), background-color .8s var(--ease), border-color .8s var(--ease); }
.nav a:hover, .nav a.is-active { transition-duration: .8s; }
.round, .reviews__dots button { transition: background-color .8s var(--ease), border-color .8s var(--ease), opacity .8s var(--ease), width .8s var(--ease); }
.swatch { transition: transform .8s var(--ease), box-shadow .8s var(--ease); }
.swatch__c { transition: height .8s var(--ease); }
.shot img { transition: transform 1.2s var(--ease); }
.field input, .field textarea { transition: border-color .8s var(--ease), background-color .8s var(--ease), box-shadow .8s var(--ease); }

/* Hero : le haut du bloc qui monte est aligné sur le reste du trait */
.paint__band { top: 0; }
.roller { top: 0; }

/* Boutons : simple fondu d'une couleur à l'autre */
.btn { background-image: none !important; background-color: var(--bg);
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .2s var(--ease); }
.btn:hover { background-color: var(--hv); color: var(--hf); }
.hero__ground .btn--light, .hero__ground .btn--light:hover { --bd: transparent; }

/* Prestations : le nuancier devient une barre d'onglets, une seule carte affichée à la fois */
.svc-tabs .svc-list { display: grid; }
.svc-tabs .svc {
  grid-area: 1 / 1; position: relative; top: auto; margin-bottom: 0; transform: none !important;
  opacity: 0; visibility: hidden; translate: 0 18px;
  transition: opacity .45s var(--ease), translate .6s var(--ease), visibility 0s linear .45s;
}
.svc-tabs .svc.is-current { opacity: 1; visibility: visible; translate: 0 0; transition: opacity .45s var(--ease) .05s, translate .6s var(--ease) .05s, visibility 0s; }
.svc-tabs .svc__shade { display: none; }
.svc-tabs .swatch { cursor: pointer; }
.svc-tabs .swatch:not(.is-active) .swatch__t { color: var(--ink-2); }
.svc-tabs .swatch.is-active { transform: translateY(-6px); box-shadow: 0 0 0 2px var(--ink), 0 22px 30px -24px rgba(22,20,17,.5); }
.svc-tabs .swatches { margin-bottom: 0; }
.svc-tabs .svc-list { margin-top: clamp(24px, 3vw, 40px); }
.svc-tabs .svc { min-height: min(540px, calc(100vh - 320px)); }
@media (min-width: 981px) { .svc-tabs .svc__stage { min-height: 0; } }
.svc-tabs .svc { transition: opacity .18s ease, translate .3s var(--ease), visibility 0s linear .18s; }
.svc-tabs .svc.is-current { transition: opacity .45s var(--ease) .18s, translate .6s var(--ease) .18s, visibility 0s; }

/* Cartes prestations : titre en haut, description du site actuel */
.svc__title { margin-top: 0; }
.svc__desc { margin-top: 22px; max-width: 34ch; font-size: var(--fs-lead); line-height: 1.5; font-weight: 500; color: var(--ink-2); }

/* Nuancier : état actif discret, sans soulèvement ni contour */
.svc-tabs .swatch.is-active, .svc-tabs .swatch:hover { transform: none; box-shadow: none; }
.svc-tabs .swatch { opacity: .6; transition: opacity .25s ease; }
.svc-tabs .swatch:hover, .svc-tabs .swatch.is-active { opacity: 1; }
.svc-tabs .swatch.is-active .swatch__t { color: var(--ink); }

/* =====================================================================
   BOUTONS — système unique (remplace toutes les règles précédentes)
   Aucun contour. Un seul effet : fondu de couleur de 0,25 s au survol.
   Couleur de survol : jaune ; sur fond jaune, inversion noir / blanc.
   ===================================================================== */
.btn, .round, .burger {
  border: 0 !important;
  background-image: none !important;
  filter: none !important;
  transition: background-color .25s ease, color .25s ease !important;
}
.btn { background-color: var(--bg) !important; color: var(--fg) !important; }
.btn:hover, .btn:focus-visible { background-color: var(--hv) !important; color: var(--hf) !important; }

/* couleurs de repos */
.btn--ink    { --bg: var(--ink);    --fg: #fff; }
.btn--light  { --bg: var(--white);  --fg: var(--ink); }
.btn--ochre  { --bg: var(--ochre);  --fg: var(--ink); }
.btn--accent { --bg: var(--accent); --fg: #fff; }
.svc[data-s="1"] .btn--accent { --fg: var(--ink); }
.header__tel { --bg: var(--oat);    --fg: var(--ink); }
.callout .btn--light { --bg: var(--white); --fg: var(--ink); }

/* couleurs de survol : jaune partout… */
.btn { --hv: var(--ochre); --hf: var(--ink); }
/* …sauf quand le bouton est déjà jaune ou posé sur du jaune */
.btn--ochre, .svc[data-s="1"] .btn--accent { --hv: var(--ink); --hf: #fff; }
.hero__ground .btn--ink { --hv: var(--white); --hf: var(--ink); }
.hero__ground .btn--light { --hv: var(--ink); --hf: #fff; }

/* boutons ronds (avis, visionneuse) et menu */
.round { background: var(--white); color: var(--ink); }
.round:hover { background: var(--ochre); color: var(--ink); }
.lightbox .round { background: rgba(255, 255, 255, .14); color: #fff; }
.lightbox .round:hover { background: var(--ochre); color: var(--ink); }
.burger:hover { background: var(--ochre); color: var(--ink); }

/* Engagements : lecture simple, 4 arguments alignés, un trait jaune pour chacun */
.commit { background: var(--paper); padding: var(--section) 0; border-top: 1px solid var(--line); }
.commit__panel { background: none; border-radius: 0; padding: 0; }
.pillars { margin-top: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
.pillar { padding-top: 28px; border-top: 6px solid var(--ochre); }
.pillar h3 { font-size: clamp(22px, 1.9vw, 28px); letter-spacing: -0.035em; line-height: 1.08; }
.pillar p { margin-top: 14px; font-size: 16.5px; line-height: 1.6; font-weight: 500; color: var(--ink-2); }
@media (max-width: 980px) { .pillars { grid-template-columns: 1fr 1fr; row-gap: 48px; } }
@media (max-width: 680px) { .pillars { grid-template-columns: 1fr; row-gap: 36px; } .commit__head { padding-inline: 0; } }

/* Engagements intégrés en bas de la présentation */
.about .pillars { margin-top: clamp(64px, 7vw, 104px); }
.pillar { position: relative; border-top: 0; padding-top: 34px; }
.pillar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--ochre); transform-origin: 0 50%; }
.js .pillar::before { transform: scaleX(0); transition: transform 1.4s var(--ease-in-out) calc(var(--delay, 0s) + .2s); }
.js .pillar.is-visible::before { transform: none; }
.pillar__ico { display: block; width: 36px; height: 36px; margin-bottom: 18px; }
.pillar__ico svg { width: 100%; height: 100%; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Pied de page compact (-25 % de hauteur) */
.footer__panel { padding: 48px 0 20px; }
.footer__logo { width: 150px; }
.footer__about { margin-top: 16px; font-size: 13.5px; line-height: 1.55; max-width: 46ch; }
.footer h2 { margin-bottom: 10px; }
.footer li { padding: 2px 0; font-size: 14px; line-height: 1.45; }
.footer__bottom { margin-top: 32px; padding-top: 16px; }
.footer__logo { display: block; width: 140px !important; }
.footer__logo svg { width: 100%; height: auto; }
.footer__about { max-width: 52ch; }
.footer__logo { width: 200px !important; }
.footer__panel { padding: 64px 0 24px; }
.footer__bottom { margin-top: 40px; }
.footer li { padding: 3px 0; }

/* Contact condensé : titre dans la colonne gauche, coordonnées calées sur le bas du formulaire */
.contact__grid { margin-top: 0; align-items: stretch; }
.contact__copy { padding-top: 0 !important; display: flex; flex-direction: column; }
.contact__copy .contact__title { font-size: clamp(34px, 3.7vw, 54px); line-height: .98; max-width: 14ch; }
.contact__copy .contact__sub { margin-top: 20px; }
.contact__copy .coords { margin-top: auto; }
@media (max-width: 980px) { .contact__copy .coords { margin-top: 40px; } }

/* TEST : titres en majuscules (désactivable avec ?caps=off dans l'adresse) */
.caps h1, .caps h2, .caps .svc__title, .caps .pillar h3, .caps .form-card h3, .caps .step h3 {
  text-transform: uppercase; letter-spacing: -0.015em; line-height: .95;
}
.caps .hero__title .l { font-size: calc(var(--fs-h1) * .86); letter-spacing: -0.02em; }
.caps .hero__title .sub { text-transform: none; }
.caps .about__title, .caps .services__head h2, .caps .reviews__head h2, .caps .process__title, .caps .works__head h2 { font-size: calc(var(--fs-h2) * .86); }
.caps .contact__copy .contact__title { font-size: clamp(30px, 3.2vw, 46px); }
.caps .svc__title { font-size: calc(var(--fs-h3) * .86); }
.caps .pillar h3 { font-size: clamp(18px, 1.55vw, 22px); line-height: 1.1; letter-spacing: 0; }
.caps .footer h2 { text-transform: none; letter-spacing: -0.01em; line-height: 1.2; }

/* ===== Responsive mobile / tablette ===== */
@media (max-width: 980px) {
  /* bande jaune pleine largeur, rouleau calé sur le bord */
  .paint { --paint-w: 100%; }
  .paint__band { width: calc(var(--band-w) * 1.239); }
  .roller { right: 0; }
  /* présentation : texte sous les domaines, sans chevauchement */
  .about__text { grid-column: 3 / -1; }
}
@media (max-width: 680px) {
  .about__text { grid-column: 1 / -1; }
  .about__domains { grid-column: 1 / -1; }
  /* démarche : étapes rapprochées */
  .step { padding-bottom: 72px; }
  .step:last-child { padding-bottom: 0; }
  /* réalisations : colonnes de même hauteur */
  .gallery { grid-auto-flow: row dense; }
  .g5 { grid-row: span 4; }
}

/* Hero desktop : le rouleau finit à la même distance du bord droit que le texte du bord gauche */
@media (min-width: 981px) {
  .paint { --m: max(var(--g), calc((100% - var(--wrap)) / 2)); }
  .paint__done { right: calc(var(--band-w) * 1.239 + var(--m)); }
  .paint__band, .roller { right: var(--m); }
  .paint__rest { position: absolute; top: 0; bottom: 0; right: 0; width: calc(var(--m) + 2px); background: var(--ochre); }
  .paint__rest::before { content: ""; position: absolute; left: 0; right: 0; top: -9px; height: 10px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='10' preserveAspectRatio='none'%3E%3Cpath d='M0 10V6.5C14 5.2 22 7.4 38 6.1S66 3.9 84 5.2 112 8.2 131 6.4 160 3.1 182 4.9 214 7.8 236 6.2 270 2.6 292 4.4 324 7.6 347 5.6 380 3.3 400 5.1V10Z' fill='%23e7b54a'/%3E%3C/svg%3E") repeat-x 0 0 / 400px 10px; }
}

/* Hero : plus de petit trait au bord de la bande */
.paint__done::after { content: none; }

/* Contact : titre en bloc, 4 lignes fixes */
.contact__copy .contact__title { max-width: none; }
.contact__copy .contact__title span { display: block; width: max-content; white-space: nowrap; }
@media (max-width: 680px) { .caps .contact__copy .contact__title, .contact__copy .contact__title { font-size: calc((100vw - 2 * var(--g)) / 13.6); } }
@media (max-width: 680px) { .process__figure::before { left: calc(-1 * var(--g)); right: calc(-1 * var(--g)); } }

/* Réalisations : avant / après */
.shot.ba { --x: 50%; cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.shot.ba img { transform: none !important; pointer-events: none; -webkit-user-drag: none; }
.shot__before { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.ba__line { position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(22,20,17,.08); pointer-events: none; }
.ba__knob { position: absolute; top: 50%; left: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; box-shadow: 0 6px 18px -6px rgba(22,20,17,.45); }
.ba__knob svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ba__tag { position: absolute; z-index: 2; top: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(22,20,17,.62); color: #fff; font-size: 12px; font-weight: 700; pointer-events: none; transition: opacity .25s ease; }
.ba__tag--before { left: 12px; }
.ba__tag--after { right: 12px; }
.shot.ba .shot__cap { z-index: 3; }
@media (max-width: 680px) {
  .ba__knob { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
  .ba__knob svg { width: 14px; height: 14px; }
  .ba__tag { top: 8px; padding: 4px 8px; font-size: 10.5px; }
  .ba__tag--before { left: 8px; } .ba__tag--after { right: 8px; }
}

/* Avant / après : déplacement à la poignée uniquement */
.shot.ba { cursor: zoom-in; touch-action: auto; }
.ba__line { pointer-events: none; }
.ba__knob { pointer-events: auto; cursor: ew-resize; touch-action: none; transition: transform .2s var(--ease); }
.ba__knob::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; } /* zone de prise plus large */
.ba__knob:hover, .shot.is-dragging .ba__knob { transform: scale(1.08); }
.shot.is-dragging { cursor: ew-resize; }

/* Réalisations : texte du bas plus large */
@media (min-width: 981px) { .works__foot p { grid-column: 1 / span 9; } }
