/* my-components-library 2.24.2 — 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-13 : components/headers/header-13/header-13.css */
/* HEADER 13 - PASTILLES
   ---------------------------------------------------------------------------
   Réf. Dujardin et Compagnons (maquette B, étude C76). Le logo à gauche — le
   nom et la ville quand le thème n'a pas de logo —, les liens en clair (le
   menu des services tombe sous la barre), puis trois pastilles : l'appel
   (accent, le numéro lisible) si le site a un téléphone, « Devis » (claire),
   et sous 1024 px un burger cerclé. Sous 600 px, l'appel n'est plus qu'une
   pastille ronde et « Devis » prend son libellé court.

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

.header-13 {
  --header-13-voile: color-mix(in srgb, var(--black) 82%, transparent);
  --header-13-verre: color-mix(in srgb, var(--black) 20%, transparent);
  --header-13-verre-survol: color-mix(in srgb, var(--black) 45%, transparent);
  --header-13-cercle: color-mix(in srgb, var(--white) 40%, transparent);
  --header-13-texte: var(--white);
  --header-13-texte-doux: color-mix(in srgb, var(--white) 72%, transparent);
  --header-13-flou: blur(14px);
  --header-13-pastille: 46px;
  /* Sur la photo, sans voile de barre : une ombre neutre porte le contraste. */
  --header-13-ombre-texte: 0 1px 12px rgba(0, 0, 0, 0.4);

  /* Réglages du burger optionnel (menu-burger/main.css) : posé sur la barre. */
  --burger-color: var(--header-13-texte);
  --burger-color-hover: var(--header-13-texte);
  --burger-bg: var(--header-13-verre);
  --burger-bg-hover: var(--header-13-verre-survol);
  --burger-reserve: 0;

  background: none;
}

/* Aucun rembourrage vertical sur la barre : la navigation la remplit sur
   toute sa hauteur (main.css, `align-self: stretch`), et le pointeur passe de
   l'onglet « Services » au panneau, ancré sous le header, sans zone morte. */
.header-13__barre {
  display: flex;
  align-items: stretch;
  gap: clamp(14px, 2vw, 28px);
  min-height: 78px;
  padding: 0 clamp(16px, 3vw, 40px);
  background-color: var(--header-13-voile);
  -webkit-backdrop-filter: var(--header-13-flou);
  backdrop-filter: var(--header-13-flou);
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease, -webkit-backdrop-filter 0.3s ease;
}

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

/* ---- Marque ---- */
.header-13__marque,
.header-13__marque:hover,
.header-13__marque:focus {
  align-self: center;
  flex: 0 1 auto;
  display: inline-grid;
  /* La colonne peut rétrécir sous la largeur du nom : la marque cède la
     place aux pastilles, jamais l'inverse (nom long, prise de rendez-vous). */
  grid-template-columns: minmax(0, 1fr);
  justify-items: start;
  align-content: center;
  min-width: 0;
  min-height: 44px;
  color: var(--header-13-texte);
  text-decoration: none;
}
.header-13__marque:focus-visible {
  outline: 2px solid var(--header-13-texte);
  outline-offset: 4px;
}

.header-13__logo {
  display: block;
}
/* Hauteur bornée par la barre : plus spécifique que [data-header] .logo
   (headers/main.css), la largeur suit (proportions gardées, EX-142). */
[data-header] .header-13__logo {
  max-height: 46px;
  /* Hauteur bornée : un logo très large peut aller jusqu'à deux fois
     --logo-width pour rester lisible (C78, décision de l'orchestrateur). */
  max-width: calc(2 * var(--logo-width, 80px));
}
/* La marque cède la place aux pastilles (colonne minmax(0, 1fr)) : le logo
   rétrécit avec elle au lieu de passer dessous sur un petit téléphone. */
[data-header] .header-13__marque .header-13__logo {
  max-width: min(calc(2 * var(--logo-width, 80px)), 100%);
}
/* Pas de logo clair dans le thème (mcl_header_logos(), C78, EX-142) : un logo
   transparent est passé en blanc ; un logo à fond garde ses couleurs sur une
   plaque blanche arrondie — le filtre en ferait un rectangle blanc. */
.header-13__logo--filtre {
  filter: brightness(0) invert(1);
}
.header-13__logo--plaque {
  background-color: var(--white);
  border-radius: 4px;
  box-shadow: 0 0 0 4px var(--white);
}

.header-13__nom {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  max-width: min(22ch, 100%);
  /* Un mot plus long que la colonne (« Dupont-Lefebvre ») se coupe au lieu
     de déborder sous les pastilles ; au-delà de deux lignes, points de suite. */
  overflow-wrap: anywhere;
  color: var(--header-13-texte);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.05;
  text-shadow: var(--header-13-ombre-texte);
}

.header-13__ville {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  max-width: 100%;
  color: var(--header-13-texte-doux);
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: var(--header-13-ombre-texte);
}

/* ---- Liens en clair ---- */
.header-13__nav {
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  margin-left: auto;
}

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

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

/* ---- Les pastilles ---- */
.header-13__actions {
  align-self: center;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

[data-header] .header-13__appel,
[data-header] .header-13__appel:hover,
[data-header] .header-13__appel:focus,
[data-header] .header-13__devis,
[data-header] .header-13__devis:hover,
[data-header] .header-13__devis:focus {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--header-13-pastille);
  margin: 0;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  text-decoration: none;
  text-shadow: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* L'appel : la couleur d'action de la charte (§4.14, `--accent`). */
[data-header] .header-13__appel,
[data-header] .header-13__appel:focus {
  padding: 0 18px;
  background: var(--accent);
  color: var(--on-accent);
}
[data-header] .header-13__appel:hover {
  padding: 0 18px;
  background: var(--secondary);
  color: var(--on-secondary);
}
.header-13__appel-icone {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}
.header-13__appel-numero {
  color: inherit;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1;
}

/* « Devis » : la pastille claire. */
[data-header] .header-13__devis,
[data-header] .header-13__devis:focus {
  padding: 0 20px;
  background: var(--white);
  color: var(--black);
}
[data-header] .header-13__devis:hover {
  padding: 0 20px;
  background: var(--gray-light);
  color: var(--black);
}
.header-13__devis-long,
.header-13__devis-court {
  color: inherit;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1;
}
.header-13__devis-court {
  display: none;
}

[data-header] .header-13__appel:focus-visible,
[data-header] .header-13__devis:focus-visible {
  outline: 2px solid var(--header-13-texte);
  outline-offset: 3px;
}

/* ---- Le burger cerclé (tablette et mobile) ---- */
.header-13__toggle,
.header-13__toggle:hover,
.header-13__toggle:focus {
  appearance: none;
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: var(--header-13-pastille);
  height: var(--header-13-pastille);
  margin: 0;
  padding: 0;
  border: 1px solid var(--header-13-cercle);
  border-radius: 50%;
  background-color: var(--header-13-verre);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--header-13-texte);
  cursor: pointer;
  transition: background-color 0.25s ease;
}
.header-13__toggle:hover {
  background-color: var(--header-13-verre-survol);
}
.header-13__toggle:focus-visible {
  outline: 2px solid var(--header-13-texte);
  outline-offset: 2px;
}
.header-13__toggle-icone {
  width: 22px;
  height: 22px;
}

.header-13__annexes {
  display: contents;
}

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

/* ---- Tablette : la navigation laisse la place au burger ---- */
@media (max-width: 1024px) {
  .header-13__nav {
    display: none;
  }

  /* Plus de navigation pour pousser les pastilles : la marque prend la place. */
  .header-13__marque,
  .header-13__marque:hover,
  .header-13__marque:focus {
    margin-right: auto;
  }

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

/* ---- Mobile : appel rond, « Devis » court ---- */
@media (max-width: 600px) {
  .header-13 {
    --header-13-pastille: 44px;
  }

  .header-13__barre {
    gap: 10px;
    min-height: 70px;
    padding: 0 14px;
  }

  .header-13__nom {
    font-size: 1.05rem;
  }

  [data-header] .header-13__logo {
    max-height: 40px;
  }

  [data-header] .header-13__appel,
  [data-header] .header-13__appel:hover,
  [data-header] .header-13__appel:focus {
    width: var(--header-13-pastille);
    padding: 0;
  }
  .header-13__appel-numero {
    display: none;
  }

  [data-header] .header-13__devis,
  [data-header] .header-13__devis:hover,
  [data-header] .header-13__devis:focus {
    padding: 0 16px;
  }

  /* Le libellé long reste le nom du lien pour les lecteurs d'écran : seul
     l'œil lit le court. */
  .header-13__devis--court .header-13__devis-long {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }
  .header-13__devis--court .header-13__devis-court {
    display: inline;
  }
}

/* ---- Petit mobile : les pastilles se resserrent ----
   Le libellé long reste affiché sur un site à prise de rendez-vous : sous
   380 px, la pastille d'action et les espacements rétrécissent pour laisser
   une colonne lisible à la marque. */
@media (max-width: 380px) {
  .header-13 {
    --header-13-pastille: 40px;
  }

  .header-13__barre {
    gap: 8px;
    padding: 0 12px;
  }

  .header-13__actions {
    gap: 6px;
  }

  .header-13__nom {
    font-size: 0.98rem;
  }

  [data-header] .header-13__devis,
  [data-header] .header-13__devis:hover,
  [data-header] .header-13__devis:focus {
    padding: 0 12px;
  }
  .header-13__devis-long,
  .header-13__devis-court {
    font-size: 0.8rem;
  }
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* mcl-heros-hero-35 : components/heros/hero-35/hero-35.css */
/* ============================================================
   HERO 35 — TYPO CINÉTIQUE
   Hero « scroll » (mécanique partagée : heros/main.css + main.js, hook
   data-hero-scroll). Éditorial et graphique : des numéros géants en contour
   qui défilent comme un compteur à rouleau, un service du site en très grand
   qui change à chaque étape, des chapitres qui montent avec une légère
   inclinaison, un ruban de points forts qui défile en continu. La
   conclusion se termine sur un disque « devis » dont le texte tourne, qui
   pulse, et le numéro de téléphone en grand.

   Tout texte est posé sur une image : blanc, contraste construit par le
   voile (§4.14).
   ============================================================ */

.hero-35 {
    --hero-35-gouttiere: clamp(1rem, 4vw, 3.5rem);
    --hero-35-numero: clamp(6rem, 17vw, 15rem);

    background: var(--black);
    color: var(--white);
}

.hero-35__voile {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0, rgba(0, 0, 0, 0.2) 35%, rgba(0, 0, 0, 0.35) 60%, rgba(0, 0, 0, 0.88) 100%),
        color-mix(in srgb, var(--primary) 18%, transparent);
}

/* ---- Le compteur à rouleau --------------------------------- */
.hero-35__compteur {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: var(--hero-35-gouttiere);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    transform: translateY(-62%);
    pointer-events: none;
}

.hero-35__compteur-rouleau {
    display: flex;
    flex-direction: column;
    height: 1em;
    overflow: hidden;
    color: transparent;
    font-family: var(--font-heading);
    font-size: var(--hero-35-numero);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    letter-spacing: -0.04em;
}

.hero-35__compteur-numero {
    display: block;
    height: 1em;
    color: transparent;
    -webkit-text-stroke: 1.5px color-mix(in srgb, var(--white) 75%, transparent);
    transform: translateY(calc(var(--hero-scroll-index, 0) * -100%));
    transition: transform 0.9s cubic-bezier(0.7, 0, 0.2, 1);
}

.hero-35__compteur-total {
    margin-top: 0.6em;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    line-height: 1;
}

/* ---- Le mot du moment -------------------------------------- */
.hero-35__mots {
    position: absolute;
    z-index: 2;
    top: calc(var(--header-height, 80px) + clamp(1rem, 3vh, 2rem));
    left: var(--hero-35-gouttiere);
    right: calc(var(--hero-35-gouttiere) + 30%);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    pointer-events: none;
}

.hero-35__mots-libelle {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    line-height: 1.2;
    text-transform: uppercase;
}

.hero-35__mots-fenetre {
    position: relative;
    display: grid;
    overflow: hidden;
}

.hero-35__mot {
    grid-area: 1 / 1;
    overflow: hidden;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3.6vw, 2.75rem);
    font-style: italic;
    font-weight: 600;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
    transform: translateY(110%);
    transition: transform 0.7s cubic-bezier(0.7, 0, 0.2, 1);
}

.hero-35__mot.is-actif {
    transform: none;
}

.hero-35__mot.est-vue {
    transform: translateY(-110%);
}

/* ---- Les étapes -------------------------------------------- */
.hero-35__etapes {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    padding: calc(var(--header-height, 80px) + 7rem) var(--hero-35-gouttiere) clamp(6rem, 14vh, 8.5rem);
}

/* Entrée : le bloc monte, légèrement incliné, et se redresse. */
.hero-35__etape {
    align-self: end;
    max-width: 48rem;
    transform: translateY(3rem) skewY(3deg);
    transform-origin: left bottom;
    transition: opacity 0.4s ease, transform 0.6s ease, visibility 0s linear 0.4s;
}

.hero-35__etape.is-actif {
    transform: none;
    transition: opacity 0.6s ease 0.15s, transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s, visibility 0s;
}

.hero-35__etape.est-vue {
    transform: translateY(-3rem) skewY(-2deg);
}

.hero-35__etape--conclusion {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    max-width: 68rem;
}

.hero-35__conclusion-texte {
    flex: 1 1 22rem;
    min-width: 0;
}

/* ---- Textes ------------------------------------------------ */
.hero-35__surtitre {
    margin: 0 0 1rem;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    line-height: 1.4;
    text-transform: uppercase;
}

.hero-35__titre,
.hero-35__titre:hover {
    margin: 0;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: clamp(2.75rem, 8vw, 6.5rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    text-wrap: balance;
}

.hero-35__chapitre,
.hero-35__chapitre:hover {
    margin: 0;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    text-wrap: balance;
}

/* L'accent ((…)) : le mot quitte les capitales, passe en italique fin. */
.hero-35__titre .mcl-accent,
.hero-35__chapitre .mcl-accent {
    color: var(--white);
    font-style: italic;
    font-weight: 300;
    text-transform: none;
}

.hero-35__texte {
    margin: 1.1rem 0 0;
    max-width: 34rem;
    color: var(--white);
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.6;
}

/* ---- Indice ------------------------------------------------ */
.hero-35__indice {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin: clamp(2rem, 6vh, 3.5rem) 0 0;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 0.24em;
    line-height: 1;
    text-transform: uppercase;
}

.hero-35__indice-texte {
    color: var(--white);
}

.hero-35__indice-trait {
    position: relative;
    width: 4rem;
    height: 1px;
    overflow: hidden;
    background: color-mix(in srgb, var(--white) 30%, transparent);
}

.hero-35__indice-trait::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--white);
    animation: hero35Trait 2s cubic-bezier(0.6, 0, 0.3, 1) infinite;
}

@keyframes hero35Trait {
    from { transform: translateX(-100%); }
    to   { transform: translateX(100%); }
}

/* ---- Chiffres ---------------------------------------------- */
.hero-35__chiffres {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 1.75rem 0 0;
    padding: 0;
    list-style: none;
}

.hero-35__chiffre {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem 1.25rem 1rem 0;
    border-top: 1px solid color-mix(in srgb, var(--white) 40%, transparent);
    color: var(--white);
}

.hero-35__chiffre-valeur {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    letter-spacing: -0.03em;
}

.hero-35__chiffre-libelle {
    color: color-mix(in srgb, var(--white) 82%, transparent);
    font-family: var(--font-body);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* ---- Conclusion : liens ------------------------------------ */
.hero-35__liens {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1rem 2rem;
    margin-top: 1.75rem;
}

.hero-35__appel,
.hero-35__lien {
    border: 0;
    background: none;
    color: var(--white);
    font-family: var(--font-body);
    text-decoration: none;
    cursor: pointer;
}

.hero-35__appel {
    display: inline-flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.25rem 0;
}

.hero-35__appel-libelle {
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    line-height: 1.2;
    text-transform: uppercase;
}

.hero-35__appel-numero {
    position: relative;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}

/* Un trait qui se trace sous le numéro au survol. */
.hero-35__appel-numero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.2rem;
    height: 2px;
    background: var(--white);
    transform: scaleX(0.25);
    transform-origin: left;
    transition: transform 0.4s ease;
}

/* D-323 : focus aux valeurs du repos (suki : `a:focus`, `button:focus` (0,1,1)). */
.hero-35__appel:focus {
    background: none;
    color: var(--white);
    border-color: transparent;
}
.hero-35__appel:hover,
.hero-35__appel:focus-visible {
    color: var(--white);
    background: none;
    border-color: transparent;
}

.hero-35__appel:hover .hero-35__appel-numero::after,
.hero-35__appel:focus-visible .hero-35__appel-numero::after {
    transform: scaleX(1);
}

.hero-35__lien {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: underline;
    text-underline-offset: 0.3em;
}

.hero-35__lien:focus {
    background: none;
    color: var(--white);
    border-color: transparent;
}
.hero-35__lien:hover,
.hero-35__lien:focus-visible {
    color: var(--white);
    text-decoration-thickness: 2px;
    background: none;
    border-color: transparent;
}

/* ---- Le disque devis --------------------------------------- */
.hero-35__disque {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: clamp(10rem, 18vw, 13.5rem);
    aspect-ratio: 1;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: none;
    color: var(--on-accent);
    font-family: var(--font-body);
    text-decoration: none;
    cursor: pointer;
}

