/* ==========================================================================
   Hexagone Iso – feuille de style commune (public/css/site.css)
   Mobile d’abord. Aucune dépendance. Polices auto-hébergées (licence OFL).
   Palette reprise de l’ancien site : bleu foncé du logo #2C5697, bleu clair du
   logo #3875D3, bleu nuit du pied de page #1B3A69, fonds gris clair #F6F8F7.
   ========================================================================== */

/* ---------- Polices (sous-ensemble latin, suffisant pour le français) ---------- */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/poppins-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/poppins-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/work-sans-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Polices de repli ajustées pour limiter le décalage au chargement */
@font-face {
  font-family: "Poppins repli";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 112%;
  ascent-override: 94%;
  descent-override: 31%;
  line-gap-override: 9%;
}
@font-face {
  font-family: "Work Sans repli";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 111%;
  ascent-override: 84%;
  descent-override: 22%;
  line-gap-override: 0%;
}

/* ---------- Variables ---------- */
:root {
  /* Couleurs de la marque */
  --c-brand: #2c5697;          /* bleu foncé du logo : liens, menu, pied de page (7,3:1 sur blanc) */
  --c-brand-dark: #1b3a69;     /* bleu nuit : bas de pied de page, sections sombres */
  --c-accent: #3875d3;         /* bleu clair du logo : décors, filets, icônes */
  --c-accent-strong: #2f69c2;  /* fond des boutons (5,4:1 avec texte blanc) */
  --c-accent-hover: #184b9b;   /* survol des boutons (couleur de survol de l’ancien site) */
  --c-step-1: #6393dc;         /* dégradé des étapes « Notre processus » */
  --c-step-2: #3775d3;
  --c-step-3: #29579e;
  --c-step-4: #1b3a69;

  /* Neutres */
  --c-ink: #1d2433;            /* titres */
  --c-text: #2e3546;           /* texte courant */
  --c-muted: #4a5263;          /* texte secondaire (7,8:1 sur blanc) */
  --c-line: #d9dee7;           /* filets décoratifs */
  --c-field: #7b8699;          /* bordure des champs (3:1 minimum) */
  --c-bg: #ffffff;
  --c-bg-alt: #f6f8f7;         /* fond alterné repris de l’ancien site */
  --c-tint: #eaf1fb;           /* bleu très clair */
  --c-on-dark: #e8eef8;        /* texte sur fond bleu */

  /* États */
  --c-error: #b42318;
  --c-error-bg: #fef3f2;
  --c-success: #1b6b3a;
  --c-success-bg: #ecf7ef;

  /* Typographie */
  --font-body: "Poppins", "Poppins repli", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Work Sans", "Work Sans repli", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Formes et espacements */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(16, 32, 64, .06), 0 1px 4px rgba(16, 32, 64, .08);
  --shadow: 0 8px 24px rgba(16, 32, 64, .12);
  --container: 75rem;
  --gutter: 1rem;
  --header-h: 4rem;
  --space-section: clamp(3rem, 2.2rem + 3.5vw, 5.5rem);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: clip;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }

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

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  color: var(--c-ink);
  text-wrap: balance;
}
h1 { font-size: clamp(1.875rem, 1.3rem + 2.6vw, 3rem); }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.6vw, 2.25rem); }
h3 { font-size: clamp(1.1875rem, 1.1rem + .4vw, 1.375rem); }
h4 { font-size: 1.0625rem; }

p, ul, ol, dl, figure, blockquote, address { margin: 0 0 1rem; }
address { font-style: normal; }
strong, b { font-weight: 600; }
small { font-size: .875rem; }
hr { border: 0; border-top: 1px solid var(--c-line); margin: 2rem 0; }

a {
  color: var(--c-brand);
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}
a:hover { color: var(--c-accent-hover); text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 2px;
  border-radius: 2px;
}
main:focus { outline: none; }

/* Listes simples dans le contenu : puces aux couleurs de la marque */
main :is(ul, ol):not([class]) { padding-left: 1.35rem; }
main :is(ul, ol):not([class]) li { margin-bottom: .35rem; }
main :is(ul, ol):not([class]) li::marker { color: var(--c-accent-strong); font-weight: 600; }

