/* Design & Rangement · maquette privée Cinétrait, v4 (2026-11-09 : retours d'Emmanuel, section atelier retirée, bloc v4
   en fin de fichier) ; v3 (2026-10-28 : polices de cinetrait.fr, lumières du haut de page,
   repères sur la photo, piliers en cartes, grand mot-marque au pied ; construction et mouvement repris du site de
   référence de Nathan, sans le copier). Jetons et règles : direction-maquette-v2.md (ce qu'elle ne redit pas
   vient de direction-maquette.md), écarts de la v3 dans 06_Livrables_et_validations/2026-10-28-maquette-v3.md. Mouvement : transform, opacity et stroke-dashoffset
   seulement ; sous prefers-reduced-motion: reduce, tout est visible d'emblée et rien ne bouge (les états de base sont
   les états finaux, les animations ne font que partir d'un état caché). */

/* Polices (choix de Nathan, 2026-10-28, planche de quatre polices) : Instrument Serif pour les titres, mot fort en
   italique ; Instrument Sans pour le texte (même famille). Repli : Georgia resserrée, le temps que la police arrive. */
/* v10e (2026-11-20, vitesse) : polices servies par le site (fichiers de Google Fonts, latin et latin-ext, copiés dans
   polices/) au lieu de la feuille de Google : deux connexions et une feuille bloquante de moins au premier affichage. */
