/* Atelier Haute Tension : archétype « tableau-disjoncteurs ». Fond bleu-noir, accent jaune volt, tracé cyan très discret pour les pistes
   éteintes seulement. Polices : --police-titre (Space Grotesk) et --police-texte (IBM Plex Sans) viennent de donnees.json. */
:root {
  --fond: #0b0e13;
  --fond-2: #0f1319;
  --panneau: #141a22;
  --panneau-2: #1a212b;
  --ligne: rgba(241, 239, 232, .12);
  --ligne-forte: #3a4352;
  --texte: #f1efe8;
  --texte-doux: #b4bac4;
  --froid: #5fd4e6;
  --etiquette: 2rem;
  --rayon: 4px;
  --rayon-carte: 6px;
  --halo: rgba(255, 210, 63, .5);
}
html { background: var(--fond); }
body {
  background: var(--fond);
  color: var(--texte);
  font-family: var(--police-texte);
  font-size: 1.0625rem;
  line-height: 1.6;
}
h1, h2, h3 { font-family: var(--police-titre); line-height: 1.04; letter-spacing: -0.025em; margin: 0 0 .6em; font-weight: 700; }
h3 { font-size: 1.35rem; letter-spacing: -0.015em; line-height: 1.2; }
p { margin: 0 0 1em; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--fond); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.etiquette-demo { height: var(--etiquette); line-height: var(--etiquette); padding-block: 0; background: #05070a; color: #c4cad3; border-bottom: 1px solid var(--ligne); }

/* ---------- en-tête flottant : translucide sur la photo, puis barre pleine au défilement ---------- */
.entete { position: fixed; top: var(--etiquette); left: 0; right: 0; z-index: 70; color: var(--texte); background: rgba(11, 14, 19, .86); transition: background-color .25s, box-shadow .25s; }
html.defile .entete { top: 0; background: var(--fond); box-shadow: 0 1px 0 var(--ligne), 0 12px 30px -18px rgba(0, 0, 0, .8); }
.entete-interieur { display: flex; align-items: center; justify-content: space-between; min-height: 4.25rem; gap: 1rem; }
.marque { display: inline-flex; align-items: center; gap: .55rem; min-height: 2.75rem; font-family: var(--police-titre); font-weight: 700; font-size: 1.2rem; text-decoration: none; letter-spacing: -0.02em; }
.marque-signe { color: var(--accent); flex: none; }
.menu ul { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.menu a { text-decoration: none; }
.menu li a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.menu li a:hover { color: var(--accent); }
.menu-telephone { font-weight: 600; color: var(--accent); }
.menu-bouton { display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem; padding: 0 .9rem; background: transparent; color: inherit; border: 1.5px solid var(--ligne-forte); border-radius: var(--rayon); font: inherit; font-weight: 600; }
.menu-bouton-barres { width: 1.1rem; height: 2px; background: currentColor; position: relative; }
.menu-bouton-barres::before, .menu-bouton-barres::after { content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; }
.menu-bouton-barres::before { top: -6px; }
.menu-bouton-barres::after { top: 6px; }
@media (min-width: 900px) {
  .menu { display: flex; align-items: center; gap: 2rem; }
}
@media (max-width: 899px) {
  .menu { position: absolute; top: 100%; left: 0; right: 0; padding: 1rem var(--gouttiere) 1.5rem; background: var(--fond); border-bottom: 1px solid var(--ligne-forte); }
  .menu ul { flex-direction: column; gap: 0; }
  .menu li a, .menu-telephone { display: flex; align-items: center; min-height: 2.9rem; }
  .menu-telephone { border-top: 1px solid var(--ligne); margin-top: .5rem; padding-top: .5rem; }
}

/* ---------- boutons ---------- */
.bouton { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0 1.5rem; background: var(--accent); color: var(--fond); border: 1.5px solid var(--accent); border-radius: var(--rayon); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: background-color .2s, box-shadow .2s, transform .2s; }
.bouton:hover { background: #ffe07a; border-color: #ffe07a; box-shadow: 0 0 0 4px rgba(255, 210, 63, .18), 0 10px 30px -8px var(--halo); }
.bouton:active { transform: translateY(1px); }
.bouton-clair { background: rgba(11, 14, 19, .35); border-color: rgba(241, 239, 232, .7); color: var(--texte); font-weight: 600; }
.bouton-clair:hover { background: var(--texte); color: var(--fond); border-color: var(--texte); box-shadow: none; }
.lien-tel { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 600; text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.lien-tel:hover { color: var(--accent); }

/* ---------- ouverture plein écran ---------- */
.ouverture { position: relative; min-height: calc(100svh - var(--etiquette)); display: flex; align-items: flex-end; color: var(--texte); }
.ouverture-photo { position: absolute; inset: 0; z-index: -3; background: var(--fond); overflow: hidden; }
.ouverture-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
/* le voile fait partie du décor (photo + voile mesurés ensemble par le contrôle de contraste) */
.ouverture-photo::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(11, 14, 19, .9) 0%, rgba(11, 14, 19, .7) 50%, rgba(11, 14, 19, .22) 100%),
  linear-gradient(180deg, rgba(11, 14, 19, .35) 0%, rgba(11, 14, 19, .18) 40%, rgba(11, 14, 19, .96) 100%); }
.ouverture-texte { position: relative; z-index: 2; padding-block: 8.5rem 13rem; }
.surtitre { display: flex; align-items: center; gap: .7rem; font-size: .875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--texte); margin-bottom: 1.25rem; }
.voyant { width: .6rem; height: .6rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 210, 63, .2), 0 0 18px 2px var(--halo); flex: none; }
.ouverture h1 { font-size: clamp(2.7rem, 1rem + 7vw, 6.9rem); line-height: .96; letter-spacing: -0.04em; max-width: 13.5em; margin-bottom: .45em; text-wrap: balance; }
.lueur { color: var(--accent); text-shadow: 0 0 .6em rgba(255, 210, 63, .45); }
.chapo { font-size: clamp(1.0625rem, 1rem + .4vw, 1.3rem); max-width: 50ch; color: #dcdfe4; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 0; }
@media (max-width: 599px) {
  .ouverture-texte { padding-block: 7rem 15rem; }
  .actions .bouton { flex: 1 1 100%; }
}

/* ---------- trace de circuit (générée par site.js dans <main>) ---------- */
/* calques de <main> (contexte isolé) : photo d'ouverture -3, fonds des sections -2, circuit -1, puis le contenu. Le circuit passe DERRIÈRE le texte : rien ne le recouvre. */
main { position: relative; isolation: isolate; overflow-x: clip; }
.circuit { position: absolute; left: 0; top: 0; pointer-events: none; z-index: -1; overflow: visible; }
.circuit * { vector-effect: non-scaling-stroke; }
.circuit-froid { fill: none; stroke: var(--froid); stroke-opacity: .26; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.circuit-chaud { fill: none; stroke: var(--accent); stroke-width: 2.25; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 5px rgba(255, 210, 63, .7)); }
.pastille { fill: var(--fond); stroke: var(--froid); stroke-opacity: .45; stroke-width: 1.5; transition: fill .45s, stroke .45s, stroke-opacity .45s; }
.pastille.allumee { fill: var(--accent); stroke: var(--accent); stroke-opacity: 1; filter: drop-shadow(0 0 6px rgba(255, 210, 63, .85)); }
.branche { fill: none; stroke: var(--froid); stroke-opacity: .26; stroke-width: 1.5; stroke-linecap: round; transition: stroke .45s, stroke-opacity .45s; }
.branche.allumee { stroke: var(--accent); stroke-opacity: 1; stroke-width: 2.25; filter: drop-shadow(0 0 4px rgba(255, 210, 63, .7)); }
.etincelle { fill: #fff6d0; filter: drop-shadow(0 0 7px var(--accent)) drop-shadow(0 0 14px rgba(255, 210, 63, .8)); }
.mini-module { fill: #1b222d; stroke: var(--ligne-forte); stroke-width: 1.5; }
.mini-fente { fill: #080b0f; stroke: #2a323e; stroke-width: 1; }
.mini-manette { fill: #8d95a2; transition: transform .35s cubic-bezier(.3, 1.5, .5, 1), fill .3s; }
.mini-voyant { fill: #333b48; transition: fill .3s, filter .3s; }
.mini-on .mini-manette { fill: var(--accent); }
.mini-on .mini-voyant { fill: var(--accent); filter: drop-shadow(0 0 4px var(--accent)); }
.mini-rail { fill: #222a35; stroke: #343d4b; stroke-width: 1; }

/* sections : sous .circuit-actif (JavaScript, mouvement normal) une section est éteinte tant que le tracé ne l'a pas atteinte */
[data-circuit] { position: relative; }
.section-contenu { transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
html.circuit-actif [data-circuit]:not(.allumee) .section-contenu { opacity: .2; transform: translateY(22px); }
/* halo jaune au niveau du nœud : un vrai élément (une ombre portée, ni dégradé ni pseudo-élément : le contrôle de contraste ne sait pas juger sous ceux-là) */
.halo { position: absolute; left: 0; top: var(--noeud-y, 6rem); width: 2px; height: 2px; border-radius: 50%; box-shadow: 0 0 220px 150px rgba(255, 210, 63, .075); transform: translate(0, -50%); opacity: 0; transition: opacity 1.2s ease, transform 1.6s cubic-bezier(.2, .7, .2, 1); pointer-events: none; z-index: 0; }
[data-circuit].allumee .halo, html:not(.circuit-actif) .halo { opacity: 1; }
.section-contenu { position: relative; z-index: 1; }

/* ---------- en-têtes de section ---------- */
.prestations, .methode, .zone, .contact { padding-block: clamp(4.5rem, 9vw, 9rem); overflow: clip; }
.prestations { --fond-section: var(--fond); }
.methode { --fond-section: var(--fond-2); border-top: 1px solid var(--ligne); }
.zone { --fond-section: var(--fond); border-top: 1px solid var(--ligne); }
.contact { --fond-section: var(--fond-2); border-top: 1px solid var(--ligne); }
.fond-section { position: absolute; inset: 0; background: var(--fond-section); z-index: -2; pointer-events: none; }
.rubrique { display: flex; align-items: center; gap: .9rem; margin: 0 0 1.1rem; font-size: .875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--texte-doux); }
.rubrique-num { display: inline-flex; align-items: center; justify-content: center; min-width: 2.2rem; padding: .15rem .5rem; border: 1.5px solid var(--accent); border-radius: var(--rayon); color: var(--accent); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.titre-section { font-size: clamp(2.3rem, 1rem + 4.8vw, 5rem); line-height: .98; letter-spacing: -0.035em; max-width: 15em; margin-bottom: .45em; text-wrap: balance; }
.chapeau { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: var(--texte-doux); }
.section-tete { margin-bottom: clamp(2rem, 4vw, 3.5rem); }

/* ---------- prestations : tableau de disjoncteurs ---------- */
.tableau-zone { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "tab" "fic" "urg"; gap: 1.25rem; align-items: start; }
@media (min-width: 1100px) { .tableau-zone { grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); grid-template-areas: "tab fic" "urg fic"; column-gap: 2rem; row-gap: 1.25rem; } }
.tableau-colonne { display: contents; }
.tableau { grid-area: tab; }
.fiches { grid-area: fic; }
.urgence { grid-area: urg; }
.tableau { min-width: 0; background: var(--panneau); border: 1px solid var(--ligne-forte); border-radius: var(--rayon-carte); padding: 1rem clamp(.65rem, 2vw, 1.1rem) 1.25rem; box-shadow: 0 30px 60px -40px #000, inset 0 1px 0 rgba(255, 255, 255, .05); }
html:not(.js) .tableau { display: none; }
.tableau-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; padding-bottom: .8rem; border-bottom: 1px dashed var(--ligne-forte); font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; }
.tableau-nom { font-weight: 700; color: var(--texte); }
.tableau-aide { color: var(--texte-doux); }
.rail { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; padding: .35rem 0 0; }
.rail::before { content: ""; position: absolute; left: -.5rem; right: -.5rem; top: 44%; height: 1.15rem; background: repeating-linear-gradient(90deg, #232b37 0 14px, #1a212b 14px 17px); border-block: 1px solid #323b49; z-index: 0; border-radius: 2px; }
.rail-aide { display: flex; align-items: center; justify-content: center; margin: 0; padding: .5rem; border: 1px dashed var(--ligne-forte); border-radius: var(--rayon); color: var(--texte-doux); font-size: .8125rem; text-align: center; letter-spacing: .06em; text-transform: uppercase; }
@media (min-width: 600px) { .rail { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .8rem; } .rail-aide { display: none; } }
@media (min-width: 1100px) { .rail { gap: .45rem; } }

.disj { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .45rem; min-height: 14rem; padding: .7rem .3rem .6rem; background: linear-gradient(180deg, #252d39 0%, #1b222c 100%); color: var(--texte); border: 1px solid var(--ligne-forte); border-radius: var(--rayon); font: inherit; cursor: pointer; transition: border-color .25s, box-shadow .35s, transform .15s, background-color .25s; -webkit-tap-highlight-color: transparent; }
.disj:hover { border-color: #5a6578; }
.disj:active { transform: translateY(1px) scale(.99); }
.disj[aria-pressed="true"] { border-color: rgba(255, 210, 63, .7); box-shadow: 0 0 0 1px rgba(255, 210, 63, .25), 0 18px 40px -16px rgba(255, 210, 63, .5); }
.disj-voyant { width: .5rem; height: .5rem; border-radius: 50%; background: #3a4352; transition: background-color .3s, box-shadow .3s; flex: none; }
.disj[aria-pressed="true"] .disj-voyant { background: var(--accent); box-shadow: 0 0 0 3px rgba(255, 210, 63, .22), 0 0 14px 2px var(--halo); }
.disj-levier { flex: none; width: 3.1rem; height: auto; overflow: visible; }
.disj-fente { fill: #080b0f; stroke: #343d4b; stroke-width: 1.5; }
.disj-manette { transition: transform .32s cubic-bezier(.3, 1.45, .5, 1); }
.disj[aria-pressed="true"] .disj-manette { transform: translateY(-40px); }
.disj-poignee { fill: #8d95a2; stroke: #aeb5c0; stroke-width: 1; transition: fill .25s, stroke .25s; }
.disj[aria-pressed="true"] .disj-poignee { fill: var(--accent); stroke: #fff0b0; }
.disj-stries { fill: none; stroke: rgba(11, 14, 19, .55); stroke-width: 2; stroke-linecap: round; }
.disj-num { font-size: .8125rem; font-weight: 600; letter-spacing: .1em; color: var(--texte-doux); font-variant-numeric: tabular-nums; }
.disj-nom { display: block; width: calc(100% - .3rem); margin-top: auto; padding: .28rem .1rem; background: #e9e7e1; color: var(--fond); border-radius: 2px; font-size: .75rem; font-weight: 700; line-height: 1.15; text-align: center; letter-spacing: .01em; }
@media (min-width: 600px) { .disj-nom { font-size: .8125rem; } .disj-levier { width: 3.5rem; } }

.urgence { padding: 1.25rem 1.25rem 1rem; border: 1px solid var(--ligne); border-left: 3px solid var(--accent); border-radius: var(--rayon-carte); background: rgba(255, 255, 255, .02); }
.urgence h3 { margin-bottom: .4em; }
.urgence p { color: var(--texte-doux); margin-bottom: .6em; }
.urgence-tel { display: inline-flex; align-items: center; min-height: 2.75rem; font-family: var(--police-titre); font-size: 1.9rem; font-weight: 700; letter-spacing: -0.02em; color: var(--accent); text-decoration: none; }
.urgence-horaires { display: grid; grid-template-columns: auto 1fr; gap: .15rem 1.25rem; margin: .25rem 0 0; padding-top: .8rem; border-top: 1px dashed var(--ligne-forte); font-size: .9375rem; color: var(--texte-doux); }
.urgence-horaires dt { font-weight: 600; color: var(--texte); }
.urgence-horaires dd { margin: 0; }

/* fiches : toutes visibles sans JavaScript ; avec JavaScript une seule, celle du disjoncteur ON */
.fiches { min-width: 0; }
html.js .fiche:not(.ouverte):not(.fiche-repos) { display: none; }
.fiche { display: grid; grid-template-columns: 1fr; gap: 1.25rem; padding: clamp(1rem, 2.5vw, 1.6rem); background: var(--panneau); border: 1px solid var(--ligne); border-top: 3px solid var(--accent); border-radius: var(--rayon-carte); margin-bottom: 1.25rem; }
@media (min-width: 600px) { .fiche { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 1.75rem; } }
.fiche.entrante { animation: fiche-entree .55s cubic-bezier(.2, .8, .2, 1); }
@keyframes fiche-entree { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.fiche-photo { margin: 0; align-self: start; }
.fiche-photo img { width: 100%; height: auto; border-radius: var(--rayon); max-height: min(600px, 70svh); object-fit: cover; }
.fiche-texte { min-width: 0; }
.fiche-code { display: flex; align-items: center; gap: .6rem; margin: 0 0 .8rem; font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.fiche-voyant { width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px 2px var(--halo); }
.fiche h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); line-height: 1.05; letter-spacing: -0.03em; }
.fiche-texte > p { color: var(--texte-doux); }
.fiche-liste { list-style: none; margin: 1.1rem 0 1.5rem; padding: 0; display: grid; gap: .65rem; }
.fiche-liste li { position: relative; padding: .1rem 0 .1rem 1.7rem; }
.fiche-liste li::before { content: ""; position: absolute; left: 0; top: .5em; width: .85rem; height: 2px; background: var(--accent); box-shadow: 0 0 8px var(--halo); }
.fiche-liste li::after { content: ""; position: absolute; left: .85rem; top: calc(.5em - 3px); width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.fiche-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; margin: 0; }
.fiche-repos { display: block; padding-block: 3rem; border-top-color: var(--ligne-forte); }
.fiche-repos[hidden] { display: none; }
.fiche-repos h3 { color: var(--texte-doux); }
.fiche-repos p { color: var(--texte-doux); max-width: 40ch; margin: 0; }

/* ---------- méthode ---------- */
.methode-grille { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .methode-grille { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 5.5rem); } }
.methode-photo { margin: 0; width: min(100%, calc(min(600px, 70svh) * .8)); }
.methode-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--rayon); }
@media (min-width: 900px) { .methode-photo { position: sticky; top: 7rem; } }
.etapes { list-style: none; margin: 0 0 2rem; padding: 0; counter-reset: etape; display: grid; gap: 0; }
.etape { position: relative; display: grid; grid-template-columns: 3.6rem minmax(0, 1fr) auto; gap: 0 1.1rem; align-items: start; padding: 1.35rem 0; border-top: 1px solid var(--ligne); }
.etape:last-child { border-bottom: 1px solid var(--ligne); }
.etape-num { font-family: var(--police-titre); font-size: 2.2rem; font-weight: 700; line-height: 1; color: var(--accent); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.etape h3 { margin-bottom: .3em; font-size: 1.5rem; }
.etape p { margin: 0; color: var(--texte-doux); }
.etape-etiquette { padding: .25rem .6rem; border: 1px solid var(--ligne-forte); border-radius: var(--rayon); font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--texte-doux); white-space: nowrap; }
@media (max-width: 599px) {
  .etape { grid-template-columns: 2.8rem minmax(0, 1fr); }
  .etape-etiquette { grid-column: 2; justify-self: start; margin-top: .75rem; }
  .etape-num { font-size: 1.8rem; }
}
.methode-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; margin: 0; }
[data-reveal] { will-change: clip-path; }

/* ---------- zone ---------- */
.zone-grille { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .zone-grille { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 5vw, 4.5rem); } }
.communes { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--ligne); }
.communes li { display: flex; align-items: center; gap: 1rem; min-height: 3.4rem; padding: .35rem 0; border-bottom: 1px solid var(--ligne); font-family: var(--police-titre); font-size: 1.45rem; font-weight: 600; letter-spacing: -0.02em; }
.commune-pastille { width: .8rem; height: .8rem; border-radius: 50%; border: 2px solid var(--froid); flex: none; transition: background-color .5s, border-color .5s, box-shadow .5s; }
.allumee .commune-pastille, html:not(.circuit-actif) .commune-pastille { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 10px var(--halo); }
.commune-depart { margin-left: auto; padding: .15rem .55rem; border: 1px solid var(--accent); border-radius: var(--rayon); font-family: var(--police-texte); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.zone-note { color: var(--texte-doux); max-width: 46ch; margin: 0; }
.carte { margin: 0; padding: clamp(.75rem, 2vw, 1.25rem); background: var(--panneau); border: 1px solid var(--ligne-forte); border-radius: var(--rayon-carte); background-image: linear-gradient(rgba(95, 212, 230, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(95, 212, 230, .05) 1px, transparent 1px); background-size: 32px 32px; }
.carte-svg { display: block; width: 100%; height: auto; }
.carte figcaption { margin-top: .6rem; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--texte-doux); }
.piste-fond { stroke: var(--froid); stroke-opacity: .3; stroke-width: 2; }
.piste { stroke: var(--accent); stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 0; filter: drop-shadow(0 0 5px rgba(255, 210, 63, .7)); transition: stroke-dashoffset 1.8s cubic-bezier(.4, 0, .2, 1); }
.piste:nth-of-type(6) { transition-delay: .15s; } .piste:nth-of-type(7) { transition-delay: .3s; } .piste:nth-of-type(8) { transition-delay: .45s; }
html.circuit-actif [data-circuit]:not(.allumee) .piste { stroke-dashoffset: 1; }
.noeud { fill: var(--fond); stroke: var(--accent); stroke-width: 3; }
.noeud-centre { fill: var(--accent); filter: drop-shadow(0 0 8px var(--halo)); }
.noeud-centre-halo { fill: rgba(255, 210, 63, .12); stroke: rgba(255, 210, 63, .45); stroke-width: 1.5; }
.carte-etiquettes text { fill: var(--texte); font-family: var(--police-texte); font-size: 17px; font-weight: 600; }
.carte-etiquettes .etiquette-centre { fill: var(--accent); font-family: var(--police-titre); font-size: 22px; font-weight: 700; }
@media (max-width: 599px) { .carte-etiquettes text { font-size: 25px; } .carte-etiquettes .etiquette-centre { font-size: 30px; } }

/* ---------- contact ---------- */
.contact-interieur { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .contact-interieur { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2.5rem, 6vw, 5.5rem); } }
.contact-tel { display: inline-flex; align-items: center; min-height: 3rem; font-family: var(--police-titre); font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-weight: 700; letter-spacing: -0.03em; text-decoration: none; color: var(--accent); }
address { font-style: normal; margin-bottom: 1.25rem; color: var(--texte-doux); }
address a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--texte); }
.horaires { display: grid; grid-template-columns: auto 1fr; gap: .25rem 1.5rem; margin: 0; padding-top: 1rem; border-top: 1px dashed var(--ligne-forte); color: var(--texte-doux); }
.horaires dt { font-weight: 600; color: var(--texte); }
.horaires dd { margin: 0; }
.contact-formulaire { padding: clamp(1.1rem, 3vw, 2rem); background: var(--panneau); border: 1px solid var(--ligne-forte); border-radius: var(--rayon-carte); }
.formulaire { display: grid; gap: 1rem; }
.champ label { display: block; font-weight: 600; margin-bottom: .35rem; }
.champ-requis { color: var(--accent); }
.champ input, .champ textarea { width: 100%; min-height: 3rem; padding: .7rem .9rem; background: var(--fond); color: var(--texte); border: 1.5px solid #5a6578; border-radius: var(--rayon); font: inherit; }
.champ input:focus, .champ textarea:focus { border-color: var(--accent); outline: 3px solid rgba(255, 210, 63, .35); outline-offset: 0; }
.champ textarea { min-height: 8rem; resize: vertical; }
.formulaire-statut { padding: .9rem 1rem; background: var(--fond); border-left: 4px solid var(--accent); border-radius: var(--rayon); margin: 0; }
.avis { margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 1.1rem 1.25rem; border: 1.5px dashed var(--ligne-forte); border-radius: var(--rayon-carte); color: var(--texte-doux); text-align: center; }

/* ---------- pied ---------- */
.pied { background: #05070a; color: var(--texte); border-top: 1px solid var(--ligne); }
.pied-interieur { padding-block: 3rem 1rem; color: var(--texte-doux); }
.pied-interieur p { margin-bottom: .4em; }
.pied-nom { font-family: var(--police-titre); font-size: 1.6rem; font-weight: 700; color: var(--texte); letter-spacing: -0.03em; }
.pied-zone { font-size: .9375rem; }
.mention-pied { border-top: 1px solid var(--ligne); color: #b4bac4; }

/* ---------- barre d'appel (téléphone) ---------- */
.barre-appel a { background: var(--accent); color: var(--fond); font-weight: 700; }

/* ---------- mouvement ---------- */
@media (prefers-reduced-motion: reduce) {
  .section-contenu, .disj-manette, .piste, .pastille, .branche { transition: none; }
}
