/* my-components-library 2.19.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-3 : components/headers/header-3/header-3.css */
/* HEADER 3 - CENTERED ELEGANT */
.header-3 {
  text-align: center;
  padding: 0 5%;
  background: var(--primary);
}
.header-3 .top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--white-transparent);
}

.header-3 .logo-text {
  color: var(--white);
}
.header-3 .contact-left,
.header-3 .contact-right {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 0.9rem;
}
.header-3 .contact-left a,
.header-3 .contact-right a {
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}
.header-3 .contact-left a:hover,
.header-3 .contact-right a:hover {
  color: var(--secondary);
}
.header-3 .contact-left svg,
.header-3 .contact-right svg {
  width: 16px;
  height: 16px;
}
.header-3 .nav-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  border-top: 1px solid var(--white-transparent);
}
.header-3 .nav-desktop {
  display: flex;
  gap: 40px;
  height: auto;
}
.header-3 .nav-desktop > * {
  padding: 22px 0;
}
.header-3 .nav-desktop a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s;
}
.header-3 .nav-desktop a:hover {
  color: var(--secondary);
}
.header-3 .btn-cta {
  padding: 12px 28px;
  background: var(--secondary);
  color: var(--on-secondary);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s;
}
.header-3 .btn-cta:hover {
  background: var(--white);
  color: var(--primary);
}
.header-3.at-top .btn-cta:hover {
  background: var(--primary);
  color: var(--on-primary);
}
.header-3 .menu-btn {
  display: none;
  background: var(--white-transparent);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--on-primary);
  font-family: inherit;
  width: 60px;
  height: 44px;
  cursor: pointer;
}
/* Voile clair sur la barre --primary : le texte suit --on-primary. Couleur
   declaree au repos, au survol et au focus : sans elle, le `button` du theme
   la donnait, et le contour de focus (currentColor) avec (M1). */
.header-3 .menu-btn:hover,
.header-3 .menu-btn:focus-visible {
  background: var(--white-transparent);
  color: var(--on-primary);
}
.header-3 .menu-btn svg {
  width: 20px;
  height: 20px;
  color: var(--on-primary);
}
@media (max-width: 1024px) {
  .header-3 .nav-desktop {
    display: none;
  }
  .header-3 .menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .header-3 .nav-row {
    justify-content: space-between;
  }
}
@media (max-width: 768px) {
  .header-3 .top-row {
    display: none;
  }
}

/* ============ MENU BURGER (sous-composant) ============ */
.header-3 {
  --burger-color: var(--white);
  --burger-color-hover: var(--secondary);
  --burger-bg-hover: color-mix(in srgb, var(--white) 18%, transparent);
}

/* Pose sur la .nav-row, a toutes les largeurs (H-129).
   Le declencheur est en position absolue dans la racine : un `--burger-y`
   chiffre ne suit pas la .top-row, dont la hauteur depend du contenu et qui
   ne disparait que sous 769 px (a 1024 px, il tombait a cote de la barre). La
   racine passe donc en grille, et le declencheur prend la case de la
   .nav-row : en position absolue, sa case de grille devient son bloc
   conteneur, et `top: 50%` vise le milieu de la barre quel que soit l'etage du
   dessus. Son enveloppe (`[data-burger-root]`) s'efface de la mise en page
   (`display: contents`) pour qu'il soit un enfant de la grille ; le voile et
   le panneau, fixes, n'en dependent pas.
   La racine porte le fond et la marge de 5 % : elle la garde
   (`--burger-reserve`, que menu-burger/main.css pose en padding-right), et le
   declencheur s'aligne sur le bord du contenu (`right: 0`), en face du logo.
   La .nav-row lui fait la place (sans quoi il chevauchait « Devis gratuit ») :
   des deux cotes tant que la navigation est centree, a droite seulement quand
   la rangee s'etale (1024 px et moins). */
.header-3 {
  --burger-reserve: 5%;
}
.header-3[data-burger] {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "haut" "barre";
}
.header-3[data-burger] .top-row {
  grid-area: haut;
}
.header-3[data-burger] .nav-row {
  grid-area: barre;
  min-height: clamp(42px, 5vw, 50px);
  padding-inline: calc(clamp(42px, 5vw, 50px) + clamp(0.5rem, 1.2vw, 1rem));
}
.header-3[data-burger] [data-burger-root] {
  display: contents;
}
.header-3[data-burger] .burger-trigger {
  grid-area: barre;
  right: 0;
}

@media (max-width: 1024px) {
  .header-3[data-burger] .nav-row {
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  /* .top-row masquee : une seule case, aucune case vide a combler. */
  .header-3[data-burger] {
    grid-template-areas: "barre";
  }
}

/* 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). */
.header-3 .btn-cta .mcl-accent {
  color: inherit;
  font-style: italic;
}

/* Petit ecran (H-134). A 390 px, la .nav-row ne tenait pas le logo, l'ecart
   de 48 px et « DEVIS GRATUIT » (28 px de marge interieure de chaque cote) :
   le nom passait sur deux lignes, le bouton aussi. L'ecart et le bouton se
   resserrent, aucun des deux ne revient a la ligne ; un nom trop long pour
   la place restante se termine par « … » au lieu de deborder. */
@media (max-width: 480px) {
  .header-3 .nav-row {
    gap: 12px;
  }
  .header-3 .logo-container {
    min-width: 0;
  }
  .header-3 .logo-container .logo-text {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .header-3 .btn-cta {
    flex-shrink: 0;
    padding: 10px 14px;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }
}

/* Lien du logo et focus clavier (H-134, banc etats-css).
   Le lien du logo declare sa couleur : sans elle, il prenait le bleu des
   liens du theme (contour de focus compris). Chaque element interactif du
   header montre un contour au focus clavier : le theme le retire. Selecteurs
   par classe ou enfant direct : rien n'atteint services-on-hover ni le burger. */
.header-3 .logo-container,
.header-3 .logo-container:hover,
.header-3 .logo-container:focus {
  color: var(--on-primary);
}
.header-3 .contact-left > a:focus-visible,
.header-3 .contact-right > a:focus-visible,
.header-3 .logo-container:focus-visible,
.header-3 .nav-desktop > a:focus-visible,
.header-3 .nav-item > .nav-link:focus-visible,
.header-3 .menu-btn:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
.header-3 .btn-cta:focus-visible {
  outline: 2px solid var(--on-primary);
  outline-offset: 3px;
}

/* 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-1 : components/headers/services-on-hover/services-on-hover-1/services-on-hover-1.css */
/* SERVICES ON HOVER 1 - GRILLE D'ICONES + ENCART PROMO */
/*
 * Priorite : ce sous-composant vit a l'interieur d'un [data-header] dont les
 * feuilles (.header-X .nav-desktop a ...) ciblent nos <a>. Toutes les regles
 * sont donc prefixees « [data-header] .services-on-hover-1 » (specificite
 * (0,3,x)) pour TOUJOURS l'emporter sur les selecteurs parents
 * (.header-X .nav-desktop a = (0,2,1)). Les etats de survol sont qualifies par
 * l'element `a` pour battre aussi les hover parents (jusqu'a (0,4,1) sur
 * header-1.at-top). Meme regle que chez son frere services-on-hover-2.
 *
 * LE PANNEAU LUI-MEME N'EST PAS ICI. Sa geometrie et sa revelation au survol
 * sont communes aux deux variantes : elles vivent dans le main.css de la
 * sous-categorie, declenchees par le hook `data-services-menu` que la racine
 * pose (§4.4).
 */

/* ---- Repartition grille de services / encart promo ---- */
[data-header] .services-on-hover-1 .services-on-hover-1__inner {
  display: grid;
  grid-template-columns: auto 300px;
}

/* Sous quatre services, la grille n'a plus de quoi remplir sa moitie : le
   terrain gagne va a l'encart promo. Modificateurs poses par le JS. */
[data-header] .services-on-hover-1 .services-on-hover-1__inner--peu-3 {
  grid-template-columns: auto 400px;
}
[data-header] .services-on-hover-1 .services-on-hover-1__inner--peu-2 {
  grid-template-columns: auto 500px;
}
[data-header] .services-on-hover-1 .services-on-hover-1__inner--peu-1 {
  grid-template-columns: auto 600px;
}

/* ---- Grille des services ----
   `auto-fit` + plancher de 250px, et non un nombre de colonnes fige : le
   PANNEAU est plafonne a `--max-content-width` (voir le main.css de la
   sous-categorie), il ne grandit donc pas avec la fenetre. Compter les colonnes
   d'apres la fenetre revenait a decider de la largeur d'une piste sans regarder
   la boite qui la contient — et au-dela de 1440px on passait a QUATRE colonnes
   dans un panneau toujours large de 1200px.

   Le calcul de ce qui restait au texte : 1200 - 300 (encart promo) - 80
   (padding) = 820px de grille ; a quatre colonnes, 199px la piece, moins
   20 + 20 de padding du lien, 50 d'icone et 16 de gouttiere = 93px pour
   l'intitule. « Couverture » en mesure 94. Un pixel, et le mot se coupait.

   250px de plancher laissent 144px au texte, ce qui passe le mot le plus long
   du catalogue (« Debroussaillage »). Le compte de colonnes s'ajuste tout seul
   si un theme elargit `--max-content-width`. */
[data-header] .services-on-hover-1 .services-on-hover-1__services {
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 8px;
}
[data-header] .services-on-hover-1 .services-on-hover-1__services--peu-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
[data-header] .services-on-hover-1 .services-on-hover-1__services--peu-2,
[data-header] .services-on-hover-1 .services-on-hover-1__services--peu-1 {
  grid-template-columns: minmax(0, 1fr);
}

/* Le plancher min-content se reforme a CHAQUE etage imbrique : le groupe de
   metier, le lien, puis le bloc de texte. On le retire partout, et l'intitule
   est autorise a se couper plutot qu'a pousser sa colonne. Aucun
   `overflow-x: hidden` : les services rentrent pour de bon, ils ne sont pas
   masques. */
[data-header] .services-on-hover-1 .services-on-hover-1__groupe,
[data-header] .services-on-hover-1 .services-on-hover-1__link,
[data-header] .services-on-hover-1 .services-on-hover-1__texte {
  min-width: 0;
}
/* `break-word` et non `anywhere` : le filet ne sert plus qu'aux intitules
   vraiment hors norme. `anywhere` autorisait la coupure DES QUE la ligne etait
   juste, et abaissait au passage le min-content a la largeur d'une lettre —
   une piste pouvait donc se reduire indefiniment sans que rien ne proteste. */
[data-header] .services-on-hover-1 .services-on-hover-1__titre {
  overflow-wrap: break-word;
}

/* ---- Lien de service (reset interactif + neutralisation de la nav parente) ---- */
[data-header] .services-on-hover-1 .services-on-hover-1__link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  background: none;
  border: 1px solid transparent;
  color: inherit;
  /* `.header-X .nav-desktop a` (0,2,1) pose color/font-size/font-weight/
     text-transform/letter-spacing sur TOUS les <a> de la nav, le notre compris.
     On reprend la main sur chacune : `inherit` fait remonter la fonte au
     contexte du panneau au lieu de celle d'un lien de bandeau. */
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-decoration: none;
  text-transform: none;
  letter-spacing: normal;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
}
[data-header] .services-on-hover-1 a.services-on-hover-1__link:hover,
[data-header] .services-on-hover-1 a.services-on-hover-1__link:focus-visible {
  background: var(--white-transparent);
  border-color: var(--primary);
  outline: none;
}
[data-header] .services-on-hover-1 a.services-on-hover-1__link:hover .services-on-hover-1__icone,
[data-header] .services-on-hover-1 a.services-on-hover-1__link:focus-visible .services-on-hover-1__icone {
  background: var(--primary);
  border-color: var(--primary);
}
[data-header] .services-on-hover-1 a.services-on-hover-1__link:hover .services-on-hover-1__icone svg,
[data-header] .services-on-hover-1 a.services-on-hover-1__link:focus-visible .services-on-hover-1__icone svg {
  color: var(--white);
}

[data-header] .services-on-hover-1 .services-on-hover-1__icone {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: var(--white-transparent);
  border: 2px solid var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, border-color 0.3s ease;
}
[data-header] .services-on-hover-1 .services-on-hover-1__icone svg {
  width: 24px;
  height: 24px;
  color: var(--secondary);
  transition: color 0.3s ease;
}

/* Titre du service. Couleur au repos ET au survol (§4.13) : le main.css des
   themes stylise les Hn, survol compris. */
[data-header] .services-on-hover-1 .services-on-hover-1__titre {
  margin-bottom: 4px;
  color: var(--black);
  font-family: var(--font-display);
  font-size: 1rem;
}
[data-header] .services-on-hover-1 .services-on-hover-1__titre:hover {
  color: var(--black);
}

/* ---- Encart promo ---- */
[data-header] .services-on-hover-1 .services-on-hover-1__promo {
  background: var(--primary);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* Fond de marque : la couleur de texte est celle que le theme declare pour ce
   fond-la, jamais une devinette (§4.14). Le surtitre garde l'accent
   `--secondary`, la seule autre teinte que le theme garantit lisible sur
   `--primary`. */
[data-header] .services-on-hover-1 .services-on-hover-1__eyebrow {
  margin-bottom: 16px;
  color: var(--secondary);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
[data-header] .services-on-hover-1 .services-on-hover-1__promo-titre {
  margin-bottom: 16px;
  color: var(--on-primary);
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.3;
}
[data-header] .services-on-hover-1 .services-on-hover-1__promo-titre:hover {
  color: var(--on-primary);
}
[data-header] .services-on-hover-1 .services-on-hover-1__promo-texte {
  margin-bottom: 24px;
  color: var(--on-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.7;
}

[data-header] .services-on-hover-1 .services-on-hover-1__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--secondary);
  color: var(--on-secondary);
  border: 0;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  text-transform: none;
  letter-spacing: normal;
  align-self: flex-start;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}
[data-header] .services-on-hover-1 a.services-on-hover-1__cta:hover,
[data-header] .services-on-hover-1 a.services-on-hover-1__cta:focus-visible {
  background: var(--white);
  color: var(--secondary);
  outline: none;
}
[data-header] .services-on-hover-1 .services-on-hover-1__cta svg {
  width: 16px;
  height: 16px;
}

/* ---- Responsive ----
   Plus de palier sur la largeur de FENETRE pour le nombre de colonnes : il
   etait la pour rattraper des pistes trop etroites, ce que `auto-fit` fait
   maintenant en regardant la seule mesure qui compte, celle du panneau. */

/* ── REGROUPEMENT PAR METIER ──────────────────────────────────────────
   Une LIGNE D'EN-TETE pleine largeur ouvre la serie de chaque metier : le
   panneau se lit comme un sommaire a deux sections, au lieu d'une liste de
   treize liens ou rien ne dit ou finit le premier metier.

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

   SUBGRID, et pas une copie des colonnes : le nombre de colonnes de la grille
   varie a l'execution (`--peu-1..3`, et le palier 1440px). Le recopier ici,
   c'est le figer a quatre et casser les menus courts. Le groupe herite donc des
   colonnes de son parent, quelles qu'elles soient. La declaration qui precede
   sert de repli aux navigateurs sans subgrid.

   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-1 .services-on-hover-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(4, minmax(0, 1fr));
  grid-template-columns: subgrid;
  gap: 8px;
}
[data-header] .services-on-hover-1 .services-on-hover-1__metier {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px 8px;
}
[data-header] .services-on-hover-1 .services-on-hover-1__metier-filet {
  flex: 0 0 22px;
  height: 2px;
  background: var(--m-couleur);
}
[data-header] .services-on-hover-1 .services-on-hover-1__metier-nom {
  flex: 1;
  color: var(--m-couleur);
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* L'INTITULE 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'intitule ; 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 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-1 .services-on-hover-1__metier a.services-on-hover-1__metier-nom--link,
[data-header] .services-on-hover-1 .services-on-hover-1__metier a.services-on-hover-1__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.74rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
[data-header] .services-on-hover-1 .services-on-hover-1__metier a.services-on-hover-1__metier-nom--link:hover,
[data-header] .services-on-hover-1 .services-on-hover-1__metier a.services-on-hover-1__metier-nom--link:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}
[data-header] .services-on-hover-1 .services-on-hover-1__metier a.services-on-hover-1__metier-nom--link:focus-visible {
  outline: 2px solid var(--m-couleur);
  outline-offset: 3px;
}

/* LA HAUTEUR DES LIENS, ET LE SCROLL.
   La grille etire ses rangees pour remplir le panneau : a cinq services, un
   lien fait 78 px et son cadre de survol respire. En ajoutant les en-tetes de
   metier et les services d'un second, les rangees retombent a leur minimum —
   52 px, la hauteur de l'icone — et le cadre de survol devient une bande
   serree.

   On rend donc au lien sa hauteur (l'icone fait 50 px, plus 14 px de part et
   d'autre : les 78 px du mono, exprimes et non recopies), et l'on borne le
   panneau pour qu'il defile au lieu de s'etirer sans fin.

   `scrollbar-gutter: stable both-edges` : `overflow-y: auto` fait passer
   `overflow-x` de `visible` a `auto`, et la barre verticale mange la largeur du
   seul cote droit — les services se decalaient vers la gauche. La gouttiere
   reservee des DEUX cotes les remet d'aplomb sans nombre magique, et sans
   dependre de l'epaisseur reelle de la barre, qui n'est pas la meme d'un
   navigateur a l'autre. */
[data-header] .services-on-hover-1 .services-on-hover-1__services--multi {
  max-height: min(70vh, 460px);
  overflow-y: auto;
  scrollbar-gutter: stable both-edges;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--primary) 22%, transparent) transparent;
}
[data-header] .services-on-hover-1 .services-on-hover-1__services--multi::-webkit-scrollbar {
  width: 6px;
}
[data-header] .services-on-hover-1 .services-on-hover-1__services--multi::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--primary) 22%, transparent);
  border-radius: 3px;
}
[data-header] .services-on-hover-1 .services-on-hover-1__services--multi::-webkit-scrollbar-track {
  background: transparent;
}
/* Reserve au multi : en mono la grille etire deja les rangees a la bonne
   hauteur, et lui imposer un rembourrage explicite changerait le rendu des
   sites en place. */
