/* ==========================================================================
   CD TRAVAUX — Design system
   Rénovation intérieure, Gueugnon (71130)
   --------------------------------------------------------------------------
   Choix des rayons : coins LÉGÈREMENT ARRONDIS, 4 px maximum sur les
   éléments d'interface (boutons, cartes, champs) — 6 px réservé au
   bouton d'appel flottant. Les photos de chantier restent à angles
   vifs (0 px) : on les montre telles quelles, comme des pièces à
   conviction du savoir-faire.

   Motif signature : le PIGNON du logo. Il revient sous trois formes :
   - la photo du hero découpée en silhouette de maison, coiffée du
     toit bicolore teal / sable du logo ;
   - le petit chevron bicolore qui précède les titres de section ;
   - l'hexagone allongé (panneau central du logo) qui porte les icônes
     de services et les numéros d'étapes.

   Typo : Poppins (titres, comme le logo) + Inter (texte courant).
   Approche mobile-first, points de rupture : 600 / 900 / 1100 / 1320 px.
   ========================================================================== */

/* Polices auto-hébergées (pas d'appel à Google Fonts : plus rapide, conforme RGPD) */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }


/* -------------------------------------------------------------------------
   1. Tokens
   ------------------------------------------------------------------------- */
:root {
  /* Couleurs de marque (extraites du logo) */
  --navy: #183154;          /* dominant, texte du logo */
  --navy-deep: #1b2848;     /* fonds sombres, footer */
  --navy-ink: #13263f;      /* survol des boutons marine */
  --petrol: #225777;
  --teal: #3b858e;
  --teal-600: #2f7880;      /* teal accessible pour texte blanc (AA) */
  --teal-light: #6ca4aa;
  --sand: #ebebd8;
  --slate: #8b97a9;
  --slate-light: #c5cbd4;

  /* Neutres */
  --white: #ffffff;
  --grey-50: #f6f7f9;
  --grey-100: #eef1f5;
  --grey-200: #dde2e9;
  --anthracite: #2b2f36;    /* texte courant */
  --anthracite-soft: #4a505a;

  /* Rôles */
  --color-bg: var(--white);
  --color-bg-alt: var(--grey-50);
  --color-text: var(--anthracite);
  --color-text-muted: var(--anthracite-soft);
  --color-heading: var(--navy);
  --color-border: var(--grey-200);
  --color-accent: var(--teal);
  --color-link: var(--petrol);
  --color-focus: #3b858e;

  /* Typographie */
  --font-title: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --fs-xs: 0.8125rem;   /* 13 */
  --fs-sm: 0.9375rem;   /* 15 */
  --fs-base: 1.0625rem; /* 17 */
  --fs-lg: 1.1875rem;   /* 19 */
  --fs-h4: 1.125rem;
  --fs-h3: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem);
  --fs-h2: clamp(1.75rem, 1.35rem + 1.7vw, 2.625rem);
  --fs-display: clamp(2.375rem, 1.5rem + 3.6vw, 4.25rem);

  --lh-tight: 1.12;
  --lh-title: 1.25;
  --lh-body: 1.65;

  /* Espacements (échelle 4 px) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.5rem;
  --space-8: 3rem;
  --space-9: 4rem;
  --space-10: 5rem;
  --space-11: 6.5rem;
  --section-y: clamp(4rem, 2.8rem + 5vw, 7.5rem);

  /* Mise en page */
  --container: 1240px;
  --container-narrow: 820px;
  --gutter: clamp(1.25rem, 0.6rem + 2.6vw, 2.5rem);
  --header-h: 68px;

  /* Rayons */
  --radius-0: 0;
  --radius-sm: 2px;
  --radius: 4px;
  --radius-fab: 6px;

  /* Ombres (teintées marine, jamais grises) */
  --shadow-sm: 0 1px 2px rgba(24, 49, 84, 0.08);
  --shadow-md: 0 14px 34px -18px rgba(24, 49, 84, 0.35);
  --shadow-lg: 0 30px 60px -28px rgba(19, 38, 63, 0.55);

  /* Mouvement */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 220ms;

  /* Formes du logo */
  --hex: polygon(50% 0, 100% 20%, 100% 80%, 50% 100%, 0 80%, 0 20%);
  --gable: polygon(50% 0, 100% 18%, 100% 100%, 0 100%, 0 18%);
}

@media (min-width: 1100px) {
  :root { --header-h: 84px; }
}

/* -------------------------------------------------------------------------
   2. Base
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  margin: 0 0 var(--space-4);
  font-family: var(--font-title);
  color: var(--color-heading);
  line-height: var(--lh-title);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h2 { font-size: var(--fs-h2); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p { margin: 0 0 var(--space-4); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--color-link); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }

ul, ol { margin: 0; padding: 0; }

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 200;
  padding: var(--space-3) var(--space-4);
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  border-radius: var(--radius);
}
.skip-link:focus { top: var(--space-3); color: var(--white); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon-stroke { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* -------------------------------------------------------------------------
   3. Layout
   ------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(var(--container-narrow) + 2 * var(--gutter)); }

.section { padding-block: var(--section-y); }
.section--alt { background: var(--color-bg-alt); }
.section--dark { background: var(--navy-deep); color: var(--slate-light); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--tight { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }

/* En-tête de section : chevron bicolore du logo + titre + chapeau */
.section-head { max-width: 46rem; margin-bottom: clamp(2.25rem, 1.8rem + 2vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .section-head__title::before { margin-inline: auto; }
.section-head__title::before {
  content: "";
  display: block;
  width: 46px;
  height: 14px;
  margin-bottom: var(--space-4);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 14'%3E%3Cpath d='M2 12 23 2' stroke='%233b858e' stroke-width='3.2' fill='none' stroke-linecap='square'/%3E%3Cpath d='M23 2l21 10' stroke='%23d9d9bd' stroke-width='3.2' fill='none' stroke-linecap='square'/%3E%3C/svg%3E") no-repeat center / contain;
}
.section--dark .section-head__title::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 14'%3E%3Cpath d='M2 12 23 2' stroke='%236ca4aa' stroke-width='3.2' fill='none' stroke-linecap='square'/%3E%3Cpath d='M23 2l21 10' stroke='%23ebebd8' stroke-width='3.2' fill='none' stroke-linecap='square'/%3E%3C/svg%3E");
}
.section-head--compact { margin-bottom: var(--space-5); }
.section-head__lead {
  font-size: var(--fs-lg);
  color: var(--color-text-muted);
  max-width: 40rem;
}
.section-head--center .section-head__lead { margin-inline: auto; }
.section--dark .section-head__lead { color: var(--slate-light); }

.lead { font-size: var(--fs-lg); line-height: 1.6; }

/* -------------------------------------------------------------------------
   4. Boutons
   ------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: var(--white);
  --btn-border: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 52px;
  padding: 0.8rem 1.5rem;
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.005em;
  text-decoration: none;
  text-align: center;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 2px solid var(--btn-border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); }
.btn:active { transform: none; }
.btn .icon { width: 1.15em; height: 1.15em; }

.btn--primary { --btn-bg: var(--teal-600); --btn-border: var(--teal-600); }
.btn--primary:hover { --btn-bg: var(--petrol); --btn-border: var(--petrol); }

.btn--navy:hover { --btn-bg: var(--navy-ink); --btn-border: var(--navy-ink); }

.btn--secondary { --btn-bg: transparent; --btn-fg: var(--navy); --btn-border: var(--navy); }
.btn--secondary:hover { --btn-bg: var(--navy); --btn-fg: var(--white); }

/* Variante pour fonds sombres */
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--white); --btn-border: rgba(255, 255, 255, 0.55); }
.btn--ghost:hover { --btn-bg: var(--white); --btn-fg: var(--navy); --btn-border: var(--white); }

