@import url('https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@75..125,500..800&family=Instrument+Sans:wght@400..700&display=swap');
/* assets/site.css */
/* ============================================================
   Web Pack — feuille de style du socle.

   Elle donne la STRUCTURE et le comportement. Les couleurs, les polices et les
   mesures viennent des variables de la charte, injectées dans <head>. Une charte
   peut tout redéfinir sans qu'on touche à ce fichier.

   Ordre : remise à zéro, mise en page, composants communs, blocs, en-tête et pied,
   téléphone, impression.
   ============================================================ */

/* ---------- Remise à zéro ---------- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--f-texte);
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-texte);
  background: var(--c-fond);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--f-titres);
  line-height: 1.18;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  color: var(--c-primaire);
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.5vw, 2.25rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

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

ul, ol { margin: 0 0 1rem; padding-left: 1.2em; }

/* Le focus doit se voir. Il ne se retire jamais : c'est la seule façon de naviguer
   au clavier, et une part des visiteurs n'a pas le choix. */
:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.wp-skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--c-primaire); color: #fff; padding: 12px 18px;
  border-radius: 0 0 var(--m-rayon-petit) 0; text-decoration: none;
}
.wp-skip:focus { left: 0; }

/* ---------- Mise en page ---------- */

/* L'attribut hidden l'emporte sur tout display : sans ça, une ligne en flex restait visible, vide. */
[hidden] { display: none !important; }

.wp-conteneur {
  width: min(100% - 40px, var(--m-largeur-max));
  margin-inline: auto;
}

/* Chaque section porte la MOITIÉ de l'espacement, en haut et en bas. Deux sections
   voisines en additionnent donc exactement un, et le rythme reste constant quel que
   soit l'ordre des blocs. La première version annulait le padding haut de toute
   section suivante : dès qu'un bloc pleine largeur s'intercalait, deux sections se
   retrouvaient collées et une autre paire flottait au double. */
.wp-section { padding-block: calc(var(--m-espace-section) / 2); }

/* Premier et dernier bloc de la page : un peu plus d'air contre l'en-tête et le pied. */
.wp-main > .wp-section:first-child { padding-top: calc(var(--m-espace-section) * .7); }
.wp-main > .wp-section:last-child  { padding-bottom: calc(var(--m-espace-section) * .7); }

.wp-ton--soft   { background: var(--c-fond-doux); }
.wp-ton--tint   { background: color-mix(in srgb, var(--c-primaire) 7%, #fff); }
.wp-ton--accent { background: color-mix(in srgb, var(--c-accent) 9%, #fff); }

.wp-section__tete {
  max-width: 720px;
  margin: 0 auto clamp(30px, 4vw, 52px);
  text-align: center;
}
.wp-section__tete h2 { margin-bottom: .4em; }
.wp-section__tete .wp-lead { margin: 0; }

.wp-eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin: 0 0 .6rem;
}

.wp-lead {
  font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem);
  line-height: 1.6;
  color: var(--c-texte-doux);
}

.wp-grille { display: grid; gap: clamp(18px, 2.2vw, 28px); grid-auto-rows: 1fr; }
.wp-grille--2 { grid-template-columns: repeat(2, 1fr); }
.wp-grille--3 { grid-template-columns: repeat(3, 1fr); }
.wp-grille--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .wp-grille--3, .wp-grille--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .wp-grille--2, .wp-grille--3, .wp-grille--4 { grid-template-columns: 1fr; }
}

.wp-prose > :first-child { margin-top: 0; }
.wp-prose > :last-child { margin-bottom: 0; }
.wp-prose ul { padding-left: 1.1em; }
.wp-prose li { margin-bottom: .35em; }

/* ---------- Boutons ----------
   Le texte est centré par flex, JAMAIS par du padding : un padding asymétrique
   laisse toujours plus de marge en bas qu'en haut, et ça se voit. */

.wp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;          /* cible tactile confortable */
  padding-inline: 26px;
  border: 1.5px solid transparent;
  border-radius: var(--m-rayon-petit);
  font: 600 .96rem/1 var(--f-texte);
  text-decoration: none;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .1s ease, opacity .15s ease;
}
.wp-btn:active { transform: translateY(1px); }
.wp-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.wp-btn--primaire {
  background: var(--c-accent);
  color: #fff;
}
.wp-btn--primaire:hover {
  background: color-mix(in srgb, var(--c-accent) 84%, #000);
}

.wp-btn--secondaire {
  background: transparent;
  color: var(--c-primaire);
  border-color: var(--c-bordure);
}
.wp-btn--secondaire:hover {
  border-color: var(--c-primaire);
  background: var(--c-fond-doux);
}

.wp-btn--inverse { background: #fff; color: var(--c-primaire); }
.wp-btn--inverse:hover { background: rgba(255,255,255,.88); }

.wp-btn--fantome { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.wp-btn--fantome:hover { border-color: #fff; background: rgba(255,255,255,.1); }

.wp-boutons { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6rem 0 0; }

/* ---------- États vides et emplacements (éditeur uniquement) ---------- */

.wp-vide {
  padding: 24px;
  background: var(--c-fond-doux);
  border: 1px solid var(--c-bordure);
  border-radius: var(--m-rayon-petit);
  color: var(--c-texte-doux);
  font-size: .95rem;
  font-style: italic;
}

.wp-emplacement {
  display: inline-block;
  padding: 6px 12px;
  background: color-mix(in srgb, var(--c-accent) 14%, #fff);
  border: 1px dashed var(--c-accent);
  border-radius: 4px;
  color: var(--c-accent);
  font-size: .86rem;
  font-weight: 500;
}

.wp-galerie__vide {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  background: var(--c-fond-doux);
  border: 1px dashed var(--c-bordure);
  border-radius: var(--m-rayon-petit);
  color: var(--c-texte-doux);
  font-size: .95rem;
}

.wp-document--vide {
  opacity: 0.6;
  cursor: default;
}

.wp-ic { flex: none; }

/* ---------- Fil d'ariane ---------- */

.wp-ariane ol {
  display: flex; flex-wrap: wrap; gap: 7px;
  list-style: none; margin: 0 0 1.1rem; padding: 0;
  font-size: .84rem; color: var(--c-texte-doux);
}
.wp-ariane a { color: inherit; text-decoration: none; }
.wp-ariane a:hover { text-decoration: underline; }
.wp-ariane__sep { opacity: .5; }

/* ---------- Bloc : en-tête de page ---------- */

/* Le haut de page respire plus que les autres sections, mais la variante en bandeau
   n'a pas d'image à équilibrer : elle se contente d'un peu moins. */
.wp-hero { padding-block: clamp(46px, 5.5vw, 78px); }
.wp-hero--banner, .wp-hero--sans-image { padding-block: clamp(38px, 4.4vw, 62px); }

.wp-hero__grille {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}
.wp-hero--banner .wp-hero__grille,
.wp-hero--sans-image .wp-hero__grille { grid-template-columns: 1fr; max-width: 780px; }

.wp-hero__titre { margin-bottom: .45em; }
.wp-hero__image { width: 100%; border-radius: var(--m-rayon); }

@media (max-width: 860px) {
  .wp-hero__grille { grid-template-columns: 1fr; }
  .wp-hero__media { order: -1; }
}

/* ---------- Bloc : chiffres clés ---------- */

.wp-chiffres__bande {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 6px;
  background: var(--c-primaire);
  border-radius: var(--m-rayon);
  padding: clamp(24px, 3vw, 38px) clamp(18px, 3vw, 34px);
  color: #fff;
}
.wp-chiffre { text-align: center; }
.wp-chiffre__valeur {
  display: block;
  font-family: var(--f-titres);
  font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
}
.wp-chiffre__libelle {
  display: block;
  font-size: .88rem;
  opacity: .82;
  margin-top: 4px;
}

/* ---------- Bloc : cartes ---------- */

.wp-carte {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: clamp(20px, 2.4vw, 30px);
  background: #fff;
  border: 1px solid var(--c-bordure);
  border-radius: var(--m-rayon);
  text-decoration: none;
  color: inherit;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
a.wp-carte:hover {
  border-color: var(--c-accent);
  box-shadow: 0 8px 24px rgba(0,0,0,.07);
  transform: translateY(-2px);
}
.wp-carte--vide {
  opacity: 0.55;
  cursor: default;
  border-color: var(--c-bordure);
}
.wp-carte__icone {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; margin-bottom: 4px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--c-accent) 12%, #fff);
  color: var(--c-accent);
}
/* Un second cercle, tracé à main levée : la petite vie qui manquait aux icônes (Thomas, 12/09). */
.wp-carte__icone::after {
  content: ""; position: absolute; inset: -5px; border: 1.5px solid currentColor; opacity: .32;
  border-radius: 47% 53% 51% 49% / 52% 47% 53% 48%; transform: rotate(-8deg);
  transition: transform .4s cubic-bezier(.16, 1, .3, 1), opacity .3s ease;
}
a.wp-carte:hover .wp-carte__icone::after { transform: rotate(12deg); opacity: .55; }
.wp-carte__numero {
  font-family: var(--f-titres);
  font-size: 2rem; font-weight: 700; line-height: 1;
  color: color-mix(in srgb, var(--c-accent) 45%, #fff);
}
.wp-carte__titre { margin: 0; font-size: 1.1rem; }
.wp-carte__texte { margin: 0; color: var(--c-texte-doux); font-size: .95rem; }
.wp-carte__fleche { margin-top: auto; padding-top: 6px; color: var(--c-accent); font-weight: 700; }

.wp-cartes--list .wp-grille { grid-template-columns: 1fr; gap: 12px; }
.wp-cartes--list .wp-carte { flex-direction: row; align-items: center; gap: 18px; }
.wp-cartes--plain .wp-carte { background: transparent; border: 0; padding-inline: 0; }

/* ---------- Bloc : texte et photo ---------- */

.wp-texte-media__grille {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(26px, 4vw, 56px);
  align-items: center;
}
.wp-texte-media--left .wp-texte-media__media { order: -1; }
.wp-texte-media__image { width: 100%; border-radius: var(--m-rayon); }

/* Sans photo, le texte prend toute la largeur au lieu de laisser une colonne vide
   à droite. La largeur de lecture reste bornée : une ligne de 1180 pixels ne se lit pas. */
.wp-texte-media--sans-media .wp-texte-media__grille { grid-template-columns: 1fr; }
.wp-texte-media--sans-media .wp-texte-media__texte { max-width: 74ch; }

@media (max-width: 860px) {
  .wp-texte-media__grille { grid-template-columns: 1fr; }
  .wp-texte-media--left .wp-texte-media__media { order: 0; }
}

.wp-puces { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 9px; }
.wp-puces li { display: flex; gap: 10px; align-items: flex-start; }
.wp-puces .wp-ic { color: var(--c-accent); margin-top: 3px; }

/* ---------- Bloc : étapes ---------- */

.wp-etapes__liste {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: clamp(16px, 2vw, 26px);
  counter-reset: etape;
}
.wp-etape { display: flex; gap: 18px; align-items: flex-start; }
.wp-etape__numero {
  flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--c-primaire); color: #fff;
  font: 700 1rem/1 var(--f-titres);
}
.wp-etape__titre { margin: 0 0 .25em; font-size: 1.08rem; }
.wp-etape__texte { margin: 0; color: var(--c-texte-doux); }

/* ---------- Bloc : questions fréquentes ---------- */

.wp-faq__bloc { max-width: 800px; }
.wp-faq__liste { border-top: 1px solid var(--c-bordure); }
.wp-faq__item { border-bottom: 1px solid var(--c-bordure); }
.wp-faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 44px; padding: 10px 0;
  font-family: var(--f-titres); font-weight: 600; font-size: 1.05rem;
  color: var(--c-primaire);
  cursor: pointer;
  list-style: none;
}
.wp-faq__item summary::-webkit-details-marker { display: none; }
.wp-faq__signe {
  flex: none; position: relative; width: 16px; height: 16px;
}
.wp-faq__signe::before, .wp-faq__signe::after {
  content: ''; position: absolute; inset: 50% 0 auto 0;
  height: 2px; background: var(--c-accent); border-radius: 2px;
}
.wp-faq__signe::after { transform: rotate(90deg); transition: transform .2s ease; }
.wp-faq__item[open] .wp-faq__signe::after { transform: rotate(0); }
.wp-faq__reponse { padding: 0 0 20px; color: var(--c-texte-doux); max-width: 68ch; }

/* ---------- Bloc : bande d'appel à l'action ---------- */

.wp-bande-cta { padding-block: 0; }
.wp-bande-cta__bloc {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: clamp(18px, 3vw, 40px);
  background: var(--c-primaire);
  border-radius: var(--m-rayon);
  padding: clamp(28px, 3.6vw, 48px);
  color: #fff;
}
.wp-bande-cta h2 { color: #fff; margin-bottom: .3em; }
.wp-bande-cta p { margin: 0; opacity: .88; }
.wp-bande-cta .wp-boutons { margin: 0; }

/* ---------- Bloc : galerie ---------- */

.wp-galerie__item { margin: 0; }
.wp-galerie__image {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--m-rayon);
}
.wp-galerie__item--vide .wp-galerie__vide {
  display: flex; align-items: center; justify-content: center;
  width: 100%; aspect-ratio: 4 / 3;
  border: 2px dashed var(--c-bordure);
  border-radius: var(--m-rayon);
  background: #fafafa;
  color: var(--c-texte-doux);
  font-size: .88rem;
}
.wp-galerie__item figcaption {
  margin-top: 9px; font-size: .88rem; color: var(--c-texte-doux);
}

/* ---------- Bloc : témoignages ---------- */

/* Un témoignage seul ne s'étale pas sur toute la largeur : une citation de trois
   lignes étirée sur 1180 pixels ne se lit pas, et elle a l'air perdue. */
.wp-temoignages .wp-grille--1 { max-width: 680px; margin-inline: auto; }

.wp-temoignage {
  margin: 0;
  padding: clamp(22px, 2.6vw, 30px);
  background: #fff;
  border: 1px solid var(--c-bordure);
  border-radius: var(--m-rayon);
  display: flex; flex-direction: column; gap: 16px;
}
.wp-temoignage blockquote {
  margin: 0; font-size: 1.02rem; line-height: 1.6;
  quotes: '\201C' '\201D';
}
.wp-temoignage blockquote::before { content: open-quote; color: var(--c-accent); font-size: 1.6em; line-height: 0; vertical-align: -.3em; margin-right: 2px; }
.wp-temoignage figcaption { margin-top: auto; display: grid; gap: 2px; }
.wp-temoignage__auteur { font-weight: 700; color: var(--c-primaire); font-size: .95rem; }
.wp-temoignage__contexte { font-size: .84rem; color: var(--c-texte-doux); }

/* ---------- Bloc : labels et liens ---------- */

.wp-labels__liste {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}
.wp-label {
  display: inline-flex; flex-direction: column; gap: 2px;
  padding: 14px 22px;
  background: #fff;
  border: 1px solid var(--c-bordure);
  border-radius: var(--m-rayon-petit);
  text-decoration: none; color: inherit;
  transition: border-color .15s ease;
}
a.wp-label:hover { border-color: var(--c-accent); }
.wp-label__nom { font-weight: 600; color: var(--c-primaire); }
.wp-label__texte { font-size: .84rem; color: var(--c-texte-doux); }

/* ---------- Bloc : documents ---------- */

.wp-document {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--c-bordure);
  border-radius: var(--m-rayon);
  text-decoration: none; color: inherit;
  transition: border-color .15s ease;
}
.wp-document:hover { border-color: var(--c-accent); }
.wp-document__icone { flex: none; color: var(--c-accent); margin-top: 2px; }
.wp-document__corps { display: grid; gap: 3px; }
.wp-document__titre { font-weight: 600; color: var(--c-primaire); }
.wp-document__texte { font-size: .88rem; color: var(--c-texte-doux); }
.wp-document__poids { font-size: .78rem; color: var(--c-texte-doux); opacity: .8; }

/* ---------- Bloc : plan d'accès ---------- */

.wp-plan__grille {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: clamp(24px, 3vw, 44px); align-items: center;
}
.wp-plan__adresse { font-style: normal; color: var(--c-texte-doux); }
.wp-plan__carte { border-radius: var(--m-rayon); overflow: hidden; border: 1px solid var(--c-bordure); }
.wp-plan__carte iframe { display: block; width: 100%; height: 340px; border: 0; }
@media (max-width: 860px) { .wp-plan__grille { grid-template-columns: 1fr; } }

/* ---------- Bloc : formulaire ---------- */

.wp-formulaire__grille {
  display: grid; grid-template-columns: .85fr 1.15fr;
  gap: clamp(26px, 4vw, 56px);
}
@media (max-width: 860px) { .wp-formulaire__grille { grid-template-columns: 1fr; } }

.wp-formulaire__coords { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 11px; }
.wp-formulaire__coords li { display: flex; gap: 10px; align-items: center; }
.wp-formulaire__coords .wp-ic { color: var(--c-accent); }
.wp-formulaire__coords a { color: var(--c-primaire); text-decoration: none; font-weight: 600; }

.wp-form {
  display: grid; gap: 16px;
  padding: clamp(22px, 3vw, 34px);
  background: #fff;
  border: 1px solid var(--c-bordure);
  border-radius: var(--m-rayon);
}
.wp-form__duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .wp-form__duo { grid-template-columns: 1fr; } }

.wp-form__ligne { display: grid; gap: 6px; }
.wp-form__ligne label { font-size: .88rem; font-weight: 600; color: var(--c-primaire); }
.wp-form__ligne label span { color: var(--c-accent); }

.wp-form input[type="text"], .wp-form input[type="email"],
.wp-form input[type="tel"], .wp-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  font: inherit; font-size: .96rem;
  color: var(--c-texte);
  background: var(--c-fond);
  border: 1.5px solid var(--c-bordure-champ, var(--c-bordure));
  border-radius: var(--m-rayon-petit);
  transition: border-color .15s ease;
}
.wp-form textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.wp-form input:focus, .wp-form textarea:focus { border-color: var(--c-accent); }

/* Le pot de miel. Il est poussé hors de l'écran, PAS en display:none : les robots
   savent reconnaître un champ masqué de cette façon et le laissent vide. */
.wp-form__piege {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  overflow: hidden;
}

.wp-form__consentement { display: flex; gap: 10px; align-items: flex-start; }
.wp-form__consentement input { margin-top: 2px; width: 44px; height: 44px; flex: none; accent-color: var(--c-accent); appearance: none; position: relative; cursor: pointer; border: 1.5px solid var(--c-bordure-champ, var(--c-bordure)); border-radius: var(--m-rayon-petit); background: var(--c-fond); transition: border-color .15s ease, background-color .15s ease; }
.wp-form__consentement input:checked { background: var(--c-accent); border-color: var(--c-accent); }
.wp-form__consentement label { font-size: .85rem; color: var(--c-texte-doux); line-height: 1.5; cursor: pointer; flex: 1; }

.wp-form__retour:empty { display: none; }
.wp-form__retour {
  margin: 0; padding: 11px 14px; border-radius: var(--m-rayon-petit); font-size: .92rem;
}
.wp-form__retour.est-ok { background: #ecfdf3; color: #05603a; }
.wp-form__retour.est-erreur { background: #fef3f2; color: #b42318; }
.wp-form__note { margin: 0; font-size: .82rem; color: var(--c-texte-doux); }

/* ---------- Pop-up d'annonce ---------- */

.wp-popup { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 22px; }
.wp-popup[hidden] { display: none; }
.wp-popup__voile { position: absolute; inset: 0; background: rgba(16, 18, 28, .55); }
.wp-popup__carte {
  position: relative;
  width: min(100%, 440px);
  max-height: calc(100vh - 44px);
  overflow-y: auto;
  background: var(--c-fond);
  border-radius: var(--m-rayon);
  box-shadow: 0 24px 70px rgba(0,0,0,.32);
  animation: wp-popup-entree .28s cubic-bezier(.2,.9,.3,1.2);
}
@keyframes wp-popup-entree {
  from { opacity: 0; transform: translateY(14px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .wp-popup__carte { animation: none; } }
.wp-popup__fermer {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  padding: 0; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--c-texte);
  font-size: 21px; line-height: 1; cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,.18);
}
.wp-popup__image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--m-rayon) var(--m-rayon) 0 0; }
.wp-popup__corps { padding: 26px 28px 28px; }
.wp-popup__titre { margin: 0 0 .35em; font-size: 1.35rem; }
.wp-popup__texte { margin: 0; color: var(--c-texte-doux); }
.wp-popup__corps .wp-boutons { margin-top: 1.2rem; }

/* ---------- Bandeau de consentement ---------- */

.wp-consent {
  position: fixed; left: 18px; right: 18px; bottom: 18px; z-index: 290;
  max-width: 560px; margin-inline: auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px;
  padding: 16px 20px;
  background: var(--c-fond);
  border: 1px solid var(--c-bordure);
  border-radius: var(--m-rayon);
  box-shadow: 0 12px 40px rgba(0,0,0,.16);
}
.wp-consent[hidden] { display: none; }
.wp-consent p { margin: 0; flex: 1 1 280px; font-size: .88rem; line-height: 1.5; color: var(--c-texte-doux); }
.wp-consent__boutons { display: flex; gap: 8px; }
.wp-consent .wp-btn { min-height: 44px; padding-inline: 16px; font-size: .86rem; }

/* ---------- Page 404 ---------- */

.wp-404__bloc { max-width: 620px; margin-inline: auto; text-align: center; padding-block: clamp(40px, 8vw, 90px); }
.wp-404__bloc .wp-boutons { justify-content: center; }

/* ---------- En-tête ---------- */

.wp-entete {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--c-fond) 92%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--c-bordure);
}
.wp-entete__barre {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 72px;
}
.wp-logo { display: inline-flex; align-items: center; text-decoration: none; }
.wp-logo__texte {
  font-family: var(--f-titres); font-weight: 700; font-size: 1.15rem;
  color: var(--c-primaire); letter-spacing: -.02em;
}