[data-header] .services-on-hover-1 .services-on-hover-1__services--multi .services-on-hover-1__link {
  min-height: calc(50px + 2 * 14px);
  padding: 14px 20px;
}

/* Le survol d'un lien reprend la teinte de son metier. Qualifie par `a` pour
   depasser les hover de la nav parente, comme les regles de base. */
[data-header] .services-on-hover-1 .services-on-hover-1__groupe a.services-on-hover-1__link:hover,
[data-header] .services-on-hover-1 .services-on-hover-1__groupe a.services-on-hover-1__link:focus-visible {
  border-color: var(--m-couleur);
}
[data-header] .services-on-hover-1 .services-on-hover-1__groupe a.services-on-hover-1__link:hover .services-on-hover-1__icone,
[data-header] .services-on-hover-1 .services-on-hover-1__groupe a.services-on-hover-1__link:focus-visible .services-on-hover-1__icone {
  background: var(--m-couleur);
  border-color: var(--m-couleur);
}
/* Apres la regle de base : meme specificite, c'est l'ordre qui tranche. */
[data-header] .services-on-hover-1 .services-on-hover-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] .services-on-hover-1 .services-on-hover-1__promo .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-1 .services-on-hover-1__titre .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-1 .services-on-hover-1__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-1 : components/headers/cta-mobile/cta-mobile-1/cta-mobile-1.css */
/* CTA MOBILE 1 - BOUTON D'APPEL ROND PULSANT */

/* Le conteneur `.cta-mobile` (position, seuil, effacement) vient du main.css
   partage de la sous-famille. Ici, uniquement l'apparence du bouton. */

.cta-mobile-1__btn {
  /* Reset explicite du lien */
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  text-decoration: none;
  cursor: pointer;

  width: fit-content;
  padding: 20px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--on-secondary);
  font-family: var(--font-modern);
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, background 0.3s ease;
  animation: ctaMobile1Pulse 2s infinite;
}

.cta-mobile-1__btn svg {
  width: 24px;
  height: 24px;
}

.cta-mobile-1__btn:hover,
.cta-mobile-1__btn:focus-visible {
  background: var(--primary);
  color: var(--on-primary);
}

.cta-mobile-1__btn:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.cta-mobile-1__btn:active {
  transform: scale(0.95);
}

/* Halo qui se propage depuis le bouton */
@keyframes ctaMobile1Pulse {
  0% {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 0 0 0 var(--secondary);
  }
  50% {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 0 0 15px transparent;
  }
  100% {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 0 0 0 transparent;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-mobile-1__btn {
    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-pages-services/heros-main : components/pages-services/heros/main.css */
[data-service-hero] {
  padding-top: calc(var(--header-height) + 2rem);
}
[data-service-hero] .hero-overlay {
  position: absolute;
  inset: 0;
  background-color: var(--black);
  mix-blend-mode: normal;
  opacity: 0.8;
}
[data-service-hero] .bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Heros « scroll » de page service (hero-12 à 16) : la scène couvre l'écran
   et place elle-même ses textes sous le header ; le décalage commun ne
   s'applique pas. La mécanique (hauteur, sticky, film) est celle des heros
   d'accueil : components/heros/main.css, derrière `data-hero-scroll`. */
[data-service-hero][data-hero-scroll] {
  padding-top: 0;
}

/* mcl-pages-services/heros-hero-2 : components/pages-services/heros/hero-2/hero-2.css */
/* ========================================
    SERVICE HERO 2 - SPLIT LAYOUT
    ======================================== */
.service-hero-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  padding-top: var(--header-height);
}
.service-hero-2 .content {
  background: var(--primary);
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-hero-2 .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.85rem;
}
.service-hero-2 .breadcrumb a {
  color: var(--gray-light);
  text-decoration: none;
}
.service-hero-2 .breadcrumb a:hover {
  color: var(--white);
}
.service-hero-2 .breadcrumb span {
  color: var(--gray-dark);
}
.service-hero-2 .breadcrumb .current {
  color: var(--gray-light);
}
.service-hero-2 .eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}
.service-hero-2 h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--white);
  margin-bottom: 20px;
}
.service-hero-2 .description {
  font-size: 1.05rem;
  color: var(--white);
  line-height: 1.8;
  margin-bottom: 32px;
}
.service-hero-2 .features {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}
.service-hero-2 .feature {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 0.9rem;
}
.service-hero-2 .feature svg {
  width: 18px;
  height: 18px;
  color: var(--white);
}
.service-hero-2 .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--secondary);
  color: var(--on-secondary);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  align-self: flex-start;
}
/* D-323 : focus aux valeurs du repos (suki : `a:focus`, `button:focus` (0,1,1)). */
.service-hero-2 .btn:focus {
  background: var(--secondary);
  color: var(--on-secondary);
  border-color: transparent;
}
.service-hero-2 .btn:hover {
  background: var(--white);
  color: var(--black);
  border-color: transparent;
}
/* Focus clavier : suki retire le contour (`html :focus`). Anneau à deux
   tons (WCAG C40), lisible quelle que soit la charte (D-323). */
.service-hero-2 .btn:focus-visible,
.service-hero-2 .breadcrumb a:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}

.service-hero-2 .image {
  position: relative;
  overflow: hidden;
}
/* Hors du flux : voir service-hero-5. La hauteur intrinseque de la photo ne
   doit pas piloter la ligne de grille, sinon une image tres haute etire la
   section bien au-dela des 600px voulus. */
.service-hero-2 .image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-hero-2 .image-badge {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background: var(--secondary);
  padding: 20px 24px;
  text-align: center;
}
.service-hero-2 .image-badge .value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--white);
  line-height: 1;
}
.service-hero-2 .image-badge .label {
  font-size: 0.8rem;
  color: var(--white);
  text-transform: uppercase;
}
@media (max-width: 1024px) {
  .service-hero-2 {
    grid-template-columns: 1fr;
  }
  .service-hero-2 .image {
    height: 400px;
    order: -1;
  }
  .service-hero-2 .content {
    padding: 50px 5%;
  }
}

/* ── 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. */
.service-hero-2 h1:hover {
  color: var(--white);
}

/* Accent ((…)) d'une description de l'offre : gras, dans la couleur du
   texte qui le porte (la description déclare la sienne, fond réel compris). */
.service-hero-2 .description .mcl-accent {
  color: inherit;
  font-weight: 700;
}

/* 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). */
.service-hero-2 .feature .mcl-accent {
  color: inherit;
  font-weight: 700;
}

/* 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. */
.service-hero-2 h1 .mcl-accent,
.service-hero-2 .breadcrumb a .mcl-accent,
.service-hero-2 .breadcrumb .current .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). */
.service-hero-2__feature-texte {
  color: inherit;
}

/* mcl-pages-services/intros-intro-6 : components/pages-services/intros/intro-6/intro-6.css */
/* SERVICE INTRO 6 - SPLIT MESH LUMINEUX (moderne, fond animé infini) */
.service-intro-6 {
  position: relative;
  overflow: hidden;
  background: var(--white);
  color: var(--primary);
  padding: clamp(4rem, 8vw, 7rem) 5%;
  isolation: isolate;
}

/* ---- Fond animé infini : lueur conique en rotation lente ---- */
.service-intro-6__glow {
  position: absolute;
  top: 30%;
  left: 72%;
  width: clamp(500px, 55vw, 900px);
  height: clamp(500px, 55vw, 900px);
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    color-mix(in srgb, var(--secondary) 30%, transparent),
    transparent 30%,
    color-mix(in srgb, var(--secondary) 18%, transparent) 60%,
    transparent 80%,
    color-mix(in srgb, var(--secondary) 30%, transparent)
  );
  filter: blur(70px);
  opacity: 0.5;
  will-change: transform;
  animation: intro6Spin 32s linear infinite;
}

/* Piège transform + keyframes : on conserve le translate de centrage */
@keyframes intro6Spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* ---- Layout ---- */
.service-intro-6__inner {
  position: relative;
  max-width: var(--max-content-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

/* ---- Contenu ---- */
.service-intro-6__eyebrow {
  display: inline-block;
  font-family: var(--font-modern);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-dark);
  margin-bottom: 1.1rem;
}
.service-intro-6__title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.12;
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.service-intro-6__lead {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--primary);
  margin-bottom: 1rem;
}
.service-intro-6__text {
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--gray-dark);
  margin-bottom: 1.8rem;
}
.service-intro-6__features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1.4rem;
  margin-bottom: 2.2rem;
}
.service-intro-6__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--primary);
}
.service-intro-6__check {
  width: 18px;
  height: 18px;
  min-width: 18px;
  color: var(--secondary);
}

/* ---- Bouton devis (reset explicite + états) ---- */
.service-intro-6__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px;
  background: var(--primary);
  border: 2px solid var(--primary);
  color: var(--on-primary);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
/* D-323 : focus aux valeurs du repos (suki : `a:focus`, `button:focus` (0,1,1)). */
.service-intro-6__btn:focus {
  background: var(--primary);
  color: var(--on-primary);
  border-color: var(--primary);
}
.service-intro-6__btn:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--on-secondary);
}
/* Anneau à deux tons (WCAG C40), lisible quelle que soit la charte (D-323). */
.service-intro-6__btn:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}

/* ---- Média : collage ---- */
.service-intro-6__media {
  position: relative;
  min-height: clamp(320px, 42vw, 480px);
}
.service-intro-6__img {
  display: block;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}
.service-intro-6__img--main {
  width: 82%;
  height: 100%;
  position: absolute;
  inset: 0 0 0 auto;
}
.service-intro-6__img--sub {
  position: absolute;
  bottom: -6%;
  left: 0;
  width: 46%;
  aspect-ratio: 4 / 3;
  border: 6px solid var(--white);
}
.service-intro-6__badge {
  position: absolute;
  top: 8%;
  left: -4%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 1.3rem;
  background: var(--secondary);
  color: var(--on-secondary);
  border-radius: 2px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}
.service-intro-6__badge-value {
  font-family: var(--font-numeric);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}
.service-intro-6__badge-label {
  font-family: var(--font-modern);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  margin-top: 0.3rem;
}

/* ---- Accessibilité : coupe l'animation si demandé ---- */
@media (prefers-reduced-motion: reduce) {
  .service-intro-6__glow {
    animation: none;
  }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .service-intro-6__inner {
    grid-template-columns: 1fr;
  }
  .service-intro-6__media {
    order: -1;
    min-height: clamp(300px, 60vw, 420px);
  }
}
@media (max-width: 480px) {
  .service-intro-6__features {
    grid-template-columns: 1fr;
  }
  .service-intro-6__img--sub {
    display: none;
  }
  .service-intro-6__badge {
    left: auto;
    right: 4%;
  }
}