.btn--sm { min-height: 44px; padding: 0.55rem 1.1rem; font-size: 0.9375rem; }
.btn--block { width: 100%; }

.btn-group { display: flex; flex-wrap: wrap; gap: var(--space-3); }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--petrol);
  text-decoration: none;
  border-bottom: 2px solid var(--teal-light);
  padding-bottom: 2px;
}
.link-more:hover { color: var(--navy); border-color: var(--navy); }

/* -------------------------------------------------------------------------
   5. Header + navigation
   ------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--grey-200);
  box-shadow: 0 8px 24px -18px rgba(24, 49, 84, 0.45);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  height: var(--header-h);
}
.site-header__logo { display: block; flex: none; }
.site-header__logo img { width: auto; height: 50px; transition: height var(--dur) var(--ease); }
@media (min-width: 1100px) {
  .site-header__logo img { height: 64px; }
  .site-header.is-scrolled .site-header__logo img { height: 54px; }
}

/* Burger */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 44px;
  padding: 0 0.85rem;
  font: 600 0.9375rem/1 var(--font-title);
  color: var(--navy);
  background: transparent;
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle__bars { position: relative; width: 20px; height: 14px; }
.nav-toggle__bars span {
  position: absolute; left: 0; right: 0; height: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease), top var(--dur) var(--ease);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* Panneau mobile */
.nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  padding: var(--space-5) var(--gutter) var(--space-8);
  background: var(--white);
  border-top: 1px solid var(--grey-200);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
}
.nav.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s;
}
.nav__list { list-style: none; }
.nav__item { border-bottom: 1px solid var(--grey-100); }
.nav__link,
.nav__sub-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 56px;
  padding: 0;
  font: 600 1.125rem/1.2 var(--font-title);
  color: var(--navy);
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
}
.nav__link[aria-current="page"] { color: var(--teal-600); }
.nav__sub-toggle .icon { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); }
.nav__sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

.nav__sub {
  list-style: none;
  display: none;
  padding: 0 0 var(--space-4) var(--space-4);
  border-left: 2px solid var(--teal-light);
  margin-bottom: var(--space-4);
}
.has-sub.is-open > .nav__sub { display: block; }
.nav__sub a {
  display: block;
  padding: 0.55rem 0;
  font-size: 1rem;
  color: var(--anthracite);
  text-decoration: none;
}
.nav__sub a:hover { color: var(--teal-600); }
.nav__sub-all { font-weight: 600; color: var(--petrol) !important; }

.nav__cta { display: grid; gap: var(--space-3); }
.nav__phone {
  display: flex; align-items: center; gap: var(--space-3);
  font: 600 1.125rem var(--font-title); color: var(--navy); text-decoration: none;
}

@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  .nav {
    position: static;
    inset: auto;
    flex-direction: row;
    align-items: center;
    gap: var(--space-6);
    padding: 0;
    background: none;
    border: 0;
    overflow: visible;
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: none;
  }
  .nav__list { display: flex; align-items: center; gap: clamp(1rem, 0.2rem + 1.2vw, 1.85rem); }
  .nav__item { position: relative; border: 0; }
  .nav__link,
  .nav__sub-toggle {
    position: relative;
    width: auto;
    min-height: 44px;
    gap: 0.35rem;
    font-size: 0.96875rem;
    font-weight: 500;
    color: var(--anthracite);
  }
  .nav__link::after,
  .nav__sub-toggle::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: 6px;
    height: 2px;
    background: var(--teal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur) var(--ease);
  }
  .nav__link:hover, .nav__sub-toggle:hover { color: var(--navy); }
  .nav__link:hover::after,
  .nav__link[aria-current="page"]::after,
  .nav__sub-toggle:hover::after { transform: scaleX(1); }
  .nav__link[aria-current="page"] { color: var(--navy); font-weight: 600; }
  .nav__sub-toggle .icon { width: 14px; height: 14px; }

  .nav__sub {
    position: absolute;
    top: 100%;
    left: -1.25rem;
    display: block;
    min-width: 290px;
    margin: 0;
    padding: var(--space-3) 0;
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-top: 3px solid var(--teal);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-md);
    visibility: hidden;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
  }
  .has-sub:hover > .nav__sub,
  .has-sub:focus-within > .nav__sub,
  .has-sub.is-open > .nav__sub {
    visibility: visible; opacity: 1; transform: none;
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s;
  }
  .nav__sub a { padding: 0.55rem 1.25rem; font-size: 0.9375rem; }
  .nav__sub a:hover { background: var(--grey-50); }
  .nav__sub-all { border-top: 1px solid var(--grey-100); margin-top: var(--space-2); padding-top: 0.75rem !important; }

  .nav__cta { display: flex; align-items: center; gap: var(--space-5); }
  .nav__phone { font-size: 0.9375rem; display: none; }
}
@media (min-width: 1320px) {
  .nav__phone { display: flex; }
}

