/* MÉCA PROFIL · feuille de la maquette V3 validée (app/maquette/site/css/style.css), reprise telle quelle
   et adaptée au balisage des blocs (menus) ; polices déclarées dans theme.json. Ne pas modifier ici sans
   reporter dans la maquette, ou l'inverse : les compléments propres à WordPress sont dans style.css.
   Exception (2026-11-07) : les mises en page côte à côte sont portées par les blocs natifs (Colonnes, Grille,
   Rangée) ; leurs déclarations (display, grid-template-columns, gap, ordre) sont retirées de cette copie,
   repérées par « (blocs) ». */


:root {
  --bleu: #2c256b;
  --nuit: #1e1a4d;
  --dore: #be9126;
  --blanc: #ffffff;
  --graphite: #1a1a1a;
  --gris: #f1f2f4;
  --acier: #888b92;
  --trace: var(--bleu);
  --trait: rgb(44 37 107 / 0.3);
  --trait-clair: rgb(255 255 255 / 0.28);
  --titre: "Legitima", Georgia, serif;
  --texte: "Roboto", system-ui, sans-serif;
  --entete: 68px;
  --marge: clamp(1rem, 3.5vw, 3rem);
  --rayon: 0;              /* angles vifs : tout est tiré à la règle */
  --repere: #c3c7ce;
  --texte-doux: #5b626d;   /* gris lisible sur blanc (6:1) pour les mentions et légendes */       /* lignes de repère : gris clair acier, moins vif que le blanc */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
:is([data-rail], .feuille), #rappel, #planche-gabarits { scroll-margin-top: var(--entete); }   /* une ancre ne s'arrête pas sous l'en-tête fixe */
body { margin: 0; background: var(--blanc); color: var(--graphite); font: 400 1.0625rem/1.6 var(--texte); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }   /* les attributs width/height réservent la place sans imposer la hauteur */
figure { margin: 0; }
h1, h2, h3 { font-family: var(--titre); font-weight: 400; margin: 0; hyphens: none; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
sup { font-size: .6em; line-height: 0; }

.lecteur-ecran { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.evitement { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--bleu); color: var(--blanc); padding: .75rem 1rem; }
.evitement:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 2px solid var(--dore); outline-offset: 2px; }

/* Étiquettes : le lettrage du plan */
.etiquette { font: 700 .75rem/1.3 var(--texte); letter-spacing: .14em; text-transform: uppercase; color: var(--bleu); }
.etiquette--dore { color: var(--dore); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .7rem 1.25rem; border: 1px solid transparent; border-radius: var(--rayon); font: 700 .8125rem/1 var(--texte); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.btn--bleu { background: var(--bleu); color: var(--blanc); }
.btn--bleu:hover { background: var(--nuit); }
.btn--sombre { background: var(--graphite); color: var(--blanc); }
.btn--dore { background: var(--dore); color: var(--graphite); }
.btn--dore:hover { background: #d3a53a; }
.btn--contour-clair { border-color: var(--trait-clair); color: var(--blanc); background: transparent; }
.btn--contour-clair:hover { border-color: var(--blanc); }
.btn--grille { width: 44px; padding: 0; background: var(--gris); display: none; grid-template-columns: repeat(2, 5px); gap: 4px; place-content: center; }
.btn--grille span { width: 5px; height: 5px; background: var(--bleu); }
.seul-mobile { display: none; }

:is(.lien-fleche, .is-style-lien-fleche, .is-style-lien-fleche-clair) { display: inline-flex; align-items: center; gap: .6rem; font: 700 .8125rem/1 var(--texte); letter-spacing: .1em; text-transform: uppercase; color: var(--bleu); text-decoration: underline; text-underline-offset: .35em; text-decoration-thickness: 1px; padding: .9rem 0; }
:is(.lien-fleche, .is-style-lien-fleche, .is-style-lien-fleche-clair)::after { content: "→"; font-size: 1.1rem; letter-spacing: 0; transition: transform .2s; }
:is(.lien-fleche, .is-style-lien-fleche, .is-style-lien-fleche-clair):hover::after { transform: translateX(4px); }
:is(.lien-fleche--clair, .is-style-lien-fleche-clair) { color: var(--blanc); }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 50; height: var(--entete); display: flex; align-items: center; gap: 2rem; padding: 0 var(--marge); background: var(--blanc); border-bottom: 1px solid var(--trait); }
.entete__logo img { width: 150px; height: auto; }
.entete__nav { display: flex; gap: 1.6rem; margin-left: auto; }
.entete__nav a { font-size: .9375rem; text-decoration: none; padding: .5rem 0; border-bottom: 1px solid transparent; }
.entete__nav a:hover { border-bottom-color: var(--bleu); }
.entete__actions { display: flex; gap: .5rem; }

/* 1 · La planche en quatre cases */
.planche { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; height: calc(100svh - var(--entete)); min-height: 600px; overflow: hidden; background: linear-gradient(180deg, var(--gris), var(--blanc) 70%); }
.planche__case { position: relative; overflow: hidden; }
.planche__case--hg { border-right: 1px solid var(--trait); border-bottom: 1px solid var(--trait); }
.planche__case--hd { border-bottom: 1px solid var(--trait); }
.planche__case--bg { border-right: 1px solid var(--trait); }
.planche__fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; transition: opacity .5s; pointer-events: none; }
.planche__case:focus-within .planche__fond { opacity: .18; }
@media (hover: hover) { .planche__case:hover .planche__fond { opacity: .18; } }   /* 0.9.18 : sans souris, le survol obligeait à toucher deux fois le lien (iPhone) */
.planche__case.au-doigt .planche__fond { opacity: .18; transition-duration: .15s; }   /* 0.9.20 : écran tactile, fond visible tant que le doigt est posé (défilement), sans bloquer le lien (classe posée par theme.js) */
.planche__mot { position: absolute; z-index: 4; font: 400 clamp(2.4rem, 4.9vw, 5.6rem)/.92 var(--titre); text-transform: uppercase; letter-spacing: .005em; text-decoration: none; color: var(--graphite); transition: color .25s; }
.planche__mot:hover { color: var(--bleu); }
.planche__case--hg .planche__mot { left: var(--marge); bottom: .9rem; }
.planche__case--hd .planche__mot { right: var(--marge); bottom: .9rem; text-align: right; }
.planche__case--bg .planche__mot { right: 1.2rem; top: 1rem; }

.reticule { position: absolute; z-index: 5; left: 50%; top: 50%; width: 26px; height: 26px; translate: -50% -50%; pointer-events: none; }
.reticule::before, .reticule::after { content: ""; position: absolute; background: var(--graphite); }
.reticule::before { left: 50%; top: 0; width: 1.5px; height: 100%; translate: -50% 0; }
.reticule::after { top: 50%; left: 0; height: 1.5px; width: 100%; translate: 0 -50%; }

.planche__case--bd { z-index: 3; background: var(--bleu); color: var(--blanc); }
.volet { position: absolute; inset: 0; display: flex; flex-direction: column; padding: clamp(1.25rem, 2.6vw, 2.5rem); transition: transform .6s cubic-bezier(.7, 0, .2, 1), opacity .4s; }
.volet--accroche h1 { font-size: clamp(1.9rem, 2.75vw, 3.1rem); line-height: 1.08; max-width: 17ch; }
.liste-carree { list-style: none; margin: 1.6rem 0 0; padding: 0; font: 700 .8125rem/1.5 var(--texte); letter-spacing: .08em; text-transform: uppercase; }
.liste-carree li { display: flex; gap: .75rem; align-items: baseline; padding: .15rem 0; }
.liste-carree li::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--dore); translate: 0 -1px; }
.volet__boutons { margin-top: auto; display: flex; flex-direction: column; align-items: flex-end; gap: .6rem; }
.volet__boutons .btn { min-width: 280px; }

.volet--formulaire { background: var(--nuit); transform: translateY(100%); overflow-y: auto; }
.est-ouvert .volet--formulaire { transform: translateY(0); }
.est-ouvert .volet--accroche { transform: translateY(-12%); opacity: 0; }
.volet__tete { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px dashed var(--trait-clair); padding-bottom: .8rem; }
.volet__titre { font: 400 clamp(1.5rem, 2vw, 2rem)/1.1 var(--titre); }
.volet__fermer { width: 44px; height: 44px; border: 1px solid var(--trait-clair); border-radius: var(--rayon); background: none; color: var(--blanc); font-size: 1.6rem; cursor: pointer; }
.volet__intro { margin: .8rem 0 1rem; color: rgb(255 255 255 / .85); }
.formulaire { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1rem; }
.champ { display: flex; flex-direction: column; gap: .3rem; }
.champ label { font: 700 .75rem/1.3 var(--texte); letter-spacing: .1em; text-transform: uppercase; }
.champ label span { font-weight: 400; letter-spacing: 0; text-transform: none; opacity: .8; }
.champ input { height: 44px; border: 1px solid var(--acier); border-radius: var(--rayon); padding: 0 .75rem; font: inherit; }
.champ--case { grid-column: 1 / -1; flex-direction: row; align-items: flex-start; gap: .6rem; }
.champ--case input { width: 20px; height: 20px; margin-top: .15rem; flex: none; accent-color: var(--dore); }
.champ--case label { font: 400 .875rem/1.45 var(--texte); letter-spacing: 0; text-transform: none; }
.formulaire .btn { grid-column: 1 / -1; justify-self: end; min-width: 220px; }

/* 4 · L'atelier, repères et cotes */
.atelier { background: var(--nuit); color: var(--blanc); padding: clamp(4rem, 8vw, 7rem) var(--marge); background-image: linear-gradient(var(--trait-clair) 1px, transparent 1px), linear-gradient(90deg, var(--trait-clair) 1px, transparent 1px); background-size: 100% 25%, 12.5% 100%; background-blend-mode: normal; position: relative; }
.atelier::before { content: ""; position: absolute; inset: 0; background: rgb(30 26 77 / .82); }
.atelier > *, .atelier > .folio__contenu > * { position: relative; max-width: 1200px; margin-left: auto; margin-right: auto; }
.atelier__tete { display: flex; flex-direction: column; gap: .8rem; margin-bottom: 2.5rem; }
.atelier__tete h2 { font-size: clamp(2.6rem, 6vw, 5.5rem); line-height: 1; }
.reperes { position: relative; }
.reperes img { width: 100%; border-radius: var(--rayon); }

.cotes { margin-top: clamp(3rem, 6vw, 5rem); display: grid; gap: 2.4rem; }
.cote__ligne { position: relative; width: var(--l); height: 46px; }
.cote__ligne::before { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1.5px; background: var(--dore); }
.cote__ligne::after { content: ""; position: absolute; inset: 0 0 0 0; border-left: 1.5px solid var(--dore); border-right: 1.5px solid var(--dore); }
.cote__ligne span { position: absolute; left: 50%; bottom: 16px; translate: -50% 0; white-space: nowrap; font: 700 clamp(1.15rem, 2vw, 1.6rem)/1 var(--texte); color: var(--blanc); letter-spacing: .02em; }
.cote__ligne i::before, .cote__ligne i::after { content: ""; position: absolute; bottom: 5px; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.cote__ligne i::before { left: 1.5px; border-right: 12px solid var(--dore); }
.cote__ligne i::after { right: 1.5px; border-left: 12px solid var(--dore); }
.cote p { margin-top: .6rem; max-width: 52ch; color: rgb(255 255 255 / .8); font-size: .9375rem; }
.cotes__echelle { font: 700 .75rem/1 var(--texte); letter-spacing: .14em; text-transform: uppercase; color: rgb(255 255 255 / .6); }
.atelier :is(.lien-fleche, .is-style-lien-fleche, .is-style-lien-fleche-clair) { display: flex; width: fit-content; margin-top: 2.5rem; margin-left: max(0px, (100% - 1200px) / 2); }

/* Pied de page */
.pied { background: var(--nuit); color: var(--blanc); padding: clamp(3rem, 6vw, 4.5rem) var(--marge) 1.5rem; }
.pied__grille { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--trait-clair); }
.pied__grille > div { display: flex; flex-direction: column; gap: .7rem; }
.pied__grille p { font-size: .9375rem; color: rgb(255 255 255 / .85); }
.pied__grille a { text-decoration: none; }
.pied__grille a:hover { text-decoration: underline; }
.pied__legal { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; padding-top: 1.2rem; font-size: .8125rem; }
.pied__legal a { color: rgb(255 255 255 / .75); }

/* La pièce : symbole du logo tracé comme une trajectoire d'outil */
.planche { --grille: rgb(44 37 107 / .05); --grille-fort: rgb(44 37 107 / .09); }
.planche__case:not(.planche__case--bd) { background-image: linear-gradient(var(--grille-fort) 1px, transparent 1px), linear-gradient(90deg, var(--grille-fort) 1px, transparent 1px), linear-gradient(var(--grille) 1px, transparent 1px), linear-gradient(90deg, var(--grille) 1px, transparent 1px); background-size: 60px 60px, 60px 60px, 12px 12px, 12px 12px; }
.planche__case--bd { background-image: linear-gradient(rgb(255 255 255 / .06) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .06) 1px, transparent 1px); background-size: 60px 60px; }

.piece { position: absolute; z-index: 4; left: 50%; top: 50%; width: min(34vw, 66svh); translate: -42.67% -94.67%; pointer-events: none; color: var(--bleu); }
.piece svg { display: block; width: 100%; height: auto; }
.construction { fill: none; stroke: var(--bleu); stroke-width: .4; }
/* finesse : les traits gardent leur épaisseur à l'écran, quel que soit le zoom (ouverture comprise) */
.construction *, .trace, .outil * { vector-effect: non-scaling-stroke; }
/* construction au crayon : graphite, fine, à la règle */
.c-cercle, .c-axe, .c-crayon { stroke: rgb(26 26 26 / .4); stroke-width: .5px; }
.c-cercle--double { stroke: rgb(26 26 26 / .18); }
.c-axe { stroke: rgb(26 26 26 / .45); stroke-dasharray: 14 2.5 1.5 2.5; }
.c-crayon { stroke: rgb(26 26 26 / .24); }
.c-arc, .c-repere { stroke: var(--trace); stroke-width: .75px; }
.c-attache { stroke: rgb(26 26 26 / .38); stroke-width: .5px; }
.c-cote { stroke: var(--trace); stroke-width: .75px; }
.c-secondaire { transition: opacity .6s; }
.sobre .c-secondaire { opacity: 0; }
.anime:not(.construit) .construction * { marker-start: none; marker-end: none; }
/* l'esquisse d'abord, puis les cotes : délais dans la construction */
.anime.construit .c-attache { transition: stroke-dashoffset .5s ease-out calc(.45s * var(--k, 1)); }
.anime.construit .c-cote, .anime.construit .c-repere { transition: stroke-dashoffset .5s ease-out calc(.75s * var(--k, 1)); }
.piece marker path { fill: var(--trace); }
.c-txt { fill: var(--trace); font: 400 5.4px var(--texte); letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.c-txt--fin { font-weight: 400; letter-spacing: .06em; opacity: .8; }
.trace { stroke-width: .9px; stroke-linejoin: round; }
.trace--bleu { fill: var(--bleu); stroke: var(--bleu); }
.trace--dore { fill: var(--dore); stroke: var(--dore); }
.outil { fill: none; stroke: var(--bleu); stroke-width: .75px; opacity: 0; }
.outil circle { fill: rgb(255 255 255 / .8); }

/* état animé (posé par le script) */
.anime .construction > * { stroke-dasharray: var(--l); stroke-dashoffset: var(--l); }
.anime .annotations { opacity: 0; }
.anime .trace { fill-opacity: 0; }
.anime.construit .construction > * { stroke-dashoffset: 0; transition: stroke-dashoffset 1s ease-out; }
.anime.construit .c-cercle, .anime.construit .c-crayon { stroke-dasharray: none; }
.anime.construit .c-axe { stroke-dasharray: 16 3 2 3; transition: none; }
.anime.fini .annotations { opacity: 1; transition: opacity .6s; }
.anime.fini .construction > :not(.c-axe) { stroke-dasharray: none; }
.anime.fini .trace { fill-opacity: 1; }
.anime.fini .outil { opacity: 0 !important; transition: opacity .4s; }

/* Le cadre du plan */
.cadre { position: absolute; inset: 0; z-index: 6; pointer-events: none; font: 700 .625rem/1 var(--texte); letter-spacing: .1em; color: var(--bleu); }
.cadre > div { position: absolute; display: flex; justify-content: space-around; }
.cadre__haut, .cadre__bas { left: 22px; right: 22px; height: 18px; }
.cadre__haut { top: 0; border-bottom: 1px solid var(--trait); }
.cadre__bas { bottom: 0; border-top: 1px solid var(--trait); }
.cadre__gauche, .cadre__droite { top: 18px; bottom: 18px; width: 22px; flex-direction: column; }
.cadre__gauche { left: 0; border-right: 1px solid var(--trait); }
.cadre__droite { right: 0; border-left: 1px solid var(--trait); }
.cadre span { display: grid; place-items: center; flex: 1; position: relative; }
.cadre__haut span + span::before, .cadre__bas span + span::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 1px; background: var(--trait); }
.cadre__gauche span + span::before, .cadre__droite span + span::before { content: ""; position: absolute; top: 0; left: 5px; right: 5px; height: 1px; background: var(--trait); }
.cadre__bas, .cadre__droite { color: var(--blanc); }
.cadre__bas span:nth-child(-n+4) { color: var(--bleu); }
.cadre__droite span:nth-child(-n+2) { color: var(--bleu); }
.planche__case--hg .planche__mot { left: calc(var(--marge) + 22px); }
.planche__case--hd .planche__mot { right: calc(var(--marge) + 22px); }

/* Viseur et coordonnées */
.viseur { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .3s; }
.planche:hover .viseur { opacity: 1; }
.viseur__h, .viseur__v { position: absolute; background: rgb(44 37 107 / .35); }
.viseur__h { left: 0; right: 0; height: 1px; top: var(--vy, 50%); }
.viseur__v { top: 0; bottom: 0; width: 1px; left: var(--vx, 50%); }
.planche { cursor: crosshair; }
.planche a, .planche button { cursor: pointer; }
.dro { position: absolute; z-index: 5; left: calc(22px + 1.4rem); bottom: calc(18px + 1.4rem); min-width: 10.5rem; padding: .55rem 0 .2rem; border-top: 1px solid var(--trace); color: var(--graphite); font: 400 .875rem/1.7 var(--texte); font-variant-numeric: tabular-nums; }
.dro p { display: flex; justify-content: space-between; gap: 1.5rem; border-bottom: 1px solid var(--trait); }
.dro :is(b, strong) { color: var(--bleu); font-weight: 700; }
.dro__titre { border-bottom: 0 !important; font: 700 .75rem/1 var(--texte); letter-spacing: .16em; text-transform: uppercase; color: var(--bleu); margin-bottom: .35rem; }

/* Tablette et mobile */
@media (max-width: 1100px) {
  .entete__nav { display: none; }
  .entete__actions { margin-left: auto; }
  .btn--grille { display: grid; }
}

