/* Montserrat hébergée avec le site (une seule police variable, graisses 500 à 900, caractères latins) */
@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-latin.woff") format("woff");
  font-weight: 500 900;
  font-style: normal;
  font-display: swap;
}
/* Barlow Condensed 500 hébergée avec le site (boutons, menu) : aucun appel à Google Fonts */
@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/barlow-condensed-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* =========================================================
   BEURK Nettoyage — site « affiche »
   Couleurs, logo, typo et ton : charte BEURK.
   Le bleu reste un trait ou un petit élément, jamais un aplat.
   ========================================================= */

:root {
  --blanc: #FFFFFF;
  --anthra: #2F363A;
  --bleu: #3B7BC0;
  --signal: #1A8BC6;
  --labo: #CDD1D2;
  --clair: #E6E9EA;
  --visee: #A9AFB3;

  --entete: 82px;
  --gout: clamp(16px, 2.8vw, 40px);
  --f-titre: "Montserrat", "Arial Black", Arial, sans-serif;
  --f-cond: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --ease-ressort: cubic-bezier(.34, 1.56, .64, 1);
}

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

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

body {
  margin: 0;
  background: var(--labo);
  color: var(--anthra);
  font-family: var(--f-titre);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* Grain imprimé léger (feTurbulence), au-dessus de tout, sans capter la souris */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: .42;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .18 0 0 0 0 .21 0 0 0 0 .23 1.3 0 0 0 -.58'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

img, svg { display: block; }
a { color: inherit; }
b, strong { font-weight: 800; }

.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.evitement {
  position: fixed;
  left: 12px; top: 12px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--anthra);
  color: var(--blanc);
  border-radius: 999px;
  font: 500 13px/1 var(--f-cond);
  text-transform: uppercase;
  letter-spacing: .08em;
  text-decoration: none;
  transform: translateY(-200%);
}
.evitement:focus { transform: none; }

:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

/* ---------- Annotations minuscules ---------- */
.annot {
  margin: 0;
  font: 500 12px/1.4 var(--f-titre);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.annot b { display: block; font-weight: 800; letter-spacing: .03em; margin-bottom: 4px; }
.annot--clair { color: var(--clair); }

/* ---------- Pilules (48px), remplissage depuis le bas au survol ---------- */
.pill, .btn-plein {
  --pf: var(--anthra);
  --pb: var(--blanc);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--pb);
  color: var(--pf);
  font: 500 13px/1 var(--f-cond);
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
}
.pill--sombre, .btn-plein { --pf: var(--blanc); --pb: var(--anthra); }
.pill::after, .btn-plein::after {
  content: attr(data-label);
  content: attr(data-label) / "";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: inherit;
  background: var(--pf);
  color: var(--pb);
  clip-path: inset(100% 0 0 0);
  transition: clip-path .5s var(--ease-io);
}
.pill--sombre::after, .btn-plein::after {
  background: var(--blanc);
  color: var(--anthra);
  box-shadow: inset 0 0 0 1.5px var(--anthra);
}
@media (hover: hover) and (pointer: fine) {
  .pill:hover::after, .btn-plein:hover::after { clip-path: inset(0 0 0 0); }
}
.pill:focus-visible::after, .btn-plein:focus-visible::after { clip-path: inset(0 0 0 0); }

/* ---------- Filet pointillé bleu (4px, points ronds tous les 10px) ---------- */
.filet {
  height: 4px;
  background-image: radial-gradient(circle at 2px 2px, var(--bleu) 1.55px, transparent 2.05px);
  background-size: 10px 4px;
  background-repeat: repeat-x;
}
.motion .filet[data-filet] { clip-path: inset(0 100% 0 0); }

/* ---------- Barre de progression ---------- */
.progression {
  position: fixed;
  left: 0; right: 0; top: 0;
  height: 3px;
  z-index: 90;
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s ease;
}
.progression span {
  display: block;
  height: 100%;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.progression.is-on { opacity: 1; }

/* ---------- En-tête fixe ---------- */
.entete {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: var(--labo);
}
.entete__barre {
  height: var(--entete);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 0 var(--gout);
}
.entete__nav, .entete__actions { display: flex; gap: 8px; }
.entete__actions { justify-content: flex-end; }
.entete__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--anthra);
  text-decoration: none;
}
.logo-symbole { width: 42px; height: 42px; overflow: visible; }
.entete__mot { display: flex; flex-direction: column; }
.entete__mot strong { font: 800 18px/1 var(--f-titre); letter-spacing: .01em; }
.entete__mot span { font: 500 8.5px/1 var(--f-titre); letter-spacing: .34em; margin-top: 4px; }
.filet--entete { position: absolute; left: 0; right: 0; top: 100%; }

/* ---------- Texture : silhouettes d'outils ---------- */
.outils {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.outil {
  position: absolute;
  width: var(--w);
  height: auto;
  color: var(--anthra);
  opacity: .16;
  mix-blend-mode: multiply;
  transform: rotate(var(--r));
}
.outil--leger { opacity: .09; }

/* ---------- Recadrages des planches de la charte ----------
   Chaque morceau est un petit JPG séparé (dossier img/), chargé seulement à l'approche
   (loading="lazy"), avec largeur et hauteur déclarées pour éviter tout décalage de mise en page. */
.crop {
  display: block;
  width: 100%;
  aspect-ratio: var(--w) / var(--h);
  overflow: hidden;
  background-color: var(--labo);
}
.crop > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* Coins de visée (signature de la marque) */
.visee {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 0 solid var(--anthra);
  pointer-events: none;
  transition: transform .7s var(--ease-out);
}
.visee--hg { top: -9px; left: -9px; border-top-width: 2px; border-left-width: 2px; }
.visee--hd { top: -9px; right: -9px; border-top-width: 2px; border-right-width: 2px; }
.visee--bg { bottom: -9px; left: -9px; border-bottom-width: 2px; border-left-width: 2px; }
.visee--bd { bottom: -9px; right: -9px; border-bottom-width: 2px; border-right-width: 2px; }

.cadre { margin: 0; position: relative; z-index: 1; }
.cadre__img { position: relative; }
.cadre__img .crop { border-radius: 6px; }
.cadre figcaption { margin-top: 18px; }

/* ---------- Médaillons (52px) ---------- */
.medaillon {
  position: relative;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--anthra);
  color: var(--blanc);
}
.medaillon::after {
  content: "";
  position: absolute;
  top: 3px; right: 3px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--bleu);
}
.medaillon--clair { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .85); }
.medaillon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .8s var(--ease-ressort);
}
@media (hover: hover) and (pointer: fine) {
  .diag__ligne:hover .medaillon svg,
  .colonne:hover .medaillon svg { transform: rotate(180deg); }
}