/* -------------------------------------------------------------------------
   6. Hero (accueil)
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--slate-light);
}
.hero::after { /* fine trame de plaques de plâtre : lignes de joints très discrètes */
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 120px 100%;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-8);
  padding-block: var(--space-8) var(--space-9);
}
.hero__kicker {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: 0 0 var(--space-5);
  font-family: var(--font-title);
  font-size: clamp(0.9375rem, 0.88rem + 0.25vw, 1.0625rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--teal-light);
}
.hero__kicker::before {
  content: "";
  flex: none;
  width: 30px; height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 10'%3E%3Cpath d='M1.5 8.5 15 1.5' stroke='%236ca4aa' stroke-width='2.4' fill='none'/%3E%3Cpath d='M15 1.5l13.5 7' stroke='%23ebebd8' stroke-width='2.4' fill='none'/%3E%3C/svg%3E") no-repeat center / contain;
}
.hero__title {
  margin: 0 0 var(--space-5);
  font-family: var(--font-title);
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: -0.03em;
  color: var(--white);
  text-wrap: balance;
}
.hero__text { max-width: 34rem; font-size: var(--fs-lg); color: #d6dbe3; margin-bottom: var(--space-6); }
.hero__actions .btn { flex: 1 1 auto; }
.hero__phone-note { margin-top: var(--space-4); font-size: var(--fs-sm); color: var(--slate); }

/* Photo en silhouette de pignon, toit bicolore du logo */
.hero__figure {
  position: relative;
  margin: 0;
  padding-top: 12%;
  max-width: 460px;
  width: 100%;
  justify-self: center;
}
.hero__roof {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: auto;
  overflow: visible;
}
.hero__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 40%;
  clip-path: polygon(50% 0, 100% 19.2%, 100% 100%, 0 100%, 0 19.2%); /* même pente que le toit SVG */
  background: var(--petrol);
}
.hero__caption {
  margin-top: var(--space-3);
  font-size: var(--fs-xs);
  color: var(--slate);
  text-align: center;
}

@media (min-width: 600px) {
  .hero__actions .btn { flex: 0 0 auto; }
}
@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
    gap: clamp(2.5rem, 1rem + 4vw, 6rem);
    padding-block: var(--space-10) var(--space-10);
  }
  .hero__figure { justify-self: end; }
  .hero__photo { aspect-ratio: 3 / 4; clip-path: var(--gable); }
}

/* Séquence d'arrivée unique (le seul mouvement non déclenché du site) */
@media (prefers-reduced-motion: no-preference) {
  .hero__kicker, .hero__title, .hero__text, .hero__actions, .hero__phone-note {
    animation: rise 700ms var(--ease) both;
  }
  .hero__title { animation-delay: 80ms; }
  .hero__text { animation-delay: 160ms; }
  .hero__actions { animation-delay: 240ms; }
  .hero__phone-note { animation-delay: 300ms; }
  .hero__photo { animation: settle 900ms var(--ease) 120ms both; }
  .hero__roof path { stroke-dasharray: 170; animation: draw 900ms var(--ease) 500ms both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
@keyframes draw { from { stroke-dashoffset: 170; } to { stroke-dashoffset: 0; } }

/* -------------------------------------------------------------------------
   7. Bandeau confiance
   ------------------------------------------------------------------------- */
.trust {
  background: var(--white);
  border-bottom: 1px solid var(--grey-200);
}
.trust__list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
}
.trust__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--grey-100);
}
.trust__item:last-child { border-bottom: 0; }
.trust__icon {
  flex: none;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  color: var(--teal-600);
  background: var(--grey-50);
  border-radius: var(--radius);
}
.trust__icon .icon { width: 24px; height: 24px; }
.trust__title {
  display: block;
  font: 600 1rem/1.3 var(--font-title);
  color: var(--navy);
  margin-bottom: 2px;
}
.trust__text { display: block; font-size: var(--fs-sm); line-height: 1.5; color: var(--color-text-muted); }

@media (min-width: 600px) {
  .trust__list { grid-template-columns: repeat(2, 1fr); column-gap: var(--space-6); }
  .trust__item:nth-last-child(2) { border-bottom: 0; }
}
@media (min-width: 1100px) {
  .trust__list { grid-template-columns: repeat(4, 1fr); column-gap: 0; }
  .trust__item { padding: var(--space-6) var(--space-5); border-bottom: 0; border-left: 1px solid var(--grey-200); }
  .trust__item:first-child { border-left: 0; padding-left: 0; }
}

/* -------------------------------------------------------------------------
   8. Présentation (texte + photo)
   ------------------------------------------------------------------------- */
.split {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(3rem, 1rem + 5vw, 7rem); }
  .split--reverse > :first-child { order: 2; }
}
.split__media { position: relative; margin: 0; max-width: 520px; }
@media (min-width: 900px) { .split__media { max-width: none; } }
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.split__media::before { /* filet teal décalé, comme un trait de cordeau */
  content: "";
  position: absolute;
  top: -14px; right: -14px;
  width: 42%; height: 42%;
  border-top: 3px solid var(--teal);
  border-right: 3px solid var(--teal);
  pointer-events: none;
}
.split__media figcaption {
  margin-top: var(--space-3);
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}
.facts { list-style: none; margin-top: var(--space-6); display: grid; gap: 0; border-top: 1px solid var(--grey-200); }
.facts li {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--grey-200);
  font-size: var(--fs-sm);
}
.facts strong { font-family: var(--font-title); font-weight: 600; color: var(--navy); }
@media (max-width: 599px) {
  .facts li { grid-template-columns: 1fr; gap: var(--space-1); }
}
.signature {
  margin-top: var(--space-6);
  display: flex; align-items: center; gap: var(--space-4);
}
.signature img { width: 56px; height: auto; }
.signature p { margin: 0; font-size: var(--fs-sm); line-height: 1.45; }
.signature strong { display: block; font: 600 1rem var(--font-title); color: var(--navy); }

/* -------------------------------------------------------------------------
   9. Cartes services
   ------------------------------------------------------------------------- */
