/* =============================================================================
   Vicente Peinture — feuille de style
   Principe : un plafond blanc (en-tête), un mur peint (bandeau de couleur),
   des lignes nettes. La couleur du mur (--wall) change selon la page.
   ========================================================================== */

/* ---------------------------------------------------------------- Polices */
@font-face {
  font-family: "Urbanist";
  src: url("../fonts/urbanist-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Urbanist";
  src: url("../fonts/urbanist-italic-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ---------------------------------------------------------------- Jetons */
:root {
  --paper: #FBFBF9;
  --white: #FFFFFF;
  --primer: #EFEEEA;
  --ink: #1E2731;
  --ink-2: #2C3846;
  --ink-soft: #505B66;
  --line: #D9D8D2;
  --line-strong: #A9A8A1;
  --ok: #2E6B4E;
  --ok-bg: #E7F0EA;
  --err: #B3261E;
  --err-bg: #F8E9E7;
  --brand: #EB8113;          /* orange Vicente Peinture (ancien site) */
  --brand-hover: #D8730D;
  --wall: #EB8113;
  --wall-ink: #FFFFFF;        /* texte blanc sur l'orange (choix du client) */
  --wall-strong: #1E2731;     /* bouton principal et contour de focus sur le mur */
  --wall-strong-ink: #FFFFFF;

  --font: "Urbanist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 2px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, .7, .2, 1);

  --fs-xs: .875rem;      /* 14 */
  --fs-sm: .9375rem;     /* 15 */
  --fs-base: 1.0625rem;  /* 17 → 18 */
  --fs-md: 1.25rem;      /* 20 */
  --fs-h3: 1.375rem;     /* 22 */
  --fs-h2: clamp(1.875rem, 1.35rem + 2.1vw, 2.875rem);
  --fs-display: clamp(2.375rem, 1.45rem + 3.9vw, 4.375rem);
  --fs-display-xl: clamp(2.625rem, 1.35rem + 4vw, 4.5rem);
}
@media (min-width: 900px) {
  :root { --fs-base: 1.125rem; --fs-md: 1.3125rem; }
}

/* ---------------------------------------------------------------- Base */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
picture { display: block; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.15; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
strong { font-weight: 600; }
figure { margin: 0; }
dialog { color: inherit; }
::selection { background: var(--brand); color: var(--ink); }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
main:focus { outline: none; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 12px 18px; background: var(--ink); color: var(--paper);
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------------------- Mise en page */
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(64px, 8.5vw, 124px); }
.section--tight { padding-block: clamp(40px, 5.5vw, 72px); }
.section--primer { background: var(--primer); }
/* Deux sections consécutives sur le même fond : pas de double espacement */
.section:not(.section--primer) + .section:not(.section--primer),
.section--primer + .section--primer { padding-top: 0; }
.section__head { max-width: 780px; margin-bottom: clamp(28px, 4vw, 52px); }
.section__head--row {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 16px 40px; max-width: none;
}
.section__head--row > div { max-width: 760px; }
.section__intro { margin: 14px 0 0; color: var(--ink-soft); font-size: var(--fs-md); line-height: 1.5; max-width: 40em; }
.section__intro a { color: var(--ink); }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
@media (max-width: 899px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- Typographie */
.display {
  font-size: var(--fs-display);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.028em;
  text-wrap: balance;
}
.display--xl { font-size: var(--fs-display-xl); line-height: 1; letter-spacing: -.034em; }
.h2 { font-size: var(--fs-h2); font-weight: 500; line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
.h2 a { text-decoration: none; }
.h2 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .14em; }
.h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.25; letter-spacing: -.01em; margin-bottom: 16px; }
.lead { font-size: var(--fs-md); line-height: 1.5; margin: 24px 0 0; max-width: 34em; }
.lead-sm { font-size: var(--fs-md); line-height: 1.5; }
/* Texte blanc sur l'orange : un peu plus de graisse pour rester bien lisible */
.home-hero .lead, .wall-hero .lead, .cta-band__text p, .swatches__label { font-weight: 500; }

.prose { max-width: 68ch; }
.prose > * { margin-block: 0; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 1.375rem; font-weight: 600; letter-spacing: -.01em; margin-top: 2.2em; }
.prose h2 + p, .prose h2 + ul { margin-top: .6em; }
.prose ul { padding-left: 1.1em; }
.prose li + li { margin-top: .5em; }
.prose--lead p:first-child { font-size: var(--fs-md); line-height: 1.5; }

/* ---------------------------------------------------------------- Boutons et liens */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border: 1.5px solid transparent; border-radius: var(--radius);
  font-size: 1rem; font-weight: 600; line-height: 1.2; letter-spacing: .005em;
  text-decoration: none; white-space: nowrap;
  transition: background-color .16s, color .16s, border-color .16s;
}
.btn .icon { width: 20px; height: 20px; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--ink-2); }
.btn--brand { background: var(--brand); color: var(--white); }
.btn--brand:hover { background: var(--brand-hover); }
/* Bouton « inversé » sur un mur : couleur du texte en fond, couleur du mur en texte */
.btn--wall { background: var(--wall-strong); color: var(--wall-strong-ink); transition: background-color .3s, color .45s var(--ease); }
.btn--wall:hover { background: color-mix(in srgb, var(--wall-strong) 86%, var(--wall-strong-ink)); }
.btn--outline { background: transparent; color: inherit; border-color: currentColor; }
.btn--outline:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.link-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--ink); white-space: nowrap;
  text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: .28em;
}
.prose a, .section__intro a, .faq__answer a, .strengths__alt a, .consent a, .map__note a, .mega__all, .town-list + p a {
  text-decoration-color: var(--brand); text-decoration-thickness: 2px;
}
.link-more .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-more:hover .icon { transform: translateX(3px); }