@font-face { font-family: "Instrument Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("polices/instrument-sans-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("polices/instrument-sans-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("polices/instrument-sans-normal-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("polices/instrument-sans-normal-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("polices/instrument-serif-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("polices/instrument-serif-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("polices/instrument-serif-normal-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("polices/instrument-serif-normal-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif repli"; src: local("Georgia"); size-adjust: 86%; }
@font-face { font-family: "Instrument Serif repli"; font-style: italic; src: local("Georgia Italic"), local("Georgia-Italic"); size-adjust: 84%; }

:root {
  --noir: #0c0c0c;
  --or: #c1a04c;
  --creme: #f3efe7;
  --blanc-chaud: #faf8f4;
  --chene: #a9793f;
  --chene-clair: #e6d5b8;
  --sapin: #1e2a23;
  --graphite: #2a2a2a;
  --blanc: #ffffff;
  --gris: #6b6760;
  --gris-clair: #a9a49b;
  --filet: rgba(12, 12, 12, .16);
  --filet-sombre: rgba(255, 255, 255, .2);
  --courbe: cubic-bezier(.2, .7, .2, 1);
  --display: "Instrument Serif", "Instrument Serif repli", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --titre: clamp(2.8rem, 6.4vw, 6rem);
  /* Jeux de couleurs : le mot fort des titres reçoit un dégradé, laiton sur fond sombre, chêne sur fond clair. */
  --degrade-or: linear-gradient(100deg, #f1d991 0%, #c9a650 42%, #a87d3c 100%);
  --degrade-chene: linear-gradient(100deg, #b8873f 0%, #96652c 55%, #6f4a20 100%);
  --gouttiere: 24px;
  --entete-h: 64px;
  --fond: var(--creme);      /* fond de la section : couleur des rideaux */
  --texte: var(--noir);      /* texte de la section : bouton or au survol */
  --souligne: var(--chene);  /* soulignés : chêne sur clair, or sur sombre */
}
@media (min-width: 760px) {
  :root { --gouttiere: 48px; --entete-h: 76px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--noir);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
  overflow-wrap: break-word;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
strong { font-weight: 600; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.conteneur { width: 100%; max-width: calc(1280px + 2 * var(--gouttiere)); margin-inline: auto; padding-inline: var(--gouttiere); }
.insec { white-space: nowrap; }

/* ---------- Boutons et liens ---------- */
/* Le fond or glisse sous le texte (transform) ; la couleur du texte bascule d'un coup à mi-glissement. */
.btn {
  position: relative;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .75rem 1.5rem;
  overflow: hidden;
  border: 1px solid currentColor;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: .01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: color 0s linear .16s, border-color 0s linear .16s;
}
.btn::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--or);
  transform: translateX(-101%);
  transition: transform .5s var(--courbe);
}
.btn-or { border-color: var(--or); color: var(--noir); }
.btn-or::before { transform: none; }
.btn-or-filet { border-color: var(--or); color: var(--or); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { border-color: var(--or); color: var(--noir); }
  .btn:hover::before { transform: none; }
  .btn-or:hover { color: var(--texte); }
  .btn-or:hover::before { transform: translateX(101%); }
}
.btn[disabled] { cursor: default; }

.lien-or { text-decoration: underline; text-decoration-color: var(--souligne); text-decoration-thickness: 1px; text-underline-offset: .3em; }

/* ---------- En-tête ---------- */
.entete { --texte: var(--blanc); position: absolute; z-index: 20; top: 0; right: 0; left: 0; height: var(--entete-h); color: var(--blanc); }
html.js .entete { position: fixed; }
.entete::before {
  content: "";
  position: absolute;
  inset: 0;
  border-bottom: 1px solid var(--filet);
  background: var(--creme);
  opacity: 0;
  transition: opacity .35s var(--courbe);
}
.entete.defile { --texte: var(--noir); color: var(--noir); }
.entete.defile::before { opacity: 1; }
.entete-int { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }
.logo { position: relative; flex: none; }
.logo img { width: auto; height: 34px; transition: opacity .35s var(--courbe); }
.logo-noir { position: absolute; top: 0; left: 0; opacity: 0; }
.entete.defile .logo-blanc { opacity: 0; }
.entete.defile .logo-noir { opacity: 1; }
.nav { display: none; }
.nav a { position: relative; padding-block: .5rem; font-size: .95rem; font-weight: 400; text-decoration: none; }
.nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: .15rem;
  left: 0;
  height: 1px;
  background: var(--or);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .45s var(--courbe);
}
@media (hover: hover) and (pointer: fine) {
  .nav a:hover::after { transform: none; }
}
.btn-entete { min-height: 40px; padding: .5rem 1rem; font-size: .95rem; }
.l-long { display: none; }
@media (min-width: 1040px) {
  .nav { display: flex; gap: 2.25rem; margin-left: auto; }
  .l-long { display: inline; }
  .l-court { display: none; }
  .btn-entete { margin-left: .75rem; }
}

/* ---------- Titres ---------- */
/* Instrument Serif pour les titres, Instrument Sans pour le reste. Le mot fort (em) en italique, avec un dégradé,
   laiton sur fond sombre, chêne sur fond clair (texte de titre : grand texte au sens WCAG). */
.titre { font-family: var(--display); font-size: var(--titre); font-weight: 400; line-height: 1; letter-spacing: -.02em; text-wrap: balance; }
.titre em, .pilier-titre em {
  font-style: italic;
  font-weight: 400;
  color: var(--chene);
  background: var(--degrade-chene);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.haut .titre em, .sombre .titre em, .sapin .titre em { color: var(--or); background-image: var(--degrade-or); }
/* Le dégradé ne se peint que dans la boîte du texte : sans marge peinte, le bas des p, j, g et l'avancée des lettres
   penchées sont rognés (vu par Nathan le 2026-10-28). Marge peinte autour, rendue par une marge négative. */
.titre em, .pilier-titre em, .manifeste-phrase em .mot { padding: .06em .14em .24em .12em; margin: -.06em -.14em -.24em -.12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------- Haut de page ---------- */
/* La photo et le plan vivent dans le même cadre au ratio de l'image (3:2), qui couvre la section : le plan tombe juste
   à toutes les tailles. --focus-x règle la partie gardée quand le cadre déborde (écran en hauteur). Le lent zoom porte
   sur le cadre entier (photo et plan ensemble) : le tracé reste sur les arêtes. */
.haut {
  --texte: var(--blanc);
  --souligne: var(--or);
  --focus-x: .43;
  position: relative;
  z-index: 0;
  display: flex;
  align-items: flex-end;
  min-height: 100svh;
  overflow: hidden;
  background: var(--noir);
  color: var(--blanc);
}
.haut-cadre {
  --cadre-l: max(100%, 150svh);
  position: absolute;
  z-index: -2;
  top: 50%;
  left: calc((100% - var(--cadre-l)) * var(--focus-x));
  width: var(--cadre-l);
  aspect-ratio: 3 / 2;
  transform: translateY(-50%);
}
/* La photo et son tracé se posent (1,08 → 1 en 2,6 s) au lieu de zoomer lentement : arrivée plus nette, puis rien ne
   bouge sous le texte. */
.haut-zoom { position: absolute; inset: 0; transform-origin: 43% 50%; animation: pose 2.6s var(--courbe) .9s both; }
.haut-zoom img { position: absolute; inset: 0; width: 100%; height: 100%; animation: apparait .7s var(--courbe) 1.1s both; }
.haut-plan {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  opacity: .35;
  will-change: opacity;
  animation: attenue .7s var(--courbe) 1.1s both;
}
.haut-plan line { stroke: #e2c47a; stroke-width: 1.5px; stroke-dasharray: 1 2; animation: trace var(--t) linear var(--d) both; }
/* Le tracé brille pendant qu'il se dessine sur le noir (halo laiton), puis s'atténue avec la photo. */
.haut-plan { filter: drop-shadow(0 0 3px rgba(241, 210, 140, .85)) drop-shadow(0 0 12px rgba(201, 166, 80, .45)); }

/* Lumières (v3). La pièce arrive dans la pénombre (voile noir à 62 %), qui se lève en 2 s pendant que les ampoules et la
   colonne LED s'allument ; un reflet chaud traverse ensuite le meuble une fois ; les ampoules respirent doucement.
   Tout vit dans le cadre zoomé : les lumières restent sur leurs objets à toutes les tailles. États de base = états
   finaux (mouvement réduit : pièce éclairée, ampoules allumées, pas de reflet). */
.haut-nuit { position: absolute; inset: 0; background: var(--noir); opacity: 0; animation: eclaire 2.2s var(--courbe) 1.9s both; }
.lum { position: absolute; pointer-events: none; mix-blend-mode: screen; will-change: opacity, transform; }
.lum-ampoule {
  top: var(--y);
  left: var(--x);
  width: 16%;
  aspect-ratio: 1;
  margin: -8% 0 0 -8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 214, 140, .9) 0, rgba(255, 176, 84, .42) 16%, rgba(255, 150, 60, .12) 38%, rgba(255, 150, 60, 0) 66%);
  animation: allume 1.3s var(--courbe) calc(2.1s + var(--decale, 0s)) both, respire 4.8s ease-in-out calc(3.4s + var(--decale, 0s)) infinite alternate;
}
.lum-colonne {
  top: 3%;
  left: 15.5%;
  width: 18%;
  height: 66%;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(255, 178, 92, .42) 0, rgba(255, 160, 70, .16) 45%, rgba(255, 160, 70, 0) 72%);
  animation: allume-doux 1.8s var(--courbe) 2.3s both;
}
.haut-reflet {
  position: absolute;
  top: -10%;
  bottom: -10%;
  left: 0;
  width: 34%;
  background: linear-gradient(100deg, rgba(255, 230, 180, 0) 0, rgba(255, 230, 180, .2) 46%, rgba(255, 244, 220, .32) 50%, rgba(255, 230, 180, .2) 54%, rgba(255, 230, 180, 0) 100%);
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-110%) skewX(-12deg);
  animation: reflet 2.6s cubic-bezier(.45, 0, .2, 1) 3.3s both;
}
/* Lampe sous la souris : halo chaud de 44 vmax qui suit le pointeur (transform seulement), au-dessus du voile. */
.haut-lampe {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 44vmax;
  height: 44vmax;
  margin: -22vmax 0 0 -22vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 210, 150, .2) 0, rgba(255, 190, 120, .07) 40%, rgba(255, 190, 120, 0) 68%);
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  transition: opacity .8s var(--courbe);
}
.haut.lampe-on .haut-lampe { opacity: 1; }
/* Voile : en haut pour lire l'en-tête sur le plafond clair, en bas sous le texte. v5 (Emmanuel, 2026-11-13 : « il faut
   que tu fonces très fortement l'image ») : un fond uniforme fonce toute la photo, les dégradés renforcent l'ombre
   sous le texte ; la pièce reste reconnaissable et ses lumières (sous le voile) gardent leur éclat relatif. */
.haut-voile {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(20deg, rgba(12, 12, 12, .6) 0, rgba(12, 12, 12, 0) 55%),
    linear-gradient(to bottom, rgba(12, 12, 12, .6) 0, rgba(12, 12, 12, .25) 22%, rgba(12, 12, 12, .1) 40%, rgba(12, 12, 12, .62) 66%, rgba(12, 12, 12, .88) 100%),
    rgba(12, 12, 12, .3);
  pointer-events: none;
}
/* Ordinateur : le texte est dans la colonne de droite ; l'ombre vient de la droite et du bas, le meuble (à gauche)
   garde plus de lumière. */
@media (min-width: 900px) {
  .haut-voile {
    background:
      linear-gradient(to left, rgba(12, 12, 12, .66) 0, rgba(12, 12, 12, .5) 34%, rgba(12, 12, 12, 0) 66%),
      linear-gradient(to bottom, rgba(12, 12, 12, .55) 0, rgba(12, 12, 12, .12) 24%, rgba(12, 12, 12, 0) 44%, rgba(12, 12, 12, .5) 78%, rgba(12, 12, 12, .72) 100%),
      rgba(12, 12, 12, .3);
  }
}
/* Téléphone : titre, phrase et boutons couvrent la moitié basse de l'écran, le voile monte avec eux. */
@media (max-width: 759px) {
  .haut-voile {
    background: linear-gradient(to bottom,
      rgba(12, 12, 12, .62) 0, rgba(12, 12, 12, .36) 18%, rgba(12, 12, 12, .4) 30%, rgba(12, 12, 12, .78) 44%, rgba(12, 12, 12, .9) 100%);
  }
}
/* Construction (v3l, Nathan le 2026-10-28 : le titre « écrit en gros, donc non ») : tout est posé en bas, le meuble
   reste la vedette. Ordinateur : titre de taille moyenne, phrase et boutons dans une colonne à droite ; légende de la
   photo en haut à droite, sous l'en-tête. Téléphone : la même pile, en bas de l'écran. */
.haut-contenu { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100svh; padding-top: calc(var(--entete-h) + clamp(1.5rem, 4vh, 3rem)); padding-bottom: clamp(2.25rem, 7vh, 4.5rem); }
.haut .titre { max-width: 13em; font-size: clamp(2rem, 8.2vw, 2.5rem); line-height: 1.02; letter-spacing: -.015em; }
/* Chaque ligne du titre monte depuis un masque. La marge négative du masque et le rembourrage de la ligne laissent la
   place aux jambages et aux accents (interlignage 1) sans changer la mise en page. */
.masque { display: block; overflow: hidden; margin: -.12em -.15em -.2em -.06em; }
.masque > span { display: block; padding: .12em .15em .2em .06em; animation: monte-masque .9s var(--courbe) 1.35s both; }
.masque + .masque > span { animation-delay: 1.47s; }
.haut-phrase { max-width: 33rem; margin-top: 1.5rem; font-size: 1.125rem; line-height: 1.5; animation: monte .6s var(--courbe) 1.85s both; }
.haut-actions { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 2rem; animation: monte .6s var(--courbe) 2s both; }
.haut-legende {
  margin-top: 1.75rem;
  color: rgba(255, 255, 255, .78);
  font-family: var(--sans);
  font-size: .9375rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
  animation: fondu .6s var(--courbe) 2.2s both;
}
@media (min-width: 900px) {
  .haut-legende { position: absolute; top: calc(var(--entete-h) + clamp(1rem, 3vh, 2rem)); right: var(--gouttiere); max-width: 20rem; margin: 0; text-align: right; }
}
/* Ordinateur : après les règles de base, qu'il remplace. */
@media (min-width: 900px) {
  .haut-contenu { display: grid; grid-template-columns: minmax(0, 1fr) minmax(19rem, 29rem); grid-template-rows: 1fr auto; column-gap: clamp(2.5rem, 6vw, 6rem); align-items: end; }
  .haut .titre { max-width: none; margin: 0; font-size: clamp(2.1rem, 2.45vw, 2.75rem); }
  .haut-cote { grid-column: 2; grid-row: 2; padding-bottom: .35rem; }
  .haut-phrase { margin-top: 1.25rem; font-size: 1.1875rem; }
  .haut-actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* ---------- Sections ---------- */
/* Sous le haut de page, chaque section n'est mise en page qu'à l'approche de l'écran : moins de travail au chargement et
   à l'arrivée des polices (mesuré : 350 ms de mise en page de toute la page au premier affichage). La hauteur retenue
   sert tant que la section n'a jamais été affichée. */
/* Le pied n'en est pas : script.js mesure son mot-marque. */
.manifeste, .section { content-visibility: auto; contain-intrinsic-block-size: auto 900px; }
.section { padding-block: clamp(5rem, 11vw, 9.5rem); scroll-margin-top: var(--entete-h); }
.creme { --fond: var(--creme); background: var(--creme); }
.sombre { --texte: var(--blanc); --fond: var(--noir); --souligne: var(--or); background: var(--noir); color: var(--blanc); }
.sapin { --texte: var(--blanc); --fond: var(--sapin); --souligne: var(--or); background: var(--sapin); color: rgba(255, 255, 255, .85); }
.sapin .titre { color: var(--blanc); }
.tete { margin-bottom: clamp(2.75rem, 5vw, 4.5rem); }
.filet { display: block; height: 1px; margin-bottom: clamp(1.75rem, 3vw, 2.5rem); background: var(--filet); transform-origin: 0 50%; }
.sombre .filet, .sapin .filet { background: var(--filet-sombre); }
.chapo { max-width: 34rem; margin-top: 1.5rem; font-size: 1.125rem; }
.sombre .chapo { color: rgba(255, 255, 255, .85); }
.note { color: var(--gris); font-weight: 400; }
.sombre .note { color: var(--gris-clair); }

/* Manifeste (v3) : la phrase du site actuel en grand, la seconde phrase en dégradé chêne (posé sur chaque mot, qui bouge
   seul), puis la construction du meuble. */
.manifeste { --fond: var(--creme); overflow: clip; padding-block: clamp(5rem, 10vw, 8.5rem) clamp(3rem, 6vw, 5rem); background: var(--creme); }
.manifeste-texte { max-width: 48rem; }
.manifeste-phrase { font-family: var(--display); font-size: clamp(2.1rem, 4.2vw, 3.6rem); font-weight: 400; line-height: 1.04; letter-spacing: -.015em; text-wrap: balance; }
.manifeste-phrase em { position: relative; display: block; font-style: italic; }
.manifeste-phrase em .mot { color: var(--chene); background: var(--degrade-chene); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.mot { display: inline-block; }
.manifeste-ligne { max-width: 30rem; margin-top: 1.75rem; color: var(--gris); font-size: 1.125rem; }
/* Trait sous « fondation » : posé sans script, tracé au défilement avec (v3l). */
.mot-trait { position: relative; }
.fondation-trait { position: absolute; left: .02em; right: .28em; bottom: .02em; height: max(2px, .04em); background: var(--degrade-chene); transform-origin: 0 50%; }
/* Reflet or sur la seconde phrase, joué une fois (classe « brille ») : une fenêtre aux bords fondus glisse sur une copie
   de la phrase en or vif, la copie glisse en sens inverse pour rester en place ; seuls transform et opacity bougent. La
   copie fait 250 % de la fenêtre (40 %), soit la largeur de la phrase. */
.reflet-sig { position: absolute; inset: 0; overflow: hidden; opacity: 0; pointer-events: none; }
.reflet-fenetre { position: absolute; inset: 0 auto 0 0; width: 40%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 42%, #000 58%, transparent); mask-image: linear-gradient(90deg, transparent, #000 42%, #000 58%, transparent); }
.reflet-texte { position: absolute; top: 0; left: 0; width: 250%; color: #efc463; text-shadow: 0 0 .3em rgba(239, 196, 99, .5); text-wrap: balance; }

/* Construction du meuble (v4b, 2026-11-09 au soir). États de base = meuble fini (photo en couleur, lumières, Emmanuel,
   signature) et piliers en liste : ce qu'on voit sans script ou en mouvement réduit. Avec le script (classe
   « vivante »), 560 vh de défilement, la scène reste collée et script.js pose, à chaque image et avec un lissage, les
   variables et styles de chaque tableau (transform, opacity, clip-path). Tailles en cqw de .dessin (conteneur), pour
   que l'interface de visio, les notes et les cotes restent à l'échelle du dessin, du téléphone au grand écran. */
.construction { margin-top: clamp(3rem, 6vw, 5rem); }
.construction-scene { display: grid; gap: 2.5rem; }
@media (min-width: 1000px) {
  .construction-scene { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: center; gap: clamp(3rem, 5vw, 5rem); }
}
.piliers { display: grid; gap: 1.75rem 2rem; }
@media (min-width: 560px) { .piliers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .piliers { grid-template-columns: minmax(0, 1fr); } }
.pilier { position: relative; }
.pilier-num { display: block; margin-bottom: .5rem; color: var(--chene); background: var(--degrade-chene); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-family: var(--display); font-size: 2.6rem; line-height: .9; }
.pilier .picto { display: none; }
.pilier-titre { font-family: var(--display); font-size: clamp(1.4rem, 2vw, 1.8rem); font-weight: 400; line-height: 1.1; letter-spacing: -.015em; }
.pilier-ligne { max-width: 26rem; margin-top: .45rem; color: var(--gris); font-size: 1.0625rem; line-height: 1.45; }
.construction-progres { display: none; }

.dessin { position: relative; overflow: hidden; aspect-ratio: 3 / 2; container-type: inline-size; background: #f8f4ed; box-shadow: 0 30px 60px -40px rgba(70, 45, 10, .45); }
.visio { position: absolute; inset: 0; transform-origin: 50% 54%; }
.toile { position: absolute; inset: 0; overflow: hidden; background: #f8f4ed; }
.dessin-grille { position: absolute; inset: 0; background-image: linear-gradient(rgba(169, 121, 63, .16) 1px, transparent 1px), linear-gradient(90deg, rgba(169, 121, 63, .16) 1px, transparent 1px); background-size: 2.5% 3.75%; opacity: 0; }
.dessin-photo { position: absolute; inset: 0; }
.dessin-photo img { width: 100%; height: 100%; object-fit: cover; }
.dessin-gris { opacity: 0; }
.dessin-gris img { filter: grayscale(.85) sepia(.18) contrast(1.04) brightness(1.1); }
.dessin-plan { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; opacity: 0; }
.dessin-plan line { stroke: #6b4a22; stroke-width: 1.5; stroke-dasharray: 1 2; stroke-linecap: round; }
.dessin-lum { position: absolute; mix-blend-mode: screen; pointer-events: none; }
.dessin-ampoule { top: var(--y); left: var(--x); width: 16%; aspect-ratio: 1; margin: -8% 0 0 -8%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 214, 140, .9) 0, rgba(255, 176, 84, .42) 16%, rgba(255, 150, 60, .12) 38%, rgba(255, 150, 60, 0) 66%); }
.dessin-colonne { top: 3%; left: 15.5%; width: 18%; height: 66%; background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(255, 178, 92, .45) 0, rgba(255, 160, 70, .16) 45%, rgba(255, 160, 70, 0) 72%); }
.dessin-signature { position: absolute; right: 3%; bottom: 4.5%; padding: .55cqw 1.1cqw .7cqw; border-radius: .9cqw; background: rgba(12, 12, 12, .62); color: var(--blanc); font-family: var(--display); font-size: max(13px, 2.3cqw); line-height: 1; }
.dessin-signature em { color: #f1d991; }
/* Emmanuel dans la pièce, à gauche du meuble (le mur et la porte de la photo), debout sur le sol. */
.dessin-emmanuel { position: absolute; bottom: -1%; left: 1.5%; width: 19%; height: auto; filter: drop-shadow(0 1.5cqw 1.5cqw rgba(0, 0, 0, .3)); }
.emmanuel-etiquette { position: absolute; bottom: 6%; left: 18%; max-width: 24cqw; padding: .9cqw 1.2cqw; border-radius: .8cqw; background: rgba(250, 248, 244, .94); box-shadow: 0 .8cqw 2.4cqw rgba(0, 0, 0, .18); color: var(--graphite); font-size: max(10px, 1.35cqw); line-height: 1.35; }
.emmanuel-etiquette strong { display: block; color: var(--noir); font-family: var(--display); font-size: max(13px, 1.9cqw); font-weight: 400; }

/* Interface de visio (tableau 01), cachée hors script. */
.visio-barre, .visio-vignettes, .curseur, .note-plan, .cote, .cote-prof, .lisere { display: none; }
html.js .vivante .visio-barre, html.js .vivante .visio-vignettes, html.js .vivante .curseur, html.js .vivante .note-plan,
html.js .vivante .cote, html.js .vivante .cote-prof, html.js .vivante .lisere { display: block; }
.visio-barre { position: absolute; bottom: 100%; left: 0; right: 0; height: 6.4cqw; display: flex; align-items: center; gap: 1.6cqw; padding: 0 1.8cqw; border-radius: 1.2cqw 1.2cqw 0 0; background: #1d1c19; color: rgba(255, 255, 255, .86); font-size: max(10px, 1.7cqw); white-space: nowrap; }
html.js .vivante .visio-barre { display: flex; }
.visio-points { display: flex; gap: .7cqw; }
.visio-points i { width: 1.1cqw; height: 1.1cqw; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.visio-titre { flex: 1; overflow: hidden; text-overflow: ellipsis; }
.visio-direct { display: flex; align-items: center; gap: .7cqw; color: rgba(255, 255, 255, .7); font-variant-numeric: tabular-nums; }
.visio-direct i { width: 1cqw; height: 1cqw; border-radius: 50%; background: #e05a4f; animation: respire-point 1.6s ease-in-out infinite alternate; }
@keyframes respire-point { to { opacity: .35; } }
.visio-vignettes { position: absolute; right: 2.2%; bottom: 3.2%; width: 17%; }
html.js .vivante .visio-vignettes { display: grid; gap: 1cqw; }
.vignette { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 1cqw; box-shadow: 0 .6cqw 1.8cqw rgba(0, 0, 0, .25); }
.vignette-emmanuel { background: radial-gradient(circle at 50% 30%, #3b5a47 0, #1e2a23 75%); box-shadow: 0 .6cqw 1.8cqw rgba(0, 0, 0, .25), 0 0 0 .3cqw #e2c47a; }
.vignette-emmanuel img { position: absolute; left: 50%; top: 8%; width: 66%; height: auto; transform: translateX(-50%); }
.vignette-vous { display: grid; place-items: center; background: #d9d2c6; }
.vignette-initiale { display: grid; place-items: center; width: 34%; aspect-ratio: 1; border-radius: 50%; background: #a9a49b; color: var(--blanc); font-size: max(11px, 2.4cqw); }
.vignette-nom { position: absolute; left: .8cqw; bottom: .6cqw; padding: .1cqw .6cqw; border-radius: .5cqw; background: rgba(12, 12, 12, .55); color: var(--blanc); font-size: max(9px, 1.15cqw); }
/* Curseur d'Emmanuel : il suit la tête du trait en cours (script.js pose --cx et --cy en % du dessin). */
.curseur { position: absolute; top: 0; left: 0; transform: translate(calc(var(--cx, 50) * 1cqw), calc(var(--cy, 50) * .6667cqw)); will-change: transform; }
.curseur svg { width: max(14px, 2cqw); height: auto; fill: #c1a04c; stroke: #fff; stroke-width: 1.2; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .3)); }
.curseur span { position: absolute; top: 100%; left: 70%; padding: .15cqw .7cqw; border-radius: .5cqw; background: #c1a04c; color: #1d1c19; font-size: max(9px, 1.15cqw); white-space: nowrap; }
/* Notes posées sur le plan pendant la visio. */
.note-plan { position: absolute; top: var(--y); left: var(--x); opacity: 0; transform: translateY(1cqw) scale(.92); transform-origin: 0 100%; }
.note-point { position: absolute; left: -.7cqw; top: -.7cqw; width: 1.4cqw; height: 1.4cqw; border-radius: 50%; background: #c1a04c; box-shadow: 0 0 0 .5cqw rgba(193, 160, 76, .25); }
.note-texte { position: absolute; left: 1.4cqw; bottom: .6cqw; padding: .6cqw 1cqw; border-radius: .8cqw .8cqw .8cqw 0; background: #1d1c19; color: var(--blanc); font-size: max(10px, 1.45cqw); line-height: 1.2; white-space: nowrap; }
/* Liseré « Fabriqué en France » (tableau 02, puis 03 et 04). */
.lisere { position: absolute; top: 4%; left: 2.5%; isolation: isolate; display: flex; align-items: center; gap: 1cqw; padding: .8cqw 1.3cqw; color: var(--noir); font-size: max(10px, 1.45cqw); opacity: 0; transform-origin: 0 50%; }
html.js .vivante .lisere { display: flex; }
.lisere-drapeau { display: flex; width: 3.6cqw; height: 2.4cqw; overflow: hidden; border-radius: .3cqw; box-shadow: 0 0 0 1px rgba(12, 12, 12, .12); }
.lisere-drapeau i { flex: 1; transform-origin: 50% 0; }
.lisere-drapeau i:nth-child(1) { background: #2f4e9b; }
.lisere-drapeau i:nth-child(2) { background: #f6f3ec; }
.lisere-drapeau i:nth-child(3) { background: #c63d36; }
/* Cotes (tableau 03) : la ligne se trace (scale), une graduation fine la suit, un point laser à chaque bout. */
.cote { position: absolute; opacity: 0; }
.cote-h { left: calc(var(--x1) * 1%); width: calc((var(--x2) - var(--x1)) * 1%); top: calc(var(--y) * 1%); height: 0; }
.cote-v { top: calc(var(--y1) * 1%); height: calc((var(--y2) - var(--y1)) * 1%); left: calc(var(--x) * 1%); width: 0; }
.cote-ligne { position: absolute; background: #2b1d0c; transform-origin: 0 0; will-change: transform; }
.cote-h .cote-ligne { left: 0; right: 0; top: -.6cqw; height: 1.2cqw; background: linear-gradient(#2b1d0c, #2b1d0c) 0 50% / 100% 1.5px no-repeat, repeating-linear-gradient(90deg, rgba(43, 29, 12, .7) 0 1px, transparent 1px 1.25cqw) 0 0 / 100% 45% no-repeat; transform: scaleX(var(--f, 0)); }
.cote-v .cote-ligne { top: 0; bottom: 0; left: -.6cqw; width: 1.2cqw; background: linear-gradient(#2b1d0c, #2b1d0c) 50% 0 / 1.5px 100% no-repeat, repeating-linear-gradient(0deg, rgba(43, 29, 12, .7) 0 1px, transparent 1px 1.25cqw) 0 0 / 45% 100% no-repeat; transform: scaleY(var(--f, 0)); }
.laser { position: absolute; width: 1.2cqw; height: 1.2cqw; margin: -.6cqw 0 0 -.6cqw; border-radius: 50%; background: #e2433c; box-shadow: 0 0 0 .4cqw rgba(226, 67, 60, .25), 0 0 1.4cqw rgba(226, 67, 60, .8); opacity: 0; }
.cote-h .laser { top: 0; left: 0; }
.cote-h .laser-fin { left: 100%; }
.cote-v .laser { top: 0; left: 0; }
.cote-v .laser-fin { top: 100%; }
.cote.pose .laser, .cote.part .laser:not(.laser-fin) { opacity: 1; }
.cote.pose .laser-fin { animation: laser-ping .9s ease-out both; }
@keyframes laser-ping { 0% { transform: scale(2.4); opacity: 0; } 40% { opacity: 1; } 100% { transform: none; opacity: 1; } }
.cote-val { position: absolute; padding: .5cqw 1cqw; border-radius: .6cqw; background: #1d1c19; color: var(--blanc); font-size: max(10px, 1.5cqw); font-variant-numeric: tabular-nums; line-height: 1.15; white-space: nowrap; }
.cote-val b { font-weight: 500; color: #f1d991; }
.cote-h .cote-val { left: 50%; top: 0; transform: translate(-50%, -125%); }
.cote-v .cote-val { left: 0; top: 50%; transform: translate(-50%, -50%) rotate(-90deg); }
.cote-prof { position: absolute; top: 49%; right: 2.5%; display: flex; align-items: center; gap: .8cqw; padding: .5cqw 1cqw; border-radius: .6cqw; background: #1d1c19; color: var(--blanc); font-size: max(10px, 1.4cqw); white-space: nowrap; opacity: 0; }
html.js .vivante .cote-prof { display: flex; }
.cote-prof svg { width: 2.6cqw; height: auto; fill: none; stroke: #f1d991; stroke-width: 1.4; stroke-linejoin: round; }

html.js .construction.vivante { height: 560svh; }
/* v10e (2026-11-20, vitesse) : même hauteur réservée avant que script.js pose « vivante » (mêmes conditions : script
   actif, mouvement non réduit ; svh n'existe que là où IntersectionObserver existe). Sans elle, la scène est courte
   au premier calcul et le navigateur charge d'emblée les photos des catégories, qu'il croit proches. */
@media (prefers-reduced-motion: no-preference) { html.js .construction { height: 560svh; } }
html.js .vivante .construction-scene { position: sticky; top: 0; height: 100svh; padding-top: var(--entete-h); align-content: center; }
html.js .vivante .dessin { overflow: visible; background: none; box-shadow: none; }
html.js .vivante .visio { will-change: transform; }
html.js .vivante .toile { box-shadow: 0 0 0 1px var(--filet), 0 30px 60px -40px rgba(70, 45, 10, .45); }
html.js .vivante .dessin-couleur, html.js .vivante .dessin-lum, html.js .vivante .dessin-emmanuel, html.js .vivante .emmanuel-etiquette, html.js .vivante .dessin-signature { opacity: 0; }
html.js .vivante .piliers { display: grid; grid-template-columns: minmax(0, 1fr); }
/* Le pilier qui part monte et s'efface, le suivant arrive d'en dessous ; numéro et titre décalés. */
html.js .vivante .pilier { grid-area: 1 / 1; opacity: 0; transform: translateY(26px); transition: opacity .45s ease, transform .8s var(--courbe); pointer-events: none; }
html.js .vivante .pilier.passe { transform: translateY(-26px); }
html.js .vivante .pilier.actif { opacity: 1; transform: none; transition-delay: .1s; pointer-events: auto; }
html.js .vivante .pilier-num { margin-bottom: 1rem; font-size: clamp(3rem, 7vw, 6.5rem); }
html.js .vivante .pilier-titre, html.js .vivante .pilier-ligne { transition: transform .9s var(--courbe) .16s, opacity .6s ease .16s; }
html.js .vivante .pilier:not(.actif) .pilier-titre, html.js .vivante .pilier:not(.actif) .pilier-ligne { opacity: 0; transform: translateY(14px); }
html.js .vivante .pilier-titre { font-size: clamp(1.7rem, 3vw, 2.8rem); }
html.js .vivante .pilier-ligne { font-size: 1.125rem; }
html.js .vivante .construction-progres { display: flex; gap: 8px; max-width: 18rem; margin-top: clamp(1.5rem, 4vh, 2.5rem); }
.construction-progres span { position: relative; flex: 1; height: 2px; overflow: hidden; background: var(--filet); }
.construction-progres span::after { content: ""; position: absolute; inset: 0; background: var(--chene); transform: scaleX(var(--f, 0)); transform-origin: 0 50%; }
/* Téléphone : le dessin en haut (la barre de visio dépasse au-dessus : marge), le pilier dessous. */
@media (max-width: 999px) {
  html.js .vivante .construction-scene { grid-template-rows: auto auto; gap: 1.5rem; align-content: center; }
  html.js .vivante .dessin { grid-row: 1; width: calc(100% + 2 * var(--gouttiere)); margin: 7vw calc(-1 * var(--gouttiere)) 0; }
  .emmanuel-etiquette { max-width: 34cqw; }
  html.js .vivante .pilier-num { font-size: 2.6rem; margin-bottom: .5rem; }
  html.js .vivante .pilier-titre { font-size: 1.6rem; }
  .note-plan:nth-of-type(3) { display: none !important; }
}

.picto { width: 48px; height: 48px; fill: none; stroke: var(--noir); stroke-width: 1.25px; }
.picto path { stroke-dasharray: 1 2; transition: stroke-dashoffset 1.2s var(--courbe) calc(.55s + var(--n, 0) * 120ms); }

/* ---------- Photos : rideau, cadre or ---------- */
/* Rideau : panneau de la couleur du fond qui s'ouvre de gauche à droite (scaleX 1 → 0, origine à droite). */
.rideau { position: relative; overflow: hidden; }
.rideau::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--fond);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  pointer-events: none;
}
/* Cadre or : rectangle SVG posé exactement sur les bords de la photo (trait centré sur le bord), tracé par
   stroke-dashoffset (pathLength 1 : tiret de toute la longueur, puis un vide). */
.cadre { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke: var(--or); stroke-width: 1.5px; pointer-events: none; }
.cadre rect { stroke-dasharray: 1 2; stroke-dashoffset: 1; transition: stroke-dashoffset .7s var(--courbe); }

/* Catégories : voir le bloc « v4d » en fin de fichier. */
.categories { --fond: var(--blanc-chaud); background: var(--blanc-chaud); }

/* Réalisations : mur de photos (v4e, v4f), voir le bloc « v4e puis v4f » en fin de fichier. Le carrousel plein cadre de la v3 est
   retiré (choix de Nathan du 2026-11-09) ; sa version est dans sauvegarde-v3m\style-v4d.css. */
.galerie-section { overflow: clip; }
.galerie-pied { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .75rem 2rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--filet-sombre); }

/* Comment ça marche : quatre chapitres plein cadre (v4g), voir le bloc « v4g » en fin de fichier. L'ancien parcours
   (rail or, étapes, grand numéro) est dans sauvegarde-v3m\style-v4f.css. */

/* Emmanuel (crème) : photo verticale sur un panneau chêne clair décalé de 24 px, cadre or tracé à l'entrée ; portrait
   rond cerclé d'or ; trois faits séparés par des filets ; détail de matière. */
.emmanuel-photo-int { aspect-ratio: 4 / 5; background: #e9e2d6; }
.emmanuel-grille { display: grid; gap: clamp(3.5rem, 7vw, 6.5rem); align-items: start; }
@media (min-width: 900px) {
  .emmanuel-grille { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .emmanuel-photo-int { aspect-ratio: 2 / 3; }
}
.emmanuel-photo { position: relative; z-index: 0; width: calc(100% - 24px); }
.emmanuel-photo::before { content: ""; position: absolute; z-index: -1; inset: 24px -24px -24px 24px; background: var(--chene-clair); }
.emmanuel-photo-int img { width: 100%; height: 100%; object-fit: cover; }
.cadre-entree rect { stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s var(--courbe) .55s; }
.portrait { position: relative; width: 112px; height: 112px; margin-bottom: 1.75rem; }
.portrait img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.cercle { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke: var(--or); stroke-width: 1.5px; transform: rotate(-90deg); }
.cercle circle { stroke-dasharray: 1 2; transition: stroke-dashoffset 1.2s var(--courbe) .7s; }
.nom { font-family: var(--display); font-size: clamp(2.2rem, 4vw, 3.6rem); font-weight: 300; line-height: 1.05; letter-spacing: -.01em; }
/* Chêne sur crème : 3,3:1, réservé au texte de 24 px et plus (« grand texte » au sens WCAG). */
.role { margin-top: .4rem; color: var(--chene); font-size: 1.5rem; line-height: 1.3; }
.bio { max-width: 34rem; margin-top: 1.75rem; color: var(--graphite); font-size: 1.125rem; }
.faits { max-width: 34rem; margin-top: 2rem; border-bottom: 1px solid var(--filet); }
.faits li { padding: .85rem 0; border-top: 1px solid var(--filet); color: var(--graphite); font-weight: 400; }
.matiere { width: 240px; margin-top: 2.75rem; }
.matiere-photo { overflow: hidden; aspect-ratio: 3 / 4; background: #e9e2d6; }
.matiere-photo img { width: 100%; height: 100%; object-fit: cover; }
.matiere figcaption { margin-top: .8rem; color: var(--graphite); font-size: 1rem; font-style: italic; line-height: 1.45; }
.sans-photo .portrait { width: 180px; height: 180px; }
.sans-photo .matiere { display: none; }

/* Contact (crème) : champs à filet bas gris ; au focus, un filet chêne se trace par-dessus (scaleX). */
.contact-grille { display: grid; gap: clamp(3rem, 6vw, 6rem); }
@media (min-width: 900px) {
  .contact-grille { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
}
.contact-intro p { max-width: 30rem; font-size: 1.125rem; }
.contact-intro p + p { margin-top: 1.25rem; }
.formulaire { display: grid; gap: 1.85rem 1.5rem; align-content: start; }
@media (min-width: 600px) {
  .formulaire { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .large { grid-column: 1 / -1; }
}
.champ { position: relative; }
.champ::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--chene);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .5s var(--courbe);
  pointer-events: none;
}
.champ:focus-within::after { transform: none; }
.champ label { display: block; margin-bottom: .2rem; color: var(--gris); font-size: .9375rem; font-weight: 400; }
.champ input, .champ select, .champ textarea {
  display: block;
  width: 100%;
  padding: .45rem 0 .55rem;
  border: 0;
  border-bottom: 1px solid var(--gris);
  border-radius: 0;
  background: transparent;
  color: var(--graphite);
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 400;
  -webkit-appearance: none;
  appearance: none;
}
.champ select {
  padding-right: 1.75rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%232a2a2a' stroke-width='1.25'/%3E%3C/svg%3E") no-repeat right .25rem center;
}
.champ textarea { min-height: 7rem; resize: vertical; }
/* Le filet chêne tracé tient lieu d'indicateur de focus (2 px, 3,3:1 sur crème). */
.champ input:focus-visible, .champ select:focus-visible, .champ textarea:focus-visible { outline: none; }
.form-pied { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form-note { color: var(--gris); font-size: .9375rem; font-weight: 400; }

/* Pied (noir) : logo et phrase, plan du site, contact ; puis le mot-marque en très grand sur toute la largeur, blanc
   qui s'estompe vers le bas (retour de Nathan du 2026-10-28 : « les lettres en gros, on voit la marque »), sans
   animation. Taille calée pour tenir sur une ligne dans le conteneur (Bricolage 500). */
.pied { --souligne: var(--or); padding-block: clamp(3.5rem, 7vw, 6rem) 2.5rem; background: var(--noir); color: var(--blanc); font-size: .9375rem; font-weight: 400; }
.pied-haut { display: grid; gap: 2.5rem; }
@media (min-width: 900px) {
  .pied-haut { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }
}
.pied-logo { width: auto; height: 48px; }
.pied-id p { max-width: 26rem; margin-top: 1.25rem; color: rgba(255, 255, 255, .7); }
.pied-col { display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; }
.pied-col a { color: rgba(255, 255, 255, .82); text-decoration: none; transition: color .2s ease; }
.pied-col .lien-or { text-decoration: underline; text-decoration-color: var(--or); }
@media (hover: hover) and (pointer: fine) {
  .pied-col a:hover { color: var(--blanc); }
}
.pied-marque {
  margin-top: clamp(3.5rem, 8vw, 7rem);
  color: var(--blanc);
  font-family: var(--display);
  /* Repli avant le script (ligne entière ≈ 8,1 em) ; script.js règle ensuite la taille exacte. */
  font-size: min(calc((100vw - 2 * var(--gouttiere)) / 8.8), 9rem);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.025em;
  white-space: nowrap;
}
.pied-marque span { display: inline-block; padding: 0 .06em .22em; margin: 0 -.06em -.22em; background: linear-gradient(180deg, #fff 35%, rgba(255, 255, 255, .38) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
/* Téléphone : deux lignes (« Design & » puis « Rangement »), plus grandes qu'une seule ligne tassée. */
@media (max-width: 599px) {
  .pied-marque { font-size: calc((100vw - 2 * var(--gouttiere)) / 5); line-height: .92; white-space: normal; }
  .pied-marque span { display: block; width: max-content; }
}
.inactif { color: rgba(255, 255, 255, .7); text-decoration: none; }
.pied-maquette { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--filet-sombre); color: rgba(255, 255, 255, .7); font-size: .8125rem; }

/* ---------- Révélations à l'entrée dans l'écran (script.js ajoute .js puis .vu, une fois) ---------- */
/* Sections (.revele) : filet, titre, puis contenu décalé de 80 ms (--i). */
html.js .revele .filet { transition: transform .9s var(--courbe); }
html.js .revele .titre { transition: opacity .7s var(--courbe) .25s, transform .7s var(--courbe) .25s; }
html.js .revele .r { transition: opacity .6s var(--courbe), transform .6s var(--courbe); transition-delay: calc(.45s + var(--i, 0) * 80ms); }
html.js .revele .mot { transition: opacity .7s var(--courbe), transform .7s var(--courbe); transition-delay: calc(.15s + var(--m) * 45ms); }
html.js .revele .manifeste-filet { transition: transform .9s var(--courbe) .55s; }
html.js .revele .manifeste-ligne { transition: opacity .7s var(--courbe) .85s, transform .7s var(--courbe) .85s; }

html.js .revele:not(.vu) .filet { transform: scaleX(0); }
html.js .revele:not(.vu) .titre, html.js .revele:not(.vu) .r { opacity: 0; transform: translateY(16px); }
html.js .revele:not(.vu) .mot { opacity: 0; transform: translateY(8px); }
html.js .revele:not(.vu) .manifeste-filet { transform: scaleX(0); }
html.js .revele:not(.vu) .manifeste-ligne { opacity: 0; transform: translateY(12px); }
html.js .revele:not(.vu) .picto path { stroke-dashoffset: 1; }
/* Manifeste encré au défilement (v3l, script.js pose --p de 0 à 1) : chaque mot passe de 12 à 100 % et remonte d'un
   rien, l'un après l'autre ; le trait se trace une fois « fondation » posé ; la ligne arrive à la fin. Passe après les
   règles .revele, qu'il remplace. */
html.js .manifeste .manifeste-texte.encre .mot { --w: clamp(0, (var(--p, 0) * 9.5 - var(--m)) / 1.5, 1); opacity: calc(.12 + .88 * var(--w)); transform: translateY(calc((1 - var(--w)) * .14em)); transition: opacity .35s linear, transform .35s linear; }
html.js .manifeste .manifeste-texte.encre .fondation-trait { transform: scaleX(clamp(0, (var(--p, 0) - .42) / .3, 1)); transition: transform .35s linear; }
html.js .manifeste .manifeste-texte.encre .manifeste-ligne { opacity: clamp(0, (var(--p, 0) - .8) / .2, 1); transform: translateY(calc((1 - clamp(0, (var(--p, 0) - .8) / .2, 1)) * 12px)); transition: opacity .35s linear, transform .35s linear; }
html.js .encre.brille .reflet-sig { opacity: 1; }
html.js .encre.brille .reflet-fenetre { animation: reflet-fenetre 1.8s cubic-bezier(.45, 0, .2, 1) .25s both; }
html.js .encre.brille .reflet-texte { animation: reflet-texte 1.8s cubic-bezier(.45, 0, .2, 1) .25s both; }
@keyframes reflet-fenetre { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
@keyframes reflet-texte { from { transform: translateX(40%); } to { transform: translateX(-100%); } }

html.js .revele:not(.vu) .cercle circle { stroke-dashoffset: 1; }
/* Éléments observés un par un (.entre) : rideau, légende, cadre ; ceux qui entrent ensemble se décalent (--lot). */
html.js .entre .rideau::after { transition: transform .9s var(--courbe) calc(var(--lot, 0) * var(--pas, 120ms)); }
html.js .entre figcaption { transition: opacity .6s var(--courbe) calc(.35s + var(--lot, 0) * var(--pas, 120ms)), transform .5s var(--courbe); }
html.js .entre:not(.vu) .rideau::after { transform: none; }
html.js .entre:not(.vu) figcaption { opacity: 0; }
html.js .entre:not(.vu) .cadre-entree rect { stroke-dashoffset: 1; }

@keyframes trace { from { stroke-dashoffset: 1; } }
@keyframes apparait { from { opacity: 0; } }
@keyframes attenue { from { opacity: 1; } }
@keyframes monte { from { opacity: 0; transform: translateY(16px); } }
@keyframes monte-masque { from { transform: translateY(110%); } }
@keyframes fondu { from { opacity: 0; } }
@keyframes pose { from { transform: scale(1.08); } }
@keyframes leg-entre { from { transform: translateY(105%); } }
@keyframes onde { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(4.2); } }
@keyframes leg-sort { to { opacity: 0; transform: translateY(-60%); } }
@keyframes jauge-a { to { transform: none; } }
@keyframes eclaire { from { opacity: .62; } }
@keyframes allume { 0% { opacity: 0; transform: scale(.4); } 55% { opacity: 1; } }
@keyframes allume-doux { from { opacity: 0; } }
@keyframes respire { to { opacity: .72; } }
@keyframes reflet { 0% { opacity: 0; transform: translateX(-110%) skewX(-12deg); } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translateX(310%) skewX(-12deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js .revele:not(.vu) .filet, html.js .revele:not(.vu) .manifeste-filet { transform: none; }
  html.js .revele:not(.vu) .titre, html.js .revele:not(.vu) .r, html.js .revele:not(.vu) .mot, html.js .revele:not(.vu) .manifeste-ligne { opacity: 1; transform: none; }
  .haut-lampe { display: none; }
  html.js .revele:not(.vu) .picto path, html.js .revele:not(.vu) .cercle circle, html.js .entre:not(.vu) .cadre-entree rect { stroke-dashoffset: 0; }
  html.js .entre:not(.vu) figcaption { opacity: 1; transform: none; }
  html.js .entre:not(.vu) .rideau::after { transform: scaleX(0); }
}

/* =====================================================================================================================
   v4 (2026-11-09) : retours d'Emmanuel (vidéos 1 à 3) et page Meubles TV. Ce bloc vient en dernier et remplace ce
   qu'il redit. Mouvement : transform, opacity, stroke-dashoffset ; mouvement réduit en fin de bloc.
   ===================================================================================================================== */

/* Haut de page : nouvelle photo (salon au mur vert, meuble TV à gauche) ; on garde la gauche quand le cadre déborde. */
.haut { --focus-x: .22; }
/* Ruban LED sous l'étagère suspendue (de 24 / 34,3 % à 52 / 37,2 % du cadre, penché de 4°). */
.lum-led {
  top: 32.6%;
  left: 22%;
  width: 32%;
  height: 7%;
  transform-origin: 0 50%;
  rotate: 4deg;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(255, 214, 150, .55) 0, rgba(255, 190, 110, .2) 45%, rgba(255, 190, 110, 0) 75%);
  animation: allume-doux 1.6s var(--courbe) 2.2s both;
}
.haut-prix {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: 1.1rem;
  color: rgba(255, 255, 255, .86);
  font-size: 1rem;
  animation: monte .6s var(--courbe) 1.95s both;
}
.haut-prix::before { content: ""; width: 2rem; height: 1px; background: var(--or); }
.haut-prix strong { color: var(--blanc); font-weight: 500; }
/* « France » : bleu, blanc, rouge en trois filets fins sous le mot, tracés l'un après l'autre (scaleX), couleurs
   assourdies pour rester élégantes sur la photo. */
.france { position: relative; }
.tricolore { position: absolute; right: .04em; bottom: -.02em; left: .02em; display: flex; height: 2px; gap: 2px; }
.tricolore i { flex: 1; transform-origin: 0 50%; animation: trace-filet .55s var(--courbe) both; }
.tricolore i:nth-child(1) { background: #3d5ba8; animation-delay: 2.15s; }
.tricolore i:nth-child(2) { background: #f4f1ea; animation-delay: 2.3s; }
.tricolore i:nth-child(3) { background: #c8403a; animation-delay: 2.45s; }
@keyframes trace-filet { from { transform: scaleX(0); } }

.note-maquette { margin-top: 2.5rem; color: var(--gris); font-size: .875rem; font-style: italic; }

/* Emmanuel détouré (vidéo 3) : il entre en montant, un halo se pose derrière lui. */
.apparition { position: relative; z-index: 0; margin: 0; }
.apparition img { position: relative; width: 100%; height: auto; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .28)); }
.apparition::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translateX(-50%);
}
html.js .apparition img { transition: opacity .9s var(--courbe) .1s, transform 1.1s var(--courbe) .1s; }
html.js .apparition::before, html.js .apparition::after { transition: opacity .9s var(--courbe) .45s, transform 1.2s var(--courbe) .45s; }
html.js .apparition:not(.vu) img { opacity: 0; transform: translateY(48px); }
html.js .apparition:not(.vu)::before, html.js .apparition:not(.vu)::after { opacity: 0; transform: translateX(-50%) scale(.82); }
.apparition-contact { width: 200px; margin: 3rem auto 0; }
.apparition-contact img { -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent); mask-image: linear-gradient(to bottom, #000 80%, transparent); }
.apparition-contact::before { top: 10%; width: 118%; background: var(--chene-clair); }
.apparition-contact::after { content: ""; position: absolute; z-index: -1; top: 5%; left: 50%; width: 132%; aspect-ratio: 1; border: 1px solid var(--or); border-radius: 50%; transform: translateX(-50%); }
@media (min-width: 900px) { .apparition-contact { width: 260px; margin-top: 3rem; margin-left: 2rem; } }

/* Portrait : son texte en trois paragraphes. */
.bio p + p { margin-top: .9rem; }

/* Emplacements en attente (avis, prix, projets) : cadre chêne en tirets qui se trace, texte gris. Rien d'inventé. */
.a-venir { position: relative; padding: clamp(1.75rem, 4vw, 2.75rem); color: var(--gris); }
.a-venir-trait { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke: var(--chene); stroke-width: 1px; stroke-dasharray: .006 .006; pointer-events: none; }
.a-venir-titre { margin-bottom: .5rem; color: var(--noir); font-family: var(--display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.15; }
.avis { padding-top: 0; }
.avis-attente { max-width: 46rem; }

[hidden] { display: none !important; }

/* =====================================================================================================================
   Page Meubles TV (gabarit des pages catégories) : tête sombre au trait or, grille de projets (3 colonnes, 9 au plus,
   modèle Bois et Blanc), fenêtre du projet avec toutes ses photos, son titre et son prix (jamais de ville).
   ===================================================================================================================== */
.page-tete { --texte: var(--blanc); --souligne: var(--or); position: relative; overflow: hidden; padding: calc(var(--entete-h) + clamp(3rem, 8vw, 6rem)) 0 clamp(3.5rem, 7vw, 6rem); background: var(--noir); color: rgba(255, 255, 255, .86); }
.page-tete-grille { display: grid; gap: 2.5rem; align-items: end; }
@media (min-width: 900px) { .page-tete-grille { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.fil-ariane { display: flex; gap: .6rem; margin-bottom: 1.75rem; color: rgba(255, 255, 255, .7); font-size: .875rem; }
.fil-ariane a { color: inherit; text-decoration: none; }
.fil-ariane a:hover { color: var(--blanc); }
.page-tete .titre { color: var(--blanc); animation: monte .8s var(--courbe) .15s both; }
.page-tete .titre em { color: var(--or); background-image: var(--degrade-or); }
.page-chapo { max-width: 34rem; margin-top: 1.5rem; font-size: 1.125rem; animation: monte .7s var(--courbe) .35s both; }
.page-tete .haut-prix { animation-delay: .5s; }
/* Le meuble TV dessiné au trait or, qui se trace à l'arrivée (signature de la maquette, aucun meuble inventé : un
   pictogramme, pas une réalisation). */
/* Tête Meubles TV, « du trait au meuble » (v4o) : 1) le plan or se dessine sur fond noir (0,3 → 2,2 s) ; 2) le voile
   noir glisse vers la droite, bord or en tête, et découvre la vraie photo qui se pose (1,9 → 3,1 s) ; 3) le trait reste
   en calque, s'efface au survol. États de base = états finaux (mouvement réduit : photo, trait et cote visibles). */
.tete-plan { margin: 0; width: 100%; max-width: 33rem; justify-self: end; }
.tete-plan-cadre { position: relative; aspect-ratio: 5 / 4; margin-right: 2.4rem; }
/* Page Entrées (v4q) : photo de couloir en portrait, cadre 4:5 moins large. */
.tete-plan-portrait { max-width: 26rem; }
.tete-plan-portrait .tete-plan-cadre { aspect-ratio: 4 / 5; }
.tete-plan-zone { position: absolute; inset: 0; overflow: hidden; }
.tete-plan-photo { display: block; width: 100%; height: 100%; object-fit: cover; filter: brightness(.9) saturate(.95); animation: tete-pose 1.6s var(--courbe) 1.9s both; }
.tete-plan-voile { position: absolute; inset: -1px; background: var(--noir); transform: translateX(101%); animation: tete-voile 1.2s cubic-bezier(.7, 0, .2, 1) 1.9s both; }
.tete-plan-voile::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: var(--or); animation: apparait .25s ease 1.85s both; }.tete-plan-trait { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; overflow: visible; fill: none; stroke: #e2c47a; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 1.5px rgba(12, 12, 12, .55)); transition: opacity .5s var(--courbe); }
.tete-plan-trait path, .tete-plan-cote path { stroke-dasharray: 1; animation: trace 1.1s var(--courbe) both; animation-delay: calc(.3s + var(--j, 0) * 120ms); }
.tete-plan-cote { position: absolute; top: 0; right: -2.4rem; width: 1.5rem; height: 100%; overflow: visible; fill: none; stroke: #e2c47a; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.tete-plan-cote path { vector-effect: non-scaling-stroke; animation-delay: 1.4s; }
.tete-plan-cote-txt { position: absolute; top: 50%; right: -2.4rem; width: 1.5rem; display: flex; justify-content: center; padding: .4rem 0; background: var(--noir); color: #e2c47a; font-size: .75rem; white-space: nowrap; writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg); animation: apparait .6s ease 2s both; }
@media (max-width: 899px) { .tete-plan-trait { stroke-width: 3.6; } }
@media (hover: hover) and (pointer: fine) { .tete-plan:hover .tete-plan-trait { opacity: .12; } }
.tete-plan-legende { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem 1.25rem; margin: 1rem 2.4rem 0 0; font-size: .9375rem; animation: apparait .8s ease 2.8s both; }
.tete-plan-lien { padding: 0; border: 0; background: none; color: rgba(255, 255, 255, .86); font: inherit; text-align: left; cursor: pointer; }
.tete-plan-lien:hover { color: var(--blanc); }
.tete-plan-fleche { display: inline-block; color: var(--or); transition: transform .3s var(--courbe); }
.tete-plan-lien:hover .tete-plan-fleche { transform: translateX(4px); }
@keyframes tete-voile { from { transform: translateX(0); } }
@keyframes tete-pose { from { transform: scale(1.08); } }

.projets-grille { display: grid; gap: 3rem var(--gouttiere); }
@media (min-width: 640px) { .projets-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .projets-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* v4r : carte en colonne qui remplit sa case, prix poussé en bas : les prix d'une rangée s'alignent même quand un
   titre tient sur trois lignes. */
.projets-grille > li { display: flex; }
.projet-carte { display: flex; flex-direction: column; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.projet-photo { position: relative; display: block; overflow: hidden; aspect-ratio: 1; background: #ece6dc; }
.projet-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--courbe), opacity .6s var(--courbe); }
.projet-photo .projet-photo-2 { opacity: 0; transform: scale(1.04); }
.projet-nb { position: absolute; right: 12px; bottom: 12px; padding: .3rem .65rem; background: rgba(12, 12, 12, .62); color: var(--blanc); font-size: .8125rem; }
.projet-texte { display: flex; flex: 1; flex-direction: column; padding-top: 1.1rem; }
.projet-titre { display: block; margin-bottom: .7rem; font-family: var(--display); font-size: 1.4rem; line-height: 1.2; text-wrap: pretty; }
.projet-prix { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: .7rem; border-top: 1px solid var(--filet); }
.prix-attente { color: var(--gris); font-size: .9375rem; font-style: italic; }
/* v4n : prix reçus (liste du 2026-11-10), en serif comme les titres ; dans la fenêtre, il remplace l'italique gris. */
.prix-montant { color: var(--noir); font-family: var(--display); font-size: 1.3rem; font-style: normal; line-height: 1; }
.fenetre-prix .prix-montant { font-size: 1.6rem; }
.projet-voir { color: var(--chene); font-size: .9375rem; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; }
@media (hover: hover) and (pointer: fine) {
  .projet-carte:hover .projet-photo-1 { opacity: 0; }
  .projet-carte:hover .projet-photo-2 { opacity: 1; transform: none; }
  /* Projet à une seule photo (v4q) : elle reste et avance un peu au survol. */
  .projet-carte:hover .projet-photo:not(:has(.projet-photo-2)) .projet-photo-1 { opacity: 1; transform: scale(1.04); }
  .projet-carte:hover .cadre rect { stroke-dashoffset: 0; }
}
.projet-carte:focus-visible { outline: 2px solid var(--noir); outline-offset: 6px; }
.projet-attente { display: flex; flex-direction: column; justify-content: center; aspect-ratio: 1; }
.picto-attente { width: 72px; height: 44px; margin-bottom: 1rem; fill: none; stroke: var(--chene); stroke-width: 1.2; }
.projets-reste { margin-top: 3rem; }
.projets-reste .a-venir-titre { font-size: 1.4rem; }
.reste-cases { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; max-width: 26rem; margin-top: 1.25rem; }
.reste-cases span { aspect-ratio: 1; border: 1px dashed rgba(169, 121, 63, .55); }
html.js .entre .projet-texte { transition: opacity .6s var(--courbe) calc(.35s + var(--lot, 0) * 120ms); }
html.js .entre:not(.vu) .projet-texte { opacity: 0; }

/* Bandeau d'appel (sapin) avec Emmanuel détouré, posé sur le bas du bandeau. */
.appel { padding-bottom: 0; overflow: hidden; }
.appel-grille { display: grid; gap: 1rem; align-items: end; }
@media (min-width: 900px) { .appel-grille { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }
.appel-texte { padding-bottom: clamp(3rem, 8vw, 7rem); }
.appel-texte p { max-width: 32rem; margin: 1.5rem 0 2rem; font-size: 1.125rem; }
.apparition-appel { justify-self: center; width: min(300px, 70vw); }
.apparition-appel::before { top: 12%; width: 130%; background: radial-gradient(circle, rgba(193, 160, 76, .22) 0, rgba(193, 160, 76, 0) 68%); }
.apparition-appel img { filter: none; }
/* v4r : sur ordinateur, la photo en pied (858 px de haut) imposait sa hauteur au bandeau et laissait 540 px de vert vide
   au-dessus du titre. Photo un peu plus petite, haut de section resserré, texte centré en hauteur. */
@media (min-width: 900px) {
  .appel { padding-top: clamp(4rem, 7vw, 6rem); }
  .appel-texte { align-self: center; padding-bottom: 0; }
  .apparition-appel { width: 250px; align-self: end; }
}

/* Fenêtre du projet (<dialog>) : photo en grand à gauche, texte à droite ; au téléphone, l'un sous l'autre. Ouverture :
   fond qui se fonce, feuille qui monte ; changement de photo : fondu et léger zoom. */
.fenetre { width: min(1240px, 100vw - 32px); max-width: none; height: min(820px, 100dvh - 32px); max-height: none; margin: auto; padding: 0; border: 0; background: var(--blanc-chaud); color: var(--noir); overflow: hidden; }
.fenetre::backdrop { background: rgba(12, 12, 12, .78); }
.fenetre[open] { animation: fenetre-monte .5s var(--courbe) both; }
.fenetre[open]::backdrop { animation: fondu .4s ease both; }
.fenetre.ferme { animation: fenetre-part .28s ease both; }
.fenetre.ferme::backdrop { animation: fondu-sort .28s ease both; }
@keyframes fenetre-monte { from { opacity: 0; transform: translateY(28px) scale(.985); } }
@keyframes fenetre-part { to { opacity: 0; transform: translateY(16px); } }
@keyframes fondu-sort { to { opacity: 0; } }
.fenetre-int { display: grid; height: 100%; grid-template-rows: minmax(0, 1fr) auto; }
@media (min-width: 900px) { .fenetre-int { grid-template-columns: minmax(0, 1fr) 24rem; grid-template-rows: none; } }
.fenetre-vue { position: relative; display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: 0; background: #151412; }
.fenetre-scene { position: relative; overflow: hidden; touch-action: pan-y; }
.fenetre-scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .45s var(--courbe), transform .7s var(--courbe); }
.fenetre-scene img.cache { opacity: 0; transform: scale(1.03); }
.fenetre-fleche { position: absolute; top: 50%; display: grid; place-items: center; width: 48px; height: 48px; margin-top: -24px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; background: rgba(12, 12, 12, .45); color: var(--blanc); cursor: pointer; transition: border-color .25s ease, background-color .25s ease; }
.fenetre-fleche:hover { border-color: var(--or); background: rgba(12, 12, 12, .7); }
.fenetre-fleche svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.fenetre-prec { left: 14px; }
.fenetre-suiv { right: 14px; }
.fenetre-compte { position: absolute; top: 16px; left: 16px; color: rgba(255, 255, 255, .85); font-size: .875rem; }
.fenetre-vignettes { display: flex; gap: 8px; padding: 10px; overflow-x: auto; scrollbar-width: thin; }
.fenetre-vignettes button { flex: none; width: 72px; height: 54px; padding: 0; border: 0; background: none; cursor: pointer; opacity: .55; outline-offset: 2px; transition: opacity .25s ease; }
.fenetre-vignettes button[aria-current] { opacity: 1; box-shadow: 0 0 0 2px var(--or); }
.fenetre-vignettes img { width: 100%; height: 100%; object-fit: cover; }
.fenetre-texte { padding: clamp(1.25rem, 3vw, 2.25rem); overflow-y: auto; }
@media (max-width: 899px) { .fenetre-texte { max-height: 42dvh; } }
.fenetre-cat { color: #7d5a2c; font-size: .875rem; }
.fenetre-titre { margin: .4rem 0 1rem; padding-right: 2.5rem; font-family: var(--display); font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 400; line-height: 1.12; }
.fenetre-prix { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-block: 1px solid var(--filet); }
.fenetre-desc { margin-top: 1.25rem; color: var(--graphite); font-size: 1rem; }
.fenetre-carac { margin: 1.25rem 0 0; color: var(--graphite); font-size: .9375rem; }
.fenetre-carac dt { margin-top: .8rem; color: var(--gris); font-size: .8125rem; }
.fenetre-carac dd { margin: .15rem 0 0; }
.fenetre-texte .btn { width: 100%; margin-top: 1.75rem; }
.fenetre-fermer { position: absolute; z-index: 2; top: 12px; right: 12px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(12, 12, 12, .62); color: var(--blanc); cursor: pointer; }
.fenetre-fermer svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
@media (min-width: 900px) { .fenetre-fermer { background: none; color: var(--noir); } }

/* =====================================================================================================================
   v4c (2026-11-09, nuit) : retours de Nathan sur la scène des quatre étapes. Arrivée remarquable (appel entrant), passage
   01 → 02 animé, phrase « Fabriqué en France. » (le drapeau en tissu de la v4c est remplacé en v5 par trois filets),
   plan d'architecte avec maquette filaire 3D cotée, grand numéro qui roule. Tout est caché hors script (meuble fini).
   ===================================================================================================================== */
.appel-entrant, .plan-bleu, .maquette3d, .fierte, .pilier-repere, .cadre-passage, .reflet-passage { display: none; }
html.js .vivante .appel-entrant, html.js .vivante .plan-bleu, html.js .vivante .maquette3d, html.js .vivante .fierte, html.js .vivante .cadre-passage, html.js .vivante .reflet-passage { display: block; }

/* Appel entrant : carte au centre du dessin, avatar rond d'Emmanuel, trois ondes, bouton vert qui palpite. */
.appel-entrant { position: absolute; z-index: 3; top: 50%; left: 50%; width: 34cqw; padding: 3cqw 2.4cqw 2.4cqw; border-radius: 2.4cqw; background: #1d1c19; color: var(--blanc); text-align: center; box-shadow: 0 3cqw 6cqw -2cqw rgba(0, 0, 0, .45); opacity: 0; transform: translate(-50%, -50%) scale(.86); will-change: transform, opacity; }
.ae-avatar { position: relative; display: block; width: 12cqw; height: 12cqw; margin: 0 auto 1.6cqw; }
.ae-avatar img { position: relative; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 6%; background: radial-gradient(circle at 50% 30%, #3b5a47 0, #1e2a23 75%); box-shadow: 0 0 0 .35cqw #e2c47a; }
.ae-onde { position: absolute; inset: 0; border: 1px solid rgba(226, 196, 122, .8); border-radius: 50%; opacity: 0; }
.appel-entrant.sonne .ae-onde { animation: ae-onde 1.8s cubic-bezier(.2, .7, .2, 1) infinite; }
.appel-entrant.sonne .ae-onde:nth-child(2) { animation-delay: .6s; }
.appel-entrant.sonne .ae-onde:nth-child(3) { animation-delay: 1.2s; }
@keyframes ae-onde { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.9); } }
.ae-nom { font-family: var(--display); font-size: max(14px, 2.4cqw); line-height: 1.1; }
.ae-sous { margin-top: .4cqw; color: rgba(255, 255, 255, .62); font-size: max(10px, 1.3cqw); }
.ae-boutons { display: flex; justify-content: center; gap: 4cqw; margin-top: 2.2cqw; }
.ae-boutons > span { display: grid; place-items: center; width: 5.2cqw; height: 5.2cqw; border-radius: 50%; }
.ae-boutons svg { width: 50%; height: 50%; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ae-refus { background: #c63d36; }
.ae-accepte { background: #2f9e6b; }
.ae-accepte svg { fill: #fff; stroke: none; }
.appel-entrant.sonne .ae-accepte { animation: ae-palpite .9s ease-in-out infinite alternate; }
.appel-entrant.decroche .ae-accepte { transform: scale(.88); background: #35b67b; transition: transform .15s ease; }
@keyframes ae-palpite { to { transform: scale(1.12); box-shadow: 0 0 0 1.2cqw rgba(47, 158, 107, .18); } }

/* Passage 01 → 02 : un cadre or se trace autour de la fenêtre qui grandit, un reflet la traverse. */
.cadre-passage { position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0; box-shadow: inset 0 0 0 2px #e2c47a, 0 0 2.4cqw rgba(226, 196, 122, .55); }
.reflet-passage { position: absolute; inset: -10% auto -10% 0; z-index: 4; width: 26%; pointer-events: none; background: linear-gradient(100deg, rgba(255, 244, 220, 0) 0, rgba(255, 244, 220, .55) 50%, rgba(255, 244, 220, 0) 100%); mix-blend-mode: soft-light; opacity: 0; transform: translateX(-120%) skewX(-14deg); }

/* « Fabriqué en France. » sur la photo (tableau 02). Le drapeau en tissu qui traversait le dessin est retiré en v5. */
.fierte { position: absolute; z-index: 2; left: 5%; bottom: 9%; color: var(--blanc); font-family: var(--display); font-size: 5.6cqw; line-height: .98; letter-spacing: -.02em; text-shadow: 0 .4cqw 2.4cqw rgba(0, 0, 0, .55); pointer-events: none; }
.fierte em { font-style: italic; color: #f6efe0; }
.fierte-ligne { display: inline-block; opacity: 0; transform: translateY(40%); will-change: transform, opacity; }
.lisere-texte { display: inline-block; }
.lisere::before { content: ""; position: absolute; z-index: -1; inset: 0; border-radius: .8cqw; background: rgba(250, 248, 244, .95); box-shadow: 0 .6cqw 1.8cqw rgba(0, 0, 0, .14); opacity: var(--fond, 1); }

/* Plan d'architecte (bleu nuit, grille laiton) et maquette filaire 3D. */
.plan-bleu { position: absolute; inset: 0; z-index: 2; opacity: 0; background:
  linear-gradient(rgba(226, 196, 122, .12) 1px, transparent 1px) 0 0 / 2.5% 3.75%,
  linear-gradient(90deg, rgba(226, 196, 122, .12) 1px, transparent 1px) 0 0 / 2.5% 3.75%,
  radial-gradient(ellipse at 50% 40%, #1d3150 0, #12203a 70%); }
.maquette3d { position: absolute; inset: 0; z-index: 2; perspective: 150cqw; perspective-origin: 50% 40%; pointer-events: none; opacity: 0; }
.m3-pivot { position: absolute; top: 50%; left: 50%; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }
.m3-boite { position: absolute; left: calc(var(--w) * -.5cqw); top: calc(var(--y) * 1cqw); width: calc(var(--w) * 1cqw); height: calc(var(--h) * 1cqw); transform-style: preserve-3d; transform: translateZ(calc(var(--z) * 1cqw)); }
.m3-boite i { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: var(--o, 0); border: 1.5px solid rgba(241, 217, 145, .92); background: rgba(226, 196, 122, .06); box-shadow: 0 0 1.2cqw rgba(226, 196, 122, .18) inset; }
.m3-boite .f-av { transform: translateZ(calc(var(--d) * .5cqw)); background: rgba(226, 196, 122, .1); }
.m3-boite .f-ar { transform: rotateY(180deg) translateZ(calc(var(--d) * .5cqw)); }
.m3-boite .f-g, .m3-boite .f-d { left: calc((var(--w) - var(--d)) * .5cqw); width: calc(var(--d) * 1cqw); }
.m3-boite .f-g { transform: rotateY(-90deg) translateZ(calc(var(--w) * .5cqw)); }
.m3-boite .f-d { transform: rotateY(90deg) translateZ(calc(var(--w) * .5cqw)); }
.m3-boite .f-h, .m3-boite .f-b { top: calc((var(--h) - var(--d)) * .5cqw); height: calc(var(--d) * 1cqw); }
.m3-boite .f-h { transform: rotateX(90deg) translateZ(calc(var(--h) * .5cqw)); }
.m3-boite .f-b { transform: rotateX(-90deg) translateZ(calc(var(--h) * .5cqw)); }
.m3-cote { position: absolute; display: grid; place-items: center; transform-style: preserve-3d; opacity: 0; will-change: opacity; }
.m3-cote::before { content: ""; position: absolute; background: #f1d991; }
.m3-cote span { position: relative; padding: .3cqw .8cqw; border-radius: .5cqw; background: #12203a; box-shadow: 0 0 0 1px rgba(241, 217, 145, .6); color: #f6efe0; font-size: max(9px, 1.35cqw); white-space: nowrap; }
/* Longueur : sous le bas, sur le plan de la face avant. */
.m3-long { left: -30cqw; top: 18.4cqw; width: 60cqw; height: 2cqw; transform: translateZ(4.75cqw); }
.m3-long::before { left: 0; right: 0; top: 50%; height: 1px; }
/* Hauteurs : à gauche (bas, 730) et à droite (tout, 1 770), sur le plan de la face avant. */
.m3-h730 { left: -33cqw; top: 2.95cqw; width: 2cqw; height: 13.9cqw; transform: translateZ(4.75cqw); }
.m3-h1770 { left: 31cqw; top: -16.85cqw; width: 2cqw; height: 33.7cqw; transform: translateZ(4.75cqw); }
.m3-h730::before, .m3-h1770::before { top: 0; bottom: 0; left: 50%; width: 1px; }
.m3-h730 span, .m3-h1770 span { transform: rotate(-90deg); }
/* Profondeurs : le long du côté droit, bas (500) et haut (350). */
.m3-p500 { left: 25.25cqw; top: 17.4cqw; width: 9.5cqw; height: 2cqw; transform: translateX(4.75cqw) rotateY(90deg); }
.m3-p350 { left: 26.65cqw; top: -19.1cqw; width: 6.7cqw; height: 2cqw; transform: translateZ(-1.4cqw) translateX(3.35cqw) rotateY(90deg); }
.m3-p500::before, .m3-p350::before { left: 0; right: 0; top: 50%; height: 1px; }

/* Grand numéro qui roule à gauche (remplace celui de chaque pilier), titres qui montent d'un masque. */
html.js .vivante .pilier-repere { display: block; margin-bottom: 1rem; }
.pr-num { display: block; height: 1em; overflow: hidden; font-family: var(--display); font-size: clamp(3rem, 7vw, 6.5rem); line-height: 1; }
.pr-piste { display: block; transition: transform 1s cubic-bezier(.7, 0, .2, 1); }
.pr-piste span { display: block; height: 1em; color: var(--chene); background: var(--degrade-chene); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
html.js .vivante .pilier-num { display: none; }
html.js .vivante .pilier-titre { overflow: hidden; padding-bottom: .12em; }
.pt-in { display: block; }
html.js .vivante .pilier .pt-in { transform: translateY(110%); transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
html.js .vivante .pilier.passe .pt-in { transform: translateY(-110%); transition-duration: .55s; }
html.js .vivante .pilier.actif .pt-in { transform: none; transition-delay: .18s; }
html.js .vivante .pilier.actif .pilier-titre, html.js .vivante .pilier.actif .pilier-ligne, html.js .vivante .pilier:not(.actif) .pilier-titre { opacity: 1; transform: none; }
html.js .vivante .pilier { transform: none !important; transition: opacity .5s ease; }
html.js .vivante .pilier:not(.actif) { opacity: 0; transition-delay: .25s; }
html.js .vivante .pilier.actif { transition-delay: 0s; }
html.js .vivante .pilier-ligne { transition: opacity .6s ease .35s, transform .9s var(--courbe) .35s; }
html.js .vivante .pilier:not(.actif) .pilier-ligne { opacity: 0; transform: translateY(10px); transition-delay: 0s; }
@media (max-width: 999px) { .pr-num { font-size: 2.6rem; } html.js .vivante .pilier-repere { margin-bottom: .5rem; } }

@media (prefers-reduced-motion: reduce) {
  html.js .apparition:not(.vu) img { opacity: 1; transform: none; }
  html.js .apparition:not(.vu)::before, html.js .apparition:not(.vu)::after { opacity: 1; transform: translateX(-50%); }
  html.js .entre:not(.vu) .projet-texte { opacity: 1; }
  .fiche.vive .fiche-etape { animation: none !important; }
}

/* =====================================================================================================================
   v4d (2026-11-09) : « Ce que nous dessinons pour vous ». Mêmes photos et mêmes textes, plus de soin dans le mouvement.
   Entrée de chaque carte (--d = rang dans le lot × 150 ms) : la carte monte, un fil or se trace au pied de la photo puis
   balaie vers le haut en levant le voile, la photo se pose (1,16 → 1), les repères de coupe or se posent aux quatre
   coins, le nom monte d'un masque, la ligne et le lien suivent, la flèche se dessine. Le script pose « pose » à la fin
   de l'entrée : les délais tombent et le survol répond tout de suite.
   Ensuite : parallaxe douce dans le cadre (script, ±5 % de la hauteur) ; au survol, cadre or tracé depuis le coin
   haut gauche par les deux côtés, repères qui s'écartent, photo +5,5 %, voisines en retrait (pastille « Voir » retirée
   à la demande de Nathan), lien souligné qui repart. Au téléphone, la carte au centre de l'écran prend le même état (« actif »).
   Clic sur Meubles TV : la photo pousse, un rideau noir monte avec un fil or et devient la tête noire de la page.
   ===================================================================================================================== */
.tuiles { --pas: 150ms; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 3.75rem var(--gouttiere); }
@media (min-width: 900px) { .tuiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tuiles > li { --d: calc(var(--lot, 0) * var(--pas)); }
a.tuile { display: block; color: inherit; text-decoration: none; outline-offset: 12px; transition: opacity .6s var(--courbe), transform 1.3s var(--courbe); }
.tuile-cadre { position: relative; }
.tuile-photo { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: #ece6dc; }
.tuile-plx { position: absolute; top: -6%; right: 0; bottom: -6%; left: 0; will-change: transform; }
.tuile-plx picture, .tuile-plx img { display: block; width: 100%; height: 100%; }
.tuile-plx img { object-fit: cover; transform-origin: 50% 58%; transition: transform 1.3s var(--courbe); }

/* Voile et fil or de l'entrée. Le fil finit au-dessus du cadre, hors de la photo (le halo compris). */
.tuile-voile { position: absolute; inset: -2px; z-index: 3; background: var(--fond); transform: scaleY(0); transform-origin: 50% 0; pointer-events: none; }
.tuile-balai { position: absolute; inset: 0; z-index: 4; transform: translateY(calc(-100% - 16px)); pointer-events: none; }
.tuile-balai::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 1.5px; background: var(--or); box-shadow: 0 0 14px 1px rgba(193, 160, 76, .5); transform-origin: 50% 50%; }

/* Repères de coupe : quatre équerres or posées 9 px hors des coins, comme sur un plan. */
.reperes i { --k: 0; position: absolute; width: 14px; height: 14px; border: 0 solid var(--or); pointer-events: none; transition: transform .7s var(--courbe), opacity .5s var(--courbe); }
.reperes i:nth-child(1) { top: -9px; left: -9px; border-width: 1.25px 0 0 1.25px; transform-origin: 0 0; }
.reperes i:nth-child(2) { --k: 1; top: -9px; right: -9px; border-width: 1.25px 1.25px 0 0; transform-origin: 100% 0; }
.reperes i:nth-child(3) { --k: 2; right: -9px; bottom: -9px; border-width: 0 1.25px 1.25px 0; transform-origin: 100% 100%; }
.reperes i:nth-child(4) { --k: 3; bottom: -9px; left: -9px; border-width: 0 0 1.25px 1.25px; transform-origin: 0 100%; }

/* Cadre or du survol : deux rectangles partent du coin haut gauche, l'un par le haut, l'autre par la gauche, et se
   rejoignent en bas à droite (tirets de longueur 1, période 2 ; voir le calcul des décalages dans la note v4d). */
.tuile-trace { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke: var(--or); stroke-width: 1.5px; pointer-events: none; }
.tuile-trace rect { stroke-dasharray: 1 1; transition: stroke-dashoffset .9s cubic-bezier(.65, 0, .25, 1); }
.tuile-trace rect:nth-child(1) { stroke-dashoffset: 1; }
.tuile-trace rect:nth-child(2) { stroke-dashoffset: -1; }

/* Texte. */
.tuile-texte { position: relative; display: block; padding: 1.35rem 0 1.15rem; }
.tuile-texte::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: var(--chene); transform: scaleX(0); transform-origin: 0 50%; transition: transform .7s var(--courbe); }
.tuile-nom { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; font-family: var(--display); font-size: 1.5rem; font-weight: 500; line-height: 1.2; }
.tuile-nom-in { display: block; transition: transform .9s var(--courbe); }
.tuile-ligne { display: block; margin-top: .45rem; color: var(--gris); font-size: 1rem; font-weight: 400; line-height: 1.45; transition: opacity .7s var(--courbe), transform .7s var(--courbe); }
.tuile-lien { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1rem; color: var(--chene); font-size: .9375rem; }
.tuile-lien-mot { position: relative; display: inline-block; transition: opacity .7s var(--courbe), transform .7s var(--courbe); }
.tuile-lien-mot::after { content: ""; position: absolute; right: 0; bottom: -.22em; left: 0; height: 1px; background: currentColor; transform-origin: 100% 50%; }
.tuile-fleche { width: 22px; height: 10px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.25px; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--courbe); }
.tuile-fleche path { stroke-dasharray: 1 2; transition: stroke-dashoffset .8s var(--courbe); }
@keyframes souligne-repart { 0% { transform: scaleX(1); transform-origin: 100% 50%; } 45% { transform: scaleX(0); transform-origin: 100% 50%; } 46% { transform: scaleX(0); transform-origin: 0 50%; } 100% { transform: scaleX(1); transform-origin: 0 50%; } }

/* « dessinons » : trait or tracé à la main sous le mot, après le titre. */
.mot-trace { position: relative; }
.sous-trait { position: absolute; bottom: -.1em; left: -.02em; width: 102%; height: .2em; overflow: visible; fill: none; stroke: var(--or); stroke-width: 2.4px; stroke-linecap: round; pointer-events: none; }
.sous-trait path { stroke-dasharray: 1 2; transition: stroke-dashoffset 1.2s cubic-bezier(.65, 0, .25, 1) 1s; }
html.js .revele:not(.vu) .sous-trait path { stroke-dashoffset: 1; }

/* Entrée : état de départ (avant « vu »). */
html.js :is(.tuiles, .mur) > .entre:not(.vu) :is(.tuile, .piece) { transform: translateY(44px); }
html.js :is(.tuiles, .mur) > .entre:not(.pose) :is(.tuile-photo, .piece-photo) { background: transparent; } /* pas de liseré gris au bord du voile */
html.js :is(.tuiles, .mur) > .entre:not(.vu) .tuile-voile { transform: none; }
html.js :is(.tuiles, .mur) > .entre:not(.vu) .tuile-balai { transform: none; }
html.js :is(.tuiles, .mur) > .entre:not(.vu) .tuile-balai::after { transform: scaleX(0); }
html.js :is(.tuiles, .mur) > .entre:not(.vu) .tuile-plx img { transform: scale(1.16); }
html.js :is(.tuiles, .mur) > .entre:not(.vu) .reperes i { opacity: 0; transform: scale(0); }
html.js :is(.tuiles, .mur) > .entre:not(.vu) .tuile-nom-in { transform: translateY(105%); }
html.js :is(.tuiles, .mur) > .entre:not(.vu) .tuile-ligne, html.js :is(.tuiles, .mur) > .entre:not(.vu) .tuile-lien-mot { opacity: 0; transform: translateY(10px); }
html.js :is(.tuiles, .mur) > .entre:not(.vu) .tuile-fleche path { stroke-dashoffset: 1; }
/* Entrée : déroulé (délais tant que « pose » n'est pas posé). */
html.js :is(.tuiles, .mur) > .entre:not(.pose) :is(.tuile, .piece) { transition: opacity .6s var(--courbe), transform 1.3s var(--courbe) var(--d); }
html.js :is(.tuiles, .mur) > .entre:not(.pose) .tuile-balai::after { transition: transform .5s var(--courbe) calc(var(--d) + .05s); }
html.js :is(.tuiles, .mur) > .entre:not(.pose) .tuile-voile, html.js :is(.tuiles, .mur) > .entre:not(.pose) .tuile-balai { transition: transform 1.15s cubic-bezier(.76, 0, .24, 1) calc(var(--d) + .42s); }
html.js :is(.tuiles, .mur) > .entre:not(.pose) .tuile-plx img { transition: transform 1.9s var(--courbe) calc(var(--d) + .42s); }
html.js :is(.tuiles, .mur) > .entre:not(.pose) .reperes i { transition: transform .7s var(--courbe) calc(var(--d) + 1.3s + var(--k) * 70ms), opacity .4s var(--courbe) calc(var(--d) + 1.3s + var(--k) * 70ms); }
html.js :is(.tuiles, .mur) > .entre:not(.pose) .tuile-nom-in { transition: transform .9s var(--courbe) calc(var(--d) + .8s); }
html.js :is(.tuiles, .mur) > .entre:not(.pose) .tuile-ligne { transition: opacity .7s var(--courbe) calc(var(--d) + .95s), transform .7s var(--courbe) calc(var(--d) + .95s); }
html.js :is(.tuiles, .mur) > .entre:not(.pose) .tuile-lien-mot { transition: opacity .7s var(--courbe) calc(var(--d) + 1.07s), transform .7s var(--courbe) calc(var(--d) + 1.07s); }
html.js :is(.tuiles, .mur) > .entre:not(.pose) .tuile-fleche path { transition: stroke-dashoffset .8s var(--courbe) calc(var(--d) + 1.25s); }

/* Survol (souris), focus clavier, carte au centre de l'écran (téléphone) : même état. */
:is(.tuile, .piece).actif .tuile-plx img, :is(.tuile, .piece):focus-visible .tuile-plx img { transform: scale(1.04); }
:is(.tuile, .piece).actif .tuile-trace rect:nth-child(1), :is(.tuile, .piece):focus-visible .tuile-trace rect:nth-child(1) { stroke-dashoffset: .5; }
:is(.tuile, .piece).actif .tuile-trace rect:nth-child(2), :is(.tuile, .piece):focus-visible .tuile-trace rect:nth-child(2) { stroke-dashoffset: -.5; }
:is(.tuile, .piece).actif .tuile-fleche, :is(.tuile, .piece):focus-visible .tuile-fleche { transform: translateX(6px); }
:is(.tuile, .piece).actif .tuile-texte::after, :is(.tuile, .piece):focus-visible .tuile-texte::after { transform: none; }
@media (hover: hover) and (pointer: fine) {
  :is(.tuile, .piece):hover .tuile-plx img { transform: scale(1.055); }
  :is(.tuile, .piece):hover .tuile-trace rect:nth-child(1) { stroke-dashoffset: .5; }
  :is(.tuile, .piece):hover .tuile-trace rect:nth-child(2) { stroke-dashoffset: -.5; }
  .tuile:hover .reperes i:nth-child(1) { transform: translate(-4px, -4px); }
  .tuile:hover .reperes i:nth-child(2) { transform: translate(4px, -4px); }
  .tuile:hover .reperes i:nth-child(3) { transform: translate(4px, 4px); }
  .tuile:hover .reperes i:nth-child(4) { transform: translate(-4px, 4px); }
  .tuile:hover .tuile-texte::after { transform: none; }
  .tuile:hover .tuile-fleche { transform: translateX(6px); }
  .tuile:hover .tuile-lien-mot::after { animation: souligne-repart .75s var(--courbe); }
  .tuiles:has(.tuile:hover) .tuile:not(:hover) { opacity: .62; }
}

/* Passage vers la page Meubles TV : la photo pousse, un rideau noir monte du bas avec un fil or sur son bord. */
.passage { position: fixed; inset: 0; z-index: 300; background: var(--noir); pointer-events: none; transform: translateY(100%); transition: transform .75s cubic-bezier(.76, 0, .24, 1); }
.passage::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 1.5px; background: var(--or); box-shadow: 0 0 16px 1px rgba(193, 160, 76, .55); }
.passage.monte { transform: none; }
.tuile.part .tuile-plx img { transform: scale(1.1); transition: transform .9s cubic-bezier(.76, 0, .24, 1); }

/* « Page à venir » : la note se signale quand on clique sur une carte sans page. */
.note-maquette.signale { animation: signale 1.1s var(--courbe); color: var(--chene); }
@keyframes signale { 0%, 100% { transform: none; } 15% { transform: translateX(-6px); } 30% { transform: translateX(5px); } 45% { transform: translateX(-3px); } 60% { transform: translateX(2px); } }

@media (prefers-reduced-motion: reduce) {
  html.js :is(.tuiles, .mur) > .entre .tuile, html.js :is(.tuiles, .mur) > .entre .tuile-voile, html.js :is(.tuiles, .mur) > .entre .tuile-plx img, html.js :is(.tuiles, .mur) > .entre .reperes i, html.js :is(.tuiles, .mur) > .entre .tuile-nom-in, html.js :is(.tuiles, .mur) > .entre .tuile-ligne, html.js :is(.tuiles, .mur) > .entre .tuile-lien-mot { opacity: 1 !important; transform: none !important; }
  html.js :is(.tuiles, .mur) > .entre .tuile-balai { display: none; }
  html.js :is(.tuiles, .mur) > .entre .tuile-fleche path, html.js .revele .sous-trait path { stroke-dashoffset: 0 !important; }
  .passage { display: none; }
  .tuiles:has(.tuile:hover) .tuile:not(:hover) { opacity: 1; }
}

/* =====================================================================================================================
   v4e puis v4f (2026-11-09) : « Quelques réalisations » en mur de photos (choix de Nathan : le carrousel obligeait à
   attendre). Les 8 projets cochés par Emmanuel, tous visibles d'un coup, fond noir de la section. Ordinateur : 12
   colonnes, trois bandes de même hauteur (grande à gauche, grande à droite, deux moitiés), cellule = --c colonnes × 4
   rangées. Téléphone : 2 colonnes, photos larges sur toute la largeur, portraits par deux. HTML : outils/mur.mjs.
   v4f, demande de Nathan (« améliorer les animations et les traits ») : le mur se lit comme le plan d'un meuble à
   niches.
   - Traits : un seul trait or fin au milieu de chaque gouttière et autour du mur (« mur-traits », posés par le script
     d'après la mise en page, donc justes au téléphone aussi). Un trait par gouttière : rien ne peut se toucher. Le
     contour dépasse aux quatre coins comme des traits de construction. Chaque trait se trace en arrivant à l'écran.
   - Entrée : chaque rangée s'ouvre en relais, dans un sens puis dans l'autre (--sens, --d, --t posés par le script).
     Le voile noir coulisse de côté, son bord est un fil or ; la photo se pose à contre-sens, le titre monte d'un masque.
   - Survol, focus, photo au centre (téléphone) : le cadre or se trace dans la gouttière, sur les traits du plan (deux
     cadres voisins partagent le même trait) ; la légende monte, une flèche se dessine, les autres photos reculent.
   Le bloc v4d reste commun pour la parallaxe (.tuile-plx), le cadre (.tuile-trace) et l'agrandissement de la photo.
   ===================================================================================================================== */
.galerie-section .conteneur { container-type: inline-size; }
.mur-cadre { --g: 12px; --dep: 7px; position: relative; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.mur { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; gap: var(--g); }
.mur > li { min-width: 0; }
.mur > li[data-forme="large"], .mur > li[data-mob="plein"] { grid-column: span 2; }
.piece { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; color: var(--blanc); font: inherit; text-align: left; cursor: pointer; transition: opacity .55s var(--courbe); }
.piece:focus-visible { outline: 2px solid var(--or); outline-offset: calc(var(--g) / 2 + 3px); }
.piece-photo { position: relative; display: block; overflow: hidden; aspect-ratio: 2 / 3; background: #1b1a18; }
.mur > li[data-forme="large"] .piece-photo { aspect-ratio: 4 / 3; }
.mur > li[data-mob="plein"] .piece-photo { aspect-ratio: 4 / 5; }
.piece-photo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(12, 12, 12, .86) 0, rgba(12, 12, 12, .64) 15%, rgba(12, 12, 12, .36) 33%, rgba(12, 12, 12, .13) 50%, rgba(12, 12, 12, 0) 66%); pointer-events: none; }

/* Voile coulissant : il sort par le côté (à droite, ou à gauche si data-sens="-1"), son bord est le fil or. */
.piece-voile { position: absolute; inset: 0; z-index: 3; background: var(--fond); transform: translateX(calc(100% + 28px)); pointer-events: none; }
.piece-voile::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 1.5px; background: var(--or); box-shadow: 0 0 14px 1px rgba(193, 160, 76, .5); }
.mur > li[data-sens="-1"] .piece-voile { transform: translateX(calc(-100% - 28px)); }
.mur > li[data-sens="-1"] .piece-voile::before { right: 0; left: auto; }

/* Légende : titre dans un masque, ligne du type, flèche tracée quand la photo est désignée. */
.piece-legende { position: absolute; right: 0; bottom: 0; left: 0; z-index: 2; display: flex; flex-direction: column; gap: .4rem; padding: 1rem 1.05rem 1.05rem; transition: transform .7s var(--courbe); }
.piece-nom { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; font-family: var(--display); font-size: clamp(1.05rem, 1.25vw, 1.3rem); line-height: 1.18; }
.piece-nom-in { display: block; text-wrap: balance; transition: transform .9s var(--courbe); }
.piece-type { display: flex; align-items: center; gap: .75rem; color: rgba(255, 255, 255, .74); font-size: .8125rem; }
.piece-type-mot { display: block; transition: opacity .7s var(--courbe), transform .7s var(--courbe); }
.piece-fleche { flex: none; width: 22px; height: 10px; overflow: visible; fill: none; stroke: var(--or); stroke-width: 1.25px; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--courbe); }
.piece-fleche path { stroke-dasharray: 1 2; stroke-dashoffset: 1; transition: stroke-dashoffset .7s var(--courbe); }
@media (max-width: 899px) {
  .mur > li:not([data-forme="large"], [data-mob="plein"]) .piece-fleche { display: none; } /* demi-largeur : pas la place */
  .mur > li:not([data-forme="large"], [data-mob="plein"]) .piece-nom { font-size: 1rem; }
  .mur > li:not([data-forme="large"], [data-mob="plein"]) .piece-legende { padding: .8rem .8rem .85rem; }
}

/* Traits du plan : au milieu des gouttières et autour du mur. */
.mur-traits { position: absolute; inset: 0; pointer-events: none; }
.mur-traits i { position: absolute; background: var(--or); opacity: .3; }
.mur-traits .h { height: 1px; transform-origin: 0 50%; }
.mur-traits .h.inv { transform-origin: 100% 50%; }
.mur-traits .v { width: 1px; transform-origin: 50% 0; }
html.js .mur-traits i { transition: transform 1.25s cubic-bezier(.65, 0, .25, 1) var(--dt, 0s); }
html.js .mur-traits .h:not(.vu) { transform: scaleX(0); }
html.js .mur-traits .v:not(.vu) { transform: scaleY(0); }
html.js .mur-traits .net { transition: none; }
/* Le contour du mur ferme déjà le bloc : le filet gris du pied ferait un deuxième trait 40 px plus bas. */
html.js .mur-cadre + .galerie-pied { margin-top: 1.25rem; border-top-color: transparent; }

/* Cadre du survol : dans la gouttière, sur les traits du plan. */
.mur .tuile-trace { top: calc(var(--g) / -2); left: calc(var(--g) / -2); width: calc(100% + var(--g)); max-width: none; height: calc(100% + var(--g)); stroke-width: 1.25px; } /* max-width : la remise à zéro limite les svg à 100 % */

@media (min-width: 900px) {
  .mur-cadre { --g: 20px; --dep: 14px; }
  .mur-traits i { opacity: .36; }
  .mur { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: calc((100cqw - 11 * var(--g)) / 12); grid-auto-flow: row; }
  .mur > li, .mur > li[data-forme="large"], .mur > li[data-mob="plein"] { grid-column: span var(--c); grid-row: span 4; }
  .piece-photo, .mur > li[data-forme="large"] .piece-photo, .mur > li[data-mob="plein"] .piece-photo { height: 100%; aspect-ratio: auto; }
  .piece-legende { padding: 1.25rem 1.4rem 1.3rem; }
}

/* Entrée : état de départ (avant « vu »), puis déroulé (tant que « pose » n'est pas posé). La pièce ne monte pas :
   elle est tenue par les traits ; c'est le voile qui bouge. */
html.js .mur > .entre:not(.vu) .piece { transform: none; }
html.js .mur > .entre:not(.vu) .piece-voile { transform: none; }
html.js .mur > .entre:not(.vu) .piece-voile::before { opacity: 0; }
html.js .mur > .entre:not(.vu) .tuile-plx img { transform: scale(1.14) translateX(calc(var(--sens, 1) * 3%)); }
html.js .mur > .entre:not(.vu) .piece-nom-in { transform: translateY(108%); }
html.js .mur > .entre:not(.vu) .piece-type-mot { opacity: 0; transform: translateY(10px); }
html.js .mur > .entre:not(.pose) .piece-photo { background: transparent; }
html.js .mur > .entre:not(.pose) .piece-voile { transition: transform var(--t, 1s) cubic-bezier(.7, 0, .2, 1) var(--d, 0s); }
html.js .mur > .entre:not(.pose) .piece-voile::before { transition: opacity .25s linear var(--d, 0s); }
html.js .mur > .entre:not(.pose) .tuile-plx img { transition: transform calc(var(--t, 1s) + 1.1s) var(--courbe) var(--d, 0s); }
html.js .mur > .entre:not(.pose) .piece-nom-in { transition: transform 1s var(--courbe) calc(var(--d, 0s) + var(--t, 1s) * .62); }
html.js .mur > .entre:not(.pose) .piece-type-mot { transition: opacity .7s var(--courbe) calc(var(--d, 0s) + var(--t, 1s) * .62 + .16s), transform .7s var(--courbe) calc(var(--d, 0s) + var(--t, 1s) * .62 + .16s); }

/* Photo désignée : survol, focus clavier, photo au centre de l'écran (téléphone). */
.piece.actif .piece-legende, .piece:focus-visible .piece-legende { transform: translateY(-5px); }
.piece.actif .piece-fleche, .piece:focus-visible .piece-fleche { transform: translateX(5px); }
.piece.actif .piece-fleche path, .piece:focus-visible .piece-fleche path { stroke-dashoffset: 0; }
@media (hover: hover) and (pointer: fine) {
  .piece:hover .piece-legende { transform: translateY(-5px); }
  .piece:hover .piece-fleche { transform: translateX(5px); }
  .piece:hover .piece-fleche path { stroke-dashoffset: 0; }
  .mur:has(.piece:hover) .piece:not(:hover) { opacity: .5; }
}
@media (prefers-reduced-motion: reduce) {
  html.js .mur > .entre .piece, html.js .mur > .entre .piece-nom-in, html.js .mur > .entre .piece-type-mot { opacity: 1 !important; transform: none !important; transition: none !important; }
  html.js .mur-traits i { transform: none !important; transition: none !important; }
  html.js .mur > .entre .piece-voile { display: none; }
  .piece-legende, .piece-fleche, .piece-fleche path, .mur .tuile-trace rect { transform: none !important; transition: none !important; }
  .mur:has(.piece:hover) .piece:not(:hover) { opacity: 1; }
}

/* =====================================================================================================================
   v4g (2026-11-09) : « Un projet à distance, simple de bout en bout » en quatre chapitres plein cadre qui s'empilent
   au défilement. Demande de Nathan : comprendre les étapes, avec l'animation qu'il avait aimée (cartes numérotées
   01 → 04, bibliotheque/2026-11-07-cartes-numerotees-valmora.md). Mêmes textes qu'avant (vidéo 2 d'Emmanuel).
   - Chaque chapitre est collé sous l'en-tête (position: sticky) : le suivant monte par-dessus, c'est le défilement
     natif qui porte le mouvement. Entre deux chapitres, une pause (--pause) laisse le temps de lire.
   - Le premier arrive en encadré, à la largeur du conteneur, et prend tout l'écran en se collant.
   - Bord en escalier : le script découpe le décor (photo et voile sapin) en lames verticales qui rattrapent leur
     retard pendant la montée (transform seulement) ; un chapitre sur deux part de l'autre côté. On voit l'ancien
     chapitre entre les marches, les deux grands numéros se croisent.
   - Chapitre recouvert : il recule (photo +5 %, ombre, texte qui remonte un peu).
   - Chapitre arrivé (« actif ») : le titre roule mot à mot (chaque mot passe une fois « en double » puis s'arrête),
     la phrase monte, le trait propre à l'étape se trace (trait de crayon sous « dessinons », cote sous « Prise de
     mesures », bleu-blanc-rouge sous « France »), la jauge avance d'un segment.
   Sans script ou en mouvement réduit (pas de classe « vivant ») : quatre cartes l'une sous l'autre, tout visible.
   ===================================================================================================================== */
.parcours-section { content-visibility: visible; padding-bottom: 0; }
/* v4h : les chapitres vivent dans la page « Comment ça marche » (tête sapin, puis la piste sans marge au-dessus). */
.page-tete-sapin { padding-bottom: clamp(2.25rem, 5vw, 3.5rem); background: var(--sapin); }
.parcours-page { padding-top: 0; }
.chapitres { --H: calc(100vh - var(--entete-h)); --bas: 0px; --pause: 30vh; position: relative; overflow-x: clip; }
@supports (height: 100lvh) { .chapitres { --H: calc(100lvh - var(--entete-h)); --bas: calc(100lvh - 100svh); } }
.chapitre { position: relative; }
.chapitre-cadre { position: relative; display: grid; overflow: hidden; background: var(--sapin); transform-origin: 50% 0; }
.chapitre-fond, .chapitre-decor, .chapitre-ombre { position: absolute; inset: 0; }
.chapitre-fond { transform-origin: 50% 0; }
.chapitre-decor { background: var(--sapin); }
.chapitre-decor picture { position: absolute; top: 0; right: 0; left: 0; height: 72%; }
.chapitre-decor img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--pos-m, 50% 50%); }
/* Voile sapin : il porte le texte (en bas au téléphone, à gauche sur ordinateur) et le grand numéro (coin haut gauche). */
.chapitre-decor::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(to top, #1e2a23 0, #1e2a23 var(--plein, 30%), rgba(30, 42, 35, .92) calc(var(--plein, 30%) + 8%), rgba(30, 42, 35, .58) calc(var(--plein, 30%) + 18%), rgba(30, 42, 35, .18) calc(var(--plein, 30%) + 28%), rgba(30, 42, 35, 0) calc(var(--plein, 30%) + 36%)),
  linear-gradient(150deg, rgba(30, 42, 35, .88) 0, rgba(30, 42, 35, .5) 20%, rgba(30, 42, 35, 0) 40%); }
@media (max-height: 720px) { .chapitre-decor { --plein: 42%; } } /* écran court : le texte monte plus haut sur la photo */
.chapitre-ombre { z-index: 2; background: #090d0b; opacity: 0; pointer-events: none; }

.chapitre-texte { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: min(44rem, 88vh); padding: clamp(.9rem, 2.6vh, 1.75rem) var(--gouttiere) calc(1.15rem + var(--bas)); color: var(--blanc); }
.chapitre-num { display: block; align-self: flex-start; padding-right: .06em; color: var(--or); background: var(--degrade-or); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-family: var(--display); font-size: clamp(5rem, 25vw, 7.25rem); font-weight: 300; line-height: .92; letter-spacing: -.05em; }
.chapitre-corps { max-width: 37rem; margin-top: auto; padding-top: 2rem; }
.chapitre-titre { color: var(--blanc); font-family: var(--display); font-size: clamp(2.1rem, 9.4vw, 2.75rem); font-weight: 400; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
.chapitre-titre em { color: var(--or); font-style: italic; }
.chapitre-phrase { max-width: 31rem; margin-top: .85rem; color: rgba(255, 255, 255, .88); font-size: 1.0625rem; line-height: 1.5; }
.chapitre-plus { margin-top: 1.25rem; }
.chapitre-interlocuteur { display: flex; align-items: center; gap: .85rem; max-width: 25rem; color: rgba(255, 255, 255, .8); font-size: .9375rem; font-style: italic; line-height: 1.4; }
.chapitre-interlocuteur img { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--creme); box-shadow: 0 0 0 1px var(--or), 0 0 0 4px rgba(193, 160, 76, .16); object-fit: cover; }
/* Jauge : quatre segments, celui de l'étape se remplit à son arrivée. */
.chapitre-jauge { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: clamp(1.1rem, 2.8vh, 1.9rem); }
.chapitre-jauge span { position: relative; padding-top: .6rem; color: rgba(255, 255, 255, .5); font-size: .8125rem; font-variant-numeric: tabular-nums; line-height: 1.2; }
.chapitre-jauge span::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 1px; background: rgba(255, 255, 255, .28); }
.chapitre-jauge i { position: absolute; top: -.5px; right: 0; left: 0; height: 2px; background: var(--or); transform-origin: 0 50%; }
.chapitre-jauge .fait { color: rgba(255, 255, 255, .74); }
.chapitre-jauge .ici { color: var(--blanc); }

/* Traits propres aux étapes, sous un mot du titre. */
.souligne { position: relative; display: inline-block; white-space: nowrap; }
.ensemble { display: inline-block; white-space: nowrap; } /* un mot et la virgule qui le suit : jamais de virgule en début de ligne */
.trait-main svg { position: absolute; bottom: -.07em; left: -.02em; width: 102%; max-width: none; height: .2em; overflow: visible; fill: none; stroke: var(--or); stroke-width: 2.4px; stroke-linecap: round; pointer-events: none; }
.trait-main path { stroke-dasharray: 1 2; }
.cote-trait { position: absolute; right: 0; bottom: -.13em; left: 0; height: .24em; pointer-events: none; }
.cote-trait i { position: absolute; top: 50%; right: 0; left: 0; height: 1.5px; margin-top: -.75px; background: var(--or); transform-origin: 0 50%; }
.cote-trait::before, .cote-trait::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 1.5px; background: var(--or); }
.cote-trait::after { right: 0; left: auto; }
.filets3 { position: absolute; right: .04em; bottom: -.05em; left: .02em; display: flex; gap: 2px; height: 2px; pointer-events: none; }
.filets3 i { flex: 1; transform-origin: 0 50%; }
.filets3 i:nth-child(1) { background: #3d5ba8; }
.filets3 i:nth-child(2) { background: #f4f1ea; }
.filets3 i:nth-child(3) { background: #c8403a; }

@media (min-width: 900px) {
  .chapitres { --pause: 45vh; }
  .chapitre-decor picture { height: 100%; }
  .chapitre-decor img { object-position: var(--pos, 50% 50%); }
  .chapitre-decor::after { background:
    linear-gradient(90deg, #1e2a23 0, rgba(30, 42, 35, .97) 14%, rgba(30, 42, 35, .88) 28%, rgba(30, 42, 35, .56) 42%, rgba(30, 42, 35, .16) 56%, rgba(30, 42, 35, 0) 68%),
    linear-gradient(to top, rgba(30, 42, 35, .78) 0, rgba(30, 42, 35, .3) 12%, rgba(30, 42, 35, 0) 24%); }
  .chapitre-texte { padding: clamp(1rem, 3.4vh, 2.5rem) max(var(--gouttiere), calc((100% - 1280px) / 2)) clamp(1.1rem, 3vh, 2rem); }
  .chapitre-num { font-size: min(13vw, 25vh, 12rem); }
  .chapitre-titre { max-width: 13.5em; font-size: clamp(2.3rem, min(4.2vw, 7.6vh), 4rem); }
  .chapitre-phrase { margin-top: 1.1rem; font-size: 1.1875rem; }
  .chapitre-plus { margin-top: 1.6rem; }
  .chapitre-jauge { gap: 20px; }
}

/* ---- Mode vivant (script, hors mouvement réduit) ---- */
/* Dernière pause : un bloc dans la piste (le remplissage ne compte pas pour un élément collé). */
.chapitres.vivant::after { content: ""; display: block; height: 35vh; }
.vivant .chapitre { position: sticky; top: var(--entete-h); height: var(--H); margin-bottom: var(--pause); }
.vivant .chapitre:last-child { margin-bottom: 0; }
.vivant .chapitre-cadre { height: 100%; background: none; }
.vivant .chapitre-texte { min-height: 0; height: 100%; }
/* v4t (2026-11-10, demande de Nathan : « plus fluide, plus agréable, plus professionnel », même principe) : l'escalier
   de lames est retiré (fils visibles entre les lames, texte deviné entre les marches, 24 copies de photos à déplacer).
   Le chapitre qui monte est un seul panneau à bord net : filet or et ombre douce en haut (--montee, 1 → 0 à l'arrivée,
   posé par le script), photo qui glisse doucement dans le cadre. Un seul grand numéro, posé par le script au-dessus des
   chapitres (.compteur) : ses chiffres tournent pendant le passage ; ceux des cartes sont cachés. */
.vivant .chapitre-cadre { box-shadow: 0 -18px 46px rgba(6, 10, 8, calc(var(--montee, 0) * .55)); }
.vivant .chapitre:not(:first-child) .chapitre-cadre::before { content: ""; position: absolute; z-index: 3; top: 0; right: 0; left: 0; height: 1px; background: linear-gradient(90deg, rgba(201, 166, 80, 0), #c9a650 18%, #f1d991 50%, #c9a650 82%, rgba(201, 166, 80, 0)); opacity: var(--montee, 0); transform: scaleX(var(--trace, 1)); pointer-events: none; }
/* v4u : la photo du panneau qui monte reste en arrière (effet fenêtre, script) ; agrandie depuis le bas pour couvrir. */
.vivant .chapitre-fond { transform-origin: 50% 100%; }
/* Le chapitre recouvert recule (script : scale depuis le haut) : on voit le fond sapin de la page autour. */
.vivant .chapitre-cadre { transform-origin: 50% 0; }
.vivant .chapitre-cadre, .vivant .chapitre-fond { will-change: transform; } /* quatre chapitres : calques préparés, pas de saccade */
.vivant .chapitre-num { visibility: hidden; }
/* Titre du chapitre qui monte : caché jusqu'à son arrivée (on devinait des bouts de mots et leur double sous le masque). */
.vivant .chapitre-titre { transition: opacity .2s linear; }
.vivant .chapitre:not(.actif, .passe) .chapitre-titre { opacity: 0; }
.compteur { position: sticky; z-index: 4; top: var(--entete-h); height: 0; pointer-events: none; }
.compteur-boite { position: absolute; top: 0; padding: clamp(.9rem, 2.6vh, 1.75rem) var(--gouttiere) 0; transform-origin: 50% 0; }
.compteur-num { display: flex; font-family: var(--display); font-size: clamp(5rem, 25vw, 7.25rem); font-weight: 300; line-height: .92; letter-spacing: -.05em; }
.compteur-num span span, .compteur-zero { display: block; padding-right: .06em; color: var(--or); background: var(--degrade-or); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.compteur-zero { margin-right: -.06em; }
.compteur-masque { display: block; overflow: hidden; height: .92em; }
.compteur-piste { display: block; will-change: transform; }
@media (min-width: 900px) {
  .compteur-boite { padding: clamp(1rem, 3.4vh, 2.5rem) max(var(--gouttiere), calc((var(--cw, 100vw) - 1280px) / 2)) 0; }
  .compteur-num { font-size: min(13vw, 25vh, 12rem); }
}
/* Mots du titre (« cmot » : la classe « mot » est celle du manifeste, ne pas la reprendre) : chaque mot est dans un masque ; son double (ombre portée, une ligne au-dessus) passe avant lui. */
.cmot { display: inline-block; overflow: hidden; margin: -.1em -.1em -.18em; padding: .1em .1em .18em; vertical-align: bottom; }
.cmot-in { display: inline-block; text-shadow: 0 -1.36em 0 rgba(255, 255, 255, .32); transition: transform .95s cubic-bezier(.2, .75, .15, 1) calc(var(--m) * 48ms + .08s); }
em .cmot-in { text-shadow: 0 -1.36em 0 rgba(193, 160, 76, .42); }
.vivant .chapitre-phrase, .vivant .chapitre-plus { transition: opacity .8s var(--courbe) .42s, transform .9s var(--courbe) .42s; }
.vivant .chapitre-plus { transition-delay: .56s; }
.vivant .chapitre-jauge .ici i { transition: transform 1.1s cubic-bezier(.65, 0, .25, 1) .25s; }
.vivant .trait-main path { transition: stroke-dashoffset 1s cubic-bezier(.65, 0, .25, 1) .7s; }
.vivant .cote-trait i { transition: transform .9s cubic-bezier(.65, 0, .25, 1) .72s; }
.vivant .cote-trait::before, .vivant .cote-trait::after { transition: transform .4s var(--courbe) .6s; }
.vivant .cote-trait::after { transition-delay: 1.5s; }
.vivant .filets3 i { transition: transform .5s var(--courbe) calc(.75s + var(--f, 0) * .14s); }
.vivant .filets3 i:nth-child(2) { --f: 1; }
.vivant .filets3 i:nth-child(3) { --f: 2; }
/* Chapitre pas encore arrivé : titre sous le masque, phrase et traits en attente ; le retour en arrière est rapide. */
.vivant .chapitre:not(.actif, .passe) .cmot-in { transform: translateY(2.72em); transition-duration: .35s; transition-delay: 0s; }
.vivant .chapitre:not(.actif, .passe) .chapitre-phrase, .vivant .chapitre:not(.actif, .passe) .chapitre-plus { opacity: 0; transform: translateY(18px); transition-duration: .3s; transition-delay: 0s; }
.vivant .chapitre:not(.actif, .passe) .chapitre-jauge .ici i { transform: scaleX(0); transition-duration: .3s; transition-delay: 0s; }
.vivant .chapitre:not(.actif, .passe) .trait-main path { stroke-dashoffset: 1; transition-duration: .3s; transition-delay: 0s; }
.vivant .chapitre:not(.actif, .passe) .cote-trait i, .vivant .chapitre:not(.actif, .passe) .filets3 i { transform: scaleX(0); transition-duration: .3s; transition-delay: 0s; }
.vivant .chapitre:not(.actif, .passe) .cote-trait::before, .vivant .chapitre:not(.actif, .passe) .cote-trait::after { transform: scaleY(0); transition-duration: .3s; transition-delay: 0s; }

/* =====================================================================================================================
   v5d puis v5e (2026-11-14) : une scène par étape dans le décor des chapitres. Emmanuel : les photos « n'illustrent pas
   ce qui est décrit » ; Nathan : on doit comprendre l'étape à l'image et à l'animation seules. La transition ne change
   pas.
   - .etape-plein : la zone de la photo (72 % du haut au téléphone, tout le cadre sur ordinateur), sous le voile sapin ;
     .etape-scene : la même zone au-dessus du voile (cartes, trait du comparateur, cotes). Toutes deux conteneurs.
   - .etape-couvre : boîte au format de la photo (--r), agrandie et placée comme object-fit: cover et object-position
     (--px / --py sur ordinateur, --px-m / --py-m au téléphone, posés sur le décor). La photo et ses tracés (plan de
     SS154, cotes de SS097) y sont en % : ils restent calés sur la photo à toutes les tailles, sans script.
   - Zone libre des cartes (01) : de --zone-haut (sous le grand numéro au téléphone, à sa hauteur sur ordinateur) à
     --zone-bas (au-dessus du titre : le bas du cadre moins --reserve, hauteur du texte du chapitre, et --bas, barre
     d'adresse du téléphone).
   - Ce qui suit est l'état final de chaque scène : les cartes sans script ou en mouvement réduit le montrent tel quel ;
     en mode vivant, le script part de l'état de départ (styles en ligne) quand le chapitre arrive.
   - Seuls transform, opacity et stroke-dashoffset bougent.
   ===================================================================================================================== */
.etape-plein, .etape-scene { position: absolute; top: 0; right: 0; left: 0; height: 72%; container-type: size; pointer-events: none; }
.etape-scene { --marge: var(--gouttiere); --num-haut: clamp(.9rem, 2.6vh, 1.75rem); --zone-haut: calc(var(--num-haut) + .92 * clamp(5rem, 25vw, 7.25rem) + 14px); --zone-bas: calc(100cqh / .72 - var(--reserve, 14rem) - var(--bas, 0px) - 14px); z-index: 1; }
@media (min-width: 900px) {
  .etape-plein, .etape-scene { height: 100%; }
  .etape-scene { --marge: max(var(--gouttiere), calc((100cqw - 1280px) / 2)); --num-haut: clamp(1rem, 3.4vh, 2.5rem); --zone-haut: var(--num-haut); --zone-bas: calc(100cqh - var(--reserve, 14rem) - var(--bas, 0px) - 14px); }
}
[data-etape="appel"] { --reserve: 20rem; }
.chapitre-decor .etape-scene picture, .chapitre-decor .etape-couvre picture { top: 0; right: 0; bottom: 0; left: 0; height: auto; }
.chapitre-decor .etape-scene img, .chapitre-decor .etape-couvre img { object-position: 50% 50%; }
.etape-couvre { --l: max(100cqw, calc(100cqh * var(--r, 1.5))); position: absolute; top: calc((100cqh - var(--l) / var(--r, 1.5)) * var(--py-m, .5)); left: calc((100cqw - var(--l)) * var(--px-m, .5)); width: var(--l); aspect-ratio: var(--r, 1.5); container-type: inline-size; }
@media (min-width: 900px) { .etape-couvre { top: calc((100cqh - var(--l) / var(--r, 1.5)) * var(--py, .5)); left: calc((100cqw - var(--l)) * var(--px, .5)); } }

/* 01 : deux cartes à la même place (même largeur, même bord droit que la marge du texte, même bas : au-dessus du titre au
   téléphone, à la hauteur de la dernière ligne du texte sur ordinateur). D'abord la lettre du formulaire de l'accueil
   (carton crème, filet chêne, salutation en italique, mots soulignés en pointillé qui se remplissent, photo du meuble
   choisi épinglée, tampon « Bien reçu ») ; puis la carte d'appel de la scène de l'accueil (avatar, ondes, boutons ;
   1 cqw = 1 % de la carte : valeurs de l'accueil divisées par .34). État final : la lettre est partie, l'appel est en
   cours, la voix passe. */
.etape-appel { position: absolute; right: var(--marge); bottom: calc(100cqh - var(--zone-bas)); display: grid; align-items: end; width: clamp(176px, 52cqw, 232px); container-type: inline-size; }
@media (max-width: 899px) and (max-height: 700px) { .etape-appel { width: 160px; } }
@media (min-width: 900px) { .etape-appel { bottom: calc(clamp(1.1rem, 3vh, 2rem) + 25.2px + clamp(1.1rem, 2.8vh, 1.9rem)); width: clamp(240px, 21cqw, 300px); } }
.etape-appel > * { grid-area: 1 / 1; }
.etape-lettre { position: relative; padding: 7.5cqw 8cqw 8.5cqw; background: var(--blanc-chaud); color: var(--noir); box-shadow: 0 9cqw 16cqw -8cqw rgba(0, 0, 0, .7); opacity: 0; }
.etape-lettre::before { content: ""; position: absolute; inset: 2.4cqw; border: 1px solid rgba(169, 121, 63, .32); pointer-events: none; }
.etape-lettre .lettre-salut { margin-bottom: 1.4cqw; font-size: max(12px, 5.8cqw); }
.etape-lettre .lettre-phrase { font-size: max(14px, 6.9cqw); line-height: 1.34; }
.etape-mot { position: relative; display: inline-block; overflow: hidden; margin-bottom: -.1em; padding-bottom: .1em; vertical-align: bottom; background: linear-gradient(90deg, rgba(107, 103, 96, .6) 50%, transparent 0) 0 100% / 4px 1px repeat-x; }
.etape-mot::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: var(--chene); transform: scaleX(var(--trait, 1)); transform-origin: 0 50%; }
.etape-mot > span { display: inline-block; }
.etape-lettre-photo { position: absolute; top: -9cqw; right: -5cqw; width: 23cqw; aspect-ratio: 4 / 5; background: var(--blanc); box-shadow: 0 4cqw 7cqw -3cqw rgba(0, 0, 0, .55); transform: rotate(6deg); }
.chapitre-decor .etape-lettre-photo picture { top: 1.3cqw; right: 1.3cqw; bottom: 1.3cqw; left: 1.3cqw; }
.etape-lettre .lettre-tampon { right: 6cqw; bottom: 5cqw; width: 29cqw; height: 29cqw; font-size: max(11px, 4.6cqw); }
.etape-appel .appel-entrant { position: relative; top: auto; left: auto; display: block; width: 100%; padding: 8.8cqw 7cqw 7.6cqw; border-radius: 7cqw; box-shadow: 0 9cqw 18cqw -6cqw rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .06); opacity: 1; transform: none; will-change: auto; }
.etape-appel .ae-avatar { width: 35cqw; height: 35cqw; margin-bottom: 4.7cqw; }
.etape-appel .ae-avatar img { object-position: 50% 6%; box-shadow: 0 0 0 1cqw #e2c47a; }
.etape-appel .ae-nom { font-size: max(15px, 7.4cqw); }
.etape-appel .ae-sous { display: grid; margin-top: 1.6cqw; font-size: max(11px, 4.3cqw); }
.ae-statut { display: flex; grid-area: 1 / 1; align-items: center; justify-content: center; gap: 2.2cqw; }
.ae-sonne { opacity: 0; }
.ae-ligne i { width: 2.4cqw; height: 2.4cqw; border-radius: 50%; background: #3ec486; }
.ae-temps { font-variant-numeric: tabular-nums; }
.ae-bas { display: grid; margin-top: 6.5cqw; }
.ae-bas > * { grid-area: 1 / 1; }
.etape-appel .ae-boutons { gap: 11.8cqw; margin-top: 0; opacity: 0; }
.etape-appel .ae-boutons > span { position: relative; isolation: isolate; width: 15.3cqw; height: 15.3cqw; }
.ae-halo { position: absolute; z-index: -1; inset: 0; border-radius: 50%; background: rgba(62, 196, 134, .5); opacity: 0; }
.ae-voix { display: flex; align-items: center; justify-content: center; gap: 1.7cqw; height: 15.3cqw; }
.ae-voix i { width: 2.3cqw; height: 100%; border-radius: 2cqw; background: #e2c47a; transform: scaleY(var(--h, .5)); }
/* Sonnerie, palpitation, halo et décroché : script (une seule ligne de temps, courbes douces). La voix : boucle CSS, tant
   que le chapitre est à l'écran (arrivé ou en train d'être recouvert). */
.vivant .chapitre:is(.actif, .passe) .etape-appel.en-ligne .ae-voix i { animation: etape-voix .62s ease-in-out infinite alternate; animation-delay: calc(var(--k, 0) * -.13s); }
@keyframes etape-voix { to { transform: scaleY(calc(var(--h, .5) * .28)); } }

/* 02 : comparateur en plein cadre, comme celui de cinetrait.fr (page Offres) : la photo de SS154 sous le voile et, au-
   dessus du voile, le dessin (fond sapin opaque, quadrillage or, les 30 arêtes en or, le crayon) dans une fenêtre coupée
   à --p (0 à 100, posé par le script sur .chapitre-cadre) : à gauche de la poignée le dessin, à droite la vraie photo.
   Fenêtre et contenu décalés en sens contraires (transform seulement). Le dessin n'a pas besoin du voile (son fond est
   déjà sapin) : il reste net partout, et ses traits s'adoucissent du côté du texte (masque fixe), qui reste lisible. Le
   trait de la poignée est dans le décor, sous le texte ; le bouton est hors du décor (aria-hidden) pour rester
   focalisable, sa zone reprend la transformation du décor (script) ; le texte reste au-dessus de la zone, lisible et
   sélectionnable. État final : poignée au milieu. */
.comparateur-fenetre { position: absolute; inset: 0; overflow: hidden; transform: translateX(calc(var(--p, 50) * 1% - 100%)); will-change: transform; }
.comparateur-dessin { position: absolute; inset: 0; background: var(--sapin); transform: translateX(calc(100% - var(--p, 50) * 1%)); will-change: transform; }
.comparateur-trace { position: absolute; inset: 0; -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, .3) 0, #000 22%); mask-image: linear-gradient(to top, rgba(0, 0, 0, .3) 0, #000 22%); }
@media (min-width: 900px) { .comparateur-trace { -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .32) 0, rgba(0, 0, 0, .32) 30%, #000 52%); mask-image: linear-gradient(90deg, rgba(0, 0, 0, .32) 0, rgba(0, 0, 0, .32) 30%, #000 52%); } }
.comparateur-trace .etape-couvre { background-image: linear-gradient(rgba(226, 196, 122, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(226, 196, 122, .1) 1px, transparent 1px); background-size: 2.5% 3.333%; }
.etape-plan { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.etape-plan line { stroke: #e9cf86; stroke-width: 2; stroke-dasharray: 1 2; stroke-linecap: round; }
.etape-crayon { --c: clamp(56px, 5.4vw, 84px); position: absolute; top: 0; left: 0; opacity: 0; }
.etape-crayon svg { position: absolute; top: calc(var(--c) * -42 / 58); left: calc(var(--c) * -4 / 58); width: var(--c); max-width: none; height: auto; overflow: visible; filter: drop-shadow(5px 8px 6px rgba(0, 0, 0, .35)); }
.comparateur-trait { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; margin-left: -1px; background: #f6f1e7; box-shadow: 0 0 0 1px rgba(12, 12, 12, .15), 0 0 12px rgba(0, 0, 0, .35); transform: translateX(calc(var(--p, 50) * 1cqw)); will-change: transform; }
.comparateur { position: absolute; z-index: 1; top: 0; right: 0; left: 0; height: 72%; container-type: inline-size; transform-origin: 50% 138.89%; touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
@media (min-width: 900px) { .comparateur { height: 100%; transform-origin: 50% 100%; } }
.comparateur ~ .chapitre-texte { pointer-events: none; }
.comparateur ~ .chapitre-texte .chapitre-corps, .comparateur ~ .chapitre-texte .chapitre-jauge { pointer-events: auto; }
.comparateur-poignee { position: absolute; top: 50%; left: 0; display: grid; place-items: center; width: 50px; height: 50px; margin: -25px 0 0 -25px; border-radius: 50%; background: var(--degrade-or); color: var(--sapin); box-shadow: 0 0 0 4px var(--blanc-chaud), 0 14px 28px -8px rgba(0, 0, 0, .65); transform: translateX(clamp(31px, calc(var(--p, 50) * 1cqw), calc(100cqw - 31px))); cursor: grab; touch-action: none; will-change: transform; }
@media (min-width: 900px) { .comparateur-poignee { width: 54px; height: 54px; margin: -27px 0 0 -27px; transform: translateX(clamp(33px, calc(var(--p, 50) * 1cqw), calc(100cqw - 33px))); } }
.comparateur-poignee svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--courbe); }
.comparateur-poignee:hover svg, .comparateur-poignee:focus-visible svg { transform: scale(1.15); }
.comparateur-poignee:focus-visible { outline: 2px solid var(--blanc); outline-offset: 6px; }
.comparateur.tire, .comparateur.tire .comparateur-poignee { cursor: grabbing; }

/* 03 : SS097 en plein cadre : photo, pièce éteinte (.etape-sombre), les deux volumes découpés sur les arêtes relevées,
   lumières, sous le voile ; ses vraies cotes (.cote / .laser de l'accueil, trait clair cerné, tailles fixes) au-dessus,
   dans une boîte identique, hors du texte : la longueur le long du dessus du meuble bas, la hauteur et les 730 mm à
   droite du meuble. Cadrage : --py .74 sur ordinateur (le dessus du meuble à droite et le sol tiennent au-dessus de la
   jauge) ; --px-m .866 au téléphone (moitié droite du meuble, ses deux cotes de hauteur ; l'étiquette de la longueur
   est posée aux trois quarts de la ligne, dans la partie visible). Cadre plus large que 1,78 fois sa hauteur et moins de
   1 640 px : la hauteur totale ne tient plus au-dessus de la jauge, --py .8 et la cote de 1 770 mm est retirée ; dès
   1 640 px, les cotes passent à droite de la jauge : --py .5 ; ordinateur en portrait : --px .85. État final : la
   pièce allumée, les cotes posées ; les deux volumes ne servent qu'à l'animation. */
.etape-sombre { position: absolute; inset: 0; background: rgba(14, 20, 16, .68); opacity: 0; }
.etape-piece { position: absolute; inset: 0; display: none; }
.vivant .etape-piece { display: block; }
.etape-piece-bas { clip-path: polygon(17.4% 65.2%, 30.7% 65.4%, 30.7% 69.3%, 51.6% 69.3%, 51.6% 65%, 85% 65%, 85% 87.4%, 17.4% 91%); }
.etape-piece-haut { clip-path: polygon(18.1% 4.7%, 30.8% 5.1%, 30.8% 5.8%, 85.1% 12.9%, 85.1% 65%, 51.6% 65%, 51.6% 69.3%, 30.7% 69.3%, 30.7% 65.4%, 18.1% 65.3%); }
.etape-cotes .cote { --f: 1; display: block; opacity: 1; }
.etape-cotes .cote-ligne { filter: drop-shadow(0 0 1px rgba(20, 13, 5, .9)); }
.etape-cotes .cote-h .cote-ligne { top: -4px; height: 8px; background: linear-gradient(#fbf7ef, #fbf7ef) 0 50% / 100% 1.5px no-repeat, repeating-linear-gradient(90deg, rgba(251, 247, 239, .9) 0 1px, transparent 1px 10px) 0 0 / 100% 45% no-repeat; }
.etape-cotes .cote-v .cote-ligne { left: -4px; width: 8px; background: linear-gradient(#fbf7ef, #fbf7ef) 50% 0 / 1.5px 100% no-repeat, repeating-linear-gradient(0deg, rgba(251, 247, 239, .9) 0 1px, transparent 1px 10px) 0 0 / 45% 100% no-repeat; }
.etape-cotes .laser { width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; box-shadow: 0 0 0 3px rgba(226, 67, 60, .25), 0 0 10px rgba(226, 67, 60, .8); }
.etape-cotes .cote-val { padding: 4px 8px; border-radius: 5px; font-size: 12.5px; }
.etape-cotes .cote-h .cote-val { left: var(--etiquette, 50%); }
@media (max-width: 899px) { .etape-cotes { --etiquette: 72%; } .etape-cotes .cote-val { font-size: 11.5px; } }
.etape-cotes .cote.pose .laser-fin { animation: none; }
.vivant .chapitre.actif .etape-cotes .cote.pose .laser-fin { animation: laser-ping .9s ease-out both; }
@container (aspect-ratio > 1.78) { [data-etape="mesure"] .etape-couvre { --py: .8; } }
@container (aspect-ratio > 1.78) and (width < 1640px) { .etape-cotes .cote.cote-hauteur { display: none; } }
@container (width >= 1640px) { [data-etape="mesure"] .etape-couvre { --py: .5; } }
@container (aspect-ratio < 1) { [data-etape="mesure"] .etape-couvre { --px: .85; } }

/* 04 : l'atelier en plein cadre (script seulement : sans lui, la carte montre directement le meuble installé), le
   détail des mains en vignette en haut à droite (sur le plafond du salon), les trois filets de l'accueil dessous. */
.etape-atelier-fond { display: none; transform-origin: 60% 58%; }
.vivant .etape-atelier-fond { display: block; }
.etape-vignette { position: absolute; top: clamp(.9rem, 2.6vh, 1.75rem); right: var(--marge); width: 42cqw; }
@media (min-width: 900px) { .etape-vignette { top: clamp(1rem, 3.4vh, 2.5rem); width: clamp(220px, 22cqw, 320px); } }
.etape-vignette-cadre { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 2; box-shadow: 0 0 0 1px rgba(243, 239, 231, .4), 0 18px 40px -16px rgba(0, 0, 0, .7); }
.etape-filets { position: absolute; top: calc(100% + 7px); right: 0; left: 0; display: flex; gap: 3px; height: 4px; filter: drop-shadow(0 0 1.5px rgba(12, 12, 12, .5)); }
.etape-filets i { flex: 1; transform-origin: 0 50%; }
.etape-filets i:nth-child(1) { background: #3d5ba8; }
.etape-filets i:nth-child(2) { background: #f7f4ee; }
.etape-filets i:nth-child(3) { background: #c8403a; }

/* Pendant qu'une scène joue (classe « joue » posée par le script) : calques préparés, seul ce qui bouge est recomposé. */
.joue .etape-lettre, .joue .etape-lettre-photo, .joue .lettre-tampon, .joue .appel-entrant, .joue .ae-onde, .joue .ae-halo, .joue .etape-crayon, .joue .etape-plan, .joue .etape-sombre, .joue .etape-piece, .joue .etape-atelier-fond, .joue .etape-salon, .joue .etape-vignette, .joue .etape-vignette picture { will-change: transform, opacity; }


/* =====================================================================================================================
   v4i (2026-11-09) : présentation d'Emmanuel. Demande de Nathan : texte inchangé (c'est le sien), photo mieux
   structurée, une petite animation qui le met en valeur.
   - Structure : photo en 4:5 (proche de la photo d'origine, on voit le showroom), pastille à côté du nom (bloc
     d'identité, plus une deuxième photo posée au-dessus), les trois faits sortis en grand sur toute la largeur.
   - Mouvement : la photo glisse doucement dans son cadre au défilement (parallaxe commune aux cartes), le panneau
     chêne sort de derrière elle, le nom monte d'un masque, les chiffres roulent comme un compteur (script), un filet
     se trace au-dessus de chaque fait, bleu-blanc-rouge sous « français ».
   Sans script ou en mouvement réduit : tout est posé.
   ===================================================================================================================== */
.emmanuel-photo-int, .emmanuel-photo-int.rideau { aspect-ratio: 4 / 5; }
@media (min-width: 900px) { .emmanuel-grille { align-items: center; } }
.emmanuel-photo::before { transition: transform 1.2s var(--courbe) .5s; }
html.js .emmanuel-visuel.entre:not(.vu) .emmanuel-photo::before { transform: translate(-24px, -24px); }
html.js .emmanuel-visuel.entre .tuile-plx img { transition: transform 2s var(--courbe) .15s; }
html.js .emmanuel-visuel.entre:not(.vu) .tuile-plx img { transform: scale(1.1); }

.identite { display: flex; align-items: center; gap: 1.15rem; }
.identite .portrait { flex: none; width: 84px; height: 84px; margin-bottom: 0; }
.identite + .role { margin-top: 1.1rem; }
.nom-masque { display: inline-block; overflow: hidden; margin: -.08em -.06em -.2em; padding: .08em .06em .2em; vertical-align: bottom; }
.nom-masque > span { display: inline-block; }
html.js .revele .nom-masque > span { transition: transform 1s cubic-bezier(.2, .75, .15, 1) .6s; }
html.js .revele .nom-masque + .nom-masque > span { transition-delay: .7s; }
html.js .revele:not(.vu) .nom-masque > span { transform: translateY(125%); }
@media (min-width: 900px) {
  .identite { gap: 1.6rem; }
  .identite .portrait { width: 104px; height: 104px; }
}

/* Les trois faits, en grand. */
.chiffres { display: grid; margin-top: clamp(3rem, 6vw, 5.25rem); }
.chiffres li { position: relative; display: flex; flex-direction: column; gap: .3rem; padding: 1.4rem 0 1.7rem; }
.chiffres li::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 1px; background: rgba(12, 12, 12, .24); transform-origin: 0 50%; }
.fait-avant { color: var(--graphite); font-size: 1.0625rem; }
.fait-chiffre { color: var(--noir); font-family: var(--display); font-size: clamp(3rem, 5.4vw, 4.9rem); line-height: 1.04; letter-spacing: -.02em; white-space: nowrap; }
.fait-chiffre em { color: var(--chene); font-style: italic; }
.fait-apres { max-width: 17rem; margin-top: .25rem; color: var(--graphite); font-size: 1.0625rem; line-height: 1.45; }
.filets3 i:nth-child(2) { --f: 1; }
.filets3 i:nth-child(3) { --f: 2; }
.chiffres .filets3 { bottom: .02em; }
@media (min-width: 900px) {
  .chiffres { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(2rem, 4.5vw, 4.5rem); }
  .chiffres li { padding-bottom: 0; }
}
/* Entrée des faits (la liste est observée à part : elle arrive après le reste de la section). */
html.js .chiffres.entre li::before { transition: transform 1.1s cubic-bezier(.65, 0, .25, 1) calc(var(--r, 0) * .14s); }
html.js .chiffres.entre .fait-avant, html.js .chiffres.entre .fait-chiffre, html.js .chiffres.entre .fait-apres { transition: opacity .8s var(--courbe) calc(.15s + var(--r, 0) * .14s), transform .9s var(--courbe) calc(.15s + var(--r, 0) * .14s); }
html.js .chiffres.entre .fait-apres { transition-delay: calc(.4s + var(--r, 0) * .14s); }
html.js .chiffres.entre .filets3 i { transition: transform .5s var(--courbe) calc(1.1s + var(--f, 0) * .14s); }
.chiffres li:nth-child(2) { --r: 1; }
.chiffres li:nth-child(3) { --r: 2; }
html.js .chiffres.entre:not(.vu) li::before { transform: scaleX(0); }
html.js .chiffres.entre:not(.vu) .fait-avant, html.js .chiffres.entre:not(.vu) .fait-chiffre, html.js .chiffres.entre:not(.vu) .fait-apres { opacity: 0; transform: translateY(14px); }
html.js .chiffres.entre:not(.vu) .filets3 i { transform: scaleX(0); }
/* Compteur : chaque chiffre est une colonne 0-9 (deux tours) qui roule jusqu'à sa valeur ; le chiffre final, en
   place mais invisible, donne la largeur et la ligne de base. */
.rouleau { position: relative; display: inline-block; clip-path: inset(-.04em -.03em -.1em); }
.rouleau-fin { visibility: hidden; }
.rouleau-piste { position: absolute; top: -.23em; left: 0; display: block; width: 100%; text-align: center; transform: translateY(calc(var(--v) * -5%)); transition: transform calc(1.5s + var(--c) * .22s) cubic-bezier(.16, .78, .2, 1) calc(.3s + var(--r, 0) * .14s); }
.rouleau-piste span { display: block; height: 1.5em; line-height: 1.5; } /* cases hautes (et piste remontée d'autant) : le chiffre voisin ne dépasse pas dans la fenêtre */
html.js .chiffres.entre:not(.vu) .rouleau-piste { transform: none; }
.sr-seul { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  html.js .emmanuel-visuel.entre .emmanuel-photo::before, html.js .emmanuel-visuel.entre .tuile-plx img, html.js .revele .nom-masque > span, html.js .chiffres.entre li::before, html.js .chiffres.entre .fait-avant, html.js .chiffres.entre .fait-chiffre, html.js .chiffres.entre .fait-apres, html.js .chiffres.entre .filets3 i { opacity: 1 !important; transform: none !important; transition: none !important; }
}



/* =====================================================================================================================
   v4j (2026-11-09) : « Ce que disent nos clients » en carrousel qui défile (demande de Nathan). Depuis la v4k : six avis
   Google d'Atelier 1053, PROVISOIRES et avec leur source, pour juger le rendu (les cartes vides sont dans style-v4j.css). Les avis de Design &
   Rangement ne sont pas encore reçus : six cartes VIDES (étoiles au trait, lignes grises, « Avis à venir »), rien
   d'inventé ; la forme et le mouvement sont ceux des vraies cartes.
   - Sans script ou en mouvement réduit : bande qu'on fait défiler soi-même (défilement natif, aimanté aux cartes).
   - Avec script (« vif ») : la piste dérive lentement vers la gauche, en boucle (cartes recopiées par le script) ;
     elle ralentit jusqu'à l'arrêt au survol, au focus, pendant qu'on la tire, ou avec le bouton « Mettre en pause »
     (contenu qui bouge plus de 5 s : il faut pouvoir l'arrêter) ; on peut la tirer à la souris ou au doigt, flèches
     du clavier pour avancer d'une carte. transform seulement.
   ===================================================================================================================== */
.avis-bande { position: relative; overflow-x: auto; padding: .75rem 0 1.25rem; scroll-snap-type: x proximity; scrollbar-width: none; outline-offset: -3px; }
.avis-bande::-webkit-scrollbar { display: none; }
.avis-piste { display: flex; gap: 1.1rem; width: max-content; padding-inline: var(--gouttiere); }
.avis-carte { position: relative; display: flex; flex: none; flex-direction: column; width: clamp(17rem, 78vw, 24rem); min-height: 16.5rem; padding: 1.6rem 1.6rem 1.35rem; border: 1px solid rgba(12, 12, 12, .1); background: var(--blanc-chaud); scroll-snap-align: center; transition: transform .6s var(--courbe), border-color .6s var(--courbe); }
.avis-carte::before { content: ""; position: absolute; top: -1px; right: -1px; left: -1px; height: 2px; background: var(--or); transform: scaleX(0); transform-origin: 0 50%; transition: transform .7s var(--courbe); }
.avis-etoiles { display: flex; gap: 3px; }
.avis-etoiles svg { width: 19px; height: 19px; fill: none; stroke: var(--or); stroke-width: 1.3px; stroke-linejoin: round; }
.avis-guillemet { display: block; height: 2.1rem; margin-top: 1.1rem; color: var(--chene); font-family: var(--display); font-size: 3.4rem; font-style: italic; line-height: .78; }
.avis-etoiles.pleines svg { fill: var(--or); }
.avis-texte { margin: .6rem 0 1.5rem; color: var(--graphite); font-size: 1rem; line-height: 1.55; }
.avis-note { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .7rem; margin-top: 1.4rem; color: var(--graphite); font-size: 1.0625rem; }
.avis-note strong { color: var(--noir); font-weight: 600; }
.avis-auteur { display: flex; align-items: center; gap: .8rem; margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--filet); }
.avis-rond { display: flex; flex: none; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--chene-clair); color: var(--noir); font-family: var(--display); font-size: 1.3rem; line-height: 1; }
.avis-nom { display: block; color: var(--noir); font-weight: 500; line-height: 1.3; }
.avis-quand { display: block; color: var(--gris); font-size: .875rem; line-height: 1.4; }
.avis-pied { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .75rem 2rem; }
.avis-pied .note-maquette { max-width: 38rem; margin-top: 1.25rem; }
.avis-pause { padding: .35rem 0; border: 0; background: none; color: var(--noir); font: inherit; font-size: .9375rem; text-decoration: underline; text-decoration-color: var(--chene); text-decoration-thickness: 1px; text-underline-offset: .3em; cursor: pointer; }
@media (min-width: 900px) {
  .avis-piste { gap: 1.5rem; padding-inline: max(var(--gouttiere), calc((100vw - 1280px) / 2)); }
  .avis-carte { min-height: 17.5rem; padding: 1.9rem 1.9rem 1.5rem; }
}
/* Entrée : les cartes montent l'une après l'autre quand la section arrive. */
html.js .avis.revele .avis-carte { transition: opacity .8s var(--courbe) calc(.35s + var(--k, 0) * 90ms), transform .9s var(--courbe) calc(.35s + var(--k, 0) * 90ms), border-color .6s var(--courbe); }
html.js .avis.revele:not(.vu) .avis-carte { opacity: 0; transform: translateY(28px); }
html.js .avis.revele.entree-finie .avis-carte { transition: transform .6s var(--courbe), border-color .6s var(--courbe); } /* entrée finie : le survol répond tout de suite */

/* Mode vif (script). */
.avis-bande.vif { overflow: hidden; cursor: grab; touch-action: pan-y; scroll-snap-type: none; user-select: none; -webkit-user-select: none; }
.avis-bande.vif.tire { cursor: grabbing; }
.avis-bande.vif .avis-piste { padding-inline: 0; will-change: transform; }
.avis-bande.vif .avis-carte { margin-right: 0; }
.avis-bande.vif::before, .avis-bande.vif::after { content: ""; position: absolute; z-index: 1; top: 0; bottom: 0; width: clamp(1.25rem, 6vw, 6.5rem); pointer-events: none; }
.avis-bande.vif::before { left: 0; background: linear-gradient(90deg, var(--creme), rgba(243, 239, 231, 0)); }
.avis-bande.vif::after { right: 0; background: linear-gradient(270deg, var(--creme), rgba(243, 239, 231, 0)); }
@media (hover: hover) and (pointer: fine) {
  .avis-carte:hover { border-color: rgba(169, 121, 63, .45); transform: translateY(-5px); }
  .avis-carte:hover::before { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html.js .avis.revele .avis-carte { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* =====================================================================================================================
   v4l (2026-11-10) : « Parlons de votre projet » (demande de Nathan : mêmes quatre étapes, amenées autrement, « une
   expérience, simple »). Scène sapin. À gauche, un carton crème adressé à Emmanuel : chaque réponse vient s'y écrire
   mot à mot (il remplace le fil d'étapes et le rappel des choix ; un mot écrit ramène à sa question) ; le nom tapé à
   la quatrième étape le signe. À droite, une question à la fois : photos pour le meuble, grandes cases pour le budget
   et le délai, champs à filet pour les coordonnées. Au téléphone, le carton reste collé sous l'en-tête pendant les
   trois premières questions. Mouvements : transform et opacity seulement ; rien en mouvement réduit.
   ===================================================================================================================== */
/* Haut de section resserré : en arrivant par le bouton du menu, la première question et ses photos tiennent à l'écran. */
.contact { padding-top: clamp(3.5rem, 6vw, 5.5rem); }
.contact-tete { margin-bottom: clamp(2rem, 3.6vw, 3.25rem); }
.contact-chapo { max-width: 35rem; font-size: 1.125rem; }
.fiche { position: relative; display: grid; gap: 1.75rem; }
@media (min-width: 900px) {
  .fiche.vive { grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); grid-template-rows: auto auto 1fr; column-gap: clamp(2.5rem, 5.5vw, 5.5rem); row-gap: 2.25rem; }
  .fiche.vive .contact-chapo { grid-column: 1; grid-row: 1; }
  .fiche.vive .lettre { grid-column: 1; grid-row: 2; }
  .fiche.vive .fiche-panneau { grid-column: 2; grid-row: 1 / 4; }
  .fiche.vive .fiche-apres { grid-column: 1; grid-row: 3; }
}

/* Le carton. */
.lettre { position: relative; z-index: 2; }
.fiche:not(.vive) .lettre { display: none; }
.lettre-carton { position: relative; padding: 1.1rem 1.25rem 1.25rem; background: var(--blanc-chaud); color: var(--noir); box-shadow: 0 28px 50px -26px rgba(0, 0, 0, .7); transform-origin: 18% 0; transition: transform .9s var(--courbe); }
.lettre-carton::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(169, 121, 63, .32); pointer-events: none; }
.lettre-salut { margin-bottom: .2rem; color: #8a5f2c; font-family: var(--display); font-size: 1.125rem; font-style: italic; line-height: 1.3; }
.lettre-phrase { font-family: var(--display); font-size: 1.3rem; line-height: 1.32; }
.trou { border-radius: 2px; }
.trou:not(.vide) { cursor: pointer; }
.trou.vide { color: var(--gris); font-style: italic; }
.trou.en-cours { color: #8a5f2c; }
.lmot { display: inline-block; overflow: hidden; margin-bottom: -.1em; padding-bottom: .1em; border-bottom: 1px solid var(--chene); vertical-align: bottom; }
.vide .lmot { border-bottom-style: dotted; border-bottom-color: var(--gris-clair); }
.en-cours .lmot { border-bottom-color: var(--chene); }
.lmot > span { display: inline-block; }
.trou:not(.vide) .lmot > span, .lettre-nom:not(.vide) { animation: monte-masque .6s var(--courbe) both; animation-delay: calc(var(--m, 0) * 55ms); }
/* Le mot attendu : un curseur de texte clignote devant, comme une lettre en train de s'écrire. */
.trou.en-cours::before, .lettre-nom.vide::before { content: ""; display: inline-block; width: 2px; height: .95em; margin-right: .14em; background: var(--chene); vertical-align: -.1em; animation: clignote 1.05s steps(1) infinite; }
@keyframes clignote { 50% { opacity: 0; } }
.trou:focus-visible { outline: 2px solid var(--noir); outline-offset: 2px; }
.lettre-signature { display: flex; align-items: center; gap: .7rem; margin-top: .7rem; overflow: hidden; font-family: var(--display); font-size: 1.45rem; font-style: italic; line-height: 1.25; animation: monte .5s var(--courbe) both; }
.lettre-signature::before { content: ""; flex: none; width: 26px; height: 1px; background: var(--chene); }
.lettre-nom { display: inline-block; min-width: 0; overflow-wrap: anywhere; }
.lettre-nom.vide { color: var(--gris); }
@media (max-width: 899px) {
  .fiche.vive:not(.coord):not(.envoyee) .lettre { position: sticky; top: calc(var(--entete-h) + 10px); }
}
@media (min-width: 900px) {
  .lettre-carton { padding: clamp(1.6rem, 2.6vw, 2.4rem); transform: rotate(-1.4deg); }
  .lettre-carton::before { inset: 9px; }
  .fiche.envoyee .lettre-carton { transform: none; }
  .lettre-salut { margin-bottom: .6rem; font-size: 1.3rem; }
  .lettre-phrase { font-size: clamp(1.5rem, 2.25vw, 1.95rem); line-height: 1.3; }
  .lettre-signature { margin-top: 1.4rem; font-size: clamp(1.7rem, 2.5vw, 2.2rem); }
}
@media (hover: hover) and (pointer: fine) { .trou:not(.vide):hover { color: #8a5f2c; } }

/* Sous le carton : qui rappelle, et l'adresse pour ceux qui préfèrent écrire. */
.fiche-apres { display: grid; gap: .8rem; align-content: start; color: rgba(255, 255, 255, .8); }
.fiche-qui { display: flex; align-items: center; gap: .9rem; }
.fiche-qui img { flex: none; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.fiche-qui strong { color: var(--blanc); font-weight: 500; }

/* Avancement : quatre filets, celui de la question en cours se trace en or. */
.fiche-avance { display: flex; align-items: center; gap: 1.1rem; margin-bottom: clamp(1.25rem, 2.4vw, 1.9rem); }
.fiche:not(.vive) .fiche-avance, .fiche:not(.vive) .fiche-retour { display: none; }
.fiche-jauge { display: grid; flex: 1; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.fiche-jauge i { position: relative; height: 2px; background: var(--filet-sombre); }
.fiche-jauge i::after { content: ""; position: absolute; inset: 0; background: var(--or); transform: scaleX(0); transform-origin: 0 50%; transition: transform .7s var(--courbe); }
.fiche-jauge i.fait::after { transform: none; }
.fiche-compte { color: rgba(255, 255, 255, .6); font-family: var(--display); font-size: 1.15rem; line-height: 1; white-space: nowrap; }
.fiche-compte b { color: var(--or); font-size: 1.7rem; font-weight: 400; }

/* Questions. */
.fiche-etape { min-width: 0; margin: 0; padding: 0; border: 0; }
.fiche:not(.vive) .fiche-etape + .fiche-etape { margin-top: 3rem; }
.fiche-question { display: block; margin-bottom: clamp(1.1rem, 2vw, 1.6rem); padding: 0; color: var(--blanc); font-family: var(--display); font-size: clamp(1.9rem, 3.3vw, 2.9rem); line-height: 1.06; letter-spacing: -.01em; }
.fiche-choix { display: grid; gap: 12px; }
@media (min-width: 560px) { .fiche-choix { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fiche-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1100px) {
  .fiche-options { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fiche.vive .fiche-feuille { min-height: 23.5rem; }
}

/* Étape 1 : on choisit une photo. Cadre or et coche sur la photo choisie, les autres s'estompent. */
.option { position: relative; display: block; cursor: pointer; }
.option input, .choix input { position: absolute; opacity: 0; pointer-events: none; }
.option-photo { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: #26352c; }
@media (min-width: 1100px) { .option-photo { aspect-ratio: 4 / 5; } }
.option-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--courbe), opacity .45s ease; }
.option-photo::after { content: ""; position: absolute; inset: 0; border: 2px solid var(--or); opacity: 0; transform: scale(1.05); transition: opacity .3s ease, transform .55s var(--courbe); pointer-events: none; }
.option-photo::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--or) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath d='M7.5 13.4l3.7 3.7 7.3-8' fill='none' stroke='%230c0c0c' stroke-width='1.6'/%3E%3C/svg%3E") center / 100% no-repeat;
  opacity: 0;
  transform: scale(.4);
  transition: opacity .25s ease, transform .5s cubic-bezier(.3, 1.5, .5, 1);
}
.option input:checked ~ .option-photo::after { opacity: 1; transform: none; }
.option input:checked ~ .option-photo::before { opacity: 1; transform: none; }
.option input:focus-visible ~ .option-photo { outline: 2px solid var(--blanc); outline-offset: 3px; }
.fiche-etape:has(input:checked) .option input:not(:checked) ~ .option-photo img, .fiche-etape:has(input:checked) .option input:not(:checked) ~ .option-photo .option-idee { opacity: .42; }
.option-nom { display: block; margin-top: .65rem; color: var(--blanc); font-size: 1rem; line-height: 1.3; }
.option-libre .option-photo { display: grid; place-items: center; background: none; box-shadow: inset 0 0 0 1px rgba(193, 160, 76, .5); }
.option-idee { padding: 0 .75rem; color: #e2c47a; font-family: var(--display); font-size: clamp(1.3rem, 1.9vw, 1.6rem); font-style: italic; line-height: 1.15; text-align: center; transition: opacity .45s ease; }
@media (hover: hover) and (pointer: fine) {
  .option:hover .option-photo img { transform: scale(1.06); }
  .option:hover .option-photo::after { opacity: 1; transform: none; }
}

/* Étapes 2 et 3 : grandes cases ; un voile or les traverse au survol, le cadre or reste sur la case choisie. */
.choix { position: relative; display: block; cursor: pointer; }
.choix span { position: relative; z-index: 0; display: flex; align-items: center; min-height: 78px; height: 100%; padding: 1rem 1.25rem; overflow: hidden; border: 1px solid var(--filet-sombre); color: var(--blanc); font-family: var(--display); font-size: clamp(1.4rem, 2.1vw, 1.75rem); line-height: 1.12; }
.choix span::before { content: ""; position: absolute; z-index: -1; inset: 0; background: rgba(193, 160, 76, .16); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--courbe); }
.choix span::after { content: ""; position: absolute; inset: -1px; border: 2px solid var(--or); opacity: 0; transition: opacity .25s ease; pointer-events: none; }
.choix input:checked + span::before { transform: none; }
.choix input:checked + span::after { opacity: 1; }
.choix input:focus-visible + span { outline: 2px solid var(--blanc); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .choix:hover span::before { transform: none; } }
@media (min-width: 1100px) { .choix span { min-height: 112px; padding: 1.25rem 1.6rem; font-size: 2rem; } }
.fiche-aide { margin-top: 1rem; color: rgba(255, 255, 255, .7); font-size: .9375rem; }
.fiche-erreur, .contact .champ-erreur { margin-top: .75rem; color: #f3ab9f; font-size: .9375rem; }
.contact .champ-erreur { margin-top: .35rem; }
.fiche-etape.invalide .choix span, .fiche-etape.invalide .option-photo { box-shadow: inset 0 0 0 1px rgba(243, 171, 159, .7); }

/* Étape 4 : champs à filet sur fond sombre, le filet or se trace au focus. */
.fiche-champs { display: grid; gap: 1.6rem 1.5rem; }
@media (min-width: 560px) { .fiche-champs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fiche-champs .large { grid-column: 1 / -1; } }
.contact .champ::after { background: var(--or); }
.contact .champ label { color: rgba(255, 255, 255, .72); }
.contact .champ input, .contact .champ textarea { border-bottom-color: rgba(255, 255, 255, .42); color: var(--blanc); caret-color: var(--or); }
.contact .champ input:-webkit-autofill { -webkit-text-fill-color: var(--blanc); box-shadow: 0 0 0 100px var(--sapin) inset; caret-color: var(--or); }
.contact .champ textarea { min-height: 5.5rem; }
.contact .facultatif { color: rgba(255, 255, 255, .55); }
.fiche-plus { justify-self: start; min-height: 44px; padding: 0; border: 0; background: none; color: rgba(255, 255, 255, .85); font: inherit; text-align: left; text-decoration: underline; text-decoration-color: var(--or); text-decoration-thickness: 1px; text-underline-offset: .3em; cursor: pointer; }
.fiche-plus:focus-visible, .fiche-retour:focus-visible { outline: 2px solid var(--blanc); outline-offset: 3px; }
.fiche-pied { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: clamp(1.5rem, 2.6vw, 2.25rem); }
.fiche-retour { min-height: 48px; padding: .5rem 0; border: 0; background: none; color: rgba(255, 255, 255, .75); font: inherit; text-decoration: underline; text-decoration-color: var(--filet-sombre); text-decoration-thickness: 1px; text-underline-offset: .3em; cursor: pointer; }
.fiche-pied .fiche-suite { min-width: 11rem; margin-left: auto; }

/* Une question arrive : son titre puis ses réponses, l'une après l'autre, de la droite (ou de la gauche au retour). */
.fiche.vive .fiche-etape:not(.ici) { display: none; }
.fiche.vive .vient-d :is(.fiche-question, .fiche-consigne, .option, .choix, .champ, .fiche-aide, .fiche-plus) { animation: etape-d .55s var(--courbe) both; animation-delay: calc(var(--j, 0) * 55ms); }
.fiche.vive .vient-g :is(.fiche-question, .fiche-consigne, .option, .choix, .champ, .fiche-aide, .fiche-plus) { animation: etape-g .55s var(--courbe) both; animation-delay: calc(var(--j, 0) * 55ms); }
@keyframes etape-d { from { opacity: 0; transform: translateX(34px); } }
@keyframes etape-g { from { opacity: 0; transform: translateX(-34px); } }
/* Arrivée de la section : les photos montent l'une après l'autre. */
html.js .contact.revele .option { transition: opacity .7s var(--courbe), transform .8s var(--courbe); transition-delay: calc(.75s + var(--j, 0) * 80ms); }
html.js .contact.revele:not(.vu) .option { opacity: 0; transform: translateY(28px); }

/* Demande partie : Emmanuel entre, le carton se redresse. */
.fiche-merci { display: grid; gap: 1.5rem 2.75rem; align-items: center; outline: none; }
@media (min-width: 640px) { .fiche-merci { grid-template-columns: 220px minmax(0, 1fr); } }
.fiche-merci .apparition-contact { width: 200px; margin: 0 auto; }
@media (min-width: 640px) { .fiche-merci .apparition-contact { width: 220px; margin: 0; } }
.fiche-merci-titre { margin-bottom: .9rem; color: var(--blanc); font-family: var(--display); font-size: clamp(2rem, 3.5vw, 3.1rem); line-height: 1.06; }
.contact .form-note { color: var(--gris-clair); }
.fiche.envoyee :is(.fiche-avance, .fiche-feuille, .fiche-pied) { display: none; }
.fiche.envoyee .fiche-merci-texte { animation: monte .7s var(--courbe) .35s both; }
.fiche.envoyee .trou { cursor: default; }
@media (prefers-reduced-motion: reduce) {
  html.js .contact.revele .option { opacity: 1 !important; transform: none !important; transition: none !important; }
  .contact .lmot > span, .contact .lettre-nom, .contact .lettre-signature, .fiche.vive .fiche-etape *, .fiche.envoyee .fiche-merci-texte { animation: none !important; }
  .lettre-carton, .option-photo img, .option-photo::before, .option-photo::after, .choix span::before, .fiche-jauge i::after { transition: none !important; }
}

/* ---------------------------------------------------------------------------------------------------------------------
   v4m (2026-11-10, Nathan : « va encore plus loin dans les animations et les interactions, en gardant la base ») :
   la photo choisie vole jusqu'au carton et s'y pose comme un tirage ; les photos penchent sous la souris, un reflet
   les suit ; une onde or part du point de clic ; la question quittée s'efface avant que la suivante arrive ; le
   chiffre de l'avancement roule ; une coche or se trace quand un champ est bon, un reflet passe sur le bouton quand
   tout est prêt ; à l'envoi, le carton se soulève et reçoit un tampon « Bien reçu ». transform et opacity seulement
   (tracé de la coche : stroke-dashoffset) ; rien en mouvement réduit.
   --------------------------------------------------------------------------------------------------------------------- */
/* Le carton tombe sur la table à l'arrivée de la section. */
html.js .contact.revele.vu .lettre-carton { animation: carton-pose 1.1s cubic-bezier(.2, .8, .2, 1) .5s backwards; }
@keyframes carton-pose { from { transform: translate(-26px, 34px) rotate(-9deg); } }

/* Le tirage de la photo choisie : flottant dans le texte au téléphone, à cheval sur le coin du carton à l'ordinateur. */
.lettre-photo { position: relative; z-index: 1; float: right; width: 46px; aspect-ratio: 4 / 5; margin: .1rem 0 .3rem .7rem; padding: 3px; background: var(--blanc); box-shadow: 0 10px 18px -8px rgba(0, 0, 0, .55); transform: rotate(5deg); transition: opacity .3s ease; }
.lettre-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lettre-photo.part { opacity: 0; }
@media (min-width: 900px) {
  .lettre-photo { position: absolute; top: -40px; right: -18px; float: none; width: 90px; margin: 0; padding: 4px; transform: rotate(6deg); }
}

/* Photos : elles penchent sous la souris (transform posé par le script), un reflet suit le pointeur. */
.option-photo { transition: transform .3s ease-out; }
.option-reflet { position: absolute; z-index: 1; inset: -50%; background: radial-gradient(circle, rgba(255, 255, 255, .26), rgba(255, 255, 255, 0) 42%); opacity: 0; transition: opacity .35s ease; pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .option:hover .option-reflet { opacity: 1; } }
/* Appui : la photo ou la case s'enfonce un peu. */
.option:active .option-photo { transform: scale(.97); }
.choix span { transition: transform .2s ease-out; }
.choix:active span { transform: scale(.985); }
/* Onde or partie du point de clic. */
.onde { position: absolute; z-index: 1; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: rgba(226, 196, 122, .55); opacity: 0; pointer-events: none; }

/* La question quittée s'efface vite du côté opposé avant l'arrivée de la suivante. */
.fiche.vive .part-g :is(.fiche-question, .fiche-consigne, .option, .choix, .champ, .fiche-aide, .fiche-plus) { animation: sort-g .19s ease-in both; }
.fiche.vive .part-d :is(.fiche-question, .fiche-consigne, .option, .choix, .champ, .fiche-aide, .fiche-plus) { animation: sort-d .19s ease-in both; }
@keyframes sort-g { to { opacity: 0; transform: translateX(-26px); } }
@keyframes sort-d { to { opacity: 0; transform: translateX(26px); } }
/* Le chiffre de l'avancement roule. */
.fiche-compte b { display: inline-block; overflow: hidden; vertical-align: bottom; }
.fiche-compte b > span { display: inline-block; animation: monte-masque .5s var(--courbe) both; }

/* Coordonnées : une coche or se trace quand le champ est bon ; tout est prêt, un reflet passe sur le bouton. */
.contact .champ input { padding-right: 1.9rem; }
.champ-coche { position: absolute; right: 0; top: 1.95rem; width: 20px; height: 20px; overflow: visible; fill: none; stroke: var(--or); stroke-width: 1.7; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .5s var(--courbe); pointer-events: none; }
.champ.bon .champ-coche { stroke-dashoffset: 0; }
.fiche-suite::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 42%; background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .6), rgba(255, 255, 255, 0)); transform: translateX(-130%) skewX(-18deg); pointer-events: none; }
.fiche.prete .fiche-suite::after { animation: reflet-bouton 1.1s var(--courbe) .15s; }
@keyframes reflet-bouton { to { transform: translateX(330%) skewX(-18deg); } }

/* Envoi : le carton se soulève et se redresse, le tampon tombe dessus. */
.fiche.envoi .lettre-carton { transform: scale(1.03); }
.fiche.envoi.envoyee .lettre-carton { transform: none; }
.lettre-tampon { position: absolute; right: .9rem; bottom: .8rem; display: grid; place-items: center; width: 74px; height: 74px; border: 2px solid rgba(138, 95, 44, .8); border-radius: 50%; outline: 1px solid rgba(138, 95, 44, .55); outline-offset: -6px; color: #8a5f2c; font-family: var(--display); font-size: 1rem; font-style: italic; line-height: 1; opacity: 0; transform: rotate(-13deg); pointer-events: none; }
.fiche.envoi .lettre-tampon { animation: tampon .45s cubic-bezier(.3, 1.35, .5, 1) .18s both; }
@keyframes tampon { from { opacity: 0; transform: rotate(-13deg) scale(2.3); } to { opacity: .92; transform: rotate(-13deg) scale(1); } }
@media (min-width: 900px) { .lettre-tampon { right: 1.5rem; bottom: 1.4rem; width: 96px; height: 96px; font-size: 1.3rem; } }
@media (prefers-reduced-motion: reduce) {
  html.js .contact.revele.vu .lettre-carton, .fiche.prete .fiche-suite::after, .contact .trou::before, .contact .lettre-nom::before, .fiche-compte b > span { animation: none !important; }
  .fiche.envoi .lettre-tampon { animation: none !important; opacity: .92; }
  .option-photo, .choix span, .champ-coche, .lettre-photo { transition: none !important; }
  .fiche.envoi .lettre-carton { transform: none; }
}

/* =====================================================================================================================
   v5 (2026-11-14) : retours d'Emmanuel du 13 (deux vidéos). Haut de page foncé (règle .haut-voile plus haut), filets
   tricolores à la place du drapeau, « Investissement » au lieu de « prix », début du formulaire rendu évident.
   Mouvement : transform et opacity seulement ; rien en mouvement réduit.
   ===================================================================================================================== */
/* Haut de page : la pénombre du début ne se lève plus tout à fait (opacité finale 0,22 au lieu de 0) ; les lumières de
   la pièce, posées au-dessus, gardent leur éclat. */
.haut-nuit { opacity: .22; }

/* Scène, tableau 02 : trois filets bleu, blanc, rouge au bas de la photo, tracés l'un après l'autre par script.js
   (scaleX), comme sous « France » en haut de page ; une ombre fine détache le blanc sur la photo claire. Cachés hors
   script (le meuble fini suffit). */
.dessin-gris { transform-origin: 50% 60%; will-change: opacity, transform; }
.filets-photo { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: none; gap: max(2px, .3cqw); height: max(4px, .6cqw); pointer-events: none; filter: drop-shadow(0 0 1.5px rgba(12, 12, 12, .5)); }
html.js .vivante .filets-photo { display: flex; }
.filets-photo i { flex: 1; transform: scaleX(0); transform-origin: 0 50%; will-change: transform; }
.filets-photo i:nth-child(1) { background: #3d5ba8; }
.filets-photo i:nth-child(2) { background: #f7f4ee; }
.filets-photo i:nth-child(3) { background: #c8403a; }

/* Pages catégories : « Investissement » devant le montant (Emmanuel : jamais « prix ») ; au besoin, « Voir le projet »
   passe à la ligne plutôt que de serrer le montant. */
.projet-prix { flex-wrap: wrap; row-gap: .35rem; }
.prix-ligne { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0 .5rem; }
.prix-mot { color: var(--gris); font-size: .875rem; }
.fenetre-prix > span:first-child { color: var(--graphite); }

/* Formulaire : la consigne reprend le filet or du prix du haut de page ; le filet se trace à l'arrivée de la section. */
.fiche-consigne { display: flex; align-items: center; gap: .75rem; margin: calc(-1 * clamp(.35rem, .8vw, .7rem)) 0 clamp(1rem, 1.8vw, 1.4rem); color: rgba(255, 255, 255, .88); font-size: 1rem; line-height: 1.4; }
.fiche-consigne::before { content: ""; flex: none; width: 2rem; height: 1px; background: var(--or); transform-origin: 0 50%; }
html.js .contact.revele.vu .fiche-consigne::before { animation: trace-filet .7s var(--courbe) 1.3s backwards; }
/* L'invitation : une fois, à l'arrivée des photos, le cadre or passe de l'une à l'autre (classe « invite » posée 2,6 s
   par script.js, seulement si aucun meuble n'est choisi). Remplissage « backwards » : rien ne reste après. */
.fiche.invite .fiche-etape.ici .option-photo::after { animation: invite 1.1s var(--courbe) calc(var(--j, 0) * 110ms) backwards; }
@keyframes invite { 0% { opacity: 0; transform: scale(1.05); } 35% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
/* « Question 1 sur 4 » écrit en clair : un peu plus lisible que l'ancien « 1 / 4 ». */
.fiche-compte { color: rgba(255, 255, 255, .76); }
/* Survol : le nom du meuble passe en or avec le cadre. */
@media (hover: hover) and (pointer: fine) { .option:hover .option-nom { color: #e2c47a; } }

/* v5b (2026-11-14) : avis réduits à la note Google seule (grand chiffre, étoiles, nombre d'avis). */
.avis-seule { padding-bottom: clamp(4rem, 8vw, 7rem); }
.avis-grande { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem clamp(1.2rem, 3vw, 2.2rem); margin-top: clamp(2rem, 4vw, 3rem); }
.avis-chiffre { color: var(--noir); font-family: var(--display); font-size: clamp(5rem, 11vw, 8.5rem); font-weight: 400; line-height: .85; letter-spacing: -.03em; }
.avis-detail { display: flex; flex-direction: column; gap: .7rem; }
.avis-grande .avis-etoiles { gap: 6px; }
.avis-grande .avis-etoiles svg { width: clamp(24px, 2.6vw, 32px); height: clamp(24px, 2.6vw, 32px); }
.avis-sur { color: var(--graphite); font-size: clamp(1.0625rem, 1.4vw, 1.25rem); }
.avis-sur strong { color: var(--noir); font-weight: 600; }
/* v5c : deux extraits d'avis sous la note. */
.avis-extraits { display: grid; gap: 1.1rem; margin-top: clamp(2rem, 4vw, 3rem); }
@media (min-width: 760px) { .avis-extraits { grid-template-columns: 1fr 1fr; } }
.avis-extrait { display: flex; flex-direction: column; padding: 1.6rem 1.6rem 1.35rem; border: 1px solid var(--filet); background: rgba(255, 255, 255, .45); }
.avis-extrait .avis-texte { margin-top: 1rem; }
/* =====================================================================================================================
   v6 (2026-11-16) : retours d'Emmanuel du 15 (quatre vidéos, 01_Informations_client/demandes-video-2026-11-15.md) et
   décisions de Nathan du 16. Avis avec le « G » de Google, liseré tricolore de l'étape 04 plus visible, tête de la page
   Entrées sans cote, formulaire en cinq questions (promesse de réponse, encart, documents, mention sur les données).
   Coins arrondis dans le formulaire seulement. Mouvement : transform et opacity seulement ; rien en mouvement réduit.
   ===================================================================================================================== */
/* Avis (n° 2 et 3) : la note seule, Google écrit avec son « G » en couleurs (couleurs officielles, dans le SVG). */
.avis-google { display: inline-flex; align-items: center; gap: .55rem; color: var(--noir); font-size: clamp(1.375rem, 2vw, 1.75rem); font-weight: 500; line-height: 1; }
.avis-g { flex: none; width: 1.25em; height: 1.25em; }

/* Étape 04 de « Comment ça marche » (n° 7 : « le petit soulignement bleu blanc rouge est un peu faible ») : liseré
   plus épais (4 à 6 px selon la taille du titre, 2 avant), bleu et rouge plus lumineux sur le fond sombre, ombre
   fine pour le détacher de la photo. Le liseré de « français » sur l'accueil (validé) ne change pas. */
.trait-france .filets3 { bottom: -.09em; gap: 3px; height: clamp(4px, .085em, 6px); filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5)); }
.trait-france .filets3 i { border-radius: 1px; }
.trait-france .filets3 i:nth-child(1) { background: #4d72d6; }
.trait-france .filets3 i:nth-child(2) { background: #f7f4ee; }
.trait-france .filets3 i:nth-child(3) { background: #e2493f; }

/* Page Entrées (n° 9) : tête sans cote (la photo ne montre pas le meuble du sol à son sommet) ; cadre de même taille
   qu'avant, calé à droite. */
.tete-plan-portrait.tete-plan-sans-cote { max-width: calc(26rem - 2.4rem); }
.tete-plan-sans-cote .tete-plan-cadre, .tete-plan-sans-cote .tete-plan-legende { margin-right: 0; }

/* En-tête (n° 10) : « Présentez-nous votre projet » est plus long que « Parlons de votre projet » ; entre 1040 et
   1139 px, le menu et le bouton long ne tiennent pas sur une ligne (le bouton passait sur deux lignes) : le bouton y
   garde sa version courte « Votre projet ». */
.btn-entete { white-space: nowrap; }
@media (min-width: 1040px) and (max-width: 1139px) { .l-long { display: none; } .l-court { display: inline; } }

/* ---- Formulaire ---- */
.fiche { --rayon: 10px; }
/* Colonne de gauche : chapô (n° 12), puis l'encart « Un accompagnement personnalisé » (n° 14), trois filets bleu, blanc,
   rouge en tête comme sous « France » ailleurs sur le site. */
.contact-chapo p { max-width: 35rem; }
.accompagnement { max-width: 30rem; margin-top: clamp(1.4rem, 2.4vw, 1.9rem); padding: 1.1rem 1.25rem 1.2rem; border: 1px solid rgba(193, 160, 76, .42); border-radius: 12px; background: rgba(255, 255, 255, .035); color: rgba(255, 255, 255, .8); font-size: 1rem; line-height: 1.5; }
.accompagnement p { max-width: none; }
.accompagnement-filets { display: flex; gap: 2px; width: 2.6rem; height: 3px; margin-bottom: .75rem; }
.accompagnement-filets i { flex: 1; border-radius: 1px; }
.accompagnement-filets i:nth-child(1) { background: #4d72d6; }
.accompagnement-filets i:nth-child(2) { background: #f7f4ee; }
.accompagnement-filets i:nth-child(3) { background: #e2493f; }
.accompagnement-titre { margin-bottom: .3rem; color: #e2c47a; font-family: var(--display); font-size: 1.375rem; font-style: italic; line-height: 1.2; }
.accompagnement-titre + p + p { margin-top: .15rem; }

/* Le carton (n° 17) : absent de la question 1, il tombe sur la table quand il arrive (question 2), puis reste. */
.fiche.vive:not(.carton-vu) .lettre { display: none; }
html.js .contact.revele.vu .fiche.vive .lettre-carton { animation: carton-arrive .9s cubic-bezier(.2, .8, .2, 1) backwards; }
@keyframes carton-arrive { from { opacity: 0; transform: translate(-26px, 34px) rotate(-9deg); } 30% { opacity: 1; } }

/* Avancement sur cinq questions ; sous la jauge, la promesse de réponse (n° 13), aussi dans le remerciement. */
.fiche-jauge { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.fiche-promesse { display: flex; align-items: center; gap: .5rem; margin: calc(-1 * clamp(.45rem, 1vw, .8rem)) 0 clamp(1.1rem, 2vw, 1.6rem); color: rgba(255, 255, 255, .82); font-size: .9375rem; line-height: 1.3; }
.horloge { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--or); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.fiche.envoyee .fiche-panneau > .fiche-promesse { display: none; }
.fiche-merci .fiche-promesse { margin: 0 0 1rem; font-size: 1rem; }

/* Sous-lignes des questions (n° 15, 19, 21, 22) : même filet or que la consigne de la question 1, calé sur la première
   ligne quand le texte en prend plusieurs ; le filet ne se trace qu'à l'arrivée de la section (question 1). */
.fiche-consigne { align-items: flex-start; max-width: 40rem; }
.fiche-consigne::before { margin-top: .7em; }
html.js .contact.revele.vu .fiche-etape:not([data-etape="0"]) .fiche-consigne::before { animation: none; }

/* Coins arrondis (n° 16), rayon modéré : photos de choix, cases, champs et bouton du formulaire. */
.fiche .option-photo { border-radius: var(--rayon); }
.fiche .option-photo::after { border-radius: inherit; }
.fiche .choix span { border-radius: var(--rayon); }
.fiche .choix span::after { border-radius: calc(var(--rayon) + 1px); }
.fiche .fiche-suite { border-radius: var(--rayon); }
/* Champs : des cases arrondies plutôt que des filets ; au focus, le cadre passe en or. */
.contact .champ::after { display: none; }
.contact .champ label { line-height: 1.4; margin-bottom: .35rem; }
.contact .champ input, .contact .champ textarea { padding: .75rem 2.5rem .75rem .9rem; border: 1px solid rgba(255, 255, 255, .3); border-radius: var(--rayon); background: rgba(255, 255, 255, .04); line-height: 1.4; transition: border-color .25s ease, background-color .25s ease, box-shadow .25s ease; }
.contact .champ textarea { padding-right: .9rem; }
.contact .champ input:focus-visible, .contact .champ textarea:focus-visible { border-color: var(--or); background: rgba(255, 255, 255, .07); box-shadow: 0 0 0 1px var(--or); }
.contact .champ input[aria-invalid] { border-color: rgba(243, 171, 159, .85); }
.contact .champ-coche { top: 2.6rem; right: .8rem; }

/* Question 3 (n° 20) : trois délais côte à côte. */
@media (min-width: 560px) { .fiche-choix-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Question 4 (n° 24) : documents. La zone de dépôt s'ouvre sous les deux réponses quand on choisit « J'en ai ». Le
   champ fichier est masqué mais reste atteignable au clavier (le cadre de la zone montre le focus). Sans script : le
   champ fichier natif, visible. */
.depot { margin-top: 1.1rem; }
.depot[hidden] { display: none; }
.depot-champ { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; border: 0; clip-path: inset(50%); white-space: nowrap; }
.fiche:not(.vive) .depot-champ { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip-path: none; color: var(--blanc); }
.fiche:not(.vive) .depot-zone { display: none; }
.depot-zone { display: grid; justify-items: center; gap: .3rem; padding: 1.4rem 1.25rem 1.3rem; border: 1px dashed rgba(255, 255, 255, .4); border-radius: 12px; background: rgba(255, 255, 255, .03); color: rgba(255, 255, 255, .88); text-align: center; cursor: pointer; transition: border-color .25s ease, background-color .25s ease; }
.depot-zone.survol { border-style: solid; border-color: var(--or); background: rgba(193, 160, 76, .12); }
@media (hover: hover) and (pointer: fine) { .depot-zone:hover { border-color: var(--or); background: rgba(193, 160, 76, .08); } }
.depot-champ:focus-visible + .depot-zone { outline: 2px solid var(--blanc); outline-offset: 3px; }
.depot-icone { width: 34px; height: 34px; margin-bottom: .15rem; fill: none; stroke: var(--or); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.depot-titre { font-size: 1.0625rem; line-height: 1.35; }
.depot-choisir { color: #e2c47a; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; }
.depot-doigt { display: none; }
@media (hover: none), (pointer: coarse) { .depot-souris { display: none; } .depot-doigt { display: inline; } }
.depot-aide { color: rgba(255, 255, 255, .62); font-size: .875rem; }
.depot-liste { display: grid; gap: .5rem; margin-top: .75rem; }
.depot-liste:empty { display: none; }
.depot-fichier { display: flex; align-items: center; gap: .8rem; padding: .45rem .4rem .45rem .5rem; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--rayon); background: rgba(255, 255, 255, .05); }
.depot-apercu { flex: none; display: grid; place-items: center; width: 44px; height: 44px; overflow: hidden; border-radius: 6px; background: rgba(193, 160, 76, .18); color: #e2c47a; font-size: .75rem; font-weight: 600; }
.depot-apercu img { width: 100%; height: 100%; object-fit: cover; }
.depot-texte { display: grid; flex: 1; min-width: 0; }
.depot-nom { overflow: hidden; color: var(--blanc); font-size: .9375rem; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.depot-taille { color: rgba(255, 255, 255, .62); font-size: .8125rem; line-height: 1.3; }
.depot-retirer { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; color: rgba(255, 255, 255, .75); cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.depot-retirer svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
@media (hover: hover) and (pointer: fine) { .depot-retirer:hover { background: rgba(255, 255, 255, .1); color: var(--blanc); } }
.depot-retirer:focus-visible { outline: 2px solid var(--blanc); outline-offset: 1px; }
.depot-refus { margin-top: .6rem; color: #f3ab9f; font-size: .9375rem; }

/* Question 5 (n° 23) : la mention sur les données, juste au-dessus de « Retour ». */
.fiche-mention { margin-top: 1.4rem; color: rgba(255, 255, 255, .64); font-size: .875rem; line-height: 1.45; }

/* La zone de dépôt et la mention arrivent et partent avec leur question, comme les autres éléments. */
.fiche.vive .vient-d :is(.depot, .fiche-mention) { animation: etape-d .55s var(--courbe) both; animation-delay: calc(var(--j, 0) * 55ms); }
.fiche.vive .vient-g :is(.depot, .fiche-mention) { animation: etape-g .55s var(--courbe) both; animation-delay: calc(var(--j, 0) * 55ms); }
.fiche.vive .part-g :is(.depot, .fiche-mention) { animation: sort-g .19s ease-in both; }
.fiche.vive .part-d :is(.depot, .fiche-mention) { animation: sort-d .19s ease-in both; }

@media (prefers-reduced-motion: reduce) {
  html.js .contact.revele.vu .fiche.vive .lettre-carton { animation: none !important; }
  .contact .champ input, .contact .champ textarea, .depot-zone, .depot-retirer { transition: none !important; }
}

/* v6b (Nathan, 2026-11-16 : « la partie droite est vide, c'est neutre ») : la note reste à gauche, trois extraits de
   vrais avis Google à droite (le premier en grand, en Instrument Serif), lien vers la fiche en face du titre. */
.avis-tete-ligne { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem 2.5rem; }
.avis-lien { color: var(--noir); font-size: clamp(1rem, 1.3vw, 1.125rem); white-space: nowrap; transition: text-decoration-color .3s var(--courbe); }
.avis-lien span { display: inline-block; transition: transform .3s var(--courbe); }
.avis-corps { display: grid; gap: clamp(2.25rem, 4vw, 3rem); margin-top: clamp(2rem, 4vw, 3rem); }
.avis-corps .avis-grande { margin-top: 0; }
.avis-cartes { display: grid; gap: 1.1rem; margin: 0; padding: 0; list-style: none; }
.avis-cartes .avis-extrait { border-radius: 2px; transition: opacity .6s var(--courbe), transform .6s var(--courbe), border-color .4s var(--courbe); }
.avis-haut { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.avis-g-petit { flex: none; width: 20px; height: 20px; }
.avis-cartes .avis-texte { margin: 1rem 0 1.4rem; }
.avis-cartes .avis-texte p { margin: 0; }
.avis-une .avis-texte { color: var(--noir); font-family: var(--display); font-size: clamp(1.4rem, 2.1vw, 1.75rem); line-height: 1.28; }
@media (min-width: 640px) {
  .avis-cartes { grid-template-columns: 1fr 1fr; }
  .avis-une { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  .avis-corps { grid-template-columns: minmax(18rem, 1fr) minmax(0, 2fr); align-items: start; gap: clamp(2.5rem, 5vw, 5rem); }
  .avis-corps .avis-grande { flex-direction: column; align-items: flex-start; position: sticky; top: 7rem; }
}
@media (hover: hover) and (pointer: fine) {
  .avis-cartes .avis-extrait:hover { border-color: rgba(169, 121, 63, .45); }
  .avis-lien:hover { text-decoration-color: var(--or); }
  .avis-lien:hover span { transform: translateX(4px); }
}
@media (prefers-reduced-motion: reduce) { .avis-lien span, .avis-cartes .avis-extrait { transition: none; } }

/* v6c (Nathan, 2026-11-16) : arrivée du bloc avis, une fois, environ 2 s. 1. le « 4,9 » roule comme les chiffres
   d'Emmanuel (rouleau, script : « .avis-chiffre .compteur ») ; 2. les cinq étoiles s'allument l'une après l'autre ;
   3. « sur 5, d'après 33 avis » puis le « G » de Google ; 4. les trois cartes montent en cascade, la grande d'abord.
   transform et opacity seulement ; en mouvement réduit tout est là d'emblée (le rouleau n'est pas construit). */
.avis-chiffre .rouleau-piste { transition-duration: calc(1s + var(--c) * .2s); transition-delay: .35s; }
html.js .avis.revele:not(.vu) .rouleau-piste { transform: none; }
@media (prefers-reduced-motion: no-preference) {
  html.js .avis.revele .avis-grande .avis-etoiles svg { transition: opacity .35s var(--courbe), transform .5s cubic-bezier(.34, 1.56, .64, 1); }
  html.js .avis.revele .avis-grande .avis-etoiles svg:nth-child(1) { transition-delay: 1s; }
  html.js .avis.revele .avis-grande .avis-etoiles svg:nth-child(2) { transition-delay: 1.1s; }
  html.js .avis.revele .avis-grande .avis-etoiles svg:nth-child(3) { transition-delay: 1.2s; }
  html.js .avis.revele .avis-grande .avis-etoiles svg:nth-child(4) { transition-delay: 1.3s; }
  html.js .avis.revele .avis-grande .avis-etoiles svg:nth-child(5) { transition-delay: 1.4s; }
  html.js .avis.revele:not(.vu) .avis-grande .avis-etoiles svg { opacity: 0; transform: scale(.4); }
  html.js .avis.revele .avis-sur { transition: opacity .5s var(--courbe) 1.2s, transform .5s var(--courbe) 1.2s; }
  html.js .avis.revele .avis-google { transition: opacity .5s var(--courbe) 1.55s, transform .5s var(--courbe) 1.55s; }
  html.js .avis.revele:not(.vu) .avis-sur, html.js .avis.revele:not(.vu) .avis-google { opacity: 0; transform: translateY(8px); }
  html.js .avis.revele .avis-cartes .r { transition: opacity .7s var(--courbe), transform .8s var(--courbe), border-color .4s var(--courbe); }
  html.js .avis.revele .avis-cartes .r:nth-child(1) { transition-delay: 1.35s, 1.35s, 0s; }
  html.js .avis.revele .avis-cartes .r:nth-child(2) { transition-delay: 1.5s, 1.5s, 0s; }
  html.js .avis.revele .avis-cartes .r:nth-child(3) { transition-delay: 1.65s, 1.65s, 0s; }
  html.js .avis.revele:not(.vu) .avis-cartes .r { opacity: 0; transform: translateY(28px); }
}

/* v6d (Nathan, 2026-11-16 : « ces séparateurs font bas de gamme, pas premium ») : plus de longs traits gris.
   1. Titres de section (5 pages) : trait or court au dégradé de la marque, qui se trace à l'arrivée (scaleX, inchangé).
   2. Chiffres d'Emmanuel : plus de trait au-dessus ; sur ordinateur, deux filets or verticaux entre les colonnes, qui
      se tracent de haut en bas ; au téléphone (colonnes empilées), le même trait or court que les titres. */
.filet, .sombre .filet, .sapin .filet { width: clamp(2.5rem, 4vw, 3.25rem); height: 2px; background: var(--degrade-or); }
.chiffres li::before { right: auto; width: 2.5rem; height: 2px; background: var(--degrade-or); }
@media (min-width: 900px) {
  .chiffres li { padding-top: .35rem; }
  .chiffres li::before { top: 0; bottom: 0; left: calc(clamp(2rem, 4.5vw, 4.5rem) / -2); width: 1px; height: auto; background: linear-gradient(180deg, rgba(193, 160, 76, 0), var(--or) 18%, var(--or) 82%, rgba(193, 160, 76, 0)); transform-origin: 50% 0; }
  .chiffres li:first-child::before { display: none; }
  html.js .chiffres.entre:not(.vu) li::before { transform: scaleY(0); }
}

/* v6f (Nathan, 2026-11-16 : « les séparations dorées, partout, pas seulement sur l'accueil ») : la couleur commune de
   toutes les lignes de séparation passe du gris à un or doux, sur les 5 pages : bas de la barre de menu, pied de page,
   ligne « Investissement » des cartes et de la fenêtre, auteur des avis, liste sous le portrait, bas de galerie. */
:root { --filet: rgba(169, 121, 63, .42); --filet-sombre: rgba(193, 160, 76, .42); }

/* v6h (vidéo d'Emmanuel du 2026-11-16) : téléphone dans l'encart du formulaire et en pied de page, liens vers ses
   trois réseaux en pied de page (5 pages), page de remerciement « contact-remerciement » ouverte après l'envoi. */
.accompagnement-tel { margin-top: .55rem; }
.accompagnement-tel a { color: var(--blanc); font-weight: 500; text-decoration: underline; text-decoration-color: var(--or); text-underline-offset: .2em; white-space: nowrap; }
.pied-tel { white-space: nowrap; }
.pied-reseaux { display: flex; gap: .5rem; margin: .1rem 0 .2rem; }
.pied-col .pied-reseaux a { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid var(--filet-sombre); border-radius: 50%; color: rgba(255, 255, 255, .82); transition: color .2s ease, border-color .2s ease; }
.pied-reseaux svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pied-reseaux .plein { fill: currentColor; stroke: none; }
@media (hover: hover) { .pied-col .pied-reseaux a:hover { color: var(--or); border-color: var(--or); } }
.pied-col .pied-reseaux a:focus-visible { outline: 2px solid var(--or); outline-offset: 2px; }

.merci-grille { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) { .merci-grille { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.merci-promesse { margin: 0 0 1.25rem; }
.merci-tel { margin-top: 1.25rem; }
.merci-liens { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2rem; }
.merci-note { margin-top: 1.75rem; }
.merci-photo { margin: 0; }
.merci-photo img { display: block; width: 100%; height: auto; border-radius: 4px; }
.merci-photo figcaption { margin-top: .75rem; color: rgba(255, 255, 255, .6); font-size: .875rem; }
@media (max-width: 899px) { .merci-photo { max-width: 24rem; } }
@media (prefers-reduced-motion: no-preference) {
  .merci-tel, .merci-liens { animation: monte .7s var(--courbe) .5s both; }
  .merci-photo { animation: monte .9s var(--courbe) .45s both; }
}

/* ---------- Page ville (v7, 2026-11-19) : meubles-sur-mesure-nantes.html ----------
   Tête : le cadre photo des pages catégories, sans tracé (le voile part donc plus tôt). Corps : texte et photo de
   l'atelier, étapes en quatre colonnes, questions-réponses en <details> natif (sans script). Lien du pied de page :
   discret, en fin de colonne « Plan du site ». Mouvement : opacity et transform seulement. */
.ville-tete .btn { margin-top: 2rem; }
.ville-tete .tete-plan-legende { justify-content: flex-start; color: rgba(255, 255, 255, .72); }
@media (prefers-reduced-motion: no-preference) {
  .ville-tete .btn { animation: monte .7s var(--courbe) .65s both; }
  .ville-tete .tete-plan-photo, .ville-tete .tete-plan-voile { animation-delay: .55s; }
  .ville-tete .tete-plan-voile::before { animation-delay: .5s; }
  .ville-tete .tete-plan-legende { animation-delay: 1.5s; }
}
.ville-atelier-grille { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 900px) { .ville-atelier-grille { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
.ville-texte { display: grid; gap: 1.15rem; max-width: 36rem; font-size: 1.125rem; }
.ville-reperes { display: grid; gap: 1rem; margin-top: 1.25rem; padding-top: 1.5rem; border-top: 1px solid var(--filet); color: var(--graphite); font-size: 1rem; line-height: 1.4; }
.ville-reperes li { display: grid; gap: .2rem; align-content: start; }
.ville-reperes strong { color: var(--noir); font-family: var(--display); font-size: 1.6rem; font-weight: 400; line-height: 1.1; }
@media (min-width: 560px) { .ville-reperes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
.ville-photo { margin: 0; }
.ville-photo img { width: 100%; height: auto; }
.ville-photo figcaption { margin-top: .75rem; color: var(--gris); font-size: .9375rem; }
.ville-etapes { display: grid; gap: 2.75rem var(--gouttiere); counter-reset: etape; }
@media (min-width: 640px) { .ville-etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .ville-etapes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ville-etapes li { counter-increment: etape; padding-top: 1.4rem; border-top: 1px solid var(--filet-sombre); }
.ville-etapes li::before { content: "0" counter(etape); display: block; margin-bottom: 1.1rem; color: var(--or); font-family: var(--display); font-size: 2.75rem; line-height: 1; }
.ville-etapes h3 { font-family: var(--display); font-size: 1.65rem; font-weight: 400; line-height: 1.12; letter-spacing: -.01em; }
.ville-etapes p { margin-top: .7rem; color: rgba(255, 255, 255, .78); }
.ville-suite { margin-top: clamp(2.5rem, 5vw, 3.75rem); }
/* v8 : questions-réponses communes (page ville, pages catégories, questions fréquentes) : bloc-questions, ex-ville-questions. */
.bloc-questions { --fond: var(--blanc-chaud); background: var(--blanc-chaud); }
.bloc-questions-grille { display: grid; }
@media (min-width: 960px) {
  .bloc-questions-grille { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gouttiere); align-items: start; }
  .bloc-questions .tete { position: sticky; top: calc(var(--entete-h) + 2.5rem); margin-bottom: 0; }
  .bloc-questions .titre { font-size: clamp(2.6rem, 4.6vw, 4.5rem); }
}
.questions { border-top: 1px solid var(--filet); }
.question { border-bottom: 1px solid var(--filet); }
.question summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.4rem 0; cursor: pointer; list-style: none; }
.question summary::-webkit-details-marker { display: none; }
.question summary::after { content: ""; flex: none; width: 15px; height: 15px; background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat; transition: transform .3s var(--courbe); }
.question[open] summary::after { transform: rotate(45deg); }
.question summary:focus-visible { outline-offset: -2px; }
.question-titre { font-family: var(--display); font-size: clamp(1.4rem, 2.3vw, 1.75rem); font-weight: 400; line-height: 1.15; letter-spacing: -.01em; }
.question-reponse { max-width: 38rem; padding: 0 2.5rem 1.7rem 0; color: var(--graphite); }
.question-reponse a, .ville-texte a { text-decoration: underline; text-decoration-color: var(--souligne); text-decoration-thickness: 1px; text-underline-offset: .25em; }
@media (prefers-reduced-motion: reduce) { .question summary::after { transition: none; } }
.pied-col .pied-ville { margin-top: .5rem; color: rgba(255, 255, 255, .6); font-size: .875rem; }

/* ---------- Pages projet (v8, 2026-11-19) : site/realisations/*.html, générées par outils/projets.mjs ----------
   Cartes des grilles et du mur devenues des liens vers ces pages (rendu inchangé : pas de soulignement de lien).
   Tête : celle de la page ville (classes ville-tete, photo seule) avec un titre plus petit, les titres de projet étant
   longs ; fil d’Ariane sur une ligne, le titre du projet s’y abrège (il est en entier juste dessous). Corps : texte
   et caractéristiques ; photos en rangées de deux à hauteur égale (colonnes en fr posées par le générateur selon le
   rapport largeur / hauteur de chaque photo), une colonne au téléphone ; trois autres projets de la catégorie.
   Mouvement : rien de nouveau (rideau des photos, révélations et tête existants). */
a.projet-carte, a.piece { text-decoration: none; }
.projet-tete .titre { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.5rem); line-height: 1.06; letter-spacing: -.015em; }
.projet-tete .page-tete-grille > * { min-width: 0; } /* au téléphone, la colonne ne s’élargit pas au fil d’Ariane */
.projet-tete .fil-ariane > * { flex: none; }
.projet-tete .fil-ariane > [aria-current] { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.projet-detail-grille { display: grid; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
@media (min-width: 900px) { .projet-detail-grille { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.projet-desc { max-width: 38rem; color: var(--graphite); font-size: 1.125rem; }
.projet-carac { margin: 0; border-top: 1px solid var(--filet); }
.projet-carac div { padding: .9rem 0; border-bottom: 1px solid var(--filet); }
.projet-carac dt { color: var(--gris); font-size: .875rem; }
.projet-carac dd { margin: .2rem 0 0; color: var(--graphite); }
.projet-detail-grille.projet-detail-seul { grid-template-columns: minmax(0, 40rem); } /* description d’une phrase (dans la tête) : caractéristiques seules */
.projet-photos { padding-top: 0; }
.projet-galerie, .projet-rangee { display: grid; gap: clamp(12px, 1.6vw, 20px); }
@media (min-width: 640px) { .projet-rangee { grid-template-columns: var(--cols); } }
.projet-cliche img { width: 100%; height: auto; }
.projet-autres { --fond: var(--blanc-chaud); background: var(--blanc-chaud); }

/* ---------- Questions (v8, 2026-11-19) : section de questions des pages catégories et page questions-frequentes.html ----------
   Mise en page commune bloc-questions (page ville). Page des questions : un groupe par rangée, titre de groupe réduit à
   gauche, questions à droite (une colonne au téléphone) ; chaque groupe se révèle à son arrivée. */
.faq-groupe + .faq-groupe { margin-top: clamp(3rem, 6vw, 5rem); }
.faq-titre { margin-bottom: 1.25rem; font-family: var(--display); font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 400; line-height: 1.08; letter-spacing: -.015em; text-wrap: balance; }
@media (min-width: 960px) { .faq-titre { margin-bottom: 0; padding-top: 1.05rem; } }

/* ---------- Menu téléphone (v8b, 2026-11-19) : sous 1040 px, la navigation .nav est masquée ----------
   En-tête : logo, « Votre projet », bouton de menu (44 px, trois traits en currentColor qui deviennent une croix). Sans
   script, ce bouton est un lien vers le plan du site du pied (#plan-du-site) ; script.js en fait un bouton qui ouvre un
   panneau plein écran sous l’en-tête, fond noir : les rubriques en grand (page courante en or), un filet or, le
   bouton de contact et le téléphone. En-tête sombre pendant l’ouverture, quel que soit son état (sombre ou crème).
   Mouvement : opacity et transform seulement, rien en mouvement réduit. Au-dessus de 1040 px, rien ne change. */
.menu-bouton { display: none; }
@media (max-width: 1039px) {
  .entete-int { gap: 10px; }
  .btn-entete { margin-left: auto; }
  .menu-bouton { position: relative; display: block; flex: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
}
@media (max-width: 379px) { .logo img { height: 28px; } } /* 360 px : logo, « Votre projet » et menu sur une ligne */
.menu-traits { position: absolute; top: 50%; left: 50%; width: 22px; height: 13.5px; transform: translate(-50%, -50%); }
.menu-traits i { position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; }
.menu-traits i:nth-child(2) { top: 6px; }
.menu-traits i:nth-child(3) { top: 12px; }
.entete.menu-ouvert { --texte: var(--blanc); color: var(--blanc); }
.entete.menu-ouvert::before { opacity: 0; }
.entete.menu-ouvert .logo-blanc { opacity: 1; }
.entete.menu-ouvert .logo-noir { opacity: 0; }
.entete.menu-ouvert .menu-traits i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.entete.menu-ouvert .menu-traits i:nth-child(2) { opacity: 0; }
.entete.menu-ouvert .menu-traits i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
html.menu-ouvert { overflow: hidden; }
html.menu-ouvert body { padding-right: var(--barre, 0px); }
html.menu-ouvert .entete { right: var(--barre, 0px); }
.menu-panneau { --texte: var(--blanc); --fond: var(--noir); --souligne: var(--or); position: fixed; inset: 0; z-index: 19; display: flex; flex-direction: column; align-items: flex-start; padding: calc(var(--entete-h) + clamp(1.5rem, 6vh, 3rem)) var(--gouttiere) 2.5rem; overflow-y: auto; overscroll-behavior: contain; background: var(--noir); color: var(--blanc); }
.menu-liste { display: grid; gap: .2rem; width: 100%; }
.menu-liste a { display: block; padding: .25rem 0; font-family: var(--display); font-size: clamp(2.3rem, 10vw, 3.6rem); font-weight: 400; line-height: 1.08; letter-spacing: -.015em; text-decoration: none; }
.menu-liste a[aria-current] { color: var(--or); }
.menu-filet { display: block; width: 100%; height: 1px; margin: clamp(1.5rem, 5vh, 2.5rem) 0; background: var(--or); transform-origin: 0 50%; }
.menu-tel { margin-top: 1.25rem; color: rgba(255, 255, 255, .86); font-size: 1.0625rem; }
@media (min-width: 1040px) { .menu-panneau { display: none; } }
@media (prefers-reduced-motion: no-preference) {
  .menu-traits i { transition: transform .26s var(--courbe), opacity .2s ease; }
  .menu-panneau { transition: opacity .26s var(--courbe); }
  .menu-panneau > *, .menu-liste li { transition: opacity .24s var(--courbe), transform .26s var(--courbe); transition-delay: calc(var(--k, 0) * 25ms); }
  .menu-panneau:not(.ouvert) { opacity: 0; transition-duration: .18s; }
  .menu-panneau:not(.ouvert) .menu-liste li, .menu-panneau:not(.ouvert) > :not(.menu-liste) { opacity: 0; transform: translateY(14px); transition-delay: 0s; }
  .menu-panneau:not(.ouvert) .menu-filet { transform: scaleX(0); }
}

/* ---------- Mentions légales (v9, 2026-11-19) : mentions-legales.html ----------
   Gabarit de la page des questions (bloc-questions, faq-groupe, faq-titre) ; à droite, du texte courant au lieu des
   questions repliables : filet en tête comme la liste des questions, paragraphes à 38 rem, intertitres en
   question-titre, fiche de l’éditeur en projet-carac. Aucune règle ne touche les autres pages. */
.mentions-texte { padding-top: 1.4rem; border-top: 1px solid var(--filet); color: var(--graphite); }
.mentions-texte > * { max-width: 38rem; }
.mentions-texte > * + * { margin-top: 1rem; }
.mentions-texte > .question-titre { margin-top: 2.25rem; color: var(--texte); }
.mentions-texte > .projet-carac { margin-top: 1.5rem; }
.mentions-texte a { text-decoration: underline; text-decoration-color: var(--souligne); text-decoration-thickness: 1px; text-underline-offset: .25em; }

/* ---------- Relais du formulaire (v10, 2026-11-19) : champ piège ----------
   Le champ site_web (piège à robots, lu par functions/api/demande.js) reste hors écran, avec ou sans script. Aucune
   autre règle : le message d'échec de l'envoi et les refus du dépôt reprennent .fiche-erreur et .depot-refus. */
.piege { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- En-tête sous 360 px (contrôle avant livraison du 2026-11-19) ----------
   À 320 et 340 px le bouton « Votre projet » était plus étroit que son texte (17 et 7 px coupés). Sous 360 px
   seulement : texte de 14 px, marges intérieures de 8 px ; sous 340 px, texte de 13 px pour garder de l'air
   autour. Rien ne change à partir de 360 px. */
@media (max-width: 359px) {
  .btn-entete { padding-inline: .5rem; font-size: .875rem; }
}
@media (max-width: 339px) {
  .btn-entete { font-size: .8125rem; }
}
