/* ==========================================================
   Najelec · Nabil, électricien à Bruxelles
   Version claire · gris ardoise + vert
   ========================================================== */
:root {
  --color-dark: #37474F;        /* texte principal, header, footer */
  --color-dark-hover: #263238;  /* survol / variante plus profonde */
  --color-accent: #4CAF50;      /* boutons, liens, CTA */
  --color-accent-hover: #388E3C;
  --color-muted: #607D8B;       /* sous-titres, texte secondaire */
  --color-light: #ECEFF1;       /* fonds de sections alternées */
  --color-white: #FFFFFF;
  --gradient-accent: linear-gradient(135deg, #66BB6A 0%, #2E7D32 100%);

  --line: rgba(55, 71, 79, .12);
  --radius: 18px;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1200px;
  /* marge latérale qui centre le contenu sur grand écran */
  --side: max(var(--gutter), calc((100% - var(--max)) / 2));
  --display: "Archivo", sans-serif;
  --hand: "Caveat", cursive;
  --mono: "JetBrains Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-white);
  color: var(--color-dark);
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -.02em; color: var(--color-dark-hover); }
.mono { font-family: var(--mono); }
.hl { color: var(--color-accent); }
::selection { background: var(--color-accent); color: var(--color-white); }

/* Notes manuscrites (vert foncé pour rester lisible sur fond clair) */
.note { font-family: var(--hand); font-weight: 500; font-size: 1.2rem; line-height: 1.1; color: var(--color-accent-hover); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  background: var(--gradient-accent); color: var(--color-white);
  font-weight: 600; font-size: .92rem;
  padding: .85em 1.35em; border-radius: 999px; border: 0;
  cursor: pointer; transition: transform .35s ease, filter .35s ease, box-shadow .35s ease, background-color .35s ease;
}
/* survol doux : on garde le dégradé (un dégradé ne peut pas s'animer vers une couleur unie) et on l'assombrit légèrement */
.btn:hover { transform: translateY(-1px); filter: brightness(.94); box-shadow: 0 8px 20px -12px rgba(46, 125, 50, .5); }
.btn span { transition: transform .35s ease; }
.btn:hover span { transform: translateX(4px); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.btn svg.ico-fill { fill: currentColor; stroke: none; }
.btn-sm { padding: .55em 1.05em; font-size: .85rem; }
.btn-ghost { background: transparent; color: var(--color-dark); box-shadow: inset 0 0 0 1.5px rgba(55, 71, 79, .25); }
.btn-ghost:hover { background: var(--color-light); filter: none; box-shadow: inset 0 0 0 1.5px var(--color-dark); }
.btn-full { width: 100%; justify-content: center; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--side);
  transition: background .3s, padding .3s, box-shadow .3s, transform .35s ease;
}
.nav.scrolled { background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); padding-block: 12px; box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(38, 50, 56, .3); }
/* nom : Montserrat ExtraBold, « NAJ » gris ardoise et « ELEC » vert */
.logo { display: flex; align-items: center; gap: 10px; font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 1.15rem; letter-spacing: .02em; color: #37474F; }
/* deux versions du logo : blanc sur fond ardoise, foncé sur le menu blanc */
.logo-img { height: 42px; width: auto; flex: none; }
.nav:not(.scrolled) .logo-fonce, .nav.scrolled .logo-clair { display: none; }
.logo b { color: #2E7D32; font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: .9rem; }
.nav-links a:not(.btn) { color: var(--color-dark); transition: color .2s; }
/* sur le fond ardoise de l'accueil, le gris et le vert foncé seraient illisibles : version claire */
.nav:not(.scrolled) .logo { color: var(--color-white); }
.nav:not(.scrolled) .logo b { color: #66BB6A; }
.nav:not(.scrolled) .nav-links a:not(.btn) { color: rgba(255, 255, 255, .85); }
.nav:not(.scrolled) .nav-links a:not(.btn):hover { color: var(--color-white); }
.nav:not(.scrolled) .burger span { background: var(--color-white); }
.nav-links a:not(.btn):hover, .nav-links a.active:not(.btn) { color: var(--color-dark-hover); text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav:not(.scrolled) .nav-links a.active:not(.btn) { color: var(--color-white); }
.nav-mobile-only, .nav-panel-actions { display: none; }
/* Interrupteur de langue FR | NL (lang-switch.js) : la pastille glisse sous la langue choisie.
   Clair par défaut (pastille ardoise sur fond gris), version transparente sur l'accueil ardoise. */
.lang-switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 999px; background: #E4E9EC; flex: none; }
.lang-thumb {
  position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px;
  background: var(--color-dark); box-shadow: 0 3px 8px -3px rgba(38, 50, 56, .55);
  transition: transform .4s cubic-bezier(.65, 0, .35, 1), background-color .3s ease;
}
.lang-switch[data-active="nl"] .lang-thumb { transform: translateX(100%); }
.lang-switch a {
  position: relative; z-index: 1; min-width: 40px; padding: 6px 12px; border-radius: 999px; text-align: center;
  font: 700 .74rem/1 var(--display); letter-spacing: .06em; color: #78909C; text-decoration: none !important;
  transition: color .35s ease;
}
.lang-switch a:hover { color: var(--color-dark); }
.lang-switch a:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.lang-switch[data-active="fr"] a[lang="fr"], .lang-switch[data-active="nl"] a[lang="nl"] { color: var(--color-white); }
/* dans le menu : mêmes réglages, plus forts que ceux des liens du menu */
.nav .nav-links .lang-switch a { color: #78909C; padding: 6px 12px; border-bottom: 0; }
.nav .nav-links .lang-switch a:hover { color: var(--color-dark); }
.nav .nav-links .lang-switch[data-active="fr"] a[lang="fr"], .nav .nav-links .lang-switch[data-active="nl"] a[lang="nl"] { color: var(--color-white); }
/* accueil ardoise (menu transparent) : fond translucide, pastille blanche */
.nav:not(.scrolled):not(.menu-open) .lang-switch { background: rgba(255, 255, 255, .13); }
.nav:not(.scrolled):not(.menu-open) .lang-thumb { background: var(--color-white); box-shadow: 0 3px 10px -4px rgba(0, 0, 0, .45); }
.nav:not(.scrolled):not(.menu-open) .nav-links .lang-switch a { color: rgba(255, 255, 255, .72); }
.nav:not(.scrolled):not(.menu-open) .nav-links .lang-switch a:hover { color: var(--color-white); }
.nav:not(.scrolled):not(.menu-open) .nav-links .lang-switch[data-active="fr"] a[lang="fr"],
.nav:not(.scrolled):not(.menu-open) .nav-links .lang-switch[data-active="nl"] a[lang="nl"] { color: var(--color-dark-hover); }
@media (min-width: 881px) and (max-width: 1000px) { .nav-links { gap: 14px; font-size: .82rem; } } /* menu + langue : place juste suffisante */

/* changement de langue : fondu enchaîné entre les deux pages (navigateurs récents), sinon petit fondu fait main */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .38s; animation-timing-function: cubic-bezier(.4, 0, .2, 1); }
body { transition: opacity .3s ease; }
html.lang-out body { opacity: 0; transition-duration: .22s; }
html.lang-in body { opacity: 0; transition: none; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .lang-thumb, .lang-switch a { transition: none; }
}
.burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 8px; right: 8px; height: 2px; background: var(--color-dark); transition: transform .3s, top .3s; }
.burger span:first-child { top: 15px; }
.burger span:last-child { top: 23px; }
.burger[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- Accueil ---------- */
.hero {
  position: relative; min-height: min(100vh, 860px);
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 5vw, 80px); align-items: center;
  padding: 130px var(--side) 90px;
  background:
    radial-gradient(circle at 78% 48%, rgba(76, 175, 80, .22), transparent 45%),
    var(--color-dark);
  color: var(--color-white);
}
.hero h1 { color: var(--color-white); }
.hero .hl, .hero .note { color: #66BB6A; }
.hero .btn-ghost { color: var(--color-white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .08); filter: none; box-shadow: inset 0 0 0 1.5px var(--color-white); }
.hero-call-wrap { position: relative; }
.hero-call-badge { position: absolute; top: -18px; left: 12px; font-size: 1rem; transform: rotate(-4deg); z-index: 1; }
.btn-hero-call {
  background: linear-gradient(110deg, #2E7D32 40%, #66BB6A 50%, #2E7D32 60%);
  background-size: 300% 100%;
  background-position: 100% 0;
  color: var(--color-white);
  animation: shine 1.5s ease-in-out .5s forwards;
}
@keyframes shine {
  to { background-position: 0% 0; }
}
.btn-hero-call:hover { filter: brightness(.94); transform: translateY(-1px); }
/* « Appeler le » n'apparaît que sur téléphone */
.call-label { font-style: normal; }
.call-word { display: none; font-weight: inherit; }
.hero-call-ico { display: inline-grid; place-items: center; animation: ring .25s ease-in-out infinite; }
.hero .ph { background: repeating-linear-gradient(135deg, #41535b 0 14px, #3d4f57 14px 28px); border-color: rgba(102, 187, 106, .45); }
.hero .ph::before { background: rgba(38, 50, 56, .75); color: #B0BEC5; }
.hero .kicker { color: #66BB6A; margin-bottom: 18px; }
.hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 4.1rem);
  font-weight: 750; font-variation-settings: "wdth" 108;
  line-height: 1.05; letter-spacing: -.03em;
}
/* Titre de l'accueil : chaque phrase tient sur une seule ligne */
.hero h1 .h1-line { display: block; white-space: nowrap; }
.hero h1:has(.h1-line) { font-size: clamp(1.5rem, 3.6vw, 3.3rem); }
@media (max-width: 880px) { .hero h1:has(.h1-line) { font-size: min(6.4vw, 3rem); } }
/* « 7j/7 » et « 24h/24 » qui s'échangent à l'infini (glissement vers le haut) */
.h1-swap {
  display: inline-grid; justify-items: start; vertical-align: bottom;
  overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em;
}
.h1-swap > span { grid-area: 1 / 1; animation: swapA 4s cubic-bezier(.65, 0, .35, 1) infinite; }
.h1-swap > span + span { animation-name: swapB; }
@keyframes swapA {
  0%, 42% { transform: none; opacity: 1; }
  50%, 92% { transform: translateY(-100%); opacity: 0; }
  92.01% { transform: translateY(100%); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
@keyframes swapB {
  0%, 42% { transform: translateY(100%); opacity: 0; }
  50%, 92% { transform: none; opacity: 1; }
  100% { transform: translateY(-100%); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .h1-swap > span { animation: none; }
  .h1-swap > span + span { visibility: hidden; }
}
.lead { max-width: 48ch; font-size: 1.04rem; color: rgba(236, 239, 241, .82); margin: 22px 0 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-media { position: relative; margin: 0; height: min(64vh, 540px); }
.hero-media .ph, .hero-media img { height: 100%; width: 100%; object-fit: cover; border-radius: 20px 20px 20px 80px; }
.badge-float {
  position: absolute; left: -28px; bottom: 40px;
  background: var(--gradient-accent); color: var(--color-white);
  padding: 13px 17px; border-radius: 12px; font-weight: 600; line-height: 1.3; font-size: .82rem;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, .5);
  transform: rotate(-2deg);
}
.badge-float .mono { display: block; font-size: .66rem; font-weight: 600; opacity: .75; margin-bottom: 4px; letter-spacing: .06em; }

/* ---------- Images en attente ---------- */
.ph {
  position: relative; width: 100%; height: 100%; min-height: 220px;
  background: repeating-linear-gradient(135deg, #e6eaed 0 14px, #dfe4e8 14px 28px);
  border: 1px dashed rgba(76, 175, 80, .45);
  display: grid; place-items: center;
}
.ph::before {
  content: attr(data-label);
  font-family: var(--mono); font-size: .76rem; color: var(--color-muted);
  padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .85);
}

/* ---------- Bandeau ---------- */
/* encart posé à cheval entre l'accueil (ardoise) et « Ce que je fais » (gris clair) */
.stats { display: flow-root; position: relative; z-index: 1; background: var(--color-light); padding: 0 var(--side); color: var(--color-white); }
.stats-card { position: relative; max-width: 920px; margin: -52px auto 0; }
.stats-note {
  position: absolute; bottom: 100%; left: 18px; margin: 0 0 4px;
  font-family: var(--hand); font-size: 1.25rem; line-height: 1; color: #66BB6A;
  transform: rotate(-2deg); transform-origin: left;
}
.stats-list {
  list-style: none; margin: 0; padding: 22px 12px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--gradient-accent); border-radius: var(--radius);
  box-shadow: 0 18px 40px -18px rgba(38, 50, 56, .55);
}
.stats-list li { padding: 0 8px; }
.stats-list li + li { border-left: 1px solid rgba(255, 255, 255, .3); }
/* chaque chiffre mène à la section qui le prouve ; au survol il s'éclaire et monte un peu */
.stats-list a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 2px;
  height: 100%; padding: 6px 8px; border-radius: 12px; color: inherit;
  transition: background .25s, transform .25s;
}
.stats-list a:hover, .stats-list a:focus-visible { background: rgba(255, 255, 255, .14); transform: translateY(-3px); }
.stats-list a:focus-visible { outline: 2px solid var(--color-white); outline-offset: 2px; }
.stats-list strong { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 1.9rem; line-height: 1.1; }
.stats-list b { font-weight: inherit; font-variant-numeric: tabular-nums; }
.stats-ico { display: block; width: 2.3rem; height: 2.3rem; fill: rgba(255, 255, 255, .18); stroke: currentColor; stroke-width: 1.3; stroke-linejoin: round; }
/* unité (h, /5) : plus fine et discrète que le chiffre */
.stats-list small { font-family: var(--display); font-weight: 500; font-size: .6em; opacity: .7; margin-left: 2px; }
.stats-list .stars { font-style: normal; font-size: .85rem; line-height: 1; margin: 1px 0 2px; }
.stats-list span { font-size: .92rem; font-weight: 500; line-height: 1.3; opacity: .92; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 112px) var(--side); }
#services, #chantiers, #questions { background: var(--color-light); }
.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 52px); }
/* petite étiquette au-dessus des titres : texte simple en vert, petit trait vert penché dessous */
.kicker { width: fit-content; font-size: 1rem; font-weight: 600; color: var(--color-accent-hover); margin: 0 0 12px; }
.kicker::after { content: ""; display: block; width: max(48px, 40%); height: 3px; margin-top: 4px; background: var(--color-accent); border-radius: 4px; transform: rotate(-1.5deg); }
.section h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); font-weight: 700; font-variation-settings: "wdth" 105; letter-spacing: -.025em; }
.section-sub { color: var(--color-muted); font-size: 1rem; max-width: 58ch; margin: 18px 0 0; }

/* Services */
.services-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(36px, 5vw, 52px); }
.services-head .section-head { margin-bottom: 0; }
.services-more {
  flex: none; font-size: .95rem; font-weight: 600; text-align: right;
  color: var(--color-accent-hover); border-bottom: 2px solid rgba(76, 175, 80, .35); padding-bottom: 2px; transition: color .2s, border-color .2s;
}
.services-more:hover { color: var(--color-dark); border-color: var(--color-accent); }
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  display: flex; flex-direction: column;
  position: relative; padding: 24px 22px 26px; border-radius: 14px;
  background: var(--color-white); border: 1px solid var(--line);
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-3px); border-color: rgba(76, 175, 80, .5); box-shadow: 0 18px 36px -24px rgba(38, 50, 56, .45); }
.card:hover .ico { stroke: var(--color-accent); }
.card-accent { background: var(--gradient-accent); border-color: transparent; color: var(--color-white); }
.card-accent h3 { color: var(--color-white); }
.card.card-accent p { color: rgba(255, 255, 255, .9); }
.card-accent .ico, .card-accent:hover .ico { stroke: var(--color-white); }
.card .note-card { position: absolute; top: -18px; right: 18px; color: var(--color-dark-hover); background: var(--color-white); padding: 2px 12px; border-radius: 6px; font-size: 1.3rem; transform: rotate(4deg); box-shadow: 0 6px 16px -8px rgba(0,0,0,.3); }
.card.card-accent .note-card { color: var(--color-dark-hover); }
.ico { width: 30px; height: 30px; fill: none; stroke: var(--color-dark); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 28px; transition: stroke .3s; }
.card h3 { font-size: 1.05rem; font-weight: 700; font-variation-settings: "wdth" 100; margin-bottom: 12px; line-height: 1.15; }
.card p { margin: 0; font-size: .9rem; color: var(--color-muted); }
/* mots-clés en bas de carte */
.card-tags { list-style: none; margin: auto 0 0; padding: 18px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.card-tags li {
  font-family: var(--mono); font-size: .7rem; line-height: 1; color: var(--color-muted);
  padding: 5px 8px; border-radius: 6px; background: var(--color-light);
}
.card-accent .card-tags li { color: var(--color-white); background: rgba(255, 255, 255, .16); }
/* étiquette d'appel, placée comme « le plus demandé » */
.card-call {
  position: absolute; top: -16px; right: 18px; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gradient-accent); color: var(--color-white);
  padding: 2px 12px; border-radius: 6px; font-size: 1.05rem;
  transform: rotate(-3deg); box-shadow: 0 6px 16px -8px rgba(46, 125, 50, .6);
  transition: transform .2s, box-shadow .2s;
}
.card-call:hover { transform: rotate(-3deg) translateY(-2px); box-shadow: 0 10px 20px -8px rgba(46, 125, 50, .7); }
.card-call svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; animation: ring .25s ease-in-out infinite; }

