/* Kervalen, plomberie et chauffage. Feuille de style unique. */

@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  /* Papier de bon de travail, vert-de-gris du cuivre oxydé, cuivre neuf. */
  --paper: oklch(0.972 0.011 86);
  --paper-2: oklch(0.948 0.016 84);
  --paper-card: oklch(0.988 0.006 90);
  --line: oklch(0.865 0.017 86);
  --line-strong: oklch(0.78 0.02 86);
  --ink: oklch(0.235 0.026 178);
  --ink-2: oklch(0.43 0.022 178);
  --ink-3: oklch(0.55 0.018 178);

  --vert: oklch(0.385 0.072 172);
  --vert-deep: oklch(0.29 0.055 174);
  --vert-ink: oklch(0.955 0.02 160);
  --vert-ink-2: oklch(0.84 0.035 162);
  --vert-line: oklch(0.47 0.06 172);
  --menthe: oklch(0.915 0.035 160);

  --cuivre: oklch(0.64 0.125 50);
  --cuivre-ink: oklch(0.5 0.12 44);
  --cuivre-pale: oklch(0.93 0.035 60);
  --alerte: oklch(0.52 0.15 35);

  --f-text: "Barlow", system-ui, sans-serif;
  --f-disp: "Barlow Condensed", "Barlow", system-ui, sans-serif;

  --gut: clamp(20px, 4.4vw, 56px);
  --max: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-q: cubic-bezier(0.25, 1, 0.5, 1);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 17.5px;
  line-height: 1.62;
  font-feature-settings: "kern", "liga", "tnum" 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