.ticks { list-style: none; display: grid; gap: 10px; margin: 0; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .38em;
  width: 16px; height: 16px; background: var(--ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.5 12.5 4.8 4.8L19.5 7'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.5 12.5 4.8 4.8L19.5 7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ticks--strong li { font-weight: 600; }

/* ---------------------------------------------------------------- Logo */
.logo {
  display: inline-flex; align-items: baseline;
  font-size: 1.4375rem; line-height: 1; color: var(--ink);
  text-decoration: none; white-space: nowrap;
}
.logo__name { font-weight: 700; letter-spacing: -.02em; }
.logo__sub { font-weight: 400; letter-spacing: -.01em; margin-left: .26em; color: var(--ink-soft); }
.logo__dot {
  display: inline-block; position: relative; bottom: .5635em;
  width: .122em; height: .122em;
  margin: 0 .06em 0 -.162em;
  background: var(--wall);
  transition: background-color .45s var(--ease);
}
.logo--light { color: var(--paper); }
.logo--light .logo__sub { color: #B8C0C8; }

/* ---------------------------------------------------------------- En-tête */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.page-legal .site-header, .page-form .site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.site-header__actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }

.nav { margin-left: 12px; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link {
  display: block; padding: 10px 12px;
  font-size: 1rem; font-weight: 500; color: var(--ink);
  text-decoration: none; border-radius: var(--radius);
}
.nav__link:hover, .nav__link[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .45em; }
.nav__item--menu .nav__link { padding-right: 4px; }
.nav__toggle {
  display: grid; place-items: center; width: 28px; height: 36px;
  padding: 0; border: 0; background: none; color: var(--ink); border-radius: var(--radius);
}
.nav__toggle .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.nav__item--menu.is-open .nav__toggle .icon { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 14px); left: -24px; z-index: 60;
  width: min(760px, 80vw);
  padding: 20px; background: var(--paper);
  border: 1px solid var(--line); box-shadow: 0 18px 40px -18px rgba(30, 39, 49, .28);
  visibility: hidden; opacity: 0; transform: translateY(-4px);
  transition: opacity .18s, transform .18s var(--ease), visibility 0s .18s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav__item--menu.is-open .mega { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
@media (hover: hover) and (pointer: fine) {
  .nav__item--menu:hover .mega { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
}
.mega__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; }
.mega__link {
  display: flex; gap: 14px; padding: 12px; border-radius: var(--radius);
  text-decoration: none; color: var(--ink);
}
.mega__link:hover, .mega__link[aria-current="page"] { background: var(--primer); }
.mega__swatch { display: inline-block; width: 12px; height: 12px; flex: none; background: var(--brand); margin-top: .38em; }
.mega__text { display: grid; gap: 2px; }
.mega__title { font-weight: 600; line-height: 1.3; }
.mega__desc { font-size: var(--fs-sm); line-height: 1.4; color: var(--ink-soft); }
.mega__all { display: inline-block; margin: 12px 12px 4px; font-weight: 600; }

.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap;
}
.header-phone:hover span { text-decoration: underline; }
.header-phone .icon { width: 20px; height: 20px; }
.header-cta { min-height: 46px; padding: 0 18px; }

.burger {
  display: none; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 4px 0 10px; border: 0; background: none;
  font-weight: 600; color: var(--ink);
}
.burger__bars { position: relative; width: 22px; height: 2px; background: currentColor; transition: background-color .2s; }
.burger__bars::before, .burger__bars::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor;
  transition: transform .25s var(--ease);
}
.burger__bars::before { top: -7px; }
.burger__bars::after { top: 7px; }
.burger[aria-expanded="true"] .burger__bars { background: transparent; }
.burger[aria-expanded="true"] .burger__bars::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  overflow-y: auto; overscroll-behavior: contain;
  padding: 8px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  background: var(--paper); border-top: 1px solid var(--line);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__list { list-style: none; }
.mobile-menu__list > li { border-bottom: 1px solid var(--line); }
.mobile-menu__list a {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 0; font-size: 1.25rem; font-weight: 500; text-decoration: none;
}
.mobile-menu__list a[aria-current="page"] { text-decoration: underline; text-underline-offset: .3em; }
.mobile-menu__sub { list-style: none; padding: 0 0 12px; }
.mobile-menu__sub a { padding: 9px 0; font-size: 1.0625rem; color: var(--ink-soft); }
.mobile-menu__sub .mega__swatch { margin-top: 0; }
.mobile-menu__actions { display: grid; gap: 10px; margin-top: 24px; }
body.menu-open { overflow: hidden; }

@media (max-width: 1179px) {
  .header-phone span { display: none; }
}
@media (max-width: 1079px) {
  .nav, .header-phone { display: none; }
  .burger { display: inline-flex; }
}
@media (max-width: 559px) {
  :root { --header-h: 64px; }
  .header-cta { display: none; }
  .logo { font-size: 1.3125rem; }
}

/* ---------------------------------------------------------------- Accueil : le mur */
.home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 44%);
  min-height: min(880px, calc(100svh - var(--header-h)));
  background: var(--wall);
  color: var(--wall-ink);
  transition: color .3s;
}
.home-hero :focus-visible { outline-color: var(--wall-strong); }
.home-hero__wall {
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  padding: clamp(48px, 8vh, 104px) clamp(24px, 4vw, 64px) clamp(40px, 7vh, 88px) max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
}
.home-hero__paint {
  position: absolute; inset: 0;
  background: var(--paint, var(--wall));
  clip-path: inset(0 0 100% 0);
  pointer-events: none;
}
.home-hero__paint.is-painting { animation: roller .95s var(--ease) forwards; }
@keyframes roller { to { clip-path: inset(0 0 0 0); } }
.home-hero__text { position: relative; max-width: 720px; }
.home-hero .lead { max-width: 31em; }