.services-grid {
  list-style: none;
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 700px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .services-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-6); } }

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--space-6) var(--space-6) var(--space-6);
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.service-card::before {
  content: "";
  position: absolute; left: -1px; right: -1px; top: -1px;
  height: 3px;
  background: var(--teal);
  border-radius: var(--radius) var(--radius) 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms var(--ease);
}
.service-card:hover { border-color: var(--slate-light); box-shadow: var(--shadow-md); }
.service-card:hover::before,
.service-card:focus-within::before { transform: scaleX(1); }

.hex-icon {
  display: grid; place-items: center;
  width: 52px; height: 60px;
  margin-bottom: var(--space-5);
  color: var(--white);
  background: var(--navy);
  clip-path: var(--hex);
}
.hex-icon .icon { width: 26px; height: 26px; }
.hex-icon--teal { background: var(--teal-600); }
.hex-icon--petrol { background: var(--petrol); }

.service-card__title { margin-bottom: var(--space-3); }
.service-card__title a { color: inherit; text-decoration: none; }
.service-card__title a::after { content: ""; position: absolute; inset: 0; } /* carte entièrement cliquable */
.service-card__text { color: var(--color-text-muted); font-size: var(--fs-sm); }
.service-card__list {
  list-style: none;
  margin: var(--space-4) 0 var(--space-6);
  display: grid; gap: var(--space-2);
  font-size: var(--fs-sm);
}
.service-card__list li { position: relative; padding-left: 1.25rem; }
.service-card__list li::before {
  content: "";
  position: absolute; left: 0; top: 0.6em;
  width: 8px; height: 8px;
  border-top: 2px solid var(--teal);
  border-left: 2px solid var(--teal);
  transform: rotate(45deg);
}
.service-card__more { margin-top: auto; }
.service-card__more .link-more { position: relative; z-index: 1; pointer-events: none; }

.service-card--dark {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--slate-light);
}
.service-card--dark .service-card__title { color: var(--white); }
.service-card--dark .service-card__text { color: #d6dbe3; }
.service-card--dark .btn-group { margin-top: auto; }
.service-card--dark .btn { flex: 1 1 auto; }

/* -------------------------------------------------------------------------
   10. Réalisations (grille + lightbox)
   ------------------------------------------------------------------------- */
.gallery {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}
.gallery__item { margin: 0; min-width: 0; }
.gallery__item--wide { grid-column: 1 / -1; }
.gallery__btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--grey-100);
  cursor: zoom-in;
  overflow: hidden;
}
.gallery__btn img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}
.gallery__item--wide .gallery__btn img { aspect-ratio: 16 / 9; }
.gallery__btn:hover img { transform: scale(1.025); }
.gallery__zoom {
  position: absolute; right: 10px; bottom: 10px;
  display: grid; place-items: center;
  width: 36px; height: 36px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.gallery__zoom .icon { width: 18px; height: 18px; }
.gallery__btn:hover .gallery__zoom, .gallery__btn:focus-visible .gallery__zoom { opacity: 1; }
.gallery__caption {
  display: flex; gap: var(--space-3);
  margin-top: var(--space-3);
  font-size: var(--fs-xs);
  line-height: 1.45;
  color: var(--color-text-muted);
}
.gallery__caption::before {
  content: ""; flex: none;
  width: 14px; height: 2px; margin-top: 0.6em;
  background: var(--teal);
}

@media (min-width: 900px) {
  .gallery {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--space-6) var(--space-5);
  }
  .gallery__item { grid-column: span 4; }
  .gallery__item--wide { grid-column: span 7; }
  .gallery__item--half { grid-column: span 5; }
  .gallery__btn img { aspect-ratio: auto; height: 380px; }
  .gallery__item--wide .gallery__btn img,
  .gallery__item--half .gallery__btn img { aspect-ratio: auto; height: 420px; }
}
@media (min-width: 1320px) {
  .gallery__btn img { height: 440px; }
  .gallery__item--wide .gallery__btn img,
  .gallery__item--half .gallery__btn img { height: 460px; }
}
.gallery-foot { margin-top: var(--space-8); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); }
.gallery-foot p { margin: 0; color: var(--color-text-muted); max-width: 36rem; font-size: var(--fs-sm); }

/* Lightbox (élément <dialog>) */
.lightbox {
  width: 100vw; height: 100vh;
  max-width: none; max-height: none;
  margin: 0; padding: 0;
  border: 0;
  background: rgba(16, 28, 48, 0.96);
  color: var(--white);
}
.lightbox::backdrop { background: rgba(16, 28, 48, 0.6); }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; }
.lightbox__stage {
  display: grid; place-items: center;
  min-height: 0;
  padding: 64px 12px 8px;
}
.lightbox__img {
  max-width: 100%;
  max-height: calc(100vh - 150px);
  width: auto; height: auto;
  object-fit: contain;
}
.lightbox__bar {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: var(--space-4) var(--gutter) var(--space-5);
}
.lightbox__caption { margin: 0; font-size: var(--fs-sm); color: var(--slate-light); }
.lightbox__count { font-family: var(--font-title); font-size: var(--fs-xs); color: var(--slate); white-space: nowrap; }
.lightbox__btn {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  cursor: pointer;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.18); }
.lightbox__btn .icon { width: 22px; height: 22px; }
.lightbox__close { position: absolute; top: 10px; right: 10px; }
.lightbox__nav { display: flex; gap: var(--space-2); }
@media (min-width: 900px) {
  .lightbox__stage { padding: 72px 96px 8px; }
}

/* -------------------------------------------------------------------------
   11. Méthode en étapes
   ------------------------------------------------------------------------- */
.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: var(--space-7);
  position: relative;
}
.step { position: relative; padding-left: 76px; }
.step__num {
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center;
  width: 52px; height: 60px;
  font: 700 1.25rem/1 var(--font-title);
  color: var(--navy-deep);
  background: var(--teal-light);
  clip-path: var(--hex);
}
.step:not(:last-child)::after { /* fil conducteur vertical sur mobile */
  content: "";
  position: absolute; left: 25px; top: 72px; bottom: calc(-1 * var(--space-7) + 10px);
  width: 2px;
  background: rgba(108, 164, 170, 0.35);
}
.step__title { margin-bottom: var(--space-2); color: var(--white); }
.step__text { font-size: var(--fs-sm); color: var(--slate-light); }