figure { margin: 0; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-disp); font-weight: 600; line-height: 1.02; letter-spacing: -0.005em; text-wrap: balance; }
::selection { background: var(--cuivre-pale); color: var(--ink); }
:focus-visible { outline: 2.5px solid var(--cuivre); outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.num { font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: var(--radius); text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--vert); --fg: var(--vert-ink); --bd: var(--vert);
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 22px;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  border-radius: var(--radius);
  font: 600 17px/1 var(--f-text); text-decoration: none; letter-spacing: 0.005em; white-space: nowrap;
  cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .2s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { --bg: var(--vert-deep); --bd: var(--vert-deep); }
.btn:active { transform: translateY(1px); }
.btn--cuivre { --bg: var(--cuivre-ink); --bd: var(--cuivre-ink); --fg: oklch(0.985 0.01 70); }
.btn--cuivre:hover { --bg: oklch(0.44 0.115 42); --bd: oklch(0.44 0.115 42); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line-strong); }
.btn--ghost:hover { --bg: var(--paper-2); --bd: var(--ink-3); }
.btn--light { --bg: var(--paper-card); --fg: var(--vert-deep); --bd: var(--paper-card); }
.btn--light:hover { --bg: var(--menthe); --bd: var(--menthe); }
.btn--line-light { --bg: transparent; --fg: var(--vert-ink); --bd: var(--vert-line); }
.btn--line-light:hover { --bg: var(--vert-deep); --bd: var(--vert-ink-2); }
.btn .tel { font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.link {
  color: var(--vert); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px;
  text-underline-offset: 4px; text-decoration-color: color-mix(in oklch, var(--vert) 35%, transparent);
  transition: text-decoration-color .2s var(--ease);
}
.link:hover { text-decoration-color: var(--vert); }

/* ---------- En-tête ---------- */
.top {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in oklch, var(--paper) 94%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.top.is-scrolled { border-bottom-color: var(--line); }
@supports (backdrop-filter: blur(4px)) { .top { backdrop-filter: saturate(1.2) blur(10px); } }
.top__in { display: flex; align-items: center; gap: 24px; height: 76px; }
.logo { display: inline-flex; flex-direction: column; gap: 4px; color: var(--vert); text-decoration: none; }
.logo svg { width: 132px; height: auto; display: block; }
.logo small { white-space: nowrap; font: 500 11.5px/1 var(--f-disp); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { white-space: nowrap; padding: 8px 12px; border-radius: var(--radius); text-decoration: none; font-weight: 500; font-size: 16px; color: var(--ink-2); transition: color .2s var(--ease), background-color .2s var(--ease); }
.nav a:hover { color: var(--ink); background: var(--paper-2); }
.nav a[aria-current="page"] { color: var(--ink); }
.top__call { display: flex; align-items: center; gap: 14px; }
.top__phone { display: flex; flex-direction: column; align-items: flex-end; text-decoration: none; line-height: 1.15; }
.top__phone b { font: 600 22px/1 var(--f-disp); letter-spacing: 0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.top__phone span { white-space: nowrap; font-size: 13px; color: var(--ink-2); margin-top: 3px; display: inline-flex; align-items: center; gap: 6px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); flex: none; }
.is-open .status-dot { background: oklch(0.62 0.13 155); box-shadow: 0 0 0 3px color-mix(in oklch, oklch(0.62 0.13 155) 22%, transparent); }
.top__phone:hover b { color: var(--vert); }
.top .btn { min-height: 46px; padding: 0 18px; font-size: 16px; }
.top__icon { display: none; }
@media (max-width: 640px) {
  .top__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius); border: 1.5px solid var(--line-strong); color: var(--cuivre-ink); }
  .top__icon svg { width: 20px; height: 20px; }
  .top__icon:hover { background: var(--paper-2); }
}

@media (max-width: 1180px) { .nav a { padding: 8px 9px; font-size: 15.5px; } }
@media (max-width: 1100px) {
  .nav { display: none; }
  .top__call { margin-left: auto; }
}
@media (max-width: 640px) {
  .top__in { height: 64px; gap: 12px; }
  .logo svg { width: 112px; }
  .logo small { font-size: 10px; }
  .top__phone { display: none; }
  .top .btn { min-height: 44px; padding: 0 14px; font-size: 15.5px; }
  .top .btn .long { display: none; }
}

/* ---------- Héros ---------- */
.hero { padding: clamp(28px, 4.5vw, 64px) 0 clamp(48px, 6vw, 88px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(42px, 4.5vw, 64px); line-height: 0.99; letter-spacing: -0.012em; color: var(--ink); max-width: 17ch; }
.hero h1 .soft { color: var(--vert); }
.hero__lead { margin-top: 26px; font-size: clamp(18px, 1.5vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 50ch; }
.hero__lead strong { color: var(--ink); font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__human { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; max-width: 540px; font-size: 15.5px; color: var(--ink-2); }
.hero__human dt { font: 500 13px/1.6 var(--f-disp); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); padding-top: 1px; }
.hero__human dd { margin: 0; color: var(--ink); }
.hero__human .live { color: var(--vert); font-weight: 600; }

.hero__visual { position: relative; }
.hero__photo { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); aspect-ratio: 5 / 6; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform: scale(1.02); transition: transform 1.6s var(--ease); }
.hero__visual:hover .hero__photo img { transform: scale(1.06); }
.hero__ticket {
  position: absolute; left: clamp(-56px, -3.6vw, -16px); bottom: clamp(24px, 5vw, 56px);
  width: min(372px, 86%);
  background: var(--paper-card); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -22px oklch(0.25 0.04 175 / 0.45);
  padding: 16px 18px 14px;
}
.ticket__head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 10px; border-bottom: 1px dashed var(--line-strong); font: 600 15px/1 var(--f-disp); letter-spacing: 0.08em; text-transform: uppercase; color: var(--vert); }
.ticket__head span { color: var(--ink-3); font-weight: 500; letter-spacing: 0.04em; }
.ticket__rows { margin: 10px 0 0; display: grid; gap: 7px; }
.ticket__rows div { display: grid; grid-template-columns: 80px 1fr; gap: 10px; font-size: 14.5px; line-height: 1.35; }
.ticket__rows dt { font: 500 12.5px/1.5 var(--f-disp); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.ticket__rows dd { margin: 0; color: var(--ink); }
.ticket__rows .ok { color: var(--vert); font-weight: 600; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 15ch; }
  .hero__photo { aspect-ratio: 5 / 4; }
  .hero__ticket { left: 14px; bottom: 14px; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: clamp(38px, 10.4vw, 44px); max-width: none; }
  .hero__cta .btn { flex: 1 1 100%; justify-content: center; }
  .hero__photo { aspect-ratio: 4 / 5; }
  .hero__ticket { position: relative; left: auto; bottom: auto; width: auto; margin: -64px 14px 0; }
  .hero__human { grid-template-columns: 1fr; gap: 2px; }
  .hero__human dd { margin-bottom: 10px; }
}

/* ---------- Faits ---------- */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.facts li { padding: 24px 22px 24px 0; }
.facts li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.facts b { display: block; font: 600 24px/1.05 var(--f-disp); color: var(--ink); letter-spacing: 0.005em; }
.facts span { display: block; margin-top: 6px; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
@media (max-width: 1000px) {
  .facts ul { grid-template-columns: repeat(2, 1fr); }
  .facts li, .facts li + li { padding: 20px 18px 20px 0; border-left: 0; border-top: 1px solid var(--line); }
  .facts li:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
  .facts li:nth-child(-n+2) { border-top: 0; }
  .facts li:last-child { grid-column: 1 / -1; }
  .facts li:last-child:nth-child(odd) { border-left: 0; padding-left: 0; }
}

/* ---------- Sections ---------- */
.sec { padding: clamp(72px, 9vw, 128px) 0; }
.sec--tight { padding: clamp(56px, 7vw, 96px) 0; }
.sec__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 4.5vw, 56px); }
.sec__head h2, .h2 { font-size: clamp(34px, 3.7vw, 48px); line-height: 1.02; }
.h2 .grey, .sec__head h2 .grey { color: var(--ink-3); }
.sec__head p { margin: 0; color: var(--ink-2); max-width: 52ch; }
@media (max-width: 860px) { .sec__head { grid-template-columns: 1fr; } }

