/* my-components-library 2.17.0 — fichier réuni (C82-L4), ne pas modifier : il est récrit sous un autre nom au moindre changement. */
/* mcl-headers-main : components/headers/main.css */
/* Logo texte */
[data-header] .logo {
  /* Le logo GARDE SES PROPORTIONS (C78, D-350, EX-142) : largeur et hauteur
     suivent l'image, dans une boite de --logo-width de cote (80px par defaut ;
     un site la pose dans variables.css du theme pour un logo genere 1024x512).
     Un logo large ou carre s'affiche comme avant (80px de large) ; un logo en
     hauteur ne deborde plus. Une variante qui borne la hauteur de sa barre
     (max-height sur [data-header] .header-N__logo) reduit le logo sans le
     deformer : il n'y a plus de largeur fixe. */
  width: auto;
  height: auto;
  max-width: var(--logo-width, 80px);
  max-height: var(--logo-width, 80px);
  object-fit: contain;
}
/* Un SVG a viewBox seul (sans width/height sur sa racine) n'a pas de taille
   a suivre : dans une marque qui se cale sur son contenu, il tomberait a 0px.
   Il garde donc la largeur d'avant ; il ne se deforme pas pour autant : un SVG
   se dessine centre dans sa boite (preserveAspectRatio, et contain). Un SVG
   qui porte sa taille (les enveloppes du CRM, par exemple) est marque
   `logo--dimensionne` par les headers 7 a 13 (mcl_header_logos()) : sa boite
   suit alors son dessin, comme une image matricielle. Les headers 1 a 6 ne
   posent pas la classe et gardent le rendu d'avant. */
[data-header] .logo[src$=".svg" i]:not(.logo--dimensionne) {
  width: var(--logo-width, 80px);
}
[data-header] .logo-text {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--black);
}

/* ===========================================
    MEGA MENU DESKTOP
    =========================================== */
/* La nav doit toucher le BAS DU HEADER : le sous-menu services s'y ancre
   (position:absolute; top:100% sur [data-header]) et la souris doit pouvoir y
   descendre sans traverser une zone morte, sinon le survol se rompt et le menu
   se referme.

   `align-self: stretch` suit la hauteur reelle de la barre, y compris quand un
   logo plus grand la fait grandir. `height: 100%` ne le pouvait pas : un
   pourcentage se resout sur la hauteur du parent, et les barres n'en declarent
   pas — la valeur retombait donc sur `auto`, c'est-a-dire la hauteur du texte.
   `height: auto` est indispensable : une hauteur explicite annulerait stretch. */
[data-header] .nav-desktop {
  align-self: stretch;
  height: auto;
}

[data-header] .nav-desktop > * {
  align-self: stretch;
  height: auto;
  display: flex;
  align-items: center;
}
/* ===========================================
    FIXED ET APPARAIT AU SCROLL
    =========================================== */
[data-header] {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.3s ease;
}
[data-header].hide {
  top: -100%;
}
[data-header].show {
  top: 0;
}

/* ===========================================
    NAVIGATION MOBILE
    =========================================== */

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
}
.nav-link:hover {
  color: var(--primary);
}
.nav-link svg {
  width: 12px;
  height: 12px;
  transition: transform 0.3s ease;
}
.nav-item:hover .nav-link svg {
  transform: rotate(180deg);
}

.nav-mobile {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: var(--white);
  transform: translateX(100%);
  transition: transform 0.4s ease;
  z-index: 999;
  overflow-y: auto;
}
.nav-mobile.is-active {
  transform: translateX(0);
}
.nav-mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary);
  border: none;
  cursor: pointer;
  padding: 10px;
}

.nav-mobile-close:hover {
  background: var(--secondary);
}

.nav-mobile-inner {
  padding: 20px;
}
.nav-mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  text-decoration: none;
  border-top: 1px solid var(--gray-dark);
}
.nav-mobile-inner > .nav-mobile-link:first-of-type {
  border-top: none;
}
.nav-mobile-link:last-of-type {
  border-bottom: 1px solid var(--gray-dark);
}
.nav-mobile-link svg {
  width: 20px;
  height: 20px;
  color: var(--gray-dark);
  transition: transform 0.3s ease;
}
.nav-mobile-item.is-open .nav-mobile-link svg {
  transform: rotate(180deg);
  color: var(--secondary);
}

/* Sous-menu mobile */
.mobile-submenu {
  display: none;
  padding: 0 16px 16px 16px;
}
.nav-mobile-item .mobile-submenu.is-open {
  display: block;
}
.mobile-submenu-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 12px;
}
.mobile-submenu-link {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  text-decoration: none;
  border: 1px solid var(--primary);
  transition: all 0.3s ease;
}

.mobile-submenu-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: color-mix(in srgb, var(--gray-light) 40%, var(--white));
  border: 1px solid var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-submenu-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}
.mobile-submenu-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-dark);
}
.nav-mobile-cta {
  display: block;
  margin: 24px 20px;
  padding: 18px;
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
}

/* ==========================
   MOBILE ONLY
   ========================== */

@media (min-width: 1024px) {
  .mobile-menu,
  .menu-toggle {
    display: none;
  }
}

/* mcl-headers-header-12 : components/headers/header-12/header-12.css */
/* HEADER 12 - CAPSULE
   ---------------------------------------------------------------------------
   Réf. ILEV (maquette A, étude C76). Le logo à gauche, la navigation dans une
   capsule vitrée au centre — le menu des services tombe sous la capsule —,
   le bouton d'action à droite. Sous 1024 px, la navigation et l'action
   laissent la place à une seule pastille vitrée « Menu ».

   ÉTATS : sur un héros `data-hero-immersif`, la barre est TRANSPARENTE à
   toutes les largeurs, 390 px compris : le header ne pose aucun fond ni
   dégradé en haut de page (EX-117) ; seules la capsule et la pastille, qui
   portent du texte, écrivent leur propre voile (§4.14). Hors du héros, et en
   haut d'une page dont le héros n'est pas immersif, la barre prend un voile
   sombre de la charte (`--black`) : le texte y reste blanc dans tous les
   états, le logo s'y lit en clair (`mcl_header_logos()`).
   L'état vient de headers/main.js (`data-header-immersif`, D-40). */

.header-12 {
  --header-12-voile: color-mix(in srgb, var(--black) 82%, transparent);
  --header-12-verre: color-mix(in srgb, var(--black) 50%, transparent);
  --header-12-verre-mobile: color-mix(in srgb, var(--black) 45%, transparent);
  --header-12-filet: color-mix(in srgb, var(--white) 12%, transparent);
  --header-12-survol: color-mix(in srgb, var(--white) 12%, transparent);
  --header-12-texte: var(--white);
  --header-12-flou: blur(14px);

  /* Réglages du burger optionnel (menu-burger/main.css) : posé sur la barre. */
  --burger-color: var(--header-12-texte);
  --burger-color-hover: var(--header-12-texte);
  --burger-bg: var(--header-12-verre-mobile);
  --burger-bg-hover: color-mix(in srgb, var(--black) 65%, transparent);
  --burger-reserve: 0;

  background: none;
}

.header-12__barre {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 16px clamp(16px, 3vw, 32px);
  background-color: var(--header-12-voile);
  -webkit-backdrop-filter: var(--header-12-flou);
  backdrop-filter: var(--header-12-flou);
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease, -webkit-backdrop-filter 0.3s ease;
}

/* Posé sur le héros immersif : rien d'opaque, pas même un dégradé. */
html:has([data-hero-immersif]) .header-12.at-top .header-12__barre {
  background-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* ---- Marque ---- */
.header-12__marque,
.header-12__marque:hover,
.header-12__marque:focus {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-width: 0;
  min-height: 44px;
  color: var(--header-12-texte);
  text-decoration: none;
}
.header-12__marque:focus-visible {
  outline: 2px solid var(--header-12-texte);
  outline-offset: 4px;
}

.header-12__logo {
  display: block;
}
/* Hauteur bornée par la barre : plus spécifique que [data-header] .logo
   (headers/main.css), la largeur suit (proportions gardées, EX-142). */
[data-header] .header-12__logo {
  max-height: 44px;
  /* Hauteur bornée : un logo très large peut aller jusqu'à deux fois
     --logo-width pour rester lisible (C78, décision de l'orchestrateur). */
  max-width: calc(2 * var(--logo-width, 80px));
}
/* Pas de logo clair dans le thème (mcl_header_logos(), C78, EX-142) : un logo
   transparent est passé en blanc ; un logo à fond garde ses couleurs sur une
   plaque blanche arrondie — le filtre en ferait un rectangle blanc. */
.header-12__logo--filtre {
  filter: brightness(0) invert(1);
}
.header-12__logo--plaque {
  background-color: var(--white);
  border-radius: 4px;
  box-shadow: 0 0 0 4px var(--white);
}

.header-12__nom {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  max-width: 22ch;
  color: var(--header-12-texte);
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.01em;
  /* Sur la photo, sans voile de barre : une ombre neutre porte le contraste. */
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

/* ---- La capsule de navigation ----
   Ancre du menu des services (`position: relative`) : il tombe sous la
   capsule, centré sur elle. Aucun rembourrage vertical sur la capsule : les
   onglets la remplissent sur toute sa hauteur, et le pointeur passe de
   l'onglet au panneau sans traverser de zone morte. */
.header-12__nav {
  position: relative;
  justify-self: center;
  display: flex;
  align-items: stretch;
  gap: 2px;
  padding: 0 5px;
  border: 1px solid var(--header-12-filet);
  border-radius: 14px;
  background-color: var(--header-12-verre);
  -webkit-backdrop-filter: var(--header-12-flou);
  backdrop-filter: var(--header-12-flou);
}

.header-12__item {
  align-items: center;
}

[data-header] .header-12__lien,
[data-header] .header-12__lien:hover,
[data-header] .header-12__lien:focus {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 5px 0;
  padding: 9px 15px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--header-12-texte);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: normal;
  text-transform: none;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
[data-header] .header-12__lien:hover,
[data-header] .header-12__item:hover .header-12__lien,
[data-header] .header-12__item:focus-within .header-12__lien {
  background-color: var(--header-12-survol);
}
[data-header] .header-12__lien:focus-visible {
  outline: 2px solid var(--header-12-texte);
  outline-offset: 2px;
}

.header-12__chevron {
  width: 14px;
  height: 14px;
  opacity: 0.7;
  transition: transform 0.3s ease;
}
.header-12__item:hover .header-12__chevron,
.header-12__item:focus-within .header-12__chevron {
  transform: rotate(180deg);
}

/* ---- Actions ---- */
.header-12__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

[data-header] .header-12__action,
[data-header] .header-12__action:hover,
[data-header] .header-12__action:focus {
  appearance: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}
[data-header] .header-12__action:hover {
  background: var(--secondary);
  color: var(--on-secondary);
}
[data-header] .header-12__action:focus-visible {
  outline: 2px solid var(--header-12-texte);
  outline-offset: 3px;
}

/* ---- La pastille « Menu » (tablette et mobile) ---- */
.header-12__toggle,
.header-12__toggle:hover,
.header-12__toggle:focus {
  appearance: none;
  display: none;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin: 0;
  padding: 12px 18px;
  border: 1px solid var(--header-12-filet);
  border-radius: 14px;
  background-color: var(--header-12-verre-mobile);
  -webkit-backdrop-filter: var(--header-12-flou);
  backdrop-filter: var(--header-12-flou);
  color: var(--header-12-texte);
  font-family: var(--font-modern);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.25s ease;
}
.header-12__toggle:hover {
  background-color: color-mix(in srgb, var(--black) 65%, transparent);
}
.header-12__toggle:focus-visible {
  outline: 2px solid var(--header-12-texte);
  outline-offset: 2px;
}

.header-12__toggle-texte {
  color: var(--header-12-texte);
  font-family: var(--font-modern);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.header-12__traits {
  display: grid;
  gap: 6px;
  width: 20px;
}
.header-12__trait {
  display: block;
  height: 1.5px;
  background: currentColor;
}

.header-12__annexes {
  display: contents;
}

/* ---- Menu burger (sous-composant optionnel, menu-burger/main.css) ----
   Le déclencheur se pose SUR la barre, à droite : la barre lui fait la
   place (`--burger-reserve: 0` sur la racine). Il remplace la pastille
   (`.menu-btn`, masquée par le socle du burger). */
.header-12[data-burger] .header-12__barre {
  padding-right: calc(clamp(0.9rem, 2.5vw, 1.6rem) + clamp(42px, 5vw, 50px) + clamp(0.5rem, 1.2vw, 1rem));
}

/* ---- Tablette et mobile : logo + pastille « Menu » ---- */
@media (max-width: 1024px) {
  .header-12__barre {
    grid-template-columns: 1fr auto;
  }

  .header-12__nav,
  [data-header] .header-12__action {
    display: none;
  }

  .header-12__toggle,
  .header-12__toggle:hover,
  .header-12__toggle:focus {
    display: inline-flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-12__barre,
  .header-12__chevron,
  [data-header] .header-12__lien,
  [data-header] .header-12__action,
  .header-12__toggle {
    transition: none;
  }
}

/* mcl-headers/services-on-hover-main : components/headers/services-on-hover/main.css */
/* SERVICES ON HOVER - SOCLE PARTAGE DU PANNEAU DEROULANT */

/*
 * Ce que les deux variantes ont en commun n'est pas leur contenu — une grille
 * d'icones d'un cote, un menu split avec image de l'autre — mais leur NATURE :
 * un panneau qui tombe sous le bandeau, large comme le contenu du site, revele
 * au survol de l'onglet Services. C'etait ecrit deux fois, a l'identique, dans
 * les deux feuilles de variante.
 *
 * DECLENCHEMENT PAR HOOK, PAS PAR CLASSE (§4.4). Aucun selecteur generique ici :
 * la variante POSE `data-services-menu` sur sa racine pour heriter du socle. Une
 * troisieme variante qui voudrait un panneau plein ecran, ou colle a droite, n'a
 * qu'a ne pas poser l'attribut — elle est libre, sans rien casser chez ses
 * freres.
 *
 * PREFIXE `[data-header]` (§4.12) : le panneau vit DANS le bandeau, dont les
 * feuilles ciblent des elements generiques descendants. Sans ce prefixe, une
 * regle de header l'emporterait sur le socle.
 */

[data-header] [data-services-menu] {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  /* La largeur du contenu du site, pas un 1200 recopie : un theme qui elargit
     ses pages elargit son menu. */
  max-width: var(--max-content-width);
  background: var(--white);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* Jamais `transition: all` : le panneau change aussi de geometrie quand la
     fenetre bouge, et `all` animerait ces sauts-la. */
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* `:focus-within` autant que `:hover` : au clavier, l'onglet Services doit
   ouvrir son panneau comme a la souris. */
[data-header] .nav-item:hover [data-services-menu],
[data-header] .nav-item:focus-within [data-services-menu] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Sous 1024px la navigation desktop disparait au profit du menu mobile : le
   panneau n'a plus de declencheur, on le retire du document. */
@media (max-width: 1024px) {
  [data-header] [data-services-menu] {
    display: none;
  }
}

/* mcl-headers/services-on-hover-services-on-hover-2 : components/headers/services-on-hover/services-on-hover-2/services-on-hover-2.css */
/* SERVICES ON HOVER 2 - MENU SPLIT + IMAGE DYNAMIQUE */
/*
 * Priorité : ce sous-composant vit à l'intérieur d'un [data-header] dont les
 * feuilles (.header-X .nav-desktop a …) ciblent nos <a>. Toutes les règles sont
 * donc préfixées « [data-header] .services-on-hover-2 » (spécificité (0,3,x))
 * pour TOUJOURS l'emporter sur les sélecteurs parents (.header-X .nav-desktop a
 * = (0,2,1)). Les états de survol sont qualifiés par l'élément `a` pour battre
 * aussi les hover parents (jusqu'à (0,4,1) sur header-1.at-top).
 */

/* ---- Panneau ----
   Sa geometrie et sa revelation au survol ne sont plus ici : elles sont
   communes aux deux variantes et vivent dans le main.css de la sous-categorie,
   declenchees par le hook `data-services-menu` que la racine pose. Les
   declarations sont les memes, au caractere pres ; seul l'endroit change. */

[data-header] .services-on-hover-2 .services-on-hover-2__inner {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 40%);
  align-items: stretch;
}

/* ---- Colonne gauche : listes de services / sous-services ---- */
[data-header] .services-on-hover-2 .services-on-hover-2__lists {
  padding: 32px 40px;
  columns: 2;
  column-gap: 40px;
  max-height: min(70vh, 620px);
  overflow-y: auto;
}
[data-header] .services-on-hover-2 .services-on-hover-2__group {
  break-inside: avoid;
  margin-bottom: 24px;
}
[data-header] .services-on-hover-2 .services-on-hover-2__group:last-child {
  margin-bottom: 0;
}

[data-header] .services-on-hover-2 .services-on-hover-2__sublist {
  list-style: none;
  margin: 8px 0 0;
  padding: 0 0 0 2px;
}
[data-header] .services-on-hover-2 .services-on-hover-2__subitem {
  margin: 0;
}

/* ---- Lien (reset interactif + neutralisation des styles nav parents) ---- */
[data-header] .services-on-hover-2 .services-on-hover-2__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 0;
  background: none;
  border: 0;
  color: inherit;
  font-family: inherit;
  text-decoration: none;
  text-transform: none;   /* neutralise .header-3 .nav-desktop a */
  letter-spacing: normal; /* neutralise .header-3 .nav-desktop a */
  cursor: pointer;
  transition: transform 0.25s ease, color 0.25s ease;
}
[data-header] .services-on-hover-2 .services-on-hover-2__link--main {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.02rem;
  color: var(--black);
}
[data-header] .services-on-hover-2 .services-on-hover-2__link--sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--gray-dark);
}

/* Survol : `a` qualifié pour l'emporter sur .header-X .nav-desktop a:hover */
[data-header] .services-on-hover-2 a.services-on-hover-2__link:hover,
[data-header] .services-on-hover-2 a.services-on-hover-2__link:focus-visible {
  color: var(--primary);
  transform: translateX(10px);
  outline: none;
}
[data-header] .services-on-hover-2 a.services-on-hover-2__link:hover .services-on-hover-2__label,
[data-header] .services-on-hover-2 a.services-on-hover-2__link:focus-visible .services-on-hover-2__label {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Flèche : masquée par défaut, glisse depuis la gauche au survol */
[data-header] .services-on-hover-2 .services-on-hover-2__arrow {
  display: inline-flex;
  align-items: center;
  width: 0;
  opacity: 0;
  transform: translateX(-8px);
  overflow: hidden;
  color: var(--primary);
  transition: width 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}
[data-header] .services-on-hover-2 .services-on-hover-2__arrow svg {
  display: block;
  width: 16px;
  height: 16px;
}
[data-header] .services-on-hover-2 a.services-on-hover-2__link:hover .services-on-hover-2__arrow,
[data-header] .services-on-hover-2 a.services-on-hover-2__link:focus-visible .services-on-hover-2__arrow {
  width: 20px;
  opacity: 1;
  transform: translateX(0);
}

/* ---- Colonne droite : image dynamique + accroche ---- */
[data-header] .services-on-hover-2 .services-on-hover-2__media {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  background: color-mix(in srgb, var(--gray-light) 60%, var(--white));
}
[data-header] .services-on-hover-2 .services-on-hover-2__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

[data-header] .services-on-hover-2 .services-on-hover-2__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 24px;
  background: linear-gradient(
    to top,
    color-mix(in srgb, var(--black) 72%, transparent),
    transparent
  );
}
[data-header] .services-on-hover-2 .services-on-hover-2__eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
}
[data-header] .services-on-hover-2 .services-on-hover-2__promo {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--white);
}

[data-header] .services-on-hover-2 .services-on-hover-2__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--primary);
  color: var(--on-primary);
  border: 0;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  text-transform: none;
  letter-spacing: normal;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
[data-header] .services-on-hover-2 a.services-on-hover-2__cta:hover,
[data-header] .services-on-hover-2 a.services-on-hover-2__cta:focus-visible {
  background: var(--secondary);
  color: var(--on-secondary);
  outline: none;
}

/* ---- Responsive : sous-menu réservé au desktop ---- */
@media (max-width: 1200px) {
  [data-header] .services-on-hover-2 .services-on-hover-2__lists {
    columns: 1;
  }
}
/* Le retrait sous 1024px est lui aussi commun aux deux variantes : il est monte
   dans le main.css de la sous-categorie. */

/* ── REGROUPEMENT PAR METIER ──────────────────────────────────────────
   La liste coule dans un `columns: 2` typographique, qui coupe ou il veut :
   un titre de groupe pose dans ce flux se serait retrouve en bas d'une
   colonne, separe de ses services. En multi-metiers la colonne devient donc
   SEMANTIQUE — une par metier, son en-tete en tete, sa liste dessous.

   MONO-METIER : `--multi` est absent, le `columns: 2` d'origine reste en
   place, le conteneur passe en `display: contents` et le menu est celui
   d'avant.

   Toutes les regles restent prefixees `[data-header]` (voir l'entete du
   fichier) : sans ca, les selecteurs du header parent l'emporteraient.

   LA COULEUR : rampe entre les deux couleurs de marque, posee en ligne par le
   PHP. Aucune couleur en dur, aucune variable ajoutee. */