/* ---------- Utilitaires ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 52rem; }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -10rem;
  z-index: 100;
  padding: .7rem 1.1rem;
  background: #fff;
  color: var(--c-brand);
  font-weight: 600;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}
.skip-link:focus { top: .5rem; }

.text-center { text-align: center; }
.nowrap { white-space: nowrap; }
.mx-auto { margin-inline: auto; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: 2rem; }
.mb-lg { margin-bottom: 2rem; }
.muted { color: var(--c-muted); }
.small { font-size: .875rem; }
.lead {
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
  color: var(--c-muted);
}
.eyebrow {
  display: inline-block;
  margin: 0 0 .5rem;
  font: 600 .8125rem/1.3 var(--font-body);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-accent-strong);
}
.badge {
  display: inline-block;
  padding: .2rem .65rem;
  border-radius: 999px;
  background: var(--c-tint);
  color: var(--c-brand);
  font-size: .8125rem;
  font-weight: 600;
}
.img-rounded { border-radius: var(--radius-lg); }
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}
.actions--center { justify-content: center; }
.grid-2 { display: grid; gap: 2rem; }
@media (min-width: 48em) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 2.875rem;
  padding: .7rem 1.35rem;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--c-accent-strong);
  color: #fff;
  font: 600 1rem/1.25 var(--font-body);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover {
  background: var(--c-accent-hover);
  color: #fff;
  text-decoration: none;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn--outline {
  background: transparent;
  color: var(--c-brand);
  border-color: currentColor;
}
.btn--outline:hover { background: var(--c-tint); color: var(--c-accent-hover); }
.btn--light { background: #fff; color: var(--c-brand); }
.btn--light:hover { background: var(--c-tint); color: var(--c-accent-hover); }
.btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .85);
}
.btn--outline-light:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.btn--sm { min-height: 2.5rem; padding: .45rem 1rem; font-size: .9375rem; }
.btn--lg { min-height: 3.25rem; padding: .85rem 1.75rem; font-size: 1.0625rem; }
.btn--block { display: flex; width: 100%; }
.btn[disabled],
.btn[aria-disabled="true"] { opacity: .65; cursor: not-allowed; }
.btn.is-busy { cursor: progress; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--c-line);
  box-shadow: 0 2px 12px rgba(16, 32, 64, .06);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  flex-shrink: 0;
  padding-block: .375rem;
  border-radius: 4px;
}
.brand img { width: auto; height: 3.25rem; }

.header-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-left: auto;
}
.header-tel,
.header-devis { display: none; }
.header-tel {
  align-items: center;
  gap: .4rem;
  padding: .5rem .25rem;
  font-weight: 600;
  color: var(--c-brand);
  text-decoration: none;
  white-space: nowrap;
}
.header-tel svg { width: 1.1rem; height: 1.1rem; color: var(--c-accent-strong); }
.header-tel:hover { color: var(--c-accent-hover); text-decoration: underline; }
.header-devis[aria-current="page"] { background: var(--c-accent-hover); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: .5rem .8rem;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--c-brand);
  font: 600 .9375rem/1 var(--font-body);
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--c-accent); }
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 1.25rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

/* Navigation : tiroir sur téléphone et tablette */
.site-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  width: min(22rem, 100%);
  background: #fff;
  box-shadow: -8px 0 30px rgba(16, 32, 64, .2);
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .25s ease, visibility 0s linear .25s;
}
.nav-open .site-nav {
  transform: none;
  visibility: visible;
  transition: transform .25s ease;
}
.site-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: .5rem 1rem .5rem 1.25rem;
  border-bottom: 1px solid var(--c-line);
}
.site-nav__title {
  margin: 0;
  font: 600 1.125rem/1 var(--font-head);
  color: var(--c-ink);
}
.nav-close {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--c-brand);
  cursor: pointer;
}
.nav-close svg { width: 1.25rem; height: 1.25rem; }