.home-hero__photo { position: relative; min-height: 440px; background: color-mix(in srgb, var(--wall) 80%, #000); }
.home-hero__frames, .home-hero__frame { position: absolute; inset: 0; }
.home-hero__frame { opacity: 0; transition: opacity .8s var(--ease); }
.home-hero__frame.is-current { opacity: 1; }
.home-hero__frame picture, .home-hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.home-hero__caption {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px;
  max-width: calc(100% - 24px);
  padding: 14px 18px;
  background: var(--paper); color: var(--ink);
  font-size: var(--fs-sm); line-height: 1.35;
}
.home-hero__caption span { font-weight: 600; }
.home-hero__caption a { color: var(--ink); white-space: nowrap; }
.home-hero__caption :focus-visible { outline-color: var(--ink); }

.swatches { margin-top: clamp(36px, 6vh, 60px); }
.swatches__label { margin: 0 0 12px; font-size: var(--fs-sm); font-weight: 600; }
.swatches__list { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch {
  display: flex; flex-direction: column; gap: 8px;
  width: 92px; padding: 6px 6px 9px;
  border: 0; border-radius: var(--radius);
  background: var(--paper); color: var(--ink);
  text-align: left;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
  transition: transform .2s var(--ease);
}
.swatch:hover { transform: translateY(-3px); }
.swatch__chip { display: block; width: 100%; aspect-ratio: 4 / 3; background: var(--swatch); }
.swatch__name { font-size: .8125rem; font-weight: 600; line-height: 1.2; padding: 0 2px; }
.swatch[aria-checked="true"] { outline: 2px solid var(--wall-ink); outline-offset: 3px; }
.swatch:focus-visible { outline: 3px solid var(--wall-strong); outline-offset: 3px; }

@media (max-width: 899px) {
  .home-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .home-hero__wall { padding: 44px var(--gutter) 40px; }
  .home-hero__photo { min-height: 0; aspect-ratio: 4 / 3; }
  .swatches__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
  .swatch { width: auto; padding: 4px 4px 7px; }
  .swatch__name { font-size: .75rem; }
}

/* ---------------------------------------------------------------- Pages : en-tête « mur » */
.wall-hero { background: var(--wall); color: var(--wall-ink); }
.wall-hero :focus-visible { outline-color: var(--wall-strong); }
.wall-hero__grid { display: grid; gap: 40px; padding-block: clamp(52px, 7.5vw, 108px); }
.wall-hero--compact .wall-hero__grid { padding-block: clamp(44px, 6vw, 84px); }
.wall-hero--compact .lead { max-width: 40em; }
.wall-hero--photo .wall-hero__grid {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: end; gap: clamp(32px, 5vw, 80px);
  padding-bottom: 0;
}
.wall-hero--photo .wall-hero__text { padding-bottom: clamp(52px, 7.5vw, 108px); align-self: center; }
.wall-hero__photo { position: relative; aspect-ratio: 4 / 5; max-height: 640px; }
.wall-hero__photo picture, .wall-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.wall-hero__photo figcaption {
  position: absolute; left: 0; bottom: 0;
  padding: 10px 14px; background: var(--paper); color: var(--ink);
  font-size: var(--fs-xs); font-weight: 600; line-height: 1.3; max-width: calc(100% - 24px);
}
@media (max-width: 899px) {
  .wall-hero--photo .wall-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .wall-hero--photo .wall-hero__text { padding-bottom: 40px; }
  .wall-hero__photo { aspect-ratio: 4 / 3; margin-inline: calc(var(--gutter) * -1); }
}

/* ---------------------------------------------------------------- Engagements */
.pledges { border-bottom: 1px solid var(--line); }
.pledges__list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 26px; }
.pledges__list li { display: flex; flex-direction: column; padding: 2px 24px; border-left: 1px solid var(--line); line-height: 1.4; }
.pledges__list li:first-child { padding-left: 0; border-left: 0; }
.pledges__list strong { font-size: 1.0625rem; }
.pledges__list span { color: var(--ink-soft); font-size: var(--fs-sm); }
@media (max-width: 899px) {
  .pledges__list { grid-template-columns: 1fr 1fr; gap: 20px 0; }
  .pledges__list li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 419px) {
  .pledges__list { grid-template-columns: 1fr; gap: 14px; }
  .pledges__list li { padding-left: 0; border-left: 0; }
}

/* ---------------------------------------------------------------- Index des prestations */
.service-index { list-style: none; border-top: 1px solid var(--line); }
.service-index__row { border-bottom: 1px solid var(--line); }
.service-index__link {
  display: grid;
  grid-template-columns: 14px minmax(0, 5fr) minmax(0, 6fr) 176px 28px;
  align-items: center; gap: 28px;
  padding: 20px 0;
  color: var(--ink); text-decoration: none;
}
.service-index__swatch { width: 14px; height: 14px; background: var(--brand); }
.service-index__title { font-size: clamp(1.375rem, 1.05rem + 1vw, 1.875rem); font-weight: 500; letter-spacing: -.015em; line-height: 1.15; }
.service-index__desc { color: var(--ink-soft); line-height: 1.5; }
.service-index__thumb { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--primer); }
.service-index__thumb picture, .service-index__thumb img { width: 100%; height: 100%; object-fit: cover; }
.service-index__thumb--empty { background: none; }
.service-index__arrow { justify-self: end; transition: transform .2s var(--ease); }
.service-index__arrow .icon { width: 22px; height: 22px; }
.service-index__link:hover .service-index__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .16em; }
.service-index__link:hover .service-index__arrow { transform: translateX(4px); }
@media (max-width: 899px) {
  .service-index__link { grid-template-columns: 12px minmax(0, 1fr) 104px; grid-template-rows: auto auto; gap: 4px 16px; padding: 18px 0; }
  .service-index__swatch { grid-row: 1; align-self: center; width: 12px; height: 12px; }
  .service-index__title { grid-column: 2; }
  .service-index__desc { grid-column: 2; grid-row: 2; font-size: var(--fs-sm); }
  .service-index__thumb { grid-column: 3; grid-row: 1 / span 2; }
  .service-index__arrow { display: none; }
}