[data-header] .services-on-hover-2--multi .services-on-hover-2__lists {
  columns: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  /* Interligne genereux : quand les colonnes passent a la ligne, un metier ne
     doit pas paraitre coller au metier du dessus. */
  gap: 34px 32px;
  align-items: start;
}
[data-header] .services-on-hover-2 .services-on-hover-2__colonne {
  --m-couleur: color-mix(in oklab, var(--primary), var(--secondary) var(--m-melange, 0%));
}
[data-header] .services-on-hover-2 .services-on-hover-2__metier-titre {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--m-couleur);
}
[data-header] .services-on-hover-2 .services-on-hover-2__metier-nom {
  flex: 1;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--m-couleur);
}
/* L'EN-TETE EN LIEN vers la page du metier, quand elle existe (le PHP ne pose
   `<a>` qu'avec une route). Il garde la typo de l'en-tete ; le lien se signale
   au survol et au clavier, dans la teinte de son metier.

   Priorite (§4.12) : `.header-X .nav-desktop a` (0,2,1) et ses survols, jusqu'a
   `.header-1.at-top .nav-desktop a:hover` (0,4,1), visent aussi ce `<a>`. Le
   chemin `__metier-titre a.__metier-nom--link` monte a (0,4,1) au repos et
   (0,5,1) au survol : il l'emporte sans compter sur l'ordre de chargement. */
[data-header] .services-on-hover-2 .services-on-hover-2__metier-titre a.services-on-hover-2__metier-nom--link,
[data-header] .services-on-hover-2 .services-on-hover-2__metier-titre a.services-on-hover-2__metier-nom--link:hover {
  flex: 0 1 auto;
  padding: 0;
  border: 0;
  background: none;
  color: var(--m-couleur);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
[data-header] .services-on-hover-2 .services-on-hover-2__metier-titre a.services-on-hover-2__metier-nom--link:hover,
[data-header] .services-on-hover-2 .services-on-hover-2__metier-titre a.services-on-hover-2__metier-nom--link:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}
[data-header] .services-on-hover-2 .services-on-hover-2__metier-titre a.services-on-hover-2__metier-nom--link:focus-visible {
  outline: 2px solid var(--m-couleur);
  outline-offset: 3px;
}
/* La fleche de survol reprend la teinte du metier de la colonne. */
[data-header] .services-on-hover-2 .services-on-hover-2__colonne a.services-on-hover-2__link:hover .services-on-hover-2__arrow {
  color: var(--m-couleur);
}
/* Apres la regle de base : meme specificite, c'est l'ordre qui tranche. */
[data-header] .services-on-hover-2 .services-on-hover-2__colonne--nu {
  display: contents;
}

/* Accent du contrat ((…)) : la donnée du socle marque un mot, le composant
   décide de son rendu (sans cette règle il sort en texte nu). */
[data-header] .services-on-hover-2 .services-on-hover-2__caption .mcl-accent {
  color: inherit;
  font-style: italic;
}

/* D-42 : l'accent ((…)) d'un titre de l'offre (service, sous-service,
   atout, étape) garde la couleur du texte qui le porte et passe en italique. */
[data-header] .services-on-hover-2 .services-on-hover-2__label .mcl-accent {
  color: inherit;
  font-style: italic;
}

/* Enveloppe du texte : le parent est en flex ; sans elle, un accent ((…))
   deviendrait un élément flex (le gap remplacerait l'espace entre les mots). */
[data-header] .services-on-hover-2 .services-on-hover-2__cta-texte {
  color: inherit;
}

/* mcl-headers/menu-mobile-menu-mobile-1 : components/headers/menu-mobile/menu-mobile-1/menu-mobile-1.css */
/* MENU MOBILE 1 — REGROUPEMENT PAR METIER
   ---------------------------------------------------------------------------
   Le reste de la variante est stylise par `components/headers/main.css`, avec
   les classes historiques (`.mobile-submenu-grid`, `.mobile-submenu-link`).
   Ce fichier ne porte que ce qui est propre au multi-metiers, sous des classes
   prefixees par la variante.

   Le menu mobile est le pendant du panneau services-on-hover : sur un site a
   deux metiers, il
   deroulait treize liens a plat, sans rien qui dise ou finit le premier
   metier. Un intitule ouvre desormais chaque serie.

   MONO-METIER : le conteneur passe en `display: contents`, les liens
   redeviennent enfants directs de la grille et le menu est celui d'avant.

   LA COULEUR : rampe entre les deux couleurs de marque, posee en ligne par le
   PHP (`--m-melange`). Aucune couleur en dur, aucune variable ajoutee. */

.menu-mobile-1__groupe {
  --m-couleur: color-mix(in oklab, var(--primary), var(--secondary) var(--m-melange, 0%));
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 12px;
}

.menu-mobile-1__metier {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 0;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--m-couleur);
}

/* Le filet prolonge l'intitule jusqu'au bord : la coupure se voit sans qu'un
   cadre vienne alourdir un menu deja dense. */
.menu-mobile-1__metier::after {
  content: "";
  flex: 1;
  height: 1px;
  background: color-mix(in srgb, var(--m-couleur) 30%, transparent);
}

/* Apres la regle de base : meme specificite, c'est l'ordre qui tranche. */
.menu-mobile-1__groupe--nu {
  display: contents;
}

/* Accent du contrat ((…)) : la donnée du socle marque un mot, le composant
   décide de son rendu (sans cette règle il sort en texte nu). */
[data-header] .nav-mobile .nav-mobile-cta .mcl-accent {
  color: inherit;
  font-weight: 700;
  font-style: italic;
}

/* D-42 : l'accent ((…)) d'un titre de l'offre (service, sous-service,
   atout, étape) garde la couleur du texte qui le porte et passe en italique. */
[data-header] .menu-mobile-1__groupe .mobile-submenu-text .mcl-accent {
  color: inherit;
  font-style: italic;
}

/* mcl-headers/cta-mobile-main : components/headers/cta-mobile/main.css */
/* CTA MOBILE - SOCLE PARTAGE PAR LES VARIANTES */

/* `.cta-mobile` est le conteneur commun : position, seuil d'affichage et
   effacement quand le menu mobile s'ouvre. Ces regles ne dependent pas de
   l'apparence du bouton, qui appartient a chaque variante. */

.cta-mobile {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 998;
  padding: 0 20px;
  width: fit-content;
  max-width: 400px;
}

/* Affichage mobile uniquement */
@media (max-width: 1024px) {
  .cta-mobile {
    display: block;
  }
}

/* Masque quand le menu mobile est ouvert.
   Couplage assume avec menu-mobile : `.nav-mobile` recoit `is-active` depuis
   headers/main.js, et le CTA est rendu APRES le menu dans le header, ce qui
   rend le combinateur de voisinage valide. Une future variante de menu-mobile
   qui renommerait `.nav-mobile` devra reporter cette regle. */
.nav-mobile.is-active ~ .cta-mobile {
  display: none;
}

/* mcl-headers/cta-mobile-cta-mobile-2 : components/headers/cta-mobile/cta-mobile-2/cta-mobile-2.css */
/* CTA MOBILE 2 - BARRE D'ACTIONS : RENDEZ-VOUS + APPEL
   ---------------------------------------------------------------------------
   Sur mobile, l'essentiel tient en un pouce : prendre rendez-vous, appeler.
   La barre est collee au bas de l'ecran, toujours a portee, et s'efface quand
   le menu s'ouvre (le menu porte deja les deux actions).

   Pas de `.cta-mobile` ici : ce conteneur partage pose un bouton flottant en
   bas a droite, en `fit-content`. La barre est pleine largeur, elle a donc sa
   propre geometrie. Seul le seuil d'affichage (1024 px) est repris.

   PRIORITE (§4.12) : regles prefixees par `[data-header] .cta-mobile-2`. */

[data-header] .cta-mobile-2 {
  display: none;
}

@media (max-width: 1024px) {
  [data-header] .cta-mobile-2 {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 998;
    display: grid;
    /* Le rendez-vous prend la place qui reste, l'appel garde sa largeur utile :
       aucune des deux ne peut pousser l'autre hors de l'ecran. */
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.6rem;
    padding: 0.65rem clamp(0.9rem, 4vw, 1.5rem) calc(0.65rem + env(safe-area-inset-bottom, 0px));
    background: var(--white);
    border-top: 1px solid color-mix(in srgb, var(--black) 8%, transparent);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.06);
    pointer-events: auto;
  }

  [data-header] .cta-mobile-2.cta-mobile-2--seul {
    grid-template-columns: 1fr;
  }

  /* La barre recouvre le bas de page : on rend au document la hauteur qu'elle
     occupe, sinon la derniere ligne du pied de page passe dessous. Seule regle
     qui sorte du composant, et elle ne vise que le <body> qui l'accueille. */
  body:has(.cta-mobile-2) {
    padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
  }

  /* Le menu ouvert porte deja les deux actions. */
  [data-header] [data-mobile-menu].is-active ~ .cta-mobile-2 {
    display: none;
  }
}

[data-header] .cta-mobile-2 .cta-mobile-2__rdv,
[data-header] .cta-mobile-2 .cta-mobile-2__appel {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 1rem;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0.01em;
  min-width: 0;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

[data-header] .cta-mobile-2 .cta-mobile-2__rdv,
[data-header] .cta-mobile-2 .cta-mobile-2__rdv:hover {
  border: 0;
  background: var(--accent);
  color: var(--on-accent);
}
[data-header] .cta-mobile-2 .cta-mobile-2__rdv:hover {
  background: var(--secondary);
  color: var(--on-secondary);
}
[data-header] .cta-mobile-2 .cta-mobile-2__rdv:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

[data-header] .cta-mobile-2 .cta-mobile-2__appel,
[data-header] .cta-mobile-2 .cta-mobile-2__appel:hover {
  border: 1px solid color-mix(in srgb, var(--black) 18%, transparent);
  background: var(--white);
  color: var(--black);
}
[data-header] .cta-mobile-2 .cta-mobile-2__appel:hover {
  border-color: var(--black);
}
[data-header] .cta-mobile-2 .cta-mobile-2__appel:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 3px;
}

[data-header] .cta-mobile-2 .cta-mobile-2__libelle {
  overflow: hidden;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  text-overflow: ellipsis;
}

[data-header] .cta-mobile-2 .cta-mobile-2__rdv svg,
[data-header] .cta-mobile-2 .cta-mobile-2__appel svg {
  flex: none;
  width: 18px;
  height: 18px;
}

/* ── TELEPHONE (<= 768 px) : PILULE FLOTTANTE ──
   Sous 768 px la barre se detache des bords : une pilule de verre depoli,
   flottant a 12 px du bas et des cotes. Le rendez-vous, discret, a gauche ;
   l'appel, en aplat fonce, prend le reste et vit (halo, combine qui fremit,
   point « disponible » qui clignote). Entre 769 et 1024 px, la barre pleine
   largeur ci-dessus ne change pas. */
@media (max-width: 768px) {
  [data-header] .cta-mobile-2 {
    /* Vert de statut : ne suit pas la charte, un « disponible » est vert
       (composants.md §4.1, couleur de sens). */
    --cta-mobile-2-dispo: #22c55e;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    background: color-mix(in srgb, var(--white) 82%, transparent);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    backdrop-filter: blur(14px) saturate(160%);
    border: 1px solid color-mix(in srgb, var(--black) 8%, transparent);
    border-radius: 999px;
    box-shadow: 0 12px 32px -10px rgba(0, 0, 0, 0.4);
    animation: ctaMobile2Entree 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  /* Meme specificite que l'affichage ci-dessus et posee apres lui : le menu
     ouvert efface toujours la pilule. */
  [data-header] [data-mobile-menu].is-active ~ .cta-mobile-2 {
    display: none;
  }

  body:has(.cta-mobile-2) {
    padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  }

  [data-header] .cta-mobile-2 .cta-mobile-2__rdv,
  [data-header] .cta-mobile-2 .cta-mobile-2__appel {
    gap: 8px;
    height: 48px;
    min-height: 0;
    border: 0;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.15s ease, background-color 0.2s ease;
  }
  [data-header] .cta-mobile-2 .cta-mobile-2__rdv:active,
  [data-header] .cta-mobile-2 .cta-mobile-2__appel:active {
    transform: scale(0.96);
  }

  [data-header] .cta-mobile-2 .cta-mobile-2__rdv svg,
  [data-header] .cta-mobile-2 .cta-mobile-2__appel svg {
    width: 20px;
    height: 20px;
  }

  /* Rendez-vous / devis : texte sur la pilule, sans aplat. */
  [data-header] .cta-mobile-2 .cta-mobile-2__rdv,
  [data-header] .cta-mobile-2 .cta-mobile-2__rdv:hover {
    flex: 0 0 auto;
    padding: 0 14px;
    border: 0;
    background: transparent;
    color: var(--black);
    font-size: 14px;
  }
  [data-header] .cta-mobile-2 .cta-mobile-2__rdv:active {
    background: color-mix(in srgb, var(--black) 6%, transparent);
  }
  /* Sans telephone, le rendez-vous est seul : il occupe la pilule. */
  [data-header] .cta-mobile-2.cta-mobile-2--seul .cta-mobile-2__rdv {
    flex: 1 1 auto;
  }

  /* Appel : l'action principale, en aplat fonce de la charte. */
  [data-header] .cta-mobile-2 .cta-mobile-2__appel,
  [data-header] .cta-mobile-2 .cta-mobile-2__appel:hover {
    position: relative;
    flex: 1 1 auto;
    margin-left: auto;
    padding: 0 22px;
    border: 0;
    background: var(--primary);
    color: var(--on-primary);
    animation: ctaMobile2Halo 2.4s ease-out infinite;
  }
  [data-header] .cta-mobile-2 .cta-mobile-2__appel:focus-visible {
    outline-color: var(--primary);
  }

  [data-header] .cta-mobile-2 .cta-mobile-2__appel svg {
    transform-origin: 50% 50%;
    animation: ctaMobile2Fremit 4s ease-in-out infinite;
  }

  /* Le libelle porte le point : il ne coupe plus (le halo du point deborde). */
  [data-header] .cta-mobile-2 .cta-mobile-2__appel .cta-mobile-2__libelle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    overflow: visible;
    color: inherit;
  }
  [data-header] .cta-mobile-2 .cta-mobile-2__appel .cta-mobile-2__libelle::before {
    content: "";
    display: block;
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cta-mobile-2-dispo);
    animation: ctaMobile2Dispo 1.4s ease-in-out infinite;
  }
}

/* Aucun keyframe du plugin ne fait la meme chose : ils sont tous propres a
   leur variante (§5 etape 5), d'ou ces quatre-ci, prefixes. */
@keyframes ctaMobile2Entree {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes ctaMobile2Halo {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--primary) 35%, transparent);
  }
  70%,
  100% {
    box-shadow: 0 0 0 10px color-mix(in srgb, var(--primary) 0%, transparent);
  }
}
@keyframes ctaMobile2Fremit {
  0%,
  82%,
  97%,
  100% {
    transform: rotate(0);
  }
  85% {
    transform: rotate(-14deg);
  }
  88% {
    transform: rotate(12deg);
  }
  91% {
    transform: rotate(-10deg);
  }
  94% {
    transform: rotate(6deg);
  }
}
@keyframes ctaMobile2Dispo {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--cta-mobile-2-dispo) 70%, transparent);
  }
  50% {
    opacity: 0.35;
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--cta-mobile-2-dispo) 0%, transparent);
  }
}

@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
  [data-header] .cta-mobile-2,
  [data-header] .cta-mobile-2 .cta-mobile-2__appel,
  [data-header] .cta-mobile-2 .cta-mobile-2__appel svg,
  [data-header] .cta-mobile-2 .cta-mobile-2__appel .cta-mobile-2__libelle::before {
    animation: none;
  }
}

/* mcl-headers/menu-burger-main : components/headers/menu-burger/main.css */
/* MENU BURGER - SOCLE PARTAGE (declencheur + voile), hook [data-burger] */

/* Le declencheur et le voile sont identiques d'une variante a l'autre : seul le
   panneau change. Ces classes sont donc partagees, et ne s'appliquent que sous
   le hook opt-in [data-burger] pose par le header. */

/* ============================================================
   REGLAGES PAR HEADER
   ------------------------------------------------------------
   Le declencheur se pilote par proprietes personnalisees, posees par chaque
   .header-N dans SON propre CSS. Les defauts sont donnes en repli de var() et
   non declares sur l'element : une declaration propre battrait la valeur
   heritee du header et rendrait le reglage impossible.

     --burger-reserve      espace reserve a droite du header (0 = pleine largeur)
     --burger-y            decalage vertical, pour centrer sur une barre interne
     --burger-color        couleur du trait au repos
     --burger-color-hover  couleur du trait au survol
     --burger-bg           fond au repos
     --burger-bg-hover     fond au survol
     --burger-radius       arrondi
     --burger-shadow       ombre portee
   ============================================================ */

/* Le header reserve la place du bouton : il est en position absolue, donc hors
   du flux. Sans reserve il chevaucherait le contenu de droite — sauf pour les
   headers qui l'alignent sur une barre interne ou la place existe deja.
   [data-header][data-burger] = (0,2,0), au-dessus des .header-N des variantes. */
[data-header][data-burger] {
  padding-right: var(--burger-reserve, clamp(3.6rem, 6vw, 5rem));
}

/* Un seul burger a l'ecran : celui du sous-composant remplace le bouton mobile
   historique, qui ouvrait menu-mobile. */
[data-header][data-burger] .menu-btn {
  display: none;
}

/* ============ DECLENCHEUR ============ */
[data-burger] .burger-trigger {
  /* Reset explicite : aucun style natif de <button> ne doit primer */
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  font-family: inherit;
  cursor: pointer;

  background: var(--burger-bg, none);
  color: var(--burger-color, var(--black));
  box-shadow: var(--burger-shadow, none);
  border-radius: var(--burger-radius, 12px);

  position: absolute;
  /* --burger-y decale le centre : sert aux headers a bandeau superieur, dont la
     barre de navigation n'est pas au milieu de la hauteur totale. */
  top: calc(50% + var(--burger-y, 0px));
  right: clamp(0.9rem, 2.5vw, 1.6rem);
  transform: translateY(-50%);
  z-index: 120;

  display: grid;
  place-items: center;
  gap: 5px;
  width: clamp(42px, 5vw, 50px);
  height: clamp(42px, 5vw, 50px);
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

[data-burger] .burger-trigger:hover {
  background: var(--burger-bg-hover, color-mix(in srgb, var(--primary) 22%, transparent));
  color: var(--burger-color-hover, var(--burger-color, var(--black)));
}

[data-burger] .burger-trigger:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

/* Les trois barres, dessinees en CSS pour pouvoir se transformer en croix */
[data-burger] .burger-trigger span {
  display: block;
  grid-area: 1 / 1;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

[data-burger] .burger-trigger span:nth-child(1) {
  transform: translateY(-7px);
}

[data-burger] .burger-trigger span:nth-child(3) {
  transform: translateY(7px);
}

[data-burger] .burger-trigger[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg);
}

[data-burger] .burger-trigger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

[data-burger] .burger-trigger[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg);
}

/* Les deux panneaux portent leur propre bouton de fermeture, et le declencheur
   passe AU-DESSUS d'eux (z-index 120 > 110) : sans cette regle, deux croix
   s'affichent en meme temps. La transformation en croix ci-dessus reste utile
   pour une future variante de panneau qui n'aurait pas sa propre fermeture. */
[data-burger] .burger-trigger[aria-expanded="true"] {
  visibility: hidden;
}

/* ============ VOILE ============ */
[data-burger] .burger-overlay {
  position: fixed;
  inset: 0;
  z-index: 105;
  background: color-mix(in srgb, var(--black) 55%, transparent);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

[data-burger] .burger-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* Le defilement de la page est bloque pendant l'ouverture (pose par le JS) */
body.burger-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  [data-burger] .burger-trigger span,
  [data-burger] .burger-overlay {
    transition: none;
  }
}

/* mcl-headers/menu-burger-menu-burger-1 : components/headers/menu-burger/menu-burger-1/menu-burger-1.css */
/* MENU BURGER 1 - BARRE LATERALE DROITE */

/* Chaque regle est prefixee par le hook du header ET le bloc racine : le CSS des
   headers cible des elements generiques descendants (.header-5 .right a, etc.)
   avec une specificite (0,2,1) qui ecraserait sinon ces classes. (CLAUDE.md 4.12) */

[data-header] .menu-burger-1__panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 110;

  display: flex;
  flex-direction: column;
  width: min(400px, 88vw);
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--white);
  box-shadow: -18px 0 50px rgba(0, 0, 0, 0.22);
  overflow-y: auto;
  overscroll-behavior: contain;

  transform: translateX(100%);
  visibility: hidden;
  /* `visibility` bascule instantanement a l'ouverture, et n'attend la fin du
     glissement qu'a la fermeture. Sans ca elle vaut encore `hidden` au moment
     du clic, et le focus programme sur le panneau est ignore sans erreur. */
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.42s;
}

[data-header] .menu-burger-1__panel.is-open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s;
}