.menu,
.submenu { list-style: none; margin: 0; padding: 0; }
.menu { padding-block: .5rem; }
.menu__item + .menu__item { border-top: 1px solid #eef1f5; }
.menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  width: 100%;
  padding: .85rem 1.25rem;
  border: 0;
  background: none;
  font: 600 1.0625rem/1.3 var(--font-body);
  color: var(--c-ink);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.menu__link:hover { color: var(--c-accent-hover); background: var(--c-tint); text-decoration: none; }
.menu__link[aria-current="page"],
.menu__item--sub:has([aria-current="page"]) > .menu__toggle { color: var(--c-accent-hover); }
.menu__link[aria-current="page"] { box-shadow: inset 4px 0 0 var(--c-accent); }
.menu__chevron {
  width: 1rem;
  height: 1rem;
  transition: transform .2s ease;
}
.menu__toggle[aria-expanded="true"] .menu__chevron { transform: rotate(180deg); }

.submenu { display: none; padding-bottom: .5rem; background: var(--c-bg-alt); }
.menu__toggle[aria-expanded="true"] + .submenu { display: block; }
.submenu a {
  display: block;
  padding: .65rem 1.25rem .65rem 2rem;
  color: var(--c-text);
  text-decoration: none;
  line-height: 1.4;
}
.submenu a:hover { color: var(--c-accent-hover); background: var(--c-tint); }
.submenu a[aria-current="page"] {
  color: var(--c-accent-hover);
  font-weight: 600;
  box-shadow: inset 4px 0 0 var(--c-accent);
}

.site-nav__actions {
  display: grid;
  gap: .75rem;
  margin-top: auto;
  padding: 1.25rem;
  border-top: 1px solid var(--c-line);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(13, 22, 40, .5);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility 0s linear .25s;
}
.nav-open .nav-overlay { opacity: 1; visibility: visible; transition: opacity .25s ease; }
.nav-open body { overflow: hidden; }

/* Barre d’appel fixe en bas d’écran (téléphone) */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  gap: .5rem;
  padding: .5rem .5rem calc(.5rem + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-top: 1px solid var(--c-line);
  box-shadow: 0 -4px 16px rgba(16, 32, 64, .1);
}
.mobile-bar .btn {
  flex: 1 1 auto;
  min-width: 0;
  padding-inline: .5rem;
  font-size: .875rem;
}
body { padding-bottom: calc(4rem + env(safe-area-inset-bottom, 0px)); }

@media (min-width: 40em) {
  .header-tel,
  .header-devis { display: inline-flex; }
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
  .brand img { height: 3.5rem; }
  :root { --header-h: 4.5rem; }
}

@media (min-width: 48em) {
  :root { --gutter: 1.5rem; }
}

/* Navigation horizontale sur grand écran */
@media (min-width: 75em) {
  :root { --header-h: 5.5rem; }
  .brand img { height: 4.5rem; }
  .site-header__inner { gap: 1.5rem; }
  .nav-toggle,
  .site-nav__head,
  .site-nav__actions,
  .nav-overlay { display: none; }
  .nav-open body { overflow: visible; }
  .site-nav {
    position: static;
    display: block;
    width: auto;
    margin-left: auto;
    background: none;
    box-shadow: none;
    overflow: visible;
    transform: none;
    visibility: visible;
    transition: none;
  }
  .header-actions { margin-left: 0; gap: 1rem; }
  .menu { display: flex; align-items: center; gap: .15rem; padding: 0; }
  .menu__item { position: relative; }
  .menu__item + .menu__item { border-top: 0; }
  .menu__link {
    width: auto;
    padding: .55rem .75rem;
    border-radius: var(--radius-sm);
    font-size: .96875rem;
    color: var(--c-brand);
  }
  .menu__link[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--c-accent); border-radius: 0; }
  .submenu {
    position: absolute;
    top: calc(100% + .35rem);
    left: 0;
    z-index: 70;
    min-width: 17.5rem;
    padding: .5rem;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  /* pont invisible pour ne pas perdre le survol entre le bouton et le sous-menu */
  .submenu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -.5rem;
    height: .5rem;
  }
  .menu__item:last-child .submenu { left: auto; right: 0; }
  .submenu a { padding: .55rem .85rem; border-radius: var(--radius-sm); }
  .submenu a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--c-accent); }
}
@media (min-width: 75em) and (hover: hover) {
  .menu__item--sub:hover > .submenu { display: block; }
}