/* ── 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. */
.service-intro-6__title:hover {
  color: var(--primary);
}

/* Accent ((…)) des paragraphes d'introduction de l'offre (intro.description_*,
   rendus par mcl_texte_echappe — offre.md) : la couleur du paragraphe, en gras.
   Le même paragraphe s'ouvre sur `phrase_ouverture` (socle, render()) : un
   ((…)) qu'une surcharge y pose suit cette règle et passe en gras lui aussi.
   Voulu (H-22) : un seul traitement d'accent par paragraphe.
   Fond réel : la section unie, aucune image derrière (§4.13). */
.service-intro-6__lead .mcl-accent,
.service-intro-6__text .mcl-accent {
  color: inherit;
  font-weight: 700;
}

/* 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). */
.service-intro-6__feature .mcl-accent {
  color: inherit;
  font-weight: 700;
}

/* 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. */
.service-intro-6__title .mcl-accent {
  color: inherit;
  font-style: italic;
}

/* mcl-pages-services/prestations-main : components/pages-services/prestations/main.css */
/* ===========================================
    BOUTONS CTA
    =========================================== */
[data-prestations] .btn-group {
  display: flex;
  gap: 20px;
}
[data-prestations] .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
}
/* Neutralise le contour bleu par défaut (thème WP / navigateur) — CLAUDE.md §4.6.
   D-323 : focus aux valeurs du repos (suki : `a:focus` (0,1,1)), écrit avant
   le survol pour que celui-ci l'emporte. */
[data-prestations] .btn:focus {
  outline: none;
  background: var(--primary);
  color: var(--on-primary);
  border-color: transparent;
}
[data-prestations] .btn:hover {
  background: var(--secondary);
  color: var(--on-secondary);
  border-color: transparent;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}
/* Anneau à deux tons (WCAG C40) : lisible quelle que soit la charte. */
[data-prestations] .btn:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
  background: var(--secondary);
  color: var(--on-secondary);
  border-color: transparent;
}
[data-prestations] .btn-2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--secondary);
  color: var(--on-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
}

[data-prestations] .btn-2:focus {
  outline: none;
  background: var(--secondary);
  color: var(--on-secondary);
  border-color: transparent;
}
[data-prestations] .btn-2:hover {
  background: var(--primary);
  color: var(--on-primary);
  border-color: transparent;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}
[data-prestations] .btn-2:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
  background: var(--primary);
  color: var(--on-primary);
  border-color: transparent;
}

.btn-devis {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  background: var(--primary);
  border: 2px solid var(--white);
  color: var(--on-primary);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.btn-devis::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  border: none;
  background: var(--secondary);
  transition: left 0.3s ease;
  z-index: 0;
}
.btn-devis:hover::before {
  left: 0;
}
.btn-devis span,
.btn-devis svg {
  position: relative;
  z-index: 1;
}
/* D-323 : `.btn-devis` (0,1,0) perd contre `a:focus` de suki (0,1,1) : le
   focus réécrit les valeurs du repos, avant le survol. */
.btn-devis:focus {
  outline: none;
  background: var(--primary);
  color: var(--on-primary);
  border-color: var(--white);
}
.btn-devis:hover {
  color: var(--on-secondary);
  background: var(--secondary);
  border-color: var(--white);
}
.btn-devis:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}
.btn-devis svg {
  width: 20px;
  height: 20px;
  min-width: 20px;
  transition: transform 0.3s ease;
}
.btn-devis:hover svg {
  transform: translateX(5px);
}

.btn-devis--dark {
  background: var(--gray-dark);
  color: var(--white);
  border-color: var(--gray-dark);
}
.btn-devis--dark::before {
  background: var(--secondary);
}
.btn-devis--dark:focus {
  background: var(--gray-dark);
  color: var(--white);
  border-color: var(--gray-dark);
}
/* Le fond reste celui du repos : c'est le ::before qui glisse en --secondary
   (avec --secondary ici, l'animation ne se voyait plus). */
.btn-devis--dark:hover {
  background: var(--gray-dark);
  color: var(--black);
  border-color: var(--secondary);
}

/* Bouton mini pour les cartes */
.btn-devis-mini {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--primary);
  color: var(--on-primary);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  border: none;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
  margin-top: 16px;
}
.btn-devis-mini:focus {
  outline: none;
  background: var(--primary);
  color: var(--on-primary);
  border-color: transparent;
}
.btn-devis-mini:hover {
  background: var(--secondary);
  color: var(--on-secondary);
  border-color: transparent;
  transform: translateX(5px);
}
.btn-devis-mini:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}
.btn-devis-mini svg {
  width: 16px;
  height: 16px;
  min-width: 16px;
}

/* Bouton mini variante sombre (pour dark sections) */
.btn-devis-mini--light {
  background: color-mix(in srgb, var(--white) 10%, transparent);
  color: var(--white);
  border: 1px solid color-mix(in srgb, var(--white) 20%, transparent);
}
.btn-devis-mini--light:focus {
  background: color-mix(in srgb, var(--white) 10%, transparent);
  color: var(--white);
  border-color: color-mix(in srgb, var(--white) 20%, transparent);
}
.btn-devis-mini--light:hover {
  background: var(--secondary);
  color: var(--on-secondary);
  border-color: var(--secondary);
}

@media (max-width: 768px) {
  [data-prestations] .btn-group {
    flex-direction: column;
    gap: 12px;
  }
}

/* mcl-pages-services/prestations-prestations-6 : components/pages-services/prestations/prestations-6/prestations-6.css */
/* SERVICE PRESTATIONS 6 - SLIDING TABS */
.prestations-6 {
  padding: 70px 5%;
  background: var(--gray-light);
  font-family: var(--font-body);
}
.prestations-6__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.prestations-6__title {
  margin: 0 0 36px;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.15rem);
  font-weight: 600;
  color: var(--primary);
}
.prestations-6__tabs {
  position: relative;
  display: flex;
  padding: 5px;
  margin-bottom: 36px;
  border-radius: 30px;
  background: var(--white);
}
.prestations-6__indicator {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: calc(100% / var(--count) - 2px);
  border-radius: 24px;
  background: var(--secondary);
  transform: translateX(0);
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.1, 1);
}
.prestations-6__tab {
  position: relative;
  z-index: 1;
  flex: 1;
  padding: 12px 4px;
  border-radius: 24px;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s ease;
  white-space: normal;
  overflow: visible;
  height: auto;
}

.prestations-6__tab:hover,
.prestations-6__tab:focus {
  background: var(--secondary);
  color: var(--on-secondary);
}
/* Neutralise le contour bleu par défaut (thème WP / navigateur) — CLAUDE.md §4.6 */
.prestations-6__tab:focus {
  outline: none;
}
.prestations-6__tab:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 70%, transparent);
  outline-offset: 3px;
}

.prestations-6__tab.is-active {
  color: var(--white);
}
.prestations-6__panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.prestations-6__panel.is-active {
  display: grid;
}
.prestations-6__tag {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--secondary);
}
.prestations-6__name {
  margin: 0 0 12px;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
}
.prestations-6__desc {
  margin: 0 0 18px;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--gray-dark);
}
.prestations-6__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.prestations-6__chip {
  padding: 6px 13px;
  border-radius: 14px;
  font-size: 0.75rem;
  background: color-mix(in srgb, var(--secondary) 10%, transparent);
  color: color-mix(in srgb, var(--secondary) 78%, var(--primary));
}
.prestations-6__media img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
}
@media (max-width: 1024px) {
  .prestations-6__tabs {
    flex-direction: column;
    gap: 6px;
    padding: 6px;
    border-radius: 16px;
  }
  .prestations-6__indicator {
    display: none; /* plus de sens en colonne */
  }
  .prestations-6__tab {
    flex: none;
    width: 100%;
    text-align: left;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    padding: 13px 18px;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.35;
  }
  .prestations-6__tab.is-active {
    background: var(--secondary);
    color: var(--on-secondary);
  }
}
@media (max-width: 768px) {
  .prestations-6__panel.is-active {
    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. */
.prestations-6__name:hover,
.prestations-6__title:hover {
  color: var(--primary);
}

/* Accent ((…)) d'une description de l'offre : gras, dans la couleur du
   texte qui le porte (la description déclare la sienne, fond réel compris). */
.prestations-6__desc .mcl-accent {
  color: inherit;
  font-weight: 700;
}

/* 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. */
.prestations-6__tab .mcl-accent,
.prestations-6__name .mcl-accent {
  color: inherit;
  font-style: italic;
}

/* ── TÉLÉPHONE : espacement commun des sections (C97-L4, D-493 (3)) ──
   64 px haut et bas sous 640 px, valeur de assets/css/global.css. */
@media (max-width: 640px) {
  .prestations-6 {
    padding-top: var(--mcl-section-espace-mobile);
    padding-bottom: var(--mcl-section-espace-mobile);
  }
}

/* mcl-pages-services/processus-processus-4 : components/pages-services/processus/processus-4/processus-4.css */
/* ========================================
    PROCESSUS 4 - ALTERNATING SPLIT
    ======================================== */
.processus-4 {
  padding: 100px 5%;
  background: var(--white);
}
.processus-4 .header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 70px;
}
.processus-4 .eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}
.processus-4 h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--primary);
}
.processus-4 .steps {
  max-width: 1000px;
  margin: 0 auto;
}
.processus-4 .step {
  display: grid;
  grid-template-columns: 1fr 100px 1fr;
  gap: 30px;
  align-items: center;
  margin-bottom: 30px;
}
.processus-4 .step:nth-child(even) .step-content {
  order: 3;
  text-align: left;
}
.processus-4 .step:nth-child(even) .step-number {
  order: 2;
}
.processus-4 .step:nth-child(even) .step-image {
  order: 1;
}
.processus-4 .step:nth-child(odd) .step-content {
  text-align: right;
}
.processus-4 .step-content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--black);
  margin-bottom: 10px;
}
.processus-4 .step-content p {
  font-size: 0.95rem;
  color: var(--gray-dark);
  line-height: 1.7;
}
.processus-4 .step-number {
  width: 80px;
  height: 80px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--on-primary);
  margin: 0 auto;
  position: relative;
}
.processus-4 .step:not(:last-child) .step-number::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 50px;
  background: var(--gray-light);
}
.processus-4 .step-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
  .processus-4 .step {
    grid-template-columns: 60px 1fr;
  }
  .processus-4 .step-image {
    display: none;
  }
  .processus-4 .step:nth-child(even) .step-content,
  .processus-4 .step:nth-child(odd) .step-content {
    order: 2;
    text-align: left;
  }
  .processus-4 .step:nth-child(even) .step-number {
    order: unset;
  }
  .processus-4 .step-number {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    order: 1;
  }
}

/* ── 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. */
.processus-4 .step-content h3:hover {
  color: var(--black);
}

.processus-4 h2:hover {
  color: var(--primary);
}

/* Accent ((…)) d'une description de l'offre : gras, dans la couleur du
   texte qui le porte (la description déclare la sienne, fond réel compris). */
.processus-4 .step-content p .mcl-accent {
  color: inherit;
  font-weight: 700;
}

/* 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. */
.processus-4 h2 .mcl-accent,
.processus-4 .step-content h3 .mcl-accent {
  color: inherit;
  font-style: italic;
}

/* ── TÉLÉPHONE : espacement commun des sections (C97-L4, D-493 (3)) ──
   64 px haut et bas sous 640 px, valeur de assets/css/global.css. */
@media (max-width: 640px) {
  .processus-4 {
    padding-top: var(--mcl-section-espace-mobile);
    padding-bottom: var(--mcl-section-espace-mobile);
  }
}

/* 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-7 : components/realisations/realisations-images/realisations-7/realisations-7.css */
/* REALISATIONS 7 - GRILLE FILTRABLE, VIGNETTES TITREES */

.realisations-7 {
  padding: clamp(60px, 8vw, 110px) 5%;
  background: var(--white);
}

.realisations-7__inner {
  max-width: var(--max-content-width, 1200px);
  margin: 0 auto;
}

/* ============ EN-TETE ============ */
.realisations-7__head {
  max-width: 62ch;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.realisations-7__eyebrow {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-modern);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--secondary);
}

.realisations-7 h2.realisations-7__titre,
.realisations-7 h2.realisations-7__titre:hover {
  color: var(--black);
}

.realisations-7 h2.realisations-7__titre {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.1;
}

.realisations-7__intro {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--gray-dark);
}

/* ============ FILTRES ============ */
.realisations-7__filtres {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(24px, 3vw, 36px);
}

.realisations-7 button.realisations-7__filtre {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  padding: 0.6rem 1.2rem;
  background: none;
  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.85rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.realisations-7 button.realisations-7__filtre:focus {
  background: none;
  color: var(--gray-dark);
  border-color: color-mix(in srgb, var(--gray-dark) 30%, transparent);
}
.realisations-7 button.realisations-7__filtre:hover {
  border-color: var(--secondary);
  color: var(--black);
  background: none;
}

.realisations-7 button.realisations-7__filtre.is-active {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--on-secondary);
}

.realisations-7 button.realisations-7__filtre:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

/* ============ GRILLE ============ */
.realisations-7__grille {
  display: grid;
  gap: clamp(16px, 2.2vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.realisations-7__grille--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.realisations-7__grille--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.realisations-7__item[hidden] {
  display: none;
}

/* ============ CARTE ============ */
.realisations-7 a.realisations-7__carte {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
  border-radius: 14px;
  overflow: hidden;
  background: var(--gray-light);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

/* D-323 : focus aux valeurs du repos (suki : `a:focus`, `button:focus` (0,1,1)). */
.realisations-7 a.realisations-7__carte:focus {
  background: var(--gray-light);
  color: inherit;
  border-color: transparent;
}
.realisations-7 a.realisations-7__carte:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.16);
  background: var(--gray-light);
  color: inherit;
  border-color: transparent;
}

.realisations-7 a.realisations-7__carte:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 3px;
}