/* ============ EN-TETE DU PANNEAU ============ */
[data-header] .menu-burger-1 .menu-burger-1__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.1rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid color-mix(in srgb, var(--gray-dark) 18%, transparent);
}

[data-header] .menu-burger-1 .menu-burger-1__titre {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
}

[data-header] .menu-burger-1 .menu-burger-1__close {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  color: var(--gray-dark);
  font-family: inherit;
  cursor: pointer;

  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  transition: background 0.3s ease, color 0.3s ease;
}

[data-header] .menu-burger-1 .menu-burger-1__close svg {
  width: 20px;
  height: 20px;
}

[data-header] .menu-burger-1 .menu-burger-1__close:hover {
  background: color-mix(in srgb, var(--gray-dark) 12%, transparent);
  color: var(--black);
}

[data-header] .menu-burger-1 .menu-burger-1__close:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

/* ============ NAVIGATION ============ */
[data-header] .menu-burger-1 .menu-burger-1__nav {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  height: auto;
}

[data-header] .menu-burger-1 a.menu-burger-1__lien {
  display: block;
  padding: 0.85rem 0.6rem;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--black);
  transition: background 0.25s ease, color 0.25s ease, padding-left 0.25s ease;
}

[data-header] .menu-burger-1 a.menu-burger-1__lien:hover,
[data-header] .menu-burger-1 a.menu-burger-1__lien:focus-visible {
  background: color-mix(in srgb, var(--primary) 18%, transparent);
  color: var(--black);
  padding-left: 1.1rem;
}

[data-header] .menu-burger-1 .menu-burger-1__section {
  margin: 1.2rem 0 0.4rem;
  padding: 0 0.6rem;
  font-family: var(--font-modern);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-dark);
}

/* ============ SERVICES ============ */
[data-header] .menu-burger-1 .menu-burger-1__services {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ── REGROUPEMENT PAR METIER ──────────────────────────────────────────
   Un intitule ouvre chaque serie, calque sur `.menu-burger-1__section`
   (l'intitule « Services » juste au-dessus) mais teinte au metier : les deux
   niveaux se lisent ensemble sans se confondre.

   MONO-METIER : le conteneur passe en `display: contents`, les services
   redeviennent enfants directs de la liste et le menu est celui d'avant.

   LA COULEUR : rampe entre les deux couleurs de marque, posee en ligne par le
   PHP (`--m-melange`). Aucune couleur en dur, aucune variable ajoutee. */
[data-header] .menu-burger-1 .menu-burger-1__groupe {
  --m-couleur: color-mix(in oklab, var(--primary), var(--secondary) var(--m-melange, 0%));
  list-style: none;
}
[data-header] .menu-burger-1 .menu-burger-1__groupe-liste {
  margin: 0;
  padding: 0;
  list-style: none;
}
[data-header] .menu-burger-1 .menu-burger-1__metier {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.9rem 0 0.35rem;
  padding: 0 0.6rem;
  font-family: var(--font-modern);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--m-couleur);
}
[data-header] .menu-burger-1 .menu-burger-1__metier::after {
  content: "";
  flex: 1;
  height: 1px;
  background: color-mix(in srgb, var(--m-couleur) 30%, transparent);
}
/* Apres la regle de base : meme specificite, c'est l'ordre qui tranche.
   La liste interne s'efface AUSSI : un <li> ne peut pas contenir de <li>, donc
   le groupe imbrique un <ul>. Sans cette seconde regle il resterait une boite
   dans un menu mono-metier, la ou l'on veut le balisage d'avant a l'identique. */
[data-header] .menu-burger-1 .menu-burger-1__groupe--nu,
[data-header] .menu-burger-1 .menu-burger-1__groupe--nu .menu-burger-1__groupe-liste {
  display: contents;
}

[data-header] .menu-burger-1 .menu-burger-1__service-ligne {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  border-radius: 10px;
  transition: background 0.25s ease;
}

[data-header] .menu-burger-1 .menu-burger-1__service-ligne:hover {
  background: color-mix(in srgb, var(--secondary) 10%, transparent);
}

[data-header] .menu-burger-1 a.menu-burger-1__service-lien {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  padding: 0.65rem 0.6rem;
  text-decoration: none;
  color: var(--black);
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
}

[data-header] .menu-burger-1 .menu-burger-1__service-icone {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--secondary);
}

[data-header] .menu-burger-1 .menu-burger-1__service-icone svg {
  width: 100%;
  height: 100%;
}

[data-header] .menu-burger-1 .menu-burger-1__service-nom {
  overflow-wrap: anywhere;
}

[data-header] .menu-burger-1 .menu-burger-1__chevron {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  color: var(--gray-dark);
  font-family: inherit;
  cursor: pointer;

  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-right: 0.3rem;
  border-radius: 8px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.3s ease;
}

[data-header] .menu-burger-1 .menu-burger-1__chevron svg {
  width: 17px;
  height: 17px;
}

[data-header] .menu-burger-1 .menu-burger-1__chevron:hover {
  background: color-mix(in srgb, var(--secondary) 20%, transparent);
  color: var(--black);
}

[data-header] .menu-burger-1 .menu-burger-1__chevron:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

[data-header] .menu-burger-1 .menu-burger-1__chevron[aria-expanded="true"] {
  transform: rotate(180deg);
  color: var(--secondary);
}

/* ============ SOUS-SERVICES ============ */
[data-header] .menu-burger-1 .menu-burger-1__sous[hidden] {
  display: none;
}

[data-header] .menu-burger-1 .menu-burger-1__sous {
  margin: 0.1rem 0 0.5rem;
  padding: 0.2rem 0 0.2rem 2.2rem;
  list-style: none;
  border-left: 2px solid color-mix(in srgb, var(--secondary) 35%, transparent);
  margin-left: 1.3rem;
  animation: menuBurger1Deplier 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

[data-header] .menu-burger-1 a.menu-burger-1__sous-lien {
  display: block;
  padding: 0.45rem 0.5rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  text-decoration: none;
  color: var(--gray-dark);
  transition: color 0.25s ease, background 0.25s ease;
}

[data-header] .menu-burger-1 a.menu-burger-1__sous-lien:hover,
[data-header] .menu-burger-1 a.menu-burger-1__sous-lien:focus-visible {
  background: color-mix(in srgb, var(--secondary) 12%, transparent);
  color: var(--black);
}

/* ============ PIED ============ */
[data-header] .menu-burger-1 .menu-burger-1__pied {
  display: grid;
  gap: 0.7rem;
  padding-top: 1.2rem;
  margin-top: 1.2rem;
  border-top: 1px solid color-mix(in srgb, var(--gray-dark) 18%, transparent);
}

[data-header] .menu-burger-1 a.menu-burger-1__devis {
  display: block;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  background: var(--primary);
  color: var(--on-primary);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, color 0.3s ease;
}

[data-header] .menu-burger-1 a.menu-burger-1__devis:hover,
[data-header] .menu-burger-1 a.menu-burger-1__devis:focus-visible {
  transform: translateY(-3px);
  background: var(--secondary);
  color: var(--on-secondary);
}

[data-header] .menu-burger-1 a.menu-burger-1__tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  border: 2px solid color-mix(in srgb, var(--gray-dark) 25%, transparent);
  font-family: var(--font-modern);
  font-size: 1rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: normal;
  text-decoration: none;
  color: var(--black);
  transition: border-color 0.3s ease, background 0.3s ease;
}

[data-header] .menu-burger-1 a.menu-burger-1__tel svg {
  width: 17px;
  height: 17px;
}

[data-header] .menu-burger-1 a.menu-burger-1__tel:hover,
[data-header] .menu-burger-1 a.menu-burger-1__tel:focus-visible {
  border-color: var(--secondary);
  background: color-mix(in srgb, var(--secondary) 10%, transparent);
}

[data-header] .menu-burger-1 a.menu-burger-1__devis:focus-visible,
[data-header] .menu-burger-1 a.menu-burger-1__tel:focus-visible,
[data-header] .menu-burger-1 a.menu-burger-1__lien:focus-visible,
[data-header] .menu-burger-1 a.menu-burger-1__service-lien:focus-visible,
[data-header] .menu-burger-1 a.menu-burger-1__sous-lien:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

@keyframes menuBurger1Deplier {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-header] .menu-burger-1__panel,
  [data-header] .menu-burger-1 .menu-burger-1__sous {
    transition: none;
    animation: none;
  }
}

/* Sous-service SANS page : rendu en texte, pas en lien.
   Avant, il portait un lien fabriqué vers une URL qui n'existe pas — 43 liens
   morts dans le menu d'un site couvreur, 30 sur un ramoneur. */
.menu-burger-1 .menu-burger--lien--inerte {
  cursor: default;
  opacity: 0.65;
}

/* Accent du contrat ((…)) : la donnée du socle marque un mot, le composant
   décide de son rendu (sans cette règle il sort en texte nu). */
[data-header] .menu-burger-1 a.menu-burger-1__devis .mcl-accent {
  color: inherit;
  font-style: italic;
}

/* D-42 : l'accent ((…)) d'un titre de l'offre (service, sous-service,
   atout, étape) garde la couleur du texte qui le porte et passe en italique. */
[data-header] .menu-burger-1 .menu-burger-1__service-nom .mcl-accent,
[data-header] .menu-burger-1 .menu-burger-1__sous-lien .mcl-accent {
  color: inherit;
  font-style: italic;
}

/* mcl-heros-main : components/heros/main.css */
[data-hero] {
  padding-top: var(--header-height);
}
/* ========================================
    ANIMATIONS GLOBALES
    ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Entrée du titre principal (h1) : le même glissement que fadeInUp /
   fadeInLeft, SANS l'opacité. Le h1 est l'élément LCP du haut de page : parti
   de l'opacité 0, il n'était compté qu'à la fin du fondu (C82-L2, D-370 (2)).
   Ni le h1, ni son conteneur direct, ni ses mots ne partent de l'invisible. */