/* ---------- Diagnostic (bloc vert) ---------- */
.diag { background: var(--vert); color: var(--vert-ink); padding: clamp(64px, 8vw, 112px) 0 clamp(72px, 9vw, 120px); position: relative; overflow: hidden; }
.diag .sec__head h2 { color: var(--vert-ink); }
.diag .sec__head h2 .grey { color: var(--vert-ink-2); }
.diag .sec__head p { color: var(--vert-ink-2); }
.diag__frame > div:first-child { position: sticky; top: 110px; }
.diag__frame { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.diag__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--vert-line); }
.diag__list li { border-bottom: 1px solid var(--vert-line); }
.diag__opt {
  width: 100%; display: grid; grid-template-columns: 34px 1fr 20px; align-items: center; gap: 14px;
  padding: 17px 6px 17px 2px; background: none; border: 0; color: var(--vert-ink-2); text-align: left; cursor: pointer;
  font: 500 clamp(21px, 1.9vw, 25px)/1.1 var(--f-disp); letter-spacing: 0.005em;
  transition: color .2s var(--ease), padding-left .35s var(--ease);
}
.diag__opt .n { font: 500 13px/1 var(--f-disp); letter-spacing: 0.08em; color: var(--vert-ink-2); opacity: 0.75; font-variant-numeric: tabular-nums; }
.diag__opt svg { width: 18px; height: 18px; opacity: 0; transform: translateX(-6px); transition: opacity .25s var(--ease), transform .35s var(--ease); }
.diag__opt:hover { color: var(--vert-ink); }
.diag__opt[aria-selected="true"] { color: var(--vert-ink); padding-left: 10px; }
.diag__opt[aria-selected="true"] .n { color: var(--cuivre-pale); opacity: 1; }
.diag__opt[aria-selected="true"] svg { opacity: 1; transform: none; }
.diag__opt:focus-visible { outline-color: var(--cuivre-pale); outline-offset: -2px; }
.diag__progress { height: 2px; background: var(--vert-line); margin-top: 18px; position: relative; overflow: hidden; }
.diag__progress i { position: absolute; inset: 0; background: var(--cuivre-pale); transform-origin: left; transform: scaleX(0); }
.diag__hint { margin-top: 12px; font-size: 14px; color: var(--vert-ink-2); }