.realisations-7__visuel {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.realisations-7__visuel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.realisations-7 a.realisations-7__carte:hover .realisations-7__visuel img {
  transform: scale(1.05);
}

.realisations-7__compte {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--on-primary);
  font-family: var(--font-modern);
  font-size: 0.75rem;
  font-weight: 700;
}

/* Projet fait seulement de vidéos, sans vignette (D-457 (5)) : fond sombre
   aux couleurs du site, icône de lecture, aucune image cassée. */
.realisations-7__sans-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: color-mix(in srgb, var(--primary) 70%, var(--black));
  color: var(--white);
}

.realisations-7__sans-image .realisations-7__sans-image-icone {
  width: clamp(44px, 18%, 64px);
  height: auto;
  color: var(--white);
}

/* Le site a des vidéos (C83-L3, D-454 (3), D-457 (4)) : « 3 photos · 1
   vidéo », « 3 photos »… une pastille de texte sur toute la grille ; elle
   ne déborde pas de la carte. */
.realisations-7__compte.realisations-7__compte--texte {
  display: block;
  max-width: calc(100% - 24px);
  padding: 0 12px;
  line-height: 30px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--on-primary);
}

.realisations-7__legende {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px 20px;
  background: var(--white);
}

/* Le niveau du titre depend du contexte (h3 sous l'en-tete, h2 sans elle) :
   on cible les deux, en gardant la specificite d'un selecteur de balise. */
.realisations-7 h2.realisations-7__nom,
.realisations-7 h3.realisations-7__nom,
.realisations-7 h2.realisations-7__nom:hover,
.realisations-7 h3.realisations-7__nom:hover {
  color: var(--black);
}

.realisations-7 h2.realisations-7__nom,
.realisations-7 h3.realisations-7__nom {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.25;
}

.realisations-7__lien {
  font-family: var(--font-modern);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
}

/* ============ AUCUN RESULTAT ============ */
.realisations-7__vide {
  margin: 30px 0 0;
  font-size: 0.95rem;
  color: var(--gray-dark);
}

.realisations-7__vide[hidden] {
  display: none;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .realisations-7__grille--3,
  .realisations-7__grille--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .realisations-7__grille--3,
  .realisations-7__grille--4 {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .realisations-7 a.realisations-7__carte,
  .realisations-7__visuel img,
  .realisations-7 button.realisations-7__filtre {
    transition: none;
  }
}

/* mcl-zones-zones-2 : components/zones/zones-2/zones-2.css */
/* ZONES 2 - SPLIT MAP */
.zones-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.zones-2 .content {
  padding: 80px 60px;
  background: var(--primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.zones-2 .eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}
.zones-2 h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.5rem);
  color: var(--white);
  margin-bottom: 20px;
}
.zones-2 .content > p {
  color: var(--gray-light);
  line-height: 1.7;
  margin-bottom: 36px;
}
.zones-2 .cities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 36px;
}
.zones-2 .city {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 0.95rem;
}
.zones-2 .city svg {
  width: 16px;
  height: 16px;
  color: var(--white);
}
.zones-2 .city .tag {
  color: var(--white);
  text-decoration: none;
}

.zones-2 .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--secondary);
  color: var(--on-secondary);
  font-weight: 700;
  text-decoration: none;
  width: fit-content;
  transition: all 0.3s;
}
/* D-323 : focus aux valeurs du repos (suki : `a:focus`, `button:focus` (0,1,1)). */
.zones-2 .btn:focus {
  background: var(--secondary);
  color: var(--on-secondary);
  border-color: transparent;
}
.zones-2 .btn:hover {
  background: var(--white);
  color: var(--black);
  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-2 .btn:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}
.zones-2 .map {
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-light);
  min-height: 500px;
}
@media (max-width: 1024px) {
  .zones-2 {
    grid-template-columns: 1fr;
  }
  .zones-2 .content {
    padding: 60px 30px;
  }
}

/* ── 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-2 h2:hover {
  color: var(--white);
}

/* 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. */
.zones-2 .mcl-accent {
  color: var(--secondary);
  font-weight: 700;
}

/* 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);
  overflow-wrap: break-word;
  min-width: 0;
}
/* 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;
}
/* Le libellé passe à la ligne dans sa case au lieu de l'élargir (C97-L2) :
   sans `min-width: 0`, l'élément flexible garde la largeur de son mot le plus
   long. Limité à la grille : `.service-info` est aussi une classe de
   services-5 et de prestations-4. */
.services-grid .service-info {
  min-width: 0;
}
.services-grid .service-name {
  overflow-wrap: break-word;
}
.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: minmax(0, 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-18 : components/contacts/contact-18/contact-18.css */
/* CONTACT 18 - PAS A PAS : LE FORMULAIRE EN ETAPES COURTES, UNE COLONNE PROFONDE QUI SUIT LA PROGRESSION */

/*
 * Le parti pris : on ne montre qu'une petite chose a la fois. Votre besoin,
 * vos photos, vos coordonnees : trois etapes courtes, une barre de
 * progression, un retour toujours possible. A gauche, une colonne en aplat
 * profond tient le plan des etapes et le telephone.
 *
 * SANS JAVASCRIPT, tout est visible d'un coup et le formulaire s'envoie
 * normalement : c'est le script qui pose `.contact-18--etapes` et revele la
 * navigation. Memes champs, memes noms, meme envoi que les freres.
 *
 * Sous-composants rendus ici : aucun selecteur ne se termine sur une balise nue
 * (§4.12). Le formulaire vit dans un panneau blanc : les sous-composants
 * gardent le fond clair qu'ils attendent. L'aplat profond ne porte que du texte
 * de la variante, en var(--on-primary) (§4.14).
 */

.contact-18 {
  --c18-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --c18-rayon: 12px;
  --c18-filet: color-mix(in srgb, var(--black) 12%, transparent);
  --c18-champ-bord: color-mix(in srgb, var(--black) 45%, var(--white));
  --c18-champ-fond: var(--white);
  --c18-sur-aplat-doux: color-mix(in srgb, var(--on-primary) 74%, transparent);
  /* Rouge d'erreur : couleur de SENS, pas de marque (§4.1) : celui des
     contacts 6 a 13 et 19. Une saisie refusee reste rouge sur toutes les
     chartes ; 7,2:1 sur blanc. */
  --c18-erreur: #9f2f24;
  --points-forts-align: flex-start;

  position: relative;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
}

.contact-18__inner {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 128px) clamp(16px, 4vw, 48px);
}

/* ── La colonne profonde ─────────────────────────────────────────────── */
.contact-18__rail {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: clamp(32px, 4vw, 48px);
  background: var(--primary);
  color: var(--on-primary);
  border-radius: var(--c18-rayon) 0 0 var(--c18-rayon);
}

.contact-18__surtitre {
  margin: 0 0 -32px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c18-sur-aplat-doux);
}

.contact-18__titre,
.contact-18__titre:hover {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 3.5rem);
  font-weight: 400;
  line-height: 1;
  color: var(--on-primary);
}

.contact-18__titre .mcl-accent {
  color: inherit;
  font-style: italic;
}

.contact-18__plan {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.contact-18__plan-etape {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  padding-left: 16px;
  border-left: 2px solid color-mix(in srgb, var(--on-primary) 24%, transparent);
  font-size: 1rem;
  line-height: 1.3;
  color: var(--c18-sur-aplat-doux);
  transition: color 320ms var(--c18-ease), border-color 320ms var(--c18-ease);
}

.contact-18__plan-etape[aria-current="step"] {
  border-left-color: var(--on-primary);
  color: var(--on-primary);
}

.contact-18__plan-etape.is-faite {
  color: var(--on-primary);
}

.contact-18__plan-numero {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: inherit;
}

.contact-18__plan-libelle {
  font-weight: 600;
  color: inherit;
}

/* Etape faite : un trait coche, et pas seulement la couleur. */
.contact-18__plan-etape.is-faite .contact-18__plan-libelle::after {
  content: " \2713";
}

.contact-18__coordonnees {
  display: grid;
  gap: 24px;
  margin-top: auto;
}

/* Bouton d'action sur l'aplat --primary : `--secondary` / `--on-secondary`
   (D-466, D-481 (3)) — `--accent` peut valoir `--primary` et y
   disparaitrait. Reset et etats a deux classes (D-323, §4.6) : Suki pose
   `a:hover, a:focus`. */
.contact-18 .contact-18__appeler {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  max-width: 100%;
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--on-secondary);
  background: var(--secondary);
  border: 1px solid transparent;
  border-radius: var(--c18-rayon);
  text-decoration: none;
  scroll-margin-top: calc(var(--header-height, 0px) + 16px);
  transition: background-color 200ms var(--c18-ease);
}

/* `:focus` = repos. */
.contact-18 .contact-18__appeler:focus {
  color: var(--on-secondary);
  background: var(--secondary);
  border-color: transparent;
}

/* Survol assombri, comme les boutons des soeurs (D-466 (1)). */
.contact-18 .contact-18__appeler:hover,
.contact-18 .contact-18__appeler:focus-visible:hover {
  color: var(--on-secondary);
  background: color-mix(in srgb, var(--secondary) 86%, var(--black));
  border-color: transparent;
}

/* Anneau a deux tons (D-323, §4.6) : sur l'aplat sombre, le liseré blanc se
   voit ; sur une charte claire, le trait noir. */
.contact-18 .contact-18__appeler:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 4px;
  box-shadow: 0 0 0 4px var(--white);
}

.contact-18__appeler-icone {
  flex: none;
  width: 20px;
  height: 20px;
}

.contact-18__appeler-texte {
  color: inherit;
  white-space: nowrap;
}

.contact-18 .contact-18__infos {
  display: grid;
  gap: 24px;
  margin: 0;
}

.contact-18__info {
  display: grid;
  gap: 4px;
  min-width: 0;
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--on-primary);
}

.contact-18 .contact-18__info-titre {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c18-sur-aplat-doux);
}

.contact-18 .contact-18__info-valeur {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
  color: var(--on-primary);
}

.contact-18 .contact-18__lien {
  justify-self: start;
  color: var(--on-primary);
  background: none;
  border: 0;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--on-primary) 40%, transparent);
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
  scroll-margin-top: calc(var(--header-height, 0px) + 16px);
}

.contact-18 .contact-18__lien:focus {
  color: var(--on-primary);
  background: none;
  border: 0;
  text-decoration-color: color-mix(in srgb, var(--on-primary) 40%, transparent);
}

.contact-18 .contact-18__lien:hover,
.contact-18 .contact-18__lien:focus-visible:hover {
  color: var(--on-primary);
  background: none;
  border: 0;
  text-decoration-color: currentColor;
}

.contact-18 .contact-18__lien:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--white);
  text-decoration-color: currentColor;
}

/* ── Le panneau ──────────────────────────────────────────────────────── */
.contact-18__panneau {
  padding: clamp(32px, 4vw, 64px);
  background: var(--white);
  border: 1px solid var(--c18-filet);
  border-left: 0;
  border-radius: 0 var(--c18-rayon) var(--c18-rayon) 0;
}

.contact-18__form-titre,
.contact-18__form-titre:hover {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--black);
}

.contact-18__form-intro {
  margin: 8px 0 32px;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--gray-dark);
}

/* ── Progression ─────────────────────────────────────────────────────── */
.contact-18__progression {
  display: grid;
  gap: 12px;
}

.contact-18__progression[hidden] {
  display: none;
}

.contact-18__compteur {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
  color: var(--gray-dark);
}

.contact-18__barre {
  height: 4px;
  overflow: hidden;
  background: var(--gray-light);
  border-radius: 4px;
}

.contact-18__barre-remplie {
  display: block;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0.33);
  transform-origin: left center;
  transition: transform 480ms var(--c18-ease);
}

/* ── Les etapes ──────────────────────────────────────────────────────── */
.contact-18__etape {
  display: grid;
  gap: 24px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.contact-18__etape[hidden] {
  display: none;
}

/* Sans JS, les etapes se suivent : un filet les separe. */
.contact-18__etape + .contact-18__etape {
  padding-top: 32px;
  border-top: 1px solid var(--c18-filet);
}

.contact-18--etapes .contact-18__etape + .contact-18__etape {
  padding-top: 0;
  border-top: 0;
}

/* Reset explicite : le theme donne a `legend` marges, corps et bordure. */
.contact-18 .contact-18__etape-titre {
  display: flex;
  align-items: baseline;
  gap: 12px;
  width: 100%;
  margin: 0 0 24px;
  padding: 0;
  border: 0;
  letter-spacing: normal;
  text-transform: none;
  scroll-margin-top: calc(var(--header-height, 0px) + 16px);
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  font-weight: 400;
  line-height: 1;
  color: var(--black);
}

.contact-18 .contact-18__etape-titre:focus {
  outline: none;
}

/* Anneau a deux tons (D-323, §4.6) quand le clavier y amene. */
.contact-18 .contact-18__etape-titre:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 4px;
  box-shadow: 0 0 0 4px var(--white);
}

.contact-18__etape-libelle {
  color: inherit;
}

.contact-18__etape-numero {
  font-variant-numeric: tabular-nums;
  color: var(--gray-dark);
}

/* Glissement doux a l'entree d'une etape, dans le sens du parcours. */
.contact-18__etape--entree-avant {
  animation: contact18EntreeAvant 360ms var(--c18-ease) both;
}

.contact-18__etape--entree-arriere {
  animation: contact18EntreeArriere 360ms var(--c18-ease) both;
}