/* ---------------------------------------------------------------- Mosaïque */
.mosaic { list-style: none; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px 20px; }
.mosaic__item { min-width: 0; grid-column: span var(--c, 4); grid-row: span var(--r, 1); }
.mosaic__item figure { display: flex; flex-direction: column; gap: 10px; height: 100%; }
.mosaic__media { display: block; flex: 1; min-height: 0; overflow: hidden; background: var(--line); }
.mosaic__media picture, .mosaic__media img { width: 100%; height: 100%; object-fit: cover; }
.mosaic__media img { transition: transform .6s var(--ease); }
.mosaic__media:hover img { transform: scale(1.025); }
.mosaic figcaption { font-size: var(--fs-sm); color: var(--ink-soft); line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.mosaic--home { grid-auto-rows: clamp(200px, 19vw, 272px); }

.mosaic--service { grid-auto-rows: clamp(220px, 24vw, 340px); }

@media (max-width: 899px) {
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .mosaic--home, .mosaic--service { grid-auto-rows: 210px; }
  .mosaic__item { grid-column: span 1; grid-row: span 1; }
  .mosaic__item:first-child, .mosaic__item:last-child:nth-child(even) { grid-column: span 2; }
  .mosaic--home .mosaic__item:first-child { grid-row: span 2; }
}
@media (max-width: 479px) {
  .mosaic--home, .mosaic--service { grid-auto-rows: 168px; }
}

/* ---------------------------------------------------------------- Étapes */
.process__list {
  list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 32px; border-top: 1px solid var(--line); padding-top: 32px;
}
.process__num {
  display: block; font-size: clamp(2.5rem, 2rem + 1.6vw, 3.5rem); font-weight: 300;
  line-height: 1; letter-spacing: -.04em; font-variant-numeric: lining-nums;
}
.process__title { font-size: 1.1875rem; font-weight: 600; line-height: 1.3; margin: 18px 0 8px; }
.process__step p { color: var(--ink-soft); font-size: var(--fs-sm); line-height: 1.55; }
@media (max-width: 1023px) {
  .process__list { grid-template-columns: 1fr 1fr; gap: 32px 40px; }
}
@media (max-width: 599px) {
  .process__list { grid-template-columns: 1fr; gap: 0; padding-top: 0; border-top: 0; }
  .process__step { display: grid; grid-template-columns: 56px 1fr; padding: 20px 0; border-top: 1px solid var(--line); }
  .process__num { grid-row: span 2; font-size: 2.25rem; }
  .process__title { margin: 4px 0 6px; }
}

/* ---------------------------------------------------------------- Entreprise (accueil) */
.about-teaser__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-teaser__photo { aspect-ratio: 5 / 4; overflow: hidden; }
.about-teaser__photo picture, .about-teaser__photo img { width: 100%; height: 100%; object-fit: cover; }
.about-teaser__text .h2 { margin-bottom: 22px; }
.about-teaser__text .link-more { margin-top: 12px; }
@media (max-width: 899px) { .about-teaser__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- Témoignages */
.testimonials__list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.quote { border-top: 3px solid var(--brand); padding-top: 24px; height: 100%; display: flex; flex-direction: column; }
.quote blockquote { margin: 0; flex: 1; }
.quote blockquote p { font-size: var(--fs-md); line-height: 1.45; }
.quote figcaption { display: grid; margin-top: 20px; font-size: var(--fs-sm); line-height: 1.4; }
.quote__name { font-weight: 600; }
.quote__context { color: var(--ink-soft); }
.quote--large blockquote p { font-size: clamp(1.375rem, 1.1rem + .9vw, 1.75rem); line-height: 1.4; letter-spacing: -.01em; }
.testimonials__list--page { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px clamp(32px, 6vw, 96px); }
@media (max-width: 899px) {
  .testimonials__list, .testimonials__list--page { grid-template-columns: minmax(0, 1fr); }
}

/* ---------------------------------------------------------------- Questions fréquentes */
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
  padding: 20px 0; list-style: none; cursor: pointer;
  font-size: 1.1875rem; font-weight: 600; line-height: 1.35;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover > span:first-child { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
.faq__icon { position: relative; flex: none; width: 16px; height: 16px; margin-top: .3em; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: currentColor;
  transition: transform .25s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__answer { padding: 0 40px 24px 0; color: var(--ink-soft); }
.faq__answer a { color: var(--ink); }
@media (max-width: 899px) {
  .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .faq__head { position: static; }
}

/* ---------------------------------------------------------------- Bandeau final */
.cta-band { background: var(--wall); color: var(--wall-ink); transition: background-color .45s var(--ease), color .3s; }
.cta-band :focus-visible { outline-color: var(--wall-strong); }
.cta-band__inner {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px 56px; align-items: end;
  padding-block: clamp(56px, 8vw, 112px);
}
.cta-band .h2 { font-size: clamp(2.125rem, 1.4rem + 2.9vw, 3.5rem); line-height: 1.05; letter-spacing: -.028em; }
.cta-band__text p { margin-top: 18px; font-size: var(--fs-md); line-height: 1.5; max-width: 34em; }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.cta-band__tel { flex-basis: 100%; margin: 6px 0 0; text-align: right; font-size: var(--fs-sm); }
.cta-band__tel a { font-weight: 600; }
@media (max-width: 899px) {
  .cta-band__inner { grid-template-columns: minmax(0, 1fr); }
  .cta-band__actions { justify-content: flex-start; }
  .cta-band__tel { text-align: left; }
}

/* ---------------------------------------------------------------- Pied de page */
.site-footer { background: var(--ink); color: #D3D8DD; font-size: 1rem; }
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--paper); }
.site-footer__grid {
  display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.7fr));
  gap: 40px; padding-block: clamp(56px, 7vw, 88px) 48px;
}
.site-footer__brand p { margin: 18px 0 20px; max-width: 26em; line-height: 1.5; }
.footer-social { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.footer-social .icon { color: var(--brand); }
.site-footer__title { margin: 4px 0 16px; font-size: var(--fs-sm); font-weight: 600; color: var(--brand); }
.site-footer__col ul { list-style: none; display: grid; gap: 9px; }
.contact-list a, .contact-list__static { display: inline-flex; align-items: flex-start; gap: 10px; line-height: 1.4; }
.contact-list .icon { width: 19px; height: 19px; margin-top: 1px; color: var(--brand); }
.contact-list span { overflow-wrap: anywhere; }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 32px;
  position: relative; padding-block: 22px;
  font-size: var(--fs-xs); color: #9DA7B1;
}
.site-footer__bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid rgba(255, 255, 255, .14); }
.site-footer__bottom p { margin: 0; }
.site-footer__legal { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer__credit { margin-left: auto !important; }
@media (max-width: 1023px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 559px) {
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .site-footer__credit { margin-left: 0 !important; }
}

/* ---------------------------------------------------------------- Barre d'actions (mobile) */
.action-bar { display: none; }
@media (max-width: 759px) {
  .action-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    display: grid; grid-template-columns: 1fr 1fr 1.35fr;
    background: var(--paper); border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .action-bar a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 56px; font-size: var(--fs-sm); font-weight: 600; color: var(--ink); text-decoration: none;
  }
  .action-bar a + a { border-left: 1px solid var(--line); }
  .action-bar .icon { width: 20px; height: 20px; }
  .action-bar a.action-bar__main { background: var(--brand); color: var(--white); border-left: 0; }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
  .page-form { padding-bottom: 0; }
}