@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
  .step { padding-left: 0; padding-top: 88px; }
  .step:not(:last-child)::after {
    left: 68px; right: calc(-1 * var(--space-6) + 12px);
    top: 30px; bottom: auto;
    width: auto; height: 2px;
  }
}
.method-note {
  margin-top: var(--space-9);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(197, 203, 212, 0.2);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-5);
}
.method-note p { margin: 0; max-width: 40rem; color: #d6dbe3; }

/* -------------------------------------------------------------------------
   12. Pour qui
   ------------------------------------------------------------------------- */
.audience {
  display: grid;
  gap: var(--space-7);
}
@media (min-width: 900px) {
  .audience { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(3rem, 1rem + 5vw, 6rem); }
  .audience .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
}
.audience__list { list-style: none; border-top: 2px solid var(--navy); }
.audience__item {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--grey-200);
}
.audience__item h3 { margin: 0; font-size: var(--fs-h4); }
.audience__item p { margin: 0; color: var(--color-text-muted); font-size: var(--fs-sm); }
@media (min-width: 700px) {
  .audience__item { grid-template-columns: 15rem 1fr; gap: var(--space-6); align-items: baseline; padding: var(--space-6) 0; }
}

/* -------------------------------------------------------------------------
   13. Zone d'intervention
   ------------------------------------------------------------------------- */
.zone { display: grid; gap: var(--space-8); align-items: center; }
@media (min-width: 900px) {
  .zone { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(3rem, 1rem + 5vw, 6rem); }
}
.towns {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 var(--space-5);
  margin: var(--space-5) 0 var(--space-6);
  border-top: 1px solid var(--grey-200);
}
.towns li {
  display: flex; align-items: center; gap: var(--space-3);
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--grey-200);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--anthracite);
}
.towns li::before {
  content: ""; flex: none;
  width: 7px; height: 7px;
  background: var(--teal);
  transform: rotate(45deg);
}
.towns li.is-base { font-weight: 700; color: var(--navy); }
.towns li.is-base::before { background: var(--navy); width: 9px; height: 9px; }

.zone-map {
  margin: 0;
  padding: var(--space-5);
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
}
.zone-map svg { width: 100%; height: auto; }
.zone-map figcaption { margin-top: var(--space-3); font-size: var(--fs-xs); color: var(--color-text-muted); text-align: center; }
.zone-map__ring { fill: none; stroke: var(--slate-light); stroke-width: 1; stroke-dasharray: 3 5; }
.zone-map__ring--outer { stroke: var(--teal); stroke-width: 1.5; stroke-dasharray: none; }
.zone-map__area { fill: rgba(59, 133, 142, 0.07); }
.zone-map__dot { fill: var(--teal-600); }
.zone-map__label { font: 500 15px var(--font-body); fill: var(--anthracite); }
.zone-map__base { fill: var(--navy); }
.zone-map__base-label { font: 700 17px var(--font-title); fill: var(--navy); }
.zone-map__km { font: 600 14px var(--font-title); fill: var(--teal-600); }
@media (min-width: 600px) {
  .zone-map__label { font-size: 13px; }
  .zone-map__base-label { font-size: 15px; }
  .zone-map__km { font-size: 11px; }
}
@media (max-width: 599px) { .zone-map { padding: var(--space-3); } }

/* -------------------------------------------------------------------------
   14. FAQ (details / summary)
   ------------------------------------------------------------------------- */
.faq { border-top: 2px solid var(--navy); }
.faq__item { border-bottom: 1px solid var(--grey-200); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-5);
  padding: var(--space-5) 0;
  font: 600 var(--fs-h4)/1.4 var(--font-title);
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "";
  flex: none;
  width: 32px; height: 32px;
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius);
  background:
    linear-gradient(var(--teal-600), var(--teal-600)) center / 12px 2px no-repeat,
    linear-gradient(var(--teal-600), var(--teal-600)) center / 2px 12px no-repeat;
  transition: transform var(--dur) var(--ease), background-size var(--dur) var(--ease);
}
.faq__item[open] .faq__q::after { background-size: 12px 2px, 2px 0; transform: rotate(180deg); }
.faq__q:hover { color: var(--petrol); }
.faq__a { padding: 0 3.5rem var(--space-5) 0; color: var(--color-text-muted); }
.faq__a p { max-width: 62ch; }

/* -------------------------------------------------------------------------
   15. CTA devis
   ------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #d6dbe3;
  padding-block: clamp(4rem, 3rem + 4vw, 6.5rem);
}
.cta-band::before { /* grand pignon en filigrane */
  content: "";
  position: absolute;
  right: -4%; bottom: -48%;
  width: min(560px, 90vw); aspect-ratio: 2 / 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 100'%3E%3Cpath d='M6 96 100 8' stroke='%233b858e' stroke-width='9' fill='none'/%3E%3Cpath d='M100 8l94 88' stroke='%23ebebd8' stroke-width='9' fill='none' opacity='.55'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: 0.2;
  pointer-events: none;
}
.cta-band__inner { position: relative; display: grid; gap: var(--space-6); }
.cta-band__title { color: var(--white); margin-bottom: var(--space-4); }
.cta-band__text { max-width: 36rem; font-size: var(--fs-lg); }
.cta-band__meta { margin-top: var(--space-4); font-size: var(--fs-sm); color: var(--slate); }
@media (min-width: 900px) {
  .cta-band__inner { grid-template-columns: 1fr auto; align-items: end; gap: var(--space-9); }
}

/* -------------------------------------------------------------------------
   16. Formulaire
   ------------------------------------------------------------------------- */
.form { display: grid; gap: var(--space-5); }
.form__row { display: grid; gap: var(--space-5); }
@media (min-width: 700px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: var(--space-2); }
.field__label { font: 600 var(--fs-sm)/1.3 var(--font-title); color: var(--navy); }
.field__label .req { color: var(--teal-600); }
.field__hint { font-size: var(--fs-xs); color: var(--color-text-muted); }
.field__input,
.field__select,
.field__textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 0.9rem;
  font: 400 1rem/1.4 var(--font-body);
  color: var(--anthracite);
  background: var(--white);
  border: 1.5px solid var(--slate-light);
  border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field__textarea { min-height: 160px; resize: vertical; }