.wp-nav { display: flex; align-items: center; gap: 26px; }
.wp-nav ul { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.wp-nav a {
  display: flex; align-items: center;
  min-height: 44px;
  font-size: .94rem; font-weight: 500; color: var(--c-primaire);
  text-decoration: none; padding-block: 6px; padding-inline: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color .15s ease, color .15s ease;
}
.wp-nav a:hover { color: var(--c-accent); }
.wp-nav a[aria-current="page"] { border-bottom-color: var(--c-accent); }
.wp-entete__cta { min-height: 44px; padding-inline: 18px; font-size: .9rem; }

.wp-burger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0;
  background: transparent; border: 0; cursor: pointer;
}
.wp-burger span {
  display: block; width: 22px; height: 2px; margin-inline: auto;
  background: var(--c-primaire); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.wp-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.wp-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.wp-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .wp-burger { display: flex; }
  .wp-nav {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 16px 20px 26px;
    background: var(--c-fond);
    border-bottom: 1px solid var(--c-bordure);
    box-shadow: 0 14px 30px rgba(0,0,0,.09);
    transform: translateY(-12px);
    opacity: 0; visibility: hidden;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
  }
  .wp-nav.est-ouvert { opacity: 1; visibility: visible; transform: none; }
  .wp-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .wp-nav li { border-bottom: 1px solid var(--c-bordure); }
  .wp-nav a { display: block; padding: 15px 4px; border-bottom: 0; font-size: 1rem; }
  .wp-entete__cta { margin-top: 18px; }
}

/* ---------- Pied ---------- */

/* Aucune marge haute : les sections portent déjà leur propre espacement bas. En ajouter
   une ici cumulait les deux, et laissait un blanc démesuré entre le dernier bloc et le pied. */
.wp-pied { background: var(--c-primaire); color: rgba(255,255,255,.82); }
/* auto-fit, et non trois colonnes fixes : quand une colonne ne s'affiche pas (pas de
   menu de pied, ou pas encore de coordonnées), sa piste s'efface au lieu de laisser
   un blanc de la largeur d'un tiers du pied. */
.wp-pied__haut {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: clamp(26px, 4vw, 56px);
  padding-block: clamp(38px, 4.5vw, 58px);
}
.wp-pied__marque { grid-column: span 1; min-width: 0; }
@media (max-width: 780px) { .wp-pied__haut { grid-template-columns: 1fr; } }

.wp-pied__nom { font-family: var(--f-titres); font-weight: 700; font-size: 1.2rem; color: #fff; }
.wp-pied__baseline { margin: 10px 0 0; font-size: .92rem; max-width: 34ch; }
.wp-pied__titre { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin: 0 0 14px; }
.wp-pied ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.wp-pied a { color: inherit; text-decoration: none; }
.wp-pied a:hover { color: #fff; text-decoration: underline; }
.wp-pied__contact li { display: flex; gap: 9px; align-items: flex-start; font-size: .92rem; }
.wp-pied__contact .wp-ic { margin-top: 3px; opacity: .7; flex: none; }
.wp-pied__horaires { margin: 14px 0 0; font-size: .86rem; opacity: .75; }

/* Réseaux du pied : deux pastilles de 44 px, la taille minimale d'une cible tactile,
   pour une icône de 18. Le carré reste discret tant qu'on ne le survole pas. */
.wp-pied ul.wp-pied__reseaux { display: flex; flex-flow: row wrap; gap: 10px; margin-top: 18px; }
.wp-pied__reseaux a {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,.22); border-radius: 6px;
  transition: background-color .18s ease-out, border-color .18s ease-out, color .18s ease-out;
}
.wp-pied__reseaux a:hover, .wp-pied__reseaux a:focus-visible {
  background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.45); color: #fff; text-decoration: none;
}
.wp-pied__reseaux a:active { background: rgba(255,255,255,.16); }
.wp-pied__reseaux .wp-ic { opacity: .85; }

.wp-renov {
  border: 1px solid rgba(255,255,255,.18);
  border-left: 3px solid var(--c-accent);
  border-radius: 4px;
  padding: 14px 18px;
  margin-bottom: 20px;
}
.wp-renov__texte { margin: 0; font-size: .86rem; line-height: 1.55; max-width: 92ch; }
.wp-renov a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.wp-pied__bas {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
  padding-block: 18px;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: .83rem;
}
.wp-pied__bas p { margin: 0; }
/* Le bouton de retour en haut est fixe en bas à droite : sans cette réserve, il
   recouvre la fin de la ligne de SIRET sur mobile (vu en capture le 16/10/2026). */
@media (max-width: 900px) { .wp-pied__bas p { padding-right: 62px; } }
.wp-pied__legal { display: flex; flex-wrap: wrap; gap: 18px; }

/* ---------- Barre d'administration (éditeur connecté seulement) ---------- */

.wp-adminbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 280;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 0 16px; min-height: 44px;
  background: #16181f; color: rgba(255,255,255,.75);
  font-size: .82rem;
}
.wp-adminbar__liens { display: flex; gap: 4px; }
.wp-adminbar a {
  display: inline-flex; align-items: center;
  min-height: 44px; padding-inline: 12px;
  color: #fff; text-decoration: none; font-weight: 600;
}
.wp-adminbar a:hover { background: rgba(255,255,255,.1); }
body.a-adminbar { padding-bottom: 44px; }
body.a-adminbar .wp-consent { bottom: 62px; }
@media print { .wp-adminbar { display: none !important; } }

/* ---------- Impression ---------- */

@media print {
  .wp-entete, .wp-pied, .wp-burger, .wp-boutons, .wp-skip, .wp-plan__carte { display: none !important; }
  body { font-size: 11pt; color: #000; }
  .wp-section { padding-block: 12pt; }
  a[href^="http"]::after { content: ' (' attr(href) ')'; font-size: 9pt; }
}

/* ---------------------------------------------------------------
   Bloc « Liste d'une collection » : actualités, réalisations, offres.

   Une entrée n'est pas une carte de service. Ce qu'on lit en premier, c'est le TITRE,
   pas le contenant : d'où l'absence de cadre, une règle fine en tête pour poser le
   rythme, et l'image en premier seulement quand il y en a une. Les titres ne sont pas
   soulignés au repos, sinon trois entrées côte à côte donnent un mur de rouge.
--------------------------------------------------------------- */

.wp-collection .wp-grille { gap: clamp(28px, 3vw, 44px); }

.wp-collection__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  border-top: 2px solid var(--c-texte);
}

.wp-collection__media {
  display: block;
  margin-bottom: 4px;
  border-radius: var(--m-rayon-petit);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--c-fond-doux);
}
.wp-collection__image { width: 100%; height: 100%; object-fit: cover; display: block; }

/* La ligne d'information : catégorie et date. Deux natures différentes, donc deux
   traitements, et un séparateur réel plutôt qu'une simple espace. */
.wp-collection__meta {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  font-size: .82rem;
  color: var(--c-texte-doux);
}
.wp-collection__badge {
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .74rem;
  color: var(--c-accent);
}
.wp-collection__badge + time::before {
  content: "";
  display: inline-block;
  width: 3px; height: 3px;
  margin-right: 9px;
  border-radius: 50%;
  background: currentColor;
  vertical-align: middle;
  opacity: .55;
}

.wp-collection__titre {
  margin: 0;
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  line-height: 1.28;
  letter-spacing: -.01em;
}
.wp-collection__titre a {
  color: var(--c-texte);
  text-decoration: none;
  background-image: linear-gradient(var(--c-accent), var(--c-accent));
  background-size: 0 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .22s ease, color .15s ease;
}
.wp-collection__titre a:hover,
.wp-collection__titre a:focus-visible {
  color: var(--c-accent);
  background-size: 100% 2px;
}

.wp-collection__chapo {
  margin: 0;
  color: var(--c-texte-doux);
  line-height: 1.6;
}

.wp-collection__suite { margin-top: clamp(28px, 3vw, 40px); }

/* Sur écran étroit, une seule colonne : deux entrées côte à côte coupent les titres en
   quatre lignes de trois mots. */
@media (max-width: 700px) {
  .wp-collection__item { padding-top: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .wp-collection__titre a { transition: none; }
}

/* ---------------------------------------------------------------
   Bloc « L'équipe ».
   Le portrait est rond et cadré serré : c'est le format que les gens reconnaissent
   comme une personne. Sans photo, une pastille d'initiales plutôt qu'une silhouette
   grise, qui ne dirait que « il manque quelque chose ».
--------------------------------------------------------------- */

.wp-equipe__grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: clamp(26px, 3vw, 40px);
}

.wp-equipe__personne { display: flex; flex-direction: column; gap: 6px; }

.wp-equipe__portrait {
  width: 92px; height: 92px;
  margin-bottom: 10px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--c-fond-doux);
}
.wp-equipe__image { width: 100%; height: 100%; object-fit: cover; display: block; }

.wp-equipe__portrait--initiales {
  display: grid;
  place-items: center;
  background: var(--c-primaire);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.wp-equipe__nom { margin: 0; font-size: 1.05rem; line-height: 1.3; }
.wp-equipe__role {
  margin: 0;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--c-accent);
}
.wp-equipe__mots { margin: 6px 0 0; color: var(--c-texte-doux); line-height: 1.6; }
.wp-equipe__note {
  margin: clamp(24px, 3vw, 34px) 0 0;
  font-size: .9rem;
  color: var(--c-texte-doux);
}

/* ---------------------------------------------------------------
   Bloc « Frise chronologique ».
   Un trait vertical et des pastilles, dessinés en CSS : ils suivent la couleur de la
   charte sans qu'on ait à refaire une image par client.
--------------------------------------------------------------- */

.wp-frise__liste {
  list-style: none;
  margin: 0;
  padding: 0 0 0 30px;
}

/* Le trait est porté par CHAQUE étape sauf la dernière, jamais par la liste : posé sur
   la liste, il descendait sous la dernière pastille et pendait dans le vide. */
.wp-frise__etape { position: relative; padding-bottom: clamp(22px, 2.6vw, 32px); }
.wp-frise__etape:last-child { padding-bottom: 0; }

.wp-frise__etape::after {
  content: "";
  position: absolute;
  left: -25px; top: 19px; bottom: 0;
  width: 2px;
  background: var(--c-bordure);
}
.wp-frise__etape:last-child::after { display: none; }

.wp-frise__etape::before {
  content: "";
  position: absolute;
  left: -30px; top: 7px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 0 4px var(--c-fond);
}

.wp-frise__annee {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--c-primaire);
}
.wp-frise__texte { margin: 2px 0 0; color: var(--c-texte-doux); line-height: 1.6; max-width: 62ch; }

/* Préfixe et suffixe d'un chiffre clé : lisibles, mais jamais à la taille du chiffre. */
.wp-chiffre__affixe {
  font-size: .48em;
  font-weight: 600;
  letter-spacing: 0;
  opacity: .82;
  margin: 0 .18em;
}

/* ---------------------------------------------------------------
   Blocs nés du site Caron Construction (09/2026).
   Ici la STRUCTURE, sur les variables de la charte. Le caractère vient de la charte.
--------------------------------------------------------------- */

/* Tête de section alignée à gauche : titre et introduction côte à côte en large. */
.wp-tete-gauche { margin: 0 0 clamp(28px, 4vw, 48px); display: grid; gap: 10px; }
.wp-tete-gauche h2 { margin: 0; max-width: 20ch; }
.wp-tete-gauche .wp-lead { margin: 0; max-width: 54ch; }
@media (min-width: 900px) {
  .wp-tete-gauche { grid-template-columns: 1.1fr .9fr; gap: 10px 56px; align-items: end; }
  .wp-tete-gauche .wp-eyebrow { grid-column: 1 / -1; }
  .wp-tete-gauche .wp-lead { padding-bottom: 6px; }
}
.wp-note-source { margin: 20px 0 0; font-size: .84rem; color: var(--c-texte-doux); max-width: 64ch; }

/* En-tête avec fiche */
.wp-hero-fiche__grille { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 960px) { .wp-hero-fiche__grille { grid-template-columns: 1.08fr .92fr; } }
.wp-hero__accent { font-style: normal; color: var(--c-accent); }
.wp-fiche { margin: 0; border: 1px solid var(--c-bordure); background: #fff; }
.wp-fiche__tete {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 10px 16px; background: var(--c-fond-doux); border-bottom: 1px solid var(--c-bordure);
  font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--c-texte-doux);
}
.wp-fiche__ligne {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 11px 16px; border-bottom: 1px solid var(--c-bordure); font-size: .9rem;
}
.wp-fiche__ligne:last-child { border-bottom: 0; }
.wp-fiche__ligne dt { color: var(--c-texte-doux); }
.wp-fiche__ligne dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.wp-fiche__ok { color: var(--c-accent); }