/* ---------------------------------------------------------------- Page Prestations */
.jump { border-bottom: 1px solid var(--line); }
.jump__list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; padding-block: 22px; }
.jump__list a { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; }
.jump__list a:hover { text-decoration: underline; }
.jump .mega__swatch { margin-top: 0; }

.service-block + .service-block { padding-top: 0; }
.service-block__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.service-block--flip .service-block__photo { order: 2; }
.service-block--text .service-block__grid { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.service-block__photo { aspect-ratio: 5 / 4; overflow: hidden; background: var(--primer); }
.service-block__photo a, .service-block__photo picture, .service-block__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.service-block__swatch { display: block; width: 44px; height: 8px; background: var(--brand); margin-bottom: 22px; }
.service-block__lead { margin: 18px 0 22px; font-size: var(--fs-md); line-height: 1.5; color: var(--ink-soft); }
.service-block .actions { margin-top: 28px; }
@media (max-width: 899px) {
  .service-block__grid { grid-template-columns: minmax(0, 1fr); }
  .service-block--flip .service-block__photo { order: 0; }
}

/* ---------------------------------------------------------------- Page d'une prestation */
.service-intro__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.strengths {
  position: sticky; top: calc(var(--header-h) + 24px);
  padding: 28px; background: var(--primer);
  border-top: 6px solid var(--wall);
}
.strengths__title { font-size: 1.1875rem; font-weight: 600; margin-bottom: 18px; }
.strengths .ticks { margin-bottom: 26px; }
.strengths__alt { margin: 14px 0 0; font-size: var(--fs-sm); color: var(--ink-soft); text-align: center; }
.strengths__alt a { color: var(--ink); }
@media (max-width: 899px) {
  .service-intro__grid { grid-template-columns: minmax(0, 1fr); }
  .strengths { position: static; }
}

.feature-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px clamp(24px, 4vw, 56px); }
.feature { border-top: 1px solid var(--line-strong); padding-top: 20px; }
.feature__title { font-size: 1.1875rem; font-weight: 600; line-height: 1.3; margin-bottom: 10px; }
.feature p { color: var(--ink-soft); font-size: 1rem; line-height: 1.55; }
.section--primer .feature { border-top-color: var(--line-strong); }
@media (max-width: 1023px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .feature-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

.chips-links { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.chips-links a {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  font-weight: 600; text-decoration: none; background: var(--white);
}
.chips-links a:hover { border-color: var(--ink); }
.chips-links .mega__swatch { margin-top: 0; }

/* ---------------------------------------------------------------- Réalisations */
.section--gallery { padding-top: clamp(32px, 4vw, 56px); }
.filters { margin-bottom: clamp(28px, 4vw, 44px); }
.filters__list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--white); color: var(--ink);
  font-weight: 600; font-size: var(--fs-sm); text-decoration: none;
}
.filter:hover { border-color: var(--ink); }
.filter[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.filter__count { font-weight: 500; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.filter[aria-current="true"] .filter__count { color: #B8C0C8; }

.gallery { list-style: none; columns: 3 300px; column-gap: 20px; }
.gallery__item { break-inside: avoid; margin-bottom: 28px; scroll-margin-top: calc(var(--header-h) + 24px); }
.gallery__item[hidden] { display: none; }
.gallery__open { position: relative; display: block; overflow: hidden; background: var(--line); }
.gallery__open img { width: 100%; transition: transform .6s var(--ease); }
.gallery__open:hover img { transform: scale(1.02); }
.gallery__zoom {
  position: absolute; top: 12px; right: 12px;
  display: grid; place-items: center; width: 40px; height: 40px;
  background: var(--paper); color: var(--ink);
  opacity: 0; transition: opacity .2s;
}
.gallery__open:hover .gallery__zoom, .gallery__open:focus-visible .gallery__zoom { opacity: 1; }
.gallery__zoom .icon { width: 20px; height: 20px; }
.gallery__item figcaption { display: grid; gap: 2px; padding-top: 12px; line-height: 1.4; }
.gallery__title { font-weight: 600; }
.gallery__cats { font-size: var(--fs-xs); color: var(--ink-soft); }
.gallery__item:target .gallery__open { outline: 3px solid var(--wall); outline-offset: 4px; }

.lightbox {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(17, 22, 28, .97); color: var(--paper);
}
.lightbox::backdrop { background: rgba(17, 22, 28, .97); }
.lightbox[open] { display: grid; }
.lightbox__inner { position: relative; display: grid; place-items: center; width: 100%; height: 100%; padding: 64px 80px 24px; }
.lightbox__figure { display: grid; gap: 14px; justify-items: center; max-width: 100%; max-height: 100%; }
.lightbox__img { max-width: min(100%, 1500px); max-height: calc(100dvh - 160px); width: auto; height: auto; object-fit: contain; }
.lightbox__caption { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; font-weight: 600; text-align: center; }
.lightbox__count { color: #9DA7B1; font-weight: 500; font-variant-numeric: tabular-nums; }
.lightbox__btn {
  position: absolute; display: grid; place-items: center;
  width: 48px; height: 48px; padding: 0;
  border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--radius);
  background: rgba(255, 255, 255, .06); color: var(--paper);
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .16); }
.lightbox__btn:focus-visible { outline: 2px solid var(--paper); outline-offset: 2px; }
.lightbox__btn .icon { width: 22px; height: 22px; }
.lightbox__btn--prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__btn--next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__btn--close { right: 16px; top: 12px; }
@media (max-width: 699px) {
  .lightbox__inner { padding: 64px 12px 88px; }
  .lightbox__btn--prev, .lightbox__btn--next { top: auto; bottom: 20px; transform: none; }
  .lightbox__btn--prev { left: calc(50% - 56px); }
  .lightbox__btn--next { right: calc(50% - 56px); }
  .lightbox__img { max-height: calc(100dvh - 210px); }
}
body.lightbox-open { overflow: hidden; }

.instagram__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.instagram__inner .actions { margin-top: 0; }

/* ---------------------------------------------------------------- Entreprise */
.town-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 24px; }
.town-list li { padding: 8px 14px; background: var(--white); border: 1px solid var(--line); font-weight: 600; font-size: var(--fs-sm); }

/* ---------------------------------------------------------------- Formulaires */
.section--form { padding-top: clamp(36px, 5vw, 64px); }
.form-layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 3.6fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (max-width: 999px) { .form-layout { grid-template-columns: minmax(0, 1fr); } }
.form { min-width: 0; }
.form__note { margin: 0 0 28px; font-size: var(--fs-sm); color: var(--ink-soft); }
.form__title { margin-bottom: 24px; }

.stepper { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 20px; }
.stepper__item {
  display: flex; align-items: center; gap: 10px;
  padding-top: 12px; border-top: 3px solid var(--line);
  font-size: var(--fs-sm); font-weight: 600; color: var(--ink-soft); line-height: 1.25;
}
.stepper__num {
  display: grid; place-items: center; flex: none;
  width: 28px; height: 28px; border: 1.5px solid currentColor; border-radius: var(--radius);
  font-size: var(--fs-xs); font-variant-numeric: tabular-nums;
}
.stepper__item.is-done { color: var(--ink); border-top-color: var(--ink); }
.stepper__item.is-current { color: var(--ink); border-top-color: var(--wall); }
.stepper__item.is-current .stepper__num { background: var(--ink); border-color: var(--ink); color: var(--paper); }
html:not(.js) .stepper, html:not(.js) .form__nav [data-next], html:not(.js) .form__nav [data-prev] { display: none; }
@media (max-width: 699px) {
  .stepper__label { display: none; }
  .stepper__item { justify-content: center; }
}

.form__step + .form__step { margin-top: 48px; }
.js .form__step { display: none; margin-top: 0; }
.js .form__step.is-current { display: block; animation: step-in .35s var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.form__step-title { font-size: var(--fs-h2); font-weight: 500; letter-spacing: -.02em; line-height: 1.1; margin-bottom: 32px; }
.form__step-title:focus { outline: none; }
.form__step-num { display: block; margin-bottom: 8px; font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0; color: var(--ink-soft); }
@media (min-width: 700px) { .js .form__step-num { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form__row--3 { grid-template-columns: 1fr 1fr 1.3fr; }
.form__row--npa { grid-template-columns: 9rem 1fr; }
@media (max-width: 599px) {
  .form__row, .form__row--3 { grid-template-columns: minmax(0, 1fr); }
  .form__row--npa { grid-template-columns: 7.5rem 1fr; }
}
.field { margin: 0 0 28px; padding: 0; border: 0; min-width: 0; }
.field--half { max-width: 26rem; }
.field--short { max-width: 15rem; }
.field__label { display: block; padding: 0; margin-bottom: 8px; font-size: 1rem; font-weight: 600; line-height: 1.35; }
.field__help { margin: -2px 0 12px; font-size: var(--fs-sm); color: var(--ink-soft); line-height: 1.45; }
.field__error { margin: 8px 0 0; font-size: var(--fs-sm); font-weight: 600; color: var(--err); }
.req { color: var(--err); font-weight: 600; }

.input {
  display: block; width: 100%; min-height: 52px;
  padding: 12px 14px;
  font-size: 1.0625rem; line-height: 1.4;
  color: var(--ink); background: var(--white);
  border: 1.5px solid var(--line-strong); border-radius: var(--radius);
  transition: border-color .15s;
  -webkit-appearance: none; appearance: none;
}
.input::placeholder { color: #8A929A; }
.input:hover { border-color: var(--ink-soft); }
.input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-color: var(--ink); }
.input[aria-invalid="true"] { border-color: var(--err); }
.input--area { min-height: 150px; resize: vertical; }
.select { position: relative; }
.select .input { padding-right: 46px; cursor: pointer; }
.select__icon { position: absolute; right: 14px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); pointer-events: none; }
.input-unit { position: relative; }
.input-unit .input { padding-right: 52px; }
.input-unit__suffix { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--ink-soft); font-weight: 600; pointer-events: none; }
input[type="date"].input { min-height: 52px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  position: relative; display: inline-flex; align-items: center; gap: 11px;
  min-height: 48px; padding: 11px 16px 11px 14px;
  background: var(--white); border: 1.5px solid var(--line-strong); border-radius: var(--radius);
  font-size: 1rem; font-weight: 500; line-height: 1.25;
  cursor: pointer; user-select: none;
  transition: border-color .15s, background-color .15s;
}
.chip:hover { border-color: var(--ink-soft); }
.chip input, .consent input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.chip__box {
  position: relative; display: grid; place-items: center; flex: none;
  width: 20px; height: 20px;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius); background: var(--white);
  transition: background-color .15s, border-color .15s;
}
.chips--radio .chip__box { border-radius: 50%; }
.chip input:checked + .chip__box, .consent input:checked + .chip__box { background: var(--ink); border-color: var(--ink); }
.chip input:checked + .chip__box::after, .consent input:checked + .chip__box::after {
  content: ""; width: 11px; height: 6px; margin-top: -2px;
  border-left: 2px solid var(--paper); border-bottom: 2px solid var(--paper);
  transform: rotate(-45deg);
}
.chips--radio .chip input:checked + .chip__box::after { width: 8px; height: 8px; margin: 0; border: 0; border-radius: 50%; background: var(--paper); transform: none; }
.chip:has(input:checked) { border-color: var(--ink); background: #F4F5F3; }
.chip:has(input:focus-visible), .consent:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.chip input:focus-visible + .chip__box { outline: 2px solid var(--ink); outline-offset: 2px; }
.field--choices[aria-invalid="true"] .chip { border-color: color-mix(in srgb, var(--err) 55%, var(--line-strong)); }

.consent { position: relative; display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: var(--fs-sm); line-height: 1.5; }
.consent .chip__box { margin-top: 1px; }
.field--consent { margin-top: 8px; }

.dropzone {
  position: relative;
  border: 1.5px dashed var(--line-strong); border-radius: var(--radius);
  background: var(--white);
  transition: border-color .15s, background-color .15s;
}
.dropzone:hover, .dropzone.is-over { border-color: var(--ink); background: #F6F6F3; }
.dropzone:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
.dropzone__input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dropzone__label { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 30px 16px; text-align: center; pointer-events: none; }
.dropzone__icon { width: 28px; height: 28px; margin-bottom: 6px; }
.dropzone__title { font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }
.dropzone__hint { font-size: var(--fs-sm); color: var(--ink-soft); }
html:not(.js) .dropzone__input { position: static; opacity: 1; height: auto; padding: 16px; }
html:not(.js) .dropzone__label { display: none; }

.thumbs { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 12px; margin-top: 14px; }
.thumbs:empty { display: none; }
.thumb { position: relative; font-size: var(--fs-xs); line-height: 1.3; }
.thumb__media { display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; background: var(--primer); border: 1px solid var(--line); }
.thumb__media img { width: 100%; height: 100%; object-fit: cover; }
.thumb__media .icon { width: 30px; height: 30px; color: var(--ink-soft); }
.thumb__name { display: block; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thumb__size { color: var(--ink-soft); }
.thumb__remove {
  position: absolute; top: 6px; right: 6px;
  display: grid; place-items: center; width: 30px; height: 30px; padding: 0;
  border: 0; border-radius: var(--radius); background: var(--paper); color: var(--ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
}
.thumb__remove .icon { width: 16px; height: 16px; }
.thumb.is-processing .thumb__media { opacity: .55; }

.recap { margin: 8px 0 28px; padding: 22px 24px; background: var(--primer); border-top: 4px solid var(--wall); }
.recap__title { font-size: 1.0625rem; font-weight: 600; margin-bottom: 14px; }
.recap__list { display: grid; grid-template-columns: minmax(8rem, 1fr) 2.2fr; gap: 8px 20px; margin: 0; font-size: var(--fs-sm); line-height: 1.45; }
.recap__list dt { color: var(--ink-soft); }
.recap__list dd { margin: 0; font-weight: 600; }
@media (max-width: 559px) { .recap__list { grid-template-columns: minmax(0, 1fr); gap: 2px; } .recap__list dd { margin-bottom: 8px; } }

.form__nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.form__nav [data-next]:only-child, .form__nav--end { justify-content: flex-end; }
.form__nav [data-next]:only-child { margin-left: auto; }
.btn--submit { min-width: 15rem; }
.btn--submit .progress { font-variant-numeric: tabular-nums; }
.form__error { margin: 16px 0 0; padding: 14px 16px; background: var(--err-bg); color: var(--err); font-weight: 600; font-size: var(--fs-sm); }

.notice { margin-bottom: 28px; padding: 16px 18px; border-left: 4px solid; font-weight: 600; }
.notice--ok { background: var(--ok-bg); border-color: var(--ok); color: #1F4D37; }
.notice--error { background: var(--err-bg); border-color: var(--err); color: #8A1C16; }

.form-success { padding: clamp(28px, 4vw, 48px); background: var(--primer); border-top: 6px solid var(--wall); }
.form-success:focus { outline: none; }
.form-success__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px; background: var(--ink); color: var(--paper); }
.form-success__icon .icon { width: 28px; height: 28px; }
.form-success .h2 { margin-bottom: 14px; }
.form-success p { max-width: 36em; font-size: var(--fs-md); line-height: 1.5; }
.form.is-sent > :not([data-success]) { display: none !important; }

.form-aside { position: sticky; top: calc(var(--header-h) + 24px); padding: 28px; background: var(--primer); }
.mini-steps { list-style: none; counter-reset: s; display: grid; gap: 18px; margin-bottom: 28px; }
.mini-steps li { counter-increment: s; position: relative; display: grid; gap: 2px; padding-left: 40px; line-height: 1.4; }
.mini-steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 26px; height: 26px;
  border: 1.5px solid var(--ink); font-size: var(--fs-xs); font-weight: 600;
}
.mini-steps span { color: var(--ink-soft); font-size: var(--fs-sm); }
.form-aside__contact { display: grid; gap: 4px; padding-top: 22px; border-top: 1px solid var(--line-strong); }
.form-aside__lead { margin-bottom: 6px; font-weight: 600; }
.contact-line { display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; font-weight: 600; text-decoration: none; }
.contact-line:hover span { text-decoration: underline; }
.contact-line span { overflow-wrap: anywhere; }
@media (max-width: 999px) { .form-aside { position: static; } }

/* ---------------------------------------------------------------- Contact */
.contact-layout { display: grid; grid-template-columns: minmax(0, 4.6fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (max-width: 999px) { .contact-layout { grid-template-columns: minmax(0, 1fr); } }
.contact-cards { display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-card {
  display: grid; grid-template-columns: 28px 1fr; gap: 0 14px; align-items: start;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--ink);
}
.contact-card .icon { grid-row: span 2; width: 24px; height: 24px; margin-top: 2px; }
.contact-card__label { font-size: var(--fs-sm); color: var(--ink-soft); line-height: 1.3; }
.contact-card__value { font-weight: 600; font-size: 1.125rem; line-height: 1.35; overflow-wrap: anywhere; }
.contact-card__note { grid-column: 2; margin-top: 4px; font-size: var(--fs-sm); color: var(--ink-soft); }
a.contact-card:hover .contact-card__value { text-decoration: underline; text-underline-offset: .2em; }
.devis-nudge { margin-top: 28px; padding: 24px; background: var(--primer); border-top: 4px solid var(--wall); }
.devis-nudge p { color: var(--ink-soft); font-size: var(--fs-sm); margin-bottom: 18px; }

.map { position: relative; width: 100%; aspect-ratio: 21 / 8; min-height: 300px; overflow: hidden; background: var(--primer); border: 1px solid var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__placeholder { display: grid; place-content: center; justify-items: center; gap: 14px; height: 100%; padding: 32px; text-align: center; }
.map__placeholder p { margin: 0; }
.map__placeholder > p:first-child { font-weight: 600; }
.map__note { max-width: 36em; font-size: var(--fs-xs); color: var(--ink-soft); }
@media (max-width: 699px) { .map { aspect-ratio: auto; height: 340px; } }

/* ---------------------------------------------------------------- Pages légales */
.legal__wrap { max-width: calc(820px + 2 * var(--gutter)); }
.legal .display { margin-bottom: 36px; font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem); }
.legal__updated { color: var(--ink-soft); font-size: var(--fs-sm); }

/* ---------------------------------------------------------------- Mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------------------------------------------------------------- Impression */
@media print {
  .site-header, .action-bar, .cta-band, .site-footer__grid, .swatches, .filters { display: none !important; }
  .home-hero, .wall-hero { background: none !important; color: #000 !important; }
  body { padding: 0; }
}