@keyframes contact18EntreeAvant {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes contact18EntreeArriere {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}

.contact-18__grille {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

/* ── Formulaire ──────────────────────────────────────────────────────── */
.contact-18 .contact-18__form {
  /* Les sous-composants lisent ces variables (comme les contacts 6 a 9) : le
     lien de la mention et les messages d'etat en noir sur le fond blanc du
     formulaire — la secondaire (repli) peut y etre illisible (jaune : 1,61:1). */
  --mention-donnees-lien: var(--black);
  --suivi-formulaire-texte: var(--black);

  display: grid;
  gap: 32px;
  margin: 0;
}

/* Les etats du formulaire (suivi-formulaire) : au repos, rien n'est
   affiche et l'enveloppe ne prend aucune place (ni rangee ni ecart de la
   grille) ; elle revient des qu'un message, une confirmation ou le statut
   d'envoi est visible. */
.contact-18 .contact-18__suivi {
  min-width: 0;
}

.contact-18 .contact-18__suivi:not(:has(.suivi-formulaire__erreur:not([hidden]), .suivi-formulaire__confirmation:not([hidden]), .suivi-formulaire__statut:not([hidden]))) {
  display: none;
}

.contact-18 .contact-18__groupe {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.contact-18 .contact-18__groupe--grille {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-18 .contact-18__champ {
  display: grid;
  gap: 8px;
  align-content: start;
  min-width: 0;
}

.contact-18 .contact-18__label,
.contact-18 .form-label {
  display: block;
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: normal;
  text-transform: none;
  color: var(--black);
}

.contact-18 .contact-18__label-texte {
  color: inherit;
}

.contact-18 .form-group {
  display: grid;
  gap: 8px;
  margin: 0;
}

/* La mention « obligatoire », en toutes lettres (contrat des contacts 6 a 9) :
   en casse ordinaire, plus discrete que le libelle. */
.contact-18 .contact-18__requis {
  margin-left: 4px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--gray-dark);
}

/* Reset explicite (§4.6) : le theme dessine un cadre gris et pose ses
   propres etats sur input:focus. Etats a deux classes, au-dessus de lui. */
.contact-18 .contact-18__input {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--black);
  background: var(--c18-champ-fond);
  border: 1.5px solid var(--c18-champ-bord);
  border-radius: var(--c18-rayon);
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  scroll-margin-top: calc(var(--header-height, 0px) + 16px);
  transition: border-color 200ms var(--c18-ease), box-shadow 200ms var(--c18-ease);
}

.contact-18 .contact-18__input--texte {
  min-height: 128px;
  resize: vertical;
}

.contact-18 .contact-18__input::placeholder {
  color: var(--gray-dark);
  opacity: 1;
}

.contact-18 .contact-18__input:hover {
  color: var(--black);
  background: var(--c18-champ-fond);
  border-color: color-mix(in srgb, var(--black) 70%, var(--white));
}

/* Focus : le cadre prend la couleur d'action, et un anneau a deux tons
   (D-323, §4.6) le dit quelle que soit la charte. */
.contact-18 .contact-18__input:focus,
.contact-18 .contact-18__input:focus-visible {
  color: var(--black);
  background: var(--c18-champ-fond);
  border-color: var(--accent);
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}

/* ── Erreurs (suivi-formulaire), annoncees en texte ──────────────────── */
/* Bordure + icone + phrase : pas la couleur seule. */
.contact-18 .contact-18__input[aria-invalid="true"] {
  border-color: var(--c18-erreur);
}

.contact-18 .contact-18__erreur {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--c18-erreur);
}

.contact-18 .contact-18__erreur[hidden] {
  display: none;
}

.contact-18 .contact-18__erreur-icone {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 1px;
}

.contact-18 .contact-18__erreur-texte {
  color: var(--c18-erreur);
}

/* ── Envoi ───────────────────────────────────────────────────────────── */
.contact-18 .contact-18__envoi {
  display: grid;
  gap: 16px;
}

/* Reset explicite (§4.6). Bouton d'action sur fond blanc : `--accent` /
   `--on-accent` (§4.14). Etats ecrits fond, couleur et bordure au-dessus du
   theme (D-323) : `button.…` (0,2,1) et plus. */
.contact-18 button.contact-18__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  margin: 0;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: normal;
  text-transform: none;
  color: var(--on-accent);
  background: var(--accent);
  border: 1px solid transparent;
  border-radius: var(--c18-rayon);
  box-shadow: none;
  cursor: pointer;
  scroll-margin-top: calc(var(--header-height, 0px) + 16px);
  transition: background-color 200ms var(--c18-ease), transform 200ms var(--c18-ease);
}

/* `:focus` = repos : un bouton clique ne parait pas survole. */
.contact-18 button.contact-18__submit:focus {
  color: var(--on-accent);
  background: var(--accent);
  border-color: transparent;
}

.contact-18 button.contact-18__submit:hover,
.contact-18 button.contact-18__submit:focus-visible:hover {
  color: var(--on-accent);
  background: color-mix(in srgb, var(--accent) 86%, var(--black));
  border-color: transparent;
}

/* Anneau a deux tons (D-323, §4.6) : lisible quelle que soit la charte. */
.contact-18 button.contact-18__submit:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}

.contact-18 button.contact-18__submit:active {
  transform: translateY(1px);
}

/* Envoi en cours (aria-busy pose par suivi-formulaire). */
.contact-18 button.contact-18__submit[aria-busy="true"] {
  cursor: progress;
}

.contact-18 button.contact-18__submit[aria-busy="true"]::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: contact18Tourne 800ms linear infinite;
}

@keyframes contact18Tourne {
  to { transform: rotate(360deg); }
}

/* ── Navigation ──────────────────────────────────────────────────────── */
.contact-18__navigation {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 16px;
}

.contact-18 button.contact-18__submit,
.contact-18 button.contact-18__suivant {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
}

/* Continuer : le bouton d'action de l'etape, sur fond blanc : `--accent`
   (§4.14). Reset et etats a deux classes et la balise (D-323, §4.6). */
.contact-18 button.contact-18__suivant {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  margin: 0;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: normal;
  text-transform: none;
  color: var(--on-accent);
  background: var(--accent);
  border: 1px solid transparent;
  border-radius: var(--c18-rayon);
  box-shadow: none;
  cursor: pointer;
  scroll-margin-top: calc(var(--header-height, 0px) + 16px);
  transition: background-color 200ms var(--c18-ease);
}

.contact-18 button.contact-18__suivant:focus {
  color: var(--on-accent);
  background: var(--accent);
  border-color: transparent;
}

.contact-18 button.contact-18__suivant:hover,
.contact-18 button.contact-18__suivant:focus-visible:hover {
  color: var(--on-accent);
  background: color-mix(in srgb, var(--accent) 86%, var(--black));
  border-color: transparent;
}

.contact-18 button.contact-18__suivant:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}

/* Retour : bouton secondaire, contour neutre sur fond blanc. */
.contact-18 button.contact-18__retour {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  margin: 0;
  padding: 16px 24px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: normal;
  text-transform: none;
  color: var(--black);
  background: var(--white);
  border: 1.5px solid var(--c18-champ-bord);
  border-radius: var(--c18-rayon);
  box-shadow: none;
  cursor: pointer;
  scroll-margin-top: calc(var(--header-height, 0px) + 16px);
  transition: border-color 200ms var(--c18-ease), opacity 200ms var(--c18-ease);
}

.contact-18 button.contact-18__retour:focus {
  color: var(--black);
  background: var(--white);
  border-color: var(--c18-champ-bord);
}

.contact-18 button.contact-18__retour:hover,
.contact-18 button.contact-18__retour:focus-visible:hover {
  color: var(--black);
  background: var(--white);
  border-color: var(--black);
}

.contact-18 button.contact-18__retour:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}

/* Premiere etape : rien avant. Desactive (hors exigence de contraste),
   au repos meme survole. */
.contact-18 button.contact-18__retour:disabled,
.contact-18 button.contact-18__retour:disabled:hover {
  color: var(--black);
  background: var(--white);
  border-color: var(--c18-champ-bord);
  cursor: default;
  opacity: 0.4;
}

.contact-18 button.contact-18__retour[hidden],
.contact-18 button.contact-18__suivant[hidden],
.contact-18 button.contact-18__submit[hidden] {
  display: none;
}

.contact-18__bouton-texte {
  color: inherit;
}

.contact-18__fleche {
  flex: none;
  width: 18px;
  height: 18px;
}

/* La photo de l'etape « photos » : l'intitule de l'etape dit deja celui
   de la zone de depot ; son libelle reste lu (il nomme le champ), sans
   se repeter a l'ecran. */
.contact-18 .contact-18__etape--photos .form-label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Modale : la colonne devient un bandeau ──────────────────────────── */
.contact-18--modale {
  width: min(880px, 90vw);
}

.contact-18--modale .contact-18__inner {
  grid-template-columns: minmax(0, 1fr);
  padding: 0;
}

.contact-18--modale .contact-18__rail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px 32px;
  padding: 64px clamp(16px, 5vw, 48px) 32px;
  border-radius: 0;
}

.contact-18--modale .contact-18__surtitre,
.contact-18--modale .contact-18__plan {
  display: none;
}

.contact-18--modale .contact-18__titre,
.contact-18--modale .contact-18__titre:hover {
  font-size: clamp(2rem, 5vw, 2.75rem);
}

.contact-18--modale .contact-18__coordonnees {
  margin-top: 0;
}

.contact-18--modale .contact-18__panneau {
  padding: 32px clamp(16px, 5vw, 48px) 48px;
  border: 0;
  border-radius: 0;
}

/* ── Tablette : la colonne passe en tete ─────────────────────────────── */
@media (max-width: 1024px) {
  .contact-18__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-18__rail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px 48px;
    border-radius: var(--c18-rayon) var(--c18-rayon) 0 0;
  }

  .contact-18__surtitre,
  .contact-18__titre {
    grid-column: 1 / -1;
  }

  .contact-18__surtitre {
    margin-bottom: -16px;
  }

  .contact-18__coordonnees {
    margin-top: 0;
  }

  .contact-18__panneau {
    border: 1px solid var(--c18-filet);
    border-top: 0;
    border-radius: 0 0 var(--c18-rayon) var(--c18-rayon);
  }
}

/* ── Mobile : titre et appel d'abord, la progression suffit au plan ──── */
@media (max-width: 768px) {
  .contact-18__inner {
    padding-inline: 0;
    padding-block: 0 64px;
  }

  .contact-18__rail,
  .contact-18--modale .contact-18__rail {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 48px 16px 32px;
    border-radius: 0;
  }

  .contact-18--modale .contact-18__rail {
    padding-top: 64px;
  }

  .contact-18__plan {
    display: none;
  }

  .contact-18__coordonnees {
    gap: 16px;
  }

  .contact-18 .contact-18__appeler {
    width: 100%;
  }

  .contact-18__panneau,
  .contact-18--modale .contact-18__panneau {
    padding: 32px 16px;
    border: 0;
    border-radius: 0;
  }

  .contact-18__grille {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-18 button.contact-18__retour {
    padding-inline: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-18__plan-etape,
  .contact-18__barre-remplie,
  .contact-18 .contact-18__appeler,
  .contact-18 .contact-18__input,
  .contact-18 button.contact-18__submit,
  .contact-18 button.contact-18__suivant,
  .contact-18 button.contact-18__retour {
    transition: none;
  }

  .contact-18__etape--entree-avant,
  .contact-18__etape--entree-arriere,
  .contact-18 button.contact-18__submit[aria-busy="true"]::before {
    animation: none;
  }
}

/* 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/upload-zone-upload-zone : components/contacts/upload-zone/upload-zone.css */
/* UPLOAD ZONE - PLACEHOLDER HACHURE, DEPOT GLISSER-DEPOSER, APERCUS */

/* Sous-composant en cascade : les CSS de contacts et de heros ciblent des
   elements generiques descendants. Chaque regle est qualifiee par le bloc
   racine (+ l'element quand c'est un p / li / span). (§4.12) */

.upload-zone {
  position: relative;
  display: block;
  padding: 22px 18px;
  border-radius: 12px;
  /* Le hachure classique : bordure pointillee + trame diagonale legere. */
  border: 2px dashed color-mix(in srgb, var(--gray-dark) 42%, transparent);
  background-color: color-mix(in srgb, var(--gray-light) 34%, transparent);
  background-image: repeating-linear-gradient(
    45deg,
    color-mix(in srgb, var(--gray-dark) 7%, transparent) 0,
    color-mix(in srgb, var(--gray-dark) 7%, transparent) 8px,
    transparent 8px,
    transparent 16px
  );
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.upload-zone.is-dragover {
  border-color: var(--secondary);
  background-color: color-mix(in srgb, var(--secondary) 12%, transparent);
}

/* L'input couvre toute la zone : le clic n'importe ou ouvre le selecteur, et
   le glisser-deposer natif du navigateur reste fonctionnel sans JS. */
.upload-zone input.upload-zone__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
  /* D-323 : champ invisible, couleur écrite pour que le thème n'y touche pas. */
  color: var(--black);
}

/* Le champ couvre la zone mais il est transparent (opacity 0) : son propre
   contour ne se peint pas. L'anneau est posé sur la zone qui le contient,
   à deux tons (WCAG C40), lisible quel que soit le fond (D-323, C70-L10). */
.upload-zone input.upload-zone__input:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}
.upload-zone:has(input.upload-zone__input:focus-visible) {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}

.upload-zone .upload-zone__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
  pointer-events: none;
}

.upload-zone .upload-zone__icone {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--secondary);
}

.upload-zone .upload-zone__icone svg {
  width: 100%;
  height: 100%;
}

.upload-zone span.upload-zone__hint {
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: normal;
  text-transform: none;
  color: var(--black);
}

.upload-zone span.upload-zone__note {
  font-family: var(--font-modern);
  font-size: 0.7rem;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: normal;
  text-transform: none;
  color: var(--gray-dark);
}

/* ============ APERCUS ============ */
.upload-zone ul.upload-zone__apercus {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.upload-zone ul.upload-zone__apercus:not(:empty) {
  margin-top: 16px;
}

.upload-zone li.upload-zone__apercu {
  position: relative;
  width: 76px;
  margin: 0;
  padding: 0;
}

.upload-zone .upload-zone__vignette {
  display: block;
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 9px;
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--gray-dark) 24%, transparent);
}

/* Repli pour un format que le navigateur ne sait pas peindre (HEIC iOS) :
   pas de vignette, mais l'extension pour que le depot reste lisible. */
.upload-zone .upload-zone__vignette--fallback {
  display: grid;
  place-items: center;
  font-family: var(--font-modern);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-dark);
}