@keyframes herosTitreMonte {
  from {
    transform: translateY(30px);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes herosTitreGauche {
  from {
    transform: translateX(-30px);
  }
  to {
    transform: translateX(0);
  }
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes growWidth {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

/* ========================================
    HEROS « SCROLL » — STRUCTURE PARTAGÉE
    Opt-in par `data-hero-scroll` (CLAUDE.md §3.6) : la section est haute de
    plusieurs écrans, sa scène reste collée en haut pendant que le défilement
    fait avancer le film et se succéder les étapes (moteur : heros/main.js).
    Ici, la MÉCANIQUE seulement — la mise en scène (entrées, typo, couleurs)
    appartient à chaque variante.

    États de la racine :
      * (défaut)          : scène collée, une étape visible à la fois ;
      * .is-statique      : sans JS ou en mouvement réduit — textes empilés sur
                            la photo, hauteur naturelle ;
      * .is-epingle-js    : filet si un ancêtre du thème casse le sticky
                            (overflow) — le JS épingle la scène en fixe.
    ======================================== */
[data-hero-scroll] {
  /* Défilement consacré à chaque étape, en hauteurs d'écran. */
  --hero-scroll-pas: 0.85;

  position: relative;
  height: calc(100vh * (1 + (var(--hero-scroll-etapes, 4) - 1) * var(--hero-scroll-pas)));
  height: calc(100svh * (1 + (var(--hero-scroll-etapes, 4) - 1) * var(--hero-scroll-pas)));
}

/* La scène couvre l'écran sous le header transparent : pas de décalage. */
[data-hero][data-hero-scroll] {
  padding-top: 0;
}

[data-hero-scroll-scene] {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

[data-hero-scroll-media] {
  position: absolute;
  inset: 0;
  z-index: 0;
}

[data-hero-scroll-affiche],
[data-hero-scroll-film] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

[data-hero-scroll-affiche] {
  object-fit: cover;
}

/* Le film n'apparaît qu'une fois sa première image dessinée : jusque-là, et
   pour toujours si la séquence manque, c'est la photo qu'on voit. */
[data-hero-scroll-film] {
  opacity: 0;
  transition: opacity 0.8s ease;
}

[data-hero-scroll].is-pret [data-hero-scroll-film] {
  opacity: 1;
}

/* Toutes les étapes occupent la même case : une seule est visible. Les
   entrées (glissé, flou, balayage…) sont écrites par la variante. */
[data-hero-scroll-etape] {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0s linear 0.5s;
}

[data-hero-scroll-etape].is-actif {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease 0.1s, visibility 0s;
}

[data-hero-scroll].est-fin [data-hero-scroll-passer] {
  opacity: 0;
  pointer-events: none;
}

[data-hero-scroll-suite] {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 1px;
  height: 1px;
}

/* ---- Filet : sticky cassé par le thème, le JS épingle ------- */
[data-hero-scroll].is-epingle-js [data-hero-scroll-scene] {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

[data-hero-scroll].is-epingle-js.est-epingle [data-hero-scroll-scene] {
  position: fixed;
}

[data-hero-scroll].is-epingle-js.est-apres [data-hero-scroll-scene] {
  top: auto;
  bottom: 0;
}

/* ---- État statique : sans JS, ou mouvement réduit ---------- */
[data-hero-scroll].is-statique {
  height: auto;
}

[data-hero-scroll].is-statique [data-hero-scroll-scene] {
  position: relative;
  height: auto;
  min-height: 100vh;
  min-height: 100svh;
}

[data-hero-scroll].is-statique [data-hero-scroll-etape] {
  opacity: 1;
  visibility: visible;
  transform: none;
  filter: none;
  clip-path: none;
  transition: none;
}

/* Ce qui n'a de sens qu'en mouvement (film, indice, progression, sortie,
   repères de chapitre) s'efface. */
[data-hero-scroll].is-statique [data-hero-scroll-film],
[data-hero-scroll].is-statique [data-hero-scroll-passer],
[data-hero-scroll].is-statique [data-hero-scroll-anime] {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-hero-scroll] *,
  [data-hero-scroll] *::before,
  [data-hero-scroll] *::after {
    animation: none !important;
  }
}

/* mcl-heros-hero-38 : components/heros/hero-38/hero-38.css */
/* HERO 38 - RÉVÉLATION
   ---------------------------------------------------------------------------
   Réf. Dujardin (maquette B, étude C76). La vidéo d'accueil (sinon la photo
   du héros) occupe tout l'écran, à toutes les largeurs.

   MOBILE ET TABLETTE (≤ 1024 px) : sur l'image, seulement le surtitre, le
   H1 et l'invitation à défiler. Au défilement, hero-38.js les efface
   (`--hero-38-texte`, de 1 à 0 sur les 40 premiers % de l'écran ; en
   paysage bas, 16 % au plus, bornés par la marge réelle entre le surtitre
   et le header, sans glissement) : la vidéo
   reste seule, puis la fiche (description, boutons, téléphone, chiffres,
   garantie) arrive DESSOUS, dans le flux. La vidéo n'est jamais collée.

   ORDINATEUR (> 1024 px) : un écran au MINIMUM (la section grandit si le
   titre l'exige) ; H1 et boutons en bas à gauche, chiffres et garantie en
   ligne discrète au pied, sans fond, sur un dégradé écrit par le composant
   (§4.14). Le titre et les boutons s'effacent de la même façon.

   MOUVEMENT RÉDUIT : aucune animation d'effacement ; le titre est là, puis
   n'est plus là passé la moitié de la course (ni fondu ni glissement).

   LE HEADER : la zone immersive est `.hero-38__ecran` (voir le PHP), pas la
   section : le header redevient opaque quand la fiche passe sous lui
   (D-320 (4)), sans rien changer à headers/main.js. */

.hero-38 {
  /* Hauteur de l'écran : la fenêtre visible, jamais moins de 560 px. */
  --hero-38-ecran: max(560px, 100vh);
  --hero-38-ecran: max(560px, 100svh);
  /* Part de l'écran parcourue pour effacer le titre (lue par hero-38.js). */
  --hero-38-course: 0.4;
  /* Posée par hero-38.js : 1 = titre visible, 0 = effacé. Sans JS : 1. */
  --hero-38-texte: 1;
  --hero-38-filet: color-mix(in srgb, var(--white) 14%, transparent);
  --hero-38-discret: color-mix(in srgb, var(--white) 62%, transparent);
  --hero-38-texte-doux: color-mix(in srgb, var(--white) 80%, transparent);
  --hero-38-ombre: color-mix(in srgb, var(--black) 35%, transparent);

  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: var(--black);
  color: var(--white);
}

/* ---- L'écran : vidéo ou photo, dans le flux (zone immersive) ---- */
.hero-38__ecran {
  position: relative;
  z-index: 0;
  grid-area: 1 / 1;
  min-height: var(--hero-38-ecran);
  overflow: hidden;
}

.hero-38__video,
.hero-38__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Un haut sombre pour le header, un pied pour le titre ; le milieu de
   l'image reste intact. Il s'allège quand le titre s'efface. */
.hero-38__voile {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--black) 45%, transparent) 0%,
    transparent 22%,
    transparent 50%,
    color-mix(in srgb, var(--black) 60%, transparent) 100%
  );
  opacity: calc(0.35 + 0.65 * var(--hero-38-texte));
  pointer-events: none;
}

/* ---- Le titre posé sur l'image (même case de grille que l'écran) ----
   La case grandit avec lui : un titre très long sur un écran bas allonge
   l'écran au lieu de passer sous le header. */
.hero-38__tete {
  position: relative;
  z-index: 1;
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
  padding: calc(var(--header-height) + 24px) 22px 3svh;
  text-align: center;
  opacity: var(--hero-38-texte);
  transform: translateY(calc((1 - var(--hero-38-texte)) * -40px));
}

.hero-38__surtitre {
  margin: 0 0 14px;
  color: var(--hero-38-texte-doux);
  font-family: var(--font-modern);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.hero-38__titre,
.hero-38__titre:hover {
  max-width: 16ch;
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 9vw, 4.2rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  text-shadow: 0 2px 30px var(--hero-38-ombre);
}
.hero-38__titre .mcl-accent {
  color: var(--white);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
}

.hero-38__defiler {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin: 10svh 0 0;
  color: var(--hero-38-discret);
  font-family: var(--font-modern);
  font-size: 0.66rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.hero-38__defiler-trait {
  display: block;
  width: 1px;
  height: 38px;
  background: linear-gradient(var(--accent), transparent);
}

/* ---- La fiche : sous la vidéo, sur son propre fond sombre ---- */
.hero-38__fiche {
  position: relative;
  z-index: 1;
  grid-area: 2 / 1;
  display: grid;
  gap: 24px;
  padding: 34px max(22px, calc((100% - 720px) / 2)) 44px;
  background: var(--black);
  color: var(--white);
}

.hero-38__desc {
  margin: 0;
  color: var(--hero-38-texte-doux);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
}

.hero-38__actions {
  display: grid;
  gap: 10px;
}

.hero-38__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: none;
  color: inherit;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.hero-38__btn:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

/* Bouton d'action : --accent / --on-accent (§4.14). */
.hero-38__btn--principal,
.hero-38__btn--principal:hover,
.hero-38__btn--principal:focus {
  color: var(--on-accent);
  background: var(--accent);
}
.hero-38__btn--principal:hover {
  background: color-mix(in srgb, var(--accent) 86%, var(--black));
}

/* Téléphone et vitrine : contour clair sur le fond sombre. */
.hero-38__btn--tel,
.hero-38__btn--tel:hover,
.hero-38__btn--tel:focus,
.hero-38__btn--secondaire,
.hero-38__btn--secondaire:hover,
.hero-38__btn--secondaire:focus {
  color: var(--white);
  border-color: color-mix(in srgb, var(--white) 30%, transparent);
}
.hero-38__btn--tel:hover,
.hero-38__btn--secondaire:hover {
  border-color: var(--white);
  background: color-mix(in srgb, var(--white) 10%, transparent);
}

/* ---- Chiffres et garantie ---- */
.hero-38__donnees {
  display: grid;
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid var(--hero-38-filet);
}

.hero-38__chiffres {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-38__chiffre {
  display: grid;
  align-content: start;
  gap: 6px;
  min-width: 0;
  padding: 0 10px;
  border-left: 1px solid var(--hero-38-filet);
  color: var(--white);
}
.hero-38__chiffre:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-38__valeur {
  color: var(--white);
  font-family: var(--font-numeric);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1;
}

.hero-38__libelle {
  color: var(--hero-38-discret);
  font-family: var(--font-modern);
  font-size: 0.62rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.hero-38__garantie {
  margin: 0;
  color: var(--hero-38-discret);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

/* Tablette : les boutons se partagent la ligne, la place le permet. */
@media (min-width: 600px) and (max-width: 1024px) {
  .hero-38__actions {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

/* Téléphone à l'horizontale (mise en page mobile, fenêtre de moins de
   560 px de haut) : le plancher de 560 px pousserait le titre et
   l'invitation à défiler sous le bord de l'écran. L'écran tient alors dans
   la fenêtre, sans plancher (même condition que hero-37) ; il reste la zone
   immersive et finit toujours au haut de la fiche. Le titre est réduit
   comme celui de hero-37 pour que surtitre, H1 et invitation tiennent
   entre le header et le bas de l'écran. `max-height: 559px` : exactement là
   où le plancher agissait ; `orientation: landscape` : un portrait n'est
   jamais aussi bas ; `max-width: 1024px` : l'ordinateur garde son
   plancher. */
@media (max-width: 1024px) and (orientation: landscape) and (max-height: 559px) {
  .hero-38 {
    --hero-38-ecran: 100vh;
    --hero-38-ecran: 100svh;
  }

  .hero-38__titre,
  .hero-38__titre:hover {
    color: var(--white);
    font-size: clamp(1.75rem, 10vh, 2.6rem);
    font-size: clamp(1.75rem, 10svh, 2.6rem);
  }

  /* Effacement : le surtitre est tout près du header. Sans le glissement
     vers le haut, et sur une course de 16 % de l'écran au lieu de 40 %,
     bornée par hero-38.js à la marge réelle entre le surtitre et le bas du
     header (`--hero-38-borne`), le titre a disparu avant que le surtitre
     n'atteigne le header, même long de plusieurs lignes (mouvement réduit
     compris : il disparaît d'un coup à mi-course). */
  .hero-38 {
    --hero-38-course: 0.16;
    --hero-38-borne: 1;
  }

  .hero-38__tete {
    transform: none;
  }
}

/* Mouvement réduit : ni glissement ni fondu (hero-38.js passe de 1 à 0 d'un coup). */
@media (prefers-reduced-motion: reduce) {
  .hero-38__tete,
  .hero-38__actions {
    transform: none;
  }
}

/* ---- Ordinateur : un écran au minimum, tout reste sur l'image ----
   La section est une grille calée en bas : titre, boutons, puis la ligne
   des chiffres. Elle réserve la hauteur du header au-dessus du titre ; un
   titre trop long pour une fenêtre basse agrandit la section (et l'écran,
   zone immersive, avec elle) au lieu de remonter sous le header. */
@media (min-width: 1025px) {
  .hero-38 {
    grid-template-rows: minmax(0, 1fr) auto auto;
    min-height: var(--hero-38-ecran);
    padding: calc(var(--header-height) + 16px) clamp(24px, 4vw, 64px) 30px;
  }

  /* La fiche est sur l'image : tout l'écran est immersif. `grid-area: auto` :
     placé dans une case, un enfant absolu s'y ancrerait (padding exclu) ;
     sans case, il couvre toute la section. */
  .hero-38__ecran {
    grid-area: auto;
    position: absolute;
    inset: 0;
    min-height: 0;
  }

  .hero-38__tete {
    grid-area: 1 / 1;
    align-self: end;
    align-items: flex-start;
    max-width: 760px;
    padding: 0;
    text-align: left;
  }

  .hero-38__titre,
  .hero-38__titre:hover {
    max-width: 18ch;
    color: var(--white);
    font-size: clamp(3rem, 5vw, 5rem);
  }

  .hero-38__defiler {
    display: none;
  }

  /* La fiche n'a plus de boîte : ses blocs se rangent dans la grille. */
  .hero-38__fiche {
    display: contents;
  }

  .hero-38__desc,
  .hero-38__btn--tel {
    display: none;
  }

  .hero-38__actions {
    position: relative;
    z-index: 1;
    grid-area: 2 / 1;
    display: flex;
    flex-wrap: wrap;
    margin-top: 28px;
    opacity: var(--hero-38-texte);
    transform: translateY(calc((1 - var(--hero-38-texte)) * -40px));
  }
  /* Presque effacés (sous 30 %, hero-38.js), les boutons ne captent plus le
     clic ; reçus au clavier, ils réapparaissent. */
  .hero-38--efface .hero-38__actions {
    pointer-events: none;
  }
  .hero-38__actions:focus-within {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .hero-38__donnees {
    position: relative;
    z-index: 1;
    grid-area: 3 / 1;
    justify-self: end;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: baseline;
    gap: 12px 40px;
    margin-top: 32px;
    padding: 0;
    border: 0;
  }

  .hero-38__chiffres {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
  }

  .hero-38__chiffre {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 0;
    border: 0;
  }

  .hero-38__valeur {
    color: var(--white);
    font-family: var(--font-modern);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
  }

  .hero-38__libelle,
  .hero-38__garantie {
    color: var(--hero-38-texte-doux);
    font-family: var(--font-modern);
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }
}

@media (min-width: 1025px) and (prefers-reduced-motion: reduce) {
  .hero-38__actions {
    transform: none;
  }
}

/* mcl-realisations-realisations-videos : components/realisations/realisations-videos/realisations-videos/realisations-videos.css */
/* =====================================================
   REALISATIONS VIDEOS - CARROUSEL DE VIDÉOS, LA VIDÉO ACTIVE AU CENTRE
   Classes préfixées par la variante, en BEM (H-44) : le rendu est celui
   d'avant, sélecteur pour sélecteur.
   ===================================================== */

.realisations-videos {
  padding: 100px 0;
  background: var(--primary);
  overflow: hidden;
}

/* ---------- Header ---------- */
.realisations-videos .realisations-videos__entete {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 5%;
  max-width: 1300px;
  margin: 0 auto 50px;
  flex-wrap: wrap;
  gap: 20px;
}

.realisations-videos .realisations-videos__surtitre {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.realisations-videos .realisations-videos__titre {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--white);
}

.realisations-videos .realisations-videos__nav {
  display: flex;
  gap: 10px;
}

.realisations-videos .realisations-videos__nav-btn {
  width: 50px;
  height: 50px;
  padding: 0;
  background: var(--white);
  border: none;
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  flex-shrink: 0;
}

/* D-323 : focus aux valeurs du repos (suki : `a:focus`, `button:focus` (0,1,1)). */
.realisations-videos .realisations-videos__nav-btn:focus {
  background: var(--white);
  color: var(--black);
  border-color: transparent;
}
.realisations-videos .realisations-videos__nav-btn:hover,
.realisations-videos .realisations-videos__nav-btn:focus-visible {
  background: var(--secondary);
  color: var(--on-secondary);
  border-color: transparent;
}

.realisations-videos .realisations-videos__nav-icone {
  width: 24px;
  height: 24px;
}

/* ---------- Track wrapper ---------- */
.realisations-videos .realisations-videos__fenetre {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-bottom: 10px;
}

/* ---------- Track ---------- */
.realisations-videos .realisations-videos__piste {
  display: flex;
  align-items: center;
  gap: 20px;
  will-change: transform;
}

/* ---------- Slide ---------- */
.realisations-videos .realisations-videos__slide {
  flex-shrink: 0;
  /* Largeur de repli sans JS (preload="none" : la vidéo n'a pas encore de
     taille propre). Le JS l'écrase en px, au même ratio de 75 %. */
  flex: 0 0 75%;
  max-width: 75%;
  transition:
    transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.5s ease;
  opacity: 0.3;
  transform: scale(0.9);
}

.realisations-videos .realisations-videos__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

/* Slide latérale (H-46), une fois le carrousel animé par son JS : un clic ou
   un toucher l'amène au centre. Sa vidéo ne capte rien (ses contrôles ne
   s'ouvrent pas sous la souris) : le clic revient à la slide. Sans JS, rien
   ne change : chaque vidéo garde ses contrôles. */
.realisations-videos[data-video-carousel-bound] .realisations-videos__slide:not(.is-active) {
  cursor: pointer;
}

.realisations-videos[data-video-carousel-bound] .realisations-videos__slide:not(.is-active) .realisations-videos__video {
  pointer-events: none;
}

/* ---------- Lien « Voir le projet » (C83-L3, D-380 (4)) ----------
   Une vidéo rattachée à un projet porte un lien vers sa page, posé en haut
   à gauche du cadre (les contrôles de la vidéo sont en bas) : la slide garde
   sa hauteur, rangée avec ou sans lien. Sur une slide latérale, il ne capte
   pas la souris (le clic amène la slide au centre, H-46) ; au clavier, son
   focus l'y amène aussi (realisations-videos.js, focusin). */
.realisations-videos .realisations-videos__slide {
  position: relative;
}

.realisations-videos a.realisations-videos__projet {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  transition: background 0.2s ease, color 0.2s ease;
}

/* D-323 : focus aux valeurs du repos (suki : `a:focus` (0,1,1)). */
.realisations-videos a.realisations-videos__projet:focus {
  background: var(--white);
  color: var(--black);
  border-color: transparent;
}

.realisations-videos a.realisations-videos__projet:hover,
.realisations-videos a.realisations-videos__projet:focus-visible {
  background: var(--secondary);
  color: var(--on-secondary);
  border-color: transparent;
}

.realisations-videos a.realisations-videos__projet:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--white);
}

.realisations-videos[data-video-carousel-bound] .realisations-videos__slide:not(.is-active) .realisations-videos__projet {
  pointer-events: none;
}

/* ---------- Vidéo ---------- */
.realisations-videos .realisations-videos__cadre {
  position: relative;
  width: 100%;
  /* 
        21:9 = format cinémascope : on garde toute la largeur
        mais la hauteur reste contenue (~40% de moins qu'un 16:9)
        object-fit: contain = aucun rognage, les bandes noires
        éventuelles sont absorbées par le fond noir du wrapper
    */
  aspect-ratio: 21 / 9;
  background: var(--black);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.realisations-videos .realisations-videos__video {
  width: 100%;
  height: 100%;
  object-fit: contain; /* pas de rognage */
  display: block;
  cursor: pointer;
}

/* ---------- Fond flou (D-57) ----------
   Posé par le JS en même temps que le poster (même image, aucune requête de
   plus) : la vignette, en `cover`, floutée et assombrie sur un calque SOUS la
   vidéo, remplit les bandes du `contain` — vidéo verticale comprise, rien
   n'est rogné. Sans vignette, la classe n'est jamais posée : fond noir.
   Décoratif : un pseudo-élément, rien d'annoncé aux lecteurs d'écran.
   `isolation` + `z-index: -1` : les calques passent sous la vidéo sans
   qu'aucune règle ne vise la balise <video> (§4.12). */
.realisations-videos .realisations-videos__cadre--fond {
  isolation: isolate;
}

.realisations-videos .realisations-videos__cadre--fond::before {
  content: "";
  position: absolute;
  inset: -40px; /* le flou n'éclaircit pas les bords du cadre */
  background-image: var(--realisations-videos-fond);
  background-size: cover;
  background-position: center;
  filter: blur(28px);
  z-index: -1;
  pointer-events: none;
}

/* Assombrissement neutre (seule tolérance du §4.1) : le fond reste discret. */
.realisations-videos .realisations-videos__cadre--fond::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: -1;
  pointer-events: none;
}

/* ---------- Vidéo YouTube ou Vimeo (C70-L4b, EX-139, D-348 (2)) ----------
   Avant le clic : la vignette du site, nette en `contain` sur son fond flou
   (D-57, la même variable que celle d'un MP4, posée par le JS à
   l'approche), le bouton « Lire » au centre et la mention en bas. Rien ne
   part vers la plateforme. Après le clic : le lecteur (iframe posée par
   assets/js/video-externe.js) remplit le cadre ; la façade est masquée. */
.realisations-videos .realisations-videos__vignette {
  position: absolute;
  inset: 0;
  background-image: var(--realisations-videos-fond, none);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}

.realisations-videos .realisations-videos__facade {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 16px 0;
  /* Assombrissement neutre (§4.1, §4.14) : bouton et mention lisibles
     quelle que soit la vignette. */
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.15) 45%, rgba(0, 0, 0, 0.15) 100%);
}

.realisations-videos .realisations-videos__facade[hidden] {
  display: none;
}

.realisations-videos button.realisations-videos__lire {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: auto 0 0;
  padding: 10px 22px 10px 10px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

/* D-323 : focus aux valeurs du repos (suki : `button:focus` (0,1,1)). */
.realisations-videos button.realisations-videos__lire:focus {
  background: var(--white);
  color: var(--black);
  border-color: transparent;
}

.realisations-videos button.realisations-videos__lire:hover,
.realisations-videos button.realisations-videos__lire:focus-visible {
  background: var(--secondary);
  color: var(--on-secondary);
  border-color: transparent;
}

.realisations-videos button.realisations-videos__lire:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
  box-shadow: 0 0 0 7px var(--black);
}

.realisations-videos .realisations-videos__lire-icone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  flex-shrink: 0;
}

.realisations-videos .realisations-videos__lire-svg {
  width: 20px;
  height: 20px;
  margin-left: 3px;
}

.realisations-videos .realisations-videos__lire-texte {
  color: inherit;
}

.realisations-videos .realisations-videos__mention {
  margin: auto 0 0;
  padding: 0 0 14px;
  max-width: 60ch;
  font-family: var(--font-body);
  font-size: 0.8rem;
  line-height: 1.4;
  text-align: center;
  color: var(--white);
}

.realisations-videos .realisations-videos__cadre--externe [data-video-externe-lecteur] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Slide latérale : son bouton ne capte pas la souris (le clic amène la
   slide au centre, H-46) ; au clavier, son focus l'y amène aussi. */
.realisations-videos[data-video-carousel-bound] .realisations-videos__slide:not(.is-active) .realisations-videos__lire {
  pointer-events: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .realisations-videos {
    padding: 60px 0;
  }

  /* Sur mobile on repasse en 16:9 pour ne pas avoir des vidéos trop basses */
  .realisations-videos .realisations-videos__cadre {
    aspect-ratio: 16 / 9;
  }

  /* Vidéo externe : bouton et mention plus compacts dans le cadre étroit ;
     le haut du cadre reste au lien « Voir le projet ». */
  .realisations-videos .realisations-videos__facade {
    padding-top: 48px;
  }

  .realisations-videos button.realisations-videos__lire {
    gap: 8px;
    padding: 6px 14px 6px 6px;
    font-size: 0.9rem;
  }

  .realisations-videos .realisations-videos__lire-icone {
    width: 34px;
    height: 34px;
  }

  .realisations-videos .realisations-videos__lire-svg {
    width: 16px;
    height: 16px;
  }

  .realisations-videos .realisations-videos__mention {
    padding-bottom: 8px;
    font-size: 0.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .realisations-videos button.realisations-videos__lire {
    transition: none;
  }
}

/* ── TITRES : couleur de survol explicite (CLAUDE.md §4.13) ──────────
   Le main.css des themes stylise les balises Hn, hover compris. Chaque
   titre reprend ici sa couleur de base pour neutraliser cet heritage. */
.realisations-videos .realisations-videos__titre:hover {
  color: var(--white);
}

/* mcl-services-services-9 : components/services/services-9/services-9.css */
/* SERVICES 9 - BENTO */
.services-9 {
  background: var(--white);
  padding: 110px 5%;
}

.services-9__container {
  max-width: 1320px;
  margin: 0 auto;
}

.services-9__head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: end;
  margin-bottom: 56px;
}

.services-9__eyebrow {
  font-family: var(--font-modern);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--secondary);
}

/* Les sélecteurs finissent sur une classe de la variante, jamais sur une
   balise nue (§4.12, H-21) ; ils gardent la spécificité (0,2,0) des
   anciennes règles `.services-9__head h2`, `.services-9__card h3`. */
.services-9__head .services-9__title {
  color: var(--black);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6.5vw, 5.6rem);
  line-height: 0.92;
  margin: 18px 0 0;
}

/* `<em>` venu de la chaîne de data : exception §4.12, sous le titre. */
.services-9__title em {
  color: var(--secondary);
}

.services-9__head-cta {
  margin: 0;
  font-family: var(--font-modern);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  text-align: right;
  color: var(--gray-dark);
  max-width: 50ch;
  line-height: 1.7;
}

.services-9__head-cta .services-9__head-accent {
  display: block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--primary);
  font-weight: 700;
}

.services-9__head-accent .services-9__head-accent-texte {
  font-style: italic;
}

.services-9__bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 190px;
  gap: 14px;
}

.services-9__card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  isolation: isolate;
  background: var(--primary);
  color: var(--on-primary);
  text-decoration: none;
  transform: translateY(18px);
  opacity: 0;
  transition:
    transform 0.55s ease,
    opacity 0.55s ease;
}

.services-9__bento.is-visible .services-9__card {
  transform: none;
  opacity: 1;
}

.services-9__card:hover {
  transform: translateY(-4px);
}

/* La carte est un lien : le thème impose sa couleur de lien au survol, au
   focus et au clic, et retire le contour au focus. La carte garde la sienne
   (aplat --primary sous la photo) et montre un contour au clavier (§4.6). */
.services-9__card:hover,
.services-9__card:focus,
.services-9__card:active {
  color: var(--on-primary);
}

/* Anneau à deux tons (WCAG C40), lisible quelle que soit la charte (D-323). */
.services-9__card:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}

.services-9__card .services-9__card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.68);
  transition:
    transform 1s ease,
    filter 0.4s ease;
}

.services-9__card:hover .services-9__card-img {
  transform: scale(1.05);
  filter: brightness(0.54);
}

.services-9__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 28%,
    rgba(0, 0, 0, 0.88) 100%
  );
  z-index: 1;
}

.services-9__card-body {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

/* Le fond REEL de ces deux blocs n'est pas la section : c'est la photo du
   service, assombrie par `filter: brightness()` et par le degrade de
   `::before`. Sur une image, le texte s'ecrit en `var(--white)` (§4.14) — le
   `--primary` et le `--black` qui etaient ici sortaient en bleu nuit et en noir
   sur une photo sombre, donc illisibles. */
.services-9__card-tag {
  font-family: var(--font-modern);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
}

.services-9__card .services-9__card-title {
  color: var(--white);
  margin: auto 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 0.95;
}

.services-9__card .services-9__card-desc {
  margin: 0;
  font-size: 0.82rem;
  color: color-mix(in srgb, var(--white) 76%, transparent);
  line-height: 1.45;
}

.services-9__card-meta {
  color: var(--white);
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid color-mix(in srgb, var(--white) 16%, transparent);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-modern);
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.services-9__card-arrow {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary);
  display: grid;
  place-items: center;
  transition: all 0.35s ease;
}

.services-9__card-arrow .services-9__card-arrow-icone {
  width: 12px;
  height: 12px;
}

.services-9__card:hover .services-9__card-arrow {
  background: var(--secondary);
  color: var(--on-secondary);
  transform: rotate(-45deg);
}

.services-9__card--featured {
  grid-column: span 7;
  grid-row: span 2;
}

.services-9__card--wide {
  grid-column: span 5;
  grid-row: span 1;
}

.services-9__card--tall {
  grid-column: span 4;
  grid-row: span 2;
}

.services-9__card--small {
  grid-column: span 4;
  grid-row: span 1;
}

.services-9__card--full {
  grid-column: span 8;
  grid-row: span 1;
}

.services-9__cta {
  margin-top: 28px;
  display: inline-flex;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  background: var(--secondary);
  color: var(--on-secondary);
  font-weight: 600;
  transition: filter 0.2s ease;
}

.services-9__cta:hover,
.services-9__cta:focus,
.services-9__cta:active {
  filter: brightness(0.95);
  color: var(--on-secondary);
}

.services-9__cta:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}


/* ── REGROUPEMENT PAR METIER ──────────────────────────────────────────
   Chaque metier a SA composition bento. Un titre pose dans la grille aurait
   occupe une rangee entiere de `grid-auto-rows: 190px`, et le rythme des
   gabarits aurait continue de courir d'un metier a l'autre : le second
   n'aurait jamais eu sa carte de tete. La grille repart donc a chaque metier.

   MONO-METIER : une seule grille, sans conteneur ni titre — le rendu est
   celui d'un site classique.

   LA COULEUR : rampe --secondary → --primary, ancree sur la couleur du
   surtitre de la section. */
.services-9__groupe {
  --m-couleur: color-mix(in oklab, var(--secondary), var(--primary) var(--m-melange, 0%));
  /* Texte : bascule a 50 % (D-393, §4.17), jamais un melange : --on-secondary
     sous 50 %, --on-primary a partir de 50 %. */
  --m-texte: color-mix(in oklab, var(--on-secondary), var(--on-primary) clamp(0%, (var(--m-melange, 0%) - 50%) * 10000 + 100%, 100%));
}
.services-9__groupe + .services-9__groupe {
  margin-top: 54px;
}
.services-9__metier-titre {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
  font-family: var(--font-modern);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--m-couleur);
}
.services-9__metier-titre:hover {
  color: var(--m-couleur);
}
/* Un titre long (« Isolation des combles ») passait sur deux lignes et
   poussait la ligne « en savoir plus », fleche comprise, hors de la carte —
   que `overflow: hidden` rognait sans bruit.

   La rangee peut desormais GRANDIR quand son contenu l'exige, au lieu de
   couper. `minmax(190px, auto)` garde 190 px pour plancher : les rangees qui
   tenaient deja ne bougent pas d'un pixel, et les spans (`--featured`,
   `--tall`) continuent de compter en rangees. Rien n'est tronque.

   Prefere a un paragraphe qu'on laisse retrecir : couper un texte au pixel,
   sans meme finir la ligne, se lit comme un defaut d'affichage. */
.services-9__bento {
  grid-auto-rows: minmax(190px, auto);
}

.services-9__metier-filet {
  flex: 0 0 34px;
  height: 2px;
  background: var(--m-couleur);
}

@media (max-width: 1024px) {
  .services-9__bento {
    grid-auto-rows: minmax(170px, auto);
  }

  .services-9__card--featured {
    grid-column: span 7;
  }

  .services-9__card--tall {
    grid-column: span 7;
  }

  .services-9__card--small {
    grid-column: span 6;
  }

  .services-9__card--full {
    grid-column: span 12;
  }
}