/* Le bon d'intervention */
.bon {
  position: relative; background: var(--paper-card); color: var(--ink); border-radius: var(--radius);
  box-shadow: 0 30px 60px -30px oklch(0.15 0.05 175 / 0.55);
  padding: clamp(22px, 2.6vw, 34px) clamp(20px, 2.8vw, 38px) clamp(22px, 2.6vw, 32px);
}
.bon::before { /* bord perforé du carnet */
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 10px;
  background: radial-gradient(circle at 7px 0, var(--vert) 3.5px, transparent 4px) 0 0 / 14px 10px repeat-x;
}
.bon__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 18px; border-bottom: 1.5px solid var(--ink); }
.bon__head h3 { font-size: clamp(24px, 2.2vw, 30px); letter-spacing: 0.01em; }
.bon__head .meta { margin: 6px 0 0; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.bon__head .meta b { display: inline; margin-right: 8px; font: 600 15px/1.2 var(--f-disp); letter-spacing: 0.08em; text-transform: uppercase; color: var(--vert); }
.bon__rows { margin: 0; }
.bon__row { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 15px 0 14px; border-bottom: 1px dashed var(--line-strong); }
.bon__row dt { font: 500 13.5px/1.5 var(--f-disp); letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-3); padding-top: 2px; }
.bon__row dd { margin: 0; font-size: 16.5px; line-height: 1.55; }
.bon__row dd strong { font-weight: 600; }
.bon__row--motif dd { font: 600 26px/1.1 var(--f-disp); color: var(--vert); letter-spacing: 0.005em; }
.bon__row--warn dd { color: var(--ink); }
.bon__row--warn dd .tag { display: inline-block; margin-right: 8px; padding: 2px 8px 1px; border-radius: 3px; background: var(--cuivre-pale); color: var(--cuivre-ink); font: 600 12.5px/1.6 var(--f-disp); letter-spacing: 0.08em; text-transform: uppercase; vertical-align: 2px; }
.bon__prix { font: 600 22px/1.2 var(--f-disp); color: var(--ink); letter-spacing: 0.01em; }
.bon__prix small { display: block; font: 400 14.5px/1.5 var(--f-text); color: var(--ink-2); letter-spacing: 0; margin-top: 4px; }
.bon__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; padding-top: 22px; }
.bon__foot .btn { min-height: 50px; }
.stamp {
  flex: none; align-self: center; margin: 0;
  transform: rotate(-5deg); padding: 7px 12px 6px; border: 2px solid var(--cuivre); border-radius: 3px; color: var(--cuivre-ink);
  font: 600 13px/1.25 var(--f-disp); letter-spacing: 0.09em; text-transform: uppercase; text-align: center; background: color-mix(in oklch, var(--paper-card) 70%, transparent);
  pointer-events: none;
}
.stamp span { display: block; font-size: 17px; letter-spacing: 0.04em; white-space: nowrap; }
.bon [data-fill] { transition: opacity .45s var(--ease), transform .45s var(--ease); }
.bon.is-swapping [data-fill] { opacity: 0; transform: translateY(6px); }
@media (max-width: 960px) { .diag__frame { grid-template-columns: 1fr; } .diag__frame > div:first-child { position: static; } }
@media (max-width: 640px) {
  .bon__row { grid-template-columns: 1fr; gap: 4px; padding: 13px 0 12px; }
  .bon__head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .stamp { align-self: flex-start; transform: rotate(-2deg); }
  .bon__head .meta b { display: block; }
  .bon__foot .btn { flex: 1 1 100%; justify-content: center; }
  .diag__opt { padding: 15px 4px 15px 0; }
}