/* Le « pulse » : un halo qui s'échappe du disque en continu. */
.hero-35__disque::before,
.hero-35__disque::after {
    content: "";
    position: absolute;
    inset: 18%;
    border-radius: 50%;
    border: 2px solid var(--white);
    opacity: 0;
    animation: hero35Halo 2.8s cubic-bezier(0.2, 0.6, 0.3, 1) infinite;
    pointer-events: none;
}

.hero-35__disque::after {
    animation-delay: 1.4s;
}

@keyframes hero35Halo {
    from { transform: scale(1);   opacity: 0.7; }
    to   { transform: scale(1.9); opacity: 0; }
}

.hero-35__disque-anneau {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    animation: hero35Tourne 16s linear infinite;
}

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

.hero-35__disque-texte {
    fill: var(--white);
    font-family: var(--font-body);
    font-size: 7.4px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-35__disque-centre {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 64%;
    aspect-ratio: 1;
    padding: 0.75rem;
    border-radius: 50%;
    background: var(--accent);
    color: var(--on-accent);
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1), background-color 0.3s ease;
}

.hero-35__disque-libelle {
    color: var(--on-accent);
    font-size: clamp(0.8rem, 1.1vw, 0.95rem);
    font-weight: 700;
    line-height: 1.15;
}

.hero-35__disque:hover .hero-35__disque-centre,
.hero-35__disque:focus-visible .hero-35__disque-centre {
    background: color-mix(in srgb, var(--accent) 86%, var(--black));
    transform: scale(1.08);
}

.hero-35__disque:focus {
    background: none;
    color: var(--on-accent);
    border-color: transparent;
}
.hero-35__disque:hover,
.hero-35__disque:focus-visible {
    color: var(--on-accent);
    background: none;
    border-color: transparent;
}

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

/* ---- Le ruban ---------------------------------------------- */
.hero-35__ruban {
    position: absolute;
    z-index: 3;
    left: 0;
    right: 0;
    bottom: clamp(2.75rem, 6vh, 3.5rem);
    overflow: hidden;
    border-top: 1px solid color-mix(in srgb, var(--white) 25%, transparent);
    border-bottom: 1px solid color-mix(in srgb, var(--white) 25%, transparent);
    background: rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

.hero-35__ruban-piste {
    display: flex;
    width: max-content;
    /* Durée posée par hero-35.js d'après la longueur réelle du ruban :
       vitesse constante, quel que soit le nombre de points forts. */
    animation: hero35Ruban var(--hero-35-ruban-duree, 28s) linear infinite;
}

@keyframes hero35Ruban {
    to { transform: translateX(-50%); }
}

.hero-35__ruban-liste {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero-35__ruban-item {
    display: inline-flex;
    align-items: center;
    gap: 2.5rem;
    padding: 0.7rem 0 0.7rem 2.5rem;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: clamp(0.85rem, 1.3vw, 1rem);
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.hero-35__ruban-item::after {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--white);
}

/* ---- Sortie ------------------------------------------------ */
.hero-35__passer {
    position: absolute;
    z-index: 5;
    right: var(--hero-35-gouttiere);
    bottom: clamp(0.5rem, 1.5vh, 1rem);
    padding: 0.4rem 0;
    border: 0;
    background: none;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    line-height: 1.3;
    text-decoration: underline;
    text-underline-offset: 0.3em;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

/* D-323 : focus aux valeurs du repos (suki : `a:focus`, `button:focus` (0,1,1)). */
.hero-35__passer:focus {
    background: none;
    color: var(--white);
    border-color: transparent;
}
.hero-35__passer:hover,
.hero-35__passer:focus-visible {
    color: var(--white);
    opacity: 1;
    background: none;
    border-color: transparent;
}

/* ---- État statique : sans JS, ou mouvement réduit ---------- */
.hero-35.is-statique .hero-35__etapes {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    gap: clamp(3rem, 10vh, 6rem);
    min-height: 100vh;
    min-height: 100svh;
    padding-bottom: 6rem;
}

.hero-35.is-statique .hero-35__etape {
    align-self: stretch;
}

.hero-35.is-statique .hero-35__voile {
    background: rgba(0, 0, 0, 0.6);
}

/* Immobile, le ruban n'a pas besoin de sa copie de bouclage. */
.hero-35.is-statique .hero-35__ruban-piste {
    animation: none;
}

.hero-35.is-statique .hero-35__ruban-liste[aria-hidden="true"],
.hero-35.is-statique .hero-35__ruban-item[aria-hidden="true"] {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .hero-35__ruban-liste[aria-hidden="true"],
    .hero-35__ruban-item[aria-hidden="true"] {
        display: none;
    }
}

/* ---- Responsive -------------------------------------------- */
@media (min-width: 1024px) {
    .hero-35__chiffres {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .hero-35__etape--chiffres {
        max-width: 60rem;
    }
}

@media (max-width: 1024px) {
    .hero-35__compteur {
        top: calc(var(--header-height, 80px) + 1rem);
        transform: none;
    }

    .hero-35__mots {
        right: calc(var(--hero-35-gouttiere) + 9rem);
    }

    .hero-35 {
        --hero-35-numero: clamp(4.5rem, 16vw, 8rem);
    }
}

@media (max-width: 768px) {
    .hero-35__etapes {
        padding-top: calc(var(--header-height, 80px) + 9rem);
    }

    .hero-35__etape--conclusion {
        align-items: flex-start;
    }

    .hero-35__disque {
        width: 9rem;
    }

    .hero-35__passer {
        left: var(--hero-35-gouttiere);
        right: auto;
    }
}

/* 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). */
.hero-35__ruban-item .mcl-accent {
  color: inherit;
  font-style: italic;
}

/* D-42 : l'accent ((…)) d'un titre de l'offre garde la couleur du mot ; le
   mot étant déjà en italique, l'accent passe en fin, comme celui du titre. */
.hero-35__mot .mcl-accent {
  color: inherit;
  font-weight: 300;
}

/* 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). */
.hero-35__ruban-texte {
  color: inherit;
}

/* ---- Trois chiffres (la liste du socle depuis C23-L11) ---------
   Le troisième ne laisse pas de case vide : toute la ligne sur deux
   colonnes, trois colonnes égales sur l'ordinateur. */
.hero-35__chiffre:nth-child(3):last-child {
    grid-column: 1 / -1;
}

@media (min-width: 1024px) {
    .hero-35__chiffres:has(> .hero-35__chiffre:nth-child(3):last-child) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero-35__chiffre:nth-child(3):last-child {
        grid-column: auto;
    }
}

/* 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-6 : components/realisations/realisations-images/realisations-6/realisations-6.css */
/* ========================================
   REALISATIONS 6 — PORTFOLIO DOSSIERS
   ======================================== */

/* ─── Section ─────────────────────────────────────────── */
.real-6 {
  padding: 100px 0;
  background: var(--primary);
  overflow: hidden;
}

/* ─── En-tête ─────────────────────────────────────────── */
.real-6__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 5%;
  max-width: 1300px;
  margin: 0 auto 50px;
  flex-wrap: wrap;
  gap: 20px;
}

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

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

/* ─── Flèches ──────────────────────────────────────────── */
.real-6__nav {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

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

.real-6__nav-btn:focus {
  background: var(--white);
  color: var(--black);
  border-color: transparent;
}
.real-6__nav-btn:hover {
  background: var(--secondary);
  color: var(--on-secondary);
  border-color: transparent;
}

.real-6__nav-btn svg {
  width: 26px;
  height: 26px;
  pointer-events: none;
}

/* ─── Filtres par service ─────────────────────────────── */
/* Section sur fond --primary : le texte des filtres suit --on-primary. */
.real-6__filtres {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 5%;
  max-width: 1300px;
  margin: -30px auto 10px;
}

.real-6 button.real-6__filtre {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  padding: 0.55rem 1.15rem;
  background: none;
  border: 1px solid color-mix(in srgb, var(--on-primary) 35%, transparent);
  border-radius: 999px;
  color: color-mix(in srgb, var(--on-primary) 80%, transparent);
  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;
}

/* D-323 : focus aux valeurs du repos (suki : `a:focus`, `button:focus` (0,1,1)). */
.real-6 button.real-6__filtre:focus {
  background: none;
  color: color-mix(in srgb, var(--on-primary) 80%, transparent);
  border-color: color-mix(in srgb, var(--on-primary) 35%, transparent);
}
.real-6 button.real-6__filtre:hover {
  border-color: var(--secondary);
  color: var(--on-primary);
  background: none;
}

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

.real-6 button.real-6__filtre:focus-visible {
  outline: 3px solid var(--on-primary);
  outline-offset: 3px;
}

/* ─── Piste ───────────────────────────────────────────── */
.real-6__track {
  display: flex;
  gap: 50px;
  will-change: transform;
  padding: 30px 0 40px;
  /* Transition douce pour les flèches */
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Piste déplacée image par image par le JS (défilement auto et flèches) :
   realisations-6.js pose `is-auto` dès que le carrousel défile, sans quoi la
   transition ci-dessus serait relancée à chaque image (C82-L1). */
.real-6__track.is-auto {
  transition: none;
}

/* ─── Carte ───────────────────────────────────────────── */
.real-6__card {
  flex: 0 0 360px;
  cursor: pointer;
  position: relative;
}

/* Masquage par le filtre : [hidden] doit primer sur le flex de la piste. */
.real-6__card[hidden] {
  display: none;
}

/* ─── Piste qui ne defile pas ──────────────────────────── */
/* Quand la selection tient a l'ecran, le carrousel n'a plus lieu d'etre :
   pas de doublons, pas d'animation, pas de fleches. Les projets restants
   sont simplement centres. */
.real-6--statique .real-6__nav {
  display: none;
}

.real-6--statique .real-6__track {
  justify-content: center;
  flex-wrap: wrap;
  transform: none !important;
  transition: none;
}

/* ─── Stack (wrapper effet empilement) ─────────────────── */
.real-6__stack {
  position: relative;
  width: 100%;
}

/* Couches "derrière" */
.real-6__stack-layer {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s ease;
}

.real-6__stack-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.real-6__stack-layer--2 {
  transform: translate(8px, -8px) rotate(2.5deg);
  z-index: 0;
  filter: brightness(0.75);
}

.real-6__stack-layer--3 {
  transform: translate(16px, -16px) rotate(5deg);
  z-index: -1;
  filter: brightness(0.5);
}

.real-6__card:hover .real-6__stack-layer--2 {
  transform: translate(12px, -12px) rotate(3.5deg);
}

.real-6__card:hover .real-6__stack-layer--3 {
  transform: translate(22px, -22px) rotate(7deg);
}

/* ─── Couverture principale ────────────────────────────── */
.real-6__cover {
  position: relative;
  height: 280px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
  z-index: 1;
  transition: transform 0.4s ease;
}

.real-6__card:hover .real-6__cover {
  transform: translateY(-6px);
}

.real-6__cover > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.real-6__card:hover .real-6__cover > img {
  transform: scale(1.07);
}

/* 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. */
.real-6__cover > .real-6__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);
}

.real-6__sans-image .real-6__sans-image-icone {
  width: 64px;
  height: 64px;
  color: var(--white);
}

/* ─── Badge photos ─────────────────────────────────────── */
.real-6__count {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.real-6__count svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

/* ─── Overlay hover ───────────────────────────��────────── */
.real-6__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.1) 60%,
    transparent 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.35s ease;
  border-radius: 16px;
}

.real-6__card:hover .real-6__overlay {
  opacity: 1;
}

.real-6__cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--secondary);
  color: var(--on-secondary);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 8px;
  transform: translateY(8px);
  transition: transform 0.35s ease;
}

.real-6__card:hover .real-6__cta {
  transform: translateY(0);
}

.real-6__cta svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ========================================
   MODALE PROJET — CENTRÉE
   ======================================== */
.real-6-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.real-6-modal[hidden] {
  display: none;
}

/* Overlay flou */
.real-6-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  cursor: pointer;
}

/* Boîte modale */
.real-6-modal__box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  max-height: 88vh;
  background: #1a1a1a;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 40px 80px rgba(0, 0, 0, 0.8);
  animation: real6PopIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes real6PopIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ─── En-tête modale (simplifié — sans dots) ──────────── */
.real-6-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  background: #111;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
  gap: 16px;
}

/* Titre */
.real-6-modal__title-wrap {
  flex: 1;
}

.real-6-modal__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 2px;
}

.real-6-modal__subtitle {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Lien vers la page du projet, dans l'en-tete de la modale. */
.real-6-modal a.real-6-modal__page {
  padding: 0.5rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.25s ease,
    border-color 0.25s ease;
}

.real-6-modal a.real-6-modal__page:focus {
  background: transparent;
  color: var(--white);
  border-color: transparent;
}
.real-6-modal a.real-6-modal__page:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--on-secondary);
}

.real-6-modal a.real-6-modal__page[hidden] {
  display: none;
}

/* ─── Lien vers la page listant tous les projets ───────── */
.real-6__plus {
  display: flex;
  justify-content: center;
  padding: 0 5%;
  margin-top: 10px;
}

.real-6 a.real-6__plus-lien {
  display: inline-block;
  padding: 0.9rem 2.1rem;
  border: 1px solid color-mix(in srgb, var(--on-primary) 45%, transparent);
  border-radius: 999px;
  color: var(--on-primary);
  font-family: var(--font-modern);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

.real-6 a.real-6__plus-lien:focus {
  background: transparent;
  color: var(--on-primary);
  border-color: color-mix(in srgb, var(--on-primary) 45%, transparent);
}
.real-6 a.real-6__plus-lien:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--on-secondary);
}

.real-6 a.real-6__plus-lien:focus-visible {
  outline: 3px solid var(--on-primary);
  outline-offset: 3px;
}

/* Bouton fermer */
.real-6-modal__close {
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.real-6-modal__close:focus {
  background: color-mix(in srgb, var(--white) 6%, transparent);
  color: inherit;
  border-color: transparent;
}
.real-6-modal__close:hover {
  background: rgba(255, 255, 255, 0.14);
  color: inherit;
  border-color: transparent;
}

.real-6-modal__close svg {
  width: 16px;
  height: 16px;
  color: var(--white);
}

/* ─── Grille vignettes — PLUS GRANDES ─────────────────── */
.real-6-modal__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  padding: 24px 28px;
  overflow-y: auto;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.real-6-modal__grid::-webkit-scrollbar {
  width: 6px;
}
.real-6-modal__grid::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.real-6-modal__thumb {
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  background: #2a2a2a;
  min-height: 160px;
}

.real-6-modal__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  display: block;
}

.real-6-modal__thumb:hover img {
  transform: scale(1.06);
}

.real-6-modal__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}

.real-6-modal__thumb:hover::after {
  border-color: var(--secondary);
}

/* ─── Visionneuse plein écran ──────────────────────────── */
.real-6-modal__viewer {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  border-radius: 20px;
}

.real-6-modal__viewer[hidden] {
  display: none;
}

.real-6-modal__viewer-img {
  max-width: 80%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  transition: opacity 0.15s ease;
}

/* Compteur */
.real-6-modal__viewer-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Bouton fermer visionneuse */
.real-6-modal__viewer-close {
  position: absolute;
  padding: 0;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.real-6-modal__viewer-close:focus {
  background: color-mix(in srgb, var(--white) 8%, transparent);
  color: inherit;
  border-color: transparent;
}
.real-6-modal__viewer-close:hover {
  background: var(--secondary);
  color: inherit;
  border-color: transparent;
}

.real-6-modal__viewer-close svg {
  width: 18px;
  height: 18px;
  color: var(--white);
}

/* Flèches visionneuse */
.real-6-modal__viewer-arrow {
  position: absolute;
  padding: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
}

.real-6-modal__viewer-arrow:focus {
  background: color-mix(in srgb, var(--white) 8%, transparent);
  color: inherit;
  border-color: transparent;
}
.real-6-modal__viewer-arrow:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  transform: translateY(-50%) scale(1.08);
  color: inherit;
}

.real-6-modal__viewer-arrow--prev {
  left: 20px;
}
.real-6-modal__viewer-arrow--next {
  right: 20px;
}

.real-6-modal__viewer-arrow svg {
  width: 22px;
  height: 22px;
  color: var(--white);
  pointer-events: none;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .real-6__card {
    flex: 0 0 300px;
  }
  .real-6__cover {
    height: 230px;
  }

  .real-6-modal__grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media (max-width: 640px) {
  .real-6__card {
    flex: 0 0 240px;
  }
  .real-6__cover {
    height: 190px;
  }

  .real-6__stack-layer--2 {
    transform: translate(5px, -5px) rotate(2deg);
  }
  .real-6__stack-layer--3 {
    transform: translate(10px, -10px) rotate(4deg);
  }

  /* Modale plein écran sur mobile */
  .real-6-modal {
    padding: 0;
  }

  .real-6-modal__box {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 20px 20px 0 0;
  }

  .real-6-modal__grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    padding: 16px 16px;
    gap: 8px;
  }

  .real-6-modal__viewer-arrow {
    width: 38px;
    height: 38px;
  }
  .real-6-modal__viewer-arrow--prev {
    left: 10px;
  }
  .real-6-modal__viewer-arrow--next {
    right: 10px;
  }
  .real-6-modal__viewer-img {
    max-width: 92%;
  }
}

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