.field__select {
  appearance: none;
  padding-right: 2.5rem;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23183154' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.8rem center / 18px;
}
.field__input:hover, .field__select:hover, .field__textarea:hover { border-color: var(--slate); }
.field__input:focus, .field__select:focus, .field__textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(59, 133, 142, 0.22);
}
.field--error .field__input, .field--error .field__textarea, .field--error .field__select { border-color: #b3261e; }
.field__error { font-size: var(--fs-xs); color: #b3261e; font-weight: 500; }
.check { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--fs-sm); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--teal-600); flex: none; }
.form__note { font-size: var(--fs-xs); color: var(--color-text-muted); }
.form-panel {
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-top: 3px solid var(--teal);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* -------------------------------------------------------------------------
   17. Pages intérieures : fil d'Ariane + en-tête
   ------------------------------------------------------------------------- */
.page-header {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #d6dbe3;
  padding-block: var(--space-7) clamp(3rem, 2rem + 4vw, 5rem);
}
.page-header::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal) 0 50%, var(--sand) 50% 100%);
}
.page-header__title {
  max-width: 22ch;
  margin: var(--space-6) 0 var(--space-4);
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--white);
}
.page-header__lead { max-width: 42rem; font-size: var(--fs-lg); margin-bottom: 0; }
.page-header .btn-group { margin-top: var(--space-6); }

.breadcrumb ol {
  list-style: none;
  display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-xs);
}
.breadcrumb li { display: flex; align-items: center; gap: var(--space-2); color: var(--slate-light); }
.breadcrumb li + li::before {
  content: "";
  width: 6px; height: 6px;
  border-top: 1.5px solid var(--teal-light);
  border-right: 1.5px solid var(--teal-light);
  transform: rotate(45deg);
}
.breadcrumb a { color: var(--white); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; color: var(--white); }
.breadcrumb [aria-current="page"] { color: var(--slate-light); }

/* Texte éditorial des pages intérieures */
.prose { max-width: 68ch; }
.prose h2 { margin-top: var(--space-8); font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); }
.prose h3 { margin-top: var(--space-6); }
.prose ul { padding-left: 1.2rem; margin-bottom: var(--space-4); }
.prose li { margin-bottom: var(--space-2); }
.prose li::marker { color: var(--teal); }

/* -------------------------------------------------------------------------
   18. Footer
   ------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-deep);
  color: var(--slate-light);
  font-size: var(--fs-sm);
}
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--teal-light); text-decoration: underline; }
.site-footer__top {
  display: grid;
  gap: var(--space-8);
  padding-block: var(--space-9) var(--space-8);
}
.site-footer__brand-logo {
  display: inline-block;
  padding: 14px 18px;
  background: var(--white);
  border-radius: var(--radius);
}
.site-footer__brand-logo img { width: 120px; height: auto; }
.site-footer__brand p { margin-top: var(--space-5); max-width: 22rem; line-height: 1.6; }
.site-footer__title {
  margin-bottom: var(--space-4);
  font: 600 1rem/1.3 var(--font-title);
  color: var(--white);
}
.site-footer__list { list-style: none; display: grid; gap: var(--space-2); }
.site-footer__contact { font-style: normal; display: grid; gap: var(--space-3); }
.site-footer__contact p { margin: 0; display: flex; gap: var(--space-3); align-items: flex-start; line-height: 1.5; }
.site-footer__contact .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--teal-light); }
.site-footer__bottom {
  position: relative;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3) var(--space-6);
  padding-block: var(--space-5) var(--space-6);
  font-size: var(--fs-xs);
  color: var(--slate);
}
.site-footer__bottom::before {
  content: "";
  position: absolute; top: 0; left: var(--gutter); right: var(--gutter);
  height: 1px;
  background: rgba(197, 203, 212, 0.16);
}
.site-footer__bottom p { margin: 0; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: var(--space-5); }
@media (min-width: 700px) {
  .site-footer__top { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .site-footer__top { grid-template-columns: 1.3fr 1fr 0.8fr 1.3fr; gap: var(--space-7); }
}
@media (max-width: 1099px) {
  .site-footer { padding-bottom: 84px; } /* place pour le bouton d'appel flottant */
}

/* -------------------------------------------------------------------------
   19. Bouton d'appel flottant (mobile)
   ------------------------------------------------------------------------- */
.call-fab {
  position: fixed;
  right: 16px; bottom: 16px;
  z-index: 90;
  display: inline-flex; align-items: center; gap: var(--space-2);
  min-height: 54px;
  padding: 0 1.15rem 0 1rem;
  font: 600 1rem/1 var(--font-title);
  color: var(--white);
  text-decoration: none;
  background: var(--teal-600);
  border-radius: var(--radius-fab);
  box-shadow: var(--shadow-lg);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.call-fab:hover { color: var(--white); background: var(--petrol); }
.call-fab .icon { width: 22px; height: 22px; }
body.nav-open .call-fab { opacity: 0; pointer-events: none; }
@media (min-width: 1100px) { .call-fab { display: none; } }

/* -------------------------------------------------------------------------
   20. Apparition au scroll (activée par JS seulement si mouvement autorisé)
   ------------------------------------------------------------------------- */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }

/* -------------------------------------------------------------------------
   21. Utilitaires
   ------------------------------------------------------------------------- */
.mt-0 { margin-top: 0 !important; }
.mt-6 { margin-top: var(--space-6) !important; }
.text-center { text-align: center; }
.muted { color: var(--color-text-muted); }