/* ---------- Métiers ---------- */
.metier { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 40px); align-items: start; }
.metier + .metier { margin-top: clamp(64px, 8vw, 112px); }
.metier__img { grid-column: 1 / span 5; position: relative; overflow: hidden; border-radius: var(--radius); }
.metier__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.6s var(--ease); }
.metier__img:hover img { transform: scale(1.04); }
.metier__img figcaption { position: absolute; left: 14px; bottom: 14px; right: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-block; padding: 6px 10px 5px; background: var(--paper-card); color: var(--ink); border-radius: 3px; font: 500 14px/1.2 var(--f-disp); letter-spacing: 0.04em; }
.chip b { color: var(--vert); font-weight: 600; }
.metier__body { grid-column: 7 / span 6; padding-top: clamp(8px, 2vw, 28px); }
.metier--rev .metier__img { grid-column: 8 / span 5; grid-row: 1; }
.metier--rev .metier__body { grid-column: 1 / span 6; grid-row: 1; }
.metier__body h3 { font-size: clamp(30px, 3vw, 40px); }
.metier__body > p { margin-top: 16px; color: var(--ink-2); max-width: 54ch; }
.jobs { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid var(--line); }
.jobs li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 24px; padding: 16px 0 15px; border-bottom: 1px solid var(--line); }
.jobs b { font-weight: 600; font-size: 17.5px; }
.jobs p { grid-column: 1; margin: 0; font-size: 15.5px; color: var(--ink-2); line-height: 1.5; }
.jobs .delay { grid-column: 2; grid-row: 1 / span 2; align-self: center; font: 500 15px/1.2 var(--f-disp); letter-spacing: 0.04em; color: var(--vert); text-align: right; white-space: nowrap; }
@media (max-width: 860px) {
  .metier__img, .metier--rev .metier__img { grid-column: 1 / -1; grid-row: auto; }
  .metier__body, .metier--rev .metier__body { grid-column: 1 / -1; grid-row: auto; padding-top: 28px; }
  .metier__img img { aspect-ratio: 4 / 3; }
}
@media (max-width: 520px) {
  .jobs li { grid-template-columns: 1fr; }
  .jobs .delay { grid-column: 1; grid-row: auto; text-align: left; margin-top: 4px; }
}

/* ---------- Déroulé ---------- */
.steps-sec { background: var(--paper-2); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.steps__pipe { position: absolute; left: 0; right: 0; top: 11px; height: 4px; border-radius: 2px; background: var(--cuivre); transform-origin: left; transform: scaleX(0); transition: transform 1.8s var(--ease-q); }
.steps.is-in .steps__pipe { transform: none; }
.step { position: relative; padding: 52px 26px 0 0; }
.step .ring { position: absolute; top: 3px; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--paper-2); border: 4px solid var(--cuivre); transform: scale(0); transition: transform .5s var(--ease); }
.step + .step .ring { left: -10px; }
.steps.is-in .step .ring { transform: none; }
.steps.is-in .step:nth-child(3) .ring { transition-delay: .45s; } .steps.is-in .step:nth-child(4) .ring { transition-delay: .9s; } .steps.is-in .step:nth-child(5) .ring { transition-delay: 1.35s; }
.step + .step { padding-left: 26px; border-left: 1px solid var(--line); }
.step .k { font: 600 15px/1 var(--f-disp); letter-spacing: 0.08em; color: var(--cuivre-ink); font-variant-numeric: tabular-nums; }
.step h3 { margin-top: 14px; font-size: 26px; line-height: 1.08; }
.step p { margin-top: 12px; font-size: 16px; color: var(--ink-2); line-height: 1.55; }
.step p:last-child { margin-bottom: 0; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 0; }
  .step:nth-child(4) { border-left: 0; padding-left: 0; }
  .step:nth-child(n+4) { margin-top: 28px; }
  .steps__pipe, .step .ring { display: none; }
  .step { padding-top: 6px; }
}
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 22px 0 0 44px; border-left: 0; position: relative; margin-top: 0; }
  .step::before { content: ""; position: absolute; left: 12px; top: 0; bottom: -22px; width: 3px; background: var(--cuivre); }
  .step:last-child::before { bottom: auto; height: 28px; }
  .step::after { content: ""; position: absolute; left: 6px; top: 22px; width: 15px; height: 15px; border-radius: 50%; background: var(--paper-2); border: 3px solid var(--cuivre); }
  .step .k { display: block; }
}