/* ── 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) {
  .real-6 {
    padding-top: var(--mcl-section-espace-mobile);
    padding-bottom: var(--mcl-section-espace-mobile);
  }
}

/* mcl-beforeafter-main : components/beforeafter/main.css */
/* Labels Avant/Après */
.ba-label {
  position: absolute;
  top: 20px;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 5;
}
.ba-label--before {
  left: 20px;
  background: color-mix(in srgb, var(--gray-light) 40%, var(--white));
  color: var(--black);
}
.ba-label--after {
  right: 20px;
  background: var(--secondary);
  color: var(--on-secondary);
}

.ba-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  border-radius: 20px;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  /* Le ratio est posé en ligne par le composant (--ba-ratio), d'après le format
     auquel l'espace client recadre les photos du site. Une boîte qui n'en
     déclare pas se dimensionne sur son image : haute de zéro tant qu'elle n'est
     pas chargée, et de travers dès qu'un repli s'affiche. En grille, toute la
     rangée se décale. */
  aspect-ratio: var(--ba-ratio, 3 / 2);
}

.ba-slider img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

/* L'image « après » remplit la boîte : c'est le fond sur lequel l'image
   « avant » est découpée. Les deux font les mêmes dimensions (le module s'en
   assure au dépôt), `cover` ne recadre donc rien — il ne fait que garantir le
   remplissage si un fichier arrivait par un autre chemin. */
.ba-slider > img {
  height: 100%;
  object-fit: cover;
}
.ba-before {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
}
/* L'image « avant » doit couvrir la boîte ENTIÈRE, pas la bande visible :
   `.ba-before` n'est large que du curseur, et une image dimensionnée sur elle
   glisserait pendant qu'on le déplace.

   `aspect-ratio` la force à la forme exacte de la boîte — `height: 100%` donne
   alors une largeur égale à celle du slider, quelle que soit la taille réelle
   du fichier. Sans lui, une photo « avant » plus étroite que l'« après » est
   affichée à un autre grossissement : le même point du chantier ne tombe pas au
   même endroit des deux côtés du curseur. Le module dépose des images de taille
   identique, mais un fichier posé en FTP ne passe pas par lui.

   `max-width: none` est indispensable : le thème pose `img { max-width: 100% }`,
   et 100 % se mesure ici sur `.ba-before`, donc sur la BANDE. L'image était
   alors bridée à la largeur du curseur ; `object-fit: cover` la recadrait dans
   cette bande étroite, et dès que la photo n'avait pas exactement le ratio du
   slider, elle grossissait et se recentrait à chaque mouvement au lieu de
   rester fixe sous l'« après ». Le slider vertical n'est pas touché : il borne
   la largeur (pleine), pas la hauteur, et aucun thème ne pose de max-height. */
.ba-slider .ba-before img {
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  min-width: 100%;
  max-width: none;
  height: 100%;
  aspect-ratio: var(--ba-ratio, 3 / 2);
  object-fit: cover;
}
.ba-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: var(--white);
  transform: translateX(-50%);
  cursor: ew-resize;
  z-index: 10;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.ba-handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.ba-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: var(--secondary);
  border-radius: 50%;
  z-index: 1;
}
.ba-arrows {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
  pointer-events: none;
}
.ba-arrows svg {
  width: 12px;
  height: 12px;
  color: var(--white);
}

/* mcl-beforeafter-beforeafter-2 : components/beforeafter/beforeafter-2/beforeafter-2.css */
/* ===========================================
    BEFORE/AFTER - VERSION 2 - AVEC INFOS
    =========================================== */
.ba-section-2 {
    padding: 100px 5%;
    background: color-mix(in srgb, var(--gray-light) 40%, var(--white));
}
.ba-section-2 .header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}
.ba-section-2 .eyebrow {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}
.ba-section-2 h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--black);
}
.ba-card {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}
.ba-card .ba-slider {
    max-width: none;
}
.ba-card-info {
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}
.ba-card-info h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--black);
    margin-bottom: 6px;
}
.ba-card-info p {
    font-size: 0.9rem;
    color: var(--gray-dark);
}
.ba-card-stats {
    display: flex;
    gap: 40px;
}
.ba-stat {
    text-align: center;
}
.ba-stat-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--secondary);
    line-height: 1;
}
.ba-stat-label {
    font-size: 0.8rem;
    color: var(--gray-dark);
    margin-top: 4px;
}
@media (max-width: 640px) {
    .ba-card-info { flex-direction: column; text-align: center; padding: 24px 20px; }
    .ba-card-stats { gap: 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. */
.ba-card-info h3:hover,
.ba-section-2 h2:hover {
  color: var(--black);
}

/* ── 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) {
  .ba-section-2 {
    padding-top: var(--mcl-section-espace-mobile);
    padding-bottom: var(--mcl-section-espace-mobile);
  }
}

/* mcl-services-services-14 : components/services/services-14/services-14.css */
/* SERVICES 14 - FAMILLES ET SOINS
   Un sommaire de familles a gauche, le panneau de la famille ouverte a
   droite : son image, sa description et la liste de ses soins, chacun lie a
   sa page. La variante qui montre le mieux l'etendue d'une offre.
   Les panneaux sont superposes dans la meme cellule de grille : la hauteur
   est celle du plus grand, donc aucun saut au changement d'onglet. */

.services-14 {
  background: var(--white);
  color: var(--black);
  padding: clamp(4rem, 9vw, 8rem) 5%;
}

.services-14__inner {
  max-width: 1320px;
  margin: 0 auto;
}

/* ── En-tete ─────────────────────────────────────────────────────────── */
.services-14__head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.services-14__surtitre {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-dark);
}

.services-14__titre {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  font-weight: 400;
  line-height: 1.06;
  color: var(--black);
}

.services-14__titre:hover {
  color: var(--black);
}

.services-14__titre .mcl-accent {
  font-style: italic;
  color: inherit;
}

.services-14__intro {
  margin: 0;
  max-width: 46ch;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-dark);
}

/* ── Etage des metiers (multi-metiers seulement) ─────────────────────────
   LA COULEUR : rampe --secondary -> --primary, ancree sur l'accent de la
   variante. Le bouton actif pose la teinte en aplat et son texte bascule a
   50 % entre les --on-* correspondantes (§4.17, D-393). */
.services-14__metiers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(24px, 3vw, 36px);
}

.services-14__metier,
.services-14__onglet[data-metier],
.services-14__panneau[data-metier] {
  --m-couleur: color-mix(in oklab, var(--secondary), var(--primary) var(--m-melange, 0%));
  /* Texte : bascule a 50 % (D-393, §4.17), jamais un melange : --on-secondary
     sous 50 %, --on-primary a partir de 50 %. */
  --m-texte: color-mix(in oklab, var(--on-secondary), var(--on-primary) clamp(0%, (var(--m-melange, 0%) - 50%) * 10000 + 100%, 100%));
}

.services-14__metier {
  padding: 10px 20px;
  border: 1px solid var(--m-couleur);
  border-radius: 999px;
  background: none;
  /* Le texte au repos reste en --black : la terre cuite, en texte, descend
     sous 4,5:1 sur l'ivoire. La teinte du metier est portee par le contour,
     puis par l'aplat du bouton actif. */
  color: var(--black);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* :focus et border-color : le `button:hover, button:focus` du thème (0,1,1)
   impose sinon son bleu au bord, et au fond d'un bouton cliqué. */
.services-14__metier:hover,
.services-14__metier:focus,
.services-14__metier:focus-visible,
.services-14__metier.is-active {
  border-color: var(--m-couleur);
  background: var(--m-couleur);
  color: var(--m-texte);
}

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

/* ── Corps : sommaire + panneaux ─────────────────────────────────────── */
.services-14__corps {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 2.2fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.services-14__onglets {
  display: flex;
  flex-direction: column;
  border-top: 1px solid color-mix(in srgb, var(--black) 14%, transparent);
}

.services-14__onglet {
  --m-couleur: var(--secondary);
  --services-14-onglet-bord: color-mix(in srgb, var(--black) 14%, transparent);
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 14px;
  width: 100%;
  padding: 18px 0 18px 18px;
  border: 0;
  border-bottom: 1px solid var(--services-14-onglet-bord);
  background: none;
  color: var(--gray-dark);
  font-family: var(--font-body);
  text-align: left;
  cursor: pointer;
  transition: color 0.3s ease, padding-left 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* `display: flex` annulerait l'attribut `hidden` que pose le filtre de metier. */
.services-14__onglet[hidden] {
  display: none;
}

/* Le repere de l'onglet actif : un trait vertical dans la teinte du metier. */
.services-14__onglet::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: var(--m-couleur);
  transform: scaleY(0);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.services-14__onglet-num {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1;
  color: inherit;
}

.services-14__onglet-nom {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.25;
  color: inherit;
}

/* Le thème du site (suki) donne un fond et une bordure bleus à
   button:hover / button:focus (0,1,1) : chaque état les réécrit. */
.services-14__onglet:hover,
.services-14__onglet:focus,
.services-14__onglet:focus-visible {
  border-color: var(--services-14-onglet-bord);
  background: none;
  color: var(--black);
}

.services-14__onglet.is-active {
  padding-left: 26px;
  color: var(--black);
}

.services-14__onglet.is-active::before {
  transform: scaleY(1);
}

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

.services-14__panneaux {
  display: grid;
}

.services-14__panneau {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
  /* La cellule a la hauteur du plus grand panneau : sans cela, les rangees
     d'un panneau plus court s'etirent et ouvrent un vide sous l'image. */
  align-content: start;
  min-width: 0;
}

/* Sans JS, les panneaux restent visibles les uns sous les autres : rien
   n'est cache tant que les onglets ne fonctionnent pas. */
.services-14--js .services-14__panneau {
  visibility: hidden;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.45s ease,
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.45s;
}

.services-14--js .services-14__panneau.is-active {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition:
    opacity 0.55s ease 0.1s,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.1s,
    visibility 0s linear 0s;
}

.services-14:not(.services-14--js) .services-14__panneau + .services-14__panneau {
  grid-area: auto;
  margin-top: 48px;
}

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

.services-14__visuel {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 1.25rem;
  background: var(--gray-light);
}

.services-14__image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.services-14__contenu {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 6px;
}

.services-14__nom {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--black);
}

.services-14__nom:hover {
  color: var(--black);
}

.services-14__desc {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-dark);
}

/* ── Liste elegante des soins ────────────────────────────────────────── */
.services-14__soins {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid color-mix(in srgb, var(--black) 12%, transparent);
}

.services-14__soin {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--black) 12%, transparent);
}

.services-14__soin-lien,
.services-14__soin-libelle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.4;
  color: var(--black);
}

.services-14__soin-lien {
  background: none;
  border: 0;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease, padding-left 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.services-14__soin-nom {
  color: inherit;
}

.services-14__soin-svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--secondary);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.services-14__soin-lien:hover,
.services-14__soin-lien:focus,
.services-14__soin-lien:focus-visible {
  padding-left: 8px;
  color: var(--black);
}

.services-14__soin-lien:hover .services-14__soin-svg,
.services-14__soin-lien:focus-visible .services-14__soin-svg {
  transform: translateX(4px);
}

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

/* ── Actions ─────────────────────────────────────────────────────────── */
.services-14__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 12px;
}

.services-14__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--secondary);
  color: var(--on-secondary);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.services-14__cta:hover,
.services-14__cta:focus,
.services-14__cta:focus-visible {
  background: var(--primary);
  color: var(--on-primary);
}

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

.services-14__plus {
  padding: 0 0 2px;
  background: none;
  border: 0;
  border-bottom: 1px solid currentColor;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--black);
  cursor: pointer;
  transition: color 0.3s ease;
}

.services-14__plus:hover,
.services-14__plus:focus,
.services-14__plus:focus-visible {
  color: var(--black);
  border-bottom-color: var(--secondary);
}

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

@media (prefers-reduced-motion: reduce) {
  .services-14--js .services-14__panneau,
  .services-14--js .services-14__panneau.is-active {
    transform: none;
    transition: none;
  }

  .services-14__onglet,
  .services-14__onglet::before,
  .services-14__soin-lien,
  .services-14__soin-svg {
    transition: none;
  }
}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .services-14__panneau {
    grid-template-columns: minmax(0, 1fr);
  }

  .services-14__visuel {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 1024px) {
  .services-14__corps {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Le sommaire devient une bande defilante de pastilles. */
  .services-14__onglets {
    flex-direction: row;
    gap: 8px;
    margin: 0 -5vw;
    padding: 0 5vw 6px;
    overflow-x: auto;
    border-top: 0;
    scrollbar-width: none;
  }

  .services-14__onglets::-webkit-scrollbar {
    display: none;
  }

  .services-14__onglet {
    flex: 0 0 auto;
    width: auto;
    --services-14-onglet-bord: color-mix(in srgb, var(--black) 16%, transparent);
    padding: 10px 18px;
    border: 1px solid var(--services-14-onglet-bord);
    border-radius: 999px;
    white-space: nowrap;
  }

  .services-14__onglet::before,
  .services-14__onglet-num {
    display: none;
  }

  .services-14__onglet.is-active {
    padding-left: 18px;
    border-color: var(--m-couleur);
    background: var(--m-couleur);
    color: var(--on-secondary);
  }

  .services-14__onglet[data-metier].is-active {
    color: var(--m-texte);
  }

  .services-14__onglet-nom {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: inherit;
  }
}

@media (max-width: 768px) {
  .services-14__head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .services-14__actions {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .services-14__plus {
    align-self: center;
  }
}

/* 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). */
.services-14__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. */
.services-14__onglet-nom .mcl-accent,
.services-14__nom .mcl-accent,
.services-14__soin-nom .mcl-accent,
.services-14__soin-libelle .mcl-accent {
  color: inherit;
  font-style: italic;
}

/* Enveloppe du titre de l'offre dans un parent flex : texte et accent ((…))
   forment UN seul élément flex (sinon le gap remplace l'espace, ou les mots
   se collent). Couleur : celle du parent, déclarée ici (§4.13). */
.services-14__soin-libelle .services-14__soin-libelle-texte {
  color: inherit;
}

/* mcl-scenarios-educatifs/scenarios-main : components/scenarios-educatifs/scenarios/main.css */
/* ============================================================
   SCÉNARIOS ÉDUCATIFS — mise en page commune
   Opt-in par le hook [data-scenario] (CLAUDE.md §3.6). Une scène collée
   en haut de l'écran pendant que la section, haute de plusieurs écrans,
   défile : à gauche le TEXTE de l'étape active, à droite le VISUEL du
   scénario, que chaque variante anime à partir des variables publiées par
   main.js (--sc-avance, --sc-p-N). Le visuel ne change jamais de côté
   (lot C9-L6) : sous 1024 px, il passe au-dessus du texte.

   Trois états, comme hero-22 :
     * animé (défaut)          : scène collée, une étape visible à la fois ;
     * .scenario--statique     : sans JS ou mouvement réduit — étapes
                                 empilées, visuel en tête dans son état
                                 « explicatif » (choisi par la variante) ;
     * .scenario--epingle-js   : filet si un ancêtre casse le sticky.

   La charte du site (lot C9-L4) : le récit est le même partout, ses
   couleurs sont celles du client. Jamais une lettre en couleur de marque
   sur fond clair — un composant ne sait pas si --accent est clair ou
   sombre (§4.14) : les mots restent en --black / --gray-dark, le passage
   accentué suit la paire --accent / --on-accent, et la charte se pose
   AUTOUR des mots, là où elle reste lisible sur toutes les palettes :
     * accent des titres : le passage marqué ((…)) d'un titre (span
       .mcl-accent) reçoit un aplat --accent sur toute sa hauteur, texte en
       --on-accent — la paire que le thème garantit lisible ;
     * pastilles : numéro d'étape en aplat --accent / --on-accent, puces et
       trait du surtitre en --accent ;
     * barre d'avancement et soulignement du lien « passer » en --accent.
   Les mêmes règles valent dans l'état statique : rien n'en dépend.
   ============================================================ */

[data-scenario] {
    --sc-pas: 0.75;
    --sc-gouttiere: clamp(1rem, 4vw, 3.5rem);
    --sc-avance: 0;
    --sc-p-0: 0;
    --sc-p-1: 0;
    --sc-p-2: 0;
    --sc-p-3: 0;
    --sc-p-4: 0;
    --sc-p-5: 0;
    --sc-p-6: 0;
    --sc-p-7: 0;
    --sc-p-8: 0;
    --sc-p-9: 0;
    --sc-p-10: 0;
    --sc-p-11: 0;

    position: relative;
    height: calc(100vh * (1 + (var(--sc-etapes, 4) - 1) * var(--sc-pas)));
    height: calc(100svh * (1 + (var(--sc-etapes, 4) - 1) * var(--sc-pas)));
    background: var(--white);
    color: var(--black);
}

[data-scenario] .scenario__scene {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
}

/* ---- Les deux moitiés -------------------------------------- */
[data-scenario] .scenario__visuel,
[data-scenario] .scenario__etapes {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
}

[data-scenario] .scenario__visuel {
    left: 50%;
    z-index: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: color-mix(in srgb, var(--primary) 7%, var(--gray-light));
}

[data-scenario] .scenario__etapes {
    left: 0;
    z-index: 1;
    display: grid;
    align-items: center;
    padding: calc(var(--header-height, 80px) + 1rem) var(--sc-gouttiere) clamp(3.5rem, 9vh, 6rem);
}

/* Toutes les étapes occupent la même case : une seule est visible. */
[data-scenario] .scenario__etape {
    grid-area: 1 / 1;
    max-width: 34rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(1.5rem);
    transition: opacity 0.5s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s linear 0.5s;
}

[data-scenario] .scenario__etape.is-actif {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.6s ease 0.15s, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s, visibility 0s;
}

/* ---- Textes ------------------------------------------------ */
[data-scenario] .scenario__surtitre {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 0.9rem;
    color: var(--gray-dark);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    line-height: 1.4;
    text-transform: uppercase;
}

/* Trait de charte devant le surtitre (décoratif). */
[data-scenario] .scenario__surtitre::before {
    content: "";
    flex: none;
    width: 2rem;
    height: 3px;
    border-radius: 3px;
    background: var(--accent);
}

[data-scenario] .scenario__titre,
[data-scenario] .scenario__titre:hover {
    margin: 0 0 1.1rem;
    color: var(--black);
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.2vw, 3.4rem);
    font-weight: 600;
    line-height: 1.05;
}

[data-scenario] .scenario__etape-titre,
[data-scenario] .scenario__etape-titre:hover {
    margin: 0 0 1rem;
    color: var(--black);
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.8vw, 2.3rem);
    font-weight: 600;
    line-height: 1.12;
}