@media (max-width: 760px) {
  .services-9 {
    padding: 72px 20px;
  }

  .services-9__head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .services-9__head-cta {
    text-align: left;
  }

  .services-9__bento {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(190px, auto);
    gap: 12px;
  }

  .services-9__card--featured,
  .services-9__card--wide,
  .services-9__card--tall,
  .services-9__card--small,
  .services-9__card--full {
    grid-column: span 2;
    grid-row: span 1;
  }

  .services-9__card--featured,
  .services-9__card--tall {
    grid-row: span 2;
  }
}

/* ── TITRES : couleur de survol explicite (CLAUDE.md §4.13) ──────────
   Le main.css des themes stylise les balises Hn, hover compris. Chaque
   titre reprend ici sa couleur de base pour neutraliser cet heritage. */
.services-9__head .services-9__title:hover {
  color: var(--black);
}

.services-9__card .services-9__card-title:hover {
  color: var(--white);
}

/* ── ACCENT ((…)) des textes de l'offre (offre.md, CLAUDE.md §4.13) ──────
   Titre et description de la carte sont posés sur la PHOTO du service
   (assombrie par brightness() et le dégradé de ::before) : l'accent s'écrit
   donc en blanc (§4.14), jamais dans une couleur de marque. Le mot ressort
   par la graisse dans la description (déjà grise-blanche à 76 %), par
   l'italique dans le titre (police d'affichage déjà grasse). */
.services-9__card-title .mcl-accent {
  color: var(--white);
  font-style: italic;
}

.services-9__card-desc .mcl-accent {
  color: var(--white);
  font-weight: 700;
}

/* mcl-processus-processus-3 : components/processus/processus-3/processus-3.css */
/* PROCESS 3 - DARK CARDS + AURORA BLOBS (fond animé infini) */
.process-3 {
  padding: 100px 5%;
  background: var(--primary);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
/* Blobs de dégradé qui dérivent en boucle infinie */
.process-3::before,
.process-3::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}
.process-3::before {
  width: 46vw;
  height: 46vw;
  max-width: 620px;
  max-height: 620px;
  top: -12%;
  left: -8%;
  background: radial-gradient(circle at 40% 40%, color-mix(in srgb, var(--secondary) 60%, transparent), transparent 70%);
  animation: process3Blob1 24s ease-in-out infinite;
}
.process-3::after {
  width: 40vw;
  height: 40vw;
  max-width: 540px;
  max-height: 540px;
  bottom: -16%;
  right: -6%;
  background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--secondary) 30%, transparent), transparent 70%);
  animation: process3Blob2 30s ease-in-out infinite;
}
@keyframes process3Blob1 {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(8%, 10%, 0) scale(1.15);
  }
}
@keyframes process3Blob2 {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-9%, -8%, 0) scale(1.1);
  }
}
.process-3 .container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}
.process-3 .header {
  text-align: center;
  margin-bottom: 60px;
}
.process-3 .eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}
.process-3 h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
}
.process-3 .grid {
  display: grid;
  /* Une colonne par étape rendue : --process-3-n est posé par le gabarit
     (D-382 (3), modèle de processus-9) ; 3 si un gabarit ne le pose pas. */
  grid-template-columns: repeat(var(--process-3-n, 3), 1fr);
  gap: 30px;
}
.process-3 .card {
  background: var(--white);
  border: 1px solid var(--white);
  color: var(--black);
  padding: 44px 30px 40px;
  text-align: center;
  border-radius: 18px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
  transition: transform 0.4s ease, background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
  overflow: hidden;
}
.process-3 .card:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  transform: translateY(-8px);
  box-shadow: 0 34px 66px rgba(0, 0, 0, 0.4);
  color: var(--on-secondary);
}
.process-3 .card-number {
  font-family: var(--font-heading);
  font-size: 5rem;
  color: color-mix(in srgb, var(--secondary) 22%, transparent);
  position: absolute;
  top: 8px;
  right: 20px;
  line-height: 1;
  transition: color 0.4s ease, transform 0.4s ease;
}
.process-3 .card:hover .card-number {
  color: color-mix(in srgb, var(--white) 45%, transparent);
  transform: scale(1.08);
}
.process-3 .card-icon {
  width: 70px;
  height: 70px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: transform 0.4s ease, background 0.4s ease;
}
.process-3 .card:hover .card-icon {
  background: var(--white);
  transform: scale(1.08) rotate(-6deg);
}
.process-3 .card-icon svg {
  width: 30px;
  height: 30px;
  color: var(--white);
  transition: color 0.4s ease;
}
.process-3 .card:hover .card-icon svg {
  color: var(--secondary);
}
.process-3 .card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--black);
  margin-bottom: 12px;
  position: relative;
  transition: color 0.4s ease;
}
.process-3 .card p {
  font-size: 0.9rem;
  color: var(--gray-dark);
  line-height: 1.7;
  position: relative;
  transition: color 0.4s ease;
}
.process-3 .card:hover h3,
.process-3 .card:hover p {
  color: var(--white);
}

@media (prefers-reduced-motion: reduce) {
  .process-3::before,
  .process-3::after {
    animation: none;
  }
}
@media (max-width: 1024px) {
  .process-3 .grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}

/* ── TITRES : couleur de survol explicite (CLAUDE.md §4.13) ──────────
   Le main.css des themes stylise les balises Hn, hover compris. Chaque
   titre reprend ici sa couleur de base pour neutraliser cet heritage. */
.process-3 .card:hover h3:hover,
.process-3 h2:hover {
  color: var(--white);
}

/* Accent du contrat ((…)) dans les étapes (socle processus.etapes) : la
   donnée marque un mot, le composant décide de son rendu. */
.process-3 .card .mcl-accent {
  color: var(--secondary);
  font-weight: 700;
}

/* Accent dans un paragraphe : couleur du texte et gras (le --secondary en
   texte courant passe sous 4,5:1 sur fond clair). */
.process-3 .card p .mcl-accent {
  color: inherit;
  font-weight: 700;
}

/* mcl-realisations-main : components/realisations/realisations-images/main.css */
/* MODALE */
.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.gallery-modal.active {
    display: block;
}

/* OVERLAY CLIQUABLE */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    cursor: zoom-out;
}

/* CONTENU AU-DESSUS */
.gallery-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    pointer-events: none; 
}

/* IMAGE */
.gallery-image {
    width: 60vw;
    max-height: 80vh;
    border-radius: 12px;
    object-fit: cover;
    pointer-events: auto;
}

/* FLÈCHES */
.gallery-arrow {
    pointer-events: auto;
}


/* Reuse nav-btn style */
.gallery-arrow.nav-btn {
    width: 60px;
    height: 60px;
    padding: 0;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.gallery-arrow.nav-btn:hover {
    transform: scale(1.08);
}

.gallery-arrow svg {
    width: 25px;
    height: 25px;
}

/* Mobile */
@media (max-width: 768px) {
    .gallery-content {
        padding: 20px;
    }

    .gallery-image {
        width: 100%;
    }

    .gallery-arrow.nav-btn {
        position: absolute;
        /* bottom: 2rem; */
        width: 35px;
        height: 35px;
    }

    .gallery-arrow.nav-btn.prev {
        left: 2rem;
    }
    .gallery-arrow.nav-btn.next {
        right: 2rem;
    }
}

/* mcl-realisations-realisations-2 : components/realisations/realisations-images/realisations-2/realisations-2.css */
/* REALISATIONS 2 - HORIZONTAL SCROLL (2 ROWS) */
.real-2 {
  padding: 100px 0;
  background: var(--primary);
  overflow: hidden;
}

.real-2 .header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 5%;
  max-width: 1300px;
  margin: 0 auto 50px;
  flex-wrap: wrap;
  gap: 20px;
}

.real-2 .eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.real-2 h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--white);
}

.real-2 .nav-btns {
  display: flex;
  gap: 10px;
}

.real-2 .nav-btn {
  width: 50px;
  height: 50px;
  padding: 0;
  background: var(--white);
  border: none;
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.real-2 .nav-btn:hover {
  background: var(--secondary);
  color: var(--on-secondary);
}

.real-2 .nav-btn svg {
  width: 30px;
  height: 30px;
}

/* NEW */
.real-2 .scroll-rows {
  display: grid;
  gap: 30px;
}

/* Rows */
.real-2 .scroll-container {
  display: flex;
  gap: 30px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0;
}

.real-2 .scroll-container::-webkit-scrollbar {
  display: none;
}

.real-2 .card {
  flex: 0 0 420px;
  scroll-snap-align: start;
  transition: transform 0.3s;
}

.real-2 .card:hover {
  transform: translateY(-8px);
}

.real-2 .card-image {
  height: 280px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  border-radius: 31px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.35);
}

.real-2 .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.real-2 .card:hover .card-image img {
  transform: scale(1.05);
}

/* Responsiveness */
@media (max-width: 900px) {
  .real-2 .card {
    flex: 0 0 270px;
  }
}
@media (max-width: 640px) {
  .real-2 .card {
    flex: 0 0 200px;
  }
}

/* ── TITRES : couleur de survol explicite (CLAUDE.md §4.13) ──────────
   Le main.css des themes stylise les balises Hn, hover compris. Chaque
   titre reprend ici sa couleur de base pour neutraliser cet heritage. */
.real-2 h2:hover {
  color: var(--white);
}

/* mcl-avantages-avantages-5 : components/avantages/avantages-5/avantages-5.css */
/* AVANTAGES 5 - STATS */
.avantages-5 {
  padding: 100px 5%;
  background: var(--white);
}
.avantages-5 .container {
  max-width: 1200px;
  margin: 0 auto;
}
.avantages-5 .top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}
.avantages-5 .eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}
.avantages-5 h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  color: var(--primary);
  margin-bottom: 20px;
}
.avantages-5 .intro {
  color: var(--gray-dark);
  line-height: 1.7;
}
.avantages-5 .stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
/* Trois chiffres (la liste du socle depuis C23-L11) : le troisième sur toute
   la ligne, pas de case vide dans la grille de deux. */
.avantages-5 .stats > .stat:nth-child(3):last-child {
  grid-column: 1 / -1;
}

/* --- Cartes statistiques : bordure, ombre, barre d'accent au survol --- */
.avantages-5 .stat {
  position: relative;
  overflow: hidden;
  background: color-mix(in srgb, var(--gray-light) 55%, var(--white));
  border: 1px solid color-mix(in srgb, var(--gray-dark) 10%, transparent);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  animation: avantages5FadeUp 0.6s ease backwards;
}
.avantages-5 .stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.avantages-5 .stat:nth-child(1) {
  animation-delay: 0.05s;
}
.avantages-5 .stat:nth-child(2) {
  animation-delay: 0.12s;
}
.avantages-5 .stat:nth-child(3) {
  animation-delay: 0.19s;
}
.avantages-5 .stat:nth-child(4) {
  animation-delay: 0.26s;
}
.avantages-5 .stat:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  border-color: color-mix(in srgb, var(--secondary) 45%, transparent);
}
.avantages-5 .stat:hover::before {
  transform: scaleX(1);
}
.avantages-5 .stat-value {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--secondary);
  line-height: 1;
}
.avantages-5 .stat-label {
  font-size: 0.9rem;
  color: var(--gray-dark);
  margin-top: 8px;
}

.avantages-5 .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* --- Cartes avantages : carte surélevée, icône animée au survol --- */
.avantages-5 .item {
  position: relative;
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--gray-dark) 12%, transparent);
  border-radius: 18px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  animation: avantages5FadeUp 0.6s ease backwards;
}
.avantages-5 .item:nth-child(1) {
  animation-delay: 0.1s;
}
.avantages-5 .item:nth-child(2) {
  animation-delay: 0.18s;
}
.avantages-5 .item:nth-child(3) {
  animation-delay: 0.26s;
}
.avantages-5 .item:nth-child(4) {
  animation-delay: 0.34s;
}
.avantages-5 .item:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.14);
  border-color: color-mix(in srgb, var(--secondary) 50%, transparent);
}
.avantages-5 .item-icon {
  width: 56px;
  height: 56px;
  background: var(--secondary);
  border-radius: 16px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--secondary) 35%, transparent);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}
.avantages-5 .item:hover .item-icon {
  transform: translateY(-4px) scale(1.08) rotate(-6deg);
  box-shadow: 0 14px 26px color-mix(in srgb, var(--secondary) 45%, transparent);
}
.avantages-5 .item-icon svg {
  width: 26px;
  height: 26px;
  color: var(--white);
}
.avantages-5 .item h3 {
  font-size: 1rem;
  color: var(--black);
  margin-bottom: 8px;
  font-weight: 600;
}
.avantages-5 .item p {
  font-size: 0.85rem;
  color: var(--gray-dark);
  line-height: 1.6;
}

/* Entrée : fade + montée. fill-mode backwards -> l'élément revient à sa
   règle de base après l'animation, ce qui laisse le :hover piloter le transform. */
@keyframes avantages5FadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .avantages-5 .top {
    grid-template-columns: 1fr;
  }
  .avantages-5 .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .avantages-5 .stats,
  .avantages-5 .grid {
    grid-template-columns: 1fr;
  }
}

/* Accessibilité : neutralise animations et transitions si l'utilisateur le demande */
@media (prefers-reduced-motion: reduce) {
  .avantages-5 .stat,
  .avantages-5 .item,
  .avantages-5 .item-icon,
  .avantages-5 .stat::before {
    animation: none;
    transition: none;
  }
  .avantages-5 .stat,
  .avantages-5 .item {
    opacity: 1;
    transform: none;
  }
}

/* ── TITRES : couleur de survol explicite (CLAUDE.md §4.13) ──────────
   Le main.css des themes stylise les balises Hn, hover compris. Chaque
   titre reprend ici sa couleur de base pour neutraliser cet heritage. */
.avantages-5 .item h3:hover {
  color: var(--black);
}

.avantages-5 h2:hover {
  color: var(--primary);
}

/* Accent du contrat ((…)) : la donnee marque un mot, le composant
   decide de son rendu. Sans cette regle il sort en texte nu, et la
   mise en valeur voulue par le CRM disparait sans erreur. */
.avantages-5 .mcl-accent {
  color: var(--secondary);
  font-weight: 700;
}

/* Accent dans un paragraphe : couleur du texte et gras (le --secondary en
   texte courant passe sous 4,5:1 sur fond clair). */
.avantages-5 .item p .mcl-accent {
  color: inherit;
  font-weight: 700;
}

/* mcl-zones-zones-7 : components/zones/zones-7/zones-7.css */
/* ========================================
   ZONES 10 — GRILLE DE CARDS COMMUNES
   ======================================== */
.zones-7 {
  padding: 100px 5%;
  background: var(--white);
}
.zones-7__inner {
  max-width: 1400px;
  margin: 0 auto;
}

/* Header */
.zones-7__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.zones-7__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 12px;
}

.zones-7__header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  color: var(--primary);
  line-height: 1.2;
}

/* Téléphone */
.zones-7__tel {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity 0.3s;
  /* D-323 : couleur du lien écrite (suki : #0066cc, #333) */
  color: var(--primary);
}
/* D-323 : focus aux valeurs du repos (suki : `a:focus`, `button:focus` (0,1,1)). */
.zones-7__tel:focus {
  background: transparent;
  color: var(--primary);
  border-color: transparent;
}
.zones-7__tel:hover {
  opacity: 0.75;
  background: transparent;
  color: var(--primary);
  border-color: transparent;
}
/* Focus clavier : suki retire le contour (`html :focus`). Anneau à deux
   tons (WCAG C40), lisible quelle que soit la charte (D-323). */
.zones-7__tel:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}
.zones-7__tel-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.zones-7__tel-icon svg {
  width: 22px;
  height: 22px;
  color: var(--secondary);
}
.zones-7__tel small {
  display: block;
  font-size: 0.72rem;
  color: var(--gray-dark);
  margin-bottom: 2px;
}
.zones-7__tel strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--primary);
  letter-spacing: 0.05em;
}

/* Grille de cards */
.zones-7__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.zones-7__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 18px;
  background: var(--gray-light);
  border: 1.5px solid transparent;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
}
.zones-7__card:hover {
  border-color: var(--secondary);
  background: var(--white);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.zones-7__card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.zones-7__card-top svg {
  width: 20px;
  height: 20px;
  color: var(--secondary);
}
.zones-7__card-cp {
  font-size: 0.72rem;
  color: var(--gray-dark);
  font-weight: 600;
  background: var(--white);
  padding: 3px 8px;
  border-radius: 50px;
}

.zones-7__card-name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  line-height: 1.3;
}

.zones-7__card-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gray-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: auto;
  transition: color 0.2s;
}
.zones-7__card:hover .zones-7__card-cta {
  color: var(--secondary);
}
.zones-7__card-cta svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}
.zones-7__card:hover .zones-7__card-cta svg {
  transform: translateX(3px);
}

/* Responsive */
@media (max-width: 1440px) {
  .zones-7__grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media (max-width: 768px) {
  .zones-7__header {
    flex-direction: column;
    align-items: flex-start;
  }
  .zones-7__grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}
@media (max-width: 480px) {
  .zones-7__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 12px;
  }
  .zones-7__card {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 16px 12px;
  }
}

/* ── TITRES : couleur de survol explicite (CLAUDE.md §4.13) ──────────
   Le main.css des themes stylise les balises Hn, hover compris. Chaque
   titre reprend ici sa couleur de base pour neutraliser cet heritage. */
.zones-7__header h2:hover {
  color: var(--primary);
}

/* Accent : contrat ((…)) — voir hero-1. Le titre de ville portait un <strong>
   dans la donnee ; la mise en gras devient une regle, la donnee un marqueur. */
.zones-7 .mcl-accent {
  font-weight: 700;
  color: var(--secondary);
}

/* mcl-contacts-main : components/contacts/main.css */
/* ===========================================
    SÉLECTION SERVICES - CHECKBOXES STYLISÉES
    =========================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 12px;
}
/* ── REGROUPEMENT PAR METIER ──────────────────────────────────────────
   Treize cases a cocher de deux metiers melanges ne se lisent pas. Un
   intitule de metier ouvre donc chaque serie, sur toute la largeur de la
   grille.

   MONO-METIER : le conteneur passe en `display: contents`, les cases
   redeviennent enfants directs de la grille, et le formulaire est celui
   d'avant — c'est la condition pour deployer sur le parc.

   LA COULEUR : rampe entre les deux couleurs de marque, posee en ligne par le
   PHP (`--m-melange`). Aucune couleur en dur, aucune variable ajoutee. */
.services-grid__metier-bloc {
  --m-couleur: color-mix(in oklab, var(--primary), var(--secondary) var(--m-melange, 0%));
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.services-grid__metier {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 0;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--m-couleur);
}
/* Le filet prolonge l'intitule jusqu'au bord : la coupure se voit sans
   qu'aucun cadre n'alourdisse le formulaire. */
.services-grid__metier::after {
  content: "";
  flex: 1;
  height: 1px;
  background: color-mix(in srgb, var(--m-couleur) 30%, transparent);
}
/* Apres la regle de base : meme specificite, c'est l'ordre qui tranche. */
.services-grid__metier-bloc--nu {
  display: contents;
}

.service-checkbox {
  position: relative;
}
.service-checkbox input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.service-checkbox label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--white-transparent);
  border: 2px solid var(--gray-light);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
}
.service-checkbox label:hover {
  border-color: color-mix(in srgb, var(--secondary) 45%, transparent);
  background: color-mix(in srgb, var(--gray-light) 55%, var(--white));
}
.service-checkbox input:checked + label {
  border-color: var(--secondary);
  background: color-mix(in srgb, var(--secondary) 10%, transparent);
}
.service-checkbox input:focus-visible + label {
  /* Anneau à deux tons (WCAG C40) : en --secondary à 60 %, 1,3:1 sur blanc
     avec une charte jaune (C70-L10). */
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}
.service-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.service-checkbox input:checked + label .service-icon {
  background: var(--primary);
  border-color: var(--primary);
}
.service-icon svg {
  width: 20px;
  height: 20px;
  color: var(--gray-dark);
  transition: color 0.3s ease;
}
.service-checkbox input:checked + label .service-icon svg {
  color: var(--white);
}
.service-info {
  flex: 1;
}
.service-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray-dark);
  display: block;
}
.service-check {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border: 2px solid var(--gray-light);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.service-checkbox input:checked + label .service-check {
  background: var(--primary);
  border-color: var(--primary);
}
.service-check svg {
  width: 14px;
  height: 14px;
  color: var(--white);
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s ease;
}
.service-checkbox input:checked + label .service-check svg {
  opacity: 1;
  transform: scale(1);
}

[data-contact] .contact-overlay {
  position: absolute;
  inset: 0;
  background-color: var(--black);
  mix-blend-mode: normal;
  opacity: 0.8;
}
[data-contact] .bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 640px) {
  .services-grid,
  .services-grid__metier-bloc {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* ============================================
   OPTION DE FORMULAIRE (hors catalogue de services)
   ============================================ */

/* Se coche comme un service, mais se distingue visuellement : ce n'est pas une
   prestation du catalogue, c'est une offre proposée dans le formulaire. */
.service-checkbox--option label {
  border-style: dashed;
  border-color: color-mix(in srgb, var(--primary) 55%, transparent);
  background: color-mix(in srgb, var(--primary) 7%, transparent);
}

.service-checkbox--option label:hover {
  border-color: var(--primary);
}

.service-checkbox--option input:checked + label {
  border-style: solid;
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 16%, transparent);
}

.service-checkbox--option input:checked + label .service-check {
  background: var(--primary);
  color: var(--on-primary);
}

/* D-42 : l'accent ((…)) d'un titre de l'offre (service, sous-service,
   atout, étape) garde la couleur du texte qui le porte et passe en italique. */
.services-grid .service-name .mcl-accent {
  color: inherit;
  font-style: italic;
}

/* mcl-contacts-contact-1 : components/contacts/contact-1/contact-1.css */
/* CONTACT 1 - SPLIT LAYOUT */
.contact-1 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 700px;
}
.contact-1 .container {
  position: relative;
}
.contact-1 .info {
  background: var(--primary);
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.contact-1 .eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}
.contact-1 h2,
.contact-1 .contact-1__titre {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--white);
  margin-bottom: 20px;
}
/* LE PARAGRAPHE D'INTRODUCTION, ET LUI SEUL.
   C'etait `.contact-1 p` — une balise nue, donc (0,2,0), qui attrapait TOUT
   <p> rendu a l'interieur de la section, y compris ceux qui viennent
   d'ailleurs. Les sous-composants du formulaire en emettent : le plus visible
   etait `p.services-grid__metier` (0,1,0), dont le `color: var(--m-couleur)`
   se faisait ecraser par ce blanc — un intitule de metier blanc sur la carte
   blanche du formulaire, donc invisible, et seulement sur les sites
   multi-metiers. */