/* ---------- Fil d’Ariane ---------- */
.breadcrumb {
  padding-block: .75rem;
  font-size: .875rem;
  color: var(--c-muted);
  background: var(--c-bg-alt);
  border-bottom: 1px solid var(--c-line);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.breadcrumb li { display: inline-flex; align-items: center; gap: .5rem; }
.breadcrumb li + li::before {
  content: "";
  width: .4rem;
  height: .4rem;
  border: solid var(--c-muted);
  border-width: 1.5px 1.5px 0 0;
  transform: rotate(45deg);
}
.breadcrumb a { color: var(--c-brand); }
.breadcrumb [aria-current="page"] { color: var(--c-ink); font-weight: 600; }

/* ---------- Bandeau d’accroche (hero) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 28rem;
  overflow: hidden;
  color: #fff;
  background: var(--c-brand-dark);
}
.hero__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(15, 33, 64, .74) 0%, rgba(15, 33, 64, .82) 100%);
}
.hero__content { padding-block: 3rem; }
.hero__eyebrow {
  margin: 0 0 .75rem;
  font: 600 .875rem/1.3 var(--font-body);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-on-dark);
}
.hero__title {
  max-width: 22ch;
  margin-bottom: .9rem;
  font-size: clamp(1.875rem, 1.2rem + 3.2vw, 3.25rem);
  color: #fff;
}
.hero__text {
  max-width: 40rem;
  margin-bottom: 0;
  font-size: clamp(1rem, .95rem + .4vw, 1.1875rem);
  color: var(--c-on-dark);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.75rem;
}
.hero :focus-visible { outline-color: #fff; }
.hero--small { min-height: 18rem; }
.hero--plain {
  min-height: 0;
  background: linear-gradient(120deg, var(--c-brand-dark) 0%, var(--c-brand) 70%, var(--c-accent-strong) 100%);
}
.hero--plain::after { display: none; }
@media (min-width: 48em) {
  .hero { min-height: 34rem; }
  .hero--small { min-height: 21rem; }
  .hero--plain { min-height: 0; }
  .hero::after {
    background: linear-gradient(90deg, rgba(15, 33, 64, .9) 0%, rgba(15, 33, 64, .74) 55%, rgba(15, 33, 64, .45) 100%);
  }
  .hero__content { padding-block: 4.5rem; }
}
@media (min-width: 75em) {
  .hero { min-height: 38rem; }
  .hero--small { min-height: 23rem; }
  .hero--plain { min-height: 0; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--space-section); }
.section--tight { padding-block: clamp(2rem, 1.6rem + 2vw, 3rem); }
.section--alt { background: var(--c-bg-alt); }
.section--tint { background: var(--c-tint); }
.section--dark { background: var(--c-brand-dark); color: var(--c-on-dark); }
.section--dark :is(h2, h3, h4) { color: #fff; }
.section--dark a:not(.btn) { color: #fff; }
.section--dark :focus-visible { outline-color: #fff; }
.section--dark .eyebrow,
.section--dark .lead { color: var(--c-on-dark); }

.section-head {
  max-width: 46rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.section-head h2::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 3px;
  margin: .8rem auto 0;
  border-radius: 3px;
  background: var(--c-accent);
}
.section-head > :last-child { margin-bottom: 0; }
.section-head--left { margin-inline: 0; text-align: left; }
.section-head--left h2::after { margin-left: 0; }

/* ---------- Sections alternées texte / image ---------- */
.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.split__text > :last-child { margin-bottom: 0; }
.split__media { margin: 0; }
.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.split__media figcaption { margin-top: .6rem; font-size: .875rem; color: var(--c-muted); }
@media (min-width: 56em) {
  .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
  .split--reverse .split__media { order: -1; }
  .split--wide-text { grid-template-columns: 3fr 2fr; }
}

/* ---------- Figure simple ---------- */
.figure { margin: 0 0 1.5rem; }
.figure img { width: 100%; border-radius: var(--radius); }
.figure figcaption { margin-top: .5rem; font-size: .875rem; color: var(--c-muted); }

/* ---------- Grilles de cartes (avantages, services) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 48em) {
  .cards--2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 56em) {
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 64em) {
  .cards--4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.section--alt .card,
.section--tint .card { border-color: transparent; }
.card__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: var(--c-tint);
  color: var(--c-accent-strong);
  font: 600 1.125rem/1 var(--font-head);
}
.card__icon svg { width: 1.6rem; height: 1.6rem; }
.card__title { margin-bottom: .5rem; font-size: 1.1875rem; }
.card__text { margin-bottom: 1rem; color: var(--c-muted); }
.card__text:last-child { margin-bottom: 0; }
.card__link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: auto;
  font-weight: 600;
  text-decoration: none;
}
.card__link::after { content: "→"; transition: transform .2s ease; }
/* la carte entière devient cliquable */
.card__link::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card:has(.card__link):hover {
  border-color: #c5d3ea;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.card:has(.card__link):hover .card__link::after { transform: translateX(3px); }
.card:has(.card__link:focus-visible) { outline: 3px solid var(--c-accent); outline-offset: 2px; }
.card__link:focus-visible { outline: none; }
.card--media { padding: 0; overflow: hidden; }
.card__img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem 1.5rem 1.5rem;
}

/* ---------- Chiffres clés ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}
.stat {
  padding: 1.25rem 1rem;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}
.stat__value {
  display: block;
  font: 600 clamp(2rem, 1.6rem + 1.8vw, 2.75rem)/1.1 var(--font-head);
  color: var(--c-brand);
}
.stat__label { display: block; margin-top: .35rem; font-size: .9375rem; color: var(--c-muted); }

/* ---------- Étapes « Notre processus » ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.process__step {
  padding: 1.5rem;
  background: #fff;
  border-top: 4px solid var(--c-step-1);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.process__num {
  display: block;
  margin-bottom: .75rem;
  font: 600 1.875rem/1 var(--font-head);
  color: var(--c-step-1);
}
.process__step:nth-child(4n + 2) { border-top-color: var(--c-step-2); }
.process__step:nth-child(4n + 2) .process__num { color: var(--c-step-2); }
.process__step:nth-child(4n + 3) { border-top-color: var(--c-step-3); }
.process__step:nth-child(4n + 3) .process__num { color: var(--c-step-3); }
.process__step:nth-child(4n + 4) { border-top-color: var(--c-step-4); }
.process__step:nth-child(4n + 4) .process__num { color: var(--c-step-4); }
.process__title { margin-bottom: .35rem; font-size: 1.1875rem; }
.process__text { margin: 0; color: var(--c-muted); }

/* ---------- Logos (qualifications, partenaires) ---------- */
.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.logos img { width: auto; max-width: 10rem; max-height: 4.5rem; object-fit: contain; }

/* ---------- Bande d’appel à l’action ---------- */
.cta-band {
  padding-block: clamp(2.5rem, 2rem + 3vw, 4rem);
  color: #fff;
  background: linear-gradient(120deg, var(--c-brand-dark) 0%, var(--c-brand) 60%, var(--c-accent-strong) 100%);
}
.cta-band__inner { display: grid; gap: 1.5rem; align-items: center; }
.cta-band__title {
  margin-bottom: .4rem;
  font-size: clamp(1.375rem, 1.1rem + 1.4vw, 2rem);
  color: #fff;
}
.cta-band__text { margin: 0; color: var(--c-on-dark); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta-band :focus-visible { outline-color: #fff; }
@media (min-width: 56em) {
  .cta-band__inner { grid-template-columns: 1fr auto; gap: 2.5rem; }
  .cta-band__actions { justify-content: flex-end; }
}

/* ---------- Liste à puces stylée ---------- */
.checklist {
  display: grid;
  gap: .65rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}
.checklist li { position: relative; padding-left: 2.1rem; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .15em;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--c-tint);
}
.checklist li::after {
  content: "";
  position: absolute;
  left: .5rem;
  top: calc(.15em + .3rem);
  width: .38rem;
  height: .66rem;
  border: solid var(--c-accent-strong);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.section--dark .checklist li::before { background: rgba(255, 255, 255, .15); }
.section--dark .checklist li::after { border-color: #fff; }
@media (min-width: 48em) {
  .checklist--2col { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
}

/* ---------- Encadré d’information ---------- */
.notice {
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--c-tint);
  border-left: 4px solid var(--c-accent-strong);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--c-ink);
}
.notice > :last-child { margin-bottom: 0; }
.notice--success { background: var(--c-success-bg); border-left-color: var(--c-success); }

/* ---------- Citation ---------- */
.quote {
  margin: 0 0 1.5rem;
  padding: 1.25rem 1.5rem;
  font-size: 1.0625rem;
  background: var(--c-bg-alt);
  border-left: 4px solid var(--c-accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.quote p:last-of-type { margin-bottom: 0; }
.quote__author { display: block; margin-top: .75rem; font-size: .875rem; font-style: normal; color: var(--c-muted); }

/* ---------- Tableau ---------- */
.table-wrap {
  max-width: 100%;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}
.table {
  width: 100%;
  min-width: 32rem;
  border-collapse: collapse;
  font-size: .9375rem;
}
.table caption { padding: .75rem 1rem; text-align: left; font-weight: 600; color: var(--c-ink); }
.table th,
.table td { padding: .75rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-line); }
.table thead th { background: var(--c-brand); color: #fff; font-weight: 600; }
.table tbody tr:nth-child(even) { background: var(--c-bg-alt); }
.table tbody tr:last-child > * { border-bottom: 0; }

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: .75rem;
  max-width: 52rem;
  margin-inline: auto;
}
.faq__item {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}
.faq__item[open] { border-color: #c5d3ea; box-shadow: var(--shadow-sm); }
.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  font: 600 1.0625rem/1.4 var(--font-head);
  color: var(--c-ink);
  list-style: none;
  cursor: pointer;
  border-radius: var(--radius);
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after {
  content: "";
  flex-shrink: 0;
  width: .6rem;
  height: .6rem;
  border: solid var(--c-accent-strong);
  border-width: 0 2px 2px 0;
  transform: translateY(-25%) rotate(45deg);
  transition: transform .2s ease;
}
.faq__item[open] > .faq__question::after { transform: translateY(25%) rotate(-135deg); }
.faq__question:hover { color: var(--c-accent-hover); }
.faq__answer { padding: 0 1.25rem 1.25rem; }
.faq__answer > :last-child { margin-bottom: 0; }

/* ---------- Galerie photo ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 10rem), 1fr));
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 48em) {
  .gallery { grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: .75rem; }
}
.gallery__link {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  background: var(--c-bg-alt);
}
.gallery__link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.gallery__link:hover img { transform: scale(1.04); }
.gallery__link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 33, 64, 0);
  transition: background-color .2s ease;
}
.gallery__link:hover::after { background: rgba(15, 33, 64, .15); }

/* Visionneuse (créée par site.js) */
.lightbox {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  color: #fff;
  background: rgba(8, 14, 28, .94);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(8, 14, 28, .9); }
.lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  max-width: 100%;
  margin: 0;
  padding: 4rem 1rem 5.5rem;
}
.lightbox__img {
  width: auto;
  max-width: min(100%, 80rem);
  max-height: calc(100vh - 10rem);
  max-height: calc(100dvh - 10rem);
  object-fit: contain;
  border-radius: 4px;
}
.lightbox__caption { max-width: 48rem; text-align: center; font-size: .9375rem; color: var(--c-on-dark); }
.lightbox__count { position: absolute; top: 1.1rem; left: 1rem; margin: 0; font-size: .875rem; color: var(--c-on-dark); }
.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  cursor: pointer;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .3); }
.lightbox__btn svg { width: 1.5rem; height: 1.5rem; }
.lightbox__close { top: .6rem; right: .6rem; }
.lightbox__prev,
.lightbox__next { bottom: 1rem; }
.lightbox__prev { left: calc(50% - 3.5rem); }
.lightbox__next { right: calc(50% - 3.5rem); }
.lightbox :focus-visible { outline-color: #fff; }
@media (min-width: 48em) {
  .lightbox__figure { padding: 4rem 5rem; }
  .lightbox__prev,
  .lightbox__next { top: 50%; bottom: auto; transform: translateY(-50%); }
  .lightbox__prev { left: 1rem; }
  .lightbox__next { right: 1rem; }
}
.lightbox-open body { overflow: hidden; }

/* ---------- Formulaires ---------- */
.form {
  position: relative;
  display: grid;
  gap: 1.25rem;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 40em) {
  .form { padding: 2rem; }
}
.form__title { margin-bottom: 0; font-size: 1.375rem; }
.form__grid { display: grid; gap: 1rem 1.25rem; }
@media (min-width: 40em) {
  .form__grid { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
}
.field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.field > label,
.label { font-weight: 600; font-size: .9375rem; color: var(--c-ink); }
.req { margin-left: .15rem; color: var(--c-error); }
.field__hint { margin: 0; font-size: .8125rem; color: var(--c-muted); }
.field > .notice { margin: .25rem 0 0; } /* encadré dans un champ (ex. code postal hors zone) */

.input,
.field input:is([type="text"], [type="email"], [type="tel"], [type="number"], [type="date"], [type="url"]),
.field select,
.field textarea {
  width: 100%;
  min-height: 2.875rem;
  padding: .65rem .85rem;
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--c-ink);
  background: #fff;
  border: 1px solid var(--c-field);
  border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 6l4.5 4.5L12.5 6' fill='none' stroke='%232c5697' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  background-size: 1rem;
}
.field :is(input, select, textarea):hover { border-color: var(--c-brand); }
.field :is(input, select, textarea):focus {
  border-color: var(--c-accent-strong);
  box-shadow: 0 0 0 3px rgba(56, 117, 211, .3);
  outline: none;
}
.field ::placeholder { color: #6b7385; opacity: 1; }

.field__error {
  margin: 0;
  font-size: .875rem;
  font-weight: 600;
  color: var(--c-error);
}
[aria-invalid="true"]:is(input, select, textarea):not([type="checkbox"], [type="radio"]) {
  border-color: var(--c-error);
  box-shadow: 0 0 0 1px var(--c-error);
}

/* Cases à cocher et boutons radio */
.choices {
  display: grid;
  gap: .55rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.choices > legend {
  margin-bottom: .55rem;
  padding: 0;
  font-weight: 600;
  font-size: .9375rem;
  color: var(--c-ink);
}
.choices--inline { display: flex; flex-wrap: wrap; gap: .55rem 1.5rem; }
.choices--inline > legend { width: 100%; }
.check {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .9375rem;
  line-height: 1.5;
}
.check input {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin: .1rem 0 0;
  accent-color: var(--c-accent-strong);
  cursor: pointer;
}
.check label { cursor: pointer; }
.check[aria-invalid="true"],
.check:has(input[aria-invalid="true"]) label { color: var(--c-error); }
.check--rgpd {
  flex-wrap: wrap;
  padding: 1rem;
  background: var(--c-bg-alt);
  border-radius: var(--radius-sm);
}
.check--rgpd .field__error { flex-basis: 100%; padding-left: 1.9rem; }
.check--rgpd label { flex: 1; min-width: 0; }

/* Choix présentés en grandes cartes (pratique au toucher) */
.choices--cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: .75rem; }
.choices--cards > legend { grid-column: 1 / -1; }
.choices--cards .check {
  position: relative;
  align-items: center;
  padding: .9rem 1rem;
  background: #fff;
  border: 1.5px solid var(--c-field);
  border-radius: var(--radius);
  transition: border-color .15s ease, background-color .15s ease;
}
.choices--cards .check:hover { border-color: var(--c-accent-strong); }
.choices--cards .check:has(input:checked) {
  background: var(--c-tint);
  border-color: var(--c-accent-strong);
  box-shadow: 0 0 0 1px var(--c-accent-strong);
}
.choices--cards .check:has(input:focus-visible) { outline: 3px solid var(--c-accent); outline-offset: 2px; }
.choices--cards .check label { font-weight: 600; }
.choices--cards .check label::after { content: ""; position: absolute; inset: 0; }
.choices > .field__error { grid-column: 1 / -1; }

/* Champ piège anti-robots : invisible pour les humains */
.hp {
  position: absolute !important;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.form-note { margin: 0; font-size: .8125rem; color: var(--c-muted); }
.form-note .req { margin-left: 0; }
.form-status { margin: 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status--error,
.form-status--success,
.form-status--info {
  padding: .85rem 1rem;
  border-left: 4px solid;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.form-status--error { color: var(--c-error); background: var(--c-error-bg); border-left-color: var(--c-error); }
.form-status--success { color: var(--c-success); background: var(--c-success-bg); border-left-color: var(--c-success); }
.form-status--info { color: var(--c-brand); background: var(--c-tint); border-left-color: var(--c-accent-strong); }

/* Formulaire à étapes */
.steps-progress {
  display: flex;
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps-progress li {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: .4rem;
  min-width: 0;
  font-size: .8125rem;
  line-height: 1.3;
  color: var(--c-muted);
}
.steps-progress li::before {
  content: "";
  height: 6px;
  border-radius: 3px;
  background: var(--c-line);
}
.steps-progress li.is-done::before,
.steps-progress li[aria-current="step"]::before { background: var(--c-accent-strong); }
.steps-progress li[aria-current="step"] { color: var(--c-ink); font-weight: 600; }
.form:not(.is-stepped) .steps-progress { display: none; }
@media (max-width: 29.99em) {
  .steps-progress li:not([aria-current="step"]) span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}
.step {
  display: grid;
  gap: 1rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.step > legend {
  margin-bottom: .25rem;
  padding: 0;
  font: 600 1.25rem/1.3 var(--font-head);
  color: var(--c-ink);
}
.step__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem;
  margin-top: .25rem;
}
.step__nav [data-next],
.step__nav [data-prev] { display: none; }
.is-stepped .step__nav [data-next],
.is-stepped .step__nav [data-prev] { display: inline-flex; }
.step__nav [data-next],
.step__nav [type="submit"] { margin-left: auto; }

/* ---------- Texte long (pages légales) ---------- */
.prose { max-width: 48rem; }
.prose h2 { margin-top: 2.25rem; font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem); }
.prose h3 { margin-top: 1.75rem; font-size: 1.1875rem; }
.prose > :first-child { margin-top: 0; }

/* ---------- Pied de page ---------- */
.site-footer {
  font-size: .9375rem;
  color: var(--c-on-dark);
  background: var(--c-brand);
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: #fff; text-decoration-thickness: 2px; }
.site-footer :focus-visible { outline-color: #fff; }
.site-footer__grid {
  display: grid;
  gap: 2rem;
  padding-block: 3rem;
}
@media (min-width: 40em) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 64em) {
  .site-footer__grid { grid-template-columns: 1.35fr 1fr 1.2fr 1.35fr; gap: 2.5rem; }
}
.site-footer__logo {
  display: inline-block;
  margin-bottom: 1rem;
  padding: .5rem .75rem;
  background: #fff;
  border-radius: var(--radius);
}
.site-footer__logo img { width: auto; height: 4.5rem; }
.site-footer__title {
  margin: 0 0 .75rem;
  font: 600 1rem/1.3 var(--font-body);
  letter-spacing: .02em;
  color: #fff;
}
.site-footer__title + * { margin-top: 0; }
.site-footer__zone { font-weight: 600; color: #fff; }
.site-footer__links,
.site-footer__quals {
  display: grid;
  gap: .45rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}
.site-footer__links a { text-decoration-color: rgba(255, 255, 255, .45); }
.site-footer__links a[aria-current="page"] { font-weight: 600; text-decoration-color: #fff; }
.site-footer__contact { display: grid; gap: .6rem; margin-bottom: 1.5rem; }
.site-footer__contact > a,
.site-footer__contact > span { display: inline-flex; align-items: flex-start; gap: .6rem; }
.site-footer__contact svg { width: 1.1rem; height: 1.1rem; margin-top: .2rem; }
.site-footer__quals li { position: relative; padding-left: 1.1rem; }
.site-footer__quals li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .6em;
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: var(--c-step-1);
}
.social { display: flex; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.social a {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  transition: background-color .2s ease;
}
.social a:hover { background: rgba(255, 255, 255, .25); }
.social svg { width: 1.25rem; height: 1.25rem; }
.site-footer__bottom {
  font-size: .8125rem;
  color: #dbdbdb;
  background: var(--c-brand-dark);
}
.site-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  padding-block: 1rem;
}
.site-footer__bottom p { margin: 0; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 0; padding: 0; list-style: none; }
.site-footer__legal a { color: #dedede; }
.site-footer__legal a[aria-current="page"] { color: #fff; font-weight: 600; }

/* ---------- Préférences ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header,
  .mobile-bar,
  .nav-overlay,
  .cta-band,
  .site-footer__grid > :not(:last-child) { display: none !important; }
  body { padding: 0; color: #000; }
  .hero { min-height: 0; color: #000; background: none; }
  .hero__img,
  .hero::after { display: none; }
  .hero__title,
  .hero__text { color: #000; }
  a { color: #000; }
}

/* ==========================================================================
   Groupe B : maprimerenov, cee, gestion-aides, loi-climat,
   formulaires-des-aides, pompe-a-chaleur-gestion-aides, faq
   ========================================================================== */

/* Colonne image alignée en haut ; sur grand écran (et fenêtre assez haute),
   elle reste visible pendant le défilement d’un long texte (FAQ, loi climat,
   formulaire pompe à chaleur). */
.split--top { align-items: start; }
@media (min-width: 56em) and (min-height: 48em) {
  .split--top > .split__media {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }
}

/* Plusieurs images empilées dans la colonne image (largeur limitée sur tablette) */
.split__media--stack { display: grid; gap: 1.25rem; justify-self: center; width: 100%; max-width: 32rem; }

/* Petite image d’origine : affichée à sa taille réelle, jamais agrandie */
.split__media--natural img { width: auto; margin-inline: auto; }
/* Variante qui réserve la place de l’image avant son chargement (pas de décalage) :
   colonne image limitée à la largeur du fichier (≈ 350 px ou ≈ 500 px) et centrée */
.split__media--sm,
.split__media--md { justify-self: center; width: 100%; }
.split__media--sm { max-width: 22rem; }
.split__media--md { max-width: 31rem; }

/* Gestion & aides : « MaPrimeRénov’ + CEE » (deux cartes et un signe +) */
.aides-duo {
  display: grid;
  gap: .75rem;
  max-width: 46rem;
  margin-inline: auto;
}
.aides-duo .card { align-items: center; text-align: center; }
.aides-duo__plus {
  display: grid;
  place-items: center;
  margin: 0;
  font: 600 2.5rem/1 var(--font-head);
  color: var(--c-accent-strong);
}
@media (min-width: 40em) {
  .aides-duo { grid-template-columns: 1fr auto 1fr; gap: 1.5rem; align-items: center; }
}

/* Loi climat : sous-titres des mesures */
.loi-mesures h4 {
  margin-top: 1.75rem;
  font-size: 1.125rem;
  color: var(--c-brand);
}
.loi-mesures h3 + h4 { margin-top: 1rem; }

/* Lien dans le texte d’une bande d’appel (fond bleu) */
.cta-band__text a,
.cta-band__text a:hover { color: #fff; }

/* ==========================================================================
   Groupe C : pompe-a-chaleur-services, renovation-electrique, chaudiere-a-granules,
   estimationgratuite, devis-gratuit, jestime-mes-travaux,
   formulaire-isolation-exterieur, remerciement
   (ces pages utilisent aussi .split--top et .split__media--natural du groupe B)
   ========================================================================== */

/* Carte de texte libre (paragraphe + liste) : pas de marge sous le dernier élément */
.card--prose > :last-child,
.card--prose .card__body > :last-child { margin-bottom: 0; }

/* Photo en hauteur dans une section texte / image : hauteur limitée, jamais déformée */
.split__media--portrait img { width: auto; max-height: 36rem; margin-inline: auto; }

/* Coordonnées avec pictogrammes (devis-gratuit) */
.contact-list {
  display: grid;
  gap: .75rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}
.contact-list li { display: flex; align-items: flex-start; gap: .75rem; }
.contact-list svg { width: 1.25rem; height: 1.25rem; margin-top: .2rem; color: var(--c-accent-strong); }

/* Choix illustrés d’une photo (estimationgratuite, jestime-mes-travaux) :
   case ou bouton radio et libellé, puis la photo ; toute la carte reste cliquable */
.choices--cards .check--media {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  align-content: start;
  gap: .75rem .65rem;
  padding: .75rem .75rem 1rem;
}
.check__img {
  grid-column: 1 / -1;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

/* Groupe de sous-choix présenté comme une carte (jestime-mes-travaux : « Isolation ») */
.choice-group {
  display: grid;
  align-content: start;
  gap: .75rem;
  min-width: 0;
  padding: .75rem .75rem 1rem;
  background: #fff;
  border: 1.5px solid var(--c-field);
  border-radius: var(--radius);
  transition: border-color .15s ease, background-color .15s ease;
}
.choice-group:has(input:checked) {
  background: var(--c-tint);
  border-color: var(--c-accent-strong);
  box-shadow: 0 0 0 1px var(--c-accent-strong);
}
.choice-group__title { margin: 0; font-weight: 600; font-size: .9375rem; line-height: 1.5; color: var(--c-ink); }
.choice-group__options { display: grid; gap: .5rem; }
.choices--cards .choice-group .check { padding: .6rem .85rem; }

/* ==========================================================================
   Groupe A : index, nous-choisir, hexagoneiso-argenteuil,
   isolation-thermique-par-exterieur, ravalement-de-facade, galeries,
   mentions-legales, politique-de-confidentialite
   ========================================================================== */

/* Deuxième bloc texte / image dans la même section */
.split--spaced { margin-top: clamp(3rem, 2.4rem + 2.5vw, 4.5rem); }

/* Petite image d’origine dans la colonne image : jamais agrandie au-delà de 26rem */
.media-small { max-width: 26rem; margin-inline: auto; }

/* Deux images côte à côte dans la colonne image (accueil, « À propos ») */
.media-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}
.media-duo img:last-child { margin-top: 2.5rem; }

/* Figure centrée de largeur limitée (démarche RSE) */
.figure--narrow { max-width: 60rem; margin: 2.5rem auto 0; }
.figure--narrow img { box-shadow: var(--shadow-sm); }

/* Logos de labels plus grands (Qualibat, garantie, artisan) */
.logos--lg img { max-width: 9rem; max-height: 7.5rem; }

/* Sous-titre dans une carte (types de supports du ravalement) */
.card__subtitle {
  margin: .25rem 0 .4rem;
  font-size: 1.0625rem;
  color: var(--c-brand);
}

/* Grille de 3 cartes : la dernière, seule sur sa ligne, est centrée */
@media (min-width: 56em) {
  .cards--center-last > :last-child:nth-child(3n + 1) { grid-column: 2; }
}

/* Paragraphe centré : longueur de ligne limitée */
.text-narrow { max-width: 46rem; margin-inline: auto; }

/* Utilitaires d’espacement appliqués à une grille de cartes (.cards remet ses marges à 0) */
.cards.mt-lg { margin-top: 2.5rem; }
.cards.mb-lg { margin-bottom: 2rem; }