/* ---------- Bande photo ---------- */
.band { position: relative; }
.band img { width: 100%; height: clamp(320px, 48vw, 620px); object-fit: cover; object-position: 50% 45%; }
.band figcaption { position: absolute; left: var(--gut); bottom: clamp(20px, 3vw, 36px); max-width: min(560px, calc(100% - 2 * var(--gut))); background: var(--paper-card); border-radius: var(--radius); padding: 18px 22px 16px; }
.band figcaption b { display: block; font: 600 22px/1.15 var(--f-disp); }
@media (max-width: 640px) { .band img { height: 460px; } .band figcaption { left: 16px; right: 16px; max-width: none; padding: 14px 16px 12px; } }
.band figcaption span { display: block; margin-top: 6px; font-size: 15.5px; color: var(--ink-2); line-height: 1.5; }

/* ---------- Tarifs ---------- */
.tarifs { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.prices { width: 100%; border-collapse: collapse; }
.prices caption { text-align: left; font: 500 13.5px/1.5 var(--f-disp); letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-3); padding-bottom: 10px; }
.prices th, .prices td { text-align: left; padding: 16px 0 15px; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.prices thead th { font: 500 13px/1.4 var(--f-disp); letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-3); padding-top: 0; border-bottom-color: var(--ink); }
.prices tbody th { font-weight: 500; font-size: 17px; padding-right: 20px; }
.prices tbody th small { display: block; font-weight: 400; font-size: 14.5px; color: var(--ink-2); margin-top: 2px; }
.prices td { text-align: right; font: 600 21px/1.2 var(--f-disp); white-space: nowrap; font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }
.prices td small { display: block; font: 400 13.5px/1.4 var(--f-text); color: var(--ink-3); letter-spacing: 0; }
.prices tr.free td { color: var(--vert); }
.aside-note { background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 22px; }
.aside-note h3 { font-size: 26px; }
.aside-note ul { margin: 16px 0 0; padding: 0; list-style: none; }
.aside-note li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.aside-note li b { color: var(--ink); font-weight: 600; }
.tva { margin-top: 18px; font-size: 14.5px; color: var(--ink-2); max-width: 64ch; }
@media (max-width: 900px) { .tarifs { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .prices td { font-size: 19px; } .prices tbody th { font-size: 16px; } }

/* ---------- Zone ---------- */
.zone { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.check { margin-top: 28px; }
.check label { display: block; font-weight: 600; margin-bottom: 8px; }
.check__row { display: flex; gap: 10px; }
.field-input {
  width: 100%; min-height: 54px; padding: 0 16px; border: 1.5px solid var(--line-strong); border-radius: var(--radius);
  background: var(--paper-card); color: var(--ink); font: 400 17.5px/1.2 var(--f-text);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field-input:hover { border-color: var(--ink-3); }
.field-input:focus { outline: none; border-color: var(--vert); box-shadow: 0 0 0 3px color-mix(in oklch, var(--vert) 22%, transparent); }
.check__out { margin-top: 14px; min-height: 52px; font-size: 16px; line-height: 1.5; }
.check__out .yes { color: var(--vert); font-weight: 600; }
.check__out .no { color: var(--cuivre-ink); font-weight: 600; }
.communes-box summary { display: none; }
@media (max-width: 900px) {
  .communes-box { border-top: 1px solid var(--line); }
  .communes-box summary { display: flex; justify-content: space-between; align-items: center; cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; color: var(--vert); }
  .communes-box summary::-webkit-details-marker { display: none; }
  .communes-box summary::after { content: "+"; font: 500 24px/1 var(--f-text); }
  .communes-box[open] summary::after { content: "\2212"; }
  .communes-box .communes { border-top: 0; padding-top: 0; }
}
.communes { columns: 3 13ch; column-gap: 28px; margin: 0; padding: 22px 0 0; list-style: none; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.95; color: var(--ink-2); }
.communes li { break-inside: avoid; transition: color .2s var(--ease); }
.communes li.hit { color: var(--vert); font-weight: 600; }
@media (max-width: 900px) { .zone { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .communes { columns: 2; } }

/* ---------- Questions ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 80px); }
.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 0; font: 600 21px/1.2 var(--f-disp); letter-spacing: 0.005em; transition: color .2s var(--ease); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--vert); }
.qa summary svg { width: 20px; height: 20px; flex: none; transition: transform .35s var(--ease); color: var(--vert); }
.qa details[open] summary svg { transform: rotate(45deg); }
.qa .ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.qa details[open] .ans { grid-template-rows: 1fr; }
.qa .ans > div { overflow: hidden; }
.qa .ans p { color: var(--ink-2); max-width: 62ch; padding-bottom: 6px; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* ---------- Appel final ---------- */
.final { background: var(--vert); color: var(--vert-ink); padding: clamp(64px, 8vw, 112px) 0; }
.final__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 40px 64px; align-items: end; }
.final h2 { font-size: clamp(36px, 4vw, 54px); line-height: 1; color: var(--vert-ink); max-width: 20ch; }
.final p { color: var(--vert-ink-2); margin-top: 20px; max-width: 50ch; }
.final__cta { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.final__cta .btn { justify-content: center; min-height: 58px; font-size: 18px; }
.final__cta small { color: var(--vert-ink-2); font-size: 14.5px; text-align: center; }
@media (max-width: 860px) { .final__grid { grid-template-columns: 1fr; } }

/* ---------- Pied ---------- */
.foot { background: var(--ink); color: oklch(0.84 0.015 170); padding: 56px 0 36px; font-size: 15px; }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.foot .logo { color: oklch(0.93 0.025 160); }
.foot .logo small { color: oklch(0.72 0.02 170); }
.foot h4 { font: 500 13px/1.5 var(--f-disp); letter-spacing: 0.1em; text-transform: uppercase; color: oklch(0.7 0.02 170); margin-bottom: 12px; }
.foot p { margin: 0 0 6px; line-height: 1.55; }
.foot a { text-decoration: none; transition: color .2s var(--ease); }
.foot a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.foot__legal { margin-top: 44px; padding-top: 20px; border-top: 1px solid oklch(0.36 0.02 175); display: flex; flex-wrap: wrap; gap: 8px 24px; color: oklch(0.68 0.02 170); font-size: 13.5px; }
@media (max-width: 860px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot__grid { grid-template-columns: 1fr; } }

/* ---------- Barre d'appel mobile ---------- */
.callbar { display: none; }
@media (max-width: 640px) {
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in oklch, var(--paper) 96%, transparent); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .4s var(--ease);
  }
  .callbar.is-on { transform: none; }
  .callbar .btn { justify-content: center; min-height: 50px; padding: 0 10px; font-size: 16px; }
  body.has-callbar { padding-bottom: 76px; }
}

/* ---------- Entrées ---------- */
.rise { opacity: 0; transform: translateY(14px); }
.is-ready .rise { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.no-js .rise { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .rise { opacity: 1; transform: none; }
  .steps__pipe path { stroke-dashoffset: 0; }
  .hero__photo img, .metier__img img { transform: none !important; }
}