.contact-1 .contact-1__description {
  color: var(--white);
  line-height: 1.7;
  margin-bottom: 20px;
}
.contact-1 .contact-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-1 .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-1 .contact-icon {
  width: 50px;
  height: 50px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-1 .contact-icon svg {
  width: 22px;
  height: 22px;
  color: var(--secondary);
}
.contact-1 .contact-item h4 {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 4px;
}
.contact-1 .contact-item p,
.contact-1 .contact-item a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
  /* Un texte long passe à la ligne, coupé n'importe où s'il n'a pas
     d'espace : il ne sort jamais du panneau (D-276). */
  overflow-wrap: anywhere;
}
.contact-1 .contact-item a:focus {
  background: transparent;
  color: var(--white);
  border-color: transparent;
}
.contact-1 .contact-item a:hover {
  color: var(--secondary);
  background: transparent;
  border-color: transparent;
}
/* Focus clavier : suki retire le contour (`html :focus`). Anneau à deux
   tons (WCAG C40), lisible quelle que soit la charte (D-323). */
.contact-1 .contact-item a:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}
.contact-1 .form-section {
  background: var(--white);
  padding: 80px 60px;
}
.contact-1 .form-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--black);
  margin-bottom: 8px;
}
.contact-1 .form-subtitle {
  color: var(--gray-dark);
  margin-bottom: 32px;
}
/* Le formulaire devient une boîte élevée (box-in-a-box) */
.contact-1 form {
  background: color-mix(in srgb, var(--gray-light) 32%, var(--white));
  padding: 36px;
  border-radius: 20px;
  border: 1px solid var(--gray-light);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.1);
}
.contact-1 .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-1 .form-group {
  margin-bottom: 20px;
}
.contact-1 .form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 8px;
}
.contact-1 .form-input,
.contact-1 .form-select,
.contact-1 .form-textarea {
  width: 100%;
  padding: 15px 16px;
  background: var(--white);
  border: 1.5px solid var(--gray-light);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--black);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
/* Champ au focus : la bordure passe en --primary (D-323). En --secondary,
   elle tombait à 1,1-1,6:1 sur blanc avec une charte jaune (C70-L10). */
.contact-1 .form-input:focus,
.contact-1 .form-select:focus,
.contact-1 .form-textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 20%, transparent);
  transform: translateY(-1px);
}
.contact-1 .form-input::placeholder,
.contact-1 .form-textarea::placeholder {
  color: color-mix(in srgb, var(--gray-dark) 60%, transparent);
}
.contact-1 .form-textarea {
  min-height: 120px;
  resize: vertical;
}
.contact-1 .form-submit {
  width: 100%;
  padding: 16px;
  background: var(--secondary);
  color: var(--on-secondary);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
/* D-323 : focus aux valeurs du repos (suki : `a:focus`, `button:focus` (0,1,1)). */
.contact-1 .form-submit:focus {
  background: var(--secondary);
  color: var(--on-secondary);
  border-color: transparent;
}
.contact-1 .form-submit:hover {
  background: var(--primary);
  color: var(--on-primary);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
  border-color: transparent;
}
/* Anneau à deux tons (WCAG C40), lisible quelle que soit la charte (D-323). */
.contact-1 .form-submit:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}
@media (max-width: 1024px) {
  .contact-1 {
    grid-template-columns: 1fr;
  }
  .contact-1 .info,
  .contact-1 .form-section {
    padding: 60px 30px;
  }
}
@media (max-width: 640px) {
  .contact-1 .form-row {
    grid-template-columns: 1fr;
  }
}

/* ── TITRES : couleur de survol explicite (CLAUDE.md §4.13) ──────────
   Le main.css des themes stylise les balises Hn, hover compris. Chaque
   titre reprend ici sa couleur de base pour neutraliser cet heritage. */
.contact-1 .form-title:hover {
  color: var(--black);
}

.contact-1 .contact-item h4:hover,
.contact-1 h2:hover,
.contact-1 .contact-1__titre:hover {
  color: var(--white);
}

/* Le <h1> de la page Contact (D-157) : le titre du formulaire, même rendu que
   son <h2>. Seule la hauteur de ligne du thème diffère entre h1 et h2 (Suki :
   1.3 contre 1.4) ; on reprend celle du <h2>. La classe n'est posée que sur
   le <h1>. */
.contact-1 .contact-1__titre {
  line-height: 1.4;
}

/* mcl-contacts/logo-modale-logo-modale : components/contacts/logo-modale/logo-modale.css */
/* MARQUE DE LA MODALE - LOGO EN TETE DE FORMULAIRE */

/*
 * Sous-composant en cascade (§4.12) : les feuilles de `contacts` ciblent des
 * elements generiques descendants. Chaque regle est donc qualifiee par le bloc
 * racine PLUS l'element — `.logo-modale img.logo-modale__image` pese (0,2,1) —
 * comme le font deja `mention-donnees` et `upload-zone`.
 */

.logo-modale {
  margin-bottom: 20px;
}

.logo-modale img.logo-modale__image {
  display: block;
  max-height: 54px;
  width: auto;
}

/* Repli texte : sans logo, la raison sociale tient le role d'en-tete. Elle
   porte sa couleur, sinon le main.css du theme la sort en gris (§4.13). */
.logo-modale span.logo-modale__texte {
  display: block;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.2;
}

/* mcl-contacts/points-forts-points-forts : components/contacts/points-forts/points-forts.css */
/* POINTS FORTS - PASTILLES DE REASSURANCE EN TETE DE MODALE */

/*
 * Sous-composant en cascade (§4.12). Les feuilles de `contacts` ciblent des
 * elements generiques descendants (`.contact-3 .contact-box a`, (0,2,1)) : une
 * classe nue perdrait. Chaque regle est donc qualifiee par le bloc racine PLUS
 * l'element — `.points-forts li.points-forts__item` pese (0,2,1) — exactement
 * comme le fait deja `mention-donnees`.
 *
 * DEUX REGLAGES SONT LAISSES AU PARENT, lus AVEC REPLI dans le var() et jamais
 * declares ici : une variable posee sur l'element lui-meme l'emporterait sur
 * celle heritee du parent, et l'ecriture du parent n'aurait aucun effet.
 *
 *   --points-forts-align   alignement de la rangee. Repli `flex-start`, le cas
 *                          courant ; `contact-4` et `contact-5`, dont le
 *                          formulaire est centre, posent `center`.
 *   --points-forts-teinte  couleur d'accent. Repli `--secondary`, la couleur
 *                          d'accent des cinq variantes.
 *
 * LA COULEUR DE TEXTE N'EST PAS UNE VARIABLE. Les cinq formulaires posent le
 * bloc sur un fond clair (`--white`, ou un `color-mix` de `--gray-light` vers
 * le blanc), y compris `contact-3` dont la section est `--primary` mais dont la
 * carte de formulaire est blanche (§4.13 : verifier le fond REEL). `--primary`
 * sur ce fond est donc juste partout ; le jour ou un parent sombre voudra ce
 * bloc, il faudra une variable — pas une devinette.
 */

.points-forts {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: var(--points-forts-align, flex-start);
}

.points-forts li.points-forts__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--points-forts-teinte, var(--secondary)) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--points-forts-teinte, var(--secondary)) 30%, transparent);
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
}

.points-forts span.points-forts__icone {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--points-forts-teinte, var(--secondary));
}

.points-forts .points-forts__icone svg {
  width: 18px;
  height: 18px;
  color: var(--points-forts-teinte, var(--secondary));
}

/* Porte sa couleur meme si le parent stylise les `span` du formulaire. */
.points-forts span.points-forts__libelle {
  color: var(--primary);
  font-family: var(--font-body);
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

/* Pas de bascule au breakpoint : la rangee se replie d'elle-meme (`flex-wrap`),
   et forcer une pastille par ligne sur mobile empilerait quatre rangees au-dessus
   du premier champ de la modale — le formulaire passerait sous la ligne de
   flottaison avant d'avoir commence. */

/* Accent du contrat ((…)) : la donnée du socle marque un mot, le composant
   décide de son rendu (sans cette règle il sort en texte nu). */
/* Préfixe bloc + élément : l'hôte (contact, modale) ne doit pas l'emporter. */
.points-forts span.points-forts__libelle .mcl-accent {
  color: inherit;
  font-weight: 700;
}

/* mcl-contacts/suivi-formulaire-suivi-formulaire : components/contacts/suivi-formulaire/suivi-formulaire.css */
/* SUIVI DU FORMULAIRE - ETATS : RESUME D'ERREURS, CONFIRMATION */

/*
 * Sous-composant en cascade (§4.12) : chaque regle est qualifiee par le bloc
 * racine PLUS l'element, pour peser (0,2,1) et ne rien heriter d'une feuille
 * hote qui ciblerait ses descendants.
 *
 * Couleurs : lues par variables AVEC REPLI, comme `mention-donnees`. Le repli
 * est le cas courant (formulaire sur fond clair) ; un hote sur un autre fond
 * pose la variable sur SON conteneur.
 *
 *   --suivi-formulaire-texte   texte courant          (repli : --black)
 *   --suivi-formulaire-fond    fond des encarts       (repli : lavis de --secondary)
 *   --suivi-formulaire-accent  icone de confirmation  (repli : --primary)
 *   --suivi-formulaire-erreur  resume d'erreurs       (repli : rouge de sens)
 *
 * Le RETOUR EN ERREUR (C17-L12) porte son propre fond opaque et clair : il
 * se lit sur n'importe quel hote (carte blanche d'un contact, carte d'un
 * hero sur photo, tiroir d'un configurateur) sans que l'hote ait rien a
 * declarer.
 */
/* `__champ-erreur` (C91-L5) vit sous un champ, hors du bloc : il recoit
   la meme couleur de sens. */
.suivi-formulaire,
.suivi-formulaire__champ-erreur {
  /* Rouge d'ERREUR : couleur de sens, pas de charte (§4.1). Un « champ
     manquant » reste rouge sur un site vert. Jamais seul : le texte dit
     toujours quoi corriger. */
  --suivi-formulaire-erreur-sens: #9f2f24;
}

.suivi-formulaire div.suivi-formulaire__confirmation {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin: 0 0 1.5rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid color-mix(in srgb, var(--suivi-formulaire-texte, var(--black)) 14%, transparent);
  border-radius: 14px;
  background: var(--suivi-formulaire-fond, color-mix(in srgb, var(--secondary) 14%, var(--white)));
  color: var(--suivi-formulaire-texte, var(--black));
}

.suivi-formulaire div.suivi-formulaire__confirmation:focus-visible {
  outline: 2px solid var(--suivi-formulaire-accent, var(--primary));
  outline-offset: 3px;
}

.suivi-formulaire span.suivi-formulaire__confirmation-icone {
  display: inline-flex;
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  color: var(--suivi-formulaire-accent, var(--primary));
}

.suivi-formulaire span.suivi-formulaire__confirmation-icone svg {
  width: 100%;
  height: 100%;
}

.suivi-formulaire span.suivi-formulaire__confirmation-corps {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.suivi-formulaire span.suivi-formulaire__confirmation-titre {
  color: var(--suivi-formulaire-texte, var(--black));
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.2;
}

.suivi-formulaire span.suivi-formulaire__confirmation-texte {
  color: var(--suivi-formulaire-texte, var(--black));
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.6;
}

.suivi-formulaire p.suivi-formulaire__statut {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  background: var(--suivi-formulaire-fond, color-mix(in srgb, var(--secondary) 14%, var(--white)));
  color: var(--suivi-formulaire-texte, var(--black));
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
}

.suivi-formulaire p.suivi-formulaire__statut[hidden] {
  display: none;
}

/* Resume d'erreurs : un filet et une icone ecrite en texte, pas un aplat
   rouge — il doit se lire sans la couleur. */
.suivi-formulaire p.suivi-formulaire__statut--erreur {
  border-left: 3px solid var(--suivi-formulaire-erreur, var(--suivi-formulaire-erreur-sens));
  color: var(--suivi-formulaire-texte, var(--black));
}

/* Retour en erreur de sendmail.php (?error=<codes>) : un filet, une icone et
   un titre ecrits, sur un fond clair opaque. Le rouge n'est jamais seul. */
.suivi-formulaire div.suivi-formulaire__erreur {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 1.25rem;
  padding: 1rem 1.15rem;
  border: 1px solid color-mix(in srgb, var(--suivi-formulaire-erreur, var(--suivi-formulaire-erreur-sens)) 35%, transparent);
  border-left: 4px solid var(--suivi-formulaire-erreur, var(--suivi-formulaire-erreur-sens));
  border-radius: 12px;
  background: color-mix(in srgb, var(--suivi-formulaire-erreur, var(--suivi-formulaire-erreur-sens)) 7%, var(--white));
  color: var(--black);
  text-align: left;
}

/* Le focus est pose par le script au retour : anneau a l'interieur du
   cadre, qu'un hote en `overflow: hidden` ne rogne pas. */
.suivi-formulaire div.suivi-formulaire__erreur:focus-visible {
  outline: 2px solid var(--suivi-formulaire-erreur, var(--suivi-formulaire-erreur-sens));
  outline-offset: -5px;
}

.suivi-formulaire div.suivi-formulaire__erreur[hidden] {
  display: none;
}

.suivi-formulaire span.suivi-formulaire__erreur-icone {
  display: inline-flex;
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--suivi-formulaire-erreur, var(--suivi-formulaire-erreur-sens));
}

.suivi-formulaire span.suivi-formulaire__erreur-icone svg {
  width: 100%;
  height: 100%;
}

.suivi-formulaire span.suivi-formulaire__erreur-corps {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.suivi-formulaire span.suivi-formulaire__erreur-titre {
  color: var(--black);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: normal;
}

.suivi-formulaire span.suivi-formulaire__erreur-texte,
.suivi-formulaire span.suivi-formulaire__erreur-point {
  color: var(--black);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.5;
  text-transform: none;
  letter-spacing: normal;
}

.suivi-formulaire span.suivi-formulaire__erreur-liste {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.suivi-formulaire span.suivi-formulaire__erreur-point {
  position: relative;
  padding-left: 1rem;
}

.suivi-formulaire span.suivi-formulaire__erreur-point::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.62em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: currentColor;
}

.suivi-formulaire span.suivi-formulaire__erreur-aide {
  color: var(--gray-dark);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  text-transform: none;
  letter-spacing: normal;
}

/*
 * Erreur AU CHAMP des hotes a validation native (contacts 1 a 5, heros 1, 2,
 * 5, configurateurs ; D-445, EX-190, lot C91-L5) : telephone ou code postal
 * pas du pays du site. Creee par le script sous le champ, jamais dans le
 * HTML servi. Hors du bloc `.suivi-formulaire` : qualifiee par le <form> et
 * son attribut (0,2,2) pour ne rien heriter de l'hote (`.form-card p`). Fond
 * clair opaque et filet : elle se lit sur une carte blanche comme sur un
 * hero sur photo, et jamais par la couleur seule (le texte dit quoi faire).
 */
form p.suivi-formulaire__champ-erreur[data-suivi-champ-erreur] {
  box-sizing: border-box;
  max-width: 100%;
  margin: 0.4rem 0 0;
  padding: 0.45rem 0.75rem;
  border: 0;
  border-left: 3px solid var(--suivi-formulaire-erreur, var(--suivi-formulaire-erreur-sens));
  border-radius: 8px;
  background: color-mix(in srgb, var(--suivi-formulaire-erreur, var(--suivi-formulaire-erreur-sens)) 8%, var(--white));
  color: var(--black);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
  text-transform: none;
  letter-spacing: normal;
  overflow-wrap: anywhere;
}

form p.suivi-formulaire__champ-erreur[data-suivi-champ-erreur][hidden] {
  display: none;
}

/*
 * Le message ne déforme pas les champs voisins (relecture C91-L5, mineur 1).
 * Dans une rangée de champs en grille (configurateurs 1 et 2 : `__ligne`
 * de `__champ` en `display: grid`), la case du champ en erreur grandit, la
 * rangée avec elle, et chaque champ voisin ÉTIRAIT ses pistes : son input
 * passait de 78 à 115 px. Tant qu'un message est affiché, les frères du
 * champ qui le porte gardent leurs pistes en haut (`align-content: start`) ;
 * aucun effet sur un bloc ordinaire, ni quand le message est masqué.
 * `> * > p` et non `:has(> :has(…))` : un :has() ne s'imbrique pas (la
 * règle entière serait ignorée).
 */
form :has(> * > p.suivi-formulaire__champ-erreur[data-suivi-champ-erreur]:not([hidden])) > * {
  align-content: start;
}

/* mcl-contacts/subservices-subservices : components/contacts/subservices/subservices.css */
/* SUBSERVICES - SOUS-SERVICES OPTIONNELS, COMPACTS, GROUPES PAR SERVICE */

/* Sous-composant en cascade : le CSS des contacts et des heros cible des
   elements generiques descendants (`.contact-1 p` en (0,1,1)). Chaque regle est
   donc qualifiee par le bloc racine + l'element pour passer devant. (§4.12) */

.subservices[hidden] {
  display: none;
}

.subservices {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px dashed color-mix(in srgb, var(--gray-dark) 34%, transparent);
  /* Fond OPAQUE : le panneau decide de ses propres contrastes (§4.14). En
     transparence, il prenait la teinte de son hote — gris moyen sur la carte
     sombre des heros 1, 2, 5, ou l'intro --gray-dark devenait illisible. */
  background: color-mix(in srgb, var(--gray-light) 40%, var(--white));
}

/* Suivi d'un champ (heros 1, 2, 5, modale) : de l'air avant lui. Dernier de
   son conteneur (contacts, via services-grid), l'hote espace deja. */
.subservices:not(:last-child) {
  margin-bottom: 16px;
  animation: subservicesDeplier 0.28s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.subservices p.subservices__intro {
  margin: 0 0 10px;
  font-family: var(--font-modern);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gray-dark);
  line-height: 1.4;
}

.subservices .subservices__group[hidden] {
  display: none;
}

.subservices .subservices__group + .subservices__group {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid color-mix(in srgb, var(--gray-dark) 18%, transparent);
}

.subservices p.subservices__titre {
  margin: 0 0 7px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
  color: var(--black);
  line-height: 1.3;
}

.subservices .subservices__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.subservices .subservice-checkbox {
  position: relative;
}

/* La case native reste focusable mais invisible : le label fait la pastille. */
.subservices .subservice-checkbox input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.subservices label.subservice-checkbox__label,
.subservices .subservice-checkbox label {
  display: inline-block;
  margin: 0;
  padding: 5px 11px;
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--gray-dark) 30%, transparent);
  border-radius: 999px;
  color: var(--gray-dark);
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: normal;
  text-transform: none;
  cursor: pointer;
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.subservices .subservice-checkbox label:hover {
  border-color: var(--secondary);
  color: var(--black);
}

.subservices .subservice-checkbox input:checked + label {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--on-secondary);
}