/* Accent d'un titre : le passage ((…)) en aplat de charte, sur toute la
   hauteur de la ligne. Padding horizontal seulement : aucune hauteur
   ajoutée (la place sous la scène est comptée). `clone` : chaque ligne
   d'un passage coupé garde ses deux bords. */
[data-scenario] .scenario__titre .mcl-accent,
[data-scenario] .scenario__titre:hover .mcl-accent,
[data-scenario] .scenario__etape-titre .mcl-accent,
[data-scenario] .scenario__etape-titre:hover .mcl-accent {
    padding: 0 0.18em;
    border-radius: 0.12em;
    background: var(--accent);
    color: var(--on-accent);
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

/* Pastille du numéro d'étape : aplat de charte, texte apparié (§4.14). */
/* `flex` + `fit-content` plutôt qu'`inline-flex` : pas de ligne anonyme
   autour de la pastille, donc pas de hauteur de ligne en plus. */
[data-scenario] .scenario__numero {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-width: 2.6em;
    margin: 0 0 0.8rem;
    padding: 0.3em 0.7em;
    border-radius: 999px;
    background: var(--accent);
    color: var(--on-accent);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 1.3;
}

[data-scenario] .scenario__texte {
    margin: 0 0 0.9rem;
    color: var(--black);
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.25vw, 1.12rem);
    line-height: 1.6;
}

[data-scenario] .scenario__liste {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

[data-scenario] .scenario__liste-item {
    position: relative;
    padding-left: 1.4rem;
    color: var(--black);
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.15vw, 1.05rem);
    line-height: 1.55;
}

[data-scenario] .scenario__liste-item::before {
    content: "";
    position: absolute;
    top: 0.62em;
    left: 0;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--accent);
}

[data-scenario] .scenario__indice {
    margin: 1.6rem 0 0;
    color: var(--gray-dark);
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    line-height: 1.4;
    text-transform: uppercase;
}

/* ---- Bouton et sortie -------------------------------------- */
[data-scenario] .scenario__btn {
    display: inline-flex;
    align-items: center;
    margin-top: 0.6rem;
    padding: 0.95rem 1.6rem;
    border: 0;
    border-radius: 999px;
    background: var(--accent);
    color: var(--on-accent);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

/* D-323 : focus aux valeurs du repos (suki : `a:focus`, `button:focus` (0,1,1)). */
[data-scenario] .scenario__btn:focus {
    background: var(--accent);
    color: var(--on-accent);
    border-color: transparent;
}
[data-scenario] .scenario__btn:hover,
[data-scenario] .scenario__btn:focus-visible {
    background: color-mix(in srgb, var(--accent) 86%, var(--black));
    color: var(--on-accent);
    transform: translateY(-2px);
    border-color: transparent;
}

[data-scenario] .scenario__btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

/* Le lien se pose sur la scène 3D (herbe, ciel, fondu au noir) : il
   porte son propre panneau clair, et le contraste ne dépend plus de ce
   qu'il y a derrière (§4.14, « la seule sortie »). */
[data-scenario] .scenario__passer {
    position: absolute;
    right: var(--sc-gouttiere);
    bottom: 1.4rem;
    z-index: 2;
    padding: 0.4rem 0.85rem;
    border: 0;
    border-radius: 999px;
    background: var(--white);
    color: var(--gray-dark);
    font-family: var(--font-body);
    font-size: 0.82rem;
    line-height: 1.3;
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.25em;
    cursor: pointer;
}

[data-scenario] .scenario__passer:focus {
    background: var(--white);
    color: var(--gray-dark);
    border-color: transparent;
}
[data-scenario] .scenario__passer:hover,
[data-scenario] .scenario__passer:focus-visible {
    background: var(--white);
    color: var(--black);
    border-color: transparent;
}

[data-scenario] .scenario__passer:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

[data-scenario] .scenario__progression {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    height: 3px;
    background: color-mix(in srgb, var(--accent) 16%, transparent);
}

[data-scenario] .scenario__progression-barre {
    display: block;
    height: 100%;
    width: 100%;
    background: var(--accent);
    transform-origin: left center;
    transform: scaleX(var(--sc-avance));
}

[data-scenario] .scenario__suite {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 1px;
    height: 1px;
}

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

[data-scenario].scenario--epingle-js.est-epingle .scenario__scene {
    position: fixed;
}

[data-scenario].scenario--epingle-js.est-apres .scenario__scene {
    top: auto;
    bottom: 0;
}

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

[data-scenario].scenario--statique .scenario__scene {
    position: relative;
    height: auto;
    overflow: visible;
}

[data-scenario].scenario--statique .scenario__visuel,
[data-scenario].scenario--statique .scenario__etapes {
    position: relative;
    left: auto;
    width: auto;
}

[data-scenario].scenario--statique .scenario__visuel {
    min-height: clamp(20rem, 60vh, 34rem);
}

[data-scenario].scenario--statique .scenario__etapes {
    display: flex;
    flex-direction: column;
    gap: clamp(2.5rem, 7vh, 4.5rem);
    padding-top: clamp(2.5rem, 7vh, 4.5rem);
}

[data-scenario].scenario--statique .scenario__etape {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
}

[data-scenario].scenario--statique .scenario__indice,
[data-scenario].scenario--statique .scenario__progression,
[data-scenario].scenario--statique .scenario__passer {
    display: none;
}

/* ---- Responsive : visuel en haut, texte en bas ------------- */
@media (max-width: 1024px) {
    [data-scenario] .scenario__visuel,
    [data-scenario] .scenario__etapes {
        left: 0;
        width: 100%;
    }

    [data-scenario] .scenario__visuel {
        top: 0;
        bottom: auto;
        height: 46%;
    }

    [data-scenario] .scenario__etapes {
        top: 46%;
        align-items: start;
        padding-top: clamp(1.25rem, 4vh, 2rem);
        padding-bottom: 3.5rem;
    }

    [data-scenario] .scenario__titre,
    [data-scenario] .scenario__titre:hover {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    [data-scenario] .scenario__etape-titre,
    [data-scenario] .scenario__etape-titre:hover {
        font-size: clamp(1.25rem, 4.6vw, 1.7rem);
    }

    [data-scenario] .scenario__texte {
        font-size: 0.98rem;
        line-height: 1.5;
    }

    /* La place sous la scène est comptée (étape 4 : six couches) : la
       pastille ne prend pas plus de hauteur que l'ancien numéro en texte. */
    [data-scenario] .scenario__numero {
        margin-bottom: 0.45rem;
        padding: 0.1em 0.6em;
        line-height: 1.2;
    }

    [data-scenario].scenario--statique .scenario__visuel {
        height: auto;
    }
}

@media (max-width: 480px) {
    [data-scenario] .scenario__visuel {
        height: 40%;
    }

    [data-scenario] .scenario__etapes {
        top: 40%;
    }

    [data-scenario] .scenario__liste {
        gap: 0.45rem;
    }

    [data-scenario] .scenario__liste-item {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

/* mcl-scenarios-educatifs/scenarios-scenario-couvreur-1 : components/scenarios-educatifs/scenarios/scenario-couvreur-1/scenario-couvreur-1.css */
/* SCÉNARIO COUVREUR 1 - REFAIRE SA TOITURE
   Le visuel est une scène 3D WebGL (scene.js) : une maison dont la toiture
   est modélisée couche par couche. Cette feuille ne dessine que son cadre :
   le fond du panneau, l'image fixe de repli, le fondu des changements de
   plan et les étiquettes de l'éclaté, que scene.js place sur l'écran à
   chaque image.

   Sans 3D (pas de JS, pas de WebGL, mouvement réduit) : l'image fixe. */

.scenario-couvreur-1 .scenario-couvreur-1__visuel {
    /* Un ciel clair, teinté de la charte, sur lequel la maison se détache. */
    background:
        radial-gradient(120% 80% at 50% 100%, color-mix(in srgb, var(--black) 10%, transparent), transparent 60%),
        linear-gradient(180deg, color-mix(in srgb, var(--primary) 9%, var(--white)) 0%, var(--gray-light) 100%);
}

.scenario-couvreur-1 .scenario-couvreur-1__apercu,
.scenario-couvreur-1 .scenario-couvreur-1__toile {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.scenario-couvreur-1 .scenario-couvreur-1__apercu {
    object-fit: contain;
    transition: opacity 0.8s ease;
}

.scenario-couvreur-1 .scenario-couvreur-1__toile {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.scenario-couvreur-1.is-3d-pret .scenario-couvreur-1__toile {
    opacity: 1;
}

.scenario-couvreur-1.is-3d-pret .scenario-couvreur-1__apercu {
    opacity: 0;
}

/* Fondu au noir : entrer dans les combles sans traverser les murs. */
.scenario-couvreur-1 .scenario-couvreur-1__fondu {
    position: absolute;
    inset: 0;
    background: var(--black);
    opacity: 0;
    pointer-events: none;
}

/* ---- Étiquettes de l'écorché, placées par scene.js ----------- */
.scenario-couvreur-1 .scenario-couvreur-1__calque {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.scenario-couvreur-1 .scenario-couvreur-1__etiquette {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    margin: 0;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--white) 92%, transparent);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
    color: var(--black);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    translate: -50% -130%;
    will-change: transform, opacity;
}

/* Pastille de charte devant le nom de la couche, comme les puces de la
   liste de l'étape 4 : l'étiquette garde son panneau clair (texte noir,
   lisible sur la scène), la couleur du site est dans le point. */
.scenario-couvreur-1 .scenario-couvreur-1__etiquette::before {
    content: "";
    display: inline-block;
    width: 0.5em;
    height: 0.5em;
    margin-right: 0.45em;
    border-radius: 50%;
    background: var(--accent);
    vertical-align: 0.06em;
}

/* ---- Liste des couches (étape 4) ----------------------------- */
.scenario-couvreur-1 .scenario-couvreur-1__couche-nom {
    color: var(--black);
    font-weight: 600;
}

.scenario-couvreur-1 .scenario-couvreur-1__couche-role {
    color: var(--black);
}

/* ---- État statique ------------------------------------------- */
.scenario-couvreur-1.scenario--statique .scenario-couvreur-1__toile,
.scenario-couvreur-1.scenario--statique .scenario-couvreur-1__calque,
.scenario-couvreur-1.scenario--statique .scenario-couvreur-1__fondu {
    display: none;
}

.scenario-couvreur-1.scenario--statique .scenario-couvreur-1__apercu {
    position: relative;
    height: auto;
    max-height: 70vh;
    opacity: 1;
}

/* ---- Responsive ---------------------------------------------- */
/* Mobile : la place sous la scène ne tient pas six rôles détaillés —
   les noms seuls, en deux colonnes (l'état statique garde tout). */
@media (max-width: 768px) {
    .scenario-couvreur-1:not(.scenario--statique) .scenario-couvreur-1__liste {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.35rem 1rem;
    }

    .scenario-couvreur-1:not(.scenario--statique) .scenario-couvreur-1__couche-role {
        display: none;
    }

    .scenario-couvreur-1 .scenario-couvreur-1__etiquette {
        font-size: 0.7rem;
        padding: 0.22rem 0.55rem;
    }
}

/* mcl-portraits-portrait-3 : components/portraits/portrait-3/portrait-3.css */
/* ============================================================
   PORTRAIT 3 — PARCOURS
   Une presentation courte et la photo, puis ce qui a fait la personne :
   ses etapes sur une ligne de temps fine, horizontale en desktop,
   verticale en mobile. Sans etape, la section s'arrete sobrement sur ses
   formations — ou sur sa presentation, sans frise vide.

   Signature : la ligne se dessine au defilement et chaque etape s'allume a
   son passage. Sans JS (et a l'export), la ligne est dessinee et toutes les
   etapes sont allumees.
   ============================================================ */

.portrait-3 {
    padding: clamp(4rem, 9vw, 8rem) 5%;
    background: var(--white);
    color: var(--black);
}

.portrait-3__inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* ---- Tete : photo + presentation ----------------------------- */
.portrait-3__tete {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
    align-items: end;
    gap: clamp(2rem, 5vw, 5rem);
}

.portrait-3--sans-photo .portrait-3__tete {
    grid-template-columns: minmax(0, 1fr);
    max-width: 44rem;
}

.portrait-3__visuel {
    margin: 0;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    max-height: 34rem;
    border-radius: 50vw 50vw 6px 6px;   /* arche : la forme organique du site (cf. hero-12) */
    background: var(--gray-light);
}

.portrait-3__photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 30%;
}

.portrait-3__texte {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 34rem;
    padding-bottom: clamp(0rem, 2vw, 1.5rem);
}

.portrait-3__surtitre {
    margin: 0 0 1rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary);
}

.portrait-3__titre,
.portrait-3__titre:hover {
    margin: 0 0 1.5rem;
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.6vw, 3.1rem);
    font-weight: 500;
    line-height: 1.12;
    color: var(--black);
}

.portrait-3__titre .mcl-accent {
    font-style: italic;
    color: var(--primary);
}

.portrait-3__accroche {
    margin: 0 0 1.75rem;
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    line-height: 1.75;
    color: var(--gray-dark);
}

.portrait-3__identite {
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 2px solid var(--primary);
}

.portrait-3__nom,
.portrait-3__nom:hover {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.25;
    color: var(--black);
}

.portrait-3__fonction {
    margin: 0.2rem 0 0;
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--gray-dark);
}

.portrait-3__cotes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1rem;
    margin: 0 0 1.75rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--black);
}

.portrait-3__cotes-libelle {
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gray-dark);
}

.portrait-3__cotes-membre {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--black);
}

.portrait-3__cotes-fonction {
    color: var(--gray-dark);
}

/* ---- Bouton -------------------------------------------------- */
.portrait-3__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.9rem;
    border: 0;
    border-radius: 4px;
    background: var(--accent);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--on-accent);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
}

/* D-323 : focus aux valeurs du repos (suki : `a:focus`, `button:focus` (0,1,1)). */
.portrait-3__btn:focus {
    background: var(--accent);
    color: var(--on-accent);
    border-color: transparent;
}
.portrait-3__btn:hover,
.portrait-3__btn:focus-visible {
    background: color-mix(in srgb, var(--accent) 84%, var(--black));
    color: var(--on-accent);
    border-color: transparent;
}

.portrait-3__btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

/* ---- Libelles de bloc ---------------------------------------- */
.portrait-3__libelle {
    margin: 0 0 1.75rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gray-dark);
}

/* ---- Frise --------------------------------------------------- */
.portrait-3__parcours {
    margin-top: clamp(3.5rem, 7vw, 6rem);
}

.portrait-3__frise {
    /* Lu par le JS : l'axe sur lequel la ligne se dessine. */
    --portrait-3-sens: horizontal;
    --portrait-3-progres: 1;
    position: relative;
}

.portrait-3__frise::before,
.portrait-3__ligne {
    position: absolute;
    top: 0.45rem;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--primary);
    transform: scaleX(var(--portrait-3-progres));
    transform-origin: left center;
}

/* Le rail, sous la ligne : ce qui reste a parcourir. */
.portrait-3__frise::before {
    content: "";
    background: color-mix(in srgb, var(--gray-dark) 25%, transparent);
    transform: none;
}

.portrait-3__etapes {
    display: grid;
    grid-template-columns: repeat(var(--portrait-3-n, 4), minmax(0, 1fr));
    gap: clamp(1.25rem, 3vw, 2.5rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

.portrait-3__etape {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    position: relative;
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.portrait-3__point {
    display: block;
    width: 0.9rem;
    height: 0.9rem;
    margin-bottom: 1rem;
    border: 1px solid var(--primary);
    border-radius: 50%;
    background: var(--primary);
    transition: background 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.portrait-3__annee {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    font-style: italic;
    line-height: 1.1;
    color: var(--primary);
    font-variant-numeric: tabular-nums;
}

.portrait-3__etape-titre {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--black);
}

.portrait-3__etape-texte {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--gray-dark);
}

/* ---- Formations (repli sobre, ou complement) ---------------- */
.portrait-3__formations {
    margin-top: clamp(2.5rem, 5vw, 4rem);
}

.portrait-3__liste {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
    column-gap: clamp(1.5rem, 3vw, 2.5rem);
    margin: -1.25rem 0 0;
    padding: 0;
    list-style: none;
}

.portrait-3__formation {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid color-mix(in srgb, var(--gray-dark) 22%, transparent);
}

.portrait-3__formation-intitule {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--black);
}

.portrait-3__formation-detail {
    font-family: var(--font-body);
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--gray-dark);
}