.upload-zone span.upload-zone__nom {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  font-family: var(--font-modern);
  font-size: 0.62rem;
  line-height: 1.3;
  letter-spacing: normal;
  text-transform: none;
  color: var(--gray-dark);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-zone button.upload-zone__retirer {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  top: -6px;
  right: -6px;
  margin: 0;
  padding: 0;
  background: var(--black);
  border: 0;
  border-radius: 50%;
  color: var(--white);
  font-family: inherit;
  cursor: pointer;

  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  transition: background 0.22s ease, transform 0.22s ease;
}

.upload-zone button.upload-zone__retirer svg {
  width: 11px;
  height: 11px;
}

.upload-zone button.upload-zone__retirer:hover {
  background: var(--secondary);
  transform: scale(1.08);
}

.upload-zone button.upload-zone__retirer:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.upload-zone p.upload-zone__erreur {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: normal;
  text-transform: none;
  color: var(--secondary);
}

.upload-zone p.upload-zone__erreur[hidden] {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .upload-zone,
  .upload-zone button.upload-zone__retirer {
    transition: none;
  }
}

/* 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-configurateurs/configurateur-toiture-configurateur-toiture-2 : components/configurateurs/configurateur-toiture/configurateur-toiture-2/configurateur-toiture-2.css */
/* CONFIGURATEUR TOITURE 2 - CHOIX INTÉGRÉS À LA SCÈNE, STUDIO SOMBRE, TIROIR DE CHOIX */

.configurateur-toiture-2 {
  --cfgt2-rayon: 16px;
  /* Rouge d'erreur (message du PDF) : couleur de SENS, ne suit pas la charte (§4.1). Éclairci pour le fond sombre du tiroir. */
  --cfgt2-erreur: #fda29b;
  --cfgt2-verre: color-mix(in srgb, var(--black) 72%, transparent);
  --cfgt2-verre-fort: color-mix(in srgb, var(--black) 88%, transparent);
  --cfgt2-filet: color-mix(in srgb, var(--white) 12%, transparent);
  --cfgt2-surface: color-mix(in srgb, var(--white) 6%, transparent);
  --cfgt2-surface-forte: color-mix(in srgb, var(--white) 12%, transparent);
  --cfgt2-texte-doux: color-mix(in srgb, var(--white) 68%, transparent);
  --cfgt2-tiroir: min(440px, 92%);
  background: var(--gray-light);
  color: var(--black);
  font-family: var(--font-body);
  padding: clamp(32px, 5vw, 72px) 0;
}
.configurateur-toiture-2 [hidden] {
  display: none !important;
}
.configurateur-toiture-2__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
  display: grid;
  gap: clamp(20px, 3vw, 32px);
}

/* ---------- En-tête de section ---------- */
.configurateur-toiture-2__head {
  display: grid;
  gap: 10px;
  max-width: 760px;
}
.configurateur-toiture-2__surtitre {
  margin: 0;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}
.configurateur-toiture-2__titre,
.configurateur-toiture-2__titre:hover {
  margin: 0;
  color: var(--black);
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  line-height: 1.12;
  text-wrap: balance;
}
.configurateur-toiture-2__description {
  margin: 0;
  color: var(--gray-dark);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.6;
}

/* ---------- Cadre : scène + tiroir ---------- */
.configurateur-toiture-2__cadre {
  position: relative;
  border-radius: var(--cfgt2-rayon);
  overflow: hidden;
  background: var(--black);
  color: var(--white);
}
.configurateur-toiture-2__scene {
  position: relative;
  height: clamp(380px, 60vh, 620px);
  /* Décor de studio sombre, quel que soit le thème : la maison ressort. */
  background:
    radial-gradient(ellipse 70% 55% at 55% 40%, color-mix(in srgb, var(--black) 80%, var(--white)) 0%, transparent 70%),
    var(--black);
  isolation: isolate;
}
.configurateur-toiture-2.is-js .configurateur-toiture-2__cadre {
  /* Tient dans un écran avec l'en-tête de section : le pied du tiroir
     (Précédent / Suivant) ne doit jamais tomber sous la ligne de flottaison. */
  height: clamp(540px, calc(100vh - 290px), 820px);
}
.configurateur-toiture-2.is-js .configurateur-toiture-2__scene {
  position: absolute;
  inset: 0;
  height: auto;
}
.configurateur-toiture-2__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: pan-y;
  cursor: grab;
}
.configurateur-toiture-2__canvas:active {
  cursor: grabbing;
}
.configurateur-toiture-2__apercu {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}
.configurateur-toiture-2__scene.is-prete .configurateur-toiture-2__apercu {
  opacity: 0;
  pointer-events: none;
}
.configurateur-toiture-2__etat {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  margin: 0;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--cfgt2-verre);
  color: var(--white);
  font-size: 0.86rem;
  line-height: 1.4;
  z-index: 3;
}
.configurateur-toiture-2__aide {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  margin: 0;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--cfgt2-verre);
  color: var(--cfgt2-texte-doux);
  font-size: 0.78rem;
  line-height: 1.3;
  white-space: nowrap;
  pointer-events: none;
  z-index: 2;
}

/* Panneaux de verre sombre posés sur la scène */
.configurateur-toiture-2__etapes,
.configurateur-toiture-2__selection,
.configurateur-toiture-2__outils {
  position: absolute;
  z-index: 3;
  background: var(--cfgt2-verre);
  box-shadow: inset 0 0 0 1px var(--cfgt2-filet), 0 12px 32px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
  color: var(--white);
}

/* Étapes : pastilles en haut, centrées sur l'espace libre */
.configurateur-toiture-2__etapes {
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  max-width: calc(100% - 140px);
  overflow-x: auto;
  scrollbar-width: none;
}
.configurateur-toiture-2__etape {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px 8px 8px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--cfgt2-texte-doux);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
/* D-323 : focus aux valeurs du repos (suki : `a:focus`, `button:focus` (0,1,1)). */
.configurateur-toiture-2__etape:focus {
  background: none;
  color: var(--cfgt2-texte-doux);
  border-color: transparent;
}
.configurateur-toiture-2__etape:hover {
  background: var(--cfgt2-surface);
  color: var(--white);
  border-color: transparent;
}
/* Anneau à deux tons (WCAG C40), lisible quelle que soit la charte (D-323). */
.configurateur-toiture-2__etape:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}
.configurateur-toiture-2__etape[aria-current="step"],
.configurateur-toiture-2__etape[aria-current="step"]:hover {
  background: var(--white);
  color: var(--black);
}
.configurateur-toiture-2__etape-num {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cfgt2-surface-forte);
  color: inherit;
  font-size: 0.72rem;
  font-weight: 700;
}
.configurateur-toiture-2__etape-nom {
  color: inherit;
}

/* Estimation : carte compacte en bas à gauche */
.configurateur-toiture-2__selection {
  left: 16px;
  bottom: 16px;
  width: 270px;
  max-height: calc(100% - 96px);
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: var(--cfgt2-rayon);
  overflow-y: auto;
}
.configurateur-toiture-2__total-libelle {
  margin: 0;
  color: var(--cfgt2-texte-doux);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}
.configurateur-toiture-2__montant {
  margin: 0;
  color: var(--white);
  font-family: var(--font-numeric, var(--font-heading));
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.configurateur-toiture-2__detail {
  color: var(--white);
}
.configurateur-toiture-2__detail-bouton {
  color: var(--cfgt2-texte-doux);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
}
.configurateur-toiture-2__detail-bouton:hover {
  color: var(--white);
}
.configurateur-toiture-2__detail-bouton:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}
.configurateur-toiture-2__detail-liste {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 10px;
  margin: 8px 0 0;
}
.configurateur-toiture-2__detail-poste {
  color: var(--cfgt2-texte-doux);
  font-size: 0.76rem;
  line-height: 1.35;
}
.configurateur-toiture-2__detail-prix {
  margin: 0;
  color: var(--white);
  font-size: 0.76rem;
  line-height: 1.35;
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.configurateur-toiture-2__mention {
  margin: 0;
  color: var(--cfgt2-texte-doux);
  font-size: 0.72rem;
  line-height: 1.4;
}
.configurateur-toiture-2__devis,
.configurateur-toiture-2__envoyer,
.configurateur-toiture-2__valider {
  width: 100%;
  padding: 13px 18px;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: var(--on-accent);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: filter 0.2s ease;
}
.configurateur-toiture-2__envoyer:focus {
  background: var(--accent);
  color: var(--on-accent);
  border-color: transparent;
}
.configurateur-toiture-2__valider:focus {
  background: var(--accent);
  color: var(--on-accent);
  border-color: transparent;
}
.configurateur-toiture-2__devis:hover,
.configurateur-toiture-2__envoyer:hover,
.configurateur-toiture-2__valider:hover {
  color: var(--on-accent);
  filter: brightness(1.1);
  background: var(--accent);
  border-color: transparent;
}
.configurateur-toiture-2__devis:focus-visible,
.configurateur-toiture-2__envoyer:focus-visible,
.configurateur-toiture-2__valider:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

/* Outils : colonne verticale à droite */
.configurateur-toiture-2__outils {
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  border-radius: 14px;
  transition: right 0.35s ease;
}
/* Tiroir ouvert : on se concentre sur l'étape, les outils de vue s'effacent. */
.configurateur-toiture-2.is-tiroir-ouvert .configurateur-toiture-2__outils,
.configurateur-toiture-2.is-tiroir-ouvert .configurateur-toiture-2__aide {
  display: none;
}
/* Tiroir ouvert : les étapes se recentrent sur l'espace libre à gauche. */
.configurateur-toiture-2.is-tiroir-ouvert .configurateur-toiture-2__etapes {
  left: calc((100% - var(--cfgt2-tiroir)) / 2);
  max-width: calc(100% - var(--cfgt2-tiroir) - 96px);
}
.configurateur-toiture-2__etape.is-faite .configurateur-toiture-2__etape-num {
  background: var(--white);
  color: var(--black);
}
.configurateur-toiture-2__outils-filet {
  height: 1px;
  margin: 2px 6px;
  background: var(--cfgt2-filet);
}
.configurateur-toiture-2__outil {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--white);
  font-family: inherit;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.configurateur-toiture-2__outil:focus {
  background: none;
  color: var(--white);
  border-color: transparent;
}
.configurateur-toiture-2__outil:hover {
  background: var(--cfgt2-surface-forte);
  color: var(--white);
  border-color: transparent;
}
.configurateur-toiture-2__outil:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 1px;
}
.configurateur-toiture-2__outil[aria-pressed="true"],
.configurateur-toiture-2__outil[aria-pressed="true"]:hover {
  background: var(--white);
  color: var(--black);
}
.configurateur-toiture-2__icone {
  width: 20px;
  height: 20px;
  color: inherit;
}

/* Repères accrochés à la maison */
.configurateur-toiture-2__reperes {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.configurateur-toiture-2__repere {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: -15px 0 0 -15px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--white);
  font-family: inherit;
  cursor: pointer;
  pointer-events: auto;
}
.configurateur-toiture-2__repere-point {
  position: relative;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--white) 85%, transparent), 0 6px 18px rgba(0, 0, 0, 0.45);
}
.configurateur-toiture-2__repere-point::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--white);
  animation: configurateurToiture2Pouls 2.2s ease-out infinite;
}
.configurateur-toiture-2__repere-nom {
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--cfgt2-verre-fort);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.configurateur-toiture-2__repere.is-etape .configurateur-toiture-2__repere-nom,
.configurateur-toiture-2__repere:hover .configurateur-toiture-2__repere-nom,
.configurateur-toiture-2__repere:focus-visible .configurateur-toiture-2__repere-nom {
  opacity: 1;
  transform: none;
}
.configurateur-toiture-2__repere:focus-visible {
  outline: none;
}
.configurateur-toiture-2__repere:focus-visible .configurateur-toiture-2__repere-point {
  outline: 2px solid var(--white);
  outline-offset: 4px;
}
@keyframes configurateurToiture2Pouls {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.9); opacity: 0; }
}

.configurateur-toiture-2__etiquette {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: grid;
  gap: 1px;
  max-width: 220px;
  margin: -18px 0 0 12px;
  padding: 6px 10px;
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  background: var(--cfgt2-verre-fort);
  color: var(--white);
  font-size: 0.78rem;
  line-height: 1.25;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.configurateur-toiture-2__etiquette.is-cachee {
  opacity: 0;
}

/* ---------- Le formulaire / tiroir ---------- */
.configurateur-toiture-2__tiroir {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--cfgt2-verre-fort);
  color: var(--white);
}
.configurateur-toiture-2.is-js .configurateur-toiture-2__tiroir {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  width: var(--cfgt2-tiroir);
  box-shadow: -1px 0 0 var(--cfgt2-filet), -24px 0 48px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px);
  transform: translateX(105%);
  visibility: hidden;
  transition: transform 0.35s ease, visibility 0s linear 0.35s;
}
.configurateur-toiture-2.is-js .configurateur-toiture-2__tiroir.is-ouvert {
  transform: none;
  visibility: visible;
  transition: transform 0.35s ease, visibility 0s;
}
.configurateur-toiture-2__tiroir-tete {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 12px 20px;
  border-bottom: 1px solid var(--cfgt2-filet);
}
.configurateur-toiture-2__tiroir-titre {
  margin: 0;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
}
.configurateur-toiture-2__fermer {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: var(--cfgt2-surface);
  color: var(--white);
  font-family: inherit;
  cursor: pointer;
}
.configurateur-toiture-2__fermer:focus {
  background: var(--cfgt2-surface);
  color: var(--white);
  border-color: transparent;
}
.configurateur-toiture-2__fermer:hover {
  background: var(--cfgt2-surface-forte);
  color: var(--white);
  border-color: transparent;
}
.configurateur-toiture-2__fermer:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}
.configurateur-toiture-2__tiroir-corps {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px 20px;
}
.configurateur-toiture-2:not(.is-js) .configurateur-toiture-2__tiroir-corps {
  display: grid;
  gap: 28px;
  padding: clamp(20px, 3vw, 32px);
}
.configurateur-toiture-2__tiroir-pied {
  padding: 12px 20px 16px;
  border-top: 1px solid var(--cfgt2-filet);
}