@media (max-width: 860px) {
  :root { --entete: 60px; }
  .entete__logo img { width: 124px; }
  .masque-mobile { display: none; }
  .seul-mobile { display: inline; }

  .planche { display: flex; flex-direction: column; height: auto; max-height: none; min-height: 0; }

  .reticule, .viseur, .cadre { display: none; }
  .planche { background-image: linear-gradient(var(--grille-fort) 1px, transparent 1px), linear-gradient(90deg, var(--grille-fort) 1px, transparent 1px), linear-gradient(var(--grille) 1px, transparent 1px), linear-gradient(90deg, var(--grille) 1px, transparent 1px); background-size: 60px 60px, 60px 60px, 12px 12px, 12px 12px; }
  .piece { order: 2; position: relative; left: auto; top: auto; translate: none; width: min(86vw, 380px); margin: 1.5rem auto .5rem; }
  .dro { order: 2; position: relative; left: auto; bottom: auto; align-self: center; margin-bottom: 1.5rem; }
  :is(.planche__case--hg, .planche__case--hd, .planche__case--bg) .planche__mot { inset: auto; }   /* 0.9.15 : Réalisations gardait right 1.2rem / top 1rem (décalé) */
  .planche__case { order: 3; border: 0; border-top: 1px solid var(--trait); }
  .planche__case.planche__case--bd { order: 1; min-height: 430px; border: 0; }
  .planche__mot { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 1.1rem var(--marge); font-size: 2.1rem; text-align: left !important; }
  .planche__mot br { display: none; }
  .planche__mot::after { content: "→"; font-family: var(--texte); font-size: 1.4rem; color: var(--bleu); }
  .volet__boutons { align-items: stretch; }
  .volet__boutons .btn { min-width: 0; }
  .formulaire { grid-template-columns: 1fr; }
  .est-ouvert .volet--formulaire { position: relative; }
  .est-ouvert .volet--accroche { position: absolute; }

  .reperes__trace { display: none; }
  .reperes__legende { position: static; width: auto; height: auto; overflow: visible; clip-path: none; margin-top: 1rem; }
  .cote__ligne { min-width: 9rem; }
  .cote__ligne span { left: 0; translate: none; padding-left: 1.2rem; }

  .pied__grille { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.reperes__image { position: relative; }

/* ===== Apparitions au défilement (data-reveler → .visible) ===== */
.cote { --d: 0s; }
.cote:nth-child(3) { --d: .35s; }
.cote:nth-child(4) { --d: .7s; }
.cote__ligne { transition: width 1.4s cubic-bezier(.2, .7, .2, 1) var(--d); }
.cote__ligne span, .cote__ligne i { transition: opacity .4s calc(var(--d) + .3s); }
.cote p { transition: opacity .6s calc(var(--d) + .9s), translate .6s calc(var(--d) + .9s); }
.cotes:not(.visible) .cote__ligne { width: 0; min-width: 0; }
.cotes:not(.visible) .cote__ligne span, .cotes:not(.visible) .cote__ligne i { opacity: 0; }
.cotes:not(.visible) .cote p { opacity: 0; translate: 0 8px; }
.cote__ligne :is(b, strong) { font: inherit; font-variant-numeric: tabular-nums; }

/* Lignes de repère sur la photo : flèche, trait oblique, palier qui souligne le texte */
.reperes__trace { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ligne-repere path { fill: none; stroke: var(--repere); stroke-width: 2; filter: drop-shadow(0 0 2px rgb(0 0 0 / .45)); }
#fl-photo path { fill: var(--repere); stroke: none; filter: none; }
.ligne-repere text { fill: var(--blanc); filter: drop-shadow(0 1px 2px rgb(10 8 30 / .55)); }
.ligne-repere .lr-fond { fill: rgb(255 255 255 / .24); stroke: var(--repere); stroke-width: 1; filter: none; stroke-dasharray: none !important; }
.lr-titre { font: 700 19px var(--texte); letter-spacing: .1em; text-transform: uppercase; }
.lr-texte { font: 400 19px var(--texte); }
.ligne-repere { --d: .2s; }
.ligne-repere:nth-of-type(2) { --d: .9s; }
.ligne-repere:nth-of-type(3) { --d: 1.6s; }
.ligne-repere path { stroke-dasharray: 800; stroke-dashoffset: 0; transition: stroke-dashoffset .9s cubic-bezier(.4, 0, .2, 1) var(--d); }
.ligne-repere text, .ligne-repere .lr-fond, .ligne-repere .lr-crayon { transition: opacity .5s calc(var(--d) + .7s); }
.ligne-repere .lr-crayon { stroke: rgb(235 237 241 / .42); stroke-width: 1; filter: none; stroke-dasharray: none !important; }
.reperes:not(.visible) .ligne-repere path { stroke-dashoffset: 800; }
.reperes:not(.visible) .ligne-repere :is(text, .lr-fond, .lr-crayon) { opacity: 0; }
.reperes__legende { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.reperes__legende ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.reperes__legende li { padding: .7rem 0; border-bottom: 1px solid var(--trait-clair); font-size: .9375rem; }
.reperes__legende :is(b, strong) { display: block; color: var(--dore); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }

.cartouche > * { transition: opacity .6s, translate .6s; }
.cartouche:not(.visible) > * { opacity: 0; translate: 0 14px; }
.cartouche > :nth-child(2) { transition-delay: .15s; }
.cartouche > :nth-child(3) { transition-delay: .3s; }
.cartouche > :nth-child(4) { transition-delay: .45s; }
.cartouche > :nth-child(5) { transition-delay: .6s; }
.cartouche > :nth-child(6) { transition-delay: .75s; }

/* ===== Ouverture : le logo s'usine en grand, puis se dézoome à sa place ===== */
.voile-ouverture { display: none; }
.ouverture { overflow: hidden; }
.ouverture .voile-ouverture { display: block; position: fixed; inset: 0; z-index: 80; background-color: var(--blanc); background-image: linear-gradient(rgb(44 37 107 / .09) 1px, transparent 1px), linear-gradient(90deg, rgb(44 37 107 / .09) 1px, transparent 1px), linear-gradient(rgb(44 37 107 / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(44 37 107 / .05) 1px, transparent 1px); background-size: 60px 60px, 60px 60px, 12px 12px, 12px 12px; transition: opacity .9s .25s; }
.ouverture .planche { overflow: visible; }
.ouverture .piece { z-index: 85; transform-origin: 50% 50%; }
.ouverture--sortie .voile-ouverture { opacity: 0; }
.ouverture--sortie .piece { transition: transform 1.1s cubic-bezier(.65, 0, .25, 1); }

/* ===== Le dossier de plans : une feuille (folio) par section ===== */
.folio { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 1.2rem; max-width: 1320px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); padding: .9rem var(--marge); border-top: 1.5px solid var(--trace); font: 700 .75rem/1 var(--texte); letter-spacing: .16em; text-transform: uppercase; color: var(--bleu); }
.folio__num { padding: .45rem .6rem; border: 1px solid currentColor; }
.folio__axe { height: 1px; background: repeating-linear-gradient(90deg, currentColor 0 22px, transparent 22px 27px, currentColor 27px 30px, transparent 30px 35px); opacity: .5; }
.folio__ref { font-weight: 400; letter-spacing: .1em; }
.folio--clair { color: var(--blanc); border-top-color: rgb(255 255 255 / .5); }
.folio--clair .folio__num { color: var(--dore); }

/* Folio 02 · Gamme de fabrication */
.gamme { padding: clamp(4rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem); }
.gamme__corps { /* (blocs) groupe + Colonnes */ max-width: 1320px; margin: 0 auto; padding: 0 var(--marge); }
.gamme__phases h2 { font-size: clamp(2.4rem, 4.5vw, 4rem); line-height: 1.05; color: var(--bleu); margin-bottom: 1rem; }
.phase { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; gap: .9rem; padding: 3rem 0; border-top: 1px solid var(--trait); opacity: .3; transition: opacity .5s; }
.phase.actif { opacity: 1; }
.phase__num { font: 700 .75rem/1 var(--texte); letter-spacing: .16em; text-transform: uppercase; color: var(--bleu); }
.phase__num :is(b, strong) { display: block; margin-top: .5rem; font-size: clamp(3.2rem, 5vw, 4.75rem); line-height: .9; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.phase h3 { font-size: clamp(2rem, 3.2vw, 2.8rem); line-height: 1.1; }
.phase__outils { padding-left: .8rem; border-left: 3px solid var(--dore); font: 700 .8125rem/1.4 var(--texte); letter-spacing: .1em; text-transform: uppercase; color: var(--bleu); }
.phase > p:is(:not([class]), [class="wp-block-paragraph"]) { max-width: 44ch; font-size: 1.125rem; }
.phase__img { display: none; }
.etapes { margin: .4rem 0 0; padding: 0; list-style: none; counter-reset: e; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; max-width: 30rem; }
.etapes li { counter-increment: e; display: flex; gap: .9rem; align-items: baseline; padding: .55rem 0; border-bottom: 1px solid var(--trait); }
.etapes li::before { content: counter(e, decimal-leading-zero); font: 700 .75rem/1 var(--texte); color: var(--bleu); letter-spacing: .1em; }
.gamme__vue { position: sticky; top: calc(var(--entete) + 2rem); height: calc(100svh - var(--entete) - 4rem); align-self: start; }
.gamme__cadre { position: relative; height: 100%; border: 1px solid var(--trace); }
.gamme__cadre img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: cover; opacity: 0; scale: 1.05; transition: opacity .7s, scale 1.2s cubic-bezier(.2, .7, .2, 1); }
.gamme__cadre img.actif { opacity: 1; scale: 1; }
.gamme__legende { position: absolute; left: 10px; bottom: 10px; padding: .75rem 1.1rem; background: var(--blanc); border-top: 1px solid var(--trace); border-right: 1px solid var(--trace); font: 700 .75rem/1 var(--texte); letter-spacing: .14em; text-transform: uppercase; color: var(--bleu); }
.gamme__legende span { font-weight: 400; color: var(--texte-doux); }
.gamme__index { position: absolute; top: 10px; right: 10px; margin: 0; padding: 0; list-style: none; background: var(--blanc); border-left: 1px solid var(--trace); border-bottom: 1px solid var(--trace); }
.gamme__index li { display: grid; place-items: center; width: 44px; height: 40px; font: 700 .75rem/1 var(--texte); color: var(--bleu); transition: background-color .3s, color .3s; }
.gamme__index li + li { border-top: 1px solid var(--trait); }
.gamme__index li.actif { background: var(--bleu); color: var(--blanc); }

/* Folio 03 · Moyens (complément) */
.atelier > .folio { max-width: 1320px; padding-left: 0; padding-right: 0; }
.atelier__tete p { max-width: 60ch; color: rgb(255 255 255 / .82); font-size: 1.125rem; }

/* Folio 04 · Nomenclature */
.nomenclature { padding: clamp(4rem, 8vw, 6rem) 0; }
.nomenclature__tete, .fiches, .lien-section, .nomenclature__note { max-width: 1320px; margin-left: auto; margin-right: auto; padding: 0 var(--marge); }
.nomenclature__tete { /* (blocs) Rangée */ margin-bottom: 2rem; }
.nomenclature__tete h2 { font-size: clamp(2.4rem, 4.5vw, 4rem); line-height: 1; color: var(--bleu); }
.fiche { display: flex; flex-direction: column; padding: 8px; border: 1px solid var(--trace); background: var(--blanc); transition: opacity .6s, translate .6s; }
.fiche img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fiche--grande img { aspect-ratio: auto; min-height: 0; }
.fiche__cartouche { /* (blocs) Rangée */ margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--trace); }
.fiche__cartouche .rep { font: 700 .75rem/1 var(--texte); color: var(--bleu); margin: 0; }
.fiche__cartouche dl { display: grid; grid-template-columns: 1fr 1fr; margin: 0; }   /* .fiche__dl : (blocs) Grille */
.fiche__cartouche :is(dl, .fiche__dl) > div + div { border-left: 1px solid var(--trait); padding-left: .7rem; }
.fiche__cartouche :is(dt, .fiche__dt) { font: 700 .75rem/1.2 var(--texte); letter-spacing: .14em; text-transform: uppercase; color: var(--bleu); }
.fiche__cartouche :is(dd, .fiche__dd) { margin: .15rem 0 0; font-size: .8125rem; font-style: italic; color: var(--texte-doux); }
.fiches:not(.visible) .fiche { opacity: 0; translate: 0 16px; }
.fiche:nth-child(2) { transition-delay: .1s; } .fiche:nth-child(3) { transition-delay: .2s; } .fiche:nth-child(4) { transition-delay: .3s; } .fiche:nth-child(5) { transition-delay: .4s; }
.lien-section { margin-top: 1.5rem; }   /* (blocs) Groupe : lien fléché en fin de section, aligné sur le contenu (1 320 px, marges du thème) */
.cartouche__devis { margin-top: auto !important; padding-top: .5rem; }   /* sous le formulaire « Être rappelé », en bas de la colonne */
.nomenclature__note { margin-top: 1rem; font-size: .8125rem; color: var(--texte-doux); }

/* Folio 05 · Historique en frise cotée */
.histoire { padding: clamp(4rem, 8vw, 6rem) 0; background: var(--gris); }
.histoire__tete, .frise, .histoire__photos, .histoire__lien { max-width: 1320px; margin-left: auto; margin-right: auto; padding-left: var(--marge); padding-right: var(--marge); }
.histoire__tete h2 { font-size: clamp(2.4rem, 4.5vw, 4rem); line-height: 1.05; color: var(--bleu); }
.histoire__tete p { font-size: 1.125rem; max-width: 52ch; }
.frise { position: relative; margin-top: clamp(3rem, 6vw, 5rem); margin-bottom: clamp(3rem, 6vw, 5rem); }
.frise__ligne { position: absolute; left: var(--marge); right: var(--marge); top: 2.9rem; height: 1.5px; background: var(--trace); transform-origin: left; transition: scale 1.4s cubic-bezier(.2, .7, .2, 1); }
.frise__ligne::after { content: ""; position: absolute; top: -5px; right: 0; border-top: 5.75px solid transparent; border-bottom: 5.75px solid transparent; border-left: 12px solid var(--trace); }   /* flèche à l'arrivée seulement (RDV du 26/11) */
:is(.frise ol, .frise__liste) { position: relative; list-style: none; margin: 0; padding: 0; }
.frise ol { display: grid; grid-template-columns: repeat(5, 1fr); }   /* .frise__liste : (blocs) Grille */
:is(.frise li, .frise__etape) { position: relative; display: flex; flex-direction: column; gap: 2.4rem; padding: 0 1.5rem 0 0; transition: opacity .5s, translate .5s; }
:is(.frise li, .frise__etape)::before { content: ""; position: absolute; left: 0; top: 2rem; width: 1px; height: 1.9rem; background: var(--trace); }
:is(.frise li, .frise__etape)::after { content: ""; position: absolute; left: -4px; top: calc(2.9rem - 4px); width: 9px; height: 9px; border-radius: 50%; background: var(--gris); border: 1.5px solid var(--trace); }
.frise__cle::after { background: var(--dore) !important; border-color: var(--dore) !important; }
.frise__quand { font: 700 .8125rem/1.3 var(--texte); letter-spacing: .12em; text-transform: uppercase; color: var(--bleu); padding-left: .9rem; }
.frise__quoi { font: 400 clamp(1.15rem, 1.6vw, 1.4rem)/1.3 var(--titre); padding-left: .9rem; }
.frise__cle .frise__quoi { color: var(--bleu); }
.frise:not(.visible) .frise__ligne { scale: 0 1; }
.frise:not(.visible) li { opacity: 0; translate: 0 10px; }
:is(.frise li, .frise__etape):nth-child(1) { transition-delay: .3s; } :is(.frise li, .frise__etape):nth-child(2) { transition-delay: .6s; } :is(.frise li, .frise__etape):nth-child(3) { transition-delay: .9s; } :is(.frise li, .frise__etape):nth-child(4) { transition-delay: 1.2s; } :is(.frise li, .frise__etape):nth-child(5) { transition-delay: 1.5s; }
.histoire__photos { position: relative; }
.histoire__photo img { width: 72%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 75%; }
.histoire__porte { position: absolute; right: var(--marge); bottom: -2.5rem; width: 24%; padding: 8px; background: var(--blanc); border: 1px solid var(--trace); }
.histoire__porte img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.histoire__lien { display: flex; width: max-content; margin-top: 1.5rem; padding-left: 0; margin-left: max(var(--marge), (100% - 1320px) / 2 + var(--marge)); }

/* Folio 06 · Le cartouche final */
.cartouche-final { padding: clamp(4rem, 8vw, 6rem) var(--marge); }
.cartouche { max-width: 1320px; margin: 0 auto; border: 1.5px solid var(--trace); }   /* (blocs) groupe + 2 × Colonnes */
.cartouche :is(.wp-block-column, .cartouche__case) { padding: clamp(1.25rem, 2.4vw, 2rem); }
.cartouche__appel { display: flex; flex-direction: column; gap: 1.4rem; background: var(--bleu); color: var(--blanc); background-image: linear-gradient(rgb(255 255 255 / .06) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .06) 1px, transparent 1px); background-size: 60px 60px; }
.cartouche__appel h2 { font-size: clamp(2rem, 3.4vw, 3.1rem); line-height: 1.08; }
.cartouche__actions { margin-top: auto; }   /* (blocs) Rangée */
.cartouche__tel { font: 700 clamp(1.25rem, 1.8vw, 1.6rem)/1 var(--texte); letter-spacing: .03em; text-decoration: none; border-bottom: 1px solid var(--dore); padding-bottom: .3rem; }
.cartouche__case { border-bottom: 1px solid var(--trait); display: flex; flex-direction: column; gap: .7rem; border-left: 1px solid var(--trait); }
.cartouche__case h3 { font-size: clamp(1.4rem, 1.9vw, 1.75rem); line-height: 1.15; }
.cartouche__case p:last-child { color: #3b3b44; }
.rep { display: inline-grid; place-items: center; width: 2.1em; height: 2.1em; margin-right: .5em; border: 1px solid var(--trace); border-radius: 50%; letter-spacing: 0; }
.cartouche__pied { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr auto auto; padding: 0 !important; border-top: 1.5px solid var(--trace); font: 700 .75rem/1 var(--texte); letter-spacing: .14em; text-transform: uppercase; color: var(--bleu); white-space: nowrap; }
.cartouche__pied span { padding: .85rem clamp(1.25rem, 2.4vw, 2rem); border-right: 1px solid var(--trait); }
.cartouche__pied span:last-child { border-right: 0; }

@media (max-width: 860px) {
  .folio { grid-template-columns: auto 1fr; }
  .folio__axe, .folio__ref { display: none; }
  .gamme__vue { display: none; }
  .phase { min-height: 0; opacity: 1; padding: 2rem 0; }
  .phase__img { display: block; order: -1; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
  .etapes { grid-template-columns: 1fr; }
  .fiche__cartouche dl { grid-template-columns: 1fr; gap: .4rem; }
  .fiche__cartouche :is(dl, .fiche__dl) > div + div { border-left: 0; padding-left: 0; }
  .frise__ligne { left: calc(var(--marge) + 0px); right: auto; top: 0; bottom: 0; width: 1.5px; height: auto; transform-origin: top; }
  .frise__ligne::after { top: auto; bottom: -1px; right: auto; left: 50%; translate: -50% 0; border: 0; border-left: 5.75px solid transparent; border-right: 5.75px solid transparent; border-top: 12px solid var(--trace); }   /* flèche à l'arrivée, comme sur grand écran */
  .frise:has(.frise__ligne) { padding-bottom: 1.4rem; }   /* le trait dépasse la dernière étape pour porter la flèche */
  .frise:not(.visible) .frise__ligne { scale: 1 0; }
  .frise ol { grid-template-columns: 1fr; gap: 1.6rem; }
  :is(.frise li, .frise__etape) { gap: .4rem; padding-left: 1.2rem; }
  :is(.frise li, .frise__etape)::before { display: none; }
  :is(.frise li, .frise__etape)::after { left: -4px; top: .25rem; }
  .histoire__photo { width: 100%; }
  .histoire__porte { width: 34%; bottom: -1.5rem; }
  .cartouche__case { border-left: 0; }
  .cartouche__pied { grid-template-columns: 1fr 1fr; white-space: normal; }
  .cartouche__pied span:nth-child(2) { border-right: 0; }
  .cartouche__pied span:nth-child(-n+2) { border-bottom: 1px solid var(--trait); }
}

/* ===== Esquisse et repassé : construction au crayon, trait de couleur repassé par-dessus ===== */
[data-esquisse] { position: relative; }
html { overflow-x: clip; }
.gamme__cadre .contour { position: absolute; inset: 10px; pointer-events: none; }
.esquisse-svg { position: absolute; left: 0; top: 0; padding: 0 !important; margin: 0; border: 0; overflow: visible; pointer-events: none; z-index: 2; }
.esquisse-svg .crayon { stroke: rgb(26 26 26 / .24); stroke-width: .5; opacity: 0; transition: opacity .6s; }
.esquisse-svg .crayon--double { stroke: rgb(26 26 26 / .12); }
.esquisse-clair .esquisse-svg .crayon { stroke: rgb(255 255 255 / .3); }
.esquisse-clair .esquisse-svg .crayon--double { stroke: rgb(255 255 255 / .15); }
.esquisse-svg .encre { fill: none; stroke-linecap: square; stroke-dasharray: var(--l); stroke-dashoffset: var(--l); transition: stroke-dashoffset var(--t, .8s) cubic-bezier(.45, 0, .2, 1) var(--d, 0s); }
.repasse .esquisse-svg .crayon { opacity: 1; }
.repasse .esquisse-svg .encre { stroke-dashoffset: 0; }
.esquisse-actif [data-trace] { border-color: transparent !important; }
body:not(.esquisse-actif) .esquisse-svg { display: none; }

/* ===== Matière : stries de surfaçage dans les aplats bleus ===== */
.planche__case--bd, .atelier, .cartouche__appel { isolation: isolate; }
.stries { display: none; position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.atelier > .stries { position: absolute; max-width: none; margin: 0; z-index: 0; }
body .stries { display: block; }
.stries svg { width: 100%; height: 100%; display: block; }
.stries path { fill: none; stroke: var(--strie, #fff); stroke-width: .7; }
.planche__case--bd .stries, .cartouche__appel .stries { --strie: #fff; }

/* ===== Photos : graphite bleuté (photo en gris + voile bleu en lumière douce) ; la couleur revient quand la photo est active ===== */
.voile { position: relative; }
.voile::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: var(--nuit); mix-blend-mode: soft-light; opacity: 0; transition: opacity 1.2s ease; }
.gamme__cadre.voile::after { inset: 10px; }
.histoire__porte.voile::after { inset: 8px; }
body .voile::after { opacity: .7; }
body .voile img { filter: grayscale(1) contrast(1.06) brightness(1.02); transition: filter 1.2s ease, opacity .7s, scale 1.2s cubic-bezier(.2, .7, .2, 1); }
body .gamme__cadre:not(.teinte)::after,
body .fiche:hover .voile::after,
body .reperes:hover::after,
body .histoire__photos:hover .voile::after { opacity: 0; }
body .gamme__cadre:not(.teinte) img.actif,
body .fiche:hover .voile img,
body .reperes:hover img,
body .histoire__photos:hover .voile img { filter: grayscale(0) contrast(1) brightness(1); }
.gamme__cadre.teinte::after { transition: none !important; }
.gamme__cadre.teinte img { transition: filter 0s, opacity .7s, scale 1.2s cubic-bezier(.2, .7, .2, 1) !important; }
.gamme__legende, .gamme__index, .reperes__trace { z-index: 2; }
.fiche__photo { flex: 1; display: flex; }
.fiche__photo img { width: 100%; }
.histoire__photo { width: 72%; }
.histoire__photo img { width: 100% !important; }

/* ===== Moment plein écran : en cours d'usinage ===== */
.instant { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: var(--graphite); }
.instant__scene { position: absolute; inset: 0; scale: var(--echelle, 1.12); translate: 0 var(--glisse, 0); will-change: scale, translate; }
.instant__scene img { width: 100%; height: 100%; object-fit: cover; }
.instant__reperes { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
.instant__reperes #fl-instant path { fill: var(--repere); }
.instant .ligne-repere { --d: .3s; }
.instant .ligne-repere:nth-of-type(2) { --d: .9s; }
.instant .ligne-repere:nth-of-type(3) { --d: 1.5s; }
.instant:not(.actif) .ligne-repere path { stroke-dashoffset: 800; }
.instant:not(.actif) .ligne-repere :is(text, .lr-fond, .lr-crayon) { opacity: 0; }
body .instant.actif .voile::after { opacity: 0; transition-delay: .3s; }
body .instant.actif .voile img { filter: grayscale(0) contrast(1) brightness(1); transition-delay: .3s; }
.instant__bandeau { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 1.2rem; padding: 1.1rem var(--marge); background: linear-gradient(transparent, rgb(10 10 14 / .55)); color: var(--blanc); font: 700 .75rem/1 var(--texte); letter-spacing: .16em; text-transform: uppercase; }
.instant__bandeau .folio__num { color: var(--dore); border: 1px solid currentColor; }
@media (max-width: 860px) {
  .instant { height: 70svh; }
  .instant__reperes { display: none; }
}

/* ===== MÉCA PROFIL, en clair : le nom, la différence, la voix ===== */
.volet__marque { margin-bottom: .9rem; font: 700 .75rem/1 var(--texte); letter-spacing: .2em; text-transform: uppercase; color: var(--dore); }

.cote-accroche { position: absolute; z-index: 4; left: calc(22px + var(--marge)); right: 2.5rem; top: 61%; max-width: 30rem; color: var(--trace);
  padding: 1rem 1.2rem 1.1rem; background: var(--fond-cote, rgb(44 37 107 / .06)); border: 1px solid var(--trait); backdrop-filter: blur(2px); }
body .cote-accroche { --fond-cote: rgb(59 65 74 / .07); }
.cote-accroche__titre { font: 700 .75rem/1 var(--texte); letter-spacing: .16em; text-transform: uppercase; margin-bottom: .6rem; }
.cote-accroche__ligne { position: relative; height: 14px; border-left: 1px solid currentColor; border-right: 1px solid currentColor; }
.cote-accroche__ligne::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--dore); }
.cote-accroche__ligne i::before, .cote-accroche__ligne i::after { content: ""; position: absolute; top: calc(50% - 3.5px); border-top: 3.5px solid transparent; border-bottom: 3.5px solid transparent; }
.cote-accroche__ligne i::before { left: 1px; border-right: 10px solid var(--dore); }
.cote-accroche__ligne i::after { right: 1px; border-left: 10px solid var(--dore); }
.cote-accroche__valeur { margin-top: .5rem; font: 400 1rem/1.2 var(--texte); color: var(--graphite); }
.cote-accroche__valeur :is(b, strong) { font-size: clamp(1.6rem, 2.4vw, 2.2rem); font-weight: 700; color: var(--bleu); font-variant-numeric: tabular-nums; }
.cote-accroche__note { margin-top: .2rem; font-size: .8125rem; color: var(--texte-doux); }

.citation { margin: clamp(3rem, 6vw, 4.5rem) auto 0; max-width: 1320px; padding: 0 var(--marge); display: grid; grid-template-columns: auto 1fr; gap: 0 1.5rem; }
.citation::before { content: "«"; grid-row: 1 / 3; font: 400 clamp(4rem, 8vw, 7rem)/.8 var(--titre); color: var(--dore); }
.citation p { font: italic 400 clamp(1.6rem, 3vw, 2.6rem)/1.25 var(--titre); color: var(--bleu); max-width: 34ch; text-wrap: balance; }
.citation :is(footer, cite) { margin-top: 1.2rem; font-size: .9375rem; color: #3b3b44; }
.citation footer :is(b, strong) { color: var(--graphite); }

@media (max-width: 860px) {
  .cote-accroche { order: 2; position: relative; left: auto; right: auto; top: auto; margin: 0 var(--marge) 1.5rem; max-width: none; }
  .frise ol { grid-template-columns: 1fr; }
}

/* ===== Le nom pendant l'ouverture : le lettrage du logo se dessine, puis s'efface au dézoom ===== */
.marque { display: none; }
.ouverture .marque { display: inline; transition: opacity .45s; }
.ouverture--sortie .marque { opacity: 0; }
.lettre { fill-opacity: 0; stroke-width: .6px; vector-effect: non-scaling-stroke; stroke-dasharray: var(--l); stroke-dashoffset: var(--l); transition: stroke-dashoffset 1.1s cubic-bezier(.45, 0, .2, 1) calc(var(--i) * 45ms); }
.lettre--bleu { fill: var(--bleu); stroke: var(--bleu); }
.lettre--dore { fill: var(--dore); stroke: var(--dore); }
.marque-trace .lettre { stroke-dashoffset: 0; }
.marque-remplie .lettre { fill-opacity: 1; }

/* ===== Ordre du dessinateur : esquisse au crayon, usinage en trait acier, puis la couleur ===== */
.c-esquisse { fill: none; stroke: rgb(26 26 26 / .34); stroke-width: .5px; }
.anime.construit .c-esquisse { transition: stroke-dashoffset 1.1s ease-in-out calc(.25s * var(--k, 1)); }
.anime:not(.fini) .trace { stroke: #3b414a; }
.trace { transition: stroke .6s ease; }
.lettre { stroke: rgb(26 26 26 / .4); stroke-width: .5px; transition: stroke-dashoffset 1.1s cubic-bezier(.45, 0, .2, 1) calc(var(--i) * 45ms), stroke .6s ease; }
.marque-remplie .lettre--bleu { stroke: var(--bleu); }
.marque-remplie .lettre--dore { stroke: var(--dore); }
.c-arete { stroke: rgb(26 26 26 / .2); }
.lettre-guide { fill: none; stroke: rgb(26 26 26 / .22); stroke-width: .5px; vector-effect: non-scaling-stroke; stroke-dasharray: var(--l); stroke-dashoffset: var(--l); transition: stroke-dashoffset .9s ease-out .1s; }
.marque-trace .lettre-guide { stroke-dashoffset: 0; }

.folio__contenu { display: contents; }

/* ===== Colonne des feuilles : fixe, la feuille en cours mise en avant dans un cadre de visée ===== */
.rail { display: none; }
@media (min-width: 1100px) {
  body { --rail: clamp(220px, 19vw, 300px); }
  .rail { display: flex; flex-direction: column; position: fixed; z-index: 40; left: 0; top: var(--entete); bottom: 0; width: var(--rail); overflow: hidden; isolation: isolate;
    background: var(--nuit); color: var(--blanc); border-right: 1px solid var(--trace); translate: -100% 0; transition: translate .6s cubic-bezier(.65, 0, .25, 1); }
  body .rail { background: linear-gradient(170deg, var(--acier-moyen), var(--acier-fonce) 60%, #1f2227); }
  .rail.visible { translate: 0 0; }
  :is([data-rail], .feuille), .pied { margin-left: var(--rail); }
  .avec-folio > .folio { display: none; }          /* la colonne remplace les bandeaux de folio */

  .rail__centre { position: relative; flex: 1; overflow: hidden; }
  .rail__piste { position: absolute; left: 0; right: 0; top: 50%; margin: 0; padding: 0; list-style: none; transition: translate .7s cubic-bezier(.65, 0, .25, 1); }
  .rail__piste li { height: 120px; display: grid; place-items: center; }
  .rail__piste a { display: flex; flex-direction: column; align-items: center; gap: .5rem; text-decoration: none; color: rgb(255 255 255 / .75); transition: color .4s; }
  .rail__piste a:hover, .rail__piste a:focus-visible { color: var(--blanc); }
  .rail__num { font: 700 .75rem/1 var(--texte); letter-spacing: .16em; transition: font-size .6s cubic-bezier(.65, 0, .25, 1), color .4s; font-variant-numeric: tabular-nums; }
  .rail__nom { font: 700 .75rem/1.3 var(--texte); letter-spacing: .18em; text-transform: uppercase; text-align: center; max-width: 16ch; }
  .rail__piste .actif a { color: var(--blanc); }
  .rail__piste .actif .rail__num { font-size: clamp(2.6rem, 3.6vw, 3.6rem); color: var(--dore); letter-spacing: 0; }

}

/* Colonne : menu en haut, raccourcis en bas */
.rail-menu { display: none; }
@media (min-width: 1100px) {
  .rail__haut, .rail__bas { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: .4rem; padding: .7rem; }
  .rail__haut { border-bottom: 1px solid rgb(255 255 255 / .16); }
  .rail__bas { border-top: 1px solid rgb(255 255 255 / .16); }
  .rail__menu { display: flex; align-items: center; gap: .7rem; min-height: 44px; padding: 0 1rem; border: 1px solid rgb(255 255 255 / .3); border-radius: var(--rayon); background: none; color: var(--blanc); font: 700 .75rem/1 var(--texte); letter-spacing: .18em; text-transform: uppercase; cursor: pointer; transition: border-color .3s, background-color .3s; }
  .rail__menu:hover, .rail__menu[aria-expanded="true"] { border-color: var(--dore); }
  .rail svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
  .rail__menu line { transition: translate .3s, rotate .3s, opacity .3s; transform-origin: 12px 12px; }
  .rail__menu[aria-expanded="true"] line:nth-child(1) { translate: 0 5px; rotate: 45deg; }
  .rail__menu[aria-expanded="true"] line:nth-child(2) { opacity: 0; }
  .rail__menu[aria-expanded="true"] line:nth-child(3) { translate: 0 -5px; rotate: -45deg; }
  .rail__bas a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--rayon); color: rgb(255 255 255 / .7); transition: color .3s, background-color .3s; }
  .rail__bas a:hover, .rail__bas a:focus-visible { color: var(--dore); background: rgb(255 255 255 / .06); }

  .rail__corps { position: relative; flex: 1; display: flex; flex-direction: column; min-height: 0; }
  .rail-menu { display: flex; flex-direction: column; gap: 1.4rem; position: absolute; z-index: 5; inset: 0; padding: 1.6rem 1.4rem; overflow-y: auto;
    background: linear-gradient(170deg, #343a43, var(--acier-fonce, var(--nuit)) 70%); color: var(--blanc);
    clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .55s cubic-bezier(.65, 0, .25, 1), visibility 0s .55s; }
  body:not(*) .rail-menu { background: var(--nuit); }
  .rail-menu.ouvert { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .55s cubic-bezier(.65, 0, .25, 1); }
  .rail-menu__titre { font: 700 .75rem/1 var(--texte); letter-spacing: .18em; text-transform: uppercase; color: rgb(255 255 255 / .75); }
  .rail-menu .wp-block-navigation__container { list-style: none; margin: 0; padding: 0; }
  .rail-menu .wp-block-navigation-item { border-top: 1px solid rgb(255 255 255 / .14); }
  .rail-menu .wp-block-navigation-item:last-child { border-bottom: 1px solid rgb(255 255 255 / .14); }
  .rail-menu .wp-block-navigation-item__content { display: flex; align-items: baseline; gap: .8rem; padding: .7rem 0; font: 400 clamp(1.25rem, 1.6vw, 1.6rem)/1.1 var(--titre); color: var(--blanc); text-decoration: none; transition: color .3s, padding-left .3s; }
  .rail-menu .wp-block-navigation-item__content::before { font: 700 .75rem/1 var(--texte); letter-spacing: .12em; color: var(--dore); }
  .rail-menu .wp-block-navigation-item__content:hover, .rail-menu .wp-block-navigation-item__content:focus-visible { color: var(--dore); padding-left: .4rem; }
  .rail-menu .btn { align-self: stretch; margin-top: auto; padding-left: .5rem; padding-right: .5rem; }
}

/* ===== Pied à coulisse : règle graduée, bec fixe, coulisseau et affichage qui vont pincer la feuille en cours ===== */
@media (min-width: 1100px) {
  .rail .regle, .coulisseau__corps { position: absolute; left: 0; top: 0; overflow: visible; }
  .regle line, .regle rect, .regle path, .coulisseau__corps * { vector-effect: non-scaling-stroke; }
  .regle .corps-regle { fill: rgb(255 255 255 / .05); stroke: rgb(255 255 255 / .38); stroke-width: .75; }
  .regle .grad { stroke: rgb(255 255 255 / .55); stroke-width: .75; }
  .regle .grad--fine { stroke: rgb(255 255 255 / .3); }
  .regle .grad--feuille { stroke: rgb(255 255 255 / .75); stroke-width: 1; }
  .regle text { fill: rgb(255 255 255 / .55); font: 400 8px var(--texte); font-variant-numeric: tabular-nums; }
  .coulisseau { position: absolute; left: 0; right: 0; top: 0; height: 92px; z-index: 3; pointer-events: none; translate: 0 var(--y, 0px); transition: translate .9s cubic-bezier(.65, 0, .35, 1); }
  .coulisseau__corps .cadre-c { fill: rgb(20 23 27 / .55); stroke: rgb(255 255 255 / .7); stroke-width: .9; }
  .coulisseau__corps .vernier { stroke: var(--dore); stroke-width: .75; }
  .coulisseau__corps .vis { fill: none; stroke: rgb(255 255 255 / .5); stroke-width: .75; }
  .regle .arete, .coulisseau__corps .arete { stroke: rgb(255 255 255 / .35); stroke-width: .6; }
  .regle .bec, .coulisseau__corps .bec { stroke: rgb(255 255 255 / .5); stroke-width: .6; stroke-linejoin: round; }
  .coulisseau__corps .fraise { fill: rgb(255 255 255 / .18); stroke: rgb(255 255 255 / .8); stroke-width: .8; }
  .coulisseau__corps .axe-outil { stroke: var(--dore); stroke-width: .6; stroke-dasharray: 10 3 2 3; opacity: .7; }
  .regle text { text-anchor: start; }
  .affichage__coord { display: none; font: 400 .75rem/1 var(--texte); color: rgb(255 255 255 / .7); font-variant-numeric: tabular-nums; }
  .affichage { position: absolute; left: 70px; right: 14px; top: 26px; display: flex; flex-direction: column; gap: .35rem; padding: .55rem .75rem .6rem; background: #111317; border: 1px solid rgb(255 255 255 / .22); box-shadow: inset 0 0 0 3px #1a1d22; }
  .affichage__num { white-space: nowrap; font: 700 clamp(2rem, 2.6vw, 2.6rem)/1 var(--texte); color: var(--dore); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
  .affichage__nom { font: 700 .75rem/1.25 var(--texte); letter-spacing: .16em; text-transform: uppercase; color: var(--blanc); }
  .rail__piste li { position: absolute; left: 0; right: 0; height: var(--h, 100px); display: block; translate: 0 -50%; top: var(--y); transition: opacity .4s; }
  .rail__piste a { flex-direction: row; align-items: baseline; gap: .6rem; }
  .rail__piste .rail__nom { text-align: left; max-width: none; }
  .rail__piste .actif { opacity: 0; }
  .rail__piste .actif .rail__num { font-size: .75rem; }
  .rail__piste { top: 0; bottom: 0; translate: none !important; }
  .rail__piste li { display: block !important; }
  .rail__piste a { justify-content: flex-start; width: 100%; height: 100%; align-items: center; padding: 0 14px 0 70px; transition: color .3s, background-color .3s; }
  .rail__piste a:hover, .rail__piste a:focus-visible { background: rgb(255 255 255 / .06); outline-offset: -2px; }
  .rail__piste .actif a { pointer-events: none; }
  .rail__piste .rail__num { white-space: nowrap; }
  .rail__piste a::before { content: ""; align-self: center; flex: none; width: 10px; height: 1px; margin-left: -18px; margin-right: 2px; background: rgb(255 255 255 / .35); }
}

/* ===== En-tête simplifié sur grand écran : logo, téléphone, rappel ; les pages passent par la colonne ===== */
@media (min-width: 1100px) {
  .entete__nav { display: none; }
  .entete__actions { margin-left: auto; }
  .btn--grille { display: grid; }                    /* menu de l'en-tête, seulement tant que la colonne est cachée (accroche) */
  .rail-visible .btn--grille { display: none; }
}

/* ===== Accroche apaisée et transition vers la gamme ===== */
/* 1 · les trois mots en gris acier (redeviennent foncés au survol) */
.planche__mot { color: #5b626d; }
.planche__mot:hover, .planche__mot:focus-visible { color: var(--graphite); }
/* 2 · papier millimétré allégé : seul le quadrillage principal reste */
.planche__case:not(.planche__case--bd) { background-image: linear-gradient(var(--grille-fort) 1px, transparent 1px), linear-gradient(90deg, var(--grille-fort) 1px, transparent 1px); background-size: 60px 60px; }
/* 3 · le relevé de coordonnées s'efface une fois l'usinage fini, sauf quand la souris vise l'accroche */
.planche .dro { transition: opacity .5s; }
.planche.usine:not(:hover) .dro { opacity: 0; }
/* 4 · trait de coupe A–A */
.coupe-aa { margin-left: 0; position: relative; z-index: 2; display: flex; align-items: center; gap: .8rem; padding: 1.6rem var(--marge); background: var(--blanc); border-top: 1px solid var(--trait); color: var(--trace); }
.coupe-aa__trait { flex: 1; height: 1px; background: repeating-linear-gradient(90deg, currentColor 0 26px, transparent 26px 31px, currentColor 31px 34px, transparent 34px 39px); }
.coupe-aa__bout { position: relative; width: 34px; height: 3px; background: currentColor; }
.coupe-aa__bout::after { content: ""; position: absolute; top: 3px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 11px solid currentColor; }
.coupe-aa__bout:first-child::after { left: 2px; }
.coupe-aa__bout:last-child::after { right: 2px; }
.coupe-aa__bout :is(b, strong) { position: absolute; top: -1.5rem; font: 700 .8125rem/1 var(--texte); letter-spacing: .1em; }
.coupe-aa__bout:first-child :is(b, strong) { left: 2px; }
.coupe-aa__bout:last-child :is(b, strong) { right: 2px; }
/* 5 · la gamme démarre sur une bande de titre pleine largeur ; phases et photo partent à la même hauteur */
.gamme__tete { /* (blocs) groupe + Rangée */ padding-bottom: 2rem; margin-bottom: 0; border-bottom: 1px solid var(--trait); }
.gamme__tete h2 { font-size: clamp(2.4rem, 4.5vw, 4rem); line-height: 1.05; color: var(--bleu); }
.gamme__tete p:not(.etiquette) { max-width: 40ch; color: #3b3b44; font-size: 1.125rem; padding-bottom: .4rem; }
.gamme__phases h2 { display: none; }
.gamme .phase:first-of-type { border-top: 0; }
@media (min-width: 1100px) { .coupe-aa { margin-left: var(--rail); } }
/* chaque phase démarre en haut de son bloc : la phase 10 s'aligne sur le haut de la photo */
.gamme .phase { justify-content: flex-start; padding-top: 2.5rem; }
.gamme__vue { --h: min(72svh, calc(100svh - var(--entete) - 3rem)); top: calc((100svh + var(--entete) - var(--h)) / 2); height: var(--h); margin-top: 2.5rem; }   /* photo centrée à l'écran une fois fixée */

/* ===== Formulaire de rappel ouvert sur place ===== */
.rappel-dialogue { margin: 0 0 0 auto; height: 100%; max-height: none; width: min(520px, 100%); padding: clamp(1.5rem, 3vw, 2.5rem); border: 0; border-left: 1px solid var(--trait-clair); background: var(--nuit); color: var(--blanc); overflow-y: auto; }
body .rappel-dialogue { background: linear-gradient(170deg, var(--acier-moyen), var(--acier-fonce) 60%); }
.rappel-dialogue::backdrop { background: rgb(15 17 21 / .55); backdrop-filter: blur(3px); }
.rappel-dialogue[open] { animation: entree-dialogue .45s cubic-bezier(.65, 0, .25, 1); }
@keyframes entree-dialogue { from { translate: 100% 0; } }
.rappel-dialogue .volet__titre { margin: 0; }
.rappel-dialogue .formulaire { grid-template-columns: 1fr; }

/* ===== Mots de l'accroche : un indice de lien (flèche, soulignement au survol) ===== */
@media (min-width: 861px) {
  .planche__mot::after { content: "→"; display: inline-block; margin-left: .35em; font: 400 .32em/1 var(--texte); vertical-align: .55em; color: var(--dore); transition: translate .3s; }
  .planche__mot:hover, .planche__mot:focus-visible { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .12em; }
  .planche__mot:hover::after { translate: 5px 0; }
}

/* ===== Corrections de l'audit ===== */
/* 1 · menu mobile et tablette */
.menu-mobile { margin: 0; width: 100%; max-width: none; height: 100%; max-height: none; padding: 1.2rem var(--marge) 2rem; border: 0; background: var(--nuit); color: var(--blanc); display: none; flex-direction: column; gap: 1.6rem; }
.menu-mobile[open] { display: flex; animation: entree-menu .4s cubic-bezier(.65, 0, .25, 1); }
body .menu-mobile { background: linear-gradient(170deg, var(--acier-moyen), var(--acier-fonce) 60%); }
@keyframes entree-menu { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.menu-mobile__tete { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid var(--trait-clair); }
.menu-mobile .wp-block-navigation__container { list-style: none; margin: 0; padding: 0; }
.menu-mobile .wp-block-navigation-item { border-bottom: 1px solid rgb(255 255 255 / .14); }
.menu-mobile .wp-block-navigation-item__content { display: flex; align-items: baseline; gap: 1rem; padding: .9rem 0; font: 400 1.6rem/1.1 var(--titre); color: var(--blanc); text-decoration: none; }
.menu-mobile .wp-block-navigation-item__content::before { font: 700 .75rem/1 var(--texte); letter-spacing: .12em; color: var(--dore); }
.menu-mobile__contact { margin-top: auto; display: flex; flex-direction: column; gap: 1rem; }
.menu-mobile__mail { color: var(--blanc); text-align: center; }
/* 2 · phases inactives lisibles : 66 % au lieu de 30 % (contraste ≥ 4,5:1 sur le texte courant) */
.phase { opacity: .66; }
.phase.actif { opacity: 1; }
/* 3 · focus : bleu sur fond clair (13:1), doré sur fond sombre (≥ 4,6:1) */
:focus-visible { outline: 2px solid var(--bleu); outline-offset: 3px; }
:is(.planche__case--bd, .rail, .rail-menu, .atelier, .cartouche__appel, .pied, .rappel-dialogue, .menu-mobile, .instant, .volet--formulaire) :focus-visible { outline-color: var(--dore); }

/* ===== Variantes de palette (comparaison, maquette seulement) ===== */

/* Doré : le doré devient le champ de couleur, le bleu nuit écrit dessus */

/* Nuances : le bleu de la charte en plusieurs profondeurs, avec de la lumière */

/* Acier : grands aplats en gris acier et graphite ; le bleu et le doré du logo réservés
   aux boutons, aux titres et aux chiffres importants (gris = neutres, donc dans la charte) */
body { --acier-fonce: #2a2e35; --acier-moyen: #3b414a; --acier-clair: #5b626d; --gris: #eceef1; --trace: #5b626d; --trait: rgb(59 65 74 / .24); }
body .planche { --grille: rgb(59 65 74 / .05); --grille-fort: rgb(59 65 74 / .1); }
body .planche__case--bd,
body .cartouche__appel { background-color: var(--acier-fonce); background-image: linear-gradient(rgb(255 255 255 / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .05) 1px, transparent 1px), radial-gradient(110% 80% at 80% 0%, rgb(255 255 255 / .1), transparent 60%), linear-gradient(165deg, var(--acier-moyen), var(--acier-fonce) 70%, #1f2227); background-size: 60px 60px, 60px 60px, auto, auto; }
body .atelier, body .pied { background-color: var(--acier-fonce); }
body .atelier::before { background: rgb(42 46 53 / .86); }
body .volet--formulaire { background: #1f2227; }
body .folio, body .cadre, body .dro__titre, body .etiquette:not(.etiquette--dore), body .fiche__cartouche :is(dt, .fiche__dt), body .fiche__cartouche .rep, body .gamme__legende { color: var(--acier-clair); }
body .folio--clair { color: rgb(255 255 255 / .75); border-top-color: rgb(255 255 255 / .4); }
body .cadre__bas span:nth-child(n+5), body .cadre__droite span:nth-child(n+3) { color: rgb(255 255 255 / .7); }
body .rep { border-color: var(--acier-clair); }
body .gamme__index li { color: var(--acier-clair); }
body .gamme__index li.actif { background: var(--bleu); color: var(--blanc); }
body :is(.frise li, .frise__etape)::after { border-color: var(--acier-clair); }
body .cartouche__pied { color: var(--acier-clair); }

/* ===== Colonne de gauche en métal très clair (validée le 2026-11-05) ===== */
@media (min-width: 1100px) {
  body .rail { --encre: 42 46 53; color: var(--graphite); border-right: 1px solid rgb(var(--encre) / .16); }
  body .rail { background: linear-gradient(170deg, #f6f7f9, #e9ecef 65%, #e1e4e8); }
  body .rail .stries { --strie: #2a2e35; opacity: .35; }
  /* feuilles, menu, raccourcis : encre acier foncée (contrastes AA sur le fond clair) */
  body .rail__piste a { color: #4a505a; }
  body .rail__piste a:hover, body .rail__piste a:focus-visible { color: var(--graphite); background: rgb(var(--encre) / .05); }
  body .rail__piste a::before { background: rgb(var(--encre) / .3); }
  body .rail__haut { border-bottom-color: rgb(var(--encre) / .12); }
  body .rail__bas { border-top-color: rgb(var(--encre) / .12); }
  body .rail__menu { border-color: rgb(var(--encre) / .3); color: var(--graphite); }
  body .rail__menu:hover, body .rail__menu[aria-expanded="true"] { border-color: var(--bleu); }
  body .rail__bas a { color: #4a505a; }
  body .rail__bas a:hover, body .rail__bas a:focus-visible { color: var(--bleu); background: rgb(var(--encre) / .06); }
  /* volet des pages : même fond que la colonne */
  body .rail-menu { color: var(--graphite); }
  body .rail-menu { background: linear-gradient(170deg, #f6f7f9, #e9ecef 65%, #e1e4e8); }
  body .rail-menu__titre { color: #4a505a; }
  body .rail-menu .wp-block-navigation-item { border-color: rgb(var(--encre) / .14); }
  body .rail-menu .wp-block-navigation-item__content { color: var(--graphite); }
  body .rail-menu .wp-block-navigation-item__content::before { color: #8a6716; }   /* doré assombri : lisible sur fond clair */
  body .rail-menu .wp-block-navigation-item__content:hover, body .rail-menu .wp-block-navigation-item__content:focus-visible { color: var(--bleu); }
  /* pied à coulisse et axe machine tracés à l'encre ; l'afficheur reste un écran sombre */
  body .regle .corps-regle { fill: rgb(var(--encre) / .04); stroke: rgb(var(--encre) / .4); }
  body .regle .grad { stroke: rgb(var(--encre) / .5); }
  body .regle .grad--fine { stroke: rgb(var(--encre) / .28); }
  body .regle .grad--feuille { stroke: rgb(var(--encre) / .7); }
  body .regle text { fill: rgb(var(--encre) / .65); }
  body .coulisseau__corps .cadre-c { fill: rgb(255 255 255 / .75); stroke: rgb(var(--encre) / .6); }
  body .coulisseau__corps .vis { stroke: rgb(var(--encre) / .45); }
  body :is(.regle, .coulisseau__corps) .arete { stroke: rgb(var(--encre) / .3); }
  body :is(.regle, .coulisseau__corps) .bec { fill: rgb(var(--encre) / .08); stroke: rgb(var(--encre) / .45); }
  body .coulisseau__corps .fraise { fill: rgb(var(--encre) / .12); stroke: rgb(var(--encre) / .7); }
  body .affichage { background: #2a2e35; border-color: #2a2e35; box-shadow: 0 6px 16px rgb(var(--encre) / .16); }   /* afficheur acier foncé, moins lourd que le noir */
}

/* ===== Repère « cadre » de la colonne (validé le 2026-11-05) : la feuille en cours encadrée à la règle, lignes de construction prolongées ===== */
@media (min-width: 1100px) {
  body .rail .crayon { stroke: currentColor; stroke-width: .5; opacity: .3; }
  body .rail .crayon--double { opacity: .14; }
  body .rail .crayon--axe { stroke-dasharray: 10 3 2 3; opacity: .2; }
  body .rail .cadre-f { fill: none; stroke: currentColor; stroke-width: 1.2; opacity: .9; }
  body .rail .cadre-f--interieur { stroke-width: .5; opacity: .45; }
  body .rail .cadre-f:not(.cadre-f--interieur) { stroke: var(--bleu); opacity: 1; }
  body .rail .coulisseau__corps.trace .cadre-f { stroke-dasharray: 100; animation: tracer-cadre .8s cubic-bezier(.65, 0, .35, 1) .35s both; }
  body .rail .coulisseau__corps.trace .cadre-f--interieur { animation-delay: .6s; }
  @keyframes tracer-cadre { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
  body .rail .affichage { left: 36px; right: 30px; top: 8px; height: 76px; justify-content: center; gap: .3rem; padding: 0; background: none; border: 0; box-shadow: none; }
  body .rail .affichage__num { color: var(--dore); }
  body .rail .affichage__num { color: var(--bleu); }
  body .rail .affichage__nom { color: inherit; }
  body .rail .affichage__coord { display: none; }
  body .rail__piste a { padding-left: 36px; }
  body .rail__piste a::before { display: none; }
}
@media (min-width: 1100px) and (prefers-reduced-motion: reduce) {
  body .rail .coulisseau__corps.trace .cadre-f { animation: none; }
}

/* ===================================================================================
   Pages internes (phase 3) : mêmes composants que l'accueil, déclinés
   =================================================================================== */
.page-interne .entete__nav a[aria-current="page"] { border-bottom-color: var(--dore); color: var(--bleu); }
.rail-menu .wp-block-navigation-item__content[aria-current="page"], .menu-mobile a[aria-current="page"] { color: var(--dore); }
.a-fournir { font-style: italic; color: var(--texte-doux); }
.a-fournir::before { content: "[ "; } .a-fournir::after { content: " ]"; }

/* En-tête de page : texte sur papier millimétré dans le cadre du plan, photo à droite */
.tete-page { /* (blocs) Colonnes */ min-height: min(calc(100svh - var(--entete)), 820px); border-bottom: 1px solid var(--trait); }
.tete-page__texte { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 1.4rem; padding: clamp(3.5rem, 6vw, 5rem) clamp(2.5rem, 5vw, 5rem) clamp(3.5rem, 6vw, 5rem) calc(22px + clamp(1.5rem, 4vw, 4rem));
  background-color: var(--blanc); background-image: linear-gradient(rgb(44 37 107 / .06) 1px, transparent 1px), linear-gradient(90deg, rgb(44 37 107 / .06) 1px, transparent 1px); background-size: 60px 60px; }
body .tete-page__texte { background-image: linear-gradient(rgb(59 65 74 / .07) 1px, transparent 1px), linear-gradient(90deg, rgb(59 65 74 / .07) 1px, transparent 1px); }
.tete-page .cadre .cadre__bas, .tete-page .cadre .cadre__bas span:nth-child(n) { color: var(--trace); }   /* tout le cadre au trait : pas de case colorée sous le bas */
.tete-page h1 { font-size: clamp(2.6rem, 5vw, 4.9rem); line-height: 1.02; color: var(--bleu); max-width: 15ch; }
.tete-page__reponse { max-width: 58ch; font-size: clamp(1.0625rem, 1.25vw, 1.2rem); color: #33343b; }
.tete-page .liste-carree { margin-top: 0; color: var(--bleu); }
.tete-page__boutons { /* (blocs) Rangée */ margin-top: .6rem; }
.tete-page__vue { position: relative; overflow: hidden; border-left: 1px solid var(--trace); }
.tete-page__vue img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tete-page__cote { position: absolute; z-index: 2; left: 0; bottom: 0; display: flex; flex-direction: column; gap: .35rem; padding: 1.1rem 1.4rem 1.2rem; background: var(--blanc); border-top: 1px solid var(--trace); border-right: 1px solid var(--trace); color: var(--trace); }
.tete-page__cote-titre { font: 700 .75rem/1 var(--texte); letter-spacing: .16em; text-transform: uppercase; }
.tete-page__cote-valeur { font: 400 1rem/1 var(--texte); color: var(--graphite); }
.tete-page__cote-valeur :is(b, strong) { font: 700 clamp(1.8rem, 2.6vw, 2.4rem)/1 var(--texte); color: var(--bleu); margin-left: .2rem; }
body .tete-page__vue:hover::after { opacity: 0; }
body .tete-page__vue:hover img { filter: grayscale(0) contrast(1) brightness(1); }

/* Folio 02 · Procédés : texte et vue cadrée, alternés ; cartouche technique sous la photo */
.procedes { padding: clamp(4rem, 8vw, 6rem) 0 clamp(2rem, 4vw, 3rem); }
.procedes__tete, .procede { max-width: 1320px; margin-left: auto; margin-right: auto; padding-left: var(--marge); padding-right: var(--marge); }
.procedes__tete { /* (blocs) groupe + Rangée */ padding-bottom: 2rem; border-bottom: 1px solid var(--trait); }
.procedes__tete h2 { font-size: clamp(2.4rem, 4.5vw, 4rem); line-height: 1.05; color: var(--bleu); }
.procedes__tete p:not(.etiquette) { max-width: 40ch; color: #3b3b44; font-size: 1.125rem; padding-bottom: .4rem; }
.procede { /* (blocs) Colonnes */ padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--trait); }
.procede:last-child { border-bottom: 0; }
/* .procede--inverse : (blocs) style « Inversées sur grand écran » des Colonnes */
.procede__texte { display: flex; flex-direction: column; gap: .9rem; }
.procede__texte h3 { font-size: clamp(2rem, 3.2vw, 2.8rem); line-height: 1.1; }
.procede__texte > p:is(:not([class]), [class="wp-block-paragraph"]) { max-width: 46ch; font-size: 1.125rem; }
.procede__liste { margin: .2rem 0 0; padding: 0; list-style: none; max-width: 48ch; }
.procede__liste li { position: relative; padding: .6rem 0 .6rem 1.4rem; border-bottom: 1px solid var(--trait); }
.procede__liste li::before { content: ""; position: absolute; left: 0; top: 1.15rem; width: 8px; height: 8px; background: var(--dore); }
.procede__liste :is(b, strong) { color: var(--bleu); }
.procede__vue { position: relative; padding: 8px; border: 1px solid var(--trace); background: var(--blanc); }
.procede__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.procede__encart { position: absolute; z-index: 3; right: -1.6rem; top: -2.2rem; width: 34%; padding: 6px; background: var(--blanc); border: 1px solid var(--trace); }
.procede--inverse .procede__encart { right: auto; left: -1.6rem; }
.procede__encart img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
body .procede__vue:hover .voile::after { opacity: 0; }
body .procede__vue:hover .voile img { filter: grayscale(0) contrast(1) brightness(1); }
.specs { /* (blocs) Grille */ margin: 8px 0 0; border-top: 1px solid var(--trace); }
.specs div { padding: .7rem .9rem .5rem; border-left: 1px solid var(--trait); }
.specs div:first-child { border-left: 0; padding-left: .2rem; }
.specs dt { font: 700 .75rem/1.2 var(--texte); letter-spacing: .14em; text-transform: uppercase; color: var(--bleu); }
.specs dd { margin: .3rem 0 0; font-size: .9375rem; line-height: 1.35; }
body .specs dt { color: var(--acier-clair); }

/* Folio 03 · Matériaux : la nomenclature matière d'un plan, et l'échelle de dureté */
.matieres { padding: clamp(4rem, 8vw, 6rem) 0; background: var(--gris); }
.matieres__corps { max-width: 1320px; margin: 0 auto; padding: 0 var(--marge); }   /* (blocs) Colonnes */
.matieres__texte { display: flex; flex-direction: column; gap: 2rem; }
.matieres h2 { font-size: clamp(2.4rem, 4.5vw, 4rem); line-height: 1.05; color: var(--bleu); }
.nomenclature-matiere { width: 100%; border-collapse: collapse; border: 1.5px solid var(--trace); background: var(--blanc); }
.nomenclature-matiere th, .nomenclature-matiere td { padding: .95rem 1rem; border: 1px solid var(--trait); text-align: left; vertical-align: middle; }
.nomenclature-matiere thead th { font: 700 .75rem/1 var(--texte); letter-spacing: .14em; text-transform: uppercase; color: var(--bleu); border-bottom: 1.5px solid var(--trace); background: rgb(255 255 255 / .6); }
.nomenclature-matiere tbody th { font: 400 clamp(1.25rem, 1.7vw, 1.5rem)/1.15 var(--titre); color: var(--graphite); }
.nomenclature-matiere td:first-child { width: 4.2rem; }
.nomenclature-matiere .rep { font: 700 .75rem/1 var(--texte); color: var(--bleu); margin: 0; }
body .nomenclature-matiere thead th { color: var(--acier-clair); }
.durete { color: var(--trace); }
.durete .cotes__echelle { color: var(--texte-doux); margin-bottom: 1.6rem; }
.durete__regle { position: relative; height: 34px; border-bottom: 1.5px solid currentColor; background: repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px calc(100% / 45)) bottom / 100% 8px no-repeat; }
.durete__regle i { position: absolute; left: 0; bottom: -1.5px; height: 4px; width: 100%; background: var(--dore); transform-origin: left; transition: scale 1.4s cubic-bezier(.2, .7, .2, 1) .2s; }
.durete:not(.visible) .durete__regle i { scale: 0 1; }
.durete__regle span, .durete__regle :is(b, strong) { position: absolute; left: var(--p); bottom: 14px; translate: -50% 0; font: 400 .8125rem/1 var(--texte); font-variant-numeric: tabular-nums; color: var(--texte-doux); }
.durete__regle span::after, .durete__regle :is(b, strong)::after { content: ""; position: absolute; left: 50%; top: 1.2rem; width: 1px; height: 12px; background: currentColor; }
.durete__regle :is(b, strong) { translate: -100% 0; white-space: nowrap; font: 700 1rem/1 var(--texte); color: var(--bleu); padding-bottom: .2rem; }
.durete__regle :is(b, strong) { bottom: 34px; }   /* au-dessus des graduations, pour ne pas toucher le 60 */
.durete__regle :is(b, strong)::after { top: 1.2rem; height: 34px; }
.durete__regle :is(b, strong)::after { left: 100%; background: var(--dore); width: 2px; height: 16px; top: 1.15rem; }
.matieres__vue { position: relative; min-height: 420px; padding: 8px; border: 1px solid var(--trace); background: var(--blanc); }
.matieres__vue img { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); object-fit: cover; }
.matieres__vue.voile::after { inset: 8px; }
body .matieres__vue:hover::after { opacity: 0; }
body .matieres__vue:hover img { filter: grayscale(0) contrast(1) brightness(1); }

/* Folio 04 · Projet global : les opérations d'une gamme, sur la feuille sombre */
.operations { list-style: none; margin: 1rem auto 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 1px solid rgb(255 255 255 / .35); }
.operations li { position: relative; display: flex; flex-direction: column; gap: 1.6rem; min-height: 13rem; padding: 1.4rem 1.2rem; border-left: 1px solid rgb(255 255 255 / .2); transition: opacity .5s, translate .5s; }
.operations li:first-child { border-left: 0; }
.operations li:not(:last-of-type)::after {   /* last-of-type : le tracé d'esquisse est ajouté en dernier enfant */
   content: ""; position: absolute; z-index: 1; right: -6px; top: 2.05rem; border-top: 5.5px solid transparent; border-bottom: 5.5px solid transparent; border-left: 11px solid var(--dore); }
.operations__num { font: 700 .75rem/1 var(--texte); letter-spacing: .16em; text-transform: uppercase; color: rgb(255 255 255 / .75); }
.operations__num :is(b, strong) { display: block; margin-top: .45rem; font-size: clamp(2.2rem, 3vw, 3rem); line-height: .9; letter-spacing: -.02em; color: var(--dore); font-variant-numeric: tabular-nums; }
.operations__nom { margin-top: auto; font: 400 clamp(1.2rem, 1.55vw, 1.45rem)/1.2 var(--titre); }
.operations:not(.visible) li { opacity: 0; translate: 0 12px; }
.operations li:nth-child(2) { transition-delay: .12s; } .operations li:nth-child(3) { transition-delay: .24s; } .operations li:nth-child(4) { transition-delay: .36s; } .operations li:nth-child(5) { transition-delay: .48s; } .operations li:nth-child(6) { transition-delay: .6s; }
.projet .atelier__tete p { max-width: 48ch; font-size: 1.125rem; color: rgb(255 255 255 / .85); }

/* Folio 05 · Partenaires : les métiers confiés, en cases de cartouche */
.partenaires { padding: clamp(4rem, 8vw, 6rem) 0; }
.partenaires__corps { max-width: 1320px; margin: 0 auto; padding: 0 var(--marge); }   /* (blocs) Colonnes */
.partenaires__texte { display: flex; flex-direction: column; gap: 1.2rem; }
.partenaires h2 { font-size: clamp(2.4rem, 4.5vw, 4rem); line-height: 1.05; color: var(--bleu); }
.partenaires__texte p { font-size: 1.125rem; max-width: 44ch; }
.metiers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border: 1.5px solid var(--trace); }
.metiers li { display: flex; align-items: center; gap: .4rem; min-height: 5.2rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--trait); font: 400 clamp(1.15rem, 1.5vw, 1.35rem)/1.2 var(--titre); transition: opacity .5s; }
.metiers li:nth-child(even) { border-left: 1px solid var(--trait); }
.metiers li:last-of-type { border-bottom: 0; }
.metiers li:last-of-type:nth-child(odd) { grid-column: 1 / -1; }   /* nombre impair : la dernière case prend la ligne */
.metiers li:nth-last-child(2):nth-child(odd) { border-bottom: 0; }   /* nombre pair : les deux dernières cases ferment le cadre */
.metiers .rep { flex: none; font: 700 .75rem/1 var(--texte); color: var(--bleu); }
.metiers:not(.visible) li { opacity: 0; }
.metiers li:nth-child(n+2) { transition-delay: .08s; } .metiers li:nth-child(n+4) { transition-delay: .16s; } .metiers li:nth-child(n+6) { transition-delay: .24s; }

/* Folio 06 · Questions fréquentes */
.faq { padding: clamp(4rem, 8vw, 6rem) 0 0; }
.faq__corps { max-width: 1320px; margin: 0 auto; padding: 0 var(--marge); }   /* (blocs) Colonnes */
.faq h2 { font-size: clamp(2.4rem, 4.5vw, 4rem); line-height: 1.05; color: var(--bleu); }
.faq__liste { border-top: 1.5px solid var(--trace); }
.faq details { border-bottom: 1px solid var(--trait); }
.faq summary { display: flex; align-items: center; gap: .4rem; min-height: 4.4rem; padding: .8rem 3rem .8rem 0; position: relative; list-style: none; cursor: pointer; font: 400 clamp(1.2rem, 1.6vw, 1.45rem)/1.2 var(--titre); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .4rem; top: 50%; translate: 0 -50%; font: 300 1.8rem/1 var(--texte); color: var(--bleu); transition: rotate .25s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq summary:hover { color: var(--bleu); }
.faq summary .rep { flex: none; font: 700 .75rem/1 var(--texte); color: var(--bleu); }
.faq details p { padding: 0 3rem 1.4rem 3.15rem; max-width: 62ch; }

@media (max-width: 1100px) {
  .operations { grid-template-columns: repeat(3, 1fr); }
  .operations li:nth-child(4) { border-left: 0; }
  .operations li:nth-child(n+4) { border-top: 1px solid rgb(255 255 255 / .2); }
  .operations li:nth-child(3)::after { display: none; }
}
@media (max-width: 860px) {
  .tete-page__texte { padding: 3rem var(--marge) 2.5rem calc(22px + var(--marge)); }
  .tete-page__vue { min-height: 62vw; border-left: 0; border-top: 1px solid var(--trace); }
  .procede__encart { right: .6rem; top: -1.4rem; width: 38%; }
  .procede--inverse .procede__encart { left: auto; right: .6rem; }
  .specs div { border-left: 0; border-top: 1px solid var(--trait); padding-left: .2rem; }
  .specs div:first-child { border-top: 0; }
  .matieres__vue { min-height: 62vw; }
  .nomenclature-matiere th, .nomenclature-matiere td { padding: .75rem .6rem; }
  .operations { grid-template-columns: 1fr 1fr; }
  .operations li { min-height: 9rem; }
  .operations li:nth-child(odd) { border-left: 0; }
  .operations li:nth-child(4) { border-left: 1px solid rgb(255 255 255 / .2); }
  .operations li:nth-child(n+3) { border-top: 1px solid rgb(255 255 255 / .2); }
  .operations li::after { display: none; }
  .metiers { grid-template-columns: 1fr; }
  .metiers li:nth-child(even) { border-left: 0; }
  .metiers li:nth-last-child(2) { border-bottom: 1px solid var(--trait); }
  .faq details p { padding-left: 0; padding-right: 0; }
}

/* ===== Savoir-faire, passe de design : repères sur la photo d'en-tête, plan à l'échelle, cote d'usinage ===== */
.tete-page__reperes { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; overflow: visible; }
.tete-page__reperes #fl-tete path { fill: var(--repere); }
.tete-page__vue:not(.visible) .ligne-repere path { stroke-dashoffset: 800; }
.tete-page__vue:not(.visible) .ligne-repere :is(text, .lr-fond, .lr-crayon) { opacity: 0; }
.tete-page__vue .ligne-repere { --d: .5s; }
.tete-page__vue .ligne-repere:nth-of-type(2) { --d: 1.2s; }

/* Plan à l'échelle (rectification) : l'élément technique de la page, tracé au défilement */
.plan-echelle { margin-top: calc(clamp(2rem, 5vw, 5rem) + clamp(1rem, 2vw, 2rem));   /* (blocs) sous les Colonnes : écart des colonnes + marge de la maquette */ padding: clamp(1rem, 2.4vw, 2.2rem) clamp(1rem, 2.4vw, 2.2rem) 1rem; border: 1px solid var(--trace); background-color: var(--blanc); background-image: linear-gradient(rgb(44 37 107 / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(44 37 107 / .05) 1px, transparent 1px); background-size: 20px 20px; }
body .plan-echelle { background-image: linear-gradient(rgb(59 65 74 / .06) 1px, transparent 1px), linear-gradient(90deg, rgb(59 65 74 / .06) 1px, transparent 1px); }
.plan-echelle svg { display: block; width: 100%; height: auto; overflow: visible; }
.plan-echelle figcaption { margin-top: .5rem; padding-top: .5rem; border-top: 1px solid var(--trait); font: 700 .6875rem/1 var(--texte); letter-spacing: .14em; text-transform: uppercase; color: var(--texte-doux); }
.pe-crayon line { stroke: rgb(26 26 26 / .22); stroke-width: .6; }
.pe-enveloppe { fill: none; stroke: var(--trace); stroke-width: 1.4; stroke-dasharray: 14 4 3 4; }
.pe-plateau { fill: url(#hachures); stroke: var(--bleu); stroke-width: 2; }
#hachures line { stroke: var(--bleu); stroke-width: 1; opacity: .35; }
.pe-axe { stroke: var(--bleu); stroke-width: .8; stroke-dasharray: 10 3 2 3; opacity: .6; }
.pe-cote line { stroke: var(--trace); stroke-width: 1; }
#fl-plan path { fill: var(--trace); }
.pe-cote text { font: 400 13px var(--texte); fill: var(--graphite); font-variant-numeric: tabular-nums; }
.pe-cote .pe-cote--forte { font: 700 18px var(--texte); fill: var(--bleu); }
.pe-legende { font: 700 10.5px var(--texte); letter-spacing: .12em; text-transform: uppercase; fill: var(--bleu); }
.pe-legende--fine { font-weight: 400; letter-spacing: .04em; text-transform: none; font-size: 12px; fill: var(--texte-doux); }
body :is(.pe-legende:not(.pe-legende--fine)) { fill: var(--acier-fonce); }
/* tracé : crayon, puis plateau, puis enveloppe qui s'allonge, puis cotes et légendes */
.plan-echelle .pe-crayon line { transition: opacity .6s; }
.plan-echelle .pe-plateau { stroke-dasharray: 1; transition: stroke-dashoffset 1s cubic-bezier(.45, 0, .2, 1) .4s, fill-opacity .6s 1.2s; }
.plan-echelle .pe-enveloppe { transform-box: fill-box; transform-origin: left; transition: scale 1.4s cubic-bezier(.2, .7, .2, 1) 1.3s, opacity .3s 1.3s; }
.plan-echelle :is(.pe-cote, .pe-legende, .pe-axe) { transition: opacity .6s 2.4s; }
.plan-echelle:not(.visible) .pe-crayon line { opacity: 0; }
.plan-echelle:not(.visible) .pe-plateau { stroke-dashoffset: 1; fill-opacity: 0; }
.plan-echelle:not(.visible) .pe-enveloppe { scale: .29 1; opacity: 0; }
.plan-echelle:not(.visible) :is(.pe-cote, .pe-legende, .pe-axe) { opacity: 0; }

/* Cote de longueur (usinage), sur fond clair */
.cote-longueur { margin-top: 1.8rem; max-width: 48ch; }
.cote-longueur .cote__ligne span { color: var(--bleu); font-size: clamp(.95rem, 1.2vw, 1.1rem); }
.cote-longueur .cote__ligne span :is(b, strong) { font-size: 1.35em; }
.cote-longueur:not(.visible) .cote__ligne { width: 0; min-width: 0; }
.cote-longueur:not(.visible) .cote__ligne :is(span, i) { opacity: 0; }
@media (max-width: 860px) {
  .tete-page__reperes { display: none; }
  .tete-page__vue > .depart-cycle { display: none; }   /* lignes de repère masquées sur téléphone : rien à rejouer (retour du 2/12) ; la vidéo du tour garde le sien */
  .plan-echelle { overflow-x: auto; }   /* le plan garde une taille lisible et glisse dans son cadre */
  .plan-echelle svg { min-width: 560px; }
  .cote-longueur .cote__ligne span { left: 50%; translate: -50% 0; padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .plan-echelle *, .cote-longueur * { transition: none !important; }
}

/* ===================================================================================
   Page Parc machines (phase 3)
   =================================================================================== */
/* En-tête : les plus grandes dimensions, en tableau de cartouche */
.capacites { width: 100%; max-width: 40rem; border-collapse: collapse; border-top: 1.5px solid var(--trace); border-bottom: 1.5px solid var(--trace); background: rgb(255 255 255 / .75); font-size: .9375rem; }
.capacites th, .capacites td { padding: .6rem .8rem .6rem 0; border-bottom: 1px solid var(--trait); text-align: left; vertical-align: baseline; }
.capacites thead th { font: 700 .6875rem/1 var(--texte); letter-spacing: .14em; text-transform: uppercase; color: var(--texte-doux); }
.capacites tbody th { width: 34%; font: 700 .75rem/1.3 var(--texte); letter-spacing: .1em; text-transform: uppercase; color: var(--bleu); }
.capacites tbody tr:last-child > * { border-bottom: 0; }

/* Folio 02 · Gabarits à l'échelle */
.gabarits { padding: clamp(4rem, 8vw, 6rem) 0; }
.gabarits__tete, .gabarits__corps { max-width: 1320px; margin-left: auto; margin-right: auto; padding-left: var(--marge); padding-right: var(--marge); }
.gabarits__tete { /* (blocs) groupe + Colonnes */ padding-bottom: 2rem; border-bottom: 1px solid var(--trait); }
.gabarits__tete h2 { font-size: clamp(2.4rem, 4.5vw, 4rem); line-height: 1.05; color: var(--bleu); }
.gabarits__tete p:not(.etiquette) { max-width: 62ch; color: #33343b; }
.gabarits__corps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.6rem; margin-top: clamp(2rem, 4vw, 3rem); }
.gabarits__planche { padding: clamp(1rem, 2.4vw, 2.2rem) clamp(1rem, 2.4vw, 2.2rem) 1rem; border: 1px solid var(--trace); background-color: var(--blanc); background-image: linear-gradient(rgb(44 37 107 / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(44 37 107 / .05) 1px, transparent 1px); background-size: 30px 30px; }
body .gabarits__planche { background-image: linear-gradient(rgb(59 65 74 / .06) 1px, transparent 1px), linear-gradient(90deg, rgb(59 65 74 / .06) 1px, transparent 1px); }
.gabarits__svg { display: block; width: 100%; height: auto; overflow: visible; }
.gabarits__planche figcaption { display: flex; flex-wrap: wrap; gap: .6rem 1.8rem; margin-top: .6rem; padding-top: .6rem; border-top: 1px solid var(--trait); font: 700 .6875rem/1 var(--texte); letter-spacing: .14em; text-transform: uppercase; color: var(--texte-doux); }
.gabarits__planche figcaption span:first-child { margin-right: auto; }
.gab-legende { display: inline-block; width: 26px; height: 0; margin-right: .5rem; vertical-align: middle; border-top: 2px solid var(--bleu); }
.gab-legende--hors { border-top-style: dashed; }
.gab-axes line { stroke: var(--trace); stroke-width: 1; }
.gab-axes .gab-axe { stroke-width: 1.4; }
#fl-gab path { fill: var(--trace); }
.gab-axes text { font: 400 12px var(--texte); fill: var(--texte-doux); font-variant-numeric: tabular-nums; }
.gab-axes .gab-axe-nom { font: 700 14px var(--texte); fill: var(--bleu); }
.gab-origine { fill: var(--blanc); stroke: var(--bleu); stroke-width: 1.5; }
.gab-origine-txt { font: 700 11px var(--texte) !important; fill: var(--bleu) !important; letter-spacing: .06em; }
/* au crayon tant qu'ils ne sont pas choisis */
.gabarit rect { fill: transparent; stroke: rgb(26 26 26 / .3); stroke-width: .8; transition: stroke .35s, stroke-width .35s, fill .35s; }
.gabarit--hors rect { stroke-dasharray: 12 4 3 4; }
.gabarit :is(.gab-cote, .gab-nom) { opacity: 0; transition: opacity .35s; }
#hachures-gab line { stroke: var(--bleu); stroke-width: 1; opacity: .3; }
/* le gabarit choisi est repassé à l'encre, hachuré et coté */
.gabarit.actif rect { fill: url(#hachures-gab); stroke: var(--bleu); stroke-width: 2.2; }
.gabarit--hors.actif rect { stroke: var(--bleu); stroke-dasharray: 16 5 3 5; }
.gabarit.actif :is(.gab-cote, .gab-nom) { opacity: 1; }
.gab-cote line { stroke: var(--bleu); stroke-width: 1; }
.gab-cote .gab-attache { stroke: var(--trace); stroke-width: .7; opacity: .7; }
.gab-cote text { font: 700 17px var(--texte); fill: var(--bleu); font-variant-numeric: tabular-nums; }
.gab-nom { font: 700 11px var(--texte); letter-spacing: .12em; text-transform: uppercase; fill: var(--bleu); }
/* à l'apparition, les gabarits arrivent l'un après l'autre, du plus grand au plus petit */
.gabarits__planche .gabarit { transition: opacity .6s; }
.gabarits__planche:not(.visible) .gabarit { opacity: 0; }
.gabarit:nth-of-type(2) { transition-delay: .15s; } .gabarit:nth-of-type(3) { transition-delay: .3s; } .gabarit:nth-of-type(4) { transition-delay: .45s; } .gabarit:nth-of-type(5) { transition-delay: .6s; } .gabarit:nth-of-type(6) { transition-delay: .75s; } .gabarit:nth-of-type(7) { transition-delay: .9s; } .gabarit:nth-of-type(8) { transition-delay: 1.05s; }
/* la liste : une nomenclature dont chaque ligne choisit son gabarit */
.gabarits__liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1.5px solid var(--trace); }
.gabarits__machine { grid-column: 1 / -1; padding: .7rem 1rem; border-bottom: 1px solid var(--trace); background: var(--gris); font: 700 .75rem/1 var(--texte); letter-spacing: .14em; text-transform: uppercase; color: var(--bleu); }
.gabarits__machine:not(:first-child) { border-top: 1px solid var(--trace); }
.gabarits__liste button { display: grid; grid-template-columns: auto 1fr; align-content: start; gap: .3rem .6rem; padding: 1rem 1rem 1.1rem; border: 0; border-right: 1px solid var(--trait); background: var(--blanc); color: var(--graphite); font: inherit; text-align: left; cursor: pointer; transition: background-color .25s, box-shadow .25s; }
.gabarits__liste button .rep { grid-row: 1 / 3; align-self: start; font: 700 .75rem/1 var(--texte); color: var(--bleu); margin: 0; }
.gab-config { font: 700 .75rem/1.3 var(--texte); letter-spacing: .12em; text-transform: uppercase; color: var(--texte-doux); align-self: center; }
.gabarits__liste button :is(b, strong) { font: 700 clamp(1.3rem, 1.8vw, 1.6rem)/1.1 var(--texte); color: var(--bleu); font-variant-numeric: tabular-nums; }
.gabarits__liste button :is(b, strong)::after { content: " mm"; font-size: .6em; font-weight: 400; color: var(--texte-doux); }
.gabarits__note { grid-column: span 2; align-self: center; padding: 1rem 1.4rem; font-size: .9375rem; font-style: italic; color: var(--texte-doux); }
.gab-methode { grid-column: 2; font-size: .875rem; line-height: 1.4; color: #3b3b44; }
.gabarits__liste button:hover { background: rgb(44 37 107 / .04); }
.gabarits__liste button[aria-pressed="true"] { background: rgb(44 37 107 / .07); box-shadow: inset 0 -3px 0 var(--dore); }
.gabarits__liste button[aria-pressed="true"] .rep { background: var(--bleu); border-color: var(--bleu); color: var(--blanc); }

/* Folio 03 · Machines : caractéristiques sous la photo, cadrages tirés de la même photo d'atelier */

.caracteristiques { width: 100%; margin-top: 8px; border-collapse: collapse; border-top: 1px solid var(--trace); font-size: .9375rem; }
.caracteristiques th, .caracteristiques td { padding: .55rem .2rem; border-bottom: 1px solid var(--trait); text-align: left; vertical-align: baseline; }
.caracteristiques th { width: 52%; font: 700 .6875rem/1.35 var(--texte); letter-spacing: .12em; text-transform: uppercase; color: var(--bleu); }
.caracteristiques td { font-variant-numeric: tabular-nums; }
.caracteristiques tr:last-child > * { border-bottom: 0; }
body .caracteristiques th { color: var(--acier-clair); }
.machine .procede__texte > p:is(:not([class]), [class="wp-block-paragraph"]) { font-size: 1.0625rem; }
.complementaires { max-width: 1320px; margin: 0 auto; padding: clamp(2rem, 4vw, 3rem) var(--marge) clamp(3rem, 6vw, 5rem); }   /* trait du haut retiré le 27/11 (doublait la ligne de la fiche 03) ; marge basse avant le trait de coupe suivant */   /* (blocs) groupe + Colonnes */
.machine-mini { display: flex; flex-direction: column; gap: .8rem; }
.machine-mini__vue { padding: 8px; border: 1px solid var(--trace); background: var(--blanc); margin-bottom: .6rem; }
.machine-mini__vue img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.machine-mini__vue.voile::after { inset: 8px; }
.machine-mini h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.1; }
.machine-mini > p:is(:not([class]), [class="wp-block-paragraph"]) { font-size: 1rem; color: #33343b; }
body .machine-mini__vue:hover::after { opacity: 0; }
body .machine-mini__vue:hover img { filter: grayscale(0) contrast(1) brightness(1); }

/* Folio 04 · Contrôle et mesure ; Folio 05 · Un parc qui grandit */
.controle { padding: clamp(4rem, 8vw, 6rem) 0; background: var(--gris); }
.controle__corps, .parc-grandit__corps { max-width: 1320px; margin: 0 auto; padding: 0 var(--marge); }
/* .controle__corps, .parc-grandit__corps : (blocs) Colonnes */
.controle h2, .parc-grandit h2 { font-size: clamp(2.4rem, 4.5vw, 4rem); line-height: 1.05; color: var(--bleu); margin-bottom: 1rem; }
.controle__vue { padding: 8px; border: 1px solid var(--trace); background: var(--blanc); }
.controle__vue img { aspect-ratio: 3 / 2; object-fit: cover; }
.controle__vue .reperes__trace { inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); }
.controle__vue.voile::after { inset: 8px; }
.parc-grandit { padding: clamp(4rem, 8vw, 6rem) 0 0; }
.parc-grandit__texte { font: 400 clamp(1.5rem, 2.4vw, 2.1rem)/1.3 var(--titre); color: var(--graphite); max-width: 32ch; margin-bottom: 1rem; padding-left: 1.2rem; border-left: 3px solid var(--dore); }

@media (max-width: 1100px) {
  .gabarits__liste { grid-template-columns: 1fr 1fr; }
  .gabarits__note { grid-column: span 1; }
}
@media (max-width: 860px) {
  /* .controle__corps : (blocs) Colonnes */
  .gabarits__planche { overflow-x: auto; }
  .gabarits__svg { min-width: 620px; }
  .gabarits__liste { grid-template-columns: 1fr; }
  .gabarits__note { display: none; }
  .gabarits__liste button { border-right: 0; border-bottom: 1px solid var(--trait); }
  .capacites tbody th { width: 40%; }
}
/* une machine isolée dans la photo d'ensemble : zoom dans le cadre */
.machine .procede__photo { overflow: hidden; }
.cadrage-gauche, .cadrage-droite { scale: 1.8; }
.cadrage-gauche { transform-origin: 30% 45%; }
.cadrage-droite { transform-origin: 86% 45%; }
/* vue de face (projection européenne) : hauteurs connues en rectangle, inconnues en trait mixte ; lignes de rappel entre les vues */
.gab-vue { font: 700 11px var(--texte) !important; letter-spacing: .14em; text-transform: uppercase; fill: var(--texte-doux) !important; }
.gab-rappel { stroke: var(--bleu); stroke-width: .7; stroke-dasharray: 6 4; opacity: 0; transition: opacity .35s; }
.gab-face-inconnue { stroke: var(--bleu); stroke-width: 2.2; stroke-dasharray: 16 5 3 5; opacity: 0; transition: opacity .35s; }
.gab-a-fournir { font: italic 400 13px var(--texte); fill: var(--texte-doux); opacity: 0; transition: opacity .35s; }
.gabarit.actif :is(.gab-rappel, .gab-face-inconnue, .gab-a-fournir) { opacity: 1; }
.gabarit.actif .gab-rappel { opacity: .55; }

/* ===== Gabarits : planche et liste visibles ensemble, quelle que soit la hauteur d'écran ===== */
.gabarits__planche { position: sticky; top: calc(var(--entete) + 1rem); z-index: 3; align-self: start; }
.gabarits__svg { max-height: calc(100svh - var(--entete) - 7rem); }
@media (min-width: 1000px) {
  .gabarits__corps { grid-template-columns: minmax(0, 1fr) minmax(17rem, 21rem); align-items: start; }
  .gabarits__planche { padding: 1rem 1rem .6rem; }
  /* liste compacte : une ligne par configuration */
  .gabarits__liste { grid-template-columns: 1fr; }
  .gabarits__machine { padding: .55rem .8rem; font-size: .6875rem; }
  .gabarits__liste button { grid-template-columns: auto 1fr auto; align-items: baseline; gap: .1rem .5rem; padding: .55rem .8rem .6rem; border-right: 0; border-bottom: 1px solid var(--trait); }
  .gabarits__liste button .rep { grid-row: 1 / 3; align-self: center; }
  .gabarits__liste button :is(b, strong) { grid-column: 3; grid-row: 1; font-size: 1.05rem; white-space: nowrap; }
  .gab-config { grid-column: 2; grid-row: 1; font-size: .6875rem; }
  .gab-methode { grid-column: 2 / 4; font-size: .8125rem; line-height: 1.3; }
  .gabarits__note { display: none; }
  .gabarits__liste button[aria-pressed="true"] { box-shadow: inset 3px 0 0 var(--dore); }
}
@media (max-width: 860px) {
  /* mobile : la planche reste en haut, la liste défile dessous */
  .gabarits__planche { top: var(--entete); margin: 0 calc(var(--marge) * -1); padding: .5rem var(--marge) .3rem; border-left: 0; border-right: 0; box-shadow: 0 8px 18px rgb(0 0 0 / .08); }
  .gabarits__svg { max-height: none; }
  .gabarits__planche figcaption { display: none; }
}
/* textes de la planche à la taille du dessin réduit (lisibles jusqu'à environ la moitié de l'échelle) */
.gab-axes text { font-size: 15px; }
.gab-axes .gab-axe-nom { font-size: 17px; }
.gab-cote text { font-size: 24px; }
.gab-nom { font-size: 14px; }
.gab-vue, .gab-origine-txt { font-size: 13px !important; }
.gab-a-fournir { font-size: 16px; }

/* ===== Gabarits : un écran à elle seule, sur fond acier, coupée franchement de la suite ===== */
.gabarits { background: var(--gris); padding-bottom: 0; }
.gabarits__machine { background: var(--blanc); }
.coupe-aa--forte { padding-top: 1.4rem; padding-bottom: 1.4rem; border-top: 1.5px solid var(--trace); border-bottom: 1px solid var(--trait); }
@media (min-width: 1000px) {
  /* planche et liste occupent la hauteur de l'écran sous l'en-tête ; la planche remplit la place */
  .gabarits__corps { max-width: 1680px; margin-top: 0; padding-top: 54px; padding-bottom: 1.4rem; align-items: start; align-content: start; }   /* hauteur naturelle : plus de vide au-dessus du plan (retour du 2/12) */
  .gabarits__planche { position: static; top: auto; align-self: start; }   /* « a-rejouer » la passe en relative : sans top: auto, le décalage du mode collant (84 px) la descendait */
  /* le dessin grandit jusqu'à la hauteur disponible ; le cadre l'épouse */
  .gabarits__svg { width: 100%; height: auto; max-height: calc(100svh - var(--entete) - 7.5rem); }
  .gabarits__liste { max-height: calc(100svh - var(--entete) - 2.8rem); overflow-y: auto; }
}
@media (max-width: 999px) {
  .gabarits { padding-bottom: clamp(3rem, 6vw, 4rem); }
}

/* ===================================================================================
   Page Contact (phase 3)
   =================================================================================== */
/* En-tête : le téléphone en très grand à gauche, le rappel ouvert dans la case sombre à droite */
/* .tete-contact : (blocs) Colonnes */
.tete-contact__intro { font-size: clamp(1.1rem, 1.4vw, 1.3rem); color: #33343b; }
.tete-contact__tel { align-self: flex-start; font: 700 clamp(2.6rem, 5.6vw, 5.4rem)/1 var(--texte); letter-spacing: .01em; color: var(--bleu); text-decoration: none; font-variant-numeric: tabular-nums; border-bottom: 3px solid var(--dore); padding-bottom: .5rem; transition: color .2s; }
.tete-contact__tel:hover { color: var(--nuit); }
.tete-contact__infos { /* (blocs) Rangée, Pile sur téléphone */ margin: .6rem 0 0; border-top: 1px solid var(--trace); }
.tete-contact__infos div { padding: .8rem 1.4rem .2rem 0; margin-right: 1.4rem; border-right: 1px solid var(--trait); }
.tete-contact__infos div:last-child { border-right: 0; margin-right: 0; }
.tete-contact__infos dt { font: 700 .6875rem/1.2 var(--texte); letter-spacing: .14em; text-transform: uppercase; color: var(--bleu); }
.tete-contact__infos dd { margin: .3rem 0 0; }
body .tete-contact__infos dt { color: var(--acier-clair); }
.tete-contact__rappel { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: .2rem; padding: clamp(2rem, 4vw, 3.5rem); background: var(--bleu); color: var(--blanc); border-left: 1px solid var(--trace); }
body .tete-contact__rappel { background: linear-gradient(170deg, var(--acier-moyen), var(--acier-fonce) 60%); }
.tete-contact__rappel .volet__titre { font-size: clamp(1.8rem, 2.6vw, 2.5rem); }
.tete-contact__rappel .formulaire { grid-template-columns: 1fr 1fr; }
.tete-contact__rappel .champ input { border-color: rgb(255 255 255 / .35); }
.tete-contact__rappel .champ--case a { color: var(--blanc); }
.tete-contact__rappel .stries { --strie: #fff; }
.tete-contact__rappel.est-signale { box-shadow: inset 0 0 0 3px var(--dore); transition: box-shadow .3s; }

/* Folio 02 · Nous écrire : le formulaire de demande, cadré comme une fiche */
.ecrire { padding: clamp(4rem, 8vw, 6rem) 0; }
.ecrire__corps { max-width: 1320px; margin: 0 auto; padding: 0 var(--marge); }   /* (blocs) Colonnes */
.ecrire__texte { display: flex; flex-direction: column; gap: 1rem; }
.ecrire__texte h2 { font-size: clamp(2.4rem, 4.5vw, 4rem); line-height: 1.05; color: var(--bleu); }
.ecrire__texte p:is(:not([class]), [class="wp-block-paragraph"]) { font-size: 1.125rem; max-width: 40ch; }
.formulaire--clair { padding: clamp(1.2rem, 2.4vw, 2rem); border: 1px solid var(--trace); background: var(--blanc); }
.ecrire__entete { grid-column: 1 / -1; display: flex; align-items: center; gap: .2rem; padding-bottom: .9rem; margin-bottom: .2rem; border-bottom: 1px solid var(--trace); font: 700 .75rem/1 var(--texte); letter-spacing: .14em; text-transform: uppercase; color: var(--bleu); }
.ecrire__entete .rep { margin-right: .6rem; }
.formulaire--clair .champ label { color: var(--bleu); }
body .formulaire--clair .champ label { color: var(--acier-fonce); }
.champ--large { grid-column: 1 / -1; }
.champ textarea { min-height: 9rem; border: 1px solid var(--acier); border-radius: var(--rayon); padding: .65rem .75rem; font: inherit; resize: vertical; }
.champ__aide { font-size: .875rem; color: var(--texte-doux); }
.formulaire--clair .champ--case label { color: var(--graphite); }

/* Folio 03 · Coordonnées et accès : le cartouche de l'atelier, la porte et le plan */
.acces { padding: clamp(4rem, 8vw, 6rem) 0; background: var(--gris); }
.acces__corps { max-width: 1320px; margin: 0 auto; padding: 0 var(--marge); display: flex; flex-direction: column; gap: clamp(1.6rem, 3vw, 2.4rem); }
.acces__corps h2 { font-size: clamp(2.4rem, 4.5vw, 4rem); line-height: 1.05; color: var(--bleu); }
.cartouche--coordonnees { /* (blocs) Grille */ width: 100%; background: var(--blanc); }
.cartouche--coordonnees .cartouche__case { border-bottom: 0; }
.cartouche--coordonnees .cartouche__case:first-child { border-left: 0; }
.cartouche--coordonnees address { font-style: normal; line-height: 1.5; }
.cartouche--coordonnees a { color: var(--bleu); }
.acces__lien-fort { font: 700 clamp(1.2rem, 1.6vw, 1.45rem)/1.2 var(--texte); text-decoration: none; border-bottom: 1px solid var(--dore); }
/* .acces__vues : (blocs) Colonnes */
.acces__photo { padding: 8px; border: 1px solid var(--trace); background: var(--blanc); }
.acces__photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 60%; }
.acces__photo.voile::after { inset: 8px; }
body .acces__photo:hover::after { opacity: 0; }
body .acces__photo:hover img { filter: grayscale(0) contrast(1) brightness(1); }
.acces__plan { display: flex; flex-direction: column; border: 1px solid var(--trace); background-color: var(--blanc); background-image: linear-gradient(rgb(44 37 107 / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(44 37 107 / .05) 1px, transparent 1px); background-size: 24px 24px; }
.acces__plan-vide { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: .8rem; padding: clamp(1.2rem, 2.4vw, 2rem); border-bottom: 1px dashed var(--trait); }
.acces__plan figcaption { padding: 1rem clamp(1.2rem, 2.4vw, 2rem); }

@media (max-width: 1100px) {
  .cartouche--coordonnees .cartouche__case:nth-child(4) { border-left: 0; }
  .cartouche--coordonnees .cartouche__case:nth-child(-n+3) { border-bottom: 1px solid var(--trait); }
}
@media (max-width: 860px) {
  .tete-contact__infos div { border-right: 0; margin-right: 0; padding-right: 0; border-bottom: 1px solid var(--trait); padding-bottom: .7rem; }
  .tete-contact__rappel { border-left: 0; }
  .tete-contact__rappel .formulaire, .formulaire--clair { grid-template-columns: 1fr; }
  .cartouche--coordonnees .cartouche__case { border-left: 0; border-bottom: 1px solid var(--trait) !important; }
  .acces__plan-vide { min-height: 14rem; }
}
.ecrire__liste-titre { margin-top: .6rem; font: 700 .75rem/1 var(--texte); letter-spacing: .14em; text-transform: uppercase; color: var(--texte-doux); }
.ecrire__liste { margin-top: 0; color: var(--bleu); font-size: 1rem; }
.ecrire__liste li { padding: .55rem 0; border-bottom: 1px solid var(--trait); }

/* ===================================================================================
   Page L'entreprise (phase 3)
   =================================================================================== */
/* Folio 02 · Le récit : colonne de lecture, notes de repère dans la marge */
.recit { padding: clamp(4rem, 8vw, 6rem) 0; }
.recit__corps { max-width: 1320px; margin: 0 auto; padding: 0 var(--marge); }
.recit__tete { /* (blocs) groupe + Rangée */ padding-bottom: 2rem; border-bottom: 1px solid var(--trait); }
.recit__tete h2 { font-size: clamp(2.4rem, 4.5vw, 4rem); line-height: 1.05; color: var(--bleu); }
.recit__source { max-width: 44ch; color: var(--texte-doux); font-size: .9375rem; padding-bottom: .4rem; }
.recit__bloc { /* (blocs) Colonnes */ padding: clamp(2.4rem, 4vw, 3.4rem) 0; border-bottom: 1px solid var(--trait); }
.recit__bloc:last-child { border-bottom: 0; }
.recit__texte { max-width: 66ch; }
.recit__texte h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.15; color: var(--bleu); margin-bottom: 1.2rem; }
.recit__texte p { font-size: 1.0625rem; line-height: 1.7; margin-top: .8rem; }
.recit__texte h3 + p { margin-top: 0; }
.recit__scansion { padding-left: 1.2rem; border-left: 3px solid var(--dore); font: 400 clamp(1.2rem, 1.6vw, 1.4rem)/1.55 var(--titre) !important; color: var(--graphite); }
.recit__citation { margin: 1.4rem 0; padding: 1.2rem 1.4rem; border: 1px solid var(--trace); background: var(--gris); }
.recit__citation p { margin: 0 !important; font: 400 clamp(1.25rem, 1.8vw, 1.55rem)/1.4 var(--titre) !important; color: var(--bleu); }
/* notes de marge : comme les annotations d'un plan, reliées au texte par un filet */
.recit__notes { /* (blocs) Pile, en ligne sur téléphone */ position: relative; align-self: start; padding-left: 1.4rem; border-left: 1px solid var(--trait); }
.recit__note { position: relative; display: flex; flex-direction: column; gap: .25rem; font-size: .9375rem; color: #3b3b44; }
.recit__note::before { content: ""; position: absolute; left: calc(-1.4rem - 4px); top: .45rem; width: 7px; height: 7px; border-radius: 50%; background: var(--blanc); border: 1.5px solid var(--trace); }
.recit__note :is(b, strong) { font: 700 .75rem/1.3 var(--texte); letter-spacing: .12em; text-transform: uppercase; color: var(--bleu); }
.recit__note--cle::before { background: var(--dore); border-color: var(--dore); }
body .recit__note :is(b, strong) { color: var(--acier-fonce); }
.recit__photo { padding: 6px; border: 1px solid var(--trace); background: var(--blanc); margin-bottom: .4rem; }
.recit__photo img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.recit__photo.voile::after { inset: 6px; }
body .recit__photo:hover::after { opacity: 0; }
body .recit__photo:hover img { filter: grayscale(0) contrast(1) brightness(1); }

/* Folio 03 · Frise à sept étapes */
.frise--7 ol { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.frise--7 .frise__quoi { font-size: clamp(1.05rem, 1.3vw, 1.2rem); }
.frise--7 li:nth-child(6) { transition-delay: 1.8s; } .frise--7 li:nth-child(7) { transition-delay: 2.1s; }
.frise-entreprise { padding-bottom: clamp(3rem, 6vw, 4rem); }

/* Folio 04 · L'équipe : photo et nomenclature des personnes */
.equipe { padding: clamp(4rem, 8vw, 6rem) 0; }
.equipe__corps { max-width: 1320px; margin: 0 auto; padding: 0 var(--marge); }   /* (blocs) Colonnes */
.equipe__tete { display: flex; flex-direction: column; gap: 1.6rem; }
.equipe__tete h2 { font-size: clamp(2.4rem, 4.5vw, 4rem); line-height: 1.05; color: var(--bleu); }
.equipe__photo { padding: 8px; border: 1px solid var(--trace); background: var(--blanc); }
.equipe__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.equipe__photo.voile::after { inset: 8px 8px auto; height: calc(100% - 16px - 2.2rem); }
.equipe__photo figcaption { padding: .6rem .2rem .1rem; font-size: .875rem; }
body .equipe__photo:hover::after { opacity: 0; }
body .equipe__photo:hover img { filter: grayscale(0) contrast(1) brightness(1); }
.equipe__liste { list-style: none; margin: 0; padding: 0; border: 1.5px solid var(--trace); align-self: end; }
.equipe__liste li { display: flex; gap: .9rem; padding: 1.2rem 1.3rem; border-bottom: 1px solid var(--trait); transition: opacity .5s, translate .5s; }
.equipe__liste li:last-of-type { border-bottom: 0; }
.equipe__liste .rep { flex: none; font: 700 .75rem/1 var(--texte); color: var(--bleu); margin: .3rem 0 0; }
.equipe__liste h3 { font-size: clamp(1.4rem, 1.9vw, 1.75rem); line-height: 1.15; }
.equipe__liste h3 .a-fournir { font: italic 400 .9375rem var(--texte); }
.equipe__role { margin: .2rem 0 .4rem; font: 700 .75rem/1.3 var(--texte); letter-spacing: .12em; text-transform: uppercase; color: var(--texte-doux); }
.equipe__liste:not(.visible) li { opacity: 0; translate: 0 10px; }
.equipe__liste li:nth-child(2) { transition-delay: .12s; } .equipe__liste li:nth-child(3) { transition-delay: .24s; } .equipe__liste li:nth-child(4) { transition-delay: .36s; }

/* Folio 05 · Valeurs : trois mots en grand sur la feuille sombre */
.valeurs__mots { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgb(255 255 255 / .35); border-bottom: 1px solid rgb(255 255 255 / .35); }
.valeurs__mots li { display: flex; flex-direction: column; gap: 1.2rem; padding: clamp(1.6rem, 3vw, 2.6rem) clamp(1rem, 2vw, 1.6rem); border-left: 1px solid rgb(255 255 255 / .2); font: 400 clamp(2.4rem, 5vw, 4.6rem)/1 var(--titre); transition: opacity .6s, translate .6s; }
.valeurs__mots li:first-child { border-left: 0; }
.valeurs__mots .rep { font: 700 .75rem/1 var(--texte); color: var(--dore); border-color: rgb(255 255 255 / .5); }
.valeurs__mots:not(.visible) li { opacity: 0; translate: 0 14px; }
.valeurs__mots li:nth-child(2) { transition-delay: .2s; } .valeurs__mots li:nth-child(3) { transition-delay: .4s; }
.valeurs__citation { margin: clamp(2rem, 4vw, 3rem) auto 0; }
.valeurs__citation p { max-width: 40ch; font: 400 clamp(1.4rem, 2.2vw, 2rem)/1.35 var(--titre); }
.valeurs__citation footer { margin-top: 1rem; font-size: .9375rem; color: rgb(255 255 255 / .8); }
.valeurs__citation footer :is(b, strong) { color: var(--dore); }

/* Folio 06 · Le bâtiment */
.batiment { padding: clamp(4rem, 8vw, 6rem) 0 0; }
.batiment__corps { max-width: 1320px; margin: 0 auto; padding: 0 var(--marge); }   /* (blocs) Colonnes */
.batiment__texte { display: flex; flex-direction: column; gap: 1rem; }
.batiment__texte h2 { font-size: clamp(2.4rem, 4.5vw, 4rem); line-height: 1.05; color: var(--bleu); }
.batiment__texte p:is(:not([class]), [class="wp-block-paragraph"]) { font-size: 1.125rem; max-width: 42ch; }
.batiment__vue { padding: 8px; border: 1px solid var(--trace); background: var(--blanc); }
.batiment__vue img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.batiment__vue.voile::after { inset: 8px; }
body .batiment__vue:hover::after { opacity: 0; }
body .batiment__vue:hover img { filter: grayscale(0) contrast(1) brightness(1); }

@media (max-width: 1100px) {
  .frise--7 ol { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 2.4rem; }
}
@media (max-width: 860px) {
  .recit__notes { padding: 1rem 0 0; border-left: 0; border-top: 1px solid var(--trait); }
  .recit__note::before { display: none; }
  .recit__photo { width: 100%; }
  .frise--7 ol { grid-template-columns: 1fr; }
  .valeurs__mots { grid-template-columns: 1fr; }
  .valeurs__mots li { border-left: 0; border-top: 1px solid rgb(255 255 255 / .2); }
  .valeurs__mots li:first-child { border-top: 0; }
}
.liste-carree sup, .etiquette sup { letter-spacing: 0; text-transform: none; margin-left: .05em; margin-right: .25em; }

/* ===================================================================================
   Page Réalisations (phase 3)
   =================================================================================== */
/* En-tête compact : la galerie est le contenu de la page */
.tete-page--courte { grid-template-columns: 1fr; min-height: 0; }
.tete-page--courte .tete-page__texte { padding-top: clamp(3rem, 5vw, 4rem); padding-bottom: clamp(2.4rem, 4vw, 3.4rem); }
.tete-page--courte h1 { max-width: none; }
/* .tete-page__ligne : (blocs) Rangée */

/* Filtres par métier (catégories de vs-gallery) */
.galerie { padding-top: clamp(3rem, 6vw, 4.5rem); }
.filtres { display: flex; flex-wrap: wrap; border: 1px solid var(--trace); }
.filtres button { min-height: 44px; padding: 0 1rem; border: 0; border-left: 1px solid var(--trait); background: var(--blanc); font: 700 .75rem/1 var(--texte); letter-spacing: .12em; text-transform: uppercase; color: var(--bleu); cursor: pointer; }
.filtres button:first-child { border-left: 0; }
.filtres button[aria-pressed="true"] { background: var(--bleu); color: var(--blanc); }
.filtres button[aria-disabled="true"] { color: var(--texte-doux); cursor: not-allowed; }
.filtres button .a-fournir { font-size: .6875rem; letter-spacing: 0; text-transform: none; font-weight: 400; }
.galerie__note { margin-top: 0; margin-bottom: 1.6rem; }
/* la fiche entière ouvre la visionneuse */
.fiches--galerie .fiche { padding: 8px; }
.fiche__ouvrir { display: flex; flex: 1; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.fiche__ouvrir:focus-visible { outline-offset: 4px; }
.fiches--galerie .fiche--grande .fiche__photo img { height: 100%; aspect-ratio: auto; }
.fiches--galerie .fiche:not(.fiche--grande) .fiche__photo img { aspect-ratio: 4 / 3; }
.fiches--galerie .fiche:nth-child(n+6) { transition-delay: .5s; }

/* Ils nous font confiance (masquée sur le site tant qu'aucun logo n'est autorisé) */
.references { padding: 0 var(--marge) clamp(1rem, 2vw, 2rem); }
.references__corps { max-width: 1320px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem 2rem; padding: 1.4rem var(--marge); border: 1px dashed var(--trait); }

/* Visionneuse : la pièce en grand dans une planche, son cartouche dessous */
.visionneuse { width: min(1200px, calc(100vw - 2rem)); max-width: none; max-height: calc(100svh - 2rem); padding: 0; border: 0; background: transparent; overflow: visible; }
.visionneuse::backdrop { background: rgb(15 17 21 / .82); backdrop-filter: blur(3px); }
.visionneuse[open] { animation: entree-visionneuse .35s cubic-bezier(.65, 0, .25, 1); }
@keyframes entree-visionneuse { from { opacity: 0; scale: .97; } }
.visionneuse__planche { padding: 10px; border: 1px solid var(--trace); background: var(--blanc); }
.visionneuse__planche img { width: 100%; max-height: calc(100svh - 10rem); object-fit: contain; background: var(--gris); }
.visionneuse__cartouche { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--trace); }
.visionneuse__cartouche .rep { font: 700 .8125rem/1 var(--texte); color: var(--bleu); margin: 0; }
.visionneuse__legende { font-size: .9375rem; }
.visionneuse__cartouche dl { display: flex; gap: 1.4rem; margin: 0; }
.visionneuse__cartouche dt { font: 700 .6875rem/1.2 var(--texte); letter-spacing: .14em; text-transform: uppercase; color: var(--bleu); }
.visionneuse__cartouche dd { margin: .2rem 0 0; font-size: .875rem; font-style: italic; color: var(--texte-doux); }
.visionneuse__nav, .visionneuse__fermer { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgb(255 255 255 / .5); border-radius: var(--rayon); background: rgb(15 17 21 / .5); color: var(--blanc); font-size: 1.4rem; cursor: pointer; }
.visionneuse__nav:hover, .visionneuse__fermer:hover { border-color: var(--dore); color: var(--dore); }
.visionneuse__nav { top: 50%; translate: 0 -50%; }
.visionneuse__nav--prec { left: -60px; }
.visionneuse__nav--suiv { right: -60px; }
.visionneuse__fermer { top: -56px; right: 0; }

@media (max-width: 1280px) {
  .visionneuse__nav--prec { left: 10px; } .visionneuse__nav--suiv { right: 10px; }
}
@media (max-width: 860px) {
  .visionneuse__cartouche { grid-template-columns: auto 1fr; }
  .visionneuse__cartouche dl { grid-column: 1 / -1; }
  .visionneuse__fermer { top: auto; bottom: calc(100% + 8px); }
}

/* ===================================================================================
   Actualités et modèle d'article (phase 3)
   =================================================================================== */
.journal-atelier { padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); }
.articles { max-width: 1320px; margin: 0 auto; padding: 0 var(--marge); }   /* (blocs) Boucle de requête en Grille */
.article-fiche { padding: 8px; border: 1px solid var(--trace); background: var(--blanc); transition: opacity .6s, translate .6s; }
.article-fiche__lien { display: flex; flex-direction: column; gap: .8rem; height: 100%; color: inherit; text-decoration: none; }
.article-fiche__photo { display: block; }
.article-fiche__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.article-fiche__photo--vide { display: grid; place-items: center; aspect-ratio: 3 / 2; border: 1px dashed var(--trait); background-image: linear-gradient(rgb(44 37 107 / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(44 37 107 / .05) 1px, transparent 1px); background-size: 20px 20px; font: 700 .75rem/1 var(--texte); letter-spacing: .14em; text-transform: uppercase; color: var(--texte-doux); }
.article-fiche__cartouche { /* (blocs) Rangée */ padding: .6rem 0; border-top: 1px solid var(--trace); border-bottom: 1px solid var(--trait); font: 700 .6875rem/1.2 var(--texte); letter-spacing: .12em; text-transform: uppercase; color: var(--bleu); }
.article-fiche__cartouche .rep { margin: 0; }
.article-fiche__date .a-fournir { font: italic 400 .8125rem var(--texte); letter-spacing: 0; text-transform: none; }
.article-fiche__rubrique { padding-left: .8rem; border-left: 1px solid var(--trait); color: var(--texte-doux); }
.article-fiche h3 { padding: 0 .3rem; font-size: clamp(1.35rem, 1.8vw, 1.65rem); line-height: 1.2; color: var(--graphite); transition: color .2s; }
.article-fiche__extrait { padding: 0 .3rem .6rem; font-size: .9375rem; color: #3b3b44; }
a.article-fiche__lien:hover h3 { color: var(--bleu); }
.article-fiche--modele { border-style: dashed; }
body a.article-fiche__lien:hover .voile::after { opacity: 0; }
body a.article-fiche__lien:hover .voile img { filter: grayscale(0) contrast(1) brightness(1); }
.articles:not(.visible) .article-fiche { opacity: 0; translate: 0 14px; }
.article-fiche:nth-child(2) { transition-delay: .12s; } .article-fiche:nth-child(3) { transition-delay: .24s; }

/* Modèle d'article : en-tête cartouche, photo, colonne de lecture */
.article { padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); }
.article__corps { max-width: 1320px; margin: 0 auto; padding: 0 var(--marge); }
.article__tete { display: flex; flex-direction: column; gap: 1rem; max-width: 60rem; }
.article__tete .etiquette a { color: inherit; }
.article__tete h1 { font-size: clamp(2.4rem, 4.6vw, 4.2rem); line-height: 1.05; color: var(--bleu); }
.article__cartouche { /* (blocs) Rangée */ margin: .4rem 0 0; border-top: 1.5px solid var(--trace); border-bottom: 1px solid var(--trait); }
.article__cartouche div { padding: .6rem 1.6rem .6rem 0; margin-right: 1.6rem; border-right: 1px solid var(--trait); }
.article__cartouche div:last-child { border-right: 0; }
.article__cartouche dt { font: 700 .6875rem/1.2 var(--texte); letter-spacing: .14em; text-transform: uppercase; color: var(--bleu); }
.article__cartouche dd { margin: .25rem 0 0; }
.article__photo { margin: clamp(1.6rem, 3vw, 2.4rem) 0; padding: 8px; border: 1px solid var(--trace); }
.article__photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.article__photo.voile::after { inset: 8px; }
.article__texte { max-width: 66ch; }
.article__texte > * + * { margin-top: 1.2rem; }
.article__texte h2 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); color: var(--bleu); margin-top: 2rem; }
.video-consentement { display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; padding: clamp(1.4rem, 3vw, 2.4rem); aspect-ratio: 16 / 9; justify-content: center; background: var(--acier-fonce, var(--nuit)); color: var(--blanc); }
.video-consentement .etiquette { color: var(--dore); }
.video-consentement .a-fournir { color: rgb(255 255 255 / .7); }
.video-consentement .btn[disabled] { opacity: .75; cursor: not-allowed; }

@media (max-width: 860px) {
  .article__cartouche div { margin-right: 0; border-right: 0; border-bottom: 1px solid var(--trait); }
  .article__photo img { aspect-ratio: 3 / 2; }
  .video-consentement { aspect-ratio: auto; }
}

/* ===== Visionneuse : la photo sort dans le sens de la navigation, la suivante entre de l'autre côté ===== */
.visionneuse__planche { overflow: hidden; }
.visionneuse__planche img { transition: opacity .22s ease, translate .32s cubic-bezier(.2, .7, .2, 1); }
.visionneuse__planche img.sortie { opacity: 0; translate: calc(var(--sens, 1) * -48px) 0; }

.fiche__cartouche :is(dd, .fiche__dd), .visionneuse__cartouche dd { font-style: normal; color: var(--graphite); }
.fiche__cartouche :is(dd, .fiche__dd).a-fournir, .visionneuse__cartouche dd.a-fournir { font-style: italic; color: var(--texte-doux); }

/* ===================================================================
   V3 · modifications demandées au RDV du 2026-11-05 (compte rendu dans le coffre)
   =================================================================== */

/* Liens des sections et des bannières : plus grands, soulignés en doré, flèche marquée */
:is(.lien-fleche, .is-style-lien-fleche, .is-style-lien-fleche-clair) { width: fit-content; max-width: 100%; font-size: .9375rem; line-height: 1.5; letter-spacing: .07em; text-decoration-thickness: 2px; text-decoration-color: var(--dore); text-underline-offset: .35em; }
/* flèche dorée, sortie du flux pour que le soulignement du lien ne passe pas dessous */
:is(.lien-fleche, .is-style-lien-fleche, .is-style-lien-fleche-clair) { position: relative; padding-right: 2.1rem; }
:is(.lien-fleche, .is-style-lien-fleche, .is-style-lien-fleche-clair)::after { position: absolute; right: 0; top: 50%; font-size: 1.4rem; line-height: 1; color: var(--dore); transform: translateY(-50%); }
:is(.lien-fleche, .is-style-lien-fleche, .is-style-lien-fleche-clair):hover::after { transform: translate(4px, -50%); }
:is(.lien-fleche, .is-style-lien-fleche, .is-style-lien-fleche-clair):hover { text-decoration-thickness: 3px; }
:is(.lien-fleche, .is-style-lien-fleche, .is-style-lien-fleche-clair)::after { pointer-events: none; }
:is(.lien-fleche, .is-style-lien-fleche, .is-style-lien-fleche-clair) a::before, .planche__mot a::before { content: ""; position: absolute; inset: 0; }   /* la flèche (dessinée sur le paragraphe) mène aussi au lien */

/* Section « Être rappelé » : titre et formulaire intégré, puis bandeau 02 · 04 · feuille */
.cartouche--rappel .cartouche__appel h2 { font-size: clamp(1.9rem, 2.7vw, 2.6rem); }
.cartouche__form { display: flex; flex-direction: column; gap: 1rem; border-left: 1px solid var(--trait); background: var(--blanc); }
.cartouche__form-titre { font: 700 .75rem/1.3 var(--texte); letter-spacing: .14em; text-transform: uppercase; color: var(--trace); }
.cartouche__form .formulaire--clair { padding: 0; border: 0; background: none; }
.cartouche__form.est-signale { box-shadow: inset 0 0 0 3px var(--dore); transition: box-shadow .3s; }
.cartouche--rappel .cartouche__case { gap: .4rem; padding-top: clamp(.9rem, 1.4vw, 1.2rem); padding-bottom: clamp(.9rem, 1.4vw, 1.2rem); border-top: 1.5px solid var(--trace); border-bottom: 0; }
.cartouche--rappel .cartouche__case h3 { font-size: clamp(1.05rem, 1.25vw, 1.2rem); }
.cartouche--rappel .cartouche__case p:last-child { font-size: .875rem; line-height: 1.45; }
.cartouche--rappel .cartouche__case:first-child { border-left: 0; }
@media (max-width: 900px) {
  .cartouche--rappel { grid-template-columns: minmax(0, 1fr); }
  .cartouche--rappel > * { min-width: 0; }
  .cartouche__form { grid-column: auto; border-left: 0; }
  .cartouche--rappel .cartouche__case { border-left: 0; }
}
/* Téléphone : les trois cases (Conception, Situation, Organisation) ne doivent pas ressembler à des choix du formulaire
   (retour du 2/12) : bandeau gris séparé du formulaire, numéros sans cercle, titres en italique, textes masqués */
@media (max-width: 860px) {
  .cartouche--rappel .wp-block-columns:has(> .cartouche__case) { gap: 0; margin-top: 0; padding: .4rem 0; background: var(--gris); border-top: 1.5px solid var(--trace); }
  .cartouche--rappel .cartouche__case { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: .2rem .7rem; padding: .55rem 1.25rem; border-top: 0; background: none; }
  .cartouche--rappel .cartouche__case .etiquette :is(b, strong) { display: inline; width: auto; height: auto; margin-right: .35em; border: 0; border-radius: 0; color: var(--bleu); }
  .cartouche--rappel .cartouche__case h3 { font-style: italic; font-size: 1rem; }
  .cartouche--rappel .cartouche__case p:not(.etiquette) { display: none; }
}

/* Colonne de gauche : moitié haute, les pages du site toujours visibles (page en cours en doré) ;
   moitié basse, les sections de la page ; plus de bouton Menu */
@media (min-width: 1100px) {
  .rail-menu { position: relative; inset: auto; z-index: 2; flex: 0 0 50%; gap: .9rem; padding: 1.2rem 1.4rem; clip-path: none; visibility: visible;
    background: none !important; border-bottom: 1px solid rgb(255 255 255 / .16); }
  .rail-menu .wp-block-navigation-item__content { font-size: clamp(1.05rem, 1.25vw, 1.3rem); padding: .55rem 0; }
  .rail-menu .wp-block-navigation-item__content[aria-current="page"] { color: var(--dore); }
  .rail-menu .wp-block-navigation-item__content[aria-current="page"]::after { content: ""; flex: 1; align-self: center; height: 1px; margin-left: .4rem; background: var(--dore); }
  /* pages autres que l'accueil : la colonne est là dès l'ouverture, la bannière se décale */
  .rail-fixe main > :not(:is([data-rail], .feuille)) { margin-left: var(--rail); }
}

/* Parc machines · Contrôle (section masquée) : le comparateur à cadran de la V2 */
.controle .comparateur { position: relative; width: min(78vw, 360px); margin: 2rem auto 0; }
.comparateur__svg { display: block; width: 100%; height: auto; overflow: visible; }
.comparateur .lunette { fill: var(--blanc); stroke: var(--graphite); stroke-width: 3; }
.comparateur .lunette__int { fill: none; stroke: var(--graphite); stroke-width: 1; }
.comparateur .cadran { fill: var(--blanc); }
.comparateur .graduations line { stroke: var(--graphite); stroke-width: 1; }
.comparateur .graduations .g5 { stroke-width: 1.4; }
.comparateur .graduations .g10 { stroke-width: 2; }
.comparateur .chiffres text { font: 400 17px var(--texte); fill: var(--graphite); font-variant-numeric: tabular-nums; }
.comparateur .cadran__unite { font: 400 11px var(--texte); fill: #4a4d55; letter-spacing: .06em; }
.comparateur .tolerance { fill: rgb(190 145 38 / .16); }
.comparateur .index path { fill: var(--dore); }
.comparateur .compte-tours circle { fill: none; stroke: var(--graphite); stroke-width: 1; }
.comparateur .compte-tours line { stroke: var(--graphite); stroke-width: 1; }
.comparateur .compte-tours__aiguille { stroke: var(--bleu) !important; stroke-width: 2 !important; stroke-linecap: round; }
.comparateur .aiguille path, .comparateur .aiguille circle { fill: var(--bleu); }
.comparateur .aiguille .aiguille__axe { fill: var(--dore); }
.comparateur .tige rect { fill: var(--blanc); stroke: var(--graphite); stroke-width: 1.5; }
.comparateur .tige .tige__fut { fill: var(--gris); }
.comparateur .tige__bille { fill: var(--graphite); }
.comparateur__lecture { position: absolute; left: calc(50% + 1.75rem); top: 80%; margin: 0; font-size: .75rem; letter-spacing: .05em; white-space: nowrap; color: #4a4d55; }
.comparateur__lecture :is(b, strong) { font-size: 1rem; color: var(--graphite); font-variant-numeric: tabular-nums; letter-spacing: 0; }

/* Savoir-faire · Sous-traitance : un bloc par partenaire (avec son accord, liens échangés entre les sites) */
.partenaire { display: grid; gap: .35rem; margin-top: 2rem; padding: 1.2rem 1.4rem; border: 1.5px solid var(--trace); background: var(--blanc); }
.partenaire__metier { margin: 0; font: 700 .75rem/1 var(--texte); letter-spacing: .16em; text-transform: uppercase; color: var(--dore); }
.partenaire__nom { margin: 0; font: 400 clamp(1.3rem, 1.8vw, 1.6rem)/1.2 var(--titre); }

/* Page CGV : texte courant */
.texte-legal { padding: clamp(3rem, 6vw, 5rem) 0; }
.texte-legal__corps { max-width: 760px; margin: 0 auto; padding: 0 var(--marge); }   /* (blocs) écart de 1 rem réglé sur le groupe */

/* V3 · colonne partagée : cadre de la feuille en cours à la hauteur disponible, numéro et nom sur une ligne si la place manque */
@media (min-width: 1100px) {
  body .rail .affichage { top: calc(46px - var(--demi, 38px)); height: calc(var(--demi, 38px) * 2); }
  body .rail--serre .affichage { flex-direction: row; align-items: center; gap: .7rem; }
  body .rail--serre .affichage__num { font-size: 1.5rem; }
  body .rail--serre .affichage__nom { font-size: .6875rem; line-height: 1.1; letter-spacing: .1em; text-wrap: balance; }   /* nom long sur deux lignes : interligne et approche resserrés, lignes équilibrées (cadre bas) */
  body .rail-menu { border-bottom-color: rgb(var(--encre) / .12); }
  body .rail-menu .wp-block-navigation-item__content[aria-current="page"] { color: var(--bleu); }
  body .rail-menu .wp-block-navigation-item__content[aria-current="page"]::after { background: var(--dore); }
}

/* Menu des pages : la page en cours est décalée comme au survol */
.rail-menu .wp-block-navigation-item__content[aria-current="page"] { padding-left: .4rem; }

/* ===== Contact · plan d'accès dessiné (scripts/plan_acces.py), sans carte tierce ===== */
.acces__plan { background-image: none; }
.plan-acces { display: grid; grid-template-columns: minmax(0, 1fr); }
.plan-acces__choix { display: flex; flex-wrap: wrap; align-items: stretch; gap: .6rem; padding: 1rem clamp(1rem, 2vw, 1.4rem); border-bottom: 1px solid var(--trait); }
.plan-acces__choix .etiquette { flex-basis: 100%; margin: 0; }
.plan-acces__bouton { flex: 1 1 14rem; display: flex; flex-direction: column; gap: .25rem; padding: .7rem .9rem; border: 1px solid var(--trait); border-radius: var(--rayon); background: var(--blanc); text-align: left; font: inherit; color: inherit; cursor: pointer; transition: border-color .2s, background-color .2s; }
.plan-acces__bouton :is(b, strong) { font: 700 .8125rem/1 var(--texte); letter-spacing: .12em; text-transform: uppercase; color: var(--bleu); }
.plan-acces__bouton span { font-size: .8125rem; line-height: 1.4; color: #4a4d55; }
.plan-acces__bouton:hover, .plan-acces__bouton:focus-visible { border-color: var(--bleu); }
.plan-acces__bouton[aria-pressed="true"] { border-color: var(--dore); background: rgb(190 145 38 / .08); box-shadow: inset 3px 0 0 var(--dore); }
.plan-acces__carte { position: relative; overflow: hidden; background-color: #fbfbfc;
  background-image: linear-gradient(rgb(44 37 107 / .06) 1px, transparent 1px), linear-gradient(90deg, rgb(44 37 107 / .06) 1px, transparent 1px); background-size: 24px 24px; }
.plan-acces__svg { display: block; width: 100%; height: auto; }
.plan-acces__svg path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.pa-res { stroke: #b9bcc4; stroke-width: 1.3; }
.pa-ter { stroke: #9fa3ac; stroke-width: 2; }
.pa-sec { stroke: #7d828c; stroke-width: 2.6; }
.pa-bretelle { stroke: #5b626d; stroke-width: 2.2; }
.pa-pri { stroke: #5b626d; stroke-width: 3.4; }
.pa-aut { stroke: var(--graphite); stroke-width: 6; }
.pa-riv { stroke: #a9bfd6; stroke-width: 4; }
.pa-fer { stroke: #8c9099; stroke-width: 1.6; stroke-dasharray: 10 6; }
.pa-rue { stroke: var(--bleu); stroke-width: 4.5; }
.pa-trajet { stroke: var(--dore); stroke-width: 7; stroke-dasharray: 100; stroke-dashoffset: 100; opacity: 0; transition: opacity .3s; }
.pa-trajet.est-apercu { opacity: .45; stroke-dashoffset: 0; }
.pa-trajet.est-choisi { opacity: 1; animation: pa-trace 1.6s cubic-bezier(.65, 0, .35, 1) forwards; }
@keyframes pa-trace { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .pa-trajet.est-choisi { animation: none; stroke-dashoffset: 0; } }
.pa-sortie circle { fill: var(--blanc); stroke: var(--graphite); stroke-width: 2; transition: fill .3s, stroke .3s; }
.pa-sortie text { font: 700 14px var(--texte); fill: var(--graphite); }
.pa-sortie.est-choisi circle { fill: var(--dore); stroke: var(--dore); }
.pa-cartouche-route rect { fill: var(--graphite); }
.pa-cartouche-route text { font: 700 14px var(--texte); letter-spacing: .08em; fill: var(--blanc); }
.pa-atelier line { stroke: var(--bleu); stroke-width: 1.5; }
.pa-atelier__halo { fill: rgb(190 145 38 / .18); stroke: var(--dore); stroke-width: 1; stroke-dasharray: 4 4; }
.pa-atelier__cible { fill: var(--dore); stroke: var(--blanc); stroke-width: 3; }
.pa-atelier__cartouche rect { fill: var(--blanc); stroke: var(--bleu); stroke-width: 1.5; }
.pa-atelier__cartouche path { fill: none; stroke: var(--bleu); stroke-width: 1.2; }
.pa-atelier__nom { font: 400 26px var(--titre); fill: var(--bleu); }
.pa-atelier__adresse { font: 700 13px var(--texte); letter-spacing: .06em; fill: #4a4d55; }
.pa-credit { font: 400 13px var(--texte); fill: #5b626d; }
.plan-acces__liens { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.6rem; }
.plan-acces__liens .etiquette { flex-basis: 100%; margin: 0; }

/* V3 · Contact : la colonne fixe réduit la bannière ; le numéro tient sur une ligne, les champs se resserrent */
.champ input:not([type="checkbox"]) { min-width: 0; width: 100%; }
/* plan d'accès plus grand : la photo occupe toute la hauteur de sa case */
.acces__photo { display: flex; }
.acces__photo img { flex: 1; width: 100%; height: 100%; min-height: 16rem; object-fit: cover; }
@media (min-width: 1100px) {
  .rail-fixe .tete-contact__tel { font-size: clamp(2.4rem, 4vw, 4.6rem); white-space: nowrap; }
}
/* départ hors du plan (D2000) : flèche et cartouche à l'entrée du trajet, visibles quand il est choisi */
.pa-entree { opacity: 0; transition: opacity .4s .6s; }
.pa-entree.est-choisi { opacity: 1; }
.pa-entree path { fill: none; stroke: var(--dore); stroke-width: 3; }
.pa-entree rect { fill: var(--graphite); }
.pa-entree text { font: 700 14px var(--texte); letter-spacing: .08em; fill: var(--blanc); }
.pa-entree .pa-entree__detail { font-weight: 400; font-size: 11px; letter-spacing: .02em; fill: rgb(255 255 255 / .8); }

/* ===== RDV du 2026-11-26 ===== */
/* Frise « De l'étude à la livraison » : chaîne de cotes (variante C validée le 2026-11-27).
   Blocs inchangés (groupe « Frise » > « Étapes » > étapes : « quand » + « quoi ») + paragraphe « frise__totale »
   (cote d'ensemble). Cotes, bulles numérotées et lignes d'attache : décor du thème. */
.frise-projet .frise__ligne { display: none; }
.frise-projet .frise__totale { display: flex; align-items: center; gap: 1rem; height: 3.2rem; margin: 0; border-left: 1px solid var(--acier); border-right: 1px solid var(--acier); font: 400 clamp(1.05rem, 1.8vw, 1.4rem)/1 var(--titre); color: var(--bleu); white-space: nowrap; }
.frise-projet .frise__totale::before, .frise-projet .frise__totale::after { content: ""; flex: 1; height: 11px; transform-origin: center; transition: scale 1.1s cubic-bezier(.2, .7, .2, 1); }
.frise-projet .frise__totale::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M0 5 10 0v10z' fill='%232c256b'/%3E%3C/svg%3E") left center / 12px 11px no-repeat, linear-gradient(#2c256b, #2c256b) center / 100% 1.5px no-repeat; }
.frise-projet .frise__totale::after { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M10 5 0 0v10z' fill='%232c256b'/%3E%3C/svg%3E") right center / 12px 11px no-repeat, linear-gradient(#2c256b, #2c256b) center / 100% 1.5px no-repeat; }
.frise-projet .frise__liste { counter-reset: etape; gap: 0; }
.frise-projet .frise__etape { counter-increment: etape; gap: .45rem; padding: 2.6rem 1.1rem 0 1rem; border-left: 1px solid var(--acier); }
.frise-projet .frise__etape:last-child { border-right: 1px solid var(--acier); }
.frise-projet .frise__etape :is(.frise__quand, .frise__quoi) { padding-left: 0; }
.frise-projet .frise__quand { hyphens: auto; overflow-wrap: break-word; }   /* « APPROVISIONNEMENT » dans une colonne étroite (portable) */
.frise-projet .frise__etape::before { display: block; left: 0; right: 0; top: .6rem; width: auto; height: 9px; translate: 0 -50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M10 5 0 0v10z' fill='%232c256b'/%3E%3C/svg%3E") right center / 10px 9px no-repeat, linear-gradient(#2c256b, #2c256b) center / 100% 1.5px no-repeat; transform-origin: left; transition: scale .6s cubic-bezier(.2, .7, .2, 1); }
.frise-projet .frise__cle::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M10 5 0 0v10z' fill='%23be9126'/%3E%3C/svg%3E") right center / 10px 9px no-repeat, linear-gradient(#be9126, #be9126) center / 100% 2.5px no-repeat; }
.frise-projet .frise__etape::after { content: counter(etape); display: grid; place-items: center; box-sizing: border-box; left: 50%; top: .6rem; translate: -50% -50%; width: 2rem; height: 2rem; border: 1.5px solid var(--bleu) !important; background: var(--blanc) !important; font: 700 .8125rem/1 var(--texte); color: var(--bleu); transition: scale .4s cubic-bezier(.3, 1.6, .5, 1), background-color .3s, color .3s; z-index: 1; }
.frise-projet .frise__cle::after { background: var(--dore) !important; border-color: var(--dore) !important; color: var(--blanc); }
.frise-projet .frise__etape:hover::after { background: var(--bleu) !important; color: var(--blanc); }
.frise-projet .frise__cle:hover::after { background: #87671b !important; border-color: #87671b !important; }
/* cotes partielles fléchées à droite seulement (le processus ne revient jamais en arrière) ; cote d'ensemble fléchée des deux côtés */
/* tracé à l'arrivée dans l'écran : cote d'ensemble, puis les cinq cotes l'une après l'autre (pas dans l'aperçu de l'éditeur) */
body:not(.apercu-site) .frise-projet .frise:not(.visible) .frise__totale::before, body:not(.apercu-site) .frise-projet .frise:not(.visible) .frise__totale::after { scale: 0 1; }
body:not(.apercu-site) .frise-projet .frise:not(.visible) .frise__etape::before { scale: 0 1; }
body:not(.apercu-site) .frise-projet .frise:not(.visible) .frise__etape::after { scale: 0; }
body:not(.apercu-site) .frise-projet .frise:not(.visible) .frise__etape { opacity: 1; translate: none; }
body:not(.apercu-site) .frise-projet .frise:not(.visible) .frise__etape > p { opacity: 0; translate: 0 10px; }
.frise-projet .frise__etape > p { transition: opacity .5s, translate .5s; transition-delay: inherit; }
.frise-projet .frise__etape:nth-child(1) { transition-delay: 1s; } .frise-projet .frise__etape:nth-child(2) { transition-delay: 1.35s; } .frise-projet .frise__etape:nth-child(3) { transition-delay: 1.7s; } .frise-projet .frise__etape:nth-child(4) { transition-delay: 2.05s; } .frise-projet .frise__etape:nth-child(5) { transition-delay: 2.4s; }
.frise-projet .frise__etape::before, .frise-projet .frise__etape::after { transition-delay: inherit; }
@media (max-width: 860px) {
  .frise-projet .frise__totale { height: auto; border: 0; margin-bottom: 1.4rem; font-size: 1.15rem; white-space: normal; }
  .frise-projet .frise__totale::before, .frise-projet .frise__totale::after { display: none; }
  .frise-projet .frise__etape { border: 0 !important; padding: 0 0 1.6rem 3.2rem; }
  .frise-projet .frise__etape::before { left: 1rem; right: auto; top: 0; bottom: 0; width: 1.5px; height: auto; translate: 0 0; background: var(--bleu); transform-origin: top; }
  .frise-projet .frise__cle::before { background: var(--dore); width: 2.5px; }
  .frise-projet .frise__etape:last-child::before { bottom: 12px; }
  .frise-projet .frise__etape:last-child { padding-bottom: 2.2rem; }
  .frise-projet .frise__liste::after { content: ""; position: absolute; left: calc(1rem + .75px); bottom: 0; translate: -50% 0; border-left: 5.75px solid transparent; border-right: 5.75px solid transparent; border-top: 12px solid var(--bleu); transition: opacity .4s 2.6s; }   /* flèche à l'arrivée */
  body:not(.apercu-site) .frise-projet .frise:not(.visible) .frise__liste::after { opacity: 0; transition: none; }
  .frise-projet .frise { margin-bottom: 0; padding-bottom: 0; }   /* moins de vide sous la frise (retour mobile du 2/12) */
  body:not(.apercu-site) .frise-projet .frise:not(.visible) .frise__etape::before { scale: 1 0; }
  .frise-projet .frise__etape::after { left: 1rem; top: 1rem; }
}
/* Gamme : le lien vers Savoir-faire passe sous la photo de droite (collante) sur grand écran */
@media (min-width: 861px) {
  .gamme__vue { display: flex; flex-direction: column; }
  .gamme__vue .gamme__cadre { flex: 1; height: auto; min-height: 0; }
  .gamme__vue .gamme__lien { margin: 1.1rem 0 0; }
  .gamme__phases .gamme__lien { display: none; }
}
/* Notre histoire (accueil) : un portrait de chacun des associés, nom dans la photo (blocs Colonnes + Couverture) */
.histoire__associes { width: calc(100% - 2 * var(--marge)); max-width: calc(1320px - 2 * var(--marge)); margin: clamp(2.5rem, 5vw, 4rem) auto 0; padding: 8px; border: 1px solid var(--trace); background: var(--blanc); }   /* photo des associés + lignes de repère, dans un passe-partout comme les photos des machines (calque calé sur la photo, 8 px du bord) ; portraits en Couverture retirés le 27/11 */
.histoire__associes > .reperes__trace { inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); }
.histoire__associes.voile::after { inset: 8px; }
.histoire__associes figcaption { position: relative; z-index: 2; margin-top: .7rem; font: 400 .875rem/1.45 var(--texte); color: var(--texte-doux); }
@media (min-width: 861px) { .histoire__associes figcaption { display: none; } }   /* sur grand écran, les noms sont portés par les lignes de repère */
@media (max-width: 860px) { .reperes > .depart-cycle { display: none; } }   /* lignes de repère masquées sur téléphone : rien à rejouer */
/* Livraison : transporteurs (logo et type d'envoi) */
.transporteurs { margin-top: 1.4rem; }
.transporteur img { width: auto; max-width: 100%; }
.transporteur__envoi { margin: 0; font: 700 .75rem/1.3 var(--texte); letter-spacing: .14em; text-transform: uppercase; color: var(--texte-doux); }

/* « Départ cycle » : bouton discret qui rejoue l'animation d'un objet (symbole de la commande numérique) */
.a-rejouer { position: relative; }
.depart-cycle { position: absolute; top: -42px; right: 0; z-index: 6; width: 30px; height: 30px; padding: 0; border: 0; background: none; color: var(--bleu); cursor: pointer; opacity: .4; transition: opacity .3s, scale .2s; pointer-events: auto; }
.depart-cycle svg { display: block; width: 100%; height: 100%; overflow: visible; }
.depart-cycle circle { fill: var(--blanc); stroke: currentColor; stroke-width: 1.5; stroke-dasharray: 3.2 1.3; transform-origin: center; }
.depart-cycle path { fill: var(--dore); }
.depart-cycle:hover, .depart-cycle:focus-visible, :hover > .depart-cycle { opacity: 1; }
.depart-cycle:hover { scale: 1.12; }
.depart-cycle.tourne circle { animation: broche .9s cubic-bezier(.3, .1, .2, 1); }
@keyframes broche { to { rotate: 360deg; } }
[data-reveler]:not(.visible) > .depart-cycle { opacity: 0; pointer-events: none; }
.atelier .depart-cycle, .valeurs .depart-cycle { color: var(--blanc); }
.atelier .depart-cycle circle, .valeurs .depart-cycle circle { fill: var(--nuit); }
.cartouche > .depart-cycle, .atelier .reperes > .depart-cycle { top: auto; bottom: -42px; }   /* section précédente trop proche au-dessus : sous le cadre */
@media (max-width: 860px) {
  .metiers > .depart-cycle, .articles > .depart-cycle { top: auto; bottom: -42px; }   /* téléphone : lien ou bandeau de folio juste au-dessus */
  .cartouche--coordonnees > .depart-cycle { display: none; }   /* téléphone : ni au-dessus ni dessous assez de place (26 px) */
}
.depart-cycle--logo { top: auto; bottom: 0; right: 0; }
.depart-cycle--dedans { top: .75rem; right: .75rem; }   /* hôte en overflow: hidden : le bord haut couperait le bouton */   /* à cheval sur le bord haut, aligné à droite : ne dépasse jamais de l'écran */
@media (hover: none) { .depart-cycle { opacity: .7; } }
/* retour instantané à l'état de départ avant de rejouer */
.rejeu, .rejeu *, .rejeu::before, .rejeu::after, .rejeu *::before, .rejeu *::after { transition: none !important; animation: none !important; }

/* ===== Parc machines · implantation de l'atelier (schéma sans échelle, image ; légende en listes du cœur) ===== */
.implantation__corps { max-width: 1320px; margin: 0 auto; padding: clamp(3rem, 6vw, 5rem) var(--marge); }   /* mêmes marges que les fiches machines (.procede) */
.implantation__plan figure { max-width: 440px; margin-inline: auto; }
.implantation__plan figcaption { font: 400 .8125rem/1.4 var(--texte); color: var(--texte-doux); text-align: center; }
.implantation__texte > .etiquette { margin-top: 2rem; }
.implantation__texte > .etiquette:first-child { margin-top: 0; }
.implantation__legende { list-style: none; margin: .8rem 0 0; padding: 0; }
.implantation__legende li { display: flex; align-items: center; gap: .9rem; padding: .55rem 0; border-bottom: 1px solid var(--trait); }
.implantation__legende li > strong:first-child { flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--bleu); color: var(--blanc); font: 700 .8125rem/1 var(--texte); }
.implantation__legende--zones li > strong:first-child { border-radius: 0; background: var(--blanc); color: var(--bleu); border: 1.5px solid var(--bleu); width: 1.75rem; height: 1.75rem; margin-inline: .125rem; }
.plan-pointage { position: relative; display: block; }
.plan-pointage__repere { position: absolute; width: 2.6rem; height: 2.6rem; translate: -50% -50%; border: 2.5px solid var(--dore); border-radius: 50%; opacity: 0; scale: .6; transition: opacity .25s, scale .3s cubic-bezier(.3, 1.6, .5, 1); pointer-events: none; }
.plan-pointage__repere.allume { opacity: 1; scale: 1; animation: pointage 1.2s ease-in-out .3s infinite alternate; }
@keyframes pointage { to { scale: 1.25; } }
@media (prefers-reduced-motion: reduce) { .plan-pointage__repere.allume { animation: none; } }
.implantation__legende li.a-pointer { cursor: pointer; transition: background-color .2s; }
.implantation__legende li.pointe { background: rgb(190 145 38 / .12); }
.implantation__livraison { margin-top: 1.6rem; padding-left: 1rem; border-left: 3px dashed var(--dore); }
.implantation { padding-top: clamp(2.5rem, 5vw, 4rem); }   /* après le trait de coupe, comme les autres feuilles */
@media (min-width: 861px) { .implantation__texte { align-self: center; } }
/* le plan sort du traceur : il se découvre de haut en bas sous une tête de tracé dorée (rejouable par « Départ cycle ») */
@property --trace-plan { syntax: '<percentage>'; inherits: true; initial-value: 100%; }
.implantation__plan figure { position: relative; --trace-plan: 100%; clip-path: inset(-1rem -1rem calc(100% - var(--trace-plan)) -1rem); transition: --trace-plan 2.4s cubic-bezier(.45, 0, .25, 1) .2s; }
.implantation__plan figure::after { content: ""; position: absolute; left: -.5rem; right: -.5rem; top: calc(var(--trace-plan) - 3px); height: 2px; background: var(--dore); box-shadow: 0 0 10px rgb(190 145 38 / .7); opacity: 0; pointer-events: none; }
.implantation__plan.visible figure::after { animation: tete-traceur 2.7s .2s both; }
@keyframes tete-traceur { 0%, 92% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  body:not(.apercu-site) .implantation__plan:not(.visible) figure { --trace-plan: 0%; }
}

/* ===== Parc machines · fiche 03 : précisions de rectification (données de Romain), en cotes bien visibles ===== */
.precisions__titre { margin-top: 1.6rem; }
.precisions { margin-top: .6rem; border-top: 1.5px solid var(--bleu); border-bottom: 1px solid var(--trait); }
.precision { padding: .9rem .8rem .9rem 0; }
.precision + .precision { padding-left: .8rem; border-left: 1px solid var(--trait); }
.precision__valeur { margin: 0; font: 700 clamp(1.05rem, 1.45vw, 1.6rem)/1.1 var(--texte); font-variant-numeric: lining-nums tabular-nums; color: var(--bleu); white-space: nowrap; }   /* chiffres alignés (Legitima a des chiffres elzéviriens : 0 lu « o ») */
.precision__nom { margin: .4rem 0 0; font: 700 .6875rem/1.3 var(--texte); letter-spacing: .12em; text-transform: uppercase; color: var(--texte-doux); }
@media (max-width: 781px) {
  .precision, .precision + .precision { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-left: 0; }
  .precision + .precision { border-top: 1px solid var(--trait); }
  .precision__nom { margin: 0; text-align: right; }
}

/* ===== Savoir-faire · Matériaux : bandeau « Nos copeaux partent au recyclage » (bloc Couverture, photo des copeaux) ===== */
.matieres .recyclage { width: calc(100% - 2 * var(--marge)); max-width: calc(1320px - 2 * var(--marge)); margin: clamp(3rem, 6vw, 5rem) auto 0; padding: clamp(2rem, 5vw, 4rem); }
.recyclage .wp-block-cover__inner-container { max-width: 36rem; }
.recyclage h3 { margin: .5rem 0 0; font: 400 clamp(1.8rem, 3vw, 2.6rem)/1.1 var(--titre); }
.recyclage p { margin-top: .9rem; }
.recyclage .a-fournir { color: rgb(255 255 255 / .75); }

/* ===== Vidéo en boucle (bloc Vidéo, classe « boucle ») : cadrée comme les photos des fiches, noir et blanc puis couleur au survol ===== */
.machine-mini__vue video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
body .voile video { filter: grayscale(1) contrast(1.06) brightness(1.02); transition: filter 1.2s ease; }
body .machine-mini__vue:hover video { filter: grayscale(0) contrast(1) brightness(1); }
.boucle__bouton .icone-lecture, .boucle__bouton.en-pause .icone-pause { display: none; }
.boucle__bouton.en-pause .icone-lecture { display: inline; }
.boucle .depart-cycle--dedans { top: calc(8px + .6rem); right: calc(8px + .6rem); }   /* dans le cadre blanc de la fiche */

/* ===== Accueil · réalisations en boucle de requête (5 dernières fiches) : mise en page de l'ancienne composition fixe ===== */
.fiches--accueil > .wp-block-post { display: flex; }
.fiches--accueil > .wp-block-post > .fiche { flex: 1; }
.fiches--accueil > .wp-block-post:first-child { grid-column: span 2; grid-row: span 2; }
.fiche__photo .wp-block-post-featured-image { flex: 1; display: flex; margin: 0; }
.fiche--grande .wp-block-post-featured-image img { height: 100%; }
.fiches--accueil > .wp-block-post:nth-child(2) .fiche { transition-delay: .1s; } .fiches--accueil > .wp-block-post:nth-child(3) .fiche { transition-delay: .2s; } .fiches--accueil > .wp-block-post:nth-child(4) .fiche { transition-delay: .3s; } .fiches--accueil > .wp-block-post:nth-child(5) .fiche { transition-delay: .4s; }
@media (max-width: 781px) { .fiches--accueil > .wp-block-post:first-child { grid-row: span 1; } }

/* ===== 2026-11-30 · Frise de Savoir-faire : 4 étapes, bureau d'études mis en valeur (décision de Romain) ===== */
/* Survol des pastilles : réaction immédiate (le délai d'apparition de la frise ne s'applique plus au survol) */
.frise-projet .frise__etape:hover::after { transition-delay: 0s; }
/* Fond léger des étapes du bureau d'études (« frise__be ») : conception-programmation, documentation et contrôle */
.frise-projet .frise__be { background: rgb(190 145 38 / .09); padding-bottom: 1.4rem; }
@media (max-width: 860px) {
  .frise-projet .frise__be { padding-top: 1rem; padding-right: 1rem; }
  .frise-projet .frise__be::after { top: 2rem; }
}