@media print {
  .site-header, .call-fab, .nav, .lightbox { display: none !important; }
  body { color: #000; }
}

/* -------------------------------------------------------------------------
   22. Pages intérieures : mise en page article + encart
   ------------------------------------------------------------------------- */
.page-layout { display: grid; gap: var(--space-8); }
@media (min-width: 1000px) {
  .page-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(3rem, 1rem + 4vw, 6rem); align-items: start; }
  .page-aside { position: sticky; top: calc(var(--header-h) + 32px); }
}
.prose > h2:first-child { margin-top: 0; }
.prose figure { margin: var(--space-7) 0; }
.prose figure img { width: 100%; height: auto; display: block; }
.prose figcaption, .figure-note { margin-top: var(--space-2); font-size: var(--fs-xs); color: var(--color-text-muted); }
.prose .callout {
  margin: var(--space-6) 0;
  padding: var(--space-5) var(--space-6);
  background: var(--grey-50);
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.prose .callout p:last-child { margin-bottom: 0; }

.aside-card { padding: var(--space-6); background: var(--navy); color: #d6dbe3; border-radius: var(--radius); }
.aside-card h2 { color: var(--white); font-size: 1.35rem; margin-bottom: var(--space-3); }
.aside-card p { font-size: var(--fs-sm); }
.aside-card .btn { width: 100%; justify-content: center; }
.aside-card .btn + .btn { margin-top: var(--space-3); }
.aside-list { list-style: none; margin: var(--space-5) 0 0; padding: var(--space-5) 0 0; border-top: 1px solid rgba(197,203,212,.2); display: grid; gap: var(--space-2); font-size: var(--fs-sm); }
.aside-list li::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; background: var(--teal-light); transform: rotate(45deg); }
.aside-links { margin-top: var(--space-5); padding: var(--space-5) var(--space-6); border: 1px solid var(--grey-200); border-radius: var(--radius); }
.aside-links h2 { font-size: 1.05rem; margin-bottom: var(--space-3); }
.aside-links ul { list-style: none; display: grid; gap: var(--space-2); font-size: var(--fs-sm); }

/* Liens vers prestations liées */
.related { display: grid; gap: var(--space-4); list-style: none; }
@media (min-width: 700px) { .related { grid-template-columns: repeat(3, 1fr); } }
.related a {
  display: block; height: 100%;
  padding: var(--space-5) var(--space-6);
  background: var(--white); border: 1px solid var(--grey-200); border-top: 3px solid var(--teal);
  border-radius: var(--radius); text-decoration: none; color: var(--navy);
  font: 600 1.05rem/1.35 var(--font-title);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.related a span { display: block; margin-top: var(--space-2); font: 400 var(--fs-sm)/1.5 var(--font-body, inherit); color: var(--color-text-muted); }
.related a:hover { border-color: var(--teal); transform: translateY(-2px); }

/* Galerie page réalisations : filtres */
.filters { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-7); }
.filters button {
  padding: .55rem 1rem; font: 500 var(--fs-sm)/1 var(--font-title);
  color: var(--navy); background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius); cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.gallery__item[hidden] { display: none; }

/* Formulaire de devis */
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: var(--space-4); }
.form legend { font: 600 1.15rem/1.3 var(--font-title); color: var(--navy); margin-bottom: var(--space-3); padding: 0; }
.form legend .step-n { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 10px; font-size: .85rem; color: var(--white); background: var(--teal-600); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.choice-grid { display: grid; gap: var(--space-2); }
@media (min-width: 600px) { .choice-grid { grid-template-columns: 1fr 1fr; } .form__row--2 { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; display: flex; gap: var(--space-3); align-items: center; padding: .85rem 1rem; border: 1px solid var(--grey-200); border-radius: var(--radius); cursor: pointer; font-size: var(--fs-sm); background: var(--white); }
.choice input { width: 18px; height: 18px; accent-color: var(--teal-600); flex: none; }
.choice:has(input:checked) { border-color: var(--teal-600); background: #eef5f6; }
.form-success { display: none; padding: var(--space-6); border: 1px solid var(--teal); border-left-width: 4px; background: #eef5f6; border-radius: var(--radius); }
.form-success.is-visible { display: block; }
.form-success h2 { font-size: 1.35rem; }

/* Contact */
.contact-cards { display: grid; gap: var(--space-4); list-style: none; }
@media (min-width: 700px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
.contact-card { padding: var(--space-6); border: 1px solid var(--grey-200); border-radius: var(--radius); background: var(--white); }
.contact-card .icon { width: 26px; height: 26px; color: var(--teal-600); margin-bottom: var(--space-3); }
.contact-card h2 { font-size: 1.05rem; margin-bottom: var(--space-2); }
.contact-card p { margin: 0; }
.map-frame { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius); background: var(--grey-50); }

/* Liste de communes en colonnes (page zone) */
.towns--wide { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .towns--wide { grid-template-columns: repeat(3, 1fr); } }
.region-block + .region-block { margin-top: var(--space-7); }

.not-found { text-align: center; padding-block: clamp(4rem, 3rem + 6vw, 8rem); }
.not-found .btn-group { justify-content: center; }
.region-block { margin-top: var(--space-8); }
.region-block h2 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); margin-bottom: 0; }

/* =========================================================================
   23. Habillage premium : bandeau métiers, chiffres, avis Google,
       en-têtes photo des pages intérieures
   ========================================================================= */

/* Bandeau des métiers qui défile sous le hero */
.marquee { position: relative; overflow: hidden; background: var(--teal-600); color: var(--white); border-block: 1px solid rgba(255,255,255,.08); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__group { display: flex; align-items: center; gap: 2.5rem; padding: 1.05rem 1.25rem; list-style: none; margin: 0; }
.marquee__group li { display: flex; align-items: center; gap: 2.5rem; font: 600 clamp(.95rem, .85rem + .4vw, 1.15rem)/1 var(--font-title); letter-spacing: .01em; white-space: nowrap; }
.marquee__group li::after { content: ""; width: 12px; height: 7px; background: var(--sand); clip-path: polygon(0 100%, 50% 0, 100% 100%, 84% 100%, 50% 32%, 16% 100%); opacity: .9; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* Badge note Google */
.g-badge { display: inline-flex; align-items: center; gap: .75rem; padding: .6rem .95rem .6rem .7rem; background: rgba(255,255,255,.06); border: 1px solid rgba(197,203,212,.22); border-radius: var(--radius); color: var(--white); text-decoration: none; font-size: var(--fs-sm); transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.g-badge:hover { background: rgba(255,255,255,.12); border-color: rgba(197,203,212,.4); color: var(--white); }
.g-badge__g { flex: none; width: 30px; height: 30px; display: grid; place-items: center; background: var(--white); border-radius: 50%; }
.g-badge__g svg { width: 18px; height: 18px; }
.g-badge strong { font: 700 1.05rem/1 var(--font-title); }
.g-badge__meta { color: var(--slate-light); }
.g-badge--light { background: var(--white); border-color: var(--grey-200); color: var(--navy); box-shadow: var(--shadow-sm); }
.g-badge--light:hover { background: var(--grey-50); color: var(--navy); border-color: var(--slate-light); }
.g-badge--light .g-badge__g { background: var(--grey-50); }
.g-badge--light .g-badge__meta { color: var(--color-text-muted); }
.stars { display: inline-flex; gap: 2px; color: #f2b01e; }
.stars svg { width: 15px; height: 15px; fill: currentColor; }
.hero .g-badge { margin-top: var(--space-6); }

/* Chiffres clés */
.proof { background: var(--white); border-bottom: 1px solid var(--grey-200); }
.proof__list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); }
.proof__item { padding: clamp(1.75rem, 1.2rem + 2vw, 2.75rem) var(--space-4); border-right: 1px solid var(--grey-200); border-bottom: 1px solid var(--grey-200); }
.proof__item:nth-child(2n) { border-right: 0; }
.proof__num { display: flex; align-items: baseline; gap: .2rem; font: 700 clamp(2.4rem, 1.7rem + 3vw, 3.75rem)/1 var(--font-title); letter-spacing: -.04em; color: var(--navy); }
.proof__num small { font-size: .42em; letter-spacing: 0; color: var(--teal-600); }
.proof__label { margin: var(--space-3) 0 0; font-size: var(--fs-sm); color: var(--color-text-muted); max-width: 16rem; }
@media (min-width: 900px) {
  .proof__list { grid-template-columns: repeat(4, 1fr); }
  .proof__item { border-bottom: 0; padding-inline: var(--space-6); }
  .proof__item:nth-child(2n) { border-right: 1px solid var(--grey-200); }
  .proof__item:last-child { border-right: 0; }
  .proof__item:first-child { padding-left: 0; }
}

/* Avis clients */
.reviews-head { display: grid; gap: var(--space-6); align-items: end; margin-bottom: clamp(2.25rem, 1.8rem + 2vw, 3.5rem); }
.reviews-head .section-head { margin-bottom: 0; }
@media (min-width: 900px) { .reviews-head { grid-template-columns: 1fr auto; } }
.reviews-score { display: flex; align-items: center; gap: var(--space-5); }
.reviews-score__num { font: 700 clamp(3rem, 2.4rem + 2.4vw, 4.5rem)/1 var(--font-title); letter-spacing: -.04em; color: var(--navy); }
.reviews-score__meta { display: grid; gap: .35rem; font-size: var(--fs-sm); color: var(--color-text-muted); }
.reviews-score .stars svg { width: 20px; height: 20px; }
.reviews { list-style: none; display: grid; gap: var(--space-5); }
@media (min-width: 900px) { .reviews { grid-template-columns: 1fr 1fr; gap: var(--space-6); } }
.review { position: relative; display: flex; flex-direction: column; height: 100%; padding: clamp(1.75rem, 1.3rem + 2vw, 2.75rem); background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius); box-shadow: var(--shadow-md); }
.review::before { content: "\201C"; position: absolute; top: -.35em; right: .3em; font: 700 9rem/1 var(--font-title); color: var(--sand); pointer-events: none; }
.review__text { position: relative; margin: var(--space-5) 0 var(--space-6); font-size: var(--fs-lg); line-height: 1.6; color: var(--anthracite, #2b2f36); }
.review__foot { margin-top: auto; display: flex; align-items: center; gap: var(--space-4); padding-top: var(--space-5); border-top: 1px solid var(--grey-200); }
.review__avatar { flex: none; width: 46px; height: 46px; display: grid; place-items: center; font: 700 1rem/1 var(--font-title); color: var(--white); background: var(--navy); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.review:nth-child(2n) .review__avatar { background: var(--teal-600); }
.review__name { display: block; font: 600 1rem/1.3 var(--font-title); color: var(--navy); }
.review__meta { display: block; font-size: var(--fs-xs); color: var(--color-text-muted); }
.review__src { margin-left: auto; width: 26px; height: 26px; opacity: .9; }
.reviews-foot { margin-top: var(--space-7); display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.reviews-foot p { margin: 0 auto 0 0; font-size: var(--fs-xs); color: var(--color-text-muted); }

/* Encart note dans la colonne des pages intérieures */
.aside-rating { display: flex; align-items: center; gap: var(--space-3); margin: 0 0 var(--space-4); padding-bottom: var(--space-4); border-bottom: 1px solid rgba(197,203,212,.2); font-size: var(--fs-sm); color: var(--slate-light); text-decoration: none; }
.aside-rating strong { font: 700 1.5rem/1 var(--font-title); color: var(--white); }
.aside-rating:hover { color: var(--white); }

/* En-tête photo des pages intérieures */
.page-header--photo { padding-block: var(--space-7) clamp(3.5rem, 2rem + 6vw, 7rem); }
.page-header__bg { position: absolute; inset: 0; z-index: 0; }
.page-header__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-header__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24,49,84,.97) 0%, rgba(24,49,84,.9) 42%, rgba(24,49,84,.55) 75%, rgba(24,49,84,.35) 100%), linear-gradient(0deg, rgba(27,40,72,.55), transparent 45%); }
@media (max-width: 899px) { .page-header__bg::after { background: linear-gradient(180deg, rgba(24,49,84,.82), rgba(24,49,84,.95)); } }
.page-header--photo .container { position: relative; z-index: 1; }
.page-header--photo::before { content: ""; position: absolute; z-index: 1; right: max(var(--gutter), calc((100vw - 1240px) / 2)); bottom: 28px; width: 120px; height: 44px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 44'%3E%3Cpath d='M4 40 60 6' stroke='%233b858e' stroke-width='6' fill='none'/%3E%3Cpath d='M60 6l56 34' stroke='%23ebebd8' stroke-width='6' fill='none'/%3E%3C/svg%3E") no-repeat center / contain; opacity: .85; }
@media (max-width: 899px) { .page-header--photo::before { display: none; } }

/* Cartes services : numérotation et flèche */
.services-grid { counter-reset: svc; }
.service-card:not(.service-card--dark) { counter-increment: svc; }
.service-card:not(.service-card--dark)::after { content: "0" counter(svc); position: absolute; top: clamp(1.5rem, 1rem + 1.5vw, 2rem); right: clamp(1.5rem, 1rem + 1.5vw, 2rem); font: 700 .85rem/1 var(--font-title); letter-spacing: .12em; color: var(--slate-light); transition: color var(--dur) var(--ease); }
.service-card:hover::after { color: var(--teal-600); }
.service-card:hover { transform: translateY(-3px); }
.service-card { transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.link-more::after { transition: transform var(--dur) var(--ease); }
.service-card:hover .link-more::after { transform: translateX(4px); }
.link-more::after { content: "→"; font-weight: 600; }