.configurateur-toiture-2__panneau {
  display: grid;
  gap: 16px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.configurateur-toiture-2__panneau-titre {
  float: left;
  width: 100%;
  margin: 0;
  padding: 0;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.2;
}
.configurateur-toiture-2.is-js .configurateur-toiture-2__panneau-titre {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.configurateur-toiture-2__aide-texte {
  clear: both;
  margin: 0;
  color: var(--cfgt2-texte-doux);
  font-size: 0.84rem;
  line-height: 1.5;
}
.configurateur-toiture-2__groupe,
.configurateur-toiture-2__bloc {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.configurateur-toiture-2__label {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  margin: 0;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.3;
}
.configurateur-toiture-2__valeur {
  color: var(--white);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}
.configurateur-toiture-2__ligne {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}
.configurateur-toiture-2__champ {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.configurateur-toiture-2__input,
.configurateur-toiture-2__select,
.configurateur-toiture-2__textarea,
.configurateur-toiture-2__quantite {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 11px 12px;
  border: 1px solid var(--cfgt2-filet);
  border-radius: 10px;
  background: var(--cfgt2-surface);
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.3;
  box-shadow: none;
  color-scheme: dark;
}
.configurateur-toiture-2__textarea {
  resize: vertical;
}
.configurateur-toiture-2__input:hover,
.configurateur-toiture-2__select:hover,
.configurateur-toiture-2__textarea:hover,
.configurateur-toiture-2__quantite:hover {
  border-color: color-mix(in srgb, var(--white) 30%, transparent);
}
.configurateur-toiture-2__input:focus-visible,
.configurateur-toiture-2__select:focus-visible,
.configurateur-toiture-2__textarea:focus-visible,
.configurateur-toiture-2__quantite:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 1px;
}
.configurateur-toiture-2__select--petit {
  padding: 6px 8px;
  font-size: 0.8rem;
}
.configurateur-toiture-2__curseur {
  width: 100%;
  margin: 4px 0;
  accent-color: var(--white);
  background: none;
  cursor: pointer;
}
.configurateur-toiture-2__curseur:hover {
  accent-color: var(--white);
}
.configurateur-toiture-2__curseur:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 4px;
}

.configurateur-toiture-2__radio {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.configurateur-toiture-2__case {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.configurateur-toiture-2__case:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.configurateur-toiture-2__segments {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: var(--cfgt2-surface);
}
.configurateur-toiture-2__segment {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px 8px;
  border-radius: 9px;
  color: var(--cfgt2-texte-doux);
  text-align: center;
  cursor: pointer;
}
.configurateur-toiture-2__segment:hover {
  color: var(--white);
}
.configurateur-toiture-2__segment-texte {
  color: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.25;
}
.configurateur-toiture-2__segment:has(input:checked) {
  background: var(--white);
  color: var(--black);
}
.configurateur-toiture-2__segment:has(input:focus-visible) {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.configurateur-toiture-2__formes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
.configurateur-toiture-2__forme {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 10px 4px;
  border-radius: 12px;
  background: var(--cfgt2-surface);
  box-shadow: inset 0 0 0 1px var(--cfgt2-filet);
  color: var(--cfgt2-texte-doux);
  cursor: pointer;
}
.configurateur-toiture-2__forme:hover {
  color: var(--white);
}
.configurateur-toiture-2__forme-icone {
  width: 34px;
  height: 34px;
  color: inherit;
}
.configurateur-toiture-2__forme-nom {
  color: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}
.configurateur-toiture-2__forme:has(input:checked) {
  color: var(--white);
  box-shadow: inset 0 0 0 2px var(--white);
}
.configurateur-toiture-2__forme:has(input:focus-visible) {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

/* Cartes photo : la « modale de choix » */
.configurateur-toiture-2__cartes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.configurateur-toiture-2__carte {
  position: relative;
  display: grid;
  align-content: start;
  gap: 3px;
  padding: 6px 6px 10px;
  border-radius: 14px;
  background: var(--cfgt2-surface);
  box-shadow: inset 0 0 0 1px var(--cfgt2-filet);
  color: var(--white);
  cursor: pointer;
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}
.configurateur-toiture-2__carte:hover {
  background: var(--cfgt2-surface-forte);
}
.configurateur-toiture-2__carte:has(input:checked) {
  box-shadow: inset 0 0 0 2px var(--white);
}
.configurateur-toiture-2__carte:has(input:focus-visible) {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}
.configurateur-toiture-2__carte.is-hors {
  opacity: 0.4;
  cursor: not-allowed;
}
.configurateur-toiture-2__carte-visuel {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  margin-bottom: 6px;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cfgt-teinte) 0 50%, var(--cfgt-teinte-2) 50% 100%);
}
.configurateur-toiture-2__carte-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.configurateur-toiture-2__carte-nom {
  padding: 0 4px;
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.25;
}
.configurateur-toiture-2__carte-info,
.configurateur-toiture-2__carte-alerte {
  padding: 0 4px;
  color: var(--cfgt2-texte-doux);
  font-size: 0.74rem;
  line-height: 1.35;
}
.configurateur-toiture-2__carte-alerte {
  font-style: italic;
}
.configurateur-toiture-2__cartes--compactes .configurateur-toiture-2__carte-visuel {
  aspect-ratio: 16 / 9;
}
.configurateur-toiture-2__carte--texte {
  align-content: center;
  min-height: 72px;
}

.configurateur-toiture-2__pastilles {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.configurateur-toiture-2__pastille {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px 5px 5px;
  border-radius: 999px;
  background: var(--cfgt2-surface);
  box-shadow: inset 0 0 0 1px var(--cfgt2-filet);
  color: var(--white);
  cursor: pointer;
}
.configurateur-toiture-2__pastille:hover {
  background: var(--cfgt2-surface-forte);
}
.configurateur-toiture-2__pastille:has(input:checked) {
  box-shadow: inset 0 0 0 2px var(--white);
}
.configurateur-toiture-2__pastille:has(input:focus-visible) {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}
.configurateur-toiture-2__pastille-couleur {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cfgt-teinte) 0 50%, var(--cfgt-teinte-2) 50% 100%);
  box-shadow: inset 0 0 0 1px var(--cfgt2-filet);
}
.configurateur-toiture-2__pastille-nom {
  color: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
}

.configurateur-toiture-2__options {
  display: grid;
  gap: 6px;
}
.configurateur-toiture-2__option {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 10px 12px 10px 38px;
  border-radius: 12px;
  background: var(--cfgt2-surface);
  color: var(--white);
  cursor: pointer;
}
.configurateur-toiture-2__option::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 12px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--cfgt2-texte-doux);
  border-radius: 50%;
  box-sizing: border-box;
}
.configurateur-toiture-2__option:hover {
  background: var(--cfgt2-surface-forte);
}
.configurateur-toiture-2__option:has(input:checked)::before {
  border-color: var(--white);
  background: radial-gradient(var(--white) 0 40%, transparent 46%);
}
.configurateur-toiture-2__option:has(input:focus-visible) {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}
.configurateur-toiture-2__option-nom {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
}
.configurateur-toiture-2__option-info {
  color: var(--cfgt2-texte-doux);
  font-size: 0.76rem;
  line-height: 1.4;
}

.configurateur-toiture-2__liste {
  display: grid;
  gap: 6px;
}
.configurateur-toiture-2__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--cfgt2-surface);
  color: var(--white);
}
label.configurateur-toiture-2__item {
  cursor: pointer;
}
.configurateur-toiture-2__item-texte {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.configurateur-toiture-2__item-nom {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
}
.configurateur-toiture-2__item-info {
  color: var(--cfgt2-texte-doux);
  font-size: 0.74rem;
  line-height: 1.35;
}
.configurateur-toiture-2__compteur {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 10px;
  background: var(--cfgt2-surface);
}
.configurateur-toiture-2__pas {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--white);
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.configurateur-toiture-2__pas:focus {
  background: none;
  color: var(--white);
  border-color: transparent;
}
.configurateur-toiture-2__pas:hover {
  background: var(--cfgt2-surface-forte);
  color: var(--white);
  border-color: transparent;
}
.configurateur-toiture-2__pas:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 1px;
}
.configurateur-toiture-2__quantite {
  width: 44px;
  padding: 4px 2px;
  border: 0;
  background: none;
  text-align: center;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
}
.configurateur-toiture-2__quantite::-webkit-inner-spin-button,
.configurateur-toiture-2__quantite::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.configurateur-toiture-2__resume {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  color: var(--black);
}

/* Tutoriel d'accueil */
.configurateur-toiture-2__tuto {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  padding: 16px;
  background: color-mix(in srgb, var(--black) 55%, transparent);
}
.configurateur-toiture-2__tuto-carte {
  width: min(440px, 100%);
  display: grid;
  gap: 14px;
  padding: clamp(20px, 3vw, 28px);
  border-radius: var(--cfgt2-rayon);
  background: var(--cfgt2-verre-fort);
  box-shadow: inset 0 0 0 1px var(--cfgt2-filet), 0 24px 60px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
  color: var(--white);
}
.configurateur-toiture-2__tuto-titre {
  margin: 0;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  font-weight: 700;
  line-height: 1.2;
}
.configurateur-toiture-2__tuto-liste {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: cfgt2tuto;
}
.configurateur-toiture-2__tuto-ligne {
  position: relative;
  padding-left: 36px;
  color: var(--white);
  font-size: 0.92rem;
  line-height: 1.45;
  counter-increment: cfgt2tuto;
}
.configurateur-toiture-2__tuto-ligne::before {
  content: counter(cfgt2tuto);
  position: absolute;
  left: 0;
  top: -1px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.78rem;
  font-weight: 700;
}
.configurateur-toiture-2__tuto-aide {
  margin: 0;
  color: var(--cfgt2-texte-doux);
  font-size: 0.82rem;
  line-height: 1.45;
}
.configurateur-toiture-2__tuto-bouton,
.configurateur-toiture-2__reprendre {
  padding: 13px 22px;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: var(--on-accent);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}
/* D-323 : focus aux valeurs du repos (suki : `a:focus`, `button:focus` (0,1,1)). */
.configurateur-toiture-2__tuto-bouton:focus {
  background: var(--accent);
  color: var(--on-accent);
  border-color: transparent;
}
.configurateur-toiture-2__reprendre:focus {
  background: var(--accent);
  color: var(--on-accent);
  border-color: transparent;
}
.configurateur-toiture-2__tuto-bouton:hover,
.configurateur-toiture-2__reprendre:hover {
  color: var(--on-accent);
  filter: brightness(1.1);
  background: var(--accent);
  border-color: transparent;
}
/* Anneau à deux tons (WCAG C40), lisible quelle que soit la charte (D-323). */
.configurateur-toiture-2__tuto-bouton:focus-visible,
.configurateur-toiture-2__reprendre:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}
.configurateur-toiture-2__reprendre {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.configurateur-toiture-2.is-tuto .configurateur-toiture-2__aide {
  display: none;
}

/* Boutons contextuels d'une étape (coupe thermique, pluie) */
.configurateur-toiture-2__contexte {
  justify-self: start;
  padding: 9px 14px;
  border: 0;
  border-radius: 10px;
  background: var(--cfgt2-surface-forte);
  color: var(--white);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}
.configurateur-toiture-2__contexte:focus {
  background: var(--cfgt2-surface-forte);
  color: var(--white);
  border-color: transparent;
}
.configurateur-toiture-2__contexte:hover {
  background: color-mix(in srgb, var(--white) 20%, transparent);
  color: var(--white);
  border-color: transparent;
}
.configurateur-toiture-2__contexte:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}
.configurateur-toiture-2__contexte[aria-pressed="true"],
.configurateur-toiture-2__contexte[aria-pressed="true"]:hover {
  background: var(--white);
  color: var(--black);
}

/* Récapitulatif (étape devis) */
.configurateur-toiture-2__recap {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--cfgt2-surface);
}
.configurateur-toiture-2__recap-liste {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: 5px 12px;
  margin: 0;
}
.configurateur-toiture-2__recap-terme {
  color: var(--cfgt2-texte-doux);
  font-size: 0.76rem;
  line-height: 1.35;
}
.configurateur-toiture-2__recap-valeur {
  margin: 0;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
}

/* Récapitulatif PDF (D-41) : bouton secondaire du tiroir, sous le récapitulatif. */
.configurateur-toiture-2__pdf {
  display: grid;
  gap: 6px;
}
.configurateur-toiture-2__pdf-bouton {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 18px;
  border: 1px solid var(--cfgt2-filet);
  border-radius: 12px;
  background: var(--cfgt2-surface-forte);
  color: var(--white);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.configurateur-toiture-2__pdf-bouton:focus {
  background: var(--cfgt2-surface-forte);
  color: var(--white);
  border-color: var(--cfgt2-filet);
}
.configurateur-toiture-2__pdf-bouton:hover {
  background: color-mix(in srgb, var(--white) 20%, transparent);
  color: var(--white);
  border-color: var(--cfgt2-filet);
}
.configurateur-toiture-2__pdf-bouton:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}
.configurateur-toiture-2__pdf-bouton[aria-busy="true"] {
  cursor: progress;
  opacity: 0.65;
}
.configurateur-toiture-2__pdf-icone {
  flex: none;
  width: 18px;
  height: 18px;
}
.configurateur-toiture-2__pdf-libelle {
  color: inherit;
}
.configurateur-toiture-2__pdf-aide,
.configurateur-toiture-2__pdf-chargement {
  margin: 0;
  color: var(--cfgt2-texte-doux);
  font-size: 0.74rem;
  line-height: 1.45;
}
.configurateur-toiture-2__pdf-erreur {
  margin: 0;
  padding-left: 10px;
  border-left: 3px solid var(--cfgt2-erreur);
  color: var(--cfgt2-erreur);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.45;
}

/* Pied du tiroir : progression et navigation */
.configurateur-toiture-2__progression {
  height: 4px;
  border-radius: 4px;
  background: var(--cfgt2-surface-forte);
  overflow: hidden;
}
.configurateur-toiture-2__progression-barre {
  display: block;
  height: 100%;
  width: 20%;
  border-radius: 4px;
  background: var(--white);
  transition: width 0.35s ease;
}
.configurateur-toiture-2__progression-texte {
  margin: 8px 0 10px;
  color: var(--cfgt2-texte-doux);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.2;
}
.configurateur-toiture-2__nav {
  display: flex;
  gap: 8px;
}
.configurateur-toiture-2__nav .configurateur-toiture-2__valider {
  flex: 1;
}
.configurateur-toiture-2__bouton {
  padding: 13px 18px;
  border: 0;
  border-radius: 12px;
  background: var(--cfgt2-surface-forte);
  color: var(--white);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}
/* D-323 : focus aux valeurs du repos (suki : `a:focus`, `button:focus` (0,1,1)). */
.configurateur-toiture-2__bouton:focus {
  background: var(--cfgt2-surface-forte);
  color: var(--white);
  border-color: transparent;
}
.configurateur-toiture-2__bouton:hover {
  background: color-mix(in srgb, var(--white) 20%, transparent);
  color: var(--white);
  border-color: transparent;
}
.configurateur-toiture-2__bouton:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .configurateur-toiture-2__selection {
    width: 230px;
  }
}