/* Encadré sombre */
.wp-bandeau-sombre { background: var(--c-primaire); color: #fff; }
.wp-bandeau-sombre__grille { display: grid; gap: clamp(20px, 3vw, 36px); align-items: center; }
@media (min-width: 900px) { .wp-bandeau-sombre__grille { grid-template-columns: 1.25fr 1fr; gap: 56px; } }
.wp-bandeau-sombre h2 { color: #fff; max-width: 26ch; }
.wp-bandeau-sombre__accent { color: var(--c-accent); }
.wp-bandeau-sombre__p { margin: 0; color: rgba(255,255,255,.78); max-width: 54ch; }
.wp-bandeau-sombre__encart { border-left: 2px solid var(--c-accent); padding-left: 18px; }
.wp-bandeau-sombre__encart-titre { margin: 0 0 6px; font-weight: 700; }
.wp-bandeau-sombre__encart-texte { margin: 0; color: rgba(255,255,255,.82); font-size: .95rem; }

/* Engagements */
.wp-engagements__liste { border-top: 1px solid var(--c-texte); }
.wp-engagement { border-bottom: 1px solid var(--c-bordure); }
.wp-engagement summary {
  display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center;
  min-height: 44px; padding: 18px 0; cursor: pointer; list-style: none;
}
.wp-engagement summary::-webkit-details-marker { display: none; }
.wp-engagement__numero { font-size: .72rem; font-weight: 700; letter-spacing: .1em; color: var(--c-accent); font-variant-numeric: tabular-nums; }
.wp-engagement__titre { font-family: var(--f-titres); font-size: clamp(1.05rem, 1.8vw, 1.35rem); font-weight: 600; color: var(--c-primaire); line-height: 1.25; }
.wp-engagement__signe { position: relative; width: 22px; height: 22px; flex: none; }
.wp-engagement__signe::before, .wp-engagement__signe::after {
  content: ""; position: absolute; background: var(--c-primaire); transition: transform .25s ease;
}
.wp-engagement__signe::before { left: 0; top: 10px; width: 22px; height: 2px; }
.wp-engagement__signe::after { left: 10px; top: 0; width: 2px; height: 22px; }
.wp-engagement[open] .wp-engagement__signe::after { transform: rotate(90deg); }
.wp-engagement__corps { display: grid; gap: 12px; padding: 0 0 22px; }
@media (min-width: 820px) { .wp-engagement__corps { grid-template-columns: auto 1fr; gap: 12px 36px; } }
.wp-engagement__corps p { margin: 0; color: var(--c-texte-doux); max-width: 64ch; }
.wp-engagement__tag {
  display: inline-flex; align-items: center; align-self: start; padding: 6px 10px;
  font-size: .76rem; font-weight: 600; white-space: nowrap;
  color: var(--c-primaire); background: var(--c-fond-doux);
}

/* Vérificateur par commune */
.wp-verificateur__cadre { border: 1px solid var(--c-bordure); background: #fff; }
.wp-verificateur__tete {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px 20px;
  padding: 18px 22px; border-bottom: 1px solid var(--c-bordure);
}
.wp-verificateur__titre { margin: 0; font-size: clamp(1.15rem, 2.2vw, 1.5rem); }
.wp-verificateur__intro { margin: 6px 0 0; color: var(--c-texte-doux); font-size: .95rem; max-width: 60ch; }
.wp-verificateur__kick { margin: 0; }
.wp-verificateur__corps { padding: 22px; }
.wp-verificateur__communes { display: flex; flex-wrap: wrap; gap: 8px; }
.wp-verificateur__commune {
  min-height: 44px; padding: 8px 16px; border: 1px solid var(--c-bordure); background: transparent;
  color: var(--c-texte); font: inherit; font-size: .95rem; cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.wp-verificateur__commune:hover { border-color: var(--c-primaire); }
.wp-verificateur__commune[aria-pressed="true"] { background: var(--c-primaire); border-color: var(--c-primaire); color: #fff; font-weight: 600; }
.wp-verificateur__resultat { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--c-bordure); }
.wp-verificateur__nom { margin: 0 0 16px; font-size: 1.15rem; }
.wp-verificateur__grille { margin: 0; display: grid; gap: 16px; }
@media (min-width: 820px) { .wp-verificateur__grille { grid-template-columns: 1fr 1fr; gap: 18px 40px; } }
.wp-verificateur__cellule--large { grid-column: 1 / -1; }
.wp-verificateur__cellule dt { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-texte-doux); margin-bottom: 4px; }
.wp-verificateur__cellule dd { margin: 0; font-size: .95rem; }
.wp-verificateur__fort { font-weight: 700; color: var(--c-accent); }
.wp-verificateur__alerte { margin: 18px 0 0; padding-left: 16px; border-left: 2px solid var(--c-accent); color: var(--c-texte-doux); font-size: .95rem; }
.wp-verificateur__source { margin: 16px 0 0; font-size: .82rem; color: var(--c-texte-doux); }

/* Refusé / à la place */
.wp-interdits__liste { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--c-texte); }
.wp-interdit { display: grid; gap: 8px; padding: 20px 0; border-bottom: 1px solid var(--c-bordure); }
@media (min-width: 900px) { .wp-interdit { grid-template-columns: 1fr 1.35fr; gap: 40px; align-items: start; } }
.wp-interdit p { margin: 0; }
.wp-interdit__non { display: flex; gap: 10px; align-items: baseline; font-weight: 600; color: var(--c-primaire); }
.wp-interdit__non::before { content: "✕"; color: var(--c-accent); font-size: .85em; flex: none; }
.wp-interdit__ou { margin-top: 4px !important; padding-left: 22px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-texte-doux); }
.wp-interdit__oui { display: flex; gap: 10px; align-items: baseline; color: var(--c-texte-doux); font-size: .95rem; }
.wp-interdit__oui::before { content: "→"; color: var(--c-accent); flex: none; }

/* Cartes avec photo */
.wp-cartes-photo__grille { grid-auto-rows: auto; }
.wp-carte-photo {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-bordure);
  color: inherit; text-decoration: none; overflow: hidden;
  transition: border-color .15s ease, transform .15s ease;
}
a.wp-carte-photo:hover { border-color: var(--c-accent); transform: translateY(-2px); }
.wp-carte-photo__image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.wp-carte-photo__corps { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 18px 20px 22px; }
.wp-carte-photo__surtitre { margin: 0; font-size: .7rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--c-accent); }
.wp-carte-photo__titre { margin: 0; font-size: 1.2rem; }
.wp-carte-photo__texte { margin: 0; font-size: .9rem; color: var(--c-texte-doux); }
.wp-carte-photo__pied { margin: auto 0 0; padding-top: 12px; border-top: 1px solid var(--c-bordure); font-size: .84rem; color: var(--c-texte-doux); }
.wp-carte-photo__pied b { color: var(--c-primaire); }