/* ---- Signature (armee par le JS) ----------------------------- */
.portrait-3--anime .portrait-3__etape {
    opacity: 0.35;
}

.portrait-3--anime .portrait-3__point {
    background: var(--white);
    transform: scale(0.7);
}

.portrait-3--anime .portrait-3__etape.is-allume {
    opacity: 1;
}

.portrait-3--anime .portrait-3__etape.is-allume .portrait-3__point {
    background: var(--primary);
    transform: scale(1);
}

/* ---- Responsive ---------------------------------------------- */
@media (max-width: 900px) {
    .portrait-3__tete {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
    }

    .portrait-3__visuel {
        width: min(100%, 26rem);
    }
}

@media (max-width: 768px) {
    .portrait-3__frise {
        --portrait-3-sens: vertical;
        padding-left: 2rem;
    }

    .portrait-3__frise::before,
    .portrait-3__ligne {
        top: 0.45rem;
        bottom: 0;
        left: 0.45rem;
        right: auto;
        width: 1px;
        height: auto;
        transform-origin: center top;
    }

    .portrait-3__ligne {
        transform: scaleY(var(--portrait-3-progres));
    }

    .portrait-3__etapes {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }

    .portrait-3__point {
        position: absolute;
        top: 0.3rem;
        left: -2rem;
        margin: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .portrait-3--anime .portrait-3__etape,
    .portrait-3--anime .portrait-3__point {
        opacity: 1;
        background: var(--primary);
        transform: none;
        transition: none;
    }
}

/* mcl-processus-processus-9 : components/processus/processus-9/processus-9.css */
/* PROCESSUS 9 - LE CHEMIN : un filet fin se dessine au scroll, chaque étape s'allume à son passage */
.processus-9 {
  --processus-9-node: 0.75rem;
  --processus-9-gap: clamp(1.5rem, 3vw, 3rem);
  padding: clamp(4.5rem, 9vw, 8rem) 5%;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
}

.processus-9__inner {
  max-width: 1280px;
  margin: 0 auto;
}

/* ── En-tête ─────────────────────────────────────────────── */
.processus-9__head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(3rem, 7vw, 5.5rem);
}

.processus-9__eyebrow {
  margin: 0 0 1.1rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
}

.processus-9__title,
.processus-9__title:hover {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--black);
}

.processus-9__title .mcl-accent {
  font-style: italic;
  font-weight: 500;
  color: var(--primary);
}

.processus-9__intro {
  margin: 0;
  max-width: 34rem;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.7;
  color: var(--gray-dark);
}

/* ── Le chemin ───────────────────────────────────────────── */
.processus-9__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--processus-9-n, 4), minmax(0, 1fr));
  gap: var(--processus-9-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Le filet : un tracé de fond, et sa copie qui se dessine par-dessus. */
.processus-9__steps::before,
.processus-9__steps::after {
  content: "";
  position: absolute;
  top: calc(var(--processus-9-node) / 2);
  left: 0;
  right: 0;
  height: 1px;
  pointer-events: none;
}

.processus-9__steps::before {
  background: color-mix(in srgb, var(--black) 12%, transparent);
}

.processus-9__steps::after {
  background: var(--primary);
  transform: scaleX(var(--processus-9-progress, 1));
  transform-origin: left center;
}

.processus-9__step {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--processus-9-node) + clamp(1.5rem, 2.5vw, 2.25rem));
  padding-right: clamp(0rem, 1.5vw, 1.5rem);
}

.processus-9__node {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: var(--processus-9-node);
  height: var(--processus-9-node);
  border: 1px solid var(--primary);
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 0.4rem var(--white);
  transition:
    background-color 0.6s ease,
    border-color 0.6s ease;
}

.processus-9__num {
  display: block;
  margin-bottom: clamp(0.75rem, 1.5vw, 1.25rem);
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 6vw, 5.5rem);
  font-weight: 400;
  line-height: 0.9;
  color: var(--primary);
  font-variant-numeric: lining-nums;
  transition: color 0.9s ease;
}

.processus-9__step-title,
.processus-9__step-title:hover {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--black);
  transition: color 0.9s ease;
}

.processus-9__step-title .mcl-accent {
  font-style: italic;
  font-weight: 500;
  color: var(--primary);
}

.processus-9__step-desc {
  margin: 0;
  max-width: 22rem;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--gray-dark);
}

/* ── Animation : posée par le JS, jamais sans lui ────────── */
.processus-9.is-animated .processus-9__steps::after {
  transition: transform 0.25s linear;
}

.processus-9.is-animated .processus-9__step {
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.processus-9.is-animated .processus-9__step:not(.is-lit) {
  transform: translateY(0.6rem);
}

.processus-9.is-animated .processus-9__step:not(.is-lit) .processus-9__node {
  border-color: color-mix(in srgb, var(--black) 25%, transparent);
  background: var(--white);
}

.processus-9.is-animated .processus-9__step:not(.is-lit) .processus-9__num {
  color: color-mix(in srgb, var(--primary) 16%, var(--white));
}

.processus-9.is-animated .processus-9__step:not(.is-lit) .processus-9__step-title,
.processus-9.is-animated .processus-9__step:not(.is-lit) .processus-9__step-title:hover {
  color: var(--gray-dark);
}

/* ── Bouton ──────────────────────────────────────────────── */
.processus-9__actions {
  margin-top: clamp(3rem, 6vw, 4.5rem);
}

.processus-9__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.9rem;
  border: 1px solid transparent;
  border-radius: 4px;
  background: var(--secondary);
  color: var(--on-secondary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

/* L'accent terre cuite est réservé aux actions : au survol, le bouton passe
   sur l'aplat profond plutôt que vers une seconde teinte. */
.processus-9__cta:hover,
.processus-9__cta:focus,
.processus-9__cta:focus-visible {
  background: var(--primary);
  color: var(--on-primary);
  text-decoration: none;
}

.processus-9__cta:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .processus-9__head {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

/* Mobile : le chemin devient vertical, le filet descend le long des étapes. */
@media (max-width: 768px) {
  .processus-9__steps {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }

  .processus-9__steps::before,
  .processus-9__steps::after {
    top: 0.5rem;
    bottom: 0;
    left: calc(var(--processus-9-node) / 2);
    right: auto;
    width: 1px;
    height: auto;
  }

  .processus-9__steps::after {
    transform: scaleY(var(--processus-9-progress, 1));
    transform-origin: center top;
  }

  .processus-9__step {
    padding-top: 0;
    padding-right: 0;
    padding-left: calc(var(--processus-9-node) + 1.75rem);
  }

  .processus-9__node {
    top: 0.5rem;
  }

  .processus-9__num {
    font-size: clamp(2.75rem, 12vw, 3.5rem);
  }

  .processus-9__step-desc {
    max-width: none;
  }
}

/* prefers-reduced-motion : le JS ne pose pas .is-animated, tout reste à l'état final. */

/* ── 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-9 {
    padding-top: var(--mcl-section-espace-mobile);
    padding-bottom: var(--mcl-section-espace-mobile);
  }
}

/* mcl-seo/climat-chiffres-climat-chiffres-1 : components/seo/climat-chiffres/climat-chiffres-1/climat-chiffres-1.css */
/* ============================================
    SECTION MÉTÉO - Insights Cards
    ============================================ */
    
/* Couleurs spécifiques par type.
   Posées sur la CARTE, pas sur l'icône : une custom property descend, elle ne
   remonte pas. Sur l'icône, la barre colorée du ::before de la carte lisait une
   variable définie chez son propre enfant — donc jamais résolue, et le dégradé
   restait transparent. */
.climat-chiffres-1__card--rain {
  --climat-chiffres-1-color: var(--secondary);
  --climat-chiffres-1-color-light: color-mix(in srgb, var(--secondary) 55%, var(--white));
  --climat-chiffres-1-bg: color-mix(in srgb, var(--secondary) 12%, transparent);
}

.climat-chiffres-1__card--sun {
  --climat-chiffres-1-color: var(--primary);
  --climat-chiffres-1-color-light: color-mix(in srgb, var(--primary) 55%, var(--white));
  --climat-chiffres-1-bg: color-mix(in srgb, var(--primary) 12%, transparent);
}

.climat-chiffres-1__card--wind {
  --climat-chiffres-1-color: color-mix(in srgb, var(--secondary) 60%, var(--white));
  --climat-chiffres-1-color-light: color-mix(in srgb, var(--secondary) 35%, var(--white));
  --climat-chiffres-1-bg: color-mix(in srgb, var(--secondary) 10%, transparent);
}

.climat-chiffres-1__card--storm {
  --climat-chiffres-1-color: color-mix(in srgb, var(--primary) 62%, var(--black));
  --climat-chiffres-1-color-light: color-mix(in srgb, var(--primary) 45%, var(--black));
  --climat-chiffres-1-bg: color-mix(in srgb, var(--primary) 12%, transparent);
}

.climat-chiffres-1 {
  padding: 80px 5%;
  background: linear-gradient(135deg, var(--white) 0%, var(--gray-light) 100%);
  position: relative;
  overflow: hidden;
}

.climat-chiffres-1::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, color-mix(in srgb, var(--secondary) 10%, transparent) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.climat-chiffres-1 .container {
  max-width: 1200px;
  margin: 0 auto;
}
.climat-chiffres-1 .section-header {
  text-align: center;
}

.climat-chiffres-1 h2 { 
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--black);
  margin-bottom: 16px;
}

.climat-chiffres-1 p {
  font-size: 1.05rem;
  color: var(--gray-dark);
  line-height: 1.8;
}

.climat-chiffres-1__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.climat-chiffres-1__card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.climat-chiffres-1__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--climat-chiffres-1-color), var(--climat-chiffres-1-color-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.climat-chiffres-1__card:hover::before {
  transform: scaleX(1);
}

.climat-chiffres-1__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.climat-chiffres-1__icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: var(--climat-chiffres-1-bg);
  transition: transform 0.3s ease;
}

.climat-chiffres-1__card:hover .climat-chiffres-1__icon {
  transform: scale(1.1) rotate(5deg);
}

.climat-chiffres-1__icon svg {
  width: 32px;
  height: 32px;
  color: var(--climat-chiffres-1-color);
}

.climat-chiffres-1__content {
  margin-bottom: 16px;
}

.climat-chiffres-1__value {
  font-size: 48px;
  font-weight: 700;
  color: var(--black);
  line-height: 1;
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.climat-chiffres-1__unit {
  font-size: 20px;
  font-weight: 500;
  color: var(--gray-dark);
  margin-left: 4px;
}

.climat-chiffres-1__label {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-dark);
  margin-bottom: 6px;
}

.climat-chiffres-1__detail {
  font-size: 14px;
  color: var(--gray-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

.climat-chiffres-1__impact {
  font-size: 13px;
  color: var(--gray-dark);
  font-style: italic;
  padding-top: 16px;
  border-top: 1px solid var(--secondary);
  line-height: 1.5;
}


/* ============================================
    RESPONSIVE
    ============================================ */

@media (max-width: 992px) {
  .climat-chiffres-1__grid {
     grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .climat-chiffres-1__grid {
     grid-template-columns: 1fr;
  }
  
  .climat-chiffres-1__card {
     padding: 24px 20px;
  }
  
  .climat-chiffres-1__value {
     font-size: 36px;
  }
}
/* ── 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. */
.climat-chiffres-1 h2:hover {
  color: var(--black);
}

/* ============================================
   ANIMATION
   ============================================ */

@keyframes climat-chiffres-1-fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.climat-chiffres-1__fade {
  animation: climat-chiffres-1-fade-in-up 0.6s ease-out forwards;
}

.climat-chiffres-1__card:nth-child(1) { animation-delay: 0.1s; }
.climat-chiffres-1__card:nth-child(2) { animation-delay: 0.2s; }
.climat-chiffres-1__card:nth-child(3) { animation-delay: 0.3s; }
.climat-chiffres-1__card:nth-child(4) { animation-delay: 0.4s; }

/* ── 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) {
  .climat-chiffres-1 {
    padding-top: var(--mcl-section-espace-mobile);
    padding-bottom: var(--mcl-section-espace-mobile);
  }
}

/* mcl-seo/climat-bandeau-climat-bandeau-1 : components/seo/climat-bandeau/climat-bandeau-1/climat-bandeau-1.css */

/* ============================================
   SECTION CLIMAT BANNER
   ============================================ */

.climat-bandeau-1 {
  padding: 80px 5%;
}

.climat-bandeau-1__content {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 24px;
  padding: 48px;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 32px;
  align-items: center;
  color: var(--white);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.climat-bandeau-1 .container {
  max-width: 1200px;
  margin: 0 auto;
}

.climat-bandeau-1__icon {
  width: 80px;
  height: 80px;
  background: color-mix(in srgb, var(--white) 20%, transparent);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.climat-bandeau-1__icon svg {
  width: 42px;
  height: 36px;
  color: var(--white);
}

.climat-bandeau-1__text h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 16px;
}

.climat-bandeau-1__text p {
  font-size: 1.05rem;
  color: var(--white);
  line-height: 1.8;
}

.climat-bandeau-1__cta {
  flex-shrink: 0;
}

.climat-bandeau-1__cta {
  background: var(--white);
  color: var(--primary);
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); 
  transition: all 0.3s ease;
}

.climat-bandeau-1__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
  background: var(--secondary);
  color: var(--on-secondary);
}


/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 992px) {
  
  .climat-bandeau-1__content {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
    padding: 40px 32px;
  }
  
  .climat-bandeau-1__icon {
    margin: 0 auto;
  }
  
  .climat-bandeau-1__cta {
    justify-self: center;
  }
}

@media (max-width: 640px) {

  .climat-bandeau-1__content {
    padding: 32px 24px;
    border-radius: 16px;
  }
  
  .climat-bandeau-1__text h3 {
    font-size: 22px;
  }
  
  .climat-bandeau-1__text p {
    font-size: 14px;
  }
}
/* ── 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. */
.climat-bandeau-1__text h2:hover {
  color: var(--white);
}

/* ============================================
   ANIMATION
   ============================================ */

@keyframes climat-bandeau-1-fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.climat-bandeau-1__fade {
  animation: climat-bandeau-1-fade-in-up 0.6s ease-out forwards;
}

/* ── 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) {
  .climat-bandeau-1 {
    padding-top: var(--mcl-section-espace-mobile);
    padding-bottom: var(--mcl-section-espace-mobile);
  }
}

/* mcl-seo/services-villes-text-services-villes-text-4 : components/seo/services-villes-text/services-villes-text-4/services-villes-text-4.css */
/* SERVICES VILLES TEXT 4 - ULTRA MODERNE GLASS + MESH ANIME */

.services-villes-text-4 {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 7rem) 5%;
  background:
    linear-gradient(
      160deg,
      color-mix(in srgb, var(--secondary) 55%, var(--black)) 0%,
      color-mix(in srgb, var(--primary) 22%, var(--black)) 100%
    );
  color: var(--white);
}

/* ---------- Fond mesh anime ---------- */
.services-villes-text-4__mesh {
  position: absolute;
  inset: -10%;
  z-index: -2;
  background:
    radial-gradient(38% 42% at 18% 22%, color-mix(in srgb, var(--primary) 55%, transparent) 0%, transparent 60%),
    radial-gradient(45% 48% at 82% 20%, color-mix(in srgb, var(--secondary) 60%, transparent) 0%, transparent 62%),
    radial-gradient(50% 52% at 75% 85%, color-mix(in srgb, var(--primary) 45%, transparent) 0%, transparent 60%),
    radial-gradient(42% 46% at 20% 82%, color-mix(in srgb, var(--secondary) 55%, transparent) 0%, transparent 60%);
  background-size: 180% 180%;
  filter: blur(8px);
  animation: svt4Mesh 22s ease-in-out infinite;
}

/* ---------- Blobs decoratifs flottants ---------- */
.services-villes-text-4__blob {
  position: absolute;
  z-index: -1;
  border-radius: 46% 54% 60% 40% / 52% 44% 56% 48%;
  filter: blur(30px);
  opacity: 0.55;
  /* le translate de centrage est conserve dans le keyframe (piege transform) */
  will-change: transform;
}

.services-villes-text-4__blob--1 {
  top: 14%;
  left: 12%;
  width: clamp(180px, 26vw, 340px);
  height: clamp(180px, 26vw, 340px);
  background: color-mix(in srgb, var(--primary) 70%, transparent);
  animation: svt4Blob 24s ease-in-out infinite;
}

.services-villes-text-4__blob--2 {
  top: 68%;
  left: 82%;
  width: clamp(200px, 30vw, 400px);
  height: clamp(200px, 30vw, 400px);
  background: color-mix(in srgb, var(--secondary) 75%, transparent);
  animation: svt4Blob 30s ease-in-out infinite reverse;
  animation-delay: -6s;
}

.services-villes-text-4__blob--3 {
  top: 88%;
  left: 24%;
  width: clamp(150px, 22vw, 280px);
  height: clamp(150px, 22vw, 280px);
  background: color-mix(in srgb, var(--white) 30%, transparent);
  opacity: 0.35;
  animation: svt4Blob 27s ease-in-out infinite;
  animation-delay: -12s;
}

/* ---------- Inner ---------- */
.services-villes-text-4__inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  animation: svt4In 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ---------- Titre ---------- */
.services-villes-text-4__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.services-villes-text-4__eyebrow {
  display: block;
  width: clamp(2.5rem, 6vw, 4rem);
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.services-villes-text-4__title {
  margin: 0;
  font-family: var(--font-modern);
  font-size: clamp(2.1rem, 6vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

/* ---------- Intro : grand panneau verre central ---------- */
.services-villes-text-4__intro-panel {
  position: relative;
  overflow: hidden;
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
  padding: clamp(1.75rem, 4.5vw, 3.25rem);
  border-radius: clamp(20px, 3vw, 32px);
  background: color-mix(in srgb, var(--white) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--white) 28%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 color-mix(in srgb, var(--white) 35%, transparent);
}

.services-villes-text-4__intro-glow {
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 180%;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--primary) 40%, transparent) 0%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.services-villes-text-4__intro {
  position: relative;
  margin: 0;
  font-family: var(--font-modern);
  font-size: clamp(1.25rem, 2.6vw, 1.85rem);
  line-height: 1.5;
  font-weight: 500;
  color: var(--white);
}

/* ---------- Paragraphes : cartes glass superposees ---------- */
.services-villes-text-4__body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  perspective: 1200px;
}

.services-villes-text-4__card {
  padding: clamp(1.35rem, 3vw, 2rem);
  border-radius: clamp(16px, 2.5vw, 24px);
  background: color-mix(in srgb, var(--white) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--white) 22%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 color-mix(in srgb, var(--white) 28%, transparent);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.services-villes-text-4__card:first-child:nth-last-child(odd) {
  grid-column: 1 / -1;
}

.services-villes-text-4__card:hover {
  transform: translateY(-6px) rotateX(3deg);
  border-color: color-mix(in srgb, var(--primary) 45%, transparent);
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 color-mix(in srgb, var(--white) 40%, transparent);
}

.services-villes-text-4__paragraph {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  line-height: 1.75;
  color: color-mix(in srgb, var(--white) 92%, transparent);
}

/* ---------- Points : chips flottants ---------- */
.services-villes-text-4__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.75rem, 2vw, 1.1rem);
}

.services-villes-text-4__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: clamp(0.7rem, 1.6vw, 0.95rem) clamp(1.1rem, 2.4vw, 1.5rem);
  border-radius: 999px;
  background: color-mix(in srgb, var(--white) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--white) 25%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 color-mix(in srgb, var(--white) 30%, transparent);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

/*
 * Enfoncement au survol, à la place du flottement perpétuel.
 *
 * Les puces montaient et descendaient en boucle, chacune décalée : sur une
 * ligne de six, le mouvement se lisait comme un tremblement, et il ne
 * répondait à rien — un élément qui bouge sans qu'on l'ait touché promet une
 * interaction qu'il n'a pas.
 *
 * Le survol enfonce désormais la puce : l'ombre portée disparaît, une ombre
 * interne la remplace, et la puce descend d'un pixel. Le relief s'inverse,
 * ce qui suffit à dire « pressé » sans déplacer quoi que ce soit autour.
 */
.services-villes-text-4__chip:hover,
.services-villes-text-4__chip:focus-within {
  transform: translateY(1px);
  background: color-mix(in srgb, var(--primary) 30%, transparent);
  border-color: color-mix(in srgb, var(--primary) 55%, transparent);
  box-shadow: inset 0 2px 7px rgba(0, 0, 0, 0.3);
}

.services-villes-text-4__chip-dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 0 12px color-mix(in srgb, var(--primary) 70%, transparent);
}