.subservices .subservice-checkbox input:focus-visible + label {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

@keyframes subservicesDeplier {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .subservices {
    animation: none;
  }
}

/* D-42 : l'accent ((…)) d'un titre de l'offre (service, sous-service,
   atout, étape) garde la couleur du texte qui le porte et passe en italique. */
.subservices .subservices__titre .mcl-accent,
.subservices .subservice-checkbox label .mcl-accent {
  color: inherit;
  font-style: italic;
}

/* mcl-contacts/mention-donnees-mention-donnees : components/contacts/mention-donnees/mention-donnees.css */
/* MENTION D'INFORMATION - PIED DE FORMULAIRE, TON DE NOTE DE BAS DE PAGE */

/*
 * Sous-composant en cascade (§4.12) : les feuilles de `contacts` et de `heros`
 * ciblent des elements generiques descendants — `.contact-1 p` pese (0,2,0) et
 * ecraserait une classe nue. Chaque regle est donc qualifiee par le bloc racine
 * PLUS l'element (`.mention-donnees p.mention-donnees__texte`, (0,2,1)), comme
 * le fait deja upload-zone.
 *
 * LA COULEUR NE PEUT PAS ETRE DECIDEE ICI. Le meme bloc se pose sur une carte
 * blanche (contact-1..5), sur une carte de verre au-dessus d'un hero sombre
 * (hero-1, hero-2) et sur un aplat --primary (hero-5) : une valeur en dur
 * serait juste une fois sur trois. Le sous-composant expose donc deux
 * variables, LUES AVEC REPLI : le cas courant — fond clair — est le repli, et
 * chaque parent qui n'est pas dans ce cas pose la variable sur SON conteneur de
 * formulaire, d'ou elle descend par heritage.
 *
 * Le repli est dans le var(), PAS dans une declaration sur .mention-donnees :
 * une variable posee sur l'element lui-meme l'emporterait sur celle heritee du
 * parent, et l'ecriture du parent n'aurait aucun effet — c'est exactement ce
 * qui a laisse la mention en gris sur l'aplat --primary de hero-5.
 */
.mention-donnees {
  margin-top: 14px;
}

.mention-donnees p.mention-donnees__texte {
  margin: 0;
  color: var(--mention-donnees-couleur, var(--gray-dark));
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.55;
}

/* L'etoile rappelle la note de bas de page : elle se detache sans crier. */
.mention-donnees span.mention-donnees__etoile {
  margin-right: 2px;
  color: var(--mention-donnees-lien, var(--secondary));
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
}

/* Reset explicite (§4.6) : le main.css du theme stylise les liens. */
.mention-donnees a.mention-donnees__lien {
  color: var(--mention-donnees-lien, var(--secondary));
  font-family: inherit;
  font-size: inherit;
  font-weight: 600;
  line-height: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

/* D-323 : focus aux valeurs du repos. */
.mention-donnees a.mention-donnees__lien:focus {
  background: none;
  color: var(--mention-donnees-lien, var(--secondary));
  border-color: transparent;
}
.mention-donnees a.mention-donnees__lien:hover {
  color: var(--mention-donnees-lien, var(--secondary));
  text-decoration: none;
}

/* Anneau à deux tons (WCAG C40), lisible quelle que soit la charte (D-323). */
.mention-donnees a.mention-donnees__lien:focus-visible {
  border-radius: 2px;
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}

/* mcl-faqs-faq-6 : components/faqs/faq-6/faq-6.css */
/* FAQ 6 - REMPLISSAGE & DÉBORDEMENT À L'OUVERTURE */
.faq-6 {
  padding: 100px 5%;
  background: var(--white);
}
.faq-6 .container {
  max-width: 900px;
  margin: 0 auto;
}
.faq-6 .header {
  margin-bottom: 60px;
}
.faq-6 .eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}
.faq-6 h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--primary);
}

/* Conteneur bordé (border 4px primary, coins arrondis) */
.faq-6 .faq-6__list {
  border: 4px solid var(--primary);
  border-radius: 12px;
}
/* Filet supérieur retiré quand la 1re question est ouverte : le remplissage
   primary atteint le haut et absorbe la bordure (fidèle à la source React). */
.faq-6 .faq-6__list:has(> .faq-6__item:first-child.active) {
  border-top-color: transparent;
}

/* Séparateur primary entre items (sauf le 1er), retiré quand actif */
.faq-6 .faq-6__item {
  border-top: 2px solid var(--primary);
}
.faq-6 .faq-6__item:first-child {
  border-top-width: 0;
}
.faq-6 .faq-6__item.active {
  border-top-color: transparent;
}

/* Bouton question : reset explicite + position pour le fond scalable */
.faq-6 .faq-6__btn {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(1rem, 3vw, 1.5rem) clamp(1rem, 5vw, 3rem);
  background: none;
  border: 0;
  color: inherit;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  /* D-323 : couleur écrite ; sans elle, suki donnait la sienne (#666, blanc au survol) */
  color: var(--black);
}
/* D-323 : survol et focus aux valeurs du repos (suki : `a:hover, a:focus`,
   `button:hover, button:focus` (0,1,1)). */
.faq-6 .faq-6__btn:hover,
.faq-6 .faq-6__btn:focus {
  background: none;
  color: var(--black);
  border-color: transparent;
}
/* Anneau à deux tons (WCAG C40), lisible quelle que soit la charte (D-323). */
.faq-6 .faq-6__btn:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}

/* Fond scalable : se remplit de primary et DÉBORDE sur les côtés à l'ouverture */
.faq-6 .faq-6__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 8px;
  background: transparent;
  transform: scaleX(1);
  transform-origin: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.faq-6 .faq-6__btn:hover .faq-6__bg {
  background: color-mix(in srgb, var(--primary) 12%, transparent);
}
.faq-6 .faq-6__item.active .faq-6__btn .faq-6__bg {
  background: var(--primary);
  transform: scaleX(1.05);
}

/* Contenu du bouton au-dessus du fond */
.faq-6 .faq-6__question,
.faq-6 .faq-6__icon {
  position: relative;
  z-index: 1;
}
.faq-6 .faq-6__question {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
  color: var(--black);
  transition: color 0.3s ease;
}
.faq-6 .faq-6__item.active .faq-6__question {
  color: var(--white);
}

/* Icône plus -> minus : la barre verticale disparaît à l'ouverture */
.faq-6 .faq-6__icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: color 0.3s ease;
}
.faq-6 .faq-6__icon svg {
  width: 22px;
  height: 22px;
}
.faq-6 .faq-6__icon-v {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.faq-6 .faq-6__item.active .faq-6__icon {
  color: var(--white);
}
.faq-6 .faq-6__item.active .faq-6__icon-v {
  transform: scaleY(0);
  opacity: 0;
}

/* Réponse : hauteur animée (hook partagé .accordion-content) */
.faq-6 .faq-6__content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 clamp(1rem, 5vw, 3rem);
  transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
}
.faq-6 .faq-6__item.active .faq-6__content {
  max-height: 300px;
  opacity: 1;
  padding-top: 16px;
  padding-bottom: 24px;
}
.faq-6 .faq-6__content p {
  color: var(--gray-dark);
  line-height: 1.7;
}

@media (max-width: 480px) {
  .faq-6 .faq-6__btn {
    gap: 12px;
  }
}

/* ── TITRES : couleur de survol explicite (CLAUDE.md §4.13) ──────────
   Le main.css des themes stylise les balises Hn, hover compris. Chaque
   titre reprend ici sa couleur de base pour neutraliser cet heritage. */
.faq-6 h2:hover {
  color: var(--primary);
}

.faq-6 .faq-6__item.active .faq-6__question:hover {
  color: var(--white);
}

/* mcl-actualites-actualites-3 : components/actualites/actualites-3/actualites-3.css */
/* ============================================================
   Actualités 3 — livre feuilletable (double-page, flip 1 page)
   ============================================================ */
.mcl-actualites-3 {
  --act3-spine: 18px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* En-tête : titre + navigation */
.mcl-actualites-3 .act3-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.mcl-actualites-3 .act3-heading {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary);
}
.mcl-actualites-3 .act3-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.mcl-actualites-3 .act3-indicator {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--gray-dark);
  min-width: 56px;
  text-align: center;
}
.mcl-actualites-3 .act3-arrow {
  width: 50px;
  height: 50px;
  padding: 0;
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: 50%;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
/* D-323 : survol et focus aux valeurs du repos (suki : `a:hover, a:focus`,
   `button:hover, button:focus` (0,1,1)). */
.mcl-actualites-3 .act3-arrow:hover,
.mcl-actualites-3 .act3-arrow:focus {
  background: var(--white);
  color: var(--primary);
  border-color: var(--primary);
}
.mcl-actualites-3 .act3-arrow svg {
  width: 24px;
  height: 24px;
}
.mcl-actualites-3 .act3-arrow:hover:not(:disabled) {
  background: var(--primary);
  color: var(--on-primary);
  transform: translateY(-2px);
}
/* Anneau à deux tons (WCAG C40), lisible quelle que soit la charte (D-323). */
.mcl-actualites-3 .act3-arrow:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}
.mcl-actualites-3 .act3-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

/* Filtres par catégorie */
.mcl-actualites-3 .act3-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}
.mcl-actualites-3 .act3-filter {
  padding: 8px 16px;
  border: 1px solid var(--gray-light);
  border-radius: 999px;
  background: var(--white);
  color: var(--gray-dark);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
/* D-323 : focus aux valeurs du repos (suki : `a:focus`, `button:focus` (0,1,1)). */
.mcl-actualites-3 .act3-filter:focus {
  background: var(--white);
  color: var(--gray-dark);
  border-color: var(--gray-light);
}
.mcl-actualites-3 .act3-filter:hover {
  border-color: var(--secondary);
  color: var(--primary);
  background: var(--white);
}
.mcl-actualites-3 .act3-filter.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--on-primary);
}
/* Anneau à deux tons (WCAG C40), lisible quelle que soit la charte (D-323). */
.mcl-actualites-3 .act3-filter:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}

/* ---- Le livre ---- */
.mcl-actualites-3 .act3-book {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  /* Couverture uniforme : les tranches de pages débordent de ~15px sur les
     côtés, on ajoute donc 15px au padding latéral pour un liseré égal partout. */
  padding: 16px 31px;
  perspective: 2600px;
}

/* Couverture (visible autour des pages, vue de dessus) */
.mcl-actualites-3 .act3-cover {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--white) 12%, var(--primary)), var(--primary) 60%);
  border-radius: 12px;
  box-shadow: 0 34px 80px -30px rgba(0, 0, 0, 0.6);
  z-index: 0;
}

/* Bloc des pages */
.mcl-actualites-3 .act3-pages {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(520px, 60vh, 600px);
  background: transparent;
  border-radius: 10px;
  transform-style: preserve-3d;
  /* Épaisseur : tranches de pages empilées à gauche et à droite */
  box-shadow:
    -4px 0 0 var(--white), -5px 0 0 var(--gray-light),
    -9px 0 0 var(--white), -10px 0 0 var(--gray-light),
    -14px 0 0 var(--white), -15px 0 0 var(--gray-light),
    4px 0 0 var(--white), 5px 0 0 var(--gray-light),
    9px 0 0 var(--white), 10px 0 0 var(--gray-light),
    14px 0 0 var(--white), 15px 0 0 var(--gray-light);
}

/* Pages */
.mcl-actualites-3 .act3-page {
  box-sizing: border-box;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
}
/* Coins arrondis extérieurs (impression de pages) + simple trait de séparation
   au centre porté par les pages (donc hérité par la feuille qui tourne : aucun snap). */
.mcl-actualites-3 .act3-page--left {
  border-radius: 10px 0 0 10px;
  border-right: 1px solid color-mix(in srgb, var(--gray-dark) 26%, var(--white));
  background: linear-gradient(to right, var(--white) 66%, color-mix(in srgb, var(--gray-dark) 10%, var(--white)));
  box-shadow: inset -16px 0 24px -16px rgba(0, 0, 0, 0.16);
}
.mcl-actualites-3 .act3-page--right {
  border-radius: 0 10px 10px 0;
  border-left: 1px solid color-mix(in srgb, var(--gray-dark) 26%, var(--white));
  background: linear-gradient(to left, var(--white) 66%, color-mix(in srgb, var(--gray-dark) 10%, var(--white)));
  box-shadow: inset 16px 0 24px -16px rgba(0, 0, 0, 0.16);
}

/* ---- La page qui tourne (feuille) ---- */
.mcl-actualites-3 .act3-leaf {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.4, 0.15, 0.2, 1);
}
.mcl-actualites-3 .act3-leaf.act3-leaf--next {
  left: 50%;
  width: 50%;
  transform-origin: left center; /* charnière = centre (là où les pages se rejoignent) */
  opacity: 1;
}
.mcl-actualites-3 .act3-leaf.act3-leaf--prev {
  left: 0;
  width: 50%;
  transform-origin: right center; /* charnière = centre */
  opacity: 1;
}
.mcl-actualites-3 .act3-leaf.act3-leaf--next.is-turning {
  transform: rotateY(-180deg);
}
.mcl-actualites-3 .act3-leaf.act3-leaf--prev.is-turning {
  transform: rotateY(180deg);
}
.mcl-actualites-3 .act3-leaf-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  background: transparent;
  overflow: visible;
}
.mcl-actualites-3 .act3-leaf-face--front {
  transform: rotateY(0deg);
}
.mcl-actualites-3 .act3-leaf-face--back {
  transform: rotateY(180deg);
}
.mcl-actualites-3 .act3-leaf-face .act3-page {
  height: 100%;
}

/* ---- Entrée article ---- */
.mcl-actualites-3 .act3-entry {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--gray-light);
  transition: transform 0.25s ease;
  /* D-323 : couleur écrite ; sans elle, suki donnait la sienne (#666, blanc au survol) */
  color: var(--black);
}
.mcl-actualites-3 .act3-entry:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
/* D-323 : focus aux valeurs du repos (suki : `a:focus`, `button:focus` (0,1,1)). */
.mcl-actualites-3 .act3-entry:focus {
  background: transparent;
  color: var(--black);
  border-bottom-color: var(--gray-light);
}
.mcl-actualites-3 .act3-entry:hover {
  transform: translateX(4px);
  background: transparent;
  color: var(--black);
  border-bottom-color: var(--gray-light);
}
/* Anneau à deux tons (WCAG C40), lisible quelle que soit la charte (D-323). */
.mcl-actualites-3 .act3-entry:focus-visible {
  border-radius: 6px;
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}
.mcl-actualites-3 .act3-entry-thumb {
  flex: 0 0 88px;
  width: 88px;
  height: 88px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--gray-light);
}
.mcl-actualites-3 .act3-entry-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.mcl-actualites-3 .act3-entry:hover .act3-entry-thumb img {
  transform: scale(1.08);
}
.mcl-actualites-3 .act3-entry-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mcl-actualites-3 .act3-entry-meta {
  color: var(--gray-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  font-size: 11px;
}
.mcl-actualites-3 .act3-entry-cat {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
}
.mcl-actualites-3 .act3-entry-date {
  color: var(--gray-dark);
}
.mcl-actualites-3 .act3-entry-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.28;
  font-weight: 700;
  color: var(--primary);
}
.mcl-actualites-3 .act3-entry-excerpt {
  margin: 0;
  color: var(--gray-dark);
  font-size: 0.85rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mcl-actualites-3 .act3-noresult {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--gray-dark);
  z-index: 6;
}
/* [hidden] doit l'emporter sur display:flex, sinon l'overlay masque le livre */
.mcl-actualites-3 .act3-noresult[hidden] {
  display: none;
}
.mcl-actualites-3 .act3-empty {
  color: var(--gray-dark);
  padding: 20px 0;
}

@media (prefers-reduced-motion: reduce) {
  .mcl-actualites-3 .act3-leaf {
    transition: none;
  }
}

/* Mobile / tablette : aucun effet livre — sélection classique (façon actualités-1),
   simple liste filtrable, sans couverture, reliure, pagination ni flip. */
@media (max-width: 768px) {
  .mcl-actualites-3 .act3-book {
    padding: 0;
    perspective: none;
  }
  .mcl-actualites-3 .act3-cover {
    display: none;
  }
  .mcl-actualites-3 .act3-nav {
    display: none;
  }
  .mcl-actualites-3 .act3-leaf {
    display: none;
  }
  .mcl-actualites-3 .act3-page--right {
    display: none; /* toute la liste est rendue dans la colonne de gauche */
  }
  .mcl-actualites-3 .act3-pages {
    grid-template-columns: 1fr;
    min-height: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
  }
  .mcl-actualites-3 .act3-page--left {
    padding: 0;
    gap: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }
  .mcl-actualites-3 .act3-entry {
    padding: 18px 0;
  }
  .mcl-actualites-3 .act3-noresult {
    position: static;
    background: transparent;
    padding: 24px 0;
  }
}

/* ── TITRES : couleur de survol explicite (CLAUDE.md §4.13) ──────────
   Le main.css des themes stylise les balises Hn, hover compris. Chaque
   titre reprend ici sa couleur de base pour neutraliser cet heritage. */
.mcl-actualites-3 .act3-entry-title:hover,
.mcl-actualites-3 .act3-heading:hover {
  color: var(--primary);
}

/* mcl-cta-cta-7 : components/cta/cta-7/cta-7.css */
/* CTA 7 - ARTISANAL BLOBS */
.cta-7 {
  color: var(--black);
  padding: 60px 5%;
  font-family: var(--font-body);
}
.cta-7__panel {
  position: relative;
  overflow: hidden;
  max-width: 1280px;
  margin: 0 auto;
  padding: 90px 60px;
  border-radius: 32px;
  text-align: center;
  background: var(--gray-light);
}
.cta-7__blob {
  position: absolute;
  pointer-events: none;
}
.cta-7__blob--1 {
  left: 18%;
  top: 50%;
  width: clamp(200px, 30vw, 340px);
  height: clamp(200px, 30vw, 340px);
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  background: var(--secondary);
  opacity: 0.12;
  transform: translate(-50%, -50%);
  animation: cta7BlobRotate 46s linear infinite;
}
.cta-7__blob--2 {
  left: 82%;
  top: 40%;
  width: clamp(160px, 24vw, 260px);
  height: clamp(160px, 24vw, 260px);
  border-radius: 45% 55% 40% 60% / 55% 45% 60% 40%;
  background: var(--gray-dark);
  opacity: 0.12;
  transform: translate(-50%, -50%);
  animation: cta7BlobRotate 60s linear infinite reverse;
}

@media (max-width: 768px) {
  .cta-7__panel {
    padding: 64px 28px;
  }
  .cta-7__blob--1 {
    left: 8%;
    top: 22%;
    opacity: 0.09;
  }
  .cta-7__blob--2 {
    left: 92%;
    top: 82%;
    opacity: 0.09;
  }
}

.cta-7__title {
  position: relative;
  max-width: 640px;
  margin: 0 auto 36px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.6vw, 2.75rem);
  color: var(--primary);
}
.cta-7__btns {
  position: relative;
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-7__btn {
  padding: 17px 32px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;
}
.cta-7__btn--primary {
  color: var(--on-secondary);
  background: var(--secondary);
}
/* D-323 : focus aux valeurs du repos (suki : `a:focus`, `button:focus` (0,1,1)). */
.cta-7__btn--primary:focus {
  background: var(--secondary);
  color: var(--on-secondary);
  border-color: transparent;
}
.cta-7__btn--primary:hover {
  transform: scale(1.03);
  background: var(--secondary);
  color: var(--on-secondary);
  border-color: transparent;
}
/* Focus clavier : suki retire le contour (`html :focus`). Anneau à deux
   tons (WCAG C40), lisible quelle que soit la charte (D-323). */
.cta-7__btn--primary:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}
.cta-7__btn--outline {
  color: var(--primary);
  border: 1px solid var(--primary);
  white-space: nowrap;
}
/* D-323 : focus aux valeurs du repos (suki : `a:focus`, `button:focus` (0,1,1)). */
.cta-7__btn--outline:focus {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.cta-7__btn--outline:hover {
  background: var(--primary);
  color: var(--on-primary);
  border-color: var(--primary);
}
/* Focus clavier : suki retire le contour (`html :focus`). Anneau à deux
   tons (WCAG C40), lisible quelle que soit la charte (D-323). */
.cta-7__btn--outline:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}
@keyframes cta7BlobRotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@media (max-width: 768px) {
  .cta-7__panel {
    padding: 64px 28px;
  }
}

/* ── TITRES : couleur de survol explicite (CLAUDE.md §4.13) ──────────
   Le main.css des themes stylise les balises Hn, hover compris. Chaque
   titre reprend ici sa couleur de base pour neutraliser cet heritage. */
.cta-7__title:hover {
  color: var(--primary);
}

/* Accent du contrat ((…)) : la donnee marque un mot, le composant
   decide de son rendu. Sans cette regle il sort en texte nu, et la
   mise en valeur voulue par le CRM disparait sans erreur. */
.cta-7 .mcl-accent {
  color: var(--secondary);
  font-weight: 700;
}

/* mcl-modales-modale-form : components/modales/modale-form/modale-form.css */
/* === MODALE === */
.form-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

/* Visible dès l'ouverture (seule l'opacité fond) : le focus peut y entrer
   tout de suite (modale-form.js). La fermeture garde le fondu complet. */
.form-modal.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0s;
}

.form-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

.form-modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  background: var(--white);
  border-radius: 12px;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.form-modal.is-active .form-modal-content {
  transform: translateY(0);
}

.form-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: var(--gray-light);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Pas `all` : la `visibility` héritée de la modale transiterait, et la croix
     ne recevrait pas le focus à l'ouverture (modale-form.js). */
  transition: background 0.3s, color 0.3s;
}

.form-modal-close:hover {
  background: var(--secondary);
  color: var(--on-secondary);
}

.form-modal-close svg {
  width: 20px;
  height: 20px;
  color: var(--black);
}

.form-modal-header {
  padding: 20px 40px 0 40px;
  margin-bottom: 30px;
  text-align: center;
}

.form-modal-header h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.form-modal-header p {
  color: var(--gray-dark);
}