@media (max-width: 768px) {
  /* La scène en haut, la sélection dessous, le tiroir monte du bas. */
  .configurateur-toiture-2.is-js .configurateur-toiture-2__cadre {
    height: auto;
    overflow: visible;
  }
  .configurateur-toiture-2.is-js .configurateur-toiture-2__scene {
    position: relative;
    inset: auto;
    height: clamp(380px, 72vh, 560px);
    border-radius: var(--cfgt2-rayon) var(--cfgt2-rayon) 0 0;
    overflow: hidden;
  }
  .configurateur-toiture-2__etapes {
    left: 12px;
    right: 12px;
    top: 12px;
    max-width: none;
    transform: none;
  }
  .configurateur-toiture-2__selection {
    left: 12px;
    bottom: 12px;
    width: auto;
    max-width: calc(100% - 140px);
    padding: 10px 12px;
  }
  .configurateur-toiture-2__montant {
    font-size: 1.15rem;
  }
  /* Tiroir ouvert : la scène se loge au-dessus de la feuille, la maison reste visible. */
  .configurateur-toiture-2.is-js.is-tiroir-ouvert .configurateur-toiture-2__scene {
    height: max(240px, calc(100vh - 56vh - 8px));
  }
  .configurateur-toiture-2.is-tiroir-ouvert .configurateur-toiture-2__selection,
  .configurateur-toiture-2.is-tiroir-ouvert .configurateur-toiture-2__etapes {
    display: none;
  }
  .configurateur-toiture-2__reprendre {
    right: 12px;
    bottom: 12px;
    padding: 11px 14px;
    font-size: 0.86rem;
  }
  .configurateur-toiture-2__outils {
    top: auto;
    bottom: 56px;
    right: 12px;
    transform: none;
  }
  
  .configurateur-toiture-2__outil {
    width: 36px;
    height: 36px;
  }
  .configurateur-toiture-2.is-js .configurateur-toiture-2__tiroir {
    position: fixed;
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    max-height: 56vh;
    border-radius: var(--cfgt2-rayon) var(--cfgt2-rayon) 0 0;
    z-index: 9999;
    transform: translateY(105%);
    box-shadow: 0 -24px 48px rgba(0, 0, 0, 0.35);
  }
  .configurateur-toiture-2__repere-nom {
    display: none;
  }
  .configurateur-toiture-2__aide {
    display: none;
  }
}

@media (max-width: 480px) {
  .configurateur-toiture-2__formes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .configurateur-toiture-2__repere-point::after {
    animation: none;
  }
  .configurateur-toiture-2.is-js .configurateur-toiture-2__tiroir,
  .configurateur-toiture-2__outils,
  .configurateur-toiture-2__apercu {
    transition: none;
  }
}

/* mcl-faqs-faq-1 : components/faqs/faq-1/faq-1.css */
/* FAQ 1 - ACCORDION SIMPLE */
.faq-1 {
  padding: 100px 5%;
  background: var(--white);
}
.faq-1 .container {
  max-width: 800px;
  margin: 0 auto;
}
.faq-1 .header {
  text-align: center;
  margin-bottom: 60px;
}
.faq-1 .eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}
.faq-1 h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--primary);
}
.faq-1 .accordion-item {
  border-bottom: 1px solid var(--gray-light);
}
.faq-1 .accordion-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  background: none;
  border: none;
  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-1 .accordion-btn:hover,
.faq-1 .accordion-btn:focus {
  background: none;
  color: var(--black);
  border-color: transparent;
}
/* Focus clavier : suki retire le contour (`html :focus`). Anneau à deux
   tons (WCAG C40), lisible quelle que soit la charte (D-323). */
.faq-1 .accordion-btn:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}
.faq-1 .accordion-btn h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--black);
  font-weight: 600;
}
.faq-1 .accordion-btn .icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}
.faq-1 .accordion-btn .icon svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}
.faq-1 .accordion-item.active .icon {
  transform: rotate(45deg);
}
.faq-1 .accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s;
}
.faq-1 .accordion-item.active .accordion-content {
  max-height: 300px;
}
.faq-1 .accordion-content p {
  padding-bottom: 24px;
  color: var(--gray-dark);
  line-height: 1.7;
}

/* ── 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-1 .accordion-btn h3:hover {
  color: var(--black);
}

.faq-1 h2:hover {
  color: var(--primary);
}

/* ── TÉLÉPHONE : espacement commun des sections (C97-L4, D-493 (3)) ──
   64 px haut et bas sous 640 px, valeur de assets/css/global.css. */
@media (max-width: 640px) {
  .faq-1 {
    padding-top: var(--mcl-section-espace-mobile);
    padding-bottom: var(--mcl-section-espace-mobile);
  }
}

/* mcl-actualites-actualites-1 : components/actualites/actualites-1/actualites-1.css */
/* ============================================================
   Actualités 1 — sommaire de blog (filtres + carrousel)
   ============================================================ */

.mcl-actualites-1 {
  --act1-visible: 3;
  --act1-gap: 22px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* En-tête : titre + flèches de navigation */
.mcl-actualites-1 .act1-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.mcl-actualites-1 .act1-heading {
  margin: 0;
  font-family: var(--font-heading, inherit);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary);
}

.mcl-actualites-1 .act1-nav {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.mcl-actualites-1 .act1-arrow {
  width: 50px;
  height: 50px;
  padding: 0;
  background: var(--white);
  border: 2px solid var(--primary);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

/* D-323 : focus aux valeurs du repos (suki : `a:focus`, `button:focus` (0,1,1)). */
.mcl-actualites-1 .act1-arrow:focus {
  background: var(--white);
  color: var(--black);
  border-color: var(--primary);
}
.mcl-actualites-1 .act1-arrow:hover {
  background: var(--primary);
  color: var(--on-primary);
  border-color: var(--primary);
}

.mcl-actualites-1 .act1-arrow svg {
  width: 26px;
  height: 26px;
}

.mcl-actualites-1 .act1-arrow:hover:not(:disabled) {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--on-primary);
}

.mcl-actualites-1 .act1-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}
/* Focus clavier : suki retire le contour (`html :focus`). Anneau à deux
   tons (WCAG C40), lisible quelle que soit la charte (D-323). */
.mcl-actualites-1 .act1-arrow:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}

/* Filtres par catégorie */
.mcl-actualites-1 .act1-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.mcl-actualites-1 .act1-filter {
  padding: 7px 15px;
  border: 1px solid var(--gray-light);
  border-radius: 999px;
  background: var(--white);
  color: var(--gray-dark);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.16s ease,
    color 0.16s ease,
    border-color 0.16s ease;
}

/* D-323 : focus aux valeurs du repos (suki : `a:focus`, `button:focus` (0,1,1)). */
.mcl-actualites-1 .act1-filter:focus {
  background: var(--white);
  color: var(--gray-dark);
  border-color: var(--gray-light);
}
.mcl-actualites-1 .act1-filter:hover {
  border-color: var(--secondary);
  color: var(--primary);
  background: var(--white);
}
/* Focus clavier : suki retire le contour (`html :focus`). Anneau à deux
   tons (WCAG C40), lisible quelle que soit la charte (D-323). */
.mcl-actualites-1 .act1-filter:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}

.mcl-actualites-1 .act1-filter.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--on-primary);
}

/* Zone de défilement */
.mcl-actualites-1 .act1-viewport {
  position: relative;
}

.mcl-actualites-1 .act1-track {
  display: flex;
  gap: var(--act1-gap);
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  padding-bottom: 4px;
}

.mcl-actualites-1 .act1-track::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* Chaque carte occupe 1/N de la largeur visible (N = --act1-visible) */
.mcl-actualites-1 .act1-card {
  flex: 0 0
    calc(
      (100% - (var(--act1-visible) - 1) * var(--act1-gap)) / var(--act1-visible)
    );
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.16s ease,
    box-shadow 0.2s ease;
  /* D-323 : couleur écrite ; sans elle, suki donnait la sienne (#666, blanc au survol) */
  color: var(--black);
}

.mcl-actualites-1 .act1-card[hidden] {
  display: none;
}

/* D-323 : focus aux valeurs du repos (suki : `a:focus`, `button:focus` (0,1,1)). */
.mcl-actualites-1 .act1-card:focus {
  background: var(--white);
  color: var(--black);
  border-color: var(--gray-light);
}
.mcl-actualites-1 .act1-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.35);
  background: var(--white);
  color: var(--black);
  border-color: var(--gray-light);
}
/* Focus clavier : suki retire le contour (`html :focus`). Anneau à deux
   tons (WCAG C40), lisible quelle que soit la charte (D-323). */
.mcl-actualites-1 .act1-card:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}

.mcl-actualites-1 .act1-thumb {
  aspect-ratio: 16 / 10;
  background: var(--gray-light);
  overflow: hidden;
}

.mcl-actualites-1 .act1-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mcl-actualites-1 .act1-body {
  padding: 16px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mcl-actualites-1 .act1-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-dark);
}

.mcl-actualites-1 .act1-title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--primary);
}

.mcl-actualites-1 .act1-excerpt {
  margin: 0;
  color: var(--gray-dark);
  font-size: 0.9rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mcl-actualites-1 .act1-meta {
  margin-top: 2px;
  font-size: 12px;
  color: var(--gray-dark);
  opacity: 0.8;
}

.mcl-actualites-1 .act1-empty,
.mcl-actualites-1 .act1-noresult {
  color: var(--gray-dark);
  padding: 20px 0;
}

/* Tablette : 2 cartes visibles */
@media (max-width: 900px) {
  .mcl-actualites-1 {
    --act1-visible: 2;
  }
}

/* Mobile : 1,15 carte visible (aperçu de la suivante) + swipe natif */
@media (max-width: 600px) {
  .mcl-actualites-1 {
    --act1-gap: 14px;
  }
  .mcl-actualites-1 .act1-card {
    flex-basis: 85%;
  }
  /* Sur mobile on privilégie le swipe : les flèches restent utilisables
     mais discrètes. */
  .mcl-actualites-1 .act1-arrow {
    width: 38px;
    height: 38px;
  }
}

/* ── 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-1 .act1-heading:hover,
.mcl-actualites-1 .act1-title:hover {
  color: var(--primary);
}

/* mcl-cta-cta-2 : components/cta/cta-2/cta-2.css */
/* CTA 2 - ACCENT BANNER */
.cta-2 {
  padding: 60px 5%;
  background: var(--secondary);
}
.cta-2 .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 24px;
}
.cta-2 h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--white);
  margin-bottom: 0;
}
.cta-2 .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--white);
  color: var(--secondary);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
}
/* D-323 : focus aux valeurs du repos (suki : `a:focus`, `button:focus` (0,1,1)). */
.cta-2 .btn:focus {
  background: var(--white);
  color: var(--secondary);
  border-color: transparent;
}
.cta-2 .btn:hover {
  background: var(--primary);
  color: var(--on-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). */
.cta-2 .btn:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}
@media (max-width: 768px) {
  .cta-2 .container {
    flex-direction: column;
    text-align: center;
  }
}

/* ── 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-2 h2:hover {
  color: var(--white);
}

/* 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-2 .mcl-accent {
  color: var(--white);
  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-3 : components/footers/footer-3/footer-3.css */
/* FOOTER 3 - CTA INTEGRATED */
.footer-3 {
  background: var(--primary);
  color: var(--on-primary);
}
.footer-3 .cta-bar {
  background: var(--secondary);
  padding: 50px 5%;
}
.footer-3 .cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 30px;
}
.footer-3 .cta-bar h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--black);
}
.footer-3 .cta-bar .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--black);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
}
.footer-3 .cta-bar .btn:hover {
  background: var(--white);
  color: var(--black);
}
.footer-3 .main {
  padding: 60px 5%;
}
.footer-3 .main-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-3 .col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.footer-3 .col ul {
  list-style: none;
}
.footer-3 .col li {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 0.9rem;
  /* Un texte long (deuxième adresse, e-mail) passe à la ligne, coupé
     n'importe où s'il n'a pas d'espace : il ne sort jamais de sa colonne
     (D-276). Sans effet sur un texte qui tient. */
  overflow-wrap: anywhere;
}
.footer-3 .col a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}
/* D-323 : focus aux valeurs du repos (suki : `a:focus`, `button:focus` (0,1,1)). */
.footer-3 .col a:focus {
  background: transparent;
  color: var(--white);
  border-color: transparent;
}
.footer-3 .col a:hover {
  color: var(--white);
  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-3 .col a:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}
.footer-3 .bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 5%;
}
.footer-3 .bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-3 .bottom p {
  color: var(--white);
  font-size: 0.85rem;
  margin: 0;
}
.footer-3 .social {
  display: flex;
  gap: 16px;
}
.footer-3 .social a {
  color: var(--gray-light);
  transition: color 0.3s;
}
.footer-3 .social a:focus {
  background: transparent;
  color: var(--gray-light);
  border-color: transparent;
}
.footer-3 .social a:hover {
  color: var(--secondary);
  background: transparent;
  border-color: transparent;
}
.footer-3 .social a:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}
.footer-3 .social svg {
  width: 18px;
  height: 18px;
}
@media (max-width: 1024px) {
  .footer-3 .main-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .footer-3 .main-inner {
    grid-template-columns: 1fr;
  }
  .footer-3 .cta-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ── 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. */
.footer-3 .col h4:hover {
  color: var(--white);
}

/* ── REGROUPEMENT PAR METIER ──────────────────────────────────────────
   Un intitule ouvre la serie de chaque metier dans la colonne « services ».
   Il n'est pas un lien : c'est un intertitre, pas une destination.

   MONO-METIER : aucun intitule n'est emis, la colonne est celle d'avant.

   LA COULEUR — le pied de page est SOMBRE : la rampe va de --secondary a
   --on-primary, les deux couleurs que le theme garantit lisibles dessus.
   Aucune couleur en dur, aucune variable ajoutee. */
.footer-3__metier {
  --m-couleur: color-mix(in oklab, var(--secondary), var(--on-primary) var(--m-melange, 0%));
  margin-top: 18px;
  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 premier intitule ouvre la liste : pas d'espace superflu sous le <h4>. */
.footer-3__metier:first-child {
  margin-top: 0;
}

/* 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. */
.footer-3 .col a .mcl-accent {
  color: inherit;
  font-style: italic;
}

/* 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;
  }
}