.services-villes-text-4__chip-text {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--white);
}

/* ---------- Animations ---------- */
@keyframes svt4Mesh {
  0%,
  100% {
    background-position: 0% 0%, 100% 0%, 100% 100%, 0% 100%;
  }
  50% {
    background-position: 30% 20%, 70% 30%, 60% 70%, 40% 80%;
  }
}

@keyframes svt4Blob {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  33% {
    transform: translate(6%, -8%) rotate(120deg) scale(1.12);
  }
  66% {
    transform: translate(-7%, 5%) rotate(240deg) scale(0.94);
  }
  100% {
    transform: translate(0, 0) rotate(360deg) scale(1);
  }
}

@keyframes svt4In {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-villes-text-4__inner,
  .services-villes-text-4__mesh,
  .services-villes-text-4__blob,
  .services-villes-text-4__chip {
    animation: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-villes-text-4__body {
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .services-villes-text-4__body {
    grid-template-columns: 1fr;
  }
  .services-villes-text-4__card:first-child:nth-last-child(odd) {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  .services-villes-text-4__intro-panel {
    padding: 1.35rem;
  }
  .services-villes-text-4__points {
    gap: 0.6rem;
  }
  .services-villes-text-4__chip {
    padding: 0.65rem 1rem;
  }
}

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

/* mcl-acces-acces-1 : components/acces/acces-1/acces-1.css */
/* ACCES 1 - RUBAN D'ITINERAIRE */

.acces-1 {
  --acces1-border: color-mix(in srgb, var(--gray-dark) 14%, transparent);
  --acces1-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
  --acces1-shadow-hover: 0 26px 54px rgba(0, 0, 0, 0.16);
  --acces1-radius: 20px;
  /* Largeur du vehicule : sert aussi de borne au keyframe, pour que les deux
     valeurs ne puissent pas diverger. */
  --acces1-vehicule: 30px;

  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 6rem) 5%;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
}

.acces-1__inner {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}

/* ============ EN-TÊTE ============ */
.acces-1__head {
  margin-bottom: clamp(2.2rem, 5vw, 3.4rem);
}

.acces-1__title {
  margin: 0 0 0.7rem;
  max-width: 22ch;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--black);
}

.acces-1__subtitle {
  margin: 0;
  max-width: 60ch;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.65;
  color: var(--gray-dark);
}

/* ============ LE RUBAN ============ */
.acces-1__trajet {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(140px, 1.4fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.6rem);
  padding: clamp(1.4rem, 3.5vw, 2.4rem);
  border-radius: clamp(20px, 3vw, 26px);
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--secondary) 8%, var(--white)),
    var(--white)
  );
  border: 1px solid var(--acces1-border);
  box-shadow: var(--acces1-shadow);
  animation: acces1In 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.acces-1__point {
  min-width: 0;
}

.acces-1__point--arrivee {
  text-align: right;
}

.acces-1__point-kicker {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--font-modern);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--gray-dark);
}

.acces-1__point-ville {
  margin: 0 0 0.25rem;
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 2.1rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--black);
  overflow-wrap: anywhere;
}

.acces-1__point--arrivee .acces-1__point-ville {
  color: var(--secondary);
}

.acces-1__point-detail {
  margin: 0;
  font-family: var(--font-modern);
  font-size: 0.85rem;
  color: var(--gray-dark);
  overflow-wrap: anywhere;
}

/* La route entre les deux points */
.acces-1__route {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 74px;
}

.acces-1__route-ligne {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 999px;
  background: repeating-linear-gradient(
    90deg,
    var(--secondary) 0 12px,
    transparent 12px 22px
  );
  background-size: 22px 3px;
  opacity: 0.55;
  animation: acces1Route 1.6s linear infinite;
}

.acces-1__route-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: var(--primary);
  border: 2px solid var(--white);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
  color: var(--on-primary);
}

.acces-1__route-km {
  color: var(--white);
  font-family: var(--font-numeric);
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  font-weight: 800;
  line-height: 1;
}

.acces-1__route-unite {
  color: var(--white);
  font-family: var(--font-modern);
  font-size: 0.78rem;
  font-weight: 700;
}

/* Le véhicule glisse le long de la route */
.acces-1__route-vehicule {
  position: absolute;
  /* Les roues de l'icone tombent vers y=19/24 : on remonte le SVG pour qu'elles
     reposent sur la ligne de route plutot que de la chevaucher. */
  top: calc(50% - 25px);
  left: 0;
  width: var(--acces1-vehicule);
  color: var(--secondary);
  /* On anime `left` et non `translateX` : un pourcentage de transform se
     rapporte à la largeur du véhicule, pas à celle de la piste — il ne
     parcourrait qu'une fraction du trajet. */
  animation: acces1Rouler 7s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.acces-1__route-vehicule svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ============ LECTURE DU CHIFFRE ============ */
.acces-1__rayon {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: clamp(1.2rem, 3vw, 1.8rem) 0 0;
  padding: clamp(0.9rem, 2.2vw, 1.2rem) clamp(1.1rem, 2.8vw, 1.6rem);
  border-left: 6px solid var(--secondary);
  border-radius: 0 var(--acces1-radius) var(--acces1-radius) 0;
  background: color-mix(in srgb, var(--secondary) 8%, transparent);
  font-family: var(--font-modern);
  font-size: clamp(0.95rem, 1.6vw, 1.06rem);
  font-weight: 600;
  line-height: 1.55;
  color: var(--black);
}

.acces-1__rayon--etendu {
  border-left-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 14%, transparent);
}

.acces-1__rayon-puce {
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--secondary);
  animation: acces1Pulse 2.4s ease-in-out infinite;
}

.acces-1__rayon--etendu .acces-1__rayon-puce {
  background: var(--primary);
}

/* ============ ACTIONS ============ */
.acces-1__actions {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.7rem, 2vw, 1.1rem);
  margin-top: clamp(1.6rem, 3.5vw, 2.4rem);
}

.acces-1__btn {
  /* Reset explicite du lien */
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: none;
  border: 2px solid transparent;
  color: inherit;
  cursor: pointer;
  text-decoration: none;

  padding: clamp(0.85rem, 2vw, 1.1rem) clamp(1.5rem, 3.2vw, 2.2rem);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: clamp(0.98rem, 1.7vw, 1.15rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s ease,
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.acces-1__btn-icon {
  display: block;
  width: 1.2em;
}

.acces-1__btn-icon svg {
  display: block;
  width: 100%;
  height: auto;
}

.acces-1__btn--maps {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--on-secondary);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

/* D-323 : focus aux valeurs du repos (suki : `a:focus`, `button:focus` (0,1,1)). */
.acces-1__btn--maps:focus {
  background: var(--secondary);
  color: var(--on-secondary);
  border-color: var(--secondary);
}
.acces-1__btn--maps:hover,
.acces-1__btn--maps:focus-visible {
  transform: translateY(-4px);
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
  box-shadow: var(--acces1-shadow-hover);
}
/* Focus clavier : suki retire le contour (`html :focus`). Anneau à deux
   tons (WCAG C40), lisible quelle que soit la charte (D-323). */
.acces-1__btn--maps:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}

.acces-1__btn--devis {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

/* D-323 : focus aux valeurs du repos (suki : `a:focus`, `button:focus` (0,1,1)). */
.acces-1__btn--devis:focus {
  background: var(--primary);
  color: var(--on-primary);
  border-color: var(--primary);
}
.acces-1__btn--devis:hover,
.acces-1__btn--devis:focus-visible {
  transform: translateY(-4px);
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
  box-shadow: var(--acces1-shadow-hover);
}
/* Focus clavier : suki retire le contour (`html :focus`). Anneau à deux
   tons (WCAG C40), lisible quelle que soit la charte (D-323). */
.acces-1__btn--devis:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}

.acces-1__btn:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--secondary) 55%, transparent);
  outline-offset: 4px;
}

/* ============ ANIMATIONS ============ */
@keyframes acces1In {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* La route défile : le pointillé avance vers l'arrivée */
@keyframes acces1Route {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 22px 0;
  }
}

/* Le véhicule part du départ et rejoint l'arrivée, sur toute la piste */
@keyframes acces1Rouler {
  0% {
    left: 0;
    opacity: 0;
  }
  10%,
  85% {
    opacity: 1;
  }
  100% {
    left: calc(100% - var(--acces1-vehicule));
    opacity: 0;
  }
}

@keyframes acces1Pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.55);
    opacity: 0.45;
  }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  /* Le ruban bascule à la verticale : la route devient une colonne */
  .acces-1__trajet {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .acces-1__point--arrivee {
    text-align: left;
  }

  .acces-1__route {
    min-height: 64px;
  }

  .acces-1__route-ligne {
    top: 0;
    bottom: 0;
    left: 50%;
    right: auto;
    width: 3px;
    height: auto;
    transform: translateX(-50%);
    background: repeating-linear-gradient(
      180deg,
      var(--secondary) 0 12px,
      transparent 12px 22px
    );
    background-size: 3px 22px;
    animation-name: acces1RouteVerticale;
  }

  .acces-1__route-vehicule {
    display: none;
  }

  @keyframes acces1RouteVerticale {
    from {
      background-position: 0 0;
    }
    to {
      background-position: 0 22px;
    }
  }

  .acces-1__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .acces-1__btn {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .acces-1__rayon {
    align-items: flex-start;
  }

  .acces-1__rayon-puce {
    margin-top: 0.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .acces-1__trajet,
  .acces-1__route-ligne,
  .acces-1__route-vehicule,
  .acces-1__rayon-puce {
    animation: none;
  }

  .acces-1__route-vehicule {
    opacity: 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. */
.acces-1__title:hover {
  color: var(--black);
}

/* mcl-avantages-avantages-4 : components/avantages/avantages-4/avantages-4.css */
/* AVANTAGES 4 - HORIZONTAL LIST */
.avantages-4 {
  padding: 100px 5%;
  background: var(--white);
}
.avantages-4 .container {
  max-width: 900px;
  margin: 0 auto;
}
.avantages-4 .header {
  margin-bottom: 60px;
}
.avantages-4 .eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}
.avantages-4 h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--primary);
}
.avantages-4 .list {
  border-top: 1px solid var(--gray-light);
}
.avantages-4 .item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 30px;
  padding: 36px 0;
  border-bottom: 1px solid var(--gray-light);
  align-items: start;
  transition: all 0.3s;
}
.avantages-4 .item:hover {
  padding-left: 20px;
  background: color-mix(in srgb, var(--gray-light) 40%, var(--white));
}
.avantages-4 .item-icon {
  width: 60px;
  height: 60px;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.avantages-4 .item:hover .item-icon {
  background: var(--secondary);
}
.avantages-4 .item-icon svg {
  width: 26px;
  height: 26px;
  color: var(--secondary);
  transition: color 0.3s;
}
.avantages-4 .item:hover .item-icon svg {
  color: var(--white);
}
.avantages-4 .item h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--black);
  margin-bottom: 8px;
}
.avantages-4 .item p {
  font-size: 0.95rem;
  color: var(--gray-dark);
  line-height: 1.7;
}
@media (max-width: 640px) {
  .avantages-4 .item {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

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

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

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

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

/* ── 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) {
  .avantages-4 {
    padding-top: var(--mcl-section-espace-mobile);
    padding-bottom: var(--mcl-section-espace-mobile);
  }
}

/* mcl-zones-zones-6 : components/zones/zones-6/zones-6.css */
/* ========================================
   ZONES 6 — CARTE + LISTE DE VILLES
   ======================================== */
.zones-6 {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 640px;
  background: var(--white);
}

/* MAP */
.zones-6__map {
  position: relative;
  overflow: hidden;
  min-height: 500px;
}
.zones-6__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.zones-6__map-placeholder {
  width: 100%;
  height: 100%;
  min-height: 500px;
  background: var(--gray-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--gray-dark);
  font-size: 0.9rem;
}
.zones-6__map-placeholder svg {
  width: 64px;
  height: 64px;
  opacity: 0.3;
}

/* PANEL */
.zones-6__panel {
  display: flex;
  flex-direction: column;
  padding: 60px 50px;
  background: var(--primary);
  overflow: hidden;
}

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

.zones-6__header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 12px;
}

.zones-6__header p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-bottom: 28px;
}

/* Counter */
.zones-6__counter {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.zones-6__counter strong {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: var(--secondary);
  line-height: 1;
}
.zones-6__counter span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Label villes proches */
.zones-6__proches-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

/* List */
.zones-6__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
  max-height: 320px;
  scrollbar-width: thin;
  scrollbar-color: var(--secondary) rgba(255, 255, 255, 0.05);
  flex: 1;
  margin-bottom: 20px;
}
.zones-6__list::-webkit-scrollbar {
  width: 4px;
}
.zones-6__list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
}
.zones-6__list::-webkit-scrollbar-thumb {
  background: var(--secondary);
}

.zones-6__item a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.zones-6__item a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  padding-left: 18px;
}
.zones-6__item svg {
  width: 14px;
  height: 14px;
  color: var(--secondary);
  flex-shrink: 0;
}
.zones-6__cp {
  margin-left: auto;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
}

/* CTA */
.zones-6__cta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--secondary);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  transition: opacity 0.3s;
}
/* D-323 : focus aux valeurs du repos (suki : `a:focus`, `button:focus` (0,1,1)). */
.zones-6__cta:focus {
  background: transparent;
  color: var(--secondary);
  border-top-color: color-mix(in srgb, var(--white) 8%, transparent);
}
.zones-6__cta:hover {
  opacity: 0.75;
  background: transparent;
  color: var(--secondary);
  border-top-color: color-mix(in srgb, var(--white) 8%, transparent);
}
/* Focus clavier : suki retire le contour (`html :focus`). Anneau à deux
   tons (WCAG C40), lisible quelle que soit la charte (D-323). */