/* Lexique illustré */
.wp-lexique__grille { display: grid; gap: clamp(26px, 4vw, 56px); align-items: center; }
@media (min-width: 960px) { .wp-lexique__grille { grid-template-columns: .85fr 1.15fr; } }
.wp-lexique--sans-image .wp-lexique__grille { grid-template-columns: 1fr; }
.wp-lexique__figure { position: relative; margin: 0; }
.wp-lexique__image { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.wp-lexique__figure figcaption { margin-top: 8px; font-size: .84rem; color: var(--c-texte-doux); }
.wp-lexique__liste { margin: 24px 0 0; border-top: 1px solid var(--c-bordure); }
.wp-lexique__mot { padding: 14px 0; border-bottom: 1px solid var(--c-bordure); }
.wp-lexique__mot dt { font-family: var(--f-titres); font-size: 1.1rem; font-weight: 600; color: var(--c-accent); }
.wp-lexique__mot dd { margin: 4px 0 0; font-size: .92rem; color: var(--c-texte-doux); max-width: 60ch; }

/* Grille de prix */
.wp-prix__table { border-top: 1px solid var(--c-texte); }
.wp-prix__ligne {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; align-items: baseline;
  padding: 18px 0; border-bottom: 1px solid var(--c-bordure);
}
.wp-prix__prestation { margin: 0; font-size: 1.05rem; font-weight: 600; }
.wp-prix__prestation a { color: inherit; text-decoration: none; }
.wp-prix__prestation a:hover { color: var(--c-accent); }
.wp-prix__montant { margin: 0; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.wp-prix__note { margin: 0; grid-column: 1 / -1; font-size: .84rem; color: var(--c-texte-doux); }
@media (min-width: 760px) { .wp-prix__note { grid-column: 1; } }

/* Note et avis */
.wp-note-avis { border-top: 1px solid var(--c-bordure); border-bottom: 1px solid var(--c-bordure); }
.wp-note-avis__grille { display: grid; gap: 24px; align-items: center; }
@media (min-width: 820px) { .wp-note-avis__grille { grid-template-columns: auto 1fr; gap: 56px; } }
.wp-note-avis__note {
  margin: 0; font-family: var(--f-titres); font-size: clamp(3.2rem, 7vw, 4.8rem); font-weight: 700;
  line-height: .9; letter-spacing: -.04em; color: var(--c-primaire); font-variant-numeric: tabular-nums;
}
.wp-note-avis__note small { font-size: .32em; font-weight: 600; color: var(--c-texte-doux); }
.wp-note-avis__citation { margin: 0; }
.wp-note-avis__citation p { margin: 0; font-family: var(--f-titres); font-size: clamp(1.1rem, 2vw, 1.4rem); line-height: 1.45; }
.wp-note-avis__citation p::before { content: "« "; color: var(--c-accent); }
.wp-note-avis__citation p::after { content: " »"; color: var(--c-accent); }
.wp-note-avis__source { margin: 12px 0 0; font-size: .84rem; color: var(--c-texte-doux); }
.wp-note-avis .wp-boutons { margin-top: 16px; }
.wp-fiche__ok { display: inline-flex; vertical-align: -1px; margin-left: 2px; }
.wp-fiche__ok .wp-ic { stroke-width: 2.6; }

/* ---------- En-tête avec fiche : la variante avec photo ----------
   Sur téléphone : titre, photo, accroche, fiche. Sur grand écran : titre, accroche et
   fiche à gauche, la photo à droite sur toute la hauteur, qui file jusqu'au bord de
   l'écran ; la fiche mord sur la photo. Le premier écran montre toujours une maison. */
.wp-hero-fiche--photo .wp-hero-fiche__grille { grid-template-columns: 1fr; gap: 0; }
.wp-hero-fiche--photo .wp-hero__texte { display: contents; }
.wp-hero-fiche--photo .wp-hero-fiche__titre-bloc { order: 1; }
.wp-hero-fiche--photo .wp-hero-fiche__photo { order: 2; margin: 22px 0 0; position: relative; }
.wp-hero-fiche--photo .wp-hero-fiche__suite { order: 3; padding-top: 22px; }
.wp-hero-fiche--photo .wp-fiche { order: 4; margin: 26px 0 0; position: relative; z-index: 2; }
.wp-hero-fiche__image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.wp-hero-fiche__photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0;
  padding: 44px 18px 14px; color: #fff; font-size: .9rem;
  background: linear-gradient(transparent, rgba(0,0,0,.72));
}
@media (min-width: 960px) {
  .wp-hero-fiche--photo .wp-hero-fiche__grille {
    grid-template-columns: minmax(0, 5.2fr) minmax(0, 6.8fr);
    grid-template-rows: auto 1fr auto;
    align-items: start;
  }
  .wp-hero-fiche--photo .wp-hero-fiche__titre-bloc { grid-column: 1; grid-row: 1; padding-right: 48px; }
  .wp-hero-fiche--photo .wp-hero-fiche__suite { grid-column: 1; grid-row: 2; padding: 26px 48px 0 0; }
  .wp-hero-fiche--photo .wp-hero-fiche__suite .wp-lead { max-width: 44ch; }
  .wp-hero-fiche--photo .wp-fiche { grid-column: 1; grid-row: 3; margin: 40px -96px 0 0; }
  .wp-hero-fiche--photo .wp-hero-fiche__photo {
    grid-column: 2; grid-row: 1 / 4; margin: 0;
    margin-right: calc(-1 * max(20px, (100vw - var(--m-largeur-max)) / 2));
    align-self: stretch;
  }
  .wp-hero-fiche--photo .wp-hero-fiche__image { height: 100%; aspect-ratio: auto; min-height: 560px; }
  .wp-hero-fiche--photo .wp-hero-fiche__photo figcaption { padding-left: 128px; padding-right: max(20px, (100vw - var(--m-largeur-max)) / 2); }
}

/* ---------- Photo pleine largeur ---------- */
.wp-respiration { padding-block: 0; }
.wp-respiration__figure { margin: 0; position: relative; }
.wp-respiration__image { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; display: block; }
.wp-respiration__vide { aspect-ratio: 21 / 9; }
.wp-respiration__legende { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; padding-block: 14px; font-size: .9rem; color: var(--c-texte-doux); }
.wp-respiration__legende .wp-eyebrow { margin: 0; }

/* ---------- Signature sous les engagements ---------- */
.wp-engagements__signature { display: grid; gap: 2px; justify-items: start; margin: 28px 0 0; }
.wp-engagements__signe { display: block; width: 56px; height: 2px; background: var(--c-accent); margin-bottom: 10px; }
.wp-engagements__nom { font-family: var(--f-titres); font-size: 1.35rem; font-style: italic; font-weight: 500; color: var(--c-primaire); }
.wp-engagements__role { font-size: .84rem; color: var(--c-texte-doux); }

/* ---------- Comparateur agrandir ou déménager ---------- */
.wp-comparateur__cadre { border: 1px solid var(--c-bordure); background: #fff; }
.wp-comparateur__choix { display: grid; gap: 22px; padding: 22px; border-bottom: 1px solid var(--c-bordure); }
@media (min-width: 900px) { .wp-comparateur__choix { grid-template-columns: 1.4fr 1fr; gap: 40px; } }
.wp-comparateur__etiquette { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-texte-doux); margin-bottom: 10px; }
.wp-comparateur__surface { font-family: var(--f-titres); font-size: 1.4rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--c-primaire); margin-left: 10px; vertical-align: -3px; }
.wp-comparateur__communes { display: flex; flex-wrap: wrap; gap: 8px; }
.wp-comparateur__commune {
  min-height: 44px; padding: 8px 14px; border: 1px solid var(--c-bordure); background: transparent;
  color: var(--c-texte); font: inherit; font-size: .92rem; cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.wp-comparateur__commune:hover { border-color: var(--c-primaire); }
.wp-comparateur__commune[aria-pressed="true"] { background: var(--c-primaire); border-color: var(--c-primaire); color: #fff; font-weight: 600; }
.wp-comparateur__curseur { width: 100%; margin: 8px 0 0; accent-color: var(--c-accent); cursor: pointer; height: 44px; }
.wp-comparateur__bornes { display: flex; justify-content: space-between; font-size: .78rem; color: var(--c-texte-doux); }
.wp-comparateur__resultats { display: grid; }
@media (min-width: 760px) { .wp-comparateur__resultats { grid-template-columns: 1fr 1fr; } }
.wp-comparateur__colonne { padding: 24px 22px 26px; }
.wp-comparateur__colonne--achat { border-bottom: 1px solid var(--c-bordure); }
@media (min-width: 760px) { .wp-comparateur__colonne--achat { border-bottom: 0; border-right: 1px solid var(--c-bordure); } }
.wp-comparateur__colonne--extension { background: var(--c-fond-doux); }
.wp-comparateur__nom { margin: 0 0 6px; font-size: .95rem; color: var(--c-texte-doux); }
.wp-comparateur__total { margin: 0; font-family: var(--f-titres); font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 600; letter-spacing: -.02em; color: var(--c-primaire); font-variant-numeric: tabular-nums; line-height: 1.1; }
.wp-comparateur__detail { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; font-size: .9rem; color: var(--c-texte-doux); }
.wp-comparateur__detail li::before { content: "·"; margin-right: 8px; color: var(--c-accent); }
.wp-comparateur__garde { margin: 14px 0 0; font-size: .95rem; color: var(--c-texte); max-width: 40ch; }

/* Texte présent pour les lecteurs d'écran et les moteurs, invisible à l'écran. */
.wp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ---------- Bandeau défilant ---------- */
.wp-defilant { padding-block: 0; overflow: hidden; border-block: 1px solid var(--c-bordure); }
.wp-defilant__piste { display: flex; width: max-content; }
.wp-defilant__liste {
  display: flex; align-items: baseline; gap: 0; list-style: none; margin: 0; padding: 0;
  flex: none; white-space: nowrap;
}
.wp-defilant__liste li {
  padding: 18px 0; font-family: var(--f-titres); font-size: clamp(1.4rem, 1rem + 1.6vw, 2.2rem);
  font-weight: 400; letter-spacing: -.01em; color: var(--c-primaire);
}
.wp-defilant__liste li::after {
  content: ""; display: inline-block; width: 8px; height: 8px; margin: 0 28px 6px; background: var(--c-accent);
}
@keyframes wp-defile { to { transform: translateX(-50%); } }
.wp-defilant__piste { animation: wp-defile 48s linear infinite; }
.wp-defilant:hover .wp-defilant__piste { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .wp-defilant__piste { animation: none; width: auto; flex-wrap: wrap; }
  .wp-defilant__liste { flex-wrap: wrap; white-space: normal; }
  .wp-defilant__liste[aria-hidden="true"] { display: none; }
}

/* ---------- En-tête avec estimateur ---------- */
.wp-estimateur__grille { display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (min-width: 1000px) { .wp-estimateur__grille { grid-template-columns: 1fr 1.02fr; } }
.wp-estimateur__points { margin-top: 1.6rem; }
/* La colonne de texte suit le défilement pendant qu'on manipule l'estimateur (Thomas, 12/09) : la cellule
   s'étire sur toute la rangée, et c'est le bloc intérieur qui se colle sous l'en-tête. */
@media (min-width: 1000px) {
  .wp-estimateur__grille { align-items: center; }
  .wp-estimateur__texte { align-self: stretch; }
  .wp-estimateur__colle { position: sticky; top: 96px; }
}
/* Le budget probable en ligne, sur toute la largeur, sous les deux colonnes (Thomas, 12/09). */
.wp-estimateur__sortie--ligne {
  margin-top: clamp(18px, 2.4vw, 28px); display: grid; gap: 16px 32px; align-items: center;
  padding: clamp(20px, 2.4vw, 28px) clamp(20px, 2.6vw, 32px); background: #fff;
  border: 1px solid var(--c-bordure); border-radius: var(--m-rayon); box-shadow: 0 18px 40px -22px rgba(0,0,0,.28);
}
@media (min-width: 900px) { .wp-estimateur__sortie--ligne { grid-template-columns: auto minmax(0, 1fr) auto; } }
.wp-estimateur__sortie--ligne .wp-estimateur__sortie-label { margin-bottom: 4px; }
.wp-estimateur__sortie--ligne .wp-estimateur__pourquoi { margin: 0; max-width: 56ch; }
.wp-estimateur__sortie--ligne .wp-estimateur__note { margin: 6px 0 0; }
.wp-estimateur__sortie--ligne .wp-boutons { margin: 0; }
@media (min-width: 900px) { .wp-estimateur__sortie--ligne .wp-boutons { justify-self: end; flex-direction: column; align-items: stretch; } }
.wp-estimateur__boite {
  background: #fff; border: 1px solid var(--c-bordure); border-radius: var(--m-rayon); overflow: hidden;
  box-shadow: 0 18px 40px -22px rgba(0,0,0,.28);
}
.wp-estimateur__tete {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px;
  padding: 16px 22px; border-bottom: 1px solid var(--c-bordure); background: var(--c-fond-doux);
}
.wp-estimateur__titre { margin: 0; font-size: 1.1rem; }
.wp-estimateur__kick { margin: 0; font-size: .68rem; }
.wp-estimateur__corps { padding: 22px; display: grid; gap: 20px; }
.wp-estimateur__etiquette { display: block; font-size: .88rem; font-weight: 600; color: var(--c-primaire); margin-bottom: 9px; }
.wp-estimateur__choix { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 520px) { .wp-estimateur__choix { grid-template-columns: repeat(3, 1fr); } }
.wp-estimateur__projet {
  min-height: 48px; padding: 8px 10px; border: 1px solid var(--c-bordure); background: #fff; color: var(--c-texte);
  border-radius: var(--m-rayon-petit); font: inherit; font-size: .9rem; font-weight: 500; cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.wp-estimateur__projet:hover { border-color: var(--c-accent); }
.wp-estimateur__projet[aria-pressed="true"] { border-color: var(--c-accent); background: color-mix(in srgb, var(--c-accent) 10%, #fff); color: var(--c-accent); font-weight: 600; }
.wp-estimateur__valeur { float: right; font-family: var(--f-titres); font-weight: 700; font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.wp-estimateur__curseur { width: 100%; height: 44px; margin: 0; accent-color: var(--c-accent); cursor: pointer; }
.wp-estimateur__bornes { display: flex; justify-content: space-between; margin: 0; font-size: .78rem; color: var(--c-texte-doux); }
.wp-estimateur__borne { white-space: nowrap; }
.wp-estimateur__sortie { padding: 22px; border-top: 1px solid var(--c-bordure); background: var(--c-fond-doux); }
.wp-estimateur__sortie-label { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c-texte-doux); margin-bottom: 6px; }
.wp-estimateur__montant, .wp-estimateur__contact {
  margin: 0; font-family: var(--f-titres); font-weight: 700; font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem);
  letter-spacing: -.03em; line-height: 1.1; color: var(--c-primaire); font-variant-numeric: tabular-nums;
}
.wp-estimateur__contact { font-size: clamp(1.3rem, 1rem + 1.2vw, 1.7rem); }
.wp-estimateur__pourquoi { margin: 10px 0 0; font-size: .86rem; color: var(--c-texte-doux); max-width: 48ch; }
.wp-estimateur__note { margin: 10px 0 0; font-size: .82rem; color: var(--c-texte-doux); }
.wp-estimateur__sortie .wp-boutons { margin-top: 18px; }

/* ---------- Compris et non compris (refait le 12/09/2026 : une feuille de devis) ---------- */
.wp-perimetre__onglets { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin-bottom: 24px; background: color-mix(in srgb, var(--c-primaire) 8%, transparent); border-radius: 999px; }
.wp-perimetre__onglet {
  min-height: 44px; padding: 8px 20px; border: 0; border-radius: 999px; background: transparent; color: var(--c-primaire);
  font: inherit; font-size: .95rem; font-weight: 600; cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .12s ease;
}
@media (hover: hover) { .wp-perimetre__onglet:not([aria-selected="true"]):hover { background: rgba(255,255,255,.7); } }
.wp-perimetre__onglet:active { transform: scale(.97); }
.wp-perimetre__onglet[aria-selected="true"] { background: var(--c-primaire); color: #fff; }
.wp-perimetre__onglet:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }
.wp-perimetre__contrat { margin: 0 0 14px; }
.wp-perimetre__feuille {
  display: grid; background: #fff; border: 1px solid var(--c-bordure); border-radius: var(--m-rayon); overflow: hidden;
  box-shadow: 0 2px 4px rgba(15, 27, 36, .04), 0 24px 48px -28px rgba(15, 27, 36, .3);
}
@media (min-width: 840px) { .wp-perimetre__feuille { grid-template-columns: 1.45fr 1fr; } }
.wp-perimetre__colonne { padding: clamp(22px, 3vw, 38px); }
.wp-perimetre__colonne--out { background: var(--c-creme, #f4f1ea); border-top: 1px solid var(--c-bordure); }
@media (min-width: 840px) { .wp-perimetre__colonne--out { border-top: 0; border-left: 1px solid var(--c-bordure); } }
.wp-perimetre__sous { margin: 0 0 18px; font-size: .95rem; color: var(--c-texte-doux); max-width: 60ch; }
.wp-perimetre__titre { margin: 0; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-primaire-clair, #5a6a72); display: flex; align-items: center; gap: 8px; }
.wp-perimetre__titre .wp-ic { color: var(--c-accent); }
.wp-perimetre__colonne ol, .wp-perimetre__colonne ul { list-style: none; margin: 8px 0 0; padding: 0; }
.wp-perimetre__colonne--in li {
  display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: baseline; padding: 11px 0;
  border-bottom: 1px dashed color-mix(in srgb, var(--c-primaire) 22%, transparent); font-size: .97rem; color: var(--c-texte);
}
.wp-perimetre__colonne--in li:last-child { border-bottom: 0; }
.wp-perimetre__num { font-family: var(--f-titres); font-weight: 700; font-size: .88rem; color: var(--c-accent); font-variant-numeric: tabular-nums; }
.wp-perimetre__colonne--out li { position: relative; padding: 8px 0 8px 22px; font-size: .93rem; color: var(--c-texte-doux); }
.wp-perimetre__colonne--out li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 12px; height: 2px; border-radius: 2px; background: var(--c-rouge, var(--c-accent)); }

/* ------------------------------------------------------------------------ */
/* En-tête avec carte du secteur                                            */
/*                                                                          */
/* À plat, en aplat du bleu du logo, sans aucune transparence : demande de   */
/* Thomas pour Caron, 10/09 à 16h43, puis 12/09 : au survol la commune       */
/* s'éclaircit, sans se soulever et sans que les voisines pâlissent. La      */
/* commune choisie passe au rouge du logo. Seul fill est animé.              */
/* ------------------------------------------------------------------------ */
.wp-carte__grille { display: grid; gap: clamp(26px, 3.4vw, 50px); align-items: center; }
@media (min-width: 1000px) { .wp-carte__grille { grid-template-columns: .82fr 1.18fr; } }
.wp-carte__points { margin-top: 1.4rem; }

.wp-carte__scene { margin: 0; display: grid; gap: 13px; }
.wp-carte__consigne {
  order: -1; margin: 0; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 700; color: var(--c-accent);
}
.wp-carte__plan { margin-bottom: 4px; }
.wp-carte__svg { display: block; width: 100%; height: auto; overflow: visible; }

.wp-carte__decor { fill: #E9ECEF; stroke: #fff; stroke-width: 1.6; pointer-events: none; }

/* Les communes : le bleu du logo, en aplat, séparées par un filet blanc. Les
   frontières sont communes aux deux voisines (tracés simplifiés par mapshaper), donc
   le filet ne laisse ni jour ni chevauchement. */
.wp-carte__forme {
  fill: var(--c-accent); stroke: #fff; stroke-width: 2.6; stroke-linejoin: round;
  transition: fill .18s ease-out;
}
.wp-carte__zone { cursor: pointer; }
/* Thomas, 12/09 : plus de soulèvement ni d'ombre, et les voisines ne pâlissent plus. Le bleu reste le
   bleu ; la commune sous la souris s'éclaircit, la commune choisie passe au rouge du logo. */
.wp-carte__zone.est-survole .wp-carte__forme { fill: #77A8C5; fill: color-mix(in srgb, var(--c-accent) 60%, #fff); }
.wp-carte__zone.est-actif .wp-carte__forme { fill: var(--c-rouge); }

/* Les repères : un point, et le nom dans une pastille blanche. Quand la place manque
   près du point, le nom s'écarte et un filet le relie à sa commune. */
.wp-carte__fil { stroke: var(--c-primaire); stroke-width: 1.6; stroke-linecap: round; pointer-events: none; }
.wp-carte__cible { fill: transparent; }
.wp-carte__point { fill: #fff; stroke: var(--c-primaire); stroke-width: 2.4; }
.wp-carte__pastille {
  fill: #fff; stroke: rgba(15, 27, 36, .12); stroke-width: 1;
  transition: fill .2s ease-out, stroke .2s ease-out;
}
.wp-carte__nom {
  font-size: 21px; font-weight: 700; text-anchor: middle; fill: var(--c-primaire);
  letter-spacing: .005em; pointer-events: none; transition: fill .2s ease-out;
}
.wp-carte__repere { cursor: pointer; }
.wp-carte__repere:focus { outline: none; }
.wp-carte__repere.est-survole .wp-carte__pastille { fill: var(--c-primaire); stroke: var(--c-primaire); }
.wp-carte__repere.est-survole .wp-carte__nom { fill: #fff; }
.wp-carte__repere.est-actif .wp-carte__pastille { fill: var(--c-rouge); stroke: var(--c-rouge); }
.wp-carte__repere.est-actif .wp-carte__nom { fill: #fff; }
.wp-carte__repere:focus-visible .wp-carte__pastille { stroke: var(--c-primaire); stroke-width: 3; }

.wp-carte__lecture {
  margin: 0; padding: 12px 16px; min-height: 44px; display: flex; align-items: center;
  background: var(--c-fond-doux); border: 1px solid var(--c-bordure);
  border-left: 3px solid var(--c-bordure); border-radius: var(--m-rayon-petit);
  font-size: .92rem; color: var(--c-texte-doux);
  transition: border-color .2s ease-out, background .2s ease-out, color .2s ease-out;
}
.wp-carte__lecture.est-rempli {
  background: #fff; border-left-color: var(--c-rouge);
  color: var(--c-primaire); font-weight: 600;
}
.wp-carte__legende { margin: 0; font-size: .8rem; color: var(--c-texte-doux); }

/* Arrivée : la carte monte de quelques pixels, les communes apparaissent en cascade. */
.wp-carte__planche { animation: wp-carte-pose .6s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes wp-carte-pose { from { opacity: 0; transform: translateY(14px); } }
.wp-carte__zone,
.wp-carte__repere { animation: wp-carte-lieu .45s ease-out both; animation-delay: calc(180ms + var(--i, 0) * 30ms); }
@keyframes wp-carte-lieu { from { opacity: 0; } }
/* Une fois l'entrée jouée, plus d'animation : ramener une commune devant déplace son
   nœud, et un nœud déplacé rejouerait son apparition. */
.wp-carte__svg.est-pose .wp-carte__zone,
.wp-carte__svg.est-pose .wp-carte__repere { animation: none; }

@media (max-width: 860px) {
  /* Sur un téléphone, la carte passe AVANT le chapeau et les boutons : le titre de
     Caron fait six lignes, et la carte tombait sous la ligne de flottaison.
     `display: contents` dissout la colonne de texte dans la grille pour l'intercaler. */
  .wp-carte__grille { gap: 15px; }
  .wp-carte__texte { display: contents; }
  .wp-carte__texte > .wp-ariane { order: 1; }
  .wp-carte__texte > .wp-eyebrow { order: 2; }
  .wp-carte__texte > .wp-hero__titre { order: 3; margin-bottom: 0; }
  .wp-carte__scene { order: 4; }
  .wp-carte__texte > .wp-lead { order: 5; }
  .wp-carte__texte > .wp-puces { order: 6; margin-top: 0; }
  .wp-carte__texte > .wp-boutons { order: 7; }
  /* Bord à bord, quelle que soit l'imbrication des conteneurs. */
  .wp-carte__plan { margin-inline: calc(50% - 50vw); padding-inline: 10px; }
  .wp-carte__nom { font-size: 25px; }
  .wp-carte__point { r: 8; }
  .wp-carte__cible { r: 74; }
}

@media (prefers-reduced-motion: reduce) {
  .wp-carte__planche, .wp-carte__zone, .wp-carte__repere { animation: none; transition: none; }
  .wp-carte__zone.est-survole, .wp-carte__zone.est-actif,
  .wp-carte__repere.est-survole, .wp-carte__repere.est-actif { transform: none; }
}

/* ------------------------------------------------------------------------ */
/* En-tête avec visite 3D                                                   */
/* Ce qui s'affiche avant la 3D, ou à sa place : la photo en fond, le titre */
/* en clair par-dessus. Le module 3D remplace ensuite l'intérieur.          */
/* ------------------------------------------------------------------------ */
.wp-visite3d {
  position: relative; isolation: isolate; overflow: hidden; margin: 0;
  min-height: min(82svh, 820px); display: flex; align-items: center;
  background: #1d3340; color: #f6f4ee;
}
.wp-visite3d__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.wp-visite3d::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(10, 30, 42, .82) 0%, rgba(10, 30, 42, .5) 38%, rgba(10, 30, 42, .08) 70%);
}
.wp-visite3d__texte { max-width: min(100% - 40px, var(--m-largeur-max)); }
.wp-visite3d__texte > * { max-width: 34rem; }
.wp-visite3d .wp-eyebrow { color: #f6ddb0; }
.wp-visite3d__titre { color: #f6f4ee; }
.wp-visite3d .wp-hero__accent { color: var(--c-ocre); }
.wp-visite3d__mention { font-size: .8rem; opacity: .8; margin-top: 2rem; }

/* ---------- Expérience en tête de page (bloc experience, 12/09/2026) ----------
   Même squelette que la visite 3D de Caron : la scène derrière (photo de repli, puis le
   canvas du module), le texte devant. Le module pose ses propres classes (vitrine__scene,
   vitrine__callouts) et sa feuille (vitrine.css) ; ici, seulement la mise en place. */
.wp-experience {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: grid; align-items: end;
  padding-block: clamp(96px, 14vh, 160px) clamp(40px, 8vh, 88px);
  color: var(--c-texte-inverse, #fff); background: var(--c-fonce, #111);
}
.wp-experience__scene { position: absolute; inset: 0; z-index: -1; }
.wp-experience__scene canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; touch-action: pan-y; cursor: grab; }
.wp-experience__scene canvas:active { cursor: grabbing; }
.wp-experience__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s ease-out; }
.wp-experience.wp-module-pret .wp-experience__photo { opacity: 0; }
.wp-experience__texte { max-width: min(100% - 40px, var(--m-largeur-max)); position: relative; pointer-events: none; }
.wp-experience__texte > * { max-width: 34rem; pointer-events: auto; }
.wp-experience__titre { color: inherit; }
.wp-experience__etiquettes { list-style: none; padding: 0; margin: 1rem 0 0; font-size: .9rem; opacity: .85; }
.wp-experience__etiquettes li + li { margin-top: .25rem; }
.wp-experience__consigne { font-size: .85rem; opacity: .7; margin-top: 1rem; }
.wp-experience__mention { font-size: .78rem; opacity: .6; margin-top: 2rem; }
.wp-experience .vitrine__callouts { position: absolute; inset: 0; pointer-events: none; }
@media (max-width: 700px) {
  .wp-experience { min-height: 100svh; align-items: end; }
  .wp-experience__texte > * { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .wp-experience__photo { transition: none; } }

/* ---------- En-tête « du croquis au chantier » (12/09/2026, défilement automatique le jour même) ----------
   Trois couches par chantier, empilées : le trait d'architecte se dessine (masque qui balaie), l'ombre au crayon
   arrive en multiply, puis un voile de nuage laisse passer la vraie photo. Le voile est un masque en colonne de
   32 images (/medias/croquis/voile.webp), du tout-noir au tout-blanc, que steps() fait défiler : sur un site
   qui n'a pas ce fichier, la photo s'ouvre en cercle. Avec plusieurs chantiers, le script pose .est-cycle : à
   10,2 s la photo se dissout à travers le voile sur le trait du chantier suivant, qui se dessine dessous. */
/* padding: 0 : sans lui, le hero héritait des marges verticales de .wp-section (125 px, et 73 px de plus en
   première section) et dépassait l'écran sur un portable (Thomas, 12/09 15h25). */
.wp-main > .wp-section.wp-croquis:first-child, .wp-main > .wp-section.wp-croquis:last-child { padding: 0; }
.wp-croquis { position: relative; isolation: isolate; padding: 0; min-height: calc(100svh - var(--wp-entete-h, 73px)); display: flex; flex-direction: column; justify-content: center; overflow: hidden; margin: 0; background: var(--c-creme, #f4f1ea); color: var(--c-primaire); --wpc-ease: cubic-bezier(.16, 1, .3, 1); }
/* z-index: 0 ouvre un contexte d'empilement : les figures se classent entre elles sans jamais passer
   au-dessus du voile blanc ni du texte. */
.wp-croquis__scene { position: absolute; inset: 0; z-index: 0; }
.wp-croquis__chantier { position: absolute; inset: 0; margin: 0; display: none; }
.wp-croquis__chantier.est-actif { display: block; }
.wp-croquis__couche { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 56%; }
.wp-croquis__trait { opacity: .92; -webkit-mask-image: linear-gradient(100deg, #000 0 42%, transparent 58% 100%); mask-image: linear-gradient(100deg, #000 0 42%, transparent 58% 100%); -webkit-mask-size: 250% 100%; mask-size: 250% 100%; -webkit-mask-position: 100% 0; mask-position: 100% 0; animation: wpc-trace 2.2s var(--wpc-ease) .2s both; }
@keyframes wpc-trace { to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
@keyframes wpc-trace-retour { from { -webkit-mask-position: 0 0; mask-position: 0 0; } to { -webkit-mask-position: 100% 0; mask-position: 100% 0; } }
.wp-croquis__crayon { mix-blend-mode: multiply; opacity: 0; animation: wpc-crayon .9s ease-out 2.2s forwards; }
@keyframes wpc-crayon { to { opacity: .85; } }
@keyframes wpc-crayon-retour { from { opacity: .85; } to { opacity: 0; } }
/* Sans voile : la photo s'ouvre en cercle depuis la maison. */
.wp-croquis__photo { opacity: 0; clip-path: circle(0% at 62% 55%); animation: wpc-photo 1.5s var(--wpc-ease) 3.4s forwards, wpc-respire 9s ease-out 3.4s forwards; }
@keyframes wpc-photo { 0% { opacity: 0; clip-path: circle(0% at 62% 55%); } 20% { opacity: 1; } 100% { opacity: 1; clip-path: circle(120% at 62% 55%); } }
@keyframes wpc-photo-retour { from { opacity: 1; clip-path: circle(120% at 62% 55%); } to { opacity: 0; clip-path: circle(0% at 62% 55%); } }
@keyframes wpc-respire { to { transform: scale(1.05) translate(-.5%, -.4%); } }
/* Avec le voile. */
.a-voile .wp-croquis__photo { opacity: 1; clip-path: none; -webkit-mask-image: var(--wpc-voile); mask-image: var(--wpc-voile); -webkit-mask-size: 100% 3200%; mask-size: 100% 3200%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: 0 0%; mask-position: 0 0%; animation: wpc-voile 1.7s steps(32, jump-none) 3.4s both, wpc-respire 9s ease-out 3.4s forwards; }
@keyframes wpc-voile { from { -webkit-mask-position: 0 0%; mask-position: 0 0%; } to { -webkit-mask-position: 0 100%; mask-position: 0 100%; } }
@keyframes wpc-voile-retour { from { -webkit-mask-position: 0 100%; mask-position: 0 100%; } to { -webkit-mask-position: 0 0%; mask-position: 0 0%; } }
.sans-trait .wp-croquis__photo { animation-delay: .3s, .3s; }
/* Le passage au chantier suivant (Thomas, 12/09 15h : « améliorer la transition »). Le chantier sortant ne
   garde que sa photo, posée au-dessus ; elle se dissout à travers le voile pendant que, dessous, le trait du
   chantier suivant se dessine déjà. Le script pose .est-sortant pendant 1,5 s, puis retire la figure. */
.wp-croquis__chantier.est-actif { z-index: 1; }
.wp-croquis__chantier.est-sortant { display: block; z-index: 2; }
.est-sortant .wp-croquis__trait, .est-sortant .wp-croquis__crayon { display: none; }
.est-sortant .wp-croquis__photo { opacity: 1; clip-path: circle(120% at 62% 55%); transform: scale(1.05) translate(-.5%, -.4%); animation: wpc-photo-retour 1.1s ease-in forwards; }
.a-voile .est-sortant .wp-croquis__photo { clip-path: none; -webkit-mask-image: var(--wpc-voile); mask-image: var(--wpc-voile); -webkit-mask-size: 100% 3200%; mask-size: 100% 3200%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: 0 100%; mask-position: 0 100%; animation: wpc-voile-retour 1.3s steps(32, jump-none) forwards; }
.wp-croquis__voile { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(244, 241, 234, .97) 0, rgba(244, 241, 234, .9) 24%, rgba(244, 241, 234, .5) 40%, rgba(244, 241, 234, .08) 54%, transparent 64%); }
/* Les marges suivent la hauteur de l'écran : sur un portable de 760 px, le hero tenait 100 px de trop (12/09). */
.wp-croquis__texte { position: relative; z-index: 2; padding: clamp(28px, 6vh, 110px) 0 clamp(96px, 13vh, 150px); }
.wp-croquis__texte > * { max-width: 600px; }
.wp-croquis__texte .wp-eyebrow, .wp-croquis__titre, .wp-croquis__lead, .wp-croquis__texte .wp-boutons, .wp-croquis__avis { opacity: 0; animation: wpc-monte .8s var(--wpc-ease) forwards; }
.wp-croquis__avis { animation-delay: .5s; } .wp-croquis__texte .wp-eyebrow { animation-delay: .9s; } .wp-croquis__titre { animation-delay: 1.2s; } .wp-croquis__lead { animation-delay: 1.5s; } .wp-croquis__texte .wp-boutons { animation-delay: 1.8s; }
@keyframes wpc-monte { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes wpc-sort { to { opacity: 0; transform: translateY(6px); } }
.wp-croquis__lead { max-width: 44ch; }
/* Les avis Google au-dessus du titre : la note, le nombre, un extrait qui tourne, tout renvoie vers la fiche. */
.wp-croquis__avis { display: inline-flex; flex-direction: column; gap: 6px; margin: 0 0 18px; max-width: 560px; color: var(--c-primaire); text-decoration: none; }
.wp-croquis__note { display: inline-flex; align-items: center; gap: 9px; font-size: .86rem; line-height: 1; }
.wp-croquis__etoiles { position: relative; display: inline-block; width: 100px; height: 20px; }
.wp-croquis__etoiles svg { position: absolute; inset: 0; width: 100px; height: 20px; }
.wp-croquis__etoiles-fond { fill: rgba(14, 38, 50, .16); }
.wp-croquis__etoiles-plein { fill: #F2A93B; }
.wp-croquis__note b { font-family: var(--f-titres); font-size: 1.08rem; font-weight: 700; letter-spacing: -.01em; }
.wp-croquis__avis-nb { color: var(--c-primaire-clair, #5a6a72); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color .2s ease, color .2s ease; }
.wp-croquis__extrait { display: block; font-size: .94rem; line-height: 1.45; font-style: italic; color: var(--c-primaire); min-height: 2.9em; transition: opacity .32s ease, transform .32s ease; }
.wp-croquis__extrait.est-fondu { opacity: 0; transform: translateY(4px); }
.wp-croquis__extrait q { quotes: "« " " »"; }
.wp-croquis__extrait cite { font-style: normal; font-size: .8rem; color: var(--c-primaire-clair, #5a6a72); white-space: nowrap; }
@media (hover: hover) { .wp-croquis__avis:hover .wp-croquis__avis-nb { color: var(--c-primaire); text-decoration-color: currentColor; } }
.wp-croquis__avis:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 6px; border-radius: 4px; }
/* Le pied : les trois temps, la légende du chantier montré, la mention. */
.wp-croquis__pied { position: absolute; left: 0; right: 0; bottom: clamp(16px, 3vw, 32px); z-index: 2; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px 28px; padding-right: 72px; pointer-events: none; }
.wp-croquis__mention { max-width: 34ch; text-align: right; }
.wp-croquis__etapes { grid-column: 1; display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--c-primaire-clair, #5a6a72); }
.wp-croquis__etapes li { position: relative; padding-top: 10px; opacity: .45; animation: wpc-repere .5s ease-out forwards; }
.wp-croquis__etapes li::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--c-primaire); transform: scaleX(0); transform-origin: left; animation: wpc-trait-repere .6s var(--wpc-ease) forwards; }
.wp-croquis__etapes li:nth-child(1), .wp-croquis__etapes li:nth-child(1)::before { animation-delay: .3s; }
.wp-croquis__etapes li:nth-child(2), .wp-croquis__etapes li:nth-child(2)::before { animation-delay: 2.3s; }
.wp-croquis__etapes li:nth-child(3), .wp-croquis__etapes li:nth-child(3)::before { animation-delay: 3.6s; }
@keyframes wpc-repere { to { opacity: 1; } } @keyframes wpc-trait-repere { to { transform: scaleX(1); } }
.wp-croquis__legende { grid-column: 1; margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; font-size: .82rem; color: var(--c-primaire); opacity: 0; animation: wpc-monte .7s var(--wpc-ease) 5s forwards; }
.est-cycle .wp-croquis__legende { animation: wpc-monte .7s var(--wpc-ease) 5s forwards, wpc-sort .35s ease-in 9.85s forwards; }
.wp-croquis__legende i { width: 7px; height: 7px; border-radius: 50%; background: var(--c-rouge, var(--c-accent)); }
.wp-croquis__legende b { font-weight: 700; } .wp-croquis__legende b + span:not(:empty)::before { content: "·"; margin: 0 6px 0 0; color: var(--c-primaire-clair, #5a6a72); }
.wp-croquis__mention { grid-column: 2; grid-row: 1 / 3; align-self: end; margin: 0 0 1px; font-size: .72rem; color: var(--c-primaire-clair, #5a6a72); opacity: 0; animation: wpc-monte .8s var(--wpc-ease) 5.4s forwards; }
.wp-croquis__vide { position: absolute; inset: auto 0 40% 0; text-align: center; }
/* La flèche (Thomas, 12/09) : en bas du hero, elle descend à la section suivante. Une seconde flèche, créée
   par le script dans <body> pour échapper au contexte d'empilement du hero, se fixe en bas à droite quand
   le hero est sorti de l'écran, retournée, et ramène en haut. */
.wp-croquis__fleche { position: absolute; left: auto; right: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px); z-index: 3; width: 48px; height: 48px; margin: 0; padding: 0; border: 0; border-radius: 6px; background: var(--c-accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 10px 24px -12px rgba(15, 27, 36, .45); opacity: 0; animation: wpc-monte .7s var(--wpc-ease) 2.2s forwards; transition: background .2s ease, box-shadow .2s ease; }
.wp-croquis__fleche svg { width: 22px; height: 22px; animation: wpc-invite 2.4s ease-in-out 3.2s infinite; }
@keyframes wpc-invite { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@media (hover: hover) { .wp-croquis__fleche:hover { background: var(--c-bleu-fonce, var(--c-primaire)); box-shadow: 0 14px 28px -12px rgba(15, 27, 36, .5); } }
.wp-croquis__fleche:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; }

/* Revenir en haut, sur toutes les pages (demande de la cliente Caron, 28/09/2026 : il n'y avait de flèche
   que sur l'accueil). Même carré bleu que la flèche du haut de page, fixé en bas à droite, au-dessus de la
   barre d'appel du téléphone. Un repère d'une hauteur d'écran décide de son apparition, sans écouteur de défilement. */
.wp-haut__repere { position: absolute; top: 0; left: 0; width: 1px; height: 100svh; pointer-events: none; }
.wp-haut {
  position: fixed; right: calc(env(safe-area-inset-right, 0px) + 20px); bottom: calc(env(safe-area-inset-bottom, 0px) + 20px);
  z-index: 95; width: 48px; height: 48px; margin: 0; padding: 0; border: 0; border-radius: 6px;
  background: var(--c-accent); color: #fff; display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  /* Un liseré blanc : sans lui, le bouton disparaît sur les bandeaux bleus (vu sur téléphone, 28/09). */
  box-shadow: 0 0 0 2px #fff, 0 10px 24px -10px rgba(15, 27, 36, .5);
  animation: wp-haut-entre .35s cubic-bezier(.16, 1, .3, 1) both;
  transition: background .2s ease, box-shadow .2s ease;
}
@keyframes wp-haut-entre { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (hover: hover) { .wp-haut:hover { background: var(--c-bleu-fonce, var(--c-primaire)); box-shadow: 0 0 0 2px #fff, 0 14px 30px -10px rgba(15, 27, 36, .55); } }
.wp-haut:active { transform: scale(.97); }
.wp-haut:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; }
@media (max-width: 900px) { .wp-haut { bottom: calc(env(safe-area-inset-bottom, 0px) + 72px); right: 18px; } }
@media (prefers-reduced-motion: reduce) { .wp-haut { animation: none; } }
/* Au-dessus de la barre d'appel du téléphone ; la double classe l'emporte sur la règle mobile de la flèche du hero. */
/* Écrans peu hauts (portables, fenêtres réduites) : tout se resserre pour que le hero tienne dans l'écran. */
@media (max-height: 720px) and (min-width: 701px) {
  .wp-croquis__titre { font-size: clamp(2.1rem, 6.8vh, 3.6rem); }
  .wp-croquis__lead { font-size: .95rem; }
  .wp-croquis__avis { margin-bottom: 10px; }
  .wp-croquis__extrait { min-height: 0; }
}
@media (max-height: 640px) and (min-width: 701px) {
  .wp-croquis__legende { display: none; }
  .wp-croquis__texte { padding-bottom: 72px; }
}
@media (max-width: 700px) {
  .wp-croquis__couche { object-position: 56% 42%; }
  .wp-croquis__voile { background: linear-gradient(180deg, rgba(244, 241, 234, .97) 0, rgba(244, 241, 234, .9) 30%, rgba(244, 241, 234, .35) 46%, transparent 56%); }
  .wp-croquis__texte { padding: clamp(24px, 5vh, 64px) 0 96px; max-width: none; }
  .wp-croquis__avis { margin-bottom: 14px; }
  .wp-croquis__extrait { font-size: .86rem; min-height: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .wp-croquis__lead { font-size: .98rem; max-width: 36ch; }
  .wp-croquis__pied { bottom: 18px; grid-template-columns: 1fr; gap: 8px; padding-right: 64px; }
  .wp-croquis__fleche { right: 18px; bottom: 18px; }
  .wp-croquis__etapes { gap: 14px; font-size: .68rem; }
  .wp-croquis__legende { font-size: .76rem; padding-right: 20px; }
  .wp-croquis__mention { display: none; }
}
@media (max-width: 700px) and (max-height: 700px) {
  .wp-croquis__titre { font-size: clamp(1.7rem, 5.2vh, 2.2rem); }
  .wp-croquis__lead { font-size: .92rem; }
  .wp-croquis__legende { display: none; }
  .wp-croquis__texte { padding-bottom: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .wp-croquis__trait, .wp-croquis__crayon { display: none; }
  .wp-croquis__photo, .a-voile .wp-croquis__photo { animation: none; opacity: 1; clip-path: none; -webkit-mask-image: none; mask-image: none; }
  .wp-croquis__texte .wp-eyebrow, .wp-croquis__titre, .wp-croquis__lead, .wp-croquis__texte .wp-boutons, .wp-croquis__avis, .wp-croquis__legende, .wp-croquis__mention { animation: none; opacity: 1; }
  .wp-croquis__etapes li { opacity: 1; animation: none; } .wp-croquis__etapes li::before { transform: none; animation: none; }
  .wp-croquis__extrait { transition: none; }
}

/* ---------- Esquisse : une photo de page qui arrive du croquis (12/09/2026) ----------
   Même geste que le haut de page, en plus court : le trait se dessine (1,5 s), le crayon vient, la photo
   passe au travers du voile. Sans JavaScript la photo reste simplement visible ; avec, site.js pose
   .est-vu quand la figure entre dans l'écran, et Rendu::croquis() le pose d'office sur une image prioritaire. */
/* Aucun fond : le trait se dessine sur la couleur de la section, blanc sur blanc (Thomas, 12/09). */
.wp-esquisse { position: relative; display: block; overflow: hidden; isolation: isolate; border-radius: var(--wpe-rayon, var(--m-rayon)); background: transparent; }
.wp-esquisse__photo { position: relative; z-index: 2; display: block; width: 100%; }
.wp-esquisse__trait, .wp-esquisse__crayon { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.wp-esquisse__trait { z-index: 0; opacity: .92; -webkit-mask-image: linear-gradient(100deg, #000 0 42%, transparent 58% 100%); mask-image: linear-gradient(100deg, #000 0 42%, transparent 58% 100%); -webkit-mask-size: 250% 100%; mask-size: 250% 100%; -webkit-mask-position: 100% 0; mask-position: 100% 0; }
.wp-esquisse__crayon { z-index: 1; mix-blend-mode: multiply; opacity: 0; }
.wp-js .wp-esquisse:not(.est-vu) .wp-esquisse__photo { opacity: 0; }
.wp-js .wp-esquisse.a-voile:not(.est-vu) .wp-esquisse__photo { opacity: 1; -webkit-mask-image: var(--wpc-voile); mask-image: var(--wpc-voile); -webkit-mask-size: 100% 3200%; mask-size: 100% 3200%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: 0 0%; mask-position: 0 0%; }
.wp-esquisse.est-vu .wp-esquisse__trait { animation: wpc-trace 1.5s var(--wpc-ease, cubic-bezier(.16, 1, .3, 1)) .1s both; }
.wp-esquisse.est-vu .wp-esquisse__crayon { animation: wpc-crayon .7s ease-out 1.3s forwards; }
.wp-esquisse.est-vu .wp-esquisse__photo { opacity: 0; clip-path: circle(0% at 55% 50%); animation: wpe-photo 1.3s var(--wpc-ease, cubic-bezier(.16, 1, .3, 1)) 1.9s forwards; }
.wp-esquisse.a-voile.est-vu .wp-esquisse__photo { opacity: 1; clip-path: none; -webkit-mask-image: var(--wpc-voile); mask-image: var(--wpc-voile); -webkit-mask-size: 100% 3200%; mask-size: 100% 3200%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; animation: wpc-voile 1.5s steps(32, jump-none) 1.9s both; }
@keyframes wpe-photo { 0% { opacity: 0; clip-path: circle(0% at 55% 50%); } 25% { opacity: 1; } 100% { opacity: 1; clip-path: circle(120% at 55% 50%); } }
.wp-hero-fiche--photo .wp-hero-fiche__photo .wp-esquisse { --wpe-rayon: 0; height: 100%; }
.wp-lexique__figure .wp-esquisse { --wpe-rayon: 0; }
@media (prefers-reduced-motion: reduce) {
  .wp-esquisse__trait, .wp-esquisse__crayon { display: none; }
  .wp-esquisse .wp-esquisse__photo, .wp-js .wp-esquisse:not(.est-vu) .wp-esquisse__photo { opacity: 1; animation: none; clip-path: none; -webkit-mask-image: none; mask-image: none; }
}

/* caron/charte.css */
/* ============================================================
   Charte Caron Construction · habillage, direction C « Le chiffre » retenue par le
   client le 09/09/2026 (« Couleur : C avec moins de blanc »).
   Concaténée APRÈS le socle : tout ce qui est ici gagne.

   Le parti pris : clair et net. Un gris très léger plutôt que du blanc pur, des cartes
   blanches aux angles doux, le bleu du logo pour tout ce qui se clique, le rouge du
   logo pour l'appel principal, des titres Archivo très gras et serrés, des chiffres
   en grand. Les sections sombres sont dans le bleu profond du logo. Le mouvement de la
   passe précédente est conservé : entrée de page, dévoilements, chiffres qui montent.
   ============================================================ */

:root {
  --e: cubic-bezier(.16, 1, .3, 1);
  --e2: cubic-bezier(.25, 1, .5, 1);
  --ombre-douce: 0 1px 2px rgba(15, 27, 36, .04), 0 12px 32px -18px rgba(15, 27, 36, .22);
  --ombre-carte: 0 2px 4px rgba(15, 27, 36, .04), 0 24px 48px -28px rgba(15, 27, 36, .3);
}

html { overflow-x: clip; }
body { font-size: 1.0625rem; line-height: 1.6; overflow-x: hidden; }

/* ---------- Typographie ---------- */

h1, h2, h3, h4 { font-weight: 800; letter-spacing: -.03em; line-height: 1.08; font-variation-settings: "wdth" 100; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 1.3rem + 3.6vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 1.1rem + 2.4vw, 2.7rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
h4 { font-size: 1.02rem; font-weight: 700; }
.wp-hero__accent, .wp-bandeau-sombre__accent { font-style: normal; color: var(--c-accent); }

.wp-eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .14em; margin-bottom: .8rem; }
.wp-lead { font-size: clamp(1rem, .95rem + .3vw, 1.125rem); line-height: 1.6; text-wrap: pretty; }
p { text-wrap: pretty; }
.wp-tete-gauche h2 { max-width: 20ch; }

a { color: var(--c-accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-bleu-fonce); }
::selection { background: var(--c-bleu-clair); color: var(--c-primaire); }

/* ---------- Boutons ---------- */

.wp-btn {
  min-height: 50px; padding-inline: 24px; font-weight: 600; font-size: .9375rem; border-width: 1px; position: relative;
  transition: transform .18s var(--e2), background .2s var(--e2), color .2s var(--e2), border-color .2s var(--e2), box-shadow .2s var(--e2);
}
.wp-btn:active { transform: scale(.985); }
.wp-btn--primaire { background: var(--c-accent); color: #fff; gap: 10px; }
.wp-btn--primaire::after {
  content: "→"; display: inline-block; width: 0; overflow: hidden; opacity: 0;
  transform: translateX(-6px); transition: width .25s var(--e), opacity .25s var(--e), transform .25s var(--e);
}
@media (hover: hover) {
  .wp-btn--primaire:hover { background: var(--c-bleu-fonce); transform: translateY(-1px); box-shadow: var(--ombre-douce); }
  .wp-btn--primaire:hover::after { width: 1em; opacity: 1; transform: none; }
}
/* L'appel principal, en rouge : l'estimateur, la bande d'appel, le contact. */
.wp-estimateur .wp-btn--primaire, .wp-bande-cta .wp-btn--inverse, .wp-formulaire .wp-btn--primaire { background: var(--c-rouge); color: #fff; }
@media (hover: hover) { .wp-estimateur .wp-btn--primaire:hover, .wp-bande-cta .wp-btn--inverse:hover, .wp-formulaire .wp-btn--primaire:hover { background: var(--c-rouge-fonce); color: #fff; } }
.wp-btn--secondaire { border-color: var(--c-bordure); color: var(--c-primaire); background: #fff; }
.wp-btn--secondaire:hover { border-color: var(--c-primaire); background: #fff; }
.wp-btn--fantome { border-color: rgba(255,255,255,.5); }
.wp-btn--fantome:hover { background: #fff; color: var(--c-nuit); border-color: #fff; }

/* ---------- Tonalités ---------- */

.wp-ton--tint { background: var(--c-bleu-clair); }
.wp-ton--accent { background: var(--c-creme); }
.wp-ton--creme { background: var(--c-creme); }
.wp-ton--sombre { background: var(--c-nuit); color: #fff; }
.wp-ton--sombre h2, .wp-ton--sombre h3, .wp-ton--sombre h4 { color: #fff; }
.wp-ton--sombre .wp-eyebrow { color: var(--c-ocre); }
.wp-ton--sombre .wp-lead, .wp-ton--sombre p { color: var(--c-sable-2); }
.wp-ton--sombre .wp-carte { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); box-shadow: none; }
.wp-ton--sombre .wp-carte__titre { color: #fff; }
.wp-ton--sombre .wp-carte__texte { color: var(--c-sable-2); }
.wp-ton--sombre .wp-carte__icone { background: rgba(255,255,255,.12); color: var(--c-ocre); }
.wp-ton--sombre .wp-btn--primaire { background: #fff; color: var(--c-nuit); }
.wp-ton--sombre .wp-btn--primaire:hover { background: var(--c-sable); color: var(--c-nuit); }
.wp-ton--sombre .wp-btn--secondaire { border-color: rgba(255,255,255,.4); color: #fff; background: transparent; }
.wp-ton--sombre .wp-btn--secondaire:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ---------- Mise en page ---------- */

.wp-conteneur { width: min(100% - 2.25rem, var(--m-largeur-max)); }
@media (min-width: 768px) { .wp-conteneur { width: min(100% - 5rem, var(--m-largeur-max)); } }
.wp-section__tete { text-align: left; margin-inline: 0; }
.wp-engagements, .wp-prix, .wp-interdits, .wp-perimetre { padding-block: clamp(64px, 8vw, 112px); }
.wp-note-avis, .wp-respiration { padding-block: 0; }

/* ---------- En-tête du site ---------- */

.wp-entete { background: rgba(255,255,255,.94); border-bottom-color: var(--c-bordure); }
.wp-entete__barre { min-height: 78px; }
.wp-logo img { height: 42px; width: auto; }
@media (min-width: 600px) { .wp-logo img { height: 48px; } }
.wp-nav ul { gap: 4px; }
.wp-nav a { font-size: .9rem; color: var(--c-primaire-clair); padding-inline: 9px; border-bottom: 0; position: relative; }
.wp-nav a::after {
  content: ""; position: absolute; left: 9px; right: 9px; bottom: 8px; height: 2px; border-radius: 2px;
  background: var(--c-accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--e);
}
.wp-nav a:hover { color: var(--c-accent); }
.wp-nav a:hover::after, .wp-nav a[aria-current="page"]::after { transform: scaleX(1); }
.wp-nav .wp-entete__cta { background: var(--c-accent); color: #fff; min-height: 46px; padding-inline: 18px; font-size: .9rem; margin-left: 6px; white-space: nowrap; border: 0; border-radius: var(--m-rayon-petit); }
.wp-nav .wp-entete__cta::after { display: none; }
.wp-nav .wp-entete__cta:hover { background: var(--c-bleu-fonce); color: #fff; }
.wp-burger span { background: var(--c-accent); }
.wp-entete__barre, .wp-logo img { transition: min-height .3s var(--e), height .3s var(--e); }
html.defile .wp-entete__barre { min-height: 62px; }
html.defile .wp-logo img { height: 36px; }
html.defile .wp-entete { box-shadow: 0 1px 0 var(--c-bordure), 0 10px 30px -18px rgba(15,27,36,.25); }

@media (max-width: 1080px) {
  .wp-burger { display: flex; }
  .wp-nav {
    position: fixed; inset: 78px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 6px 1.25rem 24px; background: #fff; border-bottom: 1px solid var(--c-bordure);
    box-shadow: 0 18px 40px rgba(15,27,36,.14); transform: translateY(-10px); opacity: 0; visibility: hidden;
    transition: opacity .22s var(--e), transform .22s var(--e), visibility .22s; max-height: calc(100vh - 78px); overflow-y: auto;
  }
  .wp-nav.est-ouvert { opacity: 1; visibility: visible; transform: none; }
  .wp-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .wp-nav li { border-bottom: 1px solid var(--c-bordure); }
  .wp-nav a { display: flex; min-height: 56px; padding: 12px 0; font-size: 1.1rem; font-weight: 700; color: var(--c-primaire); font-family: var(--f-titres); }
  .wp-nav a::after { display: none; }
  .wp-nav .wp-entete__cta { margin: 18px 0 0; justify-content: center; min-height: 52px; font-size: 1rem; font-family: var(--f-texte); }
}
@media (min-width: 1081px) { .wp-burger { display: none; } }

/* ---------- La barre d'appel sous le pouce (téléphone) ---------- */
.caron-appel {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); background: var(--c-rouge); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 1rem; box-shadow: 0 -8px 24px -12px rgba(15,27,36,.4); transform: translateY(110%); transition: transform .3s var(--e);
}
.caron-appel .wp-ic { flex: none; }
@media (max-width: 900px) {
  .caron-appel { display: flex; }
  html.appel-visible .caron-appel { transform: none; }
  html.appel-visible body { padding-bottom: 64px; }
  html.appel-visible .wp-consent { bottom: 76px; }
}

/* ---------- En-tête de page et estimateur ---------- */

.wp-hero { padding-block: clamp(40px, 5.5vw, 72px) clamp(44px, 6vw, 76px); border-bottom: 1px solid var(--c-bordure); background: linear-gradient(180deg, var(--c-fond-doux), var(--c-fond)); }
.wp-hero__titre { margin-bottom: .5em; }
.wp-hero .wp-lead { max-width: 50ch; }
.wp-hero .wp-boutons { margin-top: 1.6rem; }
.wp-hero__image { aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--ombre-carte); }
.wp-estimateur__points li { font-size: .95rem; color: var(--c-texte-doux); }
.wp-estimateur__points .wp-ic { color: #1E7A4C; background: #E4F4EC; border-radius: 50%; padding: 2px; width: 22px; height: 22px; margin-top: 1px; }
.wp-estimateur__boite { box-shadow: var(--ombre-carte); }
.wp-estimateur__montant { color: var(--c-primaire); }
.wp-estimateur__contact { color: var(--c-accent); }
.wp-estimateur__projet[aria-pressed="true"] { background: var(--c-bleu-clair); color: var(--c-bleu-fonce); }

/* Fiche entreprise (page L'entreprise) */
.wp-hero-fiche--photo { padding-block: clamp(36px, 5vw, 64px) 0; border-bottom: 0; overflow: visible; }
.wp-hero-fiche--photo .wp-hero-fiche__grille::after { content: ""; order: 5; height: clamp(36px, 5vw, 64px); grid-column: 1 / -1; }
@media (min-width: 960px) { .wp-hero-fiche--photo .wp-hero-fiche__grille::after { display: none; } }
.wp-hero-fiche--photo .wp-fiche { box-shadow: var(--ombre-carte); border-radius: var(--m-rayon); overflow: hidden; }
.wp-hero-fiche--photo .wp-hero-fiche__photo { margin-left: -1.125rem; margin-right: -1.125rem; }
@media (min-width: 768px) { .wp-hero-fiche--photo .wp-hero-fiche__photo { margin-left: 0; margin-right: 0; } }
@media (min-width: 960px) { .wp-hero-fiche--photo .wp-hero-fiche__photo { margin-right: calc(-1 * max(2.5rem, (100vw - var(--m-largeur-max)) / 2)); border-radius: var(--m-rayon) 0 0 var(--m-rayon); overflow: hidden; } }
.wp-hero-fiche--photo .wp-hero-fiche__photo figcaption { color: #fff; font-size: .9rem; background: linear-gradient(transparent, rgba(15,27,36,.8)); }
.wp-hero-fiche--photo .wp-hero__titre { margin-bottom: 0; }
.wp-hero-fiche--photo .wp-boutons { margin-top: 1.4rem; }
@media (max-width: 600px) { .wp-hero-fiche--photo .wp-boutons .wp-btn { flex: 1 1 100%; } }
.wp-fiche { border-radius: var(--m-rayon); overflow: hidden; }
.wp-fiche__ok { color: #1E7A4C; }

/* ---------- Photo pleine largeur, encadré sombre ---------- */

.wp-respiration__image { aspect-ratio: 21 / 9; }
@media (max-width: 700px) { .wp-respiration__image { aspect-ratio: 4 / 3; } }
.wp-respiration__texte { font-weight: 600; color: var(--c-texte); }
.wp-bandeau-sombre { padding-block: clamp(44px, 5.5vw, 72px); background: var(--c-nuit); }
.wp-bandeau-sombre .wp-eyebrow { color: var(--c-ocre); }
.wp-bandeau-sombre__accent { color: var(--c-ocre); }
.wp-bandeau-sombre__p, .wp-bandeau-sombre__encart-texte { color: var(--c-sable-2); }
.wp-bandeau-sombre__encart { border-left-color: var(--c-ocre); }

/* ---------- Engagements, FAQ, étapes, cartes ---------- */

.wp-engagements__liste { border-top-color: var(--c-primaire); }
.wp-engagement summary { padding: 20px 0; }
@media (hover: hover) { .wp-engagement summary:hover .wp-engagement__titre { color: var(--c-accent); } }
.wp-engagement__tag { color: var(--c-bleu-fonce); background: var(--c-bleu-clair); border-radius: 6px; }
.wp-engagement[open] .wp-engagement__corps { animation: caron-deplie .35s var(--e) both; }
@keyframes caron-deplie { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.wp-engagements__nom { font-style: normal; font-weight: 800; font-size: 1.3rem; }
.wp-faq__bloc { max-width: none; }
.wp-faq__liste { border-top-color: var(--c-primaire); }
.wp-faq__item summary { padding: 18px 0; font-size: 1.08rem; font-weight: 700; }
.wp-faq__item[open] .wp-faq__reponse { animation: caron-deplie .35s var(--e) both; }
.wp-faq__reponse { max-width: 68ch; }
.wp-etape__numero { background: var(--c-accent); }
.wp-carte { box-shadow: var(--ombre-douce); border-color: transparent; }
/* 12/11 : ici une carte sans lien est une carte d'information (« Ce qui fait augmenter le prix », chantiers de
   rénovation et d'isolation), pas un emplacement vide. Le socle la passe à 55 % ; l'apparition au défilement
   le masquait, mais avec « réduire les animations » (iPhone) les cartes restaient pâles. */
.wp-carte--vide { opacity: 1; cursor: auto; }
.wp-carte__icone { background: var(--c-bleu-clair); color: var(--c-accent); border-radius: 50%; }
a.wp-carte:hover { box-shadow: var(--ombre-carte); border-color: var(--c-accent); }
.wp-carte__titre { font-size: 1.1rem; }
.wp-puces .wp-ic { color: var(--c-accent); }
.wp-texte-media__image { aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--ombre-carte); }
@media (min-width: 960px) {
  .wp-texte-media--right .wp-texte-media__media { margin-right: calc(-1 * min(72px, (100vw - var(--m-largeur-max)) / 2)); }
  .wp-texte-media--left .wp-texte-media__media { margin-left: calc(-1 * min(72px, (100vw - var(--m-largeur-max)) / 2)); }
}
.wp-form { box-shadow: var(--ombre-douce); border: 0; }
.wp-form input:focus, .wp-form textarea:focus { box-shadow: 0 0 0 3px var(--c-bleu-clair); border-color: var(--c-accent); }
.wp-form__consentement input { width: 24px; height: 24px; margin-top: 4px; }

/* ---------- Grille de prix, comparateur ---------- */

.wp-prix__table { border-top-color: var(--c-primaire); }
.wp-prix__ligne { transition: background .2s var(--e2); padding-inline: 8px; margin-inline: -8px; border-radius: 6px; }
@media (hover: hover) { .wp-prix__ligne:hover { background: #fff; } }
.wp-prix__montant { font-family: var(--f-titres); font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; color: var(--c-accent); }
.wp-comparateur__cadre { box-shadow: var(--ombre-douce); border-radius: var(--m-rayon); overflow: hidden; }
.wp-comparateur__colonne--extension { background: var(--c-bleu-clair); }
.wp-comparateur__colonne--extension .wp-comparateur__total { color: var(--c-accent); }
.wp-comparateur__commune, .wp-verificateur__commune { border-radius: var(--m-rayon-petit); }

/* ---------- Chiffres ---------- */

.wp-chiffres__bande { background: transparent; color: var(--c-primaire); padding: 0; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; border-top: 1px solid var(--c-primaire); }
.wp-chiffre { text-align: left; padding: 28px 24px 28px 0; border-bottom: 1px solid var(--c-bordure); }
@media (min-width: 760px) { .wp-chiffre + .wp-chiffre { padding-left: 24px; border-left: 1px solid var(--c-bordure); } }
.wp-chiffre__valeur { font-size: clamp(2.6rem, 1.6rem + 3.4vw, 4.4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--c-accent); }
.wp-chiffre__affixe { color: var(--c-primaire); font-weight: 700; opacity: 1; font-size: .4em; }
.wp-chiffre__libelle { opacity: 1; color: var(--c-texte-doux); margin-top: 10px; font-size: .92rem; }

/* ---------- Vérificateur, refus, lexique en bleu profond ---------- */

.wp-ton--sombre .wp-verificateur__cadre { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); border-radius: var(--m-rayon); }
.wp-ton--sombre .wp-verificateur__tete, .wp-ton--sombre .wp-verificateur__resultat { border-color: rgba(255,255,255,.16); }
.wp-ton--sombre .wp-verificateur__titre, .wp-ton--sombre .wp-verificateur__nom { color: #fff; }
.wp-ton--sombre .wp-verificateur__commune { border-color: rgba(255,255,255,.22); color: var(--c-sable-2); }
.wp-ton--sombre .wp-verificateur__commune:hover { border-color: #fff; color: #fff; }
.wp-ton--sombre .wp-verificateur__commune[aria-pressed="true"] { background: #fff; border-color: #fff; color: var(--c-nuit); }
.wp-ton--sombre .wp-verificateur__cellule dt, .wp-ton--sombre .wp-verificateur__source, .wp-ton--sombre .wp-verificateur__intro { color: var(--c-sable-2); }
.wp-ton--sombre .wp-verificateur__cellule dd { color: #fff; }
.wp-ton--sombre .wp-verificateur__fort { color: var(--c-ocre); }
.wp-ton--sombre .wp-verificateur__alerte { color: var(--c-sable); border-color: var(--c-ocre); }
.wp-verificateur__resultat { animation: caron-deplie .3s var(--e) both; }
/* Le sélecteur typographique du fond sombre était à 0,38 d'opacité, soit 2,7 de
   contraste sur le bleu nuit : sous le minimum de 3 exigé pour du gros texte. Relevé à
   0,52, ce qui donne 3,5. Le contrôle de contraste du kit ne voit pas ces rgba(). */
@media (min-width: 900px) {
  .wp-ton--sombre .wp-verificateur__communes { gap: 4px 26px; }
  .wp-ton--sombre .wp-verificateur__commune { border: 0; padding: 4px 0; min-height: 44px; background: transparent; font-family: var(--f-titres); font-size: clamp(1.4rem, 1rem + 1.3vw, 2rem); font-weight: 800; letter-spacing: -.02em; color: rgba(255,255,255,.52); transition: color .25s var(--e); }
  .wp-ton--sombre .wp-verificateur__commune:hover { color: #fff; }
  .wp-ton--sombre .wp-verificateur__commune[aria-pressed="true"] { background: transparent; color: var(--c-ocre); }
}
.wp-ton--sombre .wp-interdits__liste, .wp-ton--sombre .wp-interdit, .wp-ton--sombre .wp-lexique__liste, .wp-ton--sombre .wp-lexique__mot { border-color: rgba(255,255,255,.16); }
.wp-ton--sombre .wp-interdit__non { color: #fff; }
.wp-ton--sombre .wp-interdit__ou, .wp-ton--sombre .wp-note-source { color: var(--c-sable-2); }
.wp-ton--sombre .wp-interdit__oui { color: var(--c-sable); }
.wp-ton--sombre .wp-interdit__oui::before, .wp-ton--sombre .wp-lexique__mot dt { color: var(--c-ocre); }
.wp-ton--sombre .wp-lexique__mot dd { color: var(--c-sable); }
.wp-lexique__figure figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 40px 18px 16px; color: #fff; font-size: .9rem; background: linear-gradient(transparent, rgba(15,27,36,.85)); }
.wp-lexique__image { border-radius: var(--m-rayon); }
@media (min-width: 960px) { .wp-lexique__figure { margin-left: calc(-1 * max(2.5rem, (100vw - var(--m-largeur-max)) / 2)); } .wp-lexique__image { aspect-ratio: 4 / 5; border-radius: 0 var(--m-rayon) var(--m-rayon) 0; } }

/* ---------- Cartes avec photo, chantiers, équipe ---------- */

.wp-carte-photo { box-shadow: var(--ombre-douce); border: 0; border-radius: var(--m-rayon); }
.wp-carte-photo__image { transition: transform .7s var(--e); }
@media (min-width: 1120px) { .wp-cartes-photo__grille { align-items: start; } .wp-carte-photo:nth-child(even) { margin-top: 40px; } }
@media (hover: hover) { .wp-carte-photo { overflow: hidden; } a.wp-carte-photo:hover .wp-carte-photo__image { transform: scale(1.04); } }
.wp-collection__item { position: relative; border-top: 0; padding-top: 0; background: #fff; border-radius: var(--m-rayon); overflow: hidden; box-shadow: var(--ombre-douce); }
.wp-collection__media { aspect-ratio: 4 / 3; border-radius: 0; margin: 0; }
.wp-collection__image { transition: transform .7s var(--e); }
@media (hover: hover) { .wp-collection__item:hover .wp-collection__image { transform: scale(1.04); } }
.wp-collection__meta { position: absolute; top: 12px; left: 12px; margin: 0; z-index: 2; }
.wp-collection__badge { display: inline-block; padding: 7px 12px; background: #fff; color: var(--c-accent); border-radius: 6px; font-size: .68rem; font-weight: 700; letter-spacing: .12em; }
.wp-collection__item > .wp-collection__meta:first-child { position: static; margin: 18px 20px 0; }
.wp-collection__titre { margin: 0 20px; font-size: 1.15rem; padding-top: 14px; }
.wp-collection__chapo { margin: 0 20px 20px; font-size: .92rem; }
.wp-collection__titre a { background-image: linear-gradient(var(--c-accent), var(--c-accent)); }
.wp-collection__titre a:hover { color: var(--c-accent); }
.wp-collection__media::after {
  content: "→"; position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; display: grid; place-items: center;
  background: #fff; color: var(--c-primaire); border-radius: 50%; font-size: 1.2rem; opacity: 0; transform: translateY(8px); transition: opacity .3s var(--e), transform .3s var(--e);
}
@media (hover: hover) { .wp-collection__item:hover .wp-collection__media::after { opacity: 1; transform: none; } }
.wp-equipe__grille { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--c-primaire); }
.wp-equipe__personne { display: grid; gap: 6px 40px; padding: 26px 0; border-bottom: 1px solid var(--c-bordure); }
@media (min-width: 820px) { .wp-equipe__personne { grid-template-columns: minmax(200px, .8fr) 1.4fr; align-items: start; } .wp-equipe__portrait { grid-row: 1 / 4; } .wp-equipe__mots { grid-column: 2; } }
.wp-equipe__portrait--initiales { display: none; }
.wp-equipe__portrait { width: 120px; height: 120px; border-radius: var(--m-rayon); }
.wp-equipe__nom { font-size: 1.4rem; font-weight: 800; }
.wp-equipe__role { color: var(--c-accent); letter-spacing: 0; text-transform: none; font-weight: 600; font-size: .92rem; }
.wp-equipe__mots { margin: 0; max-width: 58ch; }

/* ---------- Note et avis, bande d'appel, pied ---------- */

.wp-note-avis { border-color: var(--c-bordure); padding-block: clamp(36px, 4.5vw, 52px); }
.wp-note-avis__note { font-weight: 800; color: var(--c-accent); }
.wp-bande-cta { background: var(--c-accent); padding-block: clamp(56px, 7vw, 96px); }
.wp-bande-cta__bloc { background: transparent; padding: 0; display: grid; gap: 24px; }
@media (min-width: 880px) { .wp-bande-cta__bloc { grid-template-columns: 1.4fr auto; align-items: center; } }
.wp-bande-cta h2 { max-width: 20ch; font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); }
.wp-bande-cta p { color: rgba(255,255,255,.86); max-width: 46ch; font-size: .95rem; }
.wp-main > .wp-bande-cta:last-child { padding-bottom: clamp(56px, 7vw, 96px); }
.wp-pied { background: var(--c-primaire); color: #9FB0BC; }
.wp-pied__nom, .wp-pied__titre { color: #fff; }
.wp-pied__baseline { color: #9FB0BC; max-width: 32ch; }
.wp-pied a { color: #DCE4EB; }
.wp-pied a:hover { color: #fff; }
.wp-pied__bas { border-top-color: rgba(255,255,255,.14); font-size: .8rem; }
.wp-pied__contact .wp-ic { color: var(--c-ocre); opacity: 1; }
.wp-pied__horaires { opacity: 1; color: #9FB0BC; }
/* Un chantier sans photo encore : la carte le dit, au lieu de laisser un trou. */
.wp-collection__item:not(:has(.wp-collection__media))::before {
  content: "Photos du chantier à venir"; display: block; padding: 46px 20px; text-align: center;
  background: linear-gradient(180deg, var(--c-bleu-clair), var(--c-fond-doux)); color: var(--c-accent); font-size: .85rem; font-weight: 600;
}

/* ---------- Bandeau défilant ---------- */

.wp-defilant { border-color: var(--c-bordure); background: #fff; }
.wp-defilant__liste li { font-weight: 800; letter-spacing: -.02em; color: var(--c-primaire); }
.wp-defilant__liste li:nth-child(even) { color: var(--c-accent); }
.wp-defilant__liste li::after { background: var(--c-rouge); width: 7px; height: 7px; border-radius: 50%; }
.wp-ton--sombre.wp-defilant { border-color: rgba(255,255,255,.16); background: var(--c-nuit); }
.wp-ton--sombre .wp-defilant__liste li { color: #fff; }
.wp-ton--sombre .wp-defilant__liste li:nth-child(even) { color: var(--c-ocre); }
.wp-ton--sombre .wp-defilant__liste li::after { background: var(--c-ocre); }

/* ---------- Le mouvement (conservé de la passe précédente) ---------- */

html.js:not(.pret) .wp-estimateur .wp-eyebrow, html.js:not(.pret) .wp-estimateur .wp-hero__titre, html.js:not(.pret) .wp-estimateur .wp-lead,
html.js:not(.pret) .wp-estimateur__points, html.js:not(.pret) .wp-estimateur__boite,
html.js:not(.pret) .wp-hero-fiche .wp-eyebrow, html.js:not(.pret) .wp-hero-fiche .wp-hero__titre, html.js:not(.pret) .wp-hero-fiche__suite,
html.js:not(.pret) .wp-hero-fiche .wp-fiche__ligne, html.js:not(.pret) .wp-hero-fiche .wp-fiche__tete { opacity: 0; transform: translateY(22px); }
html.js:not(.pret) .wp-hero-fiche__photo { clip-path: inset(0 0 0 100%); }
html.js:not(.pret) .wp-hero-fiche__image { transform: scale(1.08); }
html.js.pret .wp-estimateur .wp-eyebrow, html.js.pret .wp-estimateur .wp-hero__titre, html.js.pret .wp-estimateur .wp-lead,
html.js.pret .wp-estimateur__points, html.js.pret .wp-estimateur__boite,
html.js.pret .wp-hero-fiche .wp-eyebrow, html.js.pret .wp-hero-fiche .wp-hero__titre, html.js.pret .wp-hero-fiche__suite,
html.js.pret .wp-hero-fiche .wp-fiche__ligne, html.js.pret .wp-hero-fiche .wp-fiche__tete { opacity: 1; transform: none; transition: opacity .8s var(--e), transform .8s var(--e); }
html.js.pret .wp-estimateur .wp-hero__titre, html.js.pret .wp-hero-fiche .wp-hero__titre { transition-delay: .08s; }
html.js.pret .wp-estimateur .wp-lead, html.js.pret .wp-hero-fiche__suite { transition-delay: .2s; }
html.js.pret .wp-estimateur__points { transition-delay: .3s; }
html.js.pret .wp-estimateur__boite { transition-delay: .25s; }
html.js.pret .wp-hero-fiche .wp-fiche__tete { transition-delay: .4s; }
html.js.pret .wp-hero-fiche .wp-fiche__ligne:nth-child(2) { transition-delay: .46s; }
html.js.pret .wp-hero-fiche .wp-fiche__ligne:nth-child(3) { transition-delay: .52s; }
html.js.pret .wp-hero-fiche .wp-fiche__ligne:nth-child(4) { transition-delay: .58s; }
html.js.pret .wp-hero-fiche .wp-fiche__ligne:nth-child(5) { transition-delay: .64s; }
html.js.pret .wp-hero-fiche .wp-fiche__ligne:nth-child(6) { transition-delay: .7s; }
html.js.pret .wp-hero-fiche .wp-fiche__ligne:nth-child(7) { transition-delay: .76s; }
html.js.pret .wp-hero-fiche .wp-fiche__ligne:nth-child(8) { transition-delay: .82s; }
html.js.pret .wp-hero-fiche__photo { clip-path: inset(0 0 0 0); transition: clip-path 1.1s var(--e) .15s; }
html.js.pret .wp-hero-fiche__image { transform: none; transition: transform 1.6s var(--e) .15s; }
.wp-hero-fiche__photo { overflow: hidden; }
html.js .wp-hero-fiche .rv, html.js .wp-estimateur .rv { opacity: 1; transform: none; transition: none; }

html.js .wm .wm__w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
html.js .wm .wm__w > span { display: inline-block; transform: translateY(112%); transition: transform .75s var(--e); }
html.js .wm.in .wm__w > span { transform: none; }
html.js .clip img { clip-path: inset(0 0 100% 0); transition: clip-path .95s var(--e); }
html.js .clip.in img { clip-path: inset(0 0 0 0); }
@supports (animation-timeline: view()) {
  .wp-respiration__figure, .wp-texte-media__media, .wp-lexique__figure { overflow: hidden; }
  /* 12/11 : plus de parallaxe sur .wp-respiration__image, la photo agrandie recouvrait sa légende (Entreprise, Fontaine-le-Port) */
  .wp-texte-media__image, .wp-lexique__image { scale: 1.16; animation: caron-parallaxe linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  @keyframes caron-parallaxe { from { translate: 0 -7%; } to { translate: 0 7%; } }
}
html.js .rv { opacity: 0; transform: translateY(16px); transition: opacity .55s var(--e), transform .55s var(--e); }
html.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .rv, html.js:not(.pret) .wp-hero-fiche *, html.js:not(.pret) .wp-estimateur * { opacity: 1; transform: none; transition: none; clip-path: none; }
  .wp-respiration__image, .wp-texte-media__image, .wp-lexique__image { animation: none; scale: 1; translate: 0; }
  html.js .clip img { clip-path: none; transition: none; }
  html.js .wm .wm__w > span { transform: none; transition: none; }
  .wp-engagement[open] .wp-engagement__corps, .wp-faq__item[open] .wp-faq__reponse, .wp-verificateur__resultat { animation: none; }
  .caron-appel { transition: none; }
}

:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }
.wp-ton--sombre :focus-visible { outline-color: #fff; }









/* ---------- Visite 3D en tête d'accueil ---------- */
/* Scène three.js dans /medias/caron-3d/, reprise le 10/09/2026 au soir : la maison de la
   photo d'accueil, lumière à l'heure réelle et selon la météo de Melun, réglette de
   construction à droite. Sobre : du texte clair, peu de cadres, aucun texte sous 11 px. */
.wp-visite3d.caron-arch { display: block; padding: 0; min-height: 0; background: #20333d; }
.wp-visite3d.caron-arch::before { content: none; }
.caron-arch {
  position: relative; isolation: isolate; margin: 0; overflow: hidden;
  height: calc(100svh - 79px); min-height: 640px; max-height: 920px;
  color: #f4f3ee; font-family: var(--f-texte); contain: layout paint;
}
.caron-arch__viewport, .caron-arch__shade { position: absolute; inset: 0; }
.caron-arch__viewport { touch-action: pan-y; }
.caron-arch__viewport canvas { display: block; width: 100%; height: 100%; touch-action: pan-y !important; cursor: grab; position: relative; z-index: 1; opacity: 0; transition: opacity .7s ease; }
.caron-arch__viewport canvas:active { cursor: grabbing; }
.caron-arch--ready .caron-arch__viewport canvas { opacity: 1; }
.caron-arch__fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.55); }
/* L'image d'attente reste sous la 3D le temps de son fondu : c'est la même image, le passage ne se voit pas. */
.caron-arch--ready .caron-arch__fallback { visibility: hidden; transition: visibility 0s linear .8s; }
.caron-arch__shade {
  z-index: 2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(9, 27, 38, .78) 0%, rgba(9, 27, 38, .5) 24%, rgba(9, 27, 38, .08) 48%, transparent 64%),
    linear-gradient(0deg, rgba(9, 27, 38, .45) 0%, transparent 22%, transparent 84%, rgba(9, 27, 38, .28) 100%);
}
.caron-arch[data-moment="nuit"] .caron-arch__shade { background:
    linear-gradient(90deg, rgba(5, 14, 22, .7) 0%, rgba(5, 14, 22, .38) 26%, transparent 55%),
    linear-gradient(0deg, rgba(5, 14, 22, .4) 0%, transparent 24%); }

/* En haut : où et quel temps, à gauche ; le moment et le recentrage, à droite. */
.caron-arch__top { position: absolute; z-index: 4; top: 24px; left: 4%; right: 3%; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; pointer-events: none; }
.caron-arch__repere { display: grid; gap: 6px; text-shadow: 0 1px 10px rgba(8, 24, 32, .6); }
.caron-arch__signature { font-size: 11px; letter-spacing: .16em; font-weight: 650; text-transform: uppercase; }
.caron-arch__meteo { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; letter-spacing: .01em; color: #eef0ea; min-height: 20px; }
.caron-arch__meteo svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.caron-arch__tools { display: flex; gap: 8px; pointer-events: auto; }
.caron-arch button { font-family: inherit; cursor: pointer; }
.caron-arch__tools button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; min-width: 44px; padding: 0 15px; border-radius: 999px;
  background: rgba(12, 32, 44, .42); border: 1px solid rgba(255, 255, 255, .26); color: #f4f4ee;
  font-size: 13px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background .2s ease, border-color .2s ease;
}
.caron-arch__tools button:hover { background: rgba(12, 32, 44, .62); border-color: rgba(255, 255, 255, .55); }
.caron-arch__tools button:active { transform: scale(.97); }
.caron-arch__tools svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.caron-arch__reset { padding: 0 !important; }
.caron-arch__mode i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .55); }
.caron-arch__mode i.est-direct { background: #f6d49c; box-shadow: 0 0 0 0 rgba(246, 212, 156, .6); animation: caron-direct 2.4s ease-out infinite; }
@keyframes caron-direct { 0% { box-shadow: 0 0 0 0 rgba(246, 212, 156, .55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(246, 212, 156, 0); } }

/* Le texte, à gauche. Le titre est le h1 de la page, celui d'Élisabeth. */
.caron-arch__copy { position: absolute; z-index: 3; left: 4%; top: 50%; transform: translateY(-54%); max-width: min(520px, 40%); pointer-events: none; }
.caron-arch__eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin: 0 0 18px; color: #f3dcb2; text-shadow: 0 1px 10px rgba(8, 24, 32, .5); }
.caron-arch__title {
  font: 700 clamp(34px, 3.3vw, 56px)/1.04 var(--f-titres); letter-spacing: -.035em;
  margin: 0 0 26px; color: #f7f5ef; text-wrap: balance; text-shadow: 0 2px 22px rgba(8, 24, 32, .35);
}
.caron-arch__title em { font-style: normal; color: #9fd2ee; }
.caron-arch__intro { font-size: 15px; line-height: 1.6; color: #e7ede8; margin: 0 0 26px; max-width: 32ch; }
.caron-arch a { color: inherit; text-decoration: none; }
.caron-arch__cta {
  display: inline-flex; align-items: center; gap: 18px; min-height: 50px; padding: 0 20px;
  background: #f4f3ec; color: #133848 !important; font-size: 14px; font-weight: 650; border-radius: var(--m-rayon-petit);
  pointer-events: auto; transition: background .2s ease, transform .2s ease;
}
.caron-arch__cta span { font-size: 17px; font-weight: 400; }
.caron-arch__cta:hover { background: #fff; transform: translateY(-2px); }
.caron-arch__cta:active { transform: translateY(0) scale(.98); }

/* La réglette de construction, à droite, réduite à l'essentiel : un trait, un point, le
   nom de l'étape en cours. Les autres noms n'apparaissent qu'au survol. Elle se montre une
   fois la maison montée. */
.caron-arch__chantier {
  position: absolute; z-index: 4; right: 3.4%; top: 50%; transform: translate(10px, -50%);
  display: grid; justify-items: end; gap: 14px; opacity: 0; pointer-events: none;
  transition: opacity .7s ease, transform .7s cubic-bezier(.16, 1, .3, 1);
}
.caron-arch__chantier.est-visible { opacity: 1; transform: translate(0, -50%); pointer-events: auto; }
.caron-arch__rail { position: relative; width: 160px; height: min(34vh, 280px); touch-action: none; outline: none; cursor: ns-resize; }
.caron-arch__rail-fond { position: absolute; right: 10px; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, .3); }
.caron-arch__rail-plein { position: absolute; inset: 0; background: rgba(255, 255, 255, .92); transform-origin: bottom; transform: scaleY(0); }
.caron-arch__curseur {
  --pos: 0; position: absolute; right: 6px; bottom: calc(var(--pos) * 100%); width: 9px; height: 9px; margin-bottom: -4.5px;
  border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(255, 255, 255, .13), 0 1px 6px rgba(0, 0, 0, .35); pointer-events: none;
}
.caron-arch__rail:focus-visible .caron-arch__curseur { box-shadow: 0 0 0 2px #13344a, 0 0 0 4px #f6ddae; }
.caron-arch__etape {
  --pos: 0; position: absolute; right: 0; bottom: calc(var(--pos) * 100%); transform: translateY(50%);
  display: flex; align-items: center; min-height: 32px; min-width: 44px; justify-content: flex-end; padding: 0 26px 0 0;
  background: none; border: 0; font-size: 12px; letter-spacing: .03em; white-space: nowrap;
  color: transparent; transition: color .25s ease;
}
.caron-arch__etape::after { content: ""; position: absolute; right: 8.5px; width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .55); }
.caron-arch__etape span { display: none; }
.caron-arch__etape.est-courante { color: #fff; text-shadow: 0 1px 8px rgba(8, 24, 32, .6); }
.caron-arch__rail:hover .caron-arch__etape:not(.est-courante) { color: rgba(255, 255, 255, .62); text-shadow: 0 1px 8px rgba(8, 24, 32, .6); }
.caron-arch__etape:hover { color: #fff !important; }
.caron-arch__rejouer {
  display: inline-flex; align-items: center; justify-content: center; gap: 0; width: 44px; height: 44px; padding: 0;
  margin-right: -7px; border-radius: 50%; background: none; border: 0; color: rgba(255, 255, 255, .78);
  transition: color .2s ease, transform .2s ease;
}
.caron-arch__rejouer span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.caron-arch__rejouer:hover { color: #fff; transform: rotate(-30deg); }
.caron-arch__rejouer svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }

.caron-arch__hint { position: absolute; z-index: 3; left: 56%; bottom: 26px; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; font-size: 12px; color: #eef0ea; text-shadow: 0 1px 8px rgba(8, 24, 32, .6); pointer-events: none; white-space: nowrap; opacity: .85; }
.caron-arch__hint svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.caron-arch__mention { position: absolute; z-index: 3; left: 4%; bottom: 22px; margin: 0; font-size: 11px; letter-spacing: .02em; color: rgba(236, 240, 236, .72); text-shadow: 0 1px 8px rgba(8, 24, 32, .6); }

.caron-arch__loading { position: absolute; z-index: 5; left: 62%; top: 48%; transform: translate(-50%, -50%); background: rgba(14, 38, 50, .82); padding: 18px 26px; min-width: 230px; text-align: center; font-size: 13px; border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--m-rayon-petit); }
.caron-arch__loading[hidden] { display: none; }
.caron-arch__loading-track { height: 2px; display: block; background: rgba(255, 255, 255, .22); margin-top: 14px; overflow: hidden; }
.caron-arch__loading-track i { height: 100%; display: block; background: #e7cfa2; transform: scaleX(.02); transform-origin: left; transition: transform .2s; }
.caron-arch :focus-visible { outline: 2px solid #f6ddae; outline-offset: 4px; }
#hero { scroll-margin-top: 90px; }

@media (max-width: 1000px) and (min-width: 701px) {
  .caron-arch__copy { max-width: 44%; }
  .caron-arch__title { font-size: 36px; }
  .caron-arch__rail { width: 130px; }
}
@media (max-width: 700px) {
  .caron-arch { height: calc(100svh - 79px); min-height: 660px; max-height: 880px; }
  .caron-arch__shade { background: linear-gradient(180deg, rgba(9, 27, 38, .78) 0%, rgba(9, 27, 38, .35) 36%, transparent 55%, transparent 76%, rgba(9, 27, 38, .55) 100%); }
  .caron-arch__top { top: 16px; left: 20px; right: 16px; }
  .caron-arch__tools button { padding: 0 12px; font-size: 12px; }
  .caron-arch__copy { left: 20px; right: 20px; top: 84px; transform: none; max-width: none; }
  .caron-arch__eyebrow { font-size: 11px; margin-bottom: 12px; }
  .caron-arch__title { font-size: 29px; margin-bottom: 16px; }
  .caron-arch__cta { min-height: 46px; font-size: 13px; }
  /* Sur téléphone, la réglette descend sous la maison, plus courte. */
  .caron-arch__chantier { top: auto; bottom: 54px; right: 14px; transform: translate(8px, 0); gap: 8px; }
  .caron-arch__chantier.est-visible { transform: none; }
  .caron-arch__rail { height: 22vh; width: 120px; }
  .caron-arch__rail:hover .caron-arch__etape:not(.est-courante) { color: transparent; text-shadow: none; }
  .caron-arch__meteo { font-size: 12px; max-width: 190px; }
  .caron-arch__tools button { white-space: nowrap; }
  .caron-arch__etape { font-size: 12px; }
  .caron-arch__etape:not(.est-courante) { font-size: 0; gap: 0; }
  .caron-arch__etape:not(.est-courante) span { font-size: 11px; }
  .caron-arch__hint { display: none; }
  .caron-arch__mention { left: 20px; bottom: 18px; }
  .caron-arch__loading { left: 50%; top: 62%; }
}
@media (prefers-reduced-motion: reduce) {
  .caron-arch *, .caron-arch__chantier { animation: none !important; transition: none !important; }
  .caron-arch__cta:hover { transform: none; }
}

/* ---------- Visite 3D : interface allégée (10/09/2026, 21h30) ----------
   Deux éléments seulement au repos : l'indicateur du lieu, de l'heure et du temps, qui sert
   aussi à changer de moment, et la réglette. Le bouton pour revenir au point de vue de
   départ n'apparaît qu'après avoir tourné. La consigne se montre une fois, puis s'efface.
   Le chargement n'est plus une boîte : un trait au bas de l'image. */
.caron-arch__meteo {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 12px 0 0;
  background: none; border: 0; color: #eef0ea; font: inherit; font-size: 13px; cursor: pointer; text-align: left;
  pointer-events: auto;
  text-shadow: 0 1px 10px rgba(8, 24, 32, .6); transition: color .2s ease;
}
.caron-arch__meteo:hover span { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); text-underline-offset: 4px; }
.caron-arch__direct { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .5); flex: none; }
.caron-arch__meteo.est-direct .caron-arch__direct { background: #f6d49c; animation: caron-direct 2.4s ease-out infinite; }
.caron-arch__moment:empty { display: none; }
.caron-arch__moment {
  font-style: normal; font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 8px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; color: #fff;
}
.caron-arch__reset[hidden] { display: none; }
.caron-arch__tools .caron-arch__reset { background: rgba(12, 32, 44, .3); border-color: rgba(255, 255, 255, .22); }
.caron-arch__hint { opacity: 0; transition: opacity .8s ease; }
.caron-arch__hint.est-visible { opacity: .85; }
.caron-arch__fallback { filter: none; }
.caron-arch__shade {
  background:
    linear-gradient(90deg, rgba(9, 27, 38, .66) 0%, rgba(9, 27, 38, .4) 24%, rgba(9, 27, 38, .06) 48%, transparent 62%),
    linear-gradient(0deg, rgba(9, 27, 38, .34) 0%, transparent 20%, transparent 86%, rgba(9, 27, 38, .22) 100%);
}
.caron-arch__loading {
  left: 0; right: 0; top: auto; bottom: 0; transform: none; min-width: 0; padding: 0; height: 2px;
  background: none; border: 0; border-radius: 0;
}
.caron-arch__loading-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.caron-arch__loading-track { margin: 0; height: 2px; background: rgba(255, 255, 255, .12); }
.caron-arch--error .caron-arch__loading {
  left: 62%; top: 48%; bottom: auto; height: auto; transform: translate(-50%, -50%);
  padding: 16px 22px; background: rgba(14, 38, 50, .82); border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--m-rayon-petit);
}
.caron-arch--error .caron-arch__loading-text { position: static; width: auto; height: auto; clip: auto; }
@media (max-width: 700px) {
  .caron-arch__meteo { font-size: 12px; }
  .caron-arch--error .caron-arch__loading { left: 50%; top: 62%; }
}
@media (prefers-reduced-motion: reduce) {
  .caron-arch__meteo.est-direct .caron-arch__direct { animation: none; }
}

/* Reprise du 11/09 : étapes accessibles pendant le montage, pause et réglette tactile. */
.caron-arch__shade { background: linear-gradient(90deg, #091b26cc 0%, #091b269e 27%, #091b261a 48%, transparent 64%), linear-gradient(0deg, #091b2657 0%, transparent 20%, transparent 86%, #091b2638 100%); }
.caron-arch__rail { --avance: 0; height: clamp(220px, 35vh, 285px); width: 135px; }
.caron-arch__rail-plein { transform: scaleY(var(--avance)); }
.caron-arch__scrubber { position: absolute; right: -7px; top: -12px; bottom: -12px; width: 34px; z-index: 2; cursor: ns-resize; border-radius: 15px; }
.caron-arch__rail-fond, .caron-arch__curseur { pointer-events: none; }
.caron-arch__etape { min-height: 44px; color: #d7e0e4; padding-right: 33px; font-size: 11px; text-shadow: 0 1px 6px #10212fe6; }
.caron-arch__etape.est-courante { font-weight: 650; color: #fff; }
.caron-arch__rail:hover .caron-arch__etape:not(.est-courante) { color: #e6edf0; }
.caron-arch__etape:focus-visible { color: #fff; }
.caron-arch__rejouer { width: auto; min-width: 98px; gap: 9px; margin-right: -6px; padding: 0 13px; border: 1px solid #ffffff40; border-radius: 24px; background: #10283880; color: #f3f4ee; }
.caron-arch__rejouer span { position: static; width: auto; height: auto; clip: auto; font-size: 11px; }
.caron-arch__rejouer:hover { transform: none; background: #102838c9; }
.caron-arch__viewport canvas { touch-action: pan-y !important; }
@media (max-width: 700px) {
  .caron-arch__chantier, .caron-arch__chantier.est-visible { left: 20px; right: 20px; bottom: 49px; top: auto; transform: none; display: flex; flex-direction: column; align-items: center; gap: 4px; }
  .caron-arch__rail { width: calc(100% - 48px); height: 70px; }
  .caron-arch__rail-fond { left: 0; right: 0; top: 4px; bottom: auto; width: auto; height: 2px; }
  .caron-arch__rail-plein { transform: scaleX(var(--avance)); transform-origin: left; }
  .caron-arch__curseur { left: calc(var(--pos) * 100%); right: auto; top: 1px; bottom: auto; margin: 0 0 0 -4.5px; }
  .caron-arch__scrubber { left: -12px; right: -12px; top: -20px; bottom: auto; width: auto; height: 44px; cursor: ew-resize; }
  .caron-arch__etape { top: 25px; bottom: auto; left: calc(var(--pos) * 100%); right: auto; transform: translateX(-50%); padding: 0 2px; min-width: 55px; min-height: 44px; justify-content: center; font-size: 10px !important; letter-spacing: 0; color: #e6edf0 !important; }
  .caron-arch__etape::after, .caron-arch__etape span { display: none; }
  .caron-arch__etape.est-courante { color: #fff !important; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #e7cfa2; }
  .caron-arch__rejouer { min-height: 40px; height: 40px; margin: 0; }
  .caron-arch__hint { display: flex; left: 50%; bottom: 186px; font-size: 10px; }
  .caron-arch__shade { background: linear-gradient(180deg, #091b26cc 0%, #091b2645 34%, transparent 47%, transparent 64%, #091b26c4 88%, #091b26c4 100%); }
}

/* Chargement de la visite (11/09) : le toit rouge du logo se trace, les murs et la porte suivent,
   l'anneau clair suit le vrai chargement. Posé dès l'arrivée par charte.js, repris par la visite. */
.wp-visite3d[data-module] { position: relative; }
.caron-arch__loading, .caron-arch .caron-arch__loading {
  position: absolute; z-index: 6; left: 62%; right: auto; top: 50%; bottom: auto; transform: translate(-50%, -50%);
  width: 260px; height: auto; min-width: 0; padding: 0; background: none; border: 0; border-radius: 0;
  display: grid; justify-items: center; gap: 8px; color: #f4f3ee; pointer-events: none; text-align: center;
  transition: opacity .4s cubic-bezier(.4, 0, 1, 1);
}
.caron-arch__loading::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 340px; height: 340px; transform: translate(-50%, -50%); z-index: -1;
  background: radial-gradient(closest-side, rgba(9, 27, 38, .82), rgba(9, 27, 38, .5) 52%, rgba(9, 27, 38, 0));
}
.caron-arch__loading.est-fini { opacity: 0; }
.caron-arch__loader { width: 116px; height: 116px; overflow: visible; }
.caron-arch__loader circle, .caron-arch__loader path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.caron-arch__loader .anneau-fond { stroke: rgba(255, 255, 255, .14); stroke-width: 1.4; }
.caron-arch__loader .anneau {
  stroke: #e7cfa2; stroke-width: 1.6; stroke-dasharray: 100 100; stroke-dashoffset: calc(100 - var(--p, 3));
  transform: rotate(-90deg); transform-origin: 60px 60px; transition: stroke-dashoffset .45s cubic-bezier(.2, 0, 0, 1);
}
.caron-arch__loader .toit { stroke: var(--c-rouge, #d8262c); stroke-width: 4.2; stroke-dasharray: 100; animation: caron-trace 2.2s cubic-bezier(.65, 0, .35, 1) infinite; }
.caron-arch__loader .murs { stroke: #f4f3ee; stroke-width: 2.4; stroke-dasharray: 100; animation: caron-trace 2.2s cubic-bezier(.65, 0, .35, 1) .22s infinite; }
.caron-arch__loader .porte { stroke: #e7cfa2; stroke-width: 2; stroke-dasharray: 100; animation: caron-trace 2.2s cubic-bezier(.65, 0, .35, 1) .44s infinite; }
@keyframes caron-trace { 0% { stroke-dashoffset: 100; } 42%, 72% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -100; } }
.caron-arch__loading-pct { font-variant-numeric: tabular-nums; font-size: 15px; font-weight: 600; letter-spacing: .06em; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.caron-arch__loading .caron-arch__loading-text {
  position: static; width: auto; height: auto; overflow: visible; clip: auto;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; opacity: .85; text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
}
.caron-arch__loading-track { display: none !important; }
.caron-arch--error .caron-arch__loader, .caron-arch--error .caron-arch__loading-pct { display: none; }
@media (max-width: 700px) { .caron-arch__loading, .caron-arch .caron-arch__loading { left: 50%; top: 66%; } }
@media (prefers-reduced-motion: reduce) {
  .caron-arch__loader .toit, .caron-arch__loader .murs, .caron-arch__loader .porte { animation: none; stroke-dashoffset: 0; }
}

/* Voile blanc à gauche (Thomas, 11/09 14h47) : la scène part d'un blanc cassé côté texte ;
   les textes passent en encre foncée, le bouton en bleu nuit. */
.caron-arch__shade, .caron-arch[data-moment="nuit"] .caron-arch__shade {
  background: linear-gradient(90deg, rgba(248, 247, 243, .97) 0%, rgba(248, 247, 243, .9) 22%, rgba(248, 247, 243, .55) 38%, rgba(248, 247, 243, .12) 52%, rgba(248, 247, 243, 0) 62%);
}
.caron-arch__eyebrow { color: #8a6a33; text-shadow: none; }
.caron-arch__title { color: #0e2632; text-shadow: none; }
.caron-arch .caron-arch__title em { color: #006090; }
.caron-arch__intro { color: #34454f; }
.caron-arch__cta { background: #0e2632; color: #fff !important; }
.caron-arch__cta:hover { background: #006090; }
.caron-arch__meteo { color: #1d3440; text-shadow: none; }
.caron-arch__meteo:hover span { text-decoration-color: rgba(14, 38, 50, .4); }
.caron-arch__direct { background: rgba(14, 38, 50, .4); }
.caron-arch__meteo svg { stroke: currentColor; }
.caron-arch__moment { color: #1d3440; border-color: rgba(14, 38, 50, .3); }
.caron-arch__mention { color: rgba(20, 40, 52, .72); text-shadow: none; }
.caron-arch__tools .caron-arch__reset { background: rgba(255, 255, 255, .7); border-color: rgba(14, 38, 50, .2); color: #0e2632; }
@media (max-width: 700px) {
  .caron-arch__shade, .caron-arch[data-moment="nuit"] .caron-arch__shade {
    background: linear-gradient(180deg, rgba(248, 247, 243, .97) 0%, rgba(248, 247, 243, .88) 30%, rgba(248, 247, 243, .3) 44%, transparent 52%, transparent 64%, #091b26c4 88%, #091b26c4 100%);
  }
  .caron-arch__mention { color: rgba(240, 242, 238, .8); text-shadow: 0 1px 8px rgba(8, 24, 32, .6); }
}

/* Visite photo (rendus Blender Cycles, 11/09) : la vidéo de construction et la toile du glissement
   se superposent dans le viewport ; le moteur bascule de l'une à l'autre par l'opacité. */
.caron-arch__viewport .caron-photo__film, .caron-arch__viewport .caron-photo__tour {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: opacity .45s ease;
}
.caron-arch__viewport .caron-photo__tour { cursor: grab; touch-action: pan-y !important; }
.caron-arch__viewport .caron-photo__tour:active { cursor: grabbing; }
.caron-arch[data-render-mode="photo"] .caron-arch__fallback { filter: none; }
@media (prefers-reduced-motion: reduce) { .caron-arch__viewport .caron-photo__film, .caron-arch__viewport .caron-photo__tour { transition: none; } }
/* Sur la photo, les noms d'étapes passent sur du ciel clair : une ombre douce les garde lisibles. */
.caron-arch[data-render-mode="photo"] .caron-arch__etape { text-shadow: 0 1px 2px rgba(8, 24, 32, .55), 0 0 12px rgba(8, 24, 32, .45); }

/* Voile de nuit (Thomas, 11/09 19h55 : « voile sombre la nuit ») : blanc le jour, bleu nuit quand la photo
   affichée est la série de nuit (data-lumiere, posé par photo.js) ou la 3D de nuit ; les textes repassent en clair. */
.caron-arch[data-lumiere="nuit"] .caron-arch__shade,
.caron-arch[data-render-mode="webgl"][data-moment="nuit"] .caron-arch__shade {
  background: linear-gradient(90deg, rgba(8, 20, 30, .9) 0%, rgba(8, 20, 30, .8) 22%, rgba(8, 20, 30, .45) 38%, rgba(8, 20, 30, .1) 52%, rgba(8, 20, 30, 0) 62%);
}
.caron-arch[data-lumiere="nuit"] .caron-arch__eyebrow, .caron-arch[data-render-mode="webgl"][data-moment="nuit"] .caron-arch__eyebrow { color: #e7cfa2; }
.caron-arch[data-lumiere="nuit"] .caron-arch__title, .caron-arch[data-render-mode="webgl"][data-moment="nuit"] .caron-arch__title { color: #f6f4ee; }
.caron-arch[data-lumiere="nuit"] .caron-arch__title em, .caron-arch[data-render-mode="webgl"][data-moment="nuit"] .caron-arch__title em { color: #9fd2ee; }
.caron-arch[data-lumiere="nuit"] .caron-arch__intro, .caron-arch[data-render-mode="webgl"][data-moment="nuit"] .caron-arch__intro { color: #d7e0e4; }
.caron-arch[data-lumiere="nuit"] .caron-arch__cta, .caron-arch[data-render-mode="webgl"][data-moment="nuit"] .caron-arch__cta { background: #f6f4ee; color: #0e2632 !important; }
.caron-arch[data-lumiere="nuit"] .caron-arch__cta:hover, .caron-arch[data-render-mode="webgl"][data-moment="nuit"] .caron-arch__cta:hover { background: #ffffff; }
.caron-arch[data-lumiere="nuit"] .caron-arch__meteo, .caron-arch[data-render-mode="webgl"][data-moment="nuit"] .caron-arch__meteo { color: #e9eef0; }
.caron-arch[data-lumiere="nuit"] .caron-arch__moment, .caron-arch[data-render-mode="webgl"][data-moment="nuit"] .caron-arch__moment { color: #e9eef0; border-color: rgba(233, 238, 240, .35); }
.caron-arch[data-lumiere="nuit"] .caron-arch__mention, .caron-arch[data-render-mode="webgl"][data-moment="nuit"] .caron-arch__mention { color: rgba(233, 238, 240, .78); }
.caron-arch[data-lumiere="nuit"] .caron-arch__tools .caron-arch__reset { background: rgba(8, 20, 30, .6); border-color: rgba(233, 238, 240, .25); color: #f6f4ee; }
@media (max-width: 700px) {
  .caron-arch[data-lumiere="nuit"] .caron-arch__shade, .caron-arch[data-render-mode="webgl"][data-moment="nuit"] .caron-arch__shade {
    background: linear-gradient(180deg, rgba(8, 20, 30, .92) 0%, rgba(8, 20, 30, .82) 30%, rgba(8, 20, 30, .3) 44%, transparent 52%, transparent 64%, #091b26c4 88%, #091b26c4 100%);
  }
}

/* ---------- Croquis au chantier et esquisses (12/09/2026) ----------
   Le haut de page croquis a ses propres entrées (site.css) : pas de dévoilement rv dessus, sinon le titre
   apparaît deux fois. Les esquisses (trait, crayon, photo empilés) doivent bouger d'un bloc : ni clip, ni
   parallaxe, ni zoom sur la photo seule. */
html.js .wp-croquis .rv { opacity: 1; transform: none; transition: none; }
html.js .clip .wp-esquisse img { clip-path: none; transition: none; }
.wp-esquisse .wp-texte-media__image, .wp-esquisse .wp-lexique__image { scale: 1; translate: 0; animation: none; }
html.js .wp-esquisse .wp-hero-fiche__image { transform: none; transition: none; }
html.js .wp-hero-fiche__photo:has(.wp-esquisse) { clip-path: none; transition: none; }
/* Le budget en ligne arrive avec la boîte de l'estimateur, juste après elle. */
html.js:not(.pret) .wp-estimateur__sortie--ligne { opacity: 0; transform: translateY(14px); }
html.js.pret .wp-estimateur__sortie--ligne { opacity: 1; transform: none; transition: opacity .6s var(--e) .38s, transform .6s var(--e) .38s; }


/* 01/12/2026 : bandeau de consentement, plus de fleche ni de soulevement au survol. */
.wp-consent .wp-btn--primaire::after { content: none; }
.wp-consent .wp-btn:hover { transform: none; }
