.heros { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .heros { grid-template-columns: minmax(0, 4.4fr) minmax(0, 7.6fr); } }
.tete-page h1 { max-width: 18ch; }
.reponse::before { background: linear-gradient(90deg, var(--turbine), var(--pompe)); }
.phrase { max-width: 24ch; font-size: clamp(25px, 2.7vw, 32px); }
.phrase b { color: var(--hyd); white-space: nowrap; }
.chiffres dd { font-size: 36px; }
.chiffres dd small { white-space: nowrap; }
.chiffres .sous { display: block; margin-top: 6px; font: 600 12.5px var(--sans); color: var(--pale); line-height: 1.3; }
.scene { aspect-ratio: 16 / 10.2; margin: 12px 0 0; --sc-ciel-a: #bcd7f2; --sc-ciel-b: #f1f6fb; }
.scene::before { left: 8%; right: 8%; top: 30%; bottom: 10%; background: linear-gradient(180deg, color-mix(in srgb, #c9c3b6 80%, transparent), color-mix(in srgb, #7cc3e8 60%, transparent)); }
.scene::after { display: none; }
.scene.nuit .s3-credit, .scene.nuit .s3-soleil { background: rgba(10, 18, 30, .6); color: #c9d4e2; }
.scene.grand .s3-total { max-width: 320px; }
@media (max-width: 599px) { .scene { aspect-ratio: 4 / 3.6; } }
.etat-scene { margin: 6px 0 0; padding: 0 4px; font-size: 14.5px; line-height: 1.45; min-height: 2.9em; }
.etat-scene b { font-weight: 700; }
.leg-scene { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; margin: 10px 0 0; padding: 10px 4px 0; border-top: 1px solid var(--trait); font-size: 12.5px; color: var(--pale); }
.leg-scene li { display: inline-flex; align-items: center; gap: 6px; }
.horloge .graphe { margin-top: 14px; position: relative; touch-action: pan-y; }
.horloge svg { display: block; width: 100%; height: auto; overflow: visible; }
.phrase-geo { margin: 14px 0 0; padding: 14px 16px; border-radius: 16px; background: var(--fond); font-size: 15.5px; line-height: 1.5; }
.phrase-geo b { font-weight: 700; }
/* cartes des 6 STEP */
.steps { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); list-style: none; margin: 0; padding: 0; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stp { padding: 18px 20px 16px; display: flex; flex-direction: column; gap: 8px; position: relative; overflow: hidden; scroll-margin-top: 70px; }
.stp::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--k, var(--arret-c)); transition: background .3s; }
.stp.pompe { --k: var(--pompe); } .stp.turbine { --k: var(--turbine); }
.stp-tete { display: flex; justify-content: space-between; align-items: start; gap: 10px; }
.stp h3 { margin: 0; font: 400 28px/1.05 var(--serif); }
.stp h3 small { display: block; font: 500 13px var(--sans); color: var(--pale); margin-top: 4px; }
.stp-cat { flex: none; font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: var(--fond); color: var(--pale); white-space: nowrap; }
.stp-mw { margin: 2px 0 0; font: 400 46px/.95 var(--serif); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stp-mw small { font: 600 14px var(--sans); color: var(--pale); margin-left: 5px; letter-spacing: 0; }
.stp-etat { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; font-size: 13.5px; color: var(--pale); }
.stp svg { width: 100%; height: 50px; display: block; overflow: visible; }
.stp-rx { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; list-style: none; margin: 0; padding: 0; }
.stp-rx li { display: grid; padding: 6px 9px; border-radius: 10px; background: var(--fond); font-size: 12.5px; line-height: 1.3; }
.stp-rx li span { color: var(--pale); font-variant-numeric: tabular-nums; }
.stp-maint { margin: 0; padding: 8px 10px; border-radius: 12px; font-size: 13px; line-height: 1.4; background: color-mix(in srgb, var(--solaire) 14%, var(--carte)); }
.stp-maint.vide { background: none; padding: 0 2px; color: var(--pale); }
.stp-lien { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; gap: 8px; }
.stp-lien a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 15px; border-radius: 999px; font: 700 13.5px/1.2 var(--sans); text-decoration: none; background: var(--accent); color: var(--accent-texte); }
.stp-lien a.second { background: var(--fond); color: var(--texte); }
.stp-lien a:focus-visible { outline: 3px solid var(--lien); outline-offset: 2px; }
.stp-c-g { stroke: var(--trait); }
.stp-c-cur { stroke: var(--texte); stroke-width: 1.2; stroke-dasharray: 3 3; }
/* maintenances */
.maint-t { overflow: hidden; }
.maint-t table { width: 100%; border-collapse: collapse; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.maint-t caption { text-align: left; padding: 14px 18px 4px; font-size: 13px; color: var(--pale); }
.maint-t th, .maint-t td { padding: 9px 12px; border-bottom: 1px solid var(--trait); text-align: left; white-space: nowrap; }
.maint-t thead th { font-size: 12.5px; color: var(--pale); }
.maint-t tr.encours td:first-child::before { content: "● "; color: var(--solaire); }
.maint-t .tab-defile { overflow-x: auto; }
/* textes */
.texte-c { padding: 22px 24px; font-size: 16px; line-height: 1.6; }
.texte-c p { margin: 0 0 10px; }
.texte-c p:last-child { margin-bottom: 0; }
.texte-c .graphe-note { font-size: 13px; }
.cats { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 12px 0 0; padding: 0; }
.cats li { padding: 7px 12px; border-radius: 12px; background: var(--fond); font-size: 14px; }
.cats li b { font-weight: 700; }