.zones-6__cta:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}
.zones-6__cta svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .zones-6 {
    grid-template-columns: 1fr;
  }
  .zones-6__map {
    min-height: 350px;
  }
  .zones-6__panel {
    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. */
.zones-6__header h2:hover {
  color: var(--white);
}

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

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

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

   LA COULEUR : rampe entre les deux couleurs de marque, posee en ligne par le
   PHP (`--m-melange`). Aucune couleur en dur, aucune variable ajoutee. */
.services-grid__metier-bloc {
  --m-couleur: color-mix(in oklab, var(--primary), var(--secondary) var(--m-melange, 0%));
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.services-grid__metier {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 0;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--m-couleur);
  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-4 : components/contacts/contact-4/contact-4.css */
/* CONTACT 4 - MINIMAL */
.contact-4 {
  background: var(--white);
}
.contact-4 .container {
  /* La colonne est centree : les pastilles de `contacts/points-forts` suivent,
     sinon elles se collent a gauche sous un titre centre. */
  --points-forts-align: center;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 50px 0;
}
.contact-4 .eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}
.contact-4 h2,
.contact-4 .contact-4__titre {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--primary);
  margin-bottom: 16px;
}
.contact-4 .subtitle {
  color: var(--gray-dark);
  margin-bottom: 40px;
}
/* Formulaire = boîte élevée (box-in-a-box) sur la section pleine largeur */
.contact-4 form {
  background: color-mix(in srgb, var(--gray-light) 30%, var(--white));
  padding: 44px;
  border-radius: 22px;
  border: 1px solid var(--gray-light);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.1);
  text-align: left;
}
.contact-4 .form-group {
  margin-bottom: 20px;
  text-align: left;
}
/* Libellé : sans couleur écrite, il prenait le gris du thème (#666). */
.contact-4 .form-label {
  color: var(--black);
}
.contact-4 .form-input,
.contact-4 .form-select,
.contact-4 .form-textarea {
  width: 100%;
  padding: 14px 4px;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--gray-light);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--black);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
/* Champ au focus : la bordure passe en --primary (D-323). En --secondary,
   elle tombait à 1,1-1,6:1 sur blanc avec une charte jaune (C70-L10). */
.contact-4 .form-input:focus,
.contact-4 .form-select:focus,
.contact-4 .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 2px 0 0 var(--primary);
}
.contact-4 .form-input::placeholder,
.contact-4 .form-textarea::placeholder {
  color: color-mix(in srgb, var(--gray-dark) 55%, transparent);
}
.contact-4 .form-textarea {
  min-height: 140px;
  resize: vertical;
}
.contact-4 .form-submit {
  width: 100%;
  padding: 18px;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  margin-top: 20px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
/* D-323 : focus aux valeurs du repos (suki : `a:focus`, `button:focus` (0,1,1)). */
.contact-4 .form-submit:focus {
  background: var(--primary);
  color: var(--on-primary);
  border-color: transparent;
}
.contact-4 .form-submit:hover {
  background: var(--secondary);
  color: var(--on-secondary);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
  border-color: transparent;
}
/* Anneau à deux tons (WCAG C40), lisible quelle que soit la charte (D-323). */
.contact-4 .form-submit:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}
.contact-4 .contact-alt {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid var(--gray-light);
}
.contact-4 .contact-alt p {
  color: var(--gray-dark);
  margin-bottom: 16px;
}
.contact-4 .contact-alt a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-dark);
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  transition: color 0.3s;
}
/* Survol : --primary. En --secondary, 1,6:1 sur fond clair avec une charte jaune (C70-L10). */
.contact-4 .contact-alt a:focus {
  background: transparent;
  color: var(--gray-dark);
  border-color: transparent;
}
.contact-4 .contact-alt a:hover {
  color: var(--primary);
  background: transparent;
  border-color: transparent;
}
/* Focus clavier : suki retire le contour (`html :focus`). Anneau à deux
   tons (WCAG C40), lisible quelle que soit la charte (D-323). */
.contact-4 .contact-alt a:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}
.contact-4 .contact-alt svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 640px) {
  .contact-4 .container {
    padding: 50px 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. */
.contact-4 h2:hover,
.contact-4 .contact-4__titre:hover {
  color: var(--primary);
}

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

/* 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-1 : components/configurateurs/configurateur-toiture/configurateur-toiture-1/configurateur-toiture-1.css */
/* CONFIGURATEUR TOITURE 1 - MAQUETTE 3D COLLANTE À GAUCHE, FORMULAIRE EN ÉTAPES À DROITE */

.configurateur-toiture-1 {
  --cfgt-rayon: 14px;
  /* Rouge d'erreur (message du PDF) : couleur de SENS, ne suit pas la charte (§4.1). */
  --cfgt-erreur: #b42318;
  --cfgt-filet: color-mix(in srgb, var(--black) 12%, transparent);
  --cfgt-fond-champ: color-mix(in srgb, var(--gray-light) 55%, var(--white));
  background: var(--gray-light);
  color: var(--black);
  font-family: var(--font-body);
  padding: clamp(48px, 7vw, 96px) 0;
}

.configurateur-toiture-1 [hidden] {
  display: none !important;
}

.configurateur-toiture-1__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
  display: grid;
  gap: clamp(24px, 4vw, 44px);
}

/* ---------- En-tête ---------- */
.configurateur-toiture-1__head {
  display: grid;
  gap: 12px;
  max-width: 760px;
}
.configurateur-toiture-1__surtitre {
  margin: 0;
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.configurateur-toiture-1__titre,
.configurateur-toiture-1__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-1__description {
  margin: 0;
  color: var(--gray-dark);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.6;
}

/* ---------- Grille ---------- */
.configurateur-toiture-1__grille {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 28px);
  align-items: start;
}

/* ---------- Scène 3D ---------- */
.configurateur-toiture-1__vue {
  position: sticky;
  top: calc(var(--header-height, 80px) + 16px);
  height: clamp(380px, 68vh, 660px);
  border-radius: var(--cfgt-rayon);
  overflow: hidden;
  /* Décor de studio sombre et sobre, quel que soit le thème : la maison ressort. */
  background:
    radial-gradient(ellipse 70% 55% at 50% 38%, color-mix(in srgb, var(--black) 82%, var(--white)) 0%, transparent 70%),
    var(--black);
  isolation: isolate;
}
.configurateur-toiture-1__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: pan-y;
  cursor: grab;
}
.configurateur-toiture-1__canvas:active {
  cursor: grabbing;
}
.configurateur-toiture-1__apercu {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}
.configurateur-toiture-1__vue.is-prete .configurateur-toiture-1__apercu {
  opacity: 0;
  pointer-events: none;
}
.configurateur-toiture-1__vue-etat {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  margin: 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--black) 70%, transparent);
  color: var(--white);
  font-size: 0.88rem;
  line-height: 1.4;
  z-index: 2;
}
.configurateur-toiture-1__vue-aide {
  position: absolute;
  top: 14px;
  right: 14px;
  margin: 0;
  padding: 6px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--white) 10%, transparent);
  color: var(--white);
  font-size: 0.74rem;
  line-height: 1.2;
  z-index: 2;
  pointer-events: none;
}
.configurateur-toiture-1__outils {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  z-index: 2;
}
.configurateur-toiture-1__vues {
  display: inline-flex;
  padding: 4px;
  gap: 2px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--white) 10%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--white) 14%, transparent);
  backdrop-filter: blur(8px);
}
.configurateur-toiture-1__outil {
  background: none;
  border: 0;
  color: var(--white);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1;
  padding: 9px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.configurateur-toiture-1__outil:focus {
  background: none;
  color: var(--white);
  border-color: transparent;
}
.configurateur-toiture-1__outil:hover {
  background: color-mix(in srgb, var(--white) 16%, transparent);
  color: var(--white);
  border-color: transparent;
}
.configurateur-toiture-1__outil:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}
.configurateur-toiture-1__outil[aria-pressed="true"],
.configurateur-toiture-1__outil[aria-pressed="true"]:hover {
  background: var(--white);
  color: var(--black);
}
.configurateur-toiture-1__outil--pluie {
  background: color-mix(in srgb, var(--white) 10%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--white) 14%, transparent);
  backdrop-filter: blur(8px);
}
.configurateur-toiture-1__outil--pluie:focus {
  background: color-mix(in srgb, var(--white) 10%, transparent);
  color: var(--white);
  border-color: transparent;
}
.configurateur-toiture-1__outil--pluie:hover {
  background: color-mix(in srgb, var(--white) 18%, transparent);
  color: var(--white);
  border-color: transparent;
}

.configurateur-toiture-1__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(--primary);
  border-radius: 6px;
  background: var(--white);
  color: var(--black);
  font-size: 0.78rem;
  line-height: 1.25;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.configurateur-toiture-1__etiquette.is-cachee {
  opacity: 0;
}

/* ---------- Formulaire ---------- */
.configurateur-toiture-1__form {
  display: grid;
  gap: 20px;
  padding: clamp(18px, 2.4vw, 28px);
  border-radius: var(--cfgt-rayon);
  background: var(--white);
  color: var(--black);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  min-width: 0;
}