/* Zone d'intervention (bande ardoise) : communes + carte + appel d'urgence */
.zone { background: var(--color-dark); color: var(--color-white); }
.zone h2 { color: var(--color-white); }
.zone .hl, .zone .kicker { color: #66BB6A; }
.zone-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.zone-lead { margin: 18px 0 0; max-width: 50ch; color: #B0BEC5; }
.zone-list { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.zone-list button {
  font: inherit; font-size: .82rem; cursor: pointer;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); color: #CFD8DC; border: 1px solid rgba(255, 255, 255, .14);
  transition: background .25s, color .25s, border-color .25s;
}
.zone-list button:hover, .zone-list button.hovered, .zone-list button.active { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-white); }
/* menu déroulant des communes : visible seulement sur mobile */
.zone-select { display: none; margin-top: 24px; }
.zone-select span { display: block; margin-bottom: 8px; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: #90A4AE; }
.zone-select select {
  width: 100%; font: inherit; font-size: .95rem; color: var(--color-white); cursor: pointer;
  padding: 13px 44px 13px 16px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='%2366BB6A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 20px no-repeat;
  appearance: none; -webkit-appearance: none;
}
.zone-select select:focus { outline: none; border-color: #66BB6A; box-shadow: 0 0 0 3px rgba(102, 187, 106, .25); }
.zone-select option, .zone-select optgroup { color: var(--color-dark-hover); background: var(--color-white); }
/* nom de la commune survolée sur la carte */
.zone .commune-hover { background: var(--color-dark-hover); color: var(--color-white); border: 0; border-radius: 6px; padding: 3px 9px; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .5); font: 600 .78rem var(--display); }
.zone .commune-hover::before { display: none; }
.zone-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin-top: 32px; }
.zone-call { background: var(--color-white); color: var(--color-dark-hover); padding: .7em 1.5em .7em 1.1em; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .5); }
.zone-call svg { width: 22px; height: 22px; stroke: var(--color-accent-hover); }
.zone-call-ico { display: grid; place-items: center; }
/* tant qu'on survole le bouton, le téléphone « sonne » sans s'arrêter */
.zone-call:hover .zone-call-ico { animation: ring .45s ease-in-out infinite; }
@keyframes ring {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-14deg); }
  75% { transform: rotate(14deg); }
}
.zone-wa { background: transparent; color: var(--color-white); padding: .7em 1.4em .7em 1.1em; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.zone-wa:hover { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1.5px var(--color-white); filter: none; }
.zone-wa svg { width: 22px; height: 22px; stroke: #66BB6A; }
.zone-wa svg.ico-fill { fill: #66BB6A; }
.zone-wa .zone-call-txt small { color: #B0BEC5; }

/* fenêtre d'appel (ordinateur) */
.call-dialog {
  width: min(380px, calc(100vw - 32px)); padding: 30px 28px 26px; border: 0; border-radius: 22px;
  background: var(--color-white); color: var(--color-dark); text-align: center;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55);
}
.call-dialog:focus { outline: none; }
.call-dialog button:focus-visible { outline: 2px solid #66BB6A; outline-offset: 2px; }
.call-dialog::backdrop { background: rgba(38, 50, 56, .6); backdrop-filter: blur(3px); }
.call-dialog[open] { animation: dialog-in .25s ease-out; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.call-dialog .kicker { margin: 0 auto 14px; }
.call-dialog .kicker::after { margin: 4px auto 0; }
.call-dialog-close {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%;
  border: 0; background: var(--color-light); color: var(--color-dark); font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.call-dialog-close:hover { background: #dfe4e8; }
.call-dialog-number { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; }
.call-dialog-number strong { font-size: 1.6rem; font-weight: 750; letter-spacing: -.01em; color: var(--color-dark-hover); }
.call-dialog-qr { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
#callQr { display: inline-block; padding: 10px; border-radius: 14px; border: 1px solid var(--line); line-height: 0; }
#callQr svg { width: 168px; height: 168px; }
.call-dialog-qr p { margin: 12px auto 0; max-width: 28ch; font-size: .85rem; color: var(--color-muted); }
.wa-dialog-qr { margin-top: 0; padding-top: 0; border-top: 0; }
.call-dialog [hidden] { display: none; }
#waQr { display: inline-block; padding: 10px; border-radius: 14px; border: 1px solid var(--line); line-height: 0; }
#waQr svg { width: 200px; height: 200px; }
.wa-dialog-or { margin: 16px 0 12px; font-size: .8rem; color: var(--color-muted); text-transform: uppercase; letter-spacing: .08em; }
.zone-call-txt { display: flex; flex-direction: column; line-height: 1.15; font-size: 1.15rem; font-weight: 700; }
.zone-call-txt small { font-size: .72rem; font-weight: 600; color: var(--color-muted); text-transform: uppercase; letter-spacing: .06em; }
.zone-map { position: relative; z-index: 0; isolation: isolate; /* les calques de la carte restent sous le menu fixe */ border-radius: 20px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
#zoneMap { height: 460px; background: #dfe4e8; }
.zone .leaflet-container { font-family: var(--display); }
.zone .leaflet-popup-content { margin: 10px 14px; font-size: .88rem; color: var(--color-dark-hover); }
.zone .leaflet-popup-content strong { color: var(--color-accent-hover); }
.zone-credits { margin-left: auto; font-size: .64rem; color: #90A4AE; }
.zone-credits a { color: inherit; text-decoration: underline; }
.zone-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 12px 16px; background: var(--color-white); font-size: .78rem; color: var(--color-muted); }
.zone-legend span { display: inline-flex; align-items: center; gap: 7px; }
.zone-legend i { display: inline-block; flex: none; }
.lg-region { width: 16px; height: 12px; border-radius: 3px; background: rgba(76, 175, 80, .18); border: 2px solid #388E3C; }
.lg-commune { width: 16px; height: 12px; border-radius: 3px; background: rgba(46, 125, 50, .55); border: 2px solid #2E7D32; }
/* nom de la province affiché au centre de sa zone */
.zone .commune-label { background: var(--color-white); border: 0; border-radius: 999px; padding: 3px 10px; box-shadow: 0 6px 16px -6px rgba(38, 50, 56, .45); font: 700 .8rem var(--display); color: var(--color-dark-hover); }
.zone .commune-label::before { display: none; }
/* noms des villes écrits sur la carte */
.zone .town-label { background: none; border: 0; box-shadow: none; padding: 0; font: 600 .78rem var(--display); color: #455A64; text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 2px #fff; }
.zone .town-label::before { display: none; }
.zone .town-label { transition: opacity .25s ease; }
.zone #zoneMap.has-zone .town-label { opacity: 0 !important; } /* Leaflet met l'opacité en ligne */
.zone .town-main { font-size: .9rem; font-weight: 700; color: var(--color-dark-hover); }
#zoneMap.leaflet-container { cursor: default; } /* carte fixe : pas de main « déplacer » */
/* pas de cadre noir de « focus » autour d'une commune cliquée sur la carte */
#zoneMap .leaflet-interactive:focus, #zoneMap .leaflet-interactive:focus-visible { outline: none; }
/* pastille d'état du bouton d'urgence : verte pendant les horaires, grise sinon */
.status-dot { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #B0BEC5; vertical-align: 1px; }
.zone-call.is-open .status-dot { background: #4CAF50; box-shadow: 0 0 0 3px rgba(76, 175, 80, .25); }

/* Chantiers */
.gallery { --media-h: 280px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.g { position: relative; margin: 0; }
.g-media { position: relative; height: var(--media-h); border-radius: var(--radius); overflow: hidden; }
.g img { display: block; }
.g .ph, .g img { height: 100%; width: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.g .ph { border-radius: var(--radius); background: repeating-linear-gradient(135deg, #f6f8f9 0 14px, #eef1f3 14px 28px); }
.g-media:not(.ba):hover .ph, .g-media:not(.ba):hover img { transform: scale(1.03); }
.g-4 { grid-column: span 4; }
.g-2 { grid-column: span 2; }
.g figcaption {
  position: absolute; left: 14px; bottom: 14px; right: 14px; width: fit-content; z-index: 2;
  background: rgba(38, 50, 56, .82); color: var(--color-white); backdrop-filter: blur(8px);
  padding: 6px 12px; border-radius: 999px; font-size: .78rem; font-weight: 500;
  pointer-events: none;
}

/* Avant / après côte à côte (photos prises sous des angles différents) */
.g-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.g-pair > div { position: relative; overflow: hidden; }
.pair-tableau-avant { object-position: 50% 62%; }
.pair-tableau-apres { object-position: 23% 50%; }
/* zoom léger, décalé pour que la borne tombe du côté « après » quand le curseur est au milieu */
.ba-borne { object-position: 50% 64%; transform: scale(1.4); transform-origin: 0 95%; }

/* Avant / après : la photo « avant » est découpée jusqu'à la position du curseur */
.ba { --pos: 50%; user-select: none; }
.ba-layer { position: absolute; inset: 0; }
.ba-cuisine { object-position: 50% 55%; }
/* photo entière (pas recadrée), avec la même photo floutée pour remplir les côtés */
.g-fit::before { content: ""; position: absolute; inset: -30px; background: var(--bg) center / cover; filter: blur(22px) brightness(.92); }
.g .g-fit img { position: relative; object-fit: contain; }
.ba-lumiere-avant { object-position: 50% 30%; }
.ba-lumiere-apres { object-position: 50% 40%; }
/* « Avant » plus terne, « après » plus lumineux : la différence saute aux yeux */
.ba-before img, .pair-tableau-avant { filter: saturate(.65) brightness(.91) contrast(.97); }
.ba-layer:not(.ba-before) img, .pair-tableau-apres { filter: saturate(1.08) brightness(1.04); }
/* Petit aller-retour du curseur à l'apparition, pour montrer qu'on peut le bouger */
.ba.is-teasing .ba-before { transition: clip-path .7s ease-in-out; }
.ba.is-teasing .ba-handle { transition: left .7s ease-in-out; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.gallery-dots { display: none; }
.g .ph-before { background: repeating-linear-gradient(135deg, #d9dfe3 0 14px, #cfd8dc 14px 28px); }
.ba-tag {
  position: absolute; top: 14px; z-index: 2; pointer-events: none;
  background: rgba(255, 255, 255, .92); color: var(--color-dark-hover);
  padding: 4px 10px; border-radius: 999px;
  font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.ba-tag-before { left: 14px; }
.ba-tag-after { right: 14px; background: var(--color-accent); color: var(--color-white); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 2; width: 2px;
  transform: translateX(-1px); background: var(--color-white);
  box-shadow: 0 0 12px rgba(0, 0, 0, .25); pointer-events: none;
}
.ba-handle span {
  position: absolute; top: 50%; left: 50%; width: 40px; height: 40px;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: var(--color-white); box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .4);
  display: grid; place-items: center; transition: box-shadow .2s;
}
.ba-handle span::before { content: "‹ ›"; font-weight: 700; font-size: 1.05rem; color: var(--color-accent-hover); letter-spacing: 2px; }
.ba:focus-within .ba-handle span { box-shadow: 0 0 0 4px rgba(76, 175, 80, .45), 0 6px 18px -6px rgba(0, 0, 0, .4); }
.ba-range {
  position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: transparent;
}
.ba-range::-webkit-slider-thumb { -webkit-appearance: none; width: 44px; height: 280px; cursor: ew-resize; }
.ba-range::-moz-range-thumb { width: 44px; height: 280px; border: 0; cursor: ew-resize; }

/* Avis */
/* note Google, à droite, dans le style manuscrit des petits titres */
#avis { padding-inline: 0; } /* le bandeau des avis prend toute la largeur ; seul l'en-tête garde les marges */
#avis .reviews-head { padding-inline: var(--side); }
.reviews-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(36px, 5vw, 52px); }
.reviews-head .section-head { margin-bottom: 0; }
.rating-badge { display: flex; flex-direction: column; align-items: flex-end; text-align: right; flex: none; font-family: var(--hand); color: var(--color-accent-hover); }
.rating-badge::after { content: ""; display: block; width: 52px; height: 4px; margin-top: 6px; background: var(--color-accent); border-radius: 4px; transform: rotate(-1.5deg); }
.rating-score { margin: 0; font-size: 3rem; font-weight: 700; line-height: 1; transform: rotate(-2deg); }
.rating-score span { font-size: 1.5rem; margin-left: 2px; }
.rating-badge .stars { font-size: 1.05rem; margin-top: 8px; }
.rating-count { margin: 4px 0 0; font-size: 1.3rem; line-height: 1.1; }

/* défilement infini, avec fondu sur les bords */
.marquee {
  overflow: hidden;
  padding: 8px 0 40px; margin-bottom: -24px; /* place pour l'ombre des cartes */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
/* le défilement est animé par script.js, et peut être tiré à la souris ou au doigt */
.marquee { cursor: grab; touch-action: pan-y; }
/* lien discret sous les avis */
.review-add { margin: 26px 0 0; padding-inline: var(--side); text-align: right; font-size: .9rem; color: var(--color-muted); }
.review-add a { color: var(--color-accent-hover); font-weight: 600; border-bottom: 1px solid rgba(76, 175, 80, .35); transition: color .2s, border-color .2s; }
.review-add a:hover { color: var(--color-dark); border-color: var(--color-accent); }
.marquee.is-dragging { cursor: grabbing; user-select: none; }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-set { display: flex; gap: 20px; padding-right: 20px; } /* cartes alignées, toutes de la même hauteur */
.review { width: 360px; flex: none; display: flex; flex-direction: column; margin: 0; padding: 26px 24px; background: var(--color-white); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 40px -30px rgba(38, 50, 56, .5); }
.review p { flex: 1; font-size: .95rem; line-height: 1.65; margin: 12px 0 16px; color: var(--color-dark); }
.review footer { font-family: var(--hand); font-size: 1.15rem; color: var(--color-accent-hover); }
.stars { color: #F9A825; letter-spacing: 2px; font-size: .8rem; }

/* Questions */
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-side { position: sticky; top: 110px; }
.faq-help { margin-top: 32px; padding: 22px 24px; background: var(--color-white); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 40px -30px rgba(38, 50, 56, .5); }
.faq-help-title { margin: 0 0 4px; font-weight: 700; color: var(--color-dark-hover); }
.faq-help p:not(.faq-help-title) { margin: 0; font-size: .92rem; color: var(--color-muted); }
.faq-help-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.faq-help .btn svg { width: 16px; height: 16px; }
.faq { border-top: 1px solid rgba(55, 71, 79, .18); }
.faq details { border-bottom: 1px solid rgba(55, 71, 79, .18); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 0; font-size: 1rem; font-weight: 600; color: var(--color-dark-hover);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  /* croix dessinée avec deux traits (et non un caractère « + »), pour être parfaitement centrée */
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--color-accent-hover);
  background:
    linear-gradient(currentColor, currentColor) center / 10px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 10px no-repeat,
    var(--color-white);
  transition: transform .25s, background-color .25s, color .25s, border-color .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--color-accent); color: var(--color-white); border-color: var(--color-accent); }
.faq details.is-closing summary::after { transform: none; background-color: var(--color-white); color: var(--color-accent-hover); border-color: var(--line); }
.faq summary:hover { color: var(--color-accent-hover); }
.faq-a { overflow: hidden; } /* pour l'animation d'ouverture */
.faq-a p { margin: 0 0 22px; color: var(--color-muted); font-size: .95rem; max-width: 70ch; }

/* Contact : devis en 4 étapes, une seule colonne centrée */
.contact-head { text-align: center; margin-inline: auto; }
.contact-head .kicker, .contact-head .kicker::after, .contact-head .section-sub { margin-inline: auto; }
.quote {
  max-width: 920px; margin: 0 auto; display: grid; gap: 22px; padding: clamp(24px, 4vw, 40px);
  background: var(--color-white); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 24px 50px -34px rgba(38, 50, 56, .45);
}
.quote-progress p { display: flex; justify-content: space-between; margin: 0 0 8px; font-size: .85rem; color: var(--color-muted); }
.quote-progress b { color: var(--color-dark-hover); }
#quoteName { font-weight: 600; color: var(--color-accent-hover); }
.quote-bar { height: 4px; border-radius: 4px; background: var(--color-light); overflow: hidden; }
.quote-bar i { display: block; height: 100%; width: 25%; border-radius: inherit; background: var(--gradient-accent); transition: width .45s cubic-bezier(.2,.7,.2,1); }
.quote-step { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 18px; animation: stepIn .3s ease; }
.quote-step[hidden] { display: none; }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.q-title { padding: 0; margin-bottom: 4px; line-height: 1.25; font-size: 1.35rem; font-weight: 700; letter-spacing: -.015em; color: var(--color-dark-hover); }
.q-opt { font-weight: 400; color: var(--color-muted); }

/* champs */
.quote label:not(.chips label) { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--color-dark-hover); }
.quote input:not([type="radio"]):not([type="checkbox"]), .quote select, .quote textarea {
  font: inherit; font-size: .95rem; font-weight: 400; color: var(--color-dark-hover);
  padding: 12px 14px; border-radius: 10px; border: 1.5px solid rgba(55, 71, 79, .15); background: var(--color-white);
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.quote input:not([type="radio"]):not([type="checkbox"]), .quote select { height: 50px; } /* menu et cases à la même hauteur */
.quote textarea { resize: vertical; min-height: 96px; }
.quote ::placeholder { color: #90A4AE; }
.quote input:focus, .quote select:focus, .quote textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 4px rgba(76, 175, 80, .2); }
.quote .invalid { border-color: #d6332a; }
.quote .invalid:focus { border-color: #d6332a; box-shadow: 0 0 0 4px rgba(214, 51, 42, .15); }

/* pastilles à choisir */
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips legend { font-size: .85rem; font-weight: 600; margin-bottom: 10px; padding: 0; color: var(--color-dark-hover); }
.chips label { display: block; position: relative; }
.chips input { position: absolute; inset: 0; width: 1px; height: 1px; padding: 0; opacity: 0; pointer-events: none; } /* caché, sans déborder de l'écran */
.chips input + span { display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1.5px solid rgba(55, 71, 79, .15); font-weight: 500; font-size: .92rem; cursor: pointer; transition: all .2s; background: var(--color-white); }
.chips input + span:hover { border-color: var(--color-accent); }
.chips input:checked + span { background: var(--color-accent); color: var(--color-white); border-color: var(--color-accent); }
.chips input:focus-visible + span { box-shadow: 0 0 0 3px rgba(76, 175, 80, .4); }
.q-help { margin: -2px 0 2px; font-size: .9rem; color: var(--color-muted); }
/* étape 2 : commune, adresse et code postal sur une ligne */
.q-row { display: grid; gap: 16px; align-items: end; }
.q-row-lieu { grid-template-columns: 1.4fr .6fr; margin-top: 18px; } /* adresse et code postal, sous province et commune */
/* suggestions d'adresses : sous la ligne adresse + code postal, sur toute sa largeur */
.q-row-lieu { position: relative; }
.adr-pop {
  position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; right: 0; overflow: hidden;
  border-radius: 14px; border: 1px solid rgba(55, 71, 79, .12); background: var(--color-white);
  box-shadow: 0 18px 40px -18px rgba(38, 50, 56, .35);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s ease, transform .3s cubic-bezier(.4, 0, .2, 1), visibility 0s linear .3s;
}
.adr-pop.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.adr-pop ul { list-style: none; margin: 0; padding: 6px; }
.adr-pop li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; cursor: pointer; transition: background .15s; }
.adr-pop li:hover, .adr-pop li[aria-selected="true"] { background: rgba(76, 175, 80, .1); }
.adr-pop li svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--color-accent-hover); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.adr-pop li span { display: grid; min-width: 0; }
.adr-pop li b { font-size: .92rem; font-weight: 600; color: var(--color-dark-hover); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adr-pop li small { font-size: .78rem; color: var(--color-muted); }
.adr-credit { margin: 0; padding: 6px 14px 8px; border-top: 1px solid var(--color-light); font-size: .64rem; color: #90A4AE; text-align: right; }
.adr-credit a { color: inherit; }
@media (max-width: 700px) { .q-row-lieu .q-opt { display: block; } } /* « (facultatif) » à la ligne sous les 2 titres : titres et cases restent alignés */
.quote select:disabled { background-color: #F5F7F8; color: #90A4AE; cursor: not-allowed; }
/* étape 1 : grille de cases toutes de la même taille */
.chips-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.chips-grid label, .chips-grid input + span { height: 100%; }
.chips-grid input + span {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-height: 112px; padding: 14px 10px; border-radius: 14px; text-align: center; line-height: 1.25;
  transition: border-color .2s, background .2s, transform .2s, box-shadow .2s;
}
.chips-grid input + span { position: relative; }
/* étiquette manuscrite « le plus demandé », comme sur la carte du service */
.tile-tag { position: absolute; top: -12px; right: 10px; padding: 1px 10px; border-radius: 6px; font: 500 1.05rem/1.2 var(--hand); font-style: normal; color: var(--color-white); background: var(--gradient-accent); transform: rotate(3deg); box-shadow: 0 6px 14px -8px rgba(46, 125, 50, .7); pointer-events: none; }
.quote-step[data-step="1"] .chips-grid, .chips-grid-4 { margin-top: 12px; } /* place pour l'étiquette au-dessus de la 1re case */
.tile-tag-urgent { background: linear-gradient(135deg, #EF5350, #C62828); box-shadow: 0 6px 14px -8px rgba(198, 40, 40, .7); }
.chips-grid-4 { grid-template-columns: repeat(4, 1fr); }
.chips-grid input:checked + span .tile-tag { color: var(--color-accent-hover); background: var(--color-white); }
.chips-grid input:checked + span .tile-tag-urgent { color: #C62828; }
.chips-grid svg { width: 26px; height: 26px; margin-bottom: 6px; fill: none; stroke: var(--color-dark); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .2s; }
.chips-grid b { font-size: .92rem; font-weight: 600; color: var(--color-dark-hover); transition: color .2s; }
.chips-grid small { font-size: .76rem; color: var(--color-muted); transition: color .2s; }
/* survol : la case se soulève, contour et icône en vert */
.chips-grid input + span:hover { border-color: var(--color-accent); transform: translateY(-3px); box-shadow: 0 12px 24px -18px rgba(38, 50, 56, .55); }
.chips-grid input + span:hover svg { stroke: var(--color-accent); }
/* type de bien : 5 cases plus basses, sans précision */
.chips-grid-5 { grid-template-columns: repeat(5, 1fr); }
.chips-grid-5 input + span { min-height: 88px; padding: 12px 8px; }
.chips-grid-5 svg { width: 24px; height: 24px; margin-bottom: 4px; }
.chips-grid input:checked + span svg, .chips-grid input:checked + span b, .chips-grid input:checked + span small { stroke: var(--color-white); color: var(--color-white); }
/* « Autre » (type de bien) : une fois choisie, la case devient un champ à remplir, « Autre » passe en petit titre */
.bien-autre input + span svg { height: 24px; transition: height .5s cubic-bezier(.4, 0, .2, 1), margin .5s cubic-bezier(.4, 0, .2, 1), opacity .25s ease, stroke .2s; }
.bien-autre input + span b { transition: font-size .5s cubic-bezier(.4, 0, .2, 1), color .3s ease; }
.quote .chips-grid-5 .bien-autre input.bien-autre-input {
  position: static; width: 100%; height: 0; margin: 0; padding: 0 10px; border-width: 0; border-radius: 8px;
  font-size: .88rem; text-align: center; background: var(--color-white); opacity: 0; pointer-events: none;
  transition: height .5s cubic-bezier(.4, 0, .2, 1), margin .5s cubic-bezier(.4, 0, .2, 1), border-width .5s ease, opacity .35s ease .15s;
}
.chips-grid .bien-autre input:checked + span { background: rgba(76, 175, 80, .07); border-color: var(--color-accent); }
.chips-grid .bien-autre input:checked + span svg { height: 0; margin: 0; opacity: 0; }
.chips-grid .bien-autre input:checked + span b { font-size: .78rem; color: var(--color-accent-hover); }
.quote .chips-grid-5 .bien-autre input:checked + span input.bien-autre-input { height: 36px; margin-top: 6px; border-width: 1.5px; opacity: 1; pointer-events: auto; }
/* étape 3 : sous les délais, un encart se déplie en douceur selon le choix (hauteur animée par la grille 0fr → 1fr) */
.q-delai { display: grid; } /* sans écart automatique : rien ne reste quand les encarts sont repliés */
.q-fold { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .6s cubic-bezier(.4, 0, .2, 1), padding-top .6s cubic-bezier(.4, 0, .2, 1), opacity .35s ease; }
.q-fold > div { min-height: 0; overflow: hidden; }
.q-fold > div > * { transform: translateY(-10px) scale(.98); transform-origin: top center; transition: transform .6s cubic-bezier(.4, 0, .2, 1); }
.q-fold.is-open { grid-template-rows: 1fr; padding-top: 16px; opacity: 1; transition-delay: 0s, 0s, .12s; }
.q-fold.is-open > div > * { transform: none; }
.quote .q-fold input:focus { box-shadow: inset 0 0 0 1px var(--color-accent); } /* halo à l'intérieur : il serait coupé par le pliage */
/* « Date souhaitée » : champ + calendrier sur mesure qui se déplie dessous */
.dp { display: grid; gap: 6px; max-width: 330px; }
.dp-label { font-size: .85rem; font-weight: 600; color: var(--color-dark-hover); }
.dp-field {
  display: flex; align-items: center; gap: 10px; width: 100%; height: 50px; padding: 0 14px; cursor: pointer; text-align: left;
  font: inherit; font-size: .95rem; color: #90A4AE; border-radius: 10px; border: 1.5px solid rgba(55, 71, 79, .15); background: var(--color-white);
  transition: border-color .2s, box-shadow .2s, color .2s;
}
.dp-field.has-value { color: var(--color-dark-hover); }
.dp-field:hover, .dp-field[aria-expanded="true"] { border-color: var(--color-accent); }
.dp-field:focus-visible { outline: none; box-shadow: inset 0 0 0 1px var(--color-accent); border-color: var(--color-accent); }
.dp-field span { flex: 1; }
.dp-field svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--color-accent-hover); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dp-field .dp-caret { width: 18px; height: 18px; stroke: var(--color-muted); transition: transform .4s cubic-bezier(.4, 0, .2, 1); }
.dp-field[aria-expanded="true"] .dp-caret { transform: rotate(180deg); }
/* hauteur animée avec la hauteur exacte donnée par script.js (la grille 0fr → 1fr, imbriquée dans l'encart, faisait sauter la suite) */
.dp-fold { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s cubic-bezier(.4, 0, .2, 1), opacity .3s ease; }
.dp-fold.is-open { opacity: 1; transition-delay: 0s, .08s; }
.dp-cal { margin-top: 4px; padding: 14px; border-radius: 14px; border: 1px solid rgba(55, 71, 79, .12); background: var(--color-white); transform: translateY(-8px); transition: transform .5s cubic-bezier(.4, 0, .2, 1); }
.dp-fold.is-open .dp-cal { transform: none; }
.dp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.dp-head b { font-size: .95rem; font-weight: 600; color: var(--color-dark-hover); text-transform: capitalize; }
.dp-nav { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; transition: background .2s; }
.dp-nav svg { width: 18px; height: 18px; fill: none; stroke: var(--color-dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dp-nav:hover { background: var(--color-light); }
.dp-nav:disabled { opacity: .25; cursor: default; background: transparent; }
.dp-week, .dp-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.dp-week span { padding-bottom: 6px; font-size: .72rem; font-weight: 600; color: var(--color-muted); }
.dp-days { animation: dpIn .35s ease; }
@keyframes dpIn { from { opacity: 0; transform: translateX(var(--dp-from, 0)); } }
.dp-days button {
  position: relative; width: 100%; max-width: 40px; aspect-ratio: 1; justify-self: center; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer;
  font: inherit; font-size: .86rem; color: var(--color-dark-hover); transition: background .2s, color .2s, transform .2s;
}
.dp-days button:hover:not(:disabled) { background: rgba(76, 175, 80, .12); color: var(--color-accent-hover); }
.dp-days button:disabled { color: #CFD8DC; cursor: default; }
.dp-days .is-today::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--color-accent); }
.dp-days button.is-selected { background: var(--gradient-accent); color: var(--color-white); font-weight: 600; transform: scale(1.05); box-shadow: 0 6px 14px -8px rgba(46, 125, 50, .8); }
.dp-days .is-selected::after { background: var(--color-white); }
.dp-clear { display: none; margin: 8px auto 0; padding: 4px 8px; border: 0; background: none; cursor: pointer; font: inherit; font-size: .8rem; color: var(--color-muted); text-decoration: underline; text-underline-offset: 3px; }
.dp-clear.is-visible { display: block; }
.dp-clear:hover { color: var(--color-dark-hover); }
.q-urgent { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(76, 175, 80, .08); border: 1px solid rgba(76, 175, 80, .3); }
.q-urgent-ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gradient-accent); }
.q-urgent-ico svg { width: 19px; height: 19px; fill: none; stroke: var(--color-white); stroke-width: 1.8; stroke-linejoin: round; }
.q-fold.is-open .q-urgent-ico svg { animation: ring .45s ease-in-out .55s 3; } /* le téléphone sonne 3 fois une fois l'encart ouvert */
.q-urgent p { flex: 1; display: grid; gap: 2px; margin: 0; }
.q-urgent b { font-size: .92rem; font-weight: 600; color: var(--color-dark-hover); }
.q-urgent p span { font-size: .82rem; color: var(--color-muted); }
.q-urgent .btn { flex: none; white-space: nowrap; }
/* étape 4 : nom et téléphone côte à côte, moyen de contact préféré en pastilles avec icône */
.q-row-2 { grid-template-columns: 1fr 1fr; }
.chips-contact input + span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px 8px 13px; font-size: .88rem; }
.chips-contact svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chips-contact svg.ico-fill { fill: currentColor; stroke: none; }
/* récapitulatif avant l'envoi */
.q-recap { display: grid; gap: 0; padding: 4px 16px; border-radius: 12px; background: #F5F7F8; border: 1px solid rgba(55, 71, 79, .08); }
.q-recap h4 { margin: 10px 0 2px; font-size: .78rem; font-weight: 600; color: var(--color-muted); }
.q-recap-row { display: grid; grid-template-columns: 82px 1fr auto; align-items: baseline; gap: 12px; padding: 9px 0; border-top: 1px solid rgba(55, 71, 79, .08); }
.q-recap-row:first-of-type { border-top: 0; }
.q-recap-row span { font-size: .8rem; color: var(--color-muted); }
.q-recap-row b { font-size: .9rem; font-weight: 600; color: var(--color-dark-hover); }
/* précisions : texte du visiteur en normal, retours à la ligne gardés, 3 lignes max */
.q-recap-row .q-recap-msg { font-weight: 400; white-space: pre-line; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.q-recap-edit { padding: 2px 0; border: 0; background: none; cursor: pointer; font: inherit; font-size: .8rem; font-weight: 600; color: var(--color-accent-hover); text-decoration: underline; text-decoration-color: rgba(56, 142, 60, .35); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.q-recap-edit:hover { text-decoration-color: currentColor; }
/* « le plus rapide » sur le bouton WhatsApp */
.btn-tag { padding: 2px 9px; border-radius: 999px; font-style: normal; font-size: .7rem; font-weight: 600; letter-spacing: .01em; background: rgba(255, 255, 255, .22); }

/* photos du devis (étape 3) ; « .q-photos » dans le sélecteur du bouton : plus fort que la règle générale des label du devis */ : vignettes carrées + case « Ajouter des photos » */
.q-photos { display: grid; gap: 8px; }
.q-photos-title { font-size: .85rem; font-weight: 600; color: var(--color-dark-hover); }
.q-photos-list { display: flex; flex-wrap: wrap; gap: 10px; }
.q-photo { width: 92px; height: 92px; border-radius: 12px; }
.q-photo { position: relative; overflow: hidden; background: #F5F7F8; border: 1px solid rgba(55, 71, 79, .1); animation: stepIn .3s ease; }
.q-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.q-photo.is-loading::after { content: ""; position: absolute; inset: 0; margin: auto; width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid rgba(76, 175, 80, .25); border-top-color: var(--color-accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.q-photo-del { position: absolute; top: 5px; right: 5px; display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: rgba(38, 50, 56, .78); color: #fff; font-size: 16px; line-height: 1; cursor: pointer; transition: background .2s; }
.q-photo-del:hover { background: #d6332a; }
.quote .q-photos label.q-photo-add { position: relative; display: grid; place-content: center; justify-items: center; gap: 6px; width: 100%; min-height: 64px; padding: 12px 16px; border-radius: 10px; text-align: center; font-size: .92rem; font-weight: 600; line-height: 1.2; color: var(--color-muted); border: 1.5px dashed rgba(55, 71, 79, .28); background: var(--color-white); cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.quote label.q-photo-add:hover, .quote label.q-photo-add:focus-within { border-color: var(--color-accent); color: var(--color-accent-hover); background: rgba(76, 175, 80, .05); }
.quote label.q-photo-add[hidden] { display: none; }
.q-photo-add svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.quote .q-photo-add input { position: absolute; width: 1px; height: 1px; padding: 0; opacity: 0; pointer-events: none; } /* caché : la case entière ouvre le choix des photos */
.q-photos-hint { margin: 0; font-size: .82rem; color: var(--color-muted); }
@media (max-width: 560px) { /* téléphone : 4 cases par ligne, qui se partagent la largeur */
  .q-photos-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .q-photo { width: auto; height: auto; aspect-ratio: 1; }
  .quote label.q-photo-add { grid-column: 1 / -1; } /* bouton sur toute la largeur, sous les vignettes */
}

/* succès de l'envoi : la carte devient verte puis revient au devis */
.quote { position: relative; }
.quote-done {
  position: absolute; inset: -1px; z-index: 5; border-radius: inherit; display: grid; justify-items: center; align-content: start;
  padding: clamp(56px, 12vh, 140px) 24px 40px; text-align: center; color: var(--color-white); background: var(--gradient-accent);
  clip-path: circle(0 at var(--x, 50%) var(--y, 90%)); visibility: hidden;
  transition: clip-path .6s cubic-bezier(.65, 0, .35, 1), opacity .7s ease, visibility 0s .6s;
}
.quote-done.is-on { clip-path: circle(150% at var(--x, 50%) var(--y, 90%)); visibility: visible; transition: clip-path .6s cubic-bezier(.65, 0, .35, 1), opacity .7s ease, visibility 0s; }
.quote-done.is-out { opacity: 0; }
.quote-done.is-reset { transition: none; }
.quote-done-box { max-width: 460px; }
.quote-done-check { width: 88px; height: 88px; fill: none; stroke: var(--color-white); stroke-linecap: round; stroke-linejoin: round; transform: scale(.6); opacity: 0; }
.quote-done-check circle { stroke-width: 2.5; stroke-dasharray: 152; stroke-dashoffset: 152; }
.quote-done-check path { stroke-width: 3.5; stroke-dasharray: 34; stroke-dashoffset: 34; }
.quote-done-title { margin: 22px 0 8px; font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.quote-done-text { margin: 0; font-size: 1.02rem; line-height: 1.6; color: rgba(255, 255, 255, .92); }
.quote-done-title, .quote-done-text { opacity: 0; transform: translateY(14px); }
.quote-done.is-on .quote-done-check { animation: donePop .55s .35s cubic-bezier(.34, 1.56, .64, 1) forwards; }
.quote-done.is-on .quote-done-check circle { animation: doneDraw .7s .4s cubic-bezier(.65, 0, .35, 1) forwards; }
.quote-done.is-on .quote-done-check path { animation: doneDraw .45s .95s cubic-bezier(.65, 0, .35, 1) forwards; }
.quote-done.is-on .quote-done-title { animation: doneUp .6s 1.05s cubic-bezier(.2, .7, .2, 1) forwards; }
.quote-done.is-on .quote-done-text { animation: doneUp .6s 1.2s cubic-bezier(.2, .7, .2, 1) forwards; }
@keyframes donePop { to { transform: none; opacity: 1; } }
@keyframes doneDraw { to { stroke-dashoffset: 0; } }
@keyframes doneUp { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .quote-done, .quote-done.is-on { clip-path: none; transition: opacity .3s ease, visibility 0s; }
  .quote-done:not(.is-on) { opacity: 0; }
  .quote-done.is-on * { animation-duration: .01s !important; animation-delay: 0s !important; }
}

.form-hint { margin: -8px 0 0; font-size: .85rem; color: var(--color-muted); }
.form-status { margin: 0; font-size: .92rem; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--color-accent-hover); }
.form-status.err { color: #d6332a; }
.quote .botcheck { display: none; } /* piège à robots */
.quote-send { display: grid; gap: 10px; margin-top: 4px; }
.quote .form-send { background: var(--color-white); }
.quote .form-send:hover { background: var(--color-light); }
.form-send:disabled { cursor: wait; opacity: .7; }
.form-privacy { margin: 0; font-size: .75rem; color: var(--color-muted); text-align: right; } /* dernière étape : sur la même ligne que « Précédent » */
.form-privacy[hidden] { display: none; }
.form-privacy a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.form-privacy a:hover { color: var(--color-dark-hover); }

/* bas : Retour / Continuer */
.quote-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 4px; }
.quote-nav:has(#quoteBack[hidden]) { justify-content: flex-end; }
.quote-back { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 8px 2px; font: inherit; font-size: .92rem; font-weight: 600; color: var(--color-muted); cursor: pointer; transition: color .2s; }
.quote-back:hover { color: var(--color-dark-hover); }
.quote-back[hidden], .quote-next[hidden] { display: none; }
.quote-direct { margin: 34px 0 0; text-align: center; font-size: .92rem; color: var(--color-muted); }
.quote-direct a { font-weight: 700; color: var(--color-dark-hover); white-space: nowrap; }
.quote-direct a:hover { color: var(--color-accent-hover); }

/* Pied de page (seul bloc foncé) */
.footer { padding: 64px var(--side) 28px; background: var(--color-dark); color: #B0BEC5; font-size: .88rem; }
.footer p { margin: 0; }
.footer .logo { color: var(--color-white); }
.footer .logo b { color: #66BB6A; }
.footer-sign { margin-top: 16px !important; max-width: 34ch; color: rgba(236, 239, 241, .8); font-size: .9rem; }
.footer-name { display: inline-block; margin-top: 6px; font-weight: 600; color: #81C784; }
/* 4 colonnes : marque, navigation, services, contact */
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-title { color: var(--color-white); font-weight: 700; font-size: .95rem; margin-bottom: 6px !important; }
.footer-col a { color: #B0BEC5; transition: color .2s; }
.footer-col a:hover, .footer-bottom a:hover { color: #66BB6A; }
.footer-contact a, .footer-contact p { display: inline-flex; align-items: center; gap: 9px; }
.footer-contact svg { width: 16px; height: 16px; flex: none; fill: none; stroke: #66BB6A; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.footer-contact svg.ico-fill { fill: #66BB6A; stroke: none; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .8rem; color: #90A4AE; }
.footer-bottom a { color: #B0BEC5; transition: color .2s; }
.footer-bottom p:last-child { display: flex; gap: 20px; }

.call-fab { display: none; }

/* ---------- Apparition au scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal:nth-child(2) { transition-delay: .1s; }
.hero .reveal:nth-child(3) { transition-delay: .2s; }
.hero .reveal:nth-child(4) { transition-delay: .3s; }
.hero .reveal:nth-child(5) { transition-delay: .4s; }
.hero-media.reveal { transition-delay: .35s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .nav-links { gap: 18px; font-size: .86rem; } /* noms du menu plus longs : on resserre sur les écrans moyens */
}
@media (max-width: 880px) {
  .burger { display: block; z-index: 60; }
  /* mobile : le menu se cache quand on descend et revient quand on remonte (script.js) */
  .nav.nav-hidden:not(:focus-within) { transform: translateY(-100%); }
  /* menu mobile : panneau plein écran, grands liens, boutons Appeler / WhatsApp en bas */
  .nav-links {
    position: fixed; inset: 0; background: var(--color-white);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: 96px var(--gutter) 28px; font-size: 1.45rem; font-weight: 700; overflow-y: auto;
    opacity: 0; pointer-events: none; transform: translateY(-10px); transition: opacity .3s, transform .3s;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; transform: none; }
  .nav.menu-open .nav-links a:not(.btn) { color: var(--color-dark); padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav.menu-open .nav-links a.active:not(.btn) { color: var(--color-accent-hover); text-decoration: none; }
  .nav-links .nav-cta { display: none; }
  .nav-links .nav-mobile-only { display: block; }
  /* menu mobile : l'interrupteur de langue en plus grand, sous les liens */
  .nav-links .lang-switch { align-self: flex-start; margin-top: 22px; }
  .nav.menu-open .nav-links .lang-switch a { padding: 10px 20px; font-size: .9rem; border-bottom: 0; }
  .nav-panel-actions { display: grid; gap: 10px; margin-top: auto; padding-top: 28px; }
  .nav-panel-actions .btn { font-size: 1rem; padding-block: 1em; }
  /* menu ouvert : le logo et la croix passent en foncé sur le panneau blanc */
  .nav.menu-open { background: transparent; box-shadow: none; backdrop-filter: none; }
  .nav.menu-open .logo { position: relative; z-index: 60; color: #37474F; }
  .nav.menu-open .logo b { color: #2E7D32; }
  .nav.menu-open .logo-clair { display: none; }
  .nav.menu-open .logo-fonce { display: block; }
  .nav .burger[aria-expanded="true"] span { background: var(--color-dark); }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 120px; }
  .hero-media { height: 360px; margin-top: 30px; }
  .badge-float { left: 16px; }
  .faq-grid { grid-template-columns: 1fr; }
  .zone-grid { grid-template-columns: 1fr; }
  /* mobile : menu déroulant à la place des boutons de communes */
  .zone-select { display: block; }
  .zone-list { display: none; }
  .faq-side { position: static; }
  .gallery { grid-template-columns: 1fr 1fr; --media-h: 220px; }
  .g-4 { grid-column: span 2; }
  .g-2 { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .call-fab {
    display: grid; place-items: center; position: fixed; right: 18px; bottom: 18px; z-index: 40;
    width: 52px; height: 52px; border-radius: 50%; background: var(--gradient-accent); color: var(--color-white);
    box-shadow: 0 12px 30px -8px rgba(46, 125, 50, .6);
  }
  .call-fab svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .stats-list { grid-template-columns: 1fr 1fr; row-gap: 10px; }
  /* traits horizontaux entre les 2 lignes (un par colonne), coupés au centre comme les verticaux */
  .stats-list::before, .stats-list::after { content: ""; grid-row: 2; height: 1px; background: rgba(255, 255, 255, .3); }
  .stats-list::before { grid-column: 1; margin: 0 10px 0 12px; }
  .stats-list::after { grid-column: 2; margin: 0 12px 0 10px; }
  .stats-list li:nth-child(n+3) { grid-row: 3; }
  .stats-list li:nth-child(3) { border-left: 0; }
  /* boutons de l'accueil sur toute la largeur, plus faciles à toucher */
  .hero-cta { flex-direction: column; gap: 26px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .call-word { display: inline; }
  .services-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .services-more { text-align: left; }
  .services { grid-template-columns: 1fr; }
  #zoneMap { height: 340px; }
  /* galerie qui défile au doigt : une photo à la fois, la suivante dépasse un peu à droite */
  .gallery {
    --media-h: 300px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); scroll-padding: 0 var(--gutter);
    scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery .g { flex: 0 0 86%; min-width: 0; scroll-snap-align: start; }
  .gallery .reveal { opacity: 1; transform: none; }
  .gallery-dots { display: flex; justify-content: center; gap: 7px; margin-top: 18px; }
  .gallery-dots span { width: 7px; height: 7px; border-radius: 50%; background: #CFD8DC; transition: background .3s, width .3s; }
  .gallery-dots span.on { width: 20px; border-radius: 4px; background: var(--color-accent); }
  /* note toujours à droite du titre, en un peu plus petit */
  .reviews-head { gap: 12px; }
  .rating-score { font-size: 2.3rem; }
  .rating-score span { font-size: 1.15rem; }
  .rating-badge .stars { font-size: .9rem; margin-top: 6px; }
  .rating-count { font-size: 1.1rem; }
  .review { width: 280px; }
  .footer-contact { grid-column: 1 / -1; }
  .chips-grid { grid-template-columns: repeat(2, 1fr); }
  .q-row-lieu { grid-template-columns: 1.6fr 1fr; }
  .q-row-2 { grid-template-columns: 1fr; }
  .q-row-2.q-row-names { grid-template-columns: 1fr 1fr; } /* prénom et nom restent côte à côte */
  .q-recap-row { grid-template-columns: 1fr auto; row-gap: 2px; }
  .q-recap-row b { grid-column: 1; }
  .q-recap-edit { grid-column: 2; grid-row: 1 / 3; align-self: center; }
  .chips-grid label:last-child { grid-column: 1 / -1; } /* « Autre chose » sur toute la largeur */
  .chips-grid-4 label:last-child { grid-column: auto; } /* délais : 4 cases = 2 lignes de 2 */
  .q-urgent { flex-wrap: wrap; }
  .q-urgent .btn { width: 100%; justify-content: center; }
  .dp { max-width: none; }
  .footer-bottom { flex-direction: column; }
  .g-4, .g-2 { grid-column: auto; }
}