.form-modal-footer {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-light);
}

.form-modal-footer a {
  color: var(--secondary);
  font-weight: 600;
  text-decoration: none;
}

/* La section rendue dans la modale n'a plus d'id (il n'appartient qu'a la
   section de la page) : on la cible par son attribut data-contact. */
.form-modal [data-contact] {
  padding: 0;
}

.form-modal [data-contact] .eyebrow {
  display: none;
}
.form-modal .contact-4 .container,
.form-modal .contact-5 .container {
  padding-inline: 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 1280px) and (min-width: 1025px) {
  .form-modal .contact-3 .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .form-modal-header {
    padding: 20px 35px 0 35px;
  }

  .form-modal-close {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
  }

  .form-modal [data-contact] > *:last-child,
  .form-modal .contact-5 .container > *:last-child {
    order: -1;
  }

  .form-modal .contact-5 .cards {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .form-modal-content {
    width: 100%;
    max-width: none;
    height: 100vh;
    max-height: none;
    border-radius: 0;
  }

  .form-modal .contact-3 .form-card {
    padding: 30px;
  }
}

/* mcl-footers-main : components/footers/main.css */
/* Logo texte */
[data-footer] .logo {
  width: 80px;
}
[data-footer] .logo-text {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--black);
}

[data-footer] .bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  max-width: 1300px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
[data-footer] .bottom p {
  color: var(--white);
  font-size: 0.85rem;
}
[data-footer] .bottom-links {
  display: flex;
  gap: 24px;
}
[data-footer] .bottom-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s;
}
/* D-323 : focus aux valeurs du repos (suki : `a:focus`, `button:focus` (0,1,1)). */
[data-footer] .bottom-links a:focus {
  background: transparent;
  color: var(--white);
  border-color: transparent;
}
[data-footer] .bottom-links a:hover {
  color: var(--secondary);
  background: transparent;
  border-color: transparent;
}
/* Focus clavier : suki retire le contour (`html :focus`). Anneau à deux
   tons (WCAG C40), lisible quelle que soit la charte (D-323). */
[data-footer] .bottom-links a:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}

[data-footer] .backlink {
  color: var(--white);
  font-size: 0.85rem;
  font-style: italic;
}

[data-footer] .backlink a {
  color: var(--white);
  text-decoration: none;
}

[data-footer] .backlink a:focus {
  background: transparent;
  color: var(--white);
  border-color: transparent;
}
[data-footer] .backlink a:hover {
  color: var(--secondary);
  background: transparent;
  border-color: transparent;
}
[data-footer] .backlink a:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}

/* mcl-footers-footer-4 : components/footers/footer-4/footer-4.css */
/* FOOTER 4 - CENTERED */
.footer-4 {
  background: var(--primary);
  color: var(--on-primary);
  padding: 80px 5% 40px;
  text-align: center;
}
.footer-4 .logo-container {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  display: block;
}
/* D-323 : survol et focus aux valeurs du repos (suki : `a:hover, a:focus`,
   `button:hover, button:focus` (0,1,1)). */
.footer-4 .logo-container:hover,
.footer-4 .logo-container:focus {
  background: transparent;
  color: var(--white);
  border-color: transparent;
}
/* Focus clavier : suki retire le contour (`html :focus`). Anneau à deux
   tons (WCAG C40), lisible quelle que soit la charte (D-323). */
.footer-4 .logo-container:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}
.footer-4 .logo-text {
  color: var(--white);
  font-size: 1.5rem;
}
.footer-4 .tagline {
  color: var(--gray-light);
  font-size: 1rem;
  margin-bottom: 40px;
}
.footer-4 nav {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.footer-4 nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s;
}
/* D-323 : focus aux valeurs du repos (suki : `a:focus`, `button:focus` (0,1,1)). */
.footer-4 nav a:focus {
  background: transparent;
  color: var(--white);
  border-color: transparent;
}
.footer-4 nav a:hover {
  color: var(--secondary);
  background: transparent;
  border-color: transparent;
}
/* Focus clavier : suki retire le contour (`html :focus`). Anneau à deux
   tons (WCAG C40), lisible quelle que soit la charte (D-323). */
.footer-4 nav a:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}
.footer-4 .social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
}
.footer-4 .social a {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-light);
  transition: all 0.3s;
}
.footer-4 .social a:focus {
  background: color-mix(in srgb, var(--white) 5%, transparent);
  color: var(--gray-light);
  border-color: transparent;
}
.footer-4 .social a:hover {
  background: var(--secondary);
  color: var(--on-secondary);
  border-color: transparent;
}
.footer-4 .social a:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}
.footer-4 .social svg {
  width: 20px;
  height: 20px;
}

/* mcl-footers/encart-pied-encart-pied-1 : components/footers/encart-pied/encart-pied-1/encart-pied-1.css */
/* ENCART PIED 1 - GRILLE DE TUILES
 *
 * Sous-composant partagé par les dix pieds de page : chaque règle est
 * préfixée par le hook de l'hôte + la racine (CLAUDE.md §4.12), pour passer
 * devant les `.footer-X .col li`, `.footer-X ul`… des hôtes.
 *
 * Couleurs : l'hôte pose la couleur de texte qui va avec SON fond ; l'encart
 * la reprend (`inherit`) et en dérive filets et aplats par `currentColor`.
 * Lisible sur un footer --primary comme sur un footer --white.
 */

[data-footer] .encart-pied-1 {
    display: block;
    color: inherit;
    background: none;
    max-width: 1300px;
    margin: 0 auto;
    padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 3vw, 1.5rem) clamp(1.75rem, 3.5vw, 2.5rem);
    border-top: 1px solid color-mix(in srgb, currentColor 15%, transparent);
    border-bottom: 1px solid color-mix(in srgb, currentColor 15%, transparent);
    box-sizing: border-box;
    width: 100%;
}

[data-footer] .encart-pied-1 .encart-pied-1__inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

/* ---- Titre centré entre deux filets --------------------------- */
[data-footer] .encart-pied-1 .encart-pied-1__entete {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 0 0 14px;
}

[data-footer] .encart-pied-1 .encart-pied-1__filet {
    flex: 1;
    max-width: clamp(60px, 10vw, 120px);
    height: 1px;
    background: color-mix(in srgb, currentColor 30%, transparent);
}

[data-footer] .encart-pied-1 .encart-pied-1__titre,
[data-footer] .encart-pied-1 .encart-pied-1__titre:hover {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: inherit;
    font-family: var(--font-heading);
    font-size: clamp(0.88rem, 1.4vw, 1rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
}

[data-footer] .encart-pied-1 .encart-pied-1__titre-texte {
    color: inherit;
}

[data-footer] .encart-pied-1 .encart-pied-1__titre-icone {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    opacity: 0.85;
}

/* ---- Sous-titre ------------------------------------------------ */
[data-footer] .encart-pied-1 .encart-pied-1__sous-titre {
    margin: 0 0 32px;
    color: inherit;
    opacity: 0.65;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-style: italic;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

/* ---- Grille ---------------------------------------------------- */
[data-footer] .encart-pied-1 .encart-pied-1__grille {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

[data-footer] .encart-pied-1 .encart-pied-1__item {
    display: flex;
    margin: 0;
    padding: 0;
    color: inherit;
}

/* Une tuile est un <a> (élément avec URL) ou un <span> (sans URL). */
[data-footer] .encart-pied-1 .encart-pied-1__tuile {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 0;
    padding: 13px 16px;
    color: inherit;
    font-family: var(--font-body);
    border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
    border-radius: 6px;
    background: color-mix(in srgb, currentColor 5%, transparent);
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

[data-footer] .encart-pied-1 a.encart-pied-1__tuile--lien {
    cursor: pointer;
}

/* D-323 : focus aux valeurs du repos (suki : `a:focus`, `button:focus` (0,1,1)). */
[data-footer] .encart-pied-1 a.encart-pied-1__tuile--lien:focus {
    background: color-mix(in srgb, currentColor 5%, transparent);
    color: inherit;
    border-color: color-mix(in srgb, currentColor 12%, transparent);
}
[data-footer] .encart-pied-1 a.encart-pied-1__tuile--lien:hover,
[data-footer] .encart-pied-1 a.encart-pied-1__tuile--lien:focus-visible {
    color: inherit;
    background: color-mix(in srgb, currentColor 12%, transparent);
    border-color: color-mix(in srgb, currentColor 35%, transparent);
}

/* Anneau à deux tons (WCAG C40), lisible quelle que soit la charte (D-323). */
[data-footer] .encart-pied-1 a.encart-pied-1__tuile--lien:focus-visible {
    outline: 2px solid var(--black);
    outline-offset: 2px;
    box-shadow: 0 0 0 2px var(--white);
}

[data-footer] .encart-pied-1 .encart-pied-1__tuile-icone {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    opacity: 0.85;
}

[data-footer] .encart-pied-1 .encart-pied-1__tuile-libelle {
    color: inherit;
    font-family: var(--font-body);
    font-size: 0.83rem;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 0.02em;
    text-align: left;
}

/* ---- Intitulé de métier (multi-métiers seulement, §4.16-17) ----
 * Surface utilitaire : un intitulé et un filet, comme les colonnes des
 * footers. Le texte garde la couleur de l'hôte (fond inconnu) ; seul le filet
 * prend la teinte du métier, de la couleur de l'hôte vers --secondary. */
[data-footer] .encart-pied-1 .encart-pied-1__metier {
    --m-couleur: color-mix(in oklab, currentColor, var(--secondary) var(--m-melange, 0%));
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 10px 0 0;
    padding: 0;
    color: inherit;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-align: left;
}

[data-footer] .encart-pied-1 .encart-pied-1__metier:first-child {
    margin-top: 0;
}

[data-footer] .encart-pied-1 .encart-pied-1__metier::after {
    content: "";
    flex: 1;
    height: 2px;
    background: var(--m-couleur);
    opacity: 0.6;
}

/* ---- Responsive ------------------------------------------------ */
@media (max-width: 1024px) {
    [data-footer] .encart-pied-1 .encart-pied-1__grille {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    [data-footer] .encart-pied-1 .encart-pied-1__grille {
        gap: 10px;
    }

    [data-footer] .encart-pied-1 .encart-pied-1__tuile {
        flex-direction: column;
        gap: 6px;
        padding: 11px 10px;
        text-align: center;
    }

    [data-footer] .encart-pied-1 .encart-pied-1__tuile-libelle {
        font-size: 0.75rem;
        text-align: center;
    }

    [data-footer] .encart-pied-1 .encart-pied-1__titre,
    [data-footer] .encart-pied-1 .encart-pied-1__titre:hover {
        white-space: normal;
    }
}

@media (max-width: 360px) {
    [data-footer] .encart-pied-1 .encart-pied-1__grille {
        grid-template-columns: 1fr;
    }
}

/* D-42 : l'accent ((…)) d'un titre de l'offre (service, sous-service,
   atout, étape) garde la couleur du texte qui le porte et passe en italique. */
[data-footer] .encart-pied-1 .encart-pied-1__tuile-libelle .mcl-accent {
  color: inherit;
  font-style: italic;
}

/* mcl-footers/cookies-banner-cookies-banner-1 : components/footers/cookies-banner/cookies-banner-1/cookies-banner-1.css */
/* COOKIES BANNER 1 - VERRE DEPOLI, GLISSE DU BAS */

/*
 * Le verre : le design source posait --glass / --glass-line / --r-lg / --ease,
 * qui n'existent pas dans variables-default.css. Plutot que d'ajouter quatre
 * variables globales pour un seul composant, la variante les tient en local et
 * les derive de la palette du theme (§4.1) : le bandeau se rehabille tout seul
 * sur n'importe quel site du parc.
 */
.cookies-banner-1 {
  --cookies-banner-1-verre: color-mix(in srgb, var(--white) 84%, transparent);
  --cookies-banner-1-filet: color-mix(in srgb, var(--primary) 16%, transparent);
  --cookies-banner-1-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;

  /*
   * L'echelle de la bibliotheque : header 100, cta-mobile 998, menu mobile
   * 999, modale de devis 9999.
   *
   * 998 pour passer DEVANT le bouton d'appel rond de `headers/cta-mobile`,
   * qui occupe le meme coin bas de l'ecran et masquerait les deux boutons du
   * bandeau. A egalite d'indice, c'est l'ordre du DOM qui tranche, et le
   * footer vient apres le header : le bandeau gagne sans qu'on touche a
   * cta-mobile.
   *
   * Et pas au-dela : un menu mobile ouvert (999) ou une demande de devis
   * (9999) doivent pouvoir passer par-dessus. Une decision a la fois.
   */
  z-index: 998;
  max-width: 640px;
  margin-inline: auto;
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--cookies-banner-1-verre);
  border: 1px solid var(--cookies-banner-1-filet);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  /* Ombre neutre : seule tolerance au hors-variable (§4.1). */
  box-shadow: 0 20px 50px -26px rgba(0, 0, 0, 0.5);
  transform: translateY(140%);
  transition: transform 0.55s var(--cookies-banner-1-ease);
}

.cookies-banner-1.is-open {
  transform: none;
}

.cookies-banner-1 p.cookies-banner-1__texte {
  margin: 0 0 14px;
  color: var(--gray-dark);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.6;
}

.cookies-banner-1__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Reset explicite : sans lui, les styles natifs du navigateur et le main.css
   du theme reprennent la main sur nos deux boutons (§4.6). */
.cookies-banner-1 button.cookies-banner-1__bouton {
  flex: 1 1 auto;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: none;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
  cursor: pointer;
  transition: background-color 0.25s var(--cookies-banner-1-ease),
    border-color 0.25s var(--cookies-banner-1-ease),
    color 0.25s var(--cookies-banner-1-ease);
}

/*
 * ACCEPTER et REFUSER pesent le meme poids typographique et occupent la meme
 * place : c'est la condition posee par la CNIL, pas un parti pris graphique.
 * Seul l'aplat distingue l'action principale.
 */
.cookies-banner-1 button.cookies-banner-1__bouton--accepter {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--on-primary);
}

/* D-323 : focus aux valeurs du repos (suki : `a:focus`, `button:focus` (0,1,1)). */
.cookies-banner-1 button.cookies-banner-1__bouton--accepter:focus {
  background: var(--primary);
  color: var(--on-primary);
  border-color: var(--primary);
}
.cookies-banner-1 button.cookies-banner-1__bouton--accepter:hover {
  background: color-mix(in srgb, var(--primary) 84%, var(--black));
  border-color: color-mix(in srgb, var(--primary) 84%, var(--black));
  color: var(--on-primary);
}
/* Focus clavier : suki retire le contour (`html :focus`). Anneau à deux
   tons (WCAG C40), lisible quelle que soit la charte (D-323). */
.cookies-banner-1 button.cookies-banner-1__bouton--accepter:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}

.cookies-banner-1 button.cookies-banner-1__bouton--refuser {
  border-color: var(--cookies-banner-1-filet);
  color: var(--black);
}

/* D-323 : focus aux valeurs du repos (suki : `a:focus`, `button:focus` (0,1,1)). */
.cookies-banner-1 button.cookies-banner-1__bouton--refuser:focus {
  background: none;
  color: var(--black);
  border-color: var(--cookies-banner-1-filet);
}
.cookies-banner-1 button.cookies-banner-1__bouton--refuser:hover {
  background: color-mix(in srgb, var(--primary) 8%, transparent);
  border-color: color-mix(in srgb, var(--primary) 40%, transparent);
  color: var(--black);
}
/* Focus clavier : suki retire le contour (`html :focus`). Anneau à deux
   tons (WCAG C40), lisible quelle que soit la charte (D-323). */
.cookies-banner-1 button.cookies-banner-1__bouton--refuser:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}

/* Anneau à deux tons (WCAG C40), lisible quelle que soit la charte (D-323). */
.cookies-banner-1 button.cookies-banner-1__bouton:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}

.cookies-banner-1 a.cookies-banner-1__lien {
  display: inline-block;
  margin-top: 12px;
  color: var(--secondary);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

/* D-323 : focus aux valeurs du repos (suki : `a:focus`, `button:focus` (0,1,1)). */
.cookies-banner-1 a.cookies-banner-1__lien:focus {
  background: transparent;
  color: var(--secondary);
  border-color: transparent;
}
.cookies-banner-1 a.cookies-banner-1__lien:hover {
  color: var(--secondary);
  text-decoration: none;
  background: transparent;
  border-color: transparent;
}

/* Anneau à deux tons (WCAG C40), lisible quelle que soit la charte (D-323). */
.cookies-banner-1 a.cookies-banner-1__lien:focus-visible {
  border-radius: 2px;
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}

@media (max-width: 480px) {
  .cookies-banner-1 {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 18px 18px 16px;
  }

  /* Sous 480px, deux boutons cote a cote se coupent en deux lignes chacun :
     on les empile, l'ordre gardant l'egalite de traitement. */
  .cookies-banner-1__actions {
    flex-direction: column;
  }
}

/* ── TELEPHONE (<= 768 px) : BARRE COMPACTE (C72-L4, D-305) ──────────────────
 *
 * La barre compacte n'existe qu'ici : au-dessus de 768 px elle n'est jamais
 * affichee, et le bandeau complet (`__detail`) est celui d'avant, au pixel
 * pres (meme balisage, memes regles).
 *
 * Sous 768 px, la barre se pose AU-DESSUS de la barre d'actions mobile
 * (`cta-mobile-*`) : le JS mesure sa hauteur et pose `--cookies-banner-1-bas`
 * sur la racine (repli : 10 px du bas). On ne fige pas cette hauteur ici :
 * elle appartient a la variante de cta-mobile, qui peut changer.
 */
.cookies-banner-1 .cookies-banner-1__compact {
  display: none;
}

@media (max-width: 768px) {
  .cookies-banner-1 {
    left: 10px;
    right: 10px;
    bottom: var(--cookies-banner-1-bas, calc(10px + env(safe-area-inset-bottom, 0px)));
    max-height: calc(100vh - var(--cookies-banner-1-bas, 10px) - 16px);
    overflow-y: auto;
    padding: 12px 14px 14px;
  }

  /* « Personnaliser » : le bandeau complet, avec son espacement d'avant. */
  .cookies-banner-1.is-detail {
    padding: 18px 18px 16px;
  }

  .cookies-banner-1:not(.is-detail) .cookies-banner-1__detail {
    display: none;
  }

  .cookies-banner-1:not(.is-detail) .cookies-banner-1__compact {
    display: block;
  }

  .cookies-banner-1 p.cookies-banner-1__resume {
    margin: 0 0 8px;
    color: var(--black);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
  }

  /* Un lien a l'oeil, un bouton pour le lecteur d'ecran (il ouvre, il ne
     mene nulle part) : reset explicite (§4.6). */
  .cookies-banner-1 button.cookies-banner-1__personnaliser {
    min-height: 44px;
    padding: 0 4px;
    border: 0;
    border-radius: 6px;
    background: none;
    color: var(--black);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
  }

  .cookies-banner-1 button.cookies-banner-1__personnaliser:hover {
    background: none;
    color: var(--black);
    text-decoration: none;
  }

  /*
   * ACCEPTER et REFUSER : meme taille, meme aplat, meme texte, meme contour.
   * Rien ne pousse vers l'un plutot que l'autre — la CNIL demande que refuser
   * soit aussi simple qu'accepter, et sur un telephone l'egalite se voit
   * d'abord a la taille et au contraste.
   */
  /* Deux choix de meme largeur, « Personnaliser » a leur suite. */
  .cookies-banner-1 .cookies-banner-1__choix-ligne {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    align-items: center;
    gap: 8px;
  }

  .cookies-banner-1 button.cookies-banner-1__choix {
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--primary);
    border-radius: 999px;
    background: var(--primary);
    color: var(--on-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.25s var(--cookies-banner-1-ease),
      border-color 0.25s var(--cookies-banner-1-ease);
  }

  .cookies-banner-1 button.cookies-banner-1__choix:hover {
    background: color-mix(in srgb, var(--primary) 84%, var(--black));
    border-color: color-mix(in srgb, var(--primary) 84%, var(--black));
    color: var(--on-primary);
  }

  .cookies-banner-1 button.cookies-banner-1__choix:focus-visible,
  .cookies-banner-1 button.cookies-banner-1__personnaliser:focus-visible {
    outline: 3px solid var(--black);
    outline-offset: 2px;
  }

  /* Le plus etroit des telephones : « Personnaliser » passe sous les deux
     choix plutot que de les serrer. */
  @media (max-width: 359px) {
    .cookies-banner-1 .cookies-banner-1__choix-ligne {
      grid-template-columns: 1fr 1fr;
    }

    .cookies-banner-1 button.cookies-banner-1__personnaliser {
      grid-column: 1 / -1;
      justify-self: start;
    }
  }

  /* Le focus porte sur le bandeau complet a son ouverture (JS). */
  .cookies-banner-1 .cookies-banner-1__detail:focus-visible {
    outline: 2px solid var(--black);
    outline-offset: 4px;
    border-radius: 6px;
  }
}

/* Le bandeau apparait quand meme — c'est la glissade qu'on retire. */
@media (prefers-reduced-motion: reduce) {
  .cookies-banner-1 {
    transform: none;
    transition: none;
  }

  .cookies-banner-1 button.cookies-banner-1__choix {
    transition: none;
  }
}