.configurateur-toiture-1__etapes {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.configurateur-toiture-1__etape-item {
  min-width: 0;
}
.configurateur-toiture-1__etape {
  width: 100%;
  display: grid;
  gap: 4px;
  padding: 8px 0 0;
  background: none;
  border: 0;
  border-top: 3px solid var(--cfgt-filet);
  color: var(--gray-dark);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}
/* D-323 : focus aux valeurs du repos (suki : `a:focus`, `button:focus` (0,1,1)). */
.configurateur-toiture-1__etape:focus {
  background: none;
  color: var(--gray-dark);
  border-top-color: var(--cfgt-filet);
}
.configurateur-toiture-1__etape:hover {
  color: var(--black);
  background: none;
  border-top-color: var(--cfgt-filet);
}
/* Anneau à deux tons (WCAG C40), lisible quelle que soit la charte (D-323). */
.configurateur-toiture-1__etape:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}
.configurateur-toiture-1__etape.is-faite {
  border-top-color: color-mix(in srgb, var(--primary) 45%, var(--white));
  color: var(--black);
}
.configurateur-toiture-1__etape[aria-current="step"],
.configurateur-toiture-1__etape[aria-current="step"]:hover {
  border-top-color: var(--primary);
  color: var(--primary);
}
.configurateur-toiture-1__etape-num {
  color: inherit;
  font-family: var(--font-numeric, var(--font-body));
  font-size: 0.75rem;
  font-weight: 700;
}
.configurateur-toiture-1__etape-nom {
  overflow: hidden;
  color: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.configurateur-toiture-1__panneau {
  display: grid;
  gap: 16px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.configurateur-toiture-1__panneau:not(.is-etape) + .configurateur-toiture-1__panneau {
  padding-top: 20px;
  border-top: 1px solid var(--cfgt-filet);
}
.configurateur-toiture-1__panneau-titre {
  float: left;
  width: 100%;
  margin: 0;
  padding: 0;
  color: var(--black);
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 700;
  line-height: 1.2;
}
.configurateur-toiture-1__panneau-titre:focus {
  outline: none;
}
.configurateur-toiture-1__panneau-titre:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}
.configurateur-toiture-1__aide,
.configurateur-toiture-1__note {
  clear: both;
  margin: 0;
  color: var(--gray-dark);
  font-size: 0.86rem;
  line-height: 1.5;
}

.configurateur-toiture-1__groupe {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.configurateur-toiture-1__label {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  margin: 0;
  color: var(--black);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
}
.configurateur-toiture-1__valeur {
  color: var(--primary);
  font-family: var(--font-numeric, var(--font-body));
  font-weight: 700;
}
.configurateur-toiture-1__ligne {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}
.configurateur-toiture-1__champ {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.configurateur-toiture-1__champ--court {
  max-width: 180px;
}

/* Champs natifs : reset explicite, notre feuille prime sur celle du thème. */
.configurateur-toiture-1__input,
.configurateur-toiture-1__select,
.configurateur-toiture-1__textarea {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 11px 12px;
  border: 1px solid var(--cfgt-filet);
  border-radius: 10px;
  background: var(--cfgt-fond-champ);
  color: var(--black);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.3;
  box-shadow: none;
}
.configurateur-toiture-1__textarea {
  resize: vertical;
}
/* Champs texte (D-323, relecture m6) : le repos est écrit tel qu'il s'affiche
   avec le thème du parc (suki pose `input[type=text]` (0,1,1) : fond blanc,
   bordure noire à 10 %), et le survol et le focus souris le reprennent —
   plus de fond --cfgt-fond-champ au survol, plus de bordure #666 de suki au
   focus (`input[type=text]:focus`, (0,2,1)). La balise qualifie le champ pour
   passer devant. Seul le focus clavier change : bordure --primary + anneau. */
.configurateur-toiture-1 input.configurateur-toiture-1__input,
.configurateur-toiture-1 input.configurateur-toiture-1__input:hover,
.configurateur-toiture-1 input.configurateur-toiture-1__input:focus {
  background: var(--white);
  /* Noir neutre à 10 %, le filet exact du rendu actuel (pas une couleur de
     marque, §4.1) : via --black (#0a0a0a), il différait d'un niveau. */
  border-color: rgba(0, 0, 0, 0.1);
  color: var(--black);
}
.configurateur-toiture-1 input.configurateur-toiture-1__input:focus-visible {
  border-color: var(--primary);
}
.configurateur-toiture-1__select:hover,
.configurateur-toiture-1__textarea:hover {
  border-color: color-mix(in srgb, var(--black) 30%, transparent);
  background: var(--cfgt-fond-champ);
  color: var(--black);
}
/* Anneau à deux tons (WCAG C40), lisible quelle que soit la charte (D-323). */
.configurateur-toiture-1__input:focus-visible,
.configurateur-toiture-1__select:focus-visible,
.configurateur-toiture-1__textarea:focus-visible {
  border-color: var(--primary);
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}
.configurateur-toiture-1__input--quantite {
  width: 84px;
}
.configurateur-toiture-1__curseur {
  width: 100%;
  margin: 4px 0;
  accent-color: var(--primary);
  background: none;
  cursor: pointer;
}
.configurateur-toiture-1__curseur:hover {
  accent-color: var(--primary);
}
.configurateur-toiture-1__curseur:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

/* Radios et cases : visuellement masqués, la carte entière fait l'état. */
.configurateur-toiture-1__radio {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
/* D-323 : survol et focus aux valeurs du repos (suki : `a:hover, a:focus`,
   `button:hover, button:focus` (0,1,1)). */
.configurateur-toiture-1__radio:hover,
.configurateur-toiture-1__radio:focus {
  background: transparent;
  color: inherit;
  border-color: transparent;
}
/* Focus clavier : suki retire le contour (`html :focus`). Anneau à deux
   tons (WCAG C40), lisible quelle que soit la charte (D-323). */
.configurateur-toiture-1__radio:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}
.configurateur-toiture-1__case {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--primary);
  cursor: pointer;
}
.configurateur-toiture-1__case:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Segments (type de projet, niveaux, gouttières) */
.configurateur-toiture-1__segments {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  border: 1px solid var(--cfgt-filet);
  border-radius: 10px;
  overflow: hidden;
}
.configurateur-toiture-1__segments--libre {
  grid-auto-flow: row;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
}
.configurateur-toiture-1__segment {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  border-right: 1px solid var(--cfgt-filet);
  background: var(--white);
  color: var(--black);
  text-align: center;
  cursor: pointer;
}
.configurateur-toiture-1__segment:last-child {
  border-right: 0;
}
.configurateur-toiture-1__segment:hover {
  background: var(--gray-light);
}
.configurateur-toiture-1__segment-texte {
  color: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.25;
}
.configurateur-toiture-1__segment:has(input:checked) {
  background: var(--primary);
  color: var(--on-primary);
}
.configurateur-toiture-1__segment:has(input:focus-visible) {
  outline: 2px solid var(--primary);
  outline-offset: -4px;
}

/* Formes du toit */
.configurateur-toiture-1__formes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.configurateur-toiture-1__forme {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 10px 6px;
  border: 1px solid var(--cfgt-filet);
  border-radius: 10px;
  background: var(--white);
  color: var(--gray-dark);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.configurateur-toiture-1__forme:hover {
  border-color: var(--primary);
  color: var(--black);
}
.configurateur-toiture-1__forme-icone {
  width: 40px;
  height: 40px;
  color: inherit;
}
.configurateur-toiture-1__forme-nom {
  color: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}
.configurateur-toiture-1__forme:has(input:checked) {
  border-color: var(--primary);
  box-shadow: inset 0 0 0 1px var(--primary);
  color: var(--primary);
}
.configurateur-toiture-1__forme:has(input:focus-visible) {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Cartes de couverture */
.configurateur-toiture-1__cartes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.configurateur-toiture-1__carte {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 9px;
  border: 1px solid var(--cfgt-filet);
  border-radius: 10px;
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.configurateur-toiture-1__carte:hover {
  border-color: var(--primary);
}
.configurateur-toiture-1__carte:has(input:checked) {
  border-color: var(--primary);
  box-shadow: inset 0 0 0 1px var(--primary);
}
.configurateur-toiture-1__carte:has(input:focus-visible) {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.configurateur-toiture-1__carte.is-hors {
  opacity: 0.5;
  cursor: not-allowed;
}
.configurateur-toiture-1__carte.is-hors:hover {
  border-color: var(--cfgt-filet);
}
.configurateur-toiture-1__echantillon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--cfgt-teinte) 0 50%, var(--cfgt-teinte-2) 50% 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}
.configurateur-toiture-1__carte-corps {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.configurateur-toiture-1__carte-nom {
  color: var(--black);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
}
.configurateur-toiture-1__carte-info {
  color: var(--gray-dark);
  font-size: 0.76rem;
  line-height: 1.35;
}
.configurateur-toiture-1__carte-alerte {
  color: var(--gray-dark);
  font-size: 0.76rem;
  font-style: italic;
  line-height: 1.35;
}

/* Teintes */
.configurateur-toiture-1__pastilles {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.configurateur-toiture-1__pastille {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px 5px 5px;
  border: 1px solid var(--cfgt-filet);
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  cursor: pointer;
}
.configurateur-toiture-1__pastille:hover {
  border-color: var(--primary);
}
.configurateur-toiture-1__pastille:has(input:checked) {
  border-color: var(--primary);
  box-shadow: inset 0 0 0 1px var(--primary);
}
.configurateur-toiture-1__pastille:has(input:focus-visible) {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.configurateur-toiture-1__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 rgba(0, 0, 0, 0.15);
}
.configurateur-toiture-1__pastille-nom {
  color: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
}

/* Options (techniques, isolants) */
.configurateur-toiture-1__lignes {
  display: grid;
  border-top: 1px solid var(--cfgt-filet);
}
.configurateur-toiture-1__option {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 2px 10px;
  padding: 10px 10px 10px 34px;
  border-bottom: 1px solid var(--cfgt-filet);
  color: var(--black);
  cursor: pointer;
}
.configurateur-toiture-1__option::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 13px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--gray-dark);
  border-radius: 50%;
  box-sizing: border-box;
}
.configurateur-toiture-1__option:hover {
  background: var(--cfgt-fond-champ);
}
.configurateur-toiture-1__option:has(input:checked)::before {
  border-color: var(--primary);
  background: radial-gradient(var(--primary) 0 40%, transparent 46%);
}
.configurateur-toiture-1__option:has(input:focus-visible) {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}
.configurateur-toiture-1__option-teinte {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--cfgt-teinte);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}
.configurateur-toiture-1__option-nom {
  grid-column: span 1;
  color: var(--black);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
}
.configurateur-toiture-1__option-info {
  grid-column: 1 / -1;
  color: var(--gray-dark);
  font-size: 0.78rem;
  line-height: 1.4;
}

/* Équipements */
.configurateur-toiture-1__equipements {
  display: grid;
  border-top: 1px solid var(--cfgt-filet);
}
.configurateur-toiture-1__equipement {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 12px;
  padding: 12px 2px;
  border-bottom: 1px solid var(--cfgt-filet);
  color: var(--black);
}
.configurateur-toiture-1__equipement--bloc {
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}
label.configurateur-toiture-1__equipement {
  grid-template-columns: auto minmax(0, 1fr);
  cursor: pointer;
}
.configurateur-toiture-1__equipement-case {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--black);
  cursor: pointer;
}
.configurateur-toiture-1__equipement-nom {
  color: var(--black);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
}
.configurateur-toiture-1__equipement .configurateur-toiture-1__option-info {
  grid-column: 1 / -1;
}

/* Récapitulatif */
.configurateur-toiture-1__recap {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--cfgt-fond-champ);
}
.configurateur-toiture-1__recap-liste {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 6px 14px;
  margin: 0;
}
.configurateur-toiture-1__recap-terme {
  color: var(--gray-dark);
  font-size: 0.8rem;
  line-height: 1.35;
}
.configurateur-toiture-1__recap-valeur {
  margin: 0;
  color: var(--black);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.35;
}

.configurateur-toiture-1__envoyer {
  justify-self: start;
  padding: 14px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}
.configurateur-toiture-1__envoyer:focus {
  background: var(--accent);
  color: var(--on-accent);
  border-color: transparent;
}
.configurateur-toiture-1__envoyer:hover {
  color: var(--on-accent);
  filter: brightness(1.08);
  transform: translateY(-1px);
  background: var(--accent);
  border-color: transparent;
}
.configurateur-toiture-1__envoyer:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Récapitulatif PDF (D-41) : bouton secondaire, sous le récapitulatif. */
.configurateur-toiture-1__pdf {
  display: grid;
  justify-items: start;
  gap: 6px;
}
.configurateur-toiture-1__pdf-bouton {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid var(--black);
  border-radius: 999px;
  background: none;
  color: var(--black);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.configurateur-toiture-1__pdf-bouton:focus {
  background: none;
  color: var(--black);
  border-color: var(--black);
}
.configurateur-toiture-1__pdf-bouton:hover {
  background: var(--gray-light);
  color: var(--black);
  border-color: var(--black);
}
.configurateur-toiture-1__pdf-bouton:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.configurateur-toiture-1__pdf-bouton[aria-busy="true"] {
  cursor: progress;
  opacity: 0.65;
}
.configurateur-toiture-1__pdf-icone {
  flex: none;
  width: 18px;
  height: 18px;
}
.configurateur-toiture-1__pdf-libelle {
  color: inherit;
}
.configurateur-toiture-1__pdf-aide,
.configurateur-toiture-1__pdf-chargement {
  margin: 0;
  color: var(--gray-dark);
  font-size: 0.8rem;
  line-height: 1.45;
}
.configurateur-toiture-1__pdf-erreur {
  margin: 0;
  padding-left: 10px;
  border-left: 3px solid var(--cfgt-erreur);
  color: var(--cfgt-erreur);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.45;
}

/* Pied : estimation + navigation */
.configurateur-toiture-1__pied {
  display: grid;
  gap: 14px;
  padding-top: 16px;
  border-top: 2px solid var(--black);
}
.configurateur-toiture-1__estimation {
  display: grid;
  gap: 2px;
}
.configurateur-toiture-1__montant {
  margin: 0;
  color: var(--black);
  font-family: var(--font-numeric, var(--font-heading));
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.configurateur-toiture-1__nav {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.configurateur-toiture-1__bouton {
  padding: 11px 20px;
  border: 1px solid var(--black);
  border-radius: 999px;
  background: none;
  color: var(--black);
  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-1__bouton:focus {
  background: none;
  color: var(--black);
  border-color: var(--black);
}
.configurateur-toiture-1__bouton:hover {
  background: var(--gray-light);
  color: var(--black);
  border-color: var(--black);
}
.configurateur-toiture-1__bouton:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.configurateur-toiture-1__bouton--suivant {
  margin-left: auto;
  border-color: var(--primary);
  background: var(--primary);
  color: var(--on-primary);
}
/* D-323 : focus aux valeurs du repos (suki : `a:focus`, `button:focus` (0,1,1)). */
.configurateur-toiture-1__bouton--suivant:focus {
  background: var(--primary);
  color: var(--on-primary);
  border-color: var(--primary);
}
.configurateur-toiture-1__bouton--suivant:hover {
  background: var(--primary);
  color: var(--on-primary);
  filter: brightness(1.08);
  border-color: var(--primary);
}
/* Focus clavier : suki retire le contour (`html :focus`). Anneau à deux
   tons (WCAG C40), lisible quelle que soit la charte (D-323). */
.configurateur-toiture-1__bouton--suivant:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .configurateur-toiture-1__grille {
    grid-template-columns: minmax(0, 1fr);
  }
  .configurateur-toiture-1__vue {
    position: relative;
    top: auto;
    height: clamp(300px, 64vw, 480px);
  }
}

@media (max-width: 768px) {
  .configurateur-toiture-1__formes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .configurateur-toiture-1__etape-nom {
    font-size: 0.7rem;
  }
  .configurateur-toiture-1__vue-aide {
    display: none;
  }
}

@media (max-width: 480px) {
  .configurateur-toiture-1__cartes {
    grid-template-columns: minmax(0, 1fr);
  }
  .configurateur-toiture-1__recap-liste {
    grid-template-columns: minmax(0, 1fr);
  }
  .configurateur-toiture-1__recap-valeur {
    margin-bottom: 6px;
  }
  .configurateur-toiture-1__outil {
    padding: 8px 10px;
    font-size: 0.76rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .configurateur-toiture-1__apercu,
  .configurateur-toiture-1__etiquette,
  .configurateur-toiture-1__envoyer {
    transition: none;
  }
}

/* mcl-faqs-faq-3 : components/faqs/faq-3/faq-3.css */
/* FAQ 3 - DARK STYLE */
.faq-3 {
  padding: 100px 5%;
  background: var(--gray-light);
}
.faq-3 .container {
  max-width: 900px;
  margin: 0 auto;
}
.faq-3 .header {
  text-align: center;
  margin-bottom: 60px;
}
.faq-3 .eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}
.faq-3 h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--primary);
}
.faq-3 .accordion-item {
  background: var(--secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 12px;
  transition: all 0.3s;
}

.faq-3 .accordion-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  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-3 .accordion-btn:hover,
.faq-3 .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-3 .accordion-btn:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}
.faq-3 .accordion-btn h3 {
  font-size: 1rem;
  color: var(--white);
  font-weight: 600;
}
.faq-3 .accordion-btn .icon {
  width: 30px;
  height: 30px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}
.faq-3 .accordion-btn .icon svg {
  width: 16px;
  height: 16px;
  color: var(--white);
}
.faq-3 .accordion-item.active .icon {
  transform: rotate(45deg);
}
.faq-3 .accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s;
}
.faq-3 .accordion-item.active .accordion-content {
  max-height: 300px;
}
.faq-3 .accordion-content p {
  padding: 0 24px 24px;
  color: var(--gray-light);
  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-3 h2:hover {
  color: var(--primary);
}

.faq-3 .accordion-btn h3:hover {
  color: var(--white);
}

/* ── 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-3 {
    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-1 : components/cta/cta-1/cta-1.css */
/* CTA 1 - FULL WIDTH DARK */
.cta-1 {
  padding: 80px 5%;
  background: var(--primary);
  position: relative;
  overflow: hidden;
}
.cta-1::before {
  content: "";
  position: absolute;
  inset: 0;
}
.cta-1 .container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 30px;
}
.cta-1 h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--white);
  max-width: 600px;
}
/* Accent : contrat ((…)) — voir hero-1. L'ancien selecteur reste le temps
   que le socle remplace les fichiers de data historiques. */
.cta-1 h2 span,
.cta-1 h2 .mcl-accent {
  color: var(--secondary);
}
.cta-1 .btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cta-1 .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--secondary);
  color: var(--on-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-1 .btn-primary:focus {
  background: var(--secondary);
  color: var(--on-secondary);
  border-color: transparent;
}
.cta-1 .btn-primary:hover {
  background: var(--white);
  color: var(--primary);
  border-color: transparent;
}
/* Focus clavier : suki retire le contour (`html :focus`). Anneau à deux
   tons (WCAG C40), lisible quelle que soit la charte (D-323). */
.cta-1 .btn-primary:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}
.cta-1 .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--white-transparent);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}
/* D-323 : focus aux valeurs du repos (suki : `a:focus`, `button:focus` (0,1,1)). */
.cta-1 .btn-secondary:focus {
  background: var(--white-transparent);
  color: var(--white);
  border-color: color-mix(in srgb, var(--white) 20%, transparent);
}
.cta-1 .btn-secondary:hover {
  border-color: var(--secondary);
  color: var(--white);
  background: var(--white-transparent);
}
/* Focus clavier : suki retire le contour (`html :focus`). Anneau à deux
   tons (WCAG C40), lisible quelle que soit la charte (D-323). */
.cta-1 .btn-secondary:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}
@media (max-width: 768px) {
  .cta-1 .container {
    flex-direction: column;
    text-align: center;
  }
  .cta-1 .btns {
    justify-content: 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-1 h2:hover {
  color: var(--white);
}

/* ── 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) {
  .cta-1 {
    padding-top: var(--mcl-section-espace-mobile);
    padding-bottom: var(--mcl-section-espace-mobile);
  }
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* AGRANDIE UN PEU SUR ORDINATEUR (D-510, C97-L5)
   Les cases de services du formulaire injecte debordaient de leur colonne :
   - contact-4 : sa colonne de 600 px, moins le padding de 5 %, laissait
     34,7 px de trop a toute largeur ; 640 px est le minimum arrondi mesure ;
   - contact-11 : sa fenetre passe de 90 a 93 vw (contact-11.css) ; la
     modale, plafonnee a 90 %, la suit pour ne pas la rogner.
   Mesure sur la modale ouverte, de 1025 a 1920 px tous les 10 px, chaque
   metier du catalogue seul et des jeux de 2 et 4 metiers. Sous 1025 px,
   rien ne change. */
@media (min-width: 1025px) {
  .form-modal .contact-4 .container {
    max-width: 640px;
  }

  .form-modal-content:has(.contact-11--modale) {
    max-width: 93%;
  }
}

/* FORMULAIRE PLUS LARGE QUE LA PHOTO (D-514, C97-L5)
   contact-1 et contact-3 en modale : agrandir la fenetre ne suffisait pas
   (il aurait fallu ~100 % de l'ecran). Leurs deux parties, photo (ou
   coordonnees) puis formulaire, passent de 50 / 50 a 45 / 55 ; la grille
   est la racine de la section. `minmax(0, …)` : une piste `fr` ne descend
   pas sous son contenu. Juste au-dessus de la borne de la colonne unique
   (D-506, dans contact-1.css et contact-3.css : contact-1 1379 px,
   contact-3 1169 px ; a changer ensemble), les cases reviennent sur deux
   colonnes et 45 / 55 laissait encore jusqu'a 4,9 px : 44 / 56 sur la
   dizaine suivante (contact-1 1380-1399 px, contact-3 1170-1179 px ;
   dernier depassement en 45 / 55 a 1389 et 1175 px).
   Mesure sur la modale ouverte (page sans barre, `overflow: hidden` sur le
   body comme a l'ouverture), avec la barre interne de la fenetre (17 px,
   barre classique ; le formulaire depasse 90vh) et sans barre, hauteurs
   900 et 768 px, de 1025 a 1920 px tous les 10 px et au pixel pres autour
   des bornes, sept jeux de 1, 2 et 4 metiers (libelles les plus longs du
   catalogue). Sous 1025 px et sur la page, rien ne change. */
@media (min-width: 1025px) {
  .form-modal .contact-1,
  .form-modal .contact-3 {
    grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  }
}

@media (min-width: 1380px) and (max-width: 1399px) {
  .form-modal .contact-1 {
    grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
  }
}

@media (min-width: 1170px) and (max-width: 1179px) {
  .form-modal .contact-3 {
    grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
  }
}

/* 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-5 : components/footers/footer-5/footer-5.css */
/* FOOTER 5 - SPLIT */
.footer-5 {
  display: grid;
  grid-template-columns: 400px 1fr;
}
.footer-5 .left {
  background: var(--secondary);
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
/* Lien du logo : sans couleur écrite, suki peignait le nom en bleu (D-323). */
.footer-5 .logo-container {
  color: var(--on-secondary);
  text-decoration: none;
}
.footer-5 .logo-container:hover,
.footer-5 .logo-container:focus {
  background: transparent;
  color: var(--on-secondary);
  border-color: transparent;
}
.footer-5 .logo-container:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}
.footer-5 .logo {
  margin-bottom: 20px;
}
.footer-5 .logo-text {
  color: var(--white);
  font-size: 1.5rem;
}
.footer-5 .left p {
  color: var(--white);
  line-height: 1.7;
  margin-bottom: 30px;
}
.footer-5 .contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-5 .contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 500;
}
.footer-5 .contact-item svg {
  width: 20px;
  height: 20px;
}
.footer-5 .contact-item a {
  color: var(--white);
  text-decoration: none;
}
/* D-323 : survol et focus aux valeurs du repos (suki : `a:hover, a:focus`,
   `button:hover, button:focus` (0,1,1)). */
.footer-5 .contact-item a:hover,
.footer-5 .contact-item a:focus {
  background: transparent;
  color: var(--white);
  border-color: transparent;
}
/* Focus clavier : suki retire le contour (`html :focus`). Anneau à deux
   tons (WCAG C40), lisible quelle que soit la charte (D-323). */
.footer-5 .contact-item a:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}
.footer-5 .right {
  background: var(--primary);
  color: var(--on-primary);
  padding: 60px 50px;
}
.footer-5 .right-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}
.footer-5 .col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
}
.footer-5 .col ul {
  list-style: none;
  padding-left: 0;
}
.footer-5 .col li {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 0.9rem;
}
.footer-5 .col a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}
.footer-5 .col a:focus {
  background: transparent;
  color: var(--white);
  border-color: transparent;
}
.footer-5 .col a:hover {
  color: var(--white);
  background: transparent;
  border-color: transparent;
}
.footer-5 .col a:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}
.footer-5 .bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-5 .bottom p {
  color: var(--white);
  font-size: 0.85rem;
  margin: 0;
}
.footer-5 .social {
  display: flex;
  gap: 12px;
}
.footer-5 .social a {
  color: var(--gray-light);
  transition: color 0.3s;
}
.footer-5 .social a:focus {
  background: transparent;
  color: var(--gray-light);
  border-color: transparent;
}
.footer-5 .social a:hover {
  color: var(--secondary);
  background: transparent;
  border-color: transparent;
}
.footer-5 .social a:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--white);
}
.footer-5 .social svg {
  width: 18px;
  height: 18px;
}
@media (max-width: 1024px) {
  .footer-5 {
    grid-template-columns: 1fr;
  }
  .footer-5 .right-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .footer-5 .right-inner {
    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. */
.footer-5 .col h4:hover {
  color: var(--secondary);
}

/* ── 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-5__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-5__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-5 .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;
  }
}