/* =========================================================
   L'emblème 3D (construit par script.js)
   ========================================================= */
.emb {
  --s: 300px;
  position: relative;
  width: var(--s);
  height: var(--s);
  perspective: calc(var(--s) * 5);
}
.emb > svg { width: 100%; height: 100%; overflow: visible; } /* repli sans JS */
.emb__rig {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}
.emb__l {
  position: absolute;
  inset: 0;
  border-radius: 15%;
}
.emb__back, .emb__face { background: var(--anthra); }
.emb__slice { background: #262C30; }
.emb__slice--rim { background: #B9C0C4; }
.emb__slice--rim2 { background: #535C61; }
.emb__face { overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.emb__sheen {
  position: absolute;
  inset: -10% -70%;
  background: linear-gradient(104deg,
    transparent 44%, rgba(255, 255, 255, .16) 44.3%, rgba(255, 255, 255, .16) 48.5%,
    transparent 48.8%, transparent 51.5%, rgba(255, 255, 255, .08) 51.8%, rgba(255, 255, 255, .08) 53%,
    transparent 53.3%);
}
.emb__back {
  display: grid;
  place-items: center;
  color: var(--visee);
}
.emb__back-txt {
  font: 700 calc(var(--s) * .045)/1.5 var(--f-titre);
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}
.emb__back-txt i {
  display: block;
  margin: 0 auto calc(var(--s) * .05);
  width: calc(var(--s) * .16);
  height: calc(var(--s) * .16);
  background:
    linear-gradient(var(--bleu), var(--bleu)) center / 100% 26% no-repeat,
    linear-gradient(var(--bleu), var(--bleu)) center / 26% 100% no-repeat;
}
.emb__glyph, .emb__plus, .emb__visee {
  border-radius: 0;
  backface-visibility: hidden;
}
.emb__glyph {
  display: flex;
  align-items: center;
  justify-content: center;
}
.emb__glyph span {
  font: 800 calc(var(--s) * .56)/1 var(--f-titre);
  letter-spacing: -.02em;
  color: var(--blanc);
  transform: translate(-4%, 3%);
}
/* Le « + » bleu, en relief : plusieurs couches empilées */
.emb__plus::before, .emb__plus::after {
  content: "";
  position: absolute;
  background: var(--bleu);
}
.emb__plus::before { left: calc(82% - var(--s) * .025); top: 9%; width: calc(var(--s) * .05); height: 18%; }
.emb__plus::after { left: 73%; top: calc(18% - var(--s) * .025); width: 18%; height: calc(var(--s) * .05); }
.emb__plus--fond::before, .emb__plus--fond::after { background: #2A5C91; }
.emb__visee { inset: -13%; }
.emb__visee i {
  position: absolute;
  width: 15%;
  height: 15%;
  border: 0 solid var(--visee);
}
.emb__visee i:nth-child(1) { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.emb__visee i:nth-child(2) { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.emb__visee i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.emb__visee i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }

/* =========================================================
   1–2. Histoire de l'objet
   ========================================================= */
.histoire { position: relative; }

/* Calque absolu sur toute l'histoire ; son enfant colle à l'écran et part avec la fin du calque */
.scene {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}
.scene__colle {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: clip;
}
html:not(.motion) .scene { display: none; }
.emb--scene {
  --s: clamp(160px, 21vw, 330px);
  position: absolute;
  left: 50%;
  top: 50%;
  margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
}
.motion .emb--scene .emb__rig { transform: translate3d(0, 80vh, 0); }

/* Emblèmes statiques : seulement quand les animations sont coupées */
.emb--statique { display: none; }
html:not(.motion) .emb--statique { display: block; }

/* ---------- 1. Ouverture ---------- */
.ouverture {
  position: relative;
  min-height: max(100vh, 760px);
  padding: calc(var(--entete) + 48px) var(--gout) 40px;
  text-align: center;
  overflow: clip;
}
.ouverture > :not(.outils) { position: relative; z-index: 1; }
.etiquette {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  font: 500 12px/1.3 var(--f-titre);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.etiquette::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bleu);
}
.ouverture__titre {
  margin: 0;
  font: 900 clamp(48px, 14.2vw, 260px)/.8 var(--f-titre);
  letter-spacing: -.02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ouverture__titre-in {
  display: inline-block;
  transform-origin: 50% 0;
  padding-top: .04em;
}
.motion .ouverture__titre-in { clip-path: inset(100% 0 0 0); }
section[id] { scroll-margin-top: calc(var(--entete) + 4px); }
.filet--titre { margin: 28px 0 0; }
.ouverture__desc {
  margin: 28px auto 0;
  font: 800 clamp(26px, 5vw, 84px)/.9 var(--f-titre);
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.ouverture__desc span { display: inline-block; }
.motion .ouverture__desc span, .motion .etiquette { opacity: 0; }
.ouverture__statique { --s: clamp(160px, 20vw, 300px); margin: 48px auto 0; }
.ouverture__bloc {
  position: absolute !important;
  left: var(--gout);
  bottom: 36px;
  width: 225px;
  text-align: left;
}
.ouverture__bloc p {
  margin: 0 0 14px;
  font: 500 12px/1.45 var(--f-titre);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.ouverture__fig {
  position: absolute !important;
  right: var(--gout);
  bottom: 40px;
  text-align: right;
}

/* ---------- 2. Chapitres ---------- */
.chapitre {
  --u: clamp(60px, 9vw, 150px);
  position: relative;
  min-height: 150vh;
  display: grid;
  place-items: center;
  padding: 18vh var(--gout);
  overflow: clip;
}
.chapitre > :not(.outils) { position: relative; z-index: 1; }
.chapitre__num { position: absolute !important; top: 12vh; left: var(--gout); }
.chapitre__titre { margin: 0; line-height: 0; }
.chapitre--1 .chapitre__titre, .chapitre--3 .chapitre__titre { justify-self: start; margin-left: 8vw; }
.chapitre--2 .chapitre__titre { justify-self: end; margin-right: 8vw; }
.titre-motif {
  width: calc(var(--vbw) / 100 * var(--u));
  max-width: 100%;
  height: auto;
  overflow: visible;
}
.tm {
  font-family: var(--f-titre);
  font-weight: 900;
  font-size: 100px;
  letter-spacing: -2px;
  fill: #FFFFFF;
}
.chapitre__statique { --s: clamp(150px, 20vw, 280px); margin-top: 56px; }
.annots {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute !important;
  inset: 0;
  pointer-events: none;
}
.annots .annot {
  position: absolute;
  left: var(--ax);
  top: var(--ay);
  max-width: 230px;
  padding-left: 16px;
}
.annots .annot::before {
  content: "+";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--bleu);
  font-weight: 800;
}
.annots--couches .annot b { display: inline; margin-right: 8px; color: var(--bleu); }
html:not(.motion) .chapitre { min-height: 0; padding-top: 22vh; padding-bottom: 22vh; }

/* =========================================================
   3. Méthode : deux panneaux
   ========================================================= */
.methode {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
  min-height: 100vh;
}
.methode__sombre {
  background: var(--anthra);
  color: var(--blanc);
  padding: clamp(56px, 7vw, 110px) var(--gout) clamp(56px, 6vw, 90px) clamp(24px, 5vw, 80px);
}
.methode__titre {
  margin: 22px 0 0;
  font: 900 clamp(40px, 5.2vw, 92px)/.86 var(--f-titre);
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.diag { list-style: none; margin: 64px 0 0; padding: 0; display: grid; gap: 34px; }
.diag__ligne { display: flex; align-items: flex-start; gap: 18px; max-width: 380px; }
.diag__ligne:nth-child(2) { margin-left: 16%; }
.diag__ligne:nth-child(3) { margin-left: 32%; }
.diag__ligne .annot { padding-top: 6px; color: var(--labo); }
.diag__ligne .annot b { color: var(--blanc); }
.methode__clair {
  position: relative;
  overflow: clip;
  background: var(--clair);
  display: grid;
  place-items: center;
  padding: 72px var(--gout);
}
.cadre--veste { width: min(100%, 400px); }
.cadre--veste .visee { border-color: var(--visee); width: 26px; height: 26px; }

/* =========================================================
   4. Bande blanche : le protocole
   ========================================================= */
.protocole {
  position: relative;
  overflow: clip;
  background: var(--blanc);
  padding: clamp(84px, 10vw, 150px) var(--gout) clamp(110px, 12vw, 180px);
}
.protocole__tete { position: relative; z-index: 1; text-align: center; display: grid; justify-items: center; gap: 18px; }
.titre-inverse {
  margin: 0;
  font: 900 clamp(46px, 6.95vw, 120px)/.86 var(--f-titre);
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.filet--centre { width: min(560px, 80%); }
.etapes {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 90px auto 0;
  padding: 0;
  max-width: 1180px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
}
.etape:nth-child(2) { margin-top: 150px; }
.etape:nth-child(3) { margin-top: 56px; }
.etape__fig { position: relative; margin: 0 auto; transform: rotate(var(--rot)); }
.etape:nth-child(1) .etape__fig { max-width: 290px; }
.etape:nth-child(2) .etape__fig { max-width: 250px; }
.etape:nth-child(3) .etape__fig { max-width: 250px; }
.etape__fig .crop { border-radius: 6px; }
.etape__fig figcaption { margin-top: 20px; max-width: 30ch; }
.etape__fig figcaption b { font-size: 15px; margin-bottom: 6px; }
.numero {
  position: absolute;
  top: -16px;
  left: -16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--anthra);
  color: var(--blanc);
  font: 800 12px/1 var(--f-titre);
  letter-spacing: .02em;
  box-shadow: 0 0 0 4px var(--blanc);
}

/* --- Bulles et éclats animés sur le fond blanc du protocole --- */
.bulles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.bulle {
  position: absolute;
  left: var(--x);
  top: var(--t);
  width: var(--s);
  height: var(--s);
  pointer-events: auto;
}
.bulle__w, .bulle__in { display: block; width: 100%; height: 100%; }
.bulle__in {
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .95) 0 12%, rgba(255, 255, 255, 0) 13%),
    radial-gradient(circle at 50% 50%, rgba(59, 123, 192, 0) 55%, rgba(59, 123, 192, .14) 78%, rgba(26, 139, 198, .26) 100%);
  box-shadow: inset 0 0 0 1px rgba(47, 54, 58, .16), inset -3px -4px 8px rgba(59, 123, 192, .1);
  transition: transform .35s var(--ease-ressort), opacity .3s ease;
}
.motion .bulle {
  top: auto;
  bottom: -90px;
  opacity: 0;
  animation: bulle-monte var(--d) linear var(--dl) infinite;
}
/* le balancement est intégré à la montée : une seule animation par bulle */
@keyframes bulle-monte {
  0%   { transform: translate3d(-7px, 0, 0); opacity: 0; }
  8%   { opacity: 1; }
  25%  { transform: translate3d(calc(var(--dx) * .25 + 7px), calc(var(--monte, 160vh) * -.25), 0); }
  50%  { transform: translate3d(calc(var(--dx) * .5 - 7px), calc(var(--monte, 160vh) * -.5), 0); }
  75%  { transform: translate3d(calc(var(--dx) * .75 + 7px), calc(var(--monte, 160vh) * -.75), 0); }
  85%  { opacity: .9; }
  100% { transform: translate3d(calc(var(--dx) - 7px), calc(var(--monte, 160vh) * -1), 0); opacity: 0; }
}
@keyframes bulle-ondule {
  from { transform: translate3d(-7px, 0, 0) scale(1, .96); }
  to   { transform: translate3d(7px, 0, 0) scale(.96, 1); }
}
@media (hover: hover) and (pointer: fine) {
  .bulle:hover .bulle__in { transform: scale(1.6); opacity: 0; }   /* la bulle éclate sous la souris */
}
.eclat {
  position: absolute;
  left: var(--x);
  top: var(--t);
  width: var(--s);
  height: var(--s);
  background: var(--anthra);
  opacity: .5;
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
}
.eclat--bleu { background: var(--signal); opacity: .8; }
.motion .eclat { animation: eclat-brille 2.8s ease-in-out var(--dl) infinite; }
@keyframes eclat-brille {
  0%, 100% { transform: scale(.2) rotate(0deg); opacity: 0; }
  45%      { transform: scale(1) rotate(45deg); opacity: .85; }
  70%      { transform: scale(.6) rotate(70deg); opacity: .3; }
}

/* =========================================================
   4 bis. Vue éclatée du pulvérisateur
   ========================================================= */
.eclate { position: relative; background: var(--clair); }
.motion .eclate { height: 200vh; }
.eclate__colle {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 1.7fr;
  align-items: center;
  gap: clamp(20px, 4vw, 64px);
  min-height: 100vh;
  padding: 110px var(--gout) 40px;
  overflow: hidden;
}
.motion .eclate__colle { position: sticky; top: 0; height: 100vh; }
.eclate__titre {
  margin: 18px 0 24px;
  font: 900 clamp(56px, 8vw, 140px)/.84 var(--f-titre);
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.eclate__phase b { display: inline; color: var(--bleu); margin: 0; }
.eclate__note { max-width: 34ch; margin: 18px 0 0; font: 500 13px/1.55 var(--f-titre); }
.eclate__scene { height: 100%; min-height: 0; display: grid; place-items: center; }
.pulve { width: 100%; height: 100%; max-height: calc(100vh - 150px); overflow: visible; }
.pulve .o { stroke: var(--anthra); stroke-width: 2; stroke-linejoin: round; transition: stroke .25s ease; }
.pulve .f { fill: none; stroke: var(--anthra); stroke-width: 1; opacity: .4; }
.pv-tube { fill: none; stroke: var(--anthra); stroke-width: 6; stroke-linecap: round; opacity: .5; }
.pv-liser { stroke: var(--bleu); stroke-width: 3; }
.pv-lab { font: 800 12px var(--f-titre); letter-spacing: .08em; fill: var(--anthra); }
.pv-lab--s { font-size: 8px; font-weight: 700; }
.pv-num { font: 900 28px var(--f-titre); fill: var(--anthra); }
.pulve .co polyline { fill: none; stroke: var(--anthra); stroke-width: 1; }
.pulve .co circle { fill: var(--bleu); }
.co-n { font: 800 14px var(--f-titre); fill: var(--bleu); }
.co-t { font: 800 16px var(--f-titre); letter-spacing: .05em; fill: var(--anthra); transition: fill .25s ease; }
.co-d { font: 500 13px var(--f-titre); fill: var(--anthra); opacity: .7; }
@media (hover: hover) and (pointer: fine) {
  .pulve [data-pv]:hover .o { stroke: var(--bleu); }
  .pulve [data-pv]:hover .co-t { fill: var(--bleu); }
}
.pv-brume { opacity: 0; transition: opacity .3s ease; }
.pv-cone { fill: var(--bleu); opacity: .08; }
.goutte { fill: var(--signal); opacity: 0; transform-box: fill-box; transform-origin: center; }
.pulve.spray .pv-brume { opacity: 1; }
.pulve.spray .goutte { animation: goutte 1s ease-out var(--gd) infinite; }
@keyframes goutte {
  0%   { transform: translate(0, 0) scale(.4); opacity: 0; }
  20%  { opacity: .9; }
  100% { transform: translate(var(--gx), var(--gy)) scale(1.5); opacity: 0; }
}
@media (max-width: 900px) {
  .motion .eclate { height: 180vh; }
  .eclate__colle { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: start; padding-top: 96px; gap: 8px; }
  .eclate__titre { font-size: clamp(42px, 12vw, 80px); margin: 10px 0 10px; }
  .eclate__note { display: none; }
  .pulve { max-height: calc(100vh - 260px); }
}
@media (max-width: 700px) {
  /* Sur téléphone, le dessin est réduit d'environ 60 % : étiquettes plus grandes, descriptions masquées */
  .co-d { display: none; }
  .co-t { font-size: 22px; letter-spacing: .02em; }
  .co-n { font-size: 20px; }
}

/* =========================================================
   5. Argument à autocollants
   ========================================================= */
.argument {
  position: relative;
  overflow: clip;
  background: var(--labo);
  padding: clamp(110px, 13vw, 190px) var(--gout) clamp(90px, 10vw, 150px);
}
.argument__tete {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin: 0 auto;
  text-align: center;
}
.argument__titre {
  margin: 0;
  font: 900 clamp(56px, 9vw, 150px)/.84 var(--f-titre);
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.sticker {
  position: absolute;
  left: var(--sx);
  top: var(--sy);
  z-index: 2;
  display: block;
}
.motion .sticker { opacity: 0; }
.sticker__in {
  display: block;
  padding: 9px 15px 8px;
  border-radius: 999px;
  background: var(--bleu);
  color: var(--blanc);
  font: 800 11px/1 var(--f-titre);
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: rotate(var(--r));
  transform-origin: 10% 50%;
  transition: transform .5s var(--ease-ressort);
}
.sticker--signal .sticker__in { background: var(--signal); }
@media (hover: hover) and (pointer: fine) {
  .sticker:hover .sticker__in {
    transform: perspective(240px) rotate(calc(var(--r) - 4deg)) rotateY(-24deg) rotateX(10deg) translate3d(4px, -6px, 14px);
  }
}
.colonnes {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1240px;
  margin: clamp(110px, 12vw, 170px) auto 0;
}
.colonne {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 0 clamp(20px, 3vw, 46px);
}
.colonne + .colonne { border-left: 1px solid rgba(47, 54, 58, .32); }
.colonne h3 {
  margin: 10px 0 0;
  font: 800 16px/1.2 var(--f-titre);
  letter-spacing: .01em;
  text-transform: uppercase;
}
.colonne p { margin: 0; max-width: 32ch; font: 500 14px/1.55 var(--f-titre); }
.cadre--col { margin-top: auto; padding-top: 34px; width: min(100%, var(--max)); }

/* =========================================================
   6. Bande de conversion
   ========================================================= */
.conversion {
  position: relative;
  overflow: clip;
  min-height: 94vh;
  display: grid;
  place-items: center;
  padding: clamp(110px, 12vw, 170px) var(--gout);
  background: var(--blanc);
  text-align: center;
}
.emb--conv { position: absolute; z-index: 0; }
.conversion__centre { position: relative; z-index: 1; display: grid; justify-items: center; gap: 22px; }
.conversion__titre {
  margin: 0;
  font: 900 clamp(50px, 9.4vw, 160px)/.84 var(--f-titre);
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.pill--petite { height: 48px; padding: 0 28px; }

/* =========================================================
   7. Cartes de services
   ========================================================= */
.services {
  position: relative;
  overflow: clip;
  background: var(--labo);
  padding: clamp(90px, 10vw, 150px) var(--gout);
}
.services__tete {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  max-width: 1320px;
  margin: 0 auto;
}
.services__tete .annot { text-align: right; }
.cartes {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1320px;
  margin: 60px auto 0;
}
.carte {
  background: var(--blanc);
  border-radius: 6px;
  padding: 10px 10px 24px;
}
.carte__media {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.carte__media .crop { transition: transform 1s var(--ease-out); transform-origin: 50% 55%; }
.carte__media .visee { border-color: var(--anthra); }
.carte__media .visee--hg { top: 12px; left: 12px; }
.carte__media .visee--hd { top: 12px; right: 12px; }
.carte__media .visee--bg { bottom: 12px; left: 12px; }
.carte__media .visee--bd { bottom: 12px; right: 12px; }
@media (hover: hover) and (pointer: fine) {
  .carte:hover .carte__media .crop { transform: scale(1.09); }
  .carte:hover .visee--hg { transform: translate(18px, 18px); }
  .carte:hover .visee--hd { transform: translate(-18px, 18px); }
  .carte:hover .visee--bg { transform: translate(18px, -18px); }
  .carte:hover .visee--bd { transform: translate(-18px, -18px); }
  .cadre:hover .visee--hg { transform: translate(7px, 7px); }
  .cadre:hover .visee--hd { transform: translate(-7px, 7px); }
  .cadre:hover .visee--bg { transform: translate(7px, -7px); }
  .cadre:hover .visee--bd { transform: translate(-7px, -7px); }
}
.carte__meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 4px 0; }
.pastille {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--clair);
  font: 500 11px/1 var(--f-titre);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.pastille--point::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bleu);
}
.carte__titre {
  margin: 18px 4px 0;
  font: 800 clamp(20px, 1.8vw, 26px)/1.02 var(--f-titre);
  letter-spacing: -.01em;
  text-transform: uppercase;
}

/* =========================================================
   8. Contact en deux moitiés
   ========================================================= */
.contact {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 100vh;
}
.contact__gauche {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 56px;
  background: var(--blanc);
  padding: clamp(64px, 7vw, 110px) clamp(24px, 4vw, 64px) clamp(40px, 4vw, 56px);
}
.contact__titre {
  margin: 22px 0 0;
  font: 900 clamp(42px, 6.3vw, 110px)/.86 var(--f-titre);
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.form { display: grid; gap: 16px; max-width: 560px; }
.form__note { margin: 0; font: 500 13px/1.5 var(--f-titre); max-width: 48ch; }
.form__champs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.champ label {
  display: block;
  margin-bottom: 8px;
  font: 500 11px/1 var(--f-titre);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.champ input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--visee);
  border-radius: 6px;
  background: var(--blanc);
  color: var(--anthra);
  font: 500 16px/1 var(--f-titre);
}
.champ input:focus { outline: 2px solid var(--signal); outline-offset: 1px; border-color: var(--signal); }
.champ input[aria-invalid="true"] { border-color: var(--anthra); border-width: 2px; }
.btn-plein { width: 100%; height: 56px; font-size: 14px; }
.form__statut { margin: 0; min-height: 1.5em; font: 500 13px/1.5 var(--f-titre); }
.form__statut a { font-weight: 800; }
.contact__droite {
  position: relative;
  overflow: clip;
  background: var(--clair);
  display: grid;
  place-items: center;
  min-height: 520px;
}
.emb--contact { --s: clamp(200px, 28vw, 440px); z-index: 1; }
.contact__fig { position: absolute; right: var(--gout); bottom: 32px; z-index: 1; }
.sceau {
  position: absolute;
  left: 50%;
  bottom: clamp(90px, 15vh, 170px);
  z-index: 3;
  width: 150px;
  height: 150px;
  margin-left: -75px;
}
.sceau__rot, .sceau__centre { position: absolute; inset: 0; width: 100%; height: 100%; }
.sceau__centre { inset: 34%; width: 32%; height: 32%; overflow: visible; }
.sceau__texte { font: 700 9.6px/1 var(--f-titre); fill: var(--blanc); letter-spacing: .08em; }
.sceau__tour { position: absolute; inset: 0; }
.motion .sceau__tour { animation: tourne 15s linear infinite; }
@keyframes tourne { to { transform: rotate(360deg); } }

/* =========================================================
   9. Pied de page monumental
   ========================================================= */
.pied {
  position: relative;
  overflow: clip;
  background: var(--anthra);
  color: var(--labo);
  padding: clamp(60px, 7vw, 100px) var(--gout) 22px;
}
.pied__beurk {
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: .1em 0 .03em;
  overflow: hidden;
  color: var(--blanc);
  font: 900 clamp(64px, 13.5vw, 250px)/.78 var(--f-titre);
  letter-spacing: -.02em;
}
.pied__lettre { display: inline-block; }
.motion .pied__lettre { transform: translate3d(0, 110%, 0); }
.pied__menus {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: space-between;
  gap: 32px;
  margin-top: 64px;
  font: 500 13px/1.8 var(--f-cond);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pied__menus ul { list-style: none; margin: 0; padding: 0; }
.pied__menus a { text-decoration: none; background: linear-gradient(var(--bleu), var(--bleu)) 0 100% / 0 1px no-repeat; }
.pied__menus a:hover { background-size: 100% 1px; }
.pied__titre { margin: 0 0 8px; color: var(--visee); }
.pied__signature {
  margin: 56px 0 0;
  font: 500 13px/1 var(--f-cond);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blanc);
}
.pied__vide { height: clamp(120px, 26vh, 280px); }
.pied__bas {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 16px;
  font: 500 13px/1.4 var(--f-cond);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--visee);
}

/* =========================================================
   Mouvement réduit / sans JS : transitions quasi nulles
   ========================================================= */
html:not(.motion) *, html:not(.motion) *::before, html:not(.motion) *::after {
  transition-duration: .01ms !important;
  animation: none !important;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .entete__nav .pill { padding: 0 16px; }
}

@media (max-width: 900px) {
  :root { --entete: 72px; }
  .entete__barre { grid-template-columns: auto 1fr; }
  .entete__nav { display: none; }

  .chapitre { min-height: 130vh; }
  .chapitre:nth-of-type(n) .chapitre__titre { justify-self: center; margin: 0; }
  .annots {
    position: relative !important;
    inset: auto;
    display: grid;
    gap: 10px;
    margin-top: 40px;
    width: 100%;
    max-width: 420px;
  }
  .annots .annot { position: relative; left: auto; top: auto; max-width: none; }
  .chapitre { align-content: start; padding-top: 36vh; }
  .chapitre__num { top: 26vh; }
  html:not(.motion) .chapitre { padding-top: 16vh; }
  html:not(.motion) .chapitre__num { top: 8vh; }

  .methode, .contact { grid-template-columns: 1fr; }
  .methode { min-height: 0; }
  .diag__ligne:nth-child(2) { margin-left: 10%; }
  .diag__ligne:nth-child(3) { margin-left: 20%; }

  .etapes { grid-template-columns: 1fr; gap: 72px; max-width: 420px; }
  .etape:nth-child(n) { margin-top: 0; }
  .etape:nth-child(1) { margin-right: 14%; }
  .etape:nth-child(2) { margin-left: 18%; }
  .etape:nth-child(3) { margin-right: 8%; }

  .colonnes { grid-template-columns: 1fr; gap: 56px; max-width: 460px; }
  .colonne { padding: 0; }
  .colonne + .colonne { border-left: 0; border-top: 1px solid rgba(47, 54, 58, .32); padding-top: 48px; }

  .cartes { grid-template-columns: 1fr; max-width: 480px; }
  .services__tete { flex-direction: column; align-items: flex-start; }
  .services__tete .annot { text-align: left; }

  .contact__droite { min-height: 72vh; }
  .sceau { bottom: calc(72vh - 65px); width: 130px; height: 130px; margin-left: -65px; }
  .contact__gauche { padding-bottom: 110px; }

  .pied__menus { grid-template-columns: repeat(2, auto); justify-content: start; gap: 32px 56px; }
}

@media (max-width: 640px) {
  .entete__mot strong { font-size: 15px; }
  .entete__mot span { font-size: 7px; }
  .logo-symbole { width: 36px; height: 36px; }
  .entete__actions .pill { padding: 0 15px; }

  /* Le titre coupe sa ligne avant de rapetisser */
  .ouverture { padding-top: calc(var(--entete) + 34px); min-height: 100svh; }
  .ouverture__titre { font-size: 21vw; line-height: .84; }
  .ouverture__ligne { display: block; }
  .ouverture__desc { font-size: clamp(26px, 8.6vw, 40px); }
  .ouverture__bloc { position: relative !important; left: auto; bottom: auto; margin: 30px 0 0; width: 225px; }
  .ouverture__fig { display: none; }

  .diag__ligne:nth-child(2) { margin-left: 6%; }
  .diag__ligne:nth-child(3) { margin-left: 12%; }

  .chapitre { --u: 19vw; }

  .argument__titre { font-size: 17vw; }
  .sticker__in { font-size: 10px; padding: 7px 11px 6px; }
  /* Autocollants recadrés pour rester dans l'écran */
  .argument__tete .sticker:nth-child(2) { --sx: -4% !important; --sy: -16% !important; }
  .argument__tete .sticker:nth-child(3) { --sx: 70% !important; --sy: -7% !important; }
  .argument__tete .sticker:nth-child(4) { --sx: -1% !important; --sy: 56% !important; }
  .argument__tete .sticker:nth-child(5) { --sx: 48% !important; --sy: 93% !important; }
  .argument__tete .sticker:nth-child(6) { --sx: 6% !important; --sy: 103% !important; }

  .form__champs { grid-template-columns: 1fr; }
  .pied__beurk { font-size: 23vw; }
  .pied__menus { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
}

/* Fluidité : animations en boucle suspendues quand la section est hors écran (voir eclate.js) */
.hors-ecran *, .hors-ecran *::before, .hors-ecran *::after { animation-play-state: paused !important; }

/* =========================================================
   Couleur ajoutée : le bleu de la charte prend plus de place
   (demande du client, au-delà de la règle « bleu en lignes fines »)
   ========================================================= */
:root { --bleu-pale: #E2EDF8; --bleu-fonce: #24578F; }

/* Ouverture : « Nickel. » en bleu */
.ouverture__ligne + .ouverture__ligne { color: var(--bleu); }

/* Services : fond bleu pâle, pastilles bleues, description sous chaque titre */
.services { background: var(--bleu-pale); }
.services .pastille { background: #E2EDF8; color: #24578F; }
.services .pastille--point { background: var(--bleu); color: var(--blanc); }
.services .pastille--point::before { background: var(--blanc); }
.carte__desc { margin: 10px 4px 0; max-width: 36ch; font: 500 14px/1.5 var(--f-titre); color: var(--anthra); opacity: .8; }
.carte { box-shadow: inset 0 -4px 0 var(--bleu); }
@media (hover: hover) and (pointer: fine) {
  .carte__titre { transition: color .25s ease; }
  .carte:hover .carte__titre { color: var(--bleu); }
}

/* Protocole : pastilles numérotées en bleu */
.numero { background: var(--bleu); }

/* Pulvérisateur : fond bleu pâle */
.eclate { background: var(--bleu-pale); }

/* « Rien au hasard » : grande bande bleue */
.argument { background: var(--bleu); color: var(--blanc); }
.argument .sticker__in { background: var(--blanc); color: var(--bleu-fonce); }
.argument .sticker--signal .sticker__in { background: var(--anthra); color: var(--blanc); }
.argument .colonne + .colonne { border-color: rgba(255, 255, 255, .35); }
.argument .colonne p { color: rgba(255, 255, 255, .9); }
.argument .medaillon { background: var(--blanc); color: var(--bleu); }
.argument .medaillon::after { background: var(--anthra); }
.argument .visee { border-color: var(--blanc); }

/* Contact : moitié droite bleue */
.contact__droite { background: var(--bleu); }
.contact__droite .annot { color: var(--blanc); }

/* =========================================================
   Emplacements photo vides, en attendant les photos du client
   ========================================================= */
.crop--vide {
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(135deg, transparent 0 10px, rgba(47, 54, 58, .05) 10px 11px),
    var(--clair);
  box-shadow: inset 0 0 0 1px var(--visee);
}
.crop--vide span {
  font: 500 11px/1 var(--f-titre);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--anthra);
  opacity: .6;
}

/* =========================================================
   Formulaire de devis par e-mail : liste, zone de texte, champ large
   ========================================================= */
.champ--large { grid-column: 1 / -1; }
.champ__option { text-transform: none; letter-spacing: 0; opacity: .6; }
.champ select, .champ textarea {
  width: 100%;
  padding: 0 16px;
  border: 1px solid var(--visee);
  border-radius: 6px;
  background: var(--blanc);
  color: var(--anthra);
  font: 500 16px/1.4 var(--f-titre);
}
.champ select {
  height: 52px;
  appearance: none;
  background: var(--blanc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232F363A' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center;
  padding-right: 40px;
}
.champ textarea { padding: 14px 16px; resize: vertical; min-height: 120px; }
.champ select:focus, .champ textarea:focus { outline: 2px solid var(--signal); outline-offset: 1px; border-color: var(--signal); }
.champ select[aria-invalid="true"], .champ textarea[aria-invalid="true"] { border-color: var(--anthra); border-width: 2px; }
.form__note a { font-weight: 800; }

/* =========================================================
   Curseur pulvérisateur (souris uniquement ; le point bleu est l'endroit qui clique)
   ========================================================= */
@media (hover: hover) and (pointer: fine) {
  html, body { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' width='32' height='32'%3E%3Cg fill='%23FFFFFF' stroke='%232F363A' stroke-width='1.3' stroke-linejoin='round'%3E%3Cpath d='M10 4.5H21Q24 4.5 24 7.5V11H16.5L15 9.5H10Z'/%3E%3Crect x='7.5' y='5.5' width='3' height='3' rx='.6'/%3E%3Cpath d='M15.5 11H18L16.6 16Z'/%3E%3Crect x='17.5' y='11' width='5' height='2.6'/%3E%3Cpath d='M17 13.6H23Q26 15.5 26 18.5V29Q26 31 24 31H16Q14 31 14 29V18.5Q14 15.5 17 13.6Z'/%3E%3Crect x='16' y='19.5' width='8' height='8' stroke-width='1'/%3E%3C/g%3E%3Cpath d='M17 21.3H23' stroke='%233B7BC0' stroke-width='1.3'/%3E%3Ccircle cx='3' cy='7' r='1.6' fill='%233B7BC0'/%3E%3C/svg%3E") 3 7, auto; }
  a, button, .pill, .btn-plein, label, select, .bulle, .sticker, .carte, summary {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' width='32' height='32'%3E%3Cg fill='%23FFFFFF' stroke='%232F363A' stroke-width='1.3' stroke-linejoin='round'%3E%3Cpath d='M10 4.5H21Q24 4.5 24 7.5V11H16.5L15 9.5H10Z'/%3E%3Crect x='7.5' y='5.5' width='3' height='3' rx='.6'/%3E%3Cpath d='M15.5 11H18L15.2 15.6Z'/%3E%3Crect x='17.5' y='11' width='5' height='2.6'/%3E%3Cpath d='M17 13.6H23Q26 15.5 26 18.5V29Q26 31 24 31H16Q14 31 14 29V18.5Q14 15.5 17 13.6Z'/%3E%3Crect x='16' y='19.5' width='8' height='8' stroke-width='1'/%3E%3C/g%3E%3Cpath d='M17 21.3H23' stroke='%233B7BC0' stroke-width='1.3'/%3E%3Cpath d='M7.5 7L1 3.5V10.5Z' fill='%233B7BC0' opacity='.25'/%3E%3Ccircle cx='2.2' cy='5' r='1' fill='%231A8BC6'/%3E%3Ccircle cx='4' cy='7.6' r='1.1' fill='%231A8BC6'/%3E%3Ccircle cx='1.6' cy='9' r='.8' fill='%231A8BC6'/%3E%3C/svg%3E") 3 7, pointer;
  }
  input, textarea { cursor: text; }
}

/* =========================================================
   Formulaire de devis : envoi direct (Web3Forms)
   ========================================================= */
.champ input[type="email"] { width: 100%; }
.form__piege { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form { position: relative; }
.btn-plein:disabled { opacity: .7; cursor: progress; }
.form--ok .form__statut {
  padding: 12px 14px 12px 38px; border-radius: 8px; background: #E2EDF8; color: #24578F; font-weight: 700;
  position: relative;
}
.form--ok .form__statut::before {
  content: ""; position: absolute; left: 14px; top: 50%; width: 14px; height: 8px; margin-top: -6px;
  border: solid var(--bleu); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg);
}
.form--erreur .form__statut { padding: 12px 14px; border-radius: 8px; background: var(--clair); font-weight: 600; }

/* Champs alignés par le bas quand un libellé passe sur deux lignes */
.form__champs { align-items: end; }

/* Lien vers les mentions légales dans le pied de page */
.pied__bas a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.pied__bas a:hover { color: var(--blanc); }

/* =========================================================
   Fluidité : animations confiées à la carte graphique
   ========================================================= */
/* Léger flottement du grand « B. » (avant calculé en JavaScript à chaque image) */
.motion .emb--scene { animation: emb-flotte 7s ease-in-out infinite alternate; }
@keyframes emb-flotte {
  from { transform: translate3d(0, -.6vh, 0) rotate(-1.2deg); }
  to   { transform: translate3d(0, .6vh, 0) rotate(1.2deg); }
}
/* Bulles et éclats : chacun sur son propre calque, dessiné une seule fois */
.motion .bulle, .motion .eclat { will-change: transform, opacity; }

/* Monogramme en clair sur les fonds sombres (sceau) */
.sceau__centre { --logo-encre: #FFFFFF; --logo-plus: #6FA4DB; }

/* Titre d'ouverture : la signature sur deux lignes */
.ouverture__titre { font-size: clamp(34px, 6.6vw, 124px); line-height: .9; }
.ouverture__ligne { display: block; }
@media (max-width: 720px) {
  .ouverture__titre { font-size: 10.4vw; line-height: .92; white-space: normal; }
}

/* =========================================================
   Emblème 3D : nouveau monogramme (« B. » en relief, coins de visée, « + » bleu)
   La forme du B vient du masque b-masque.svg, appliqué à chaque tranche.
   ========================================================= */
.emb__l { border-radius: 0; }
.emb__back, .emb__face, .emb__slice {
  -webkit-mask: url("b-masque.svg") center / 100% 100% no-repeat;
          mask: url("b-masque.svg") center / 100% 100% no-repeat;
}
.emb__back, .emb__face { background: #0C1D24; }
.emb__face { box-shadow: none; }
.emb__sheen { opacity: .45; }
.emb__slice { background: #4A626E; }
.emb__slice--rim { background: #8FA5B0; }
.emb__slice--rim2 { background: #2E434D; }
.emb__back-txt, .emb__glyph { display: none; }
.emb__plus::before { left: 69.2%; top: 17.8%; width: 4.8%; height: 18.3%; background: #244D78; }
.emb__plus::after  { left: 62.5%; top: 24.5%; width: 18.3%; height: 4.8%; background: #244D78; }
.emb__plus--fond::before, .emb__plus--fond::after { background: #17344F; }
.emb__visee { inset: 8.2% 7.2%; }
.emb__visee i { width: 14.4%; height: 14.4%; border-color: #0C1D24; }
.emb__visee i:nth-child(1) { border-top-width: calc(var(--s) * .019); border-left-width: calc(var(--s) * .019); }
.emb__visee i:nth-child(2) { border-top-width: calc(var(--s) * .019); border-right-width: calc(var(--s) * .019); }
.emb__visee i:nth-child(3) { border-bottom-width: calc(var(--s) * .019); border-left-width: calc(var(--s) * .019); }
.emb__visee i:nth-child(4) { border-bottom-width: calc(var(--s) * .019); border-right-width: calc(var(--s) * .019); }
.emb__back { -webkit-backface-visibility: hidden; backface-visibility: hidden; }

/* ---- Référencement : liens vers les pages de services, communes desservies ---- */
.carte__lien {
  display: inline-block; margin: 14px 4px 0;
  font: 500 12px/1.3 var(--f-cond); letter-spacing: .08em; text-transform: uppercase;
  color: var(--bleu-fonce); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px;
}
.carte__lien::after { content: " →"; }
.carte__lien:hover { color: var(--bleu); }
@media (min-width: 901px) { .pied__menus { grid-template-columns: repeat(5, auto); } }
.pied__communes { margin: 40px 0 0; max-width: 90ch; font: 500 12px/1.7 var(--f-titre); color: var(--labo); opacity: .75; }
