:root {
  --fond: #e8eef1;
  --papier: #f8fbfc;
  --encre: #071b27;
  --texte: #223943;
  --gris: #556a73;
  --ligne: #aebdc4;
  --acier: #8da0a8;
  --acier-clair: #d3dfe3;
  --corail: #dfff36;
  --corail-fonce: #345b00;
  --corail-pale: #efffb0;
  --nuit: #071b27;
  --nuit-texte: #dce8ec;
  --rayon: 2px;
  --largeur: 1160px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font: 400 17px/1.62 "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
img, svg { max-width: 100%; }
a { color: var(--corail-fonce); text-underline-offset: 3px; }
a:hover { color: var(--encre); }
h1, h2, h3 { color: var(--encre); line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(2.05rem, 5.2vw, 3.35rem); font-weight: 700; letter-spacing: -0.035em; margin: 0 0 18px; }
h2 { font-size: clamp(1.32rem, 2.6vw, 1.7rem); font-weight: 700; letter-spacing: -0.02em; margin: 0 0 12px; }
p { margin: 0 0 14px; }

.saut { position: absolute; left: -999px; top: 8px; background: var(--papier); padding: 8px 12px; border-radius: 6px; }
.saut:focus { left: 12px; z-index: 20; }

.entete { background: var(--nuit); border-bottom: 4px solid var(--corail); position: sticky; top: 0; z-index: 10; }
.entete__rangee { max-width: var(--largeur); margin: 0 auto; padding: 15px 24px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.marque { display: inline-flex; align-items: center; gap: 10px; color: var(--papier); text-decoration: none; font-weight: 700; font-size: 1.06rem; letter-spacing: -0.01em; margin-right: auto; }
.marque:hover { color: var(--corail); }
.marque__logo { width: 34px; height: 34px; flex: none; }
.logo-cadre { fill: var(--encre); stroke: currentColor; stroke-width: 2; }
.logo-lames { fill: none; stroke: var(--papier); stroke-width: 2.2; stroke-linecap: square; }
.logo-air, .logo-fleche { fill: none; stroke: var(--corail); stroke-width: 2.2; stroke-linecap: square; stroke-linejoin: miter; }
.navigation { display: flex; align-items: center; gap: 22px; }
.navigation a:not(.bouton) { color: var(--nuit-texte); text-decoration: none; font-weight: 500; padding: 4px 0; border-bottom: 2px solid transparent; }
.navigation a:not(.bouton):hover, .navigation a[aria-current="page"] { color: var(--corail); border-bottom-color: var(--corail); }
.bascule { display: none; align-items: center; gap: 9px; font: 600 0.95rem "IBM Plex Sans", system-ui, sans-serif; color: var(--papier); background: transparent; border: 1px solid #79909a; border-radius: 0; padding: 8px 12px; cursor: pointer; }
.bascule__traits, .bascule__traits::before, .bascule__traits::after { display: block; width: 18px; height: 2px; background: var(--corail); border-radius: 0; position: relative; }
.bascule__traits::before, .bascule__traits::after { content: ""; position: absolute; left: 0; }
.bascule__traits::before { top: -6px; }
.bascule__traits::after { top: 6px; }

@media (max-width: 860px) {
  .entete__rangee { gap: 10px; padding: 10px 16px; }
  .marque { font-size: 0.95rem; gap: 8px; white-space: nowrap; }
  .marque__logo { width: 28px; height: 28px; }
  .bascule { padding: 7px 10px; }
  .js .bascule { display: inline-flex; }
  .js .navigation { display: none; }
  .navigation { width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 0 4px; }
  .navigation a:not(.bouton) { padding: 12px 2px; border-bottom: 1px solid #36505b; }
  .navigation .bouton { margin-top: 12px; text-align: center; }
  .js .navigation--ouverte { display: flex; }
}

main { max-width: var(--largeur); margin: 0 auto; padding: 0 24px 72px; }
.intro { display: grid; gap: clamp(28px, 5vw, 70px); padding: clamp(42px, 7vw, 82px) 0 42px; align-items: center; }
.intro--figure { grid-template-columns: minmax(0, .88fr) minmax(430px, 1.12fr); }
.intro__texte { position: relative; z-index: 1; }
.surtitre { color: var(--gris); font: 600 .88rem/1.3 "IBM Plex Mono", monospace; letter-spacing: 0; margin: 0 0 18px; }
.surtitre::before { content: "// "; color: var(--corail-fonce); }
.chapeau { font-size: clamp(1.08rem, 1.6vw, 1.24rem); color: var(--gris); max-width: 58ch; }
.intro__figure { margin: 0; background: var(--papier); border: 1px solid var(--encre); border-radius: 0; padding: 18px; }
.intro__figure--photo { padding: 0; overflow: hidden; position: relative; min-height: 430px; border-bottom: 8px solid var(--corail); }
.intro__figure--photo img { display: block; width: 100%; height: 100%; min-height: 430px; object-fit: cover; }
.intro__figure--photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 16px; border-radius: 0; background: rgba(7, 27, 39, .94); color: #e7eff2; font: 500 .84rem/1.45 "IBM Plex Mono", monospace; }
.reperes { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--nuit); border-bottom: 8px solid var(--corail); margin-bottom: 18px; }
.reperes span { position: relative; padding: 16px 24px; color: var(--nuit-texte); font: 500 .82rem/1.35 "IBM Plex Mono", monospace; }
.reperes span::before { content: "+"; display: inline-block; margin-right: 10px; color: var(--corail); font-weight: 600; }
.reperes span + span { border-left: 1px solid var(--ligne); }
@media (max-width: 860px) { .intro--figure { grid-template-columns: 1fr; } .intro { padding-top: 28px; } }
@media (max-width: 620px) {
  main { padding-inline: 18px; }
  .intro { gap: 30px; padding-bottom: 28px; }
  .intro__figure--photo, .intro__figure--photo img { min-height: 300px; }
  .intro__figure--photo figcaption { position: static; background: var(--nuit); }
  .reperes { grid-template-columns: 1fr; }
  .reperes span { padding: 11px 4px; }
  .reperes span + span { border-left: 0; border-top: 1px solid var(--ligne); }
  .carte { grid-template-columns: 38px 1fr; gap: 12px; }
  .carte__texte { grid-column: 2; }
}

.bloc { max-width: 800px; padding: 40px 0; border-top: 1px solid var(--ligne); }
.bloc ul { padding-left: 1.15em; margin: 0 0 14px; }
.bloc li { margin-bottom: 8px; }
.signes li::marker { color: var(--corail); }

.encart { max-width: 800px; background: var(--acier-clair); border-left: 8px solid var(--encre); border-radius: 0; padding: 22px 24px 10px; margin: 6px 0 24px; }
.encart h2 { font-size: 1.2rem; }

.astuce { background: var(--papier); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 14px 16px; }
.alerte { background: var(--corail-pale); color: var(--encre); border: 1px solid var(--encre); border-radius: 0; padding: 14px 16px; font-weight: 600; }

.tableau-enveloppe { overflow-x: auto; margin: 0 0 14px; border: 1px solid var(--encre); border-radius: 0; background: var(--papier); }
.tableau { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.tableau th, .tableau td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--ligne); vertical-align: top; }
.tableau thead th { background: var(--nuit); color: var(--nuit-texte); font-weight: 600; font-size: 0.86rem; letter-spacing: 0.02em; }
.tableau tbody tr:last-child td { border-bottom: 0; }
.tableau td:last-child { white-space: nowrap; }
.tableau td[class], .tableau td + td + td { white-space: normal; }

.cartes { display: grid; gap: 0; border-top: 1px solid var(--encre); }
.carte { display: grid; grid-template-columns: 48px minmax(150px, .55fr) 1fr; gap: 18px; align-items: center; background: transparent; border: 0; border-bottom: 1px solid var(--encre); border-radius: 0; padding: 18px 6px; text-decoration: none; color: var(--texte); transition: background-color .14s; }
.carte:hover { background: var(--papier); color: var(--texte); }
.carte svg { width: 34px; height: 34px; color: var(--corail-fonce); }
.carte .ill-trait { stroke: currentColor; }
.carte__titre { font-weight: 650; color: var(--encre); font-size: 1.05rem; }
.carte__texte { font-size: 0.95rem; color: var(--gris); }

.bloc--demande { background: var(--nuit); color: var(--nuit-texte); border-radius: 0; padding: clamp(28px, 5vw, 48px); border-top: 8px solid var(--corail); margin-top: 28px; max-width: none; }
.bloc--demande h2 { color: var(--papier); }

.bouton { display: inline-block; background: var(--corail); color: var(--encre); font-weight: 700; text-decoration: none; padding: 14px 23px; border-radius: 0; border: 1px solid var(--encre); box-shadow: 5px 5px 0 var(--encre); font-family: inherit; font-size: 1rem; cursor: pointer; }
.bouton:hover { background: var(--papier); color: var(--encre); transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--encre); }
.bouton--petit { padding: 9px 15px; font-size: 0.95rem; }
.navigation .bouton--petit { color: var(--encre); box-shadow: none; border-color: var(--corail); }
.appel { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; width: fit-content; }
.appel span { color: var(--gris); font: 600 .78rem/1.25 "IBM Plex Mono", monospace; }
.outil { margin: 28px 0; padding: clamp(20px, 4vw, 34px); border: 1px solid var(--encre); border-top: 8px solid var(--corail); background: var(--papier); }
.outil h2, .outil h3 { margin-top: 0; }
.outil fieldset { margin: 18px 0; padding: 0; border: 0; display: grid; gap: 9px; }
.outil legend { margin-bottom: 10px; font-weight: 700; }
.outil label { display: flex; gap: 10px; align-items: flex-start; }
.outil input, .outil select { accent-color: var(--corail-fonce); }
.outil select { width: 100%; max-width: 420px; padding: 10px; border: 1px solid var(--acier); background: #fff; font: inherit; }
.outil__resultat { margin-top: 18px; padding: 18px; background: var(--nuit); color: var(--nuit-texte); border-left: 6px solid var(--corail); }
.outil__resultat strong { color: var(--papier); }
.grille-guides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.guide-lien { display: block; padding: 20px; border: 1px solid var(--ligne); background: var(--papier); text-decoration: none; }
.guide-lien:hover { border-color: var(--encre); transform: translateY(-2px); }
.guide-lien strong { display: block; color: var(--encre); margin-bottom: 5px; }
.guide-lien span { color: var(--gris); font-size: .92rem; }
.sources { margin: 34px 0 8px; padding: 18px 20px; border-left: 4px solid var(--acier); background: #e8eef0; color: var(--gris); font-size: .88rem; }
.sources h2 { font-size: 1rem; margin: 0 0 8px; }
.sources ul { margin: 0; padding-left: 20px; }
.sources li + li { margin-top: 5px; }
.liste-verification li + li { margin-top: 10px; }
@media (max-width: 620px) { .grille-guides { grid-template-columns: 1fr; } }

.questions dl { margin: 0; }
.questions dt { font-weight: 650; color: var(--encre); margin-top: 16px; }
.questions dd { margin: 4px 0 0; }

.formulaire { max-width: 640px; display: grid; gap: 22px; padding: 6px 0 20px; }
.formulaire fieldset { border: 1px solid var(--encre); border-radius: 0; background: var(--papier); padding: 18px 20px 20px; margin: 0; display: grid; gap: 6px; }
.formulaire legend { font-weight: 700; color: var(--encre); padding: 0 6px; }
.formulaire label { font-weight: 600; color: var(--encre); margin-top: 8px; }
.formulaire input, .formulaire select, .formulaire textarea { width: 100%; font: inherit; color: var(--texte); padding: 11px 12px; border: 1px solid var(--acier); border-radius: 0; background: var(--papier); }
.formulaire input:focus, .formulaire select:focus, .formulaire textarea:focus { outline: 2px solid var(--corail); outline-offset: 1px; border-color: var(--corail); }
.facultatif { font-weight: 400; color: var(--gris); }
.consentement { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 0.95rem; }
.consentement input { width: auto; margin-top: 5px; flex: none; accent-color: var(--corail); }
.piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.pied { background: var(--nuit); color: var(--nuit-texte); }
.pied__rangee { max-width: var(--largeur); margin: 0 auto; padding: 34px 20px 40px; }
.pied__marque { font-weight: 700; color: var(--papier); }
.pied p { max-width: 64ch; font-size: 0.95rem; }
.pied a { color: var(--nuit-texte); }
.pied__liens { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.pied__guides { padding-top: 14px; border-top: 1px solid #36505b; }
.pied__note { color: var(--acier); font-size: 0.85rem; }

.illustration { display: block; width: 100%; height: auto; }
.schema-explicatif { margin: 26px 0 8px; border: 1px solid var(--encre); background: var(--papier); }
.schema-explicatif .illustration { max-height: 340px; padding: clamp(18px, 4vw, 34px); }
.schema-explicatif figcaption { border-top: 1px solid var(--encre); padding: 13px 16px; color: var(--gris); font-size: .9rem; }
.schema-explicatif figcaption strong { color: var(--encre); }
.mini-flux { margin: 26px 0 8px; border: 1px solid var(--encre); background: var(--papier); }
.mini-flux svg { display: block; width: 100%; height: auto; }
.mini-flux__photo { filter: saturate(.88) contrast(1.04); }
.mini-flux__etiquette { fill: rgba(8, 31, 42, .9); }
.mini-flux__titre { fill: #f6fafb; font: 700 42px "IBM Plex Mono", monospace; letter-spacing: .04em; }
.mini-flux__particules circle, .mini-flux__depot circle { fill: #8f765d; stroke: #44382d; stroke-width: 4; filter: drop-shadow(0 5px 4px rgba(0,0,0,.34)); }
.mini-flux__particules--droites, .mini-flux__particules--coude, .mini-flux__particules--passantes, .mini-flux__depot { opacity: 0; }
.mini-flux.est-en-marche .mini-flux__particules--droites { animation: mini-droit 3.9s linear forwards; }
.mini-flux.est-en-marche .mini-flux__particules--coude { animation: mini-coude 3.9s ease-in-out forwards; }
.mini-flux.est-en-marche .mini-flux__particules--passantes { animation: mini-coude-passantes 3.9s ease-in-out forwards; }
.mini-flux.est-en-marche .mini-flux__depot { animation: mini-depot 3.9s ease-in-out forwards; }
.mini-flux__verdict { fill: #f3f7f8; paint-order: stroke; stroke: rgba(8,31,42,.88); stroke-width: 13px; stroke-linejoin: round; font: 650 39px "Instrument Sans", system-ui, sans-serif; }
.mini-flux figcaption { display: flex; justify-content: space-between; gap: 18px; align-items: center; border-top: 1px solid var(--encre); padding: 12px 16px; color: var(--gris); font-size: .9rem; }
.mini-flux figcaption strong { color: var(--encre); }
.mini-flux button { flex: none; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: var(--corail-fonce); padding: 3px 0; font: 600 .78rem "IBM Plex Mono", monospace; cursor: pointer; }
@keyframes mini-droit {
  0% { opacity: 0; transform: translateX(0); }
  12% { opacity: 1; }
  68% { opacity: 1; transform: translateX(380px); }
  100% { opacity: 0; transform: translateX(680px); }
}
@keyframes mini-coude {
  0% { opacity: 0; transform: translate(0,0); }
  12% { opacity: 1; }
  54% { opacity: 1; transform: translate(250px,0); }
  74% { opacity: .9; transform: translate(300px,12px); }
  100% { opacity: 0; transform: translate(315px,20px); }
}
@keyframes mini-coude-passantes {
  0%, 10% { opacity: 0; transform: translate(0,0); }
  18% { opacity: 1; }
  58% { opacity: 1; transform: translate(365px,0); }
  72% { opacity: 1; transform: translate(455px,70px); }
  88% { opacity: 1; transform: translate(475px,260px); }
  100% { opacity: 0; transform: translate(475px,450px); }
}
@keyframes mini-depot {
  0%, 64% { opacity: 0; transform: scale(.7); }
  82%, 100% { opacity: 1; transform: scale(1); }
}
@media (max-width: 560px) {
  .mini-flux__titre { font-size: 48px; }
  .mini-flux__verdict { font-size: 45px; }
  .mini-flux figcaption { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .mini-flux__particules--droites { opacity: 0; }
  .mini-flux__particules--coude { opacity: 0; }
  .mini-flux__particules--passantes { opacity: 0; }
  .mini-flux__depot { opacity: 1; }
  .mini-flux button { display: none; }
}
.ill-trait { fill: none; stroke: var(--encre); stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; }
.ill-mince { stroke-width: 1.6; }
.ill-acier { fill: var(--acier-clair); stroke: var(--encre); stroke-width: 2; stroke-linejoin: round; }
.ill-grille { fill: none; stroke: var(--encre); stroke-width: 4; stroke-dasharray: 3 3; }
.ill-poussiere { fill: var(--gris); }
.ill-air, .ill-fleche { fill: none; stroke: var(--corail); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ill-noyau { fill: var(--papier); stroke: var(--encre); stroke-width: 2; }
.ill-sol { fill: none; stroke: var(--gris); stroke-width: 2; stroke-dasharray: 6 5; }
.ill-texte { fill: var(--gris); font: 500 13px "Instrument Sans", system-ui, sans-serif; }
.ill-plein { fill: currentColor; }
.ill-plein-creux { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linejoin: round; }
.marque .ill-air { stroke-width: 2.4; }

.histoire { height: 300vh; margin: 34px 0 54px; border-top: 1px solid var(--encre); }
.histoire__scene { position: sticky; top: 76px; min-height: calc(100vh - 76px); display: grid; grid-template-columns: minmax(250px, .72fr) minmax(430px, 1.28fr); gap: clamp(28px, 6vw, 76px); align-items: center; padding: 36px 0; }
.histoire__repere { color: var(--corail-fonce); font: 600 .82rem/1.3 "IBM Plex Mono", monospace; margin-bottom: 12px; }
.histoire__intro { color: var(--gris); }
.histoire__etapes { list-style: none; padding: 18px 0 0; margin: 0; border-top: 1px solid var(--ligne); }
.histoire__etapes li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 10px 0; color: var(--gris); font-size: .92rem; transition: color .2s, transform .2s; }
.histoire__etapes li span { font: 500 .76rem/1.6 "IBM Plex Mono", monospace; }
.histoire__etapes li.est-active { color: var(--encre); transform: translateX(8px); font-weight: 600; }
.histoire__etapes li.est-active span { color: var(--corail-fonce); }
.histoire__visuel { margin: 0; border: 1px solid var(--encre); background: #cfdce1; }
.histoire__visuel svg { display: block; width: 100%; height: auto; }
.histoire__coque { fill: #72868f; stroke: var(--encre); stroke-width: 3; }
.histoire__interieur { fill: #e7eef1; stroke: var(--encre); stroke-width: 2; }
.histoire__air { fill: none; stroke: #278ca0; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 12 12; opacity: calc(.12 + var(--progres) * .88); stroke-dashoffset: calc(var(--progres) * -120px); }
.histoire__air--2 { stroke-dashoffset: calc(var(--progres) * -180px); }
.histoire__air--3 { stroke-dashoffset: calc(var(--progres) * -230px); }
.histoire__brosse { fill: none; stroke: var(--encre); stroke-width: 4; transform-origin: 198px 180px; transform: translateX(calc(var(--progres) * 218px)) rotate(calc(var(--progres) * 720deg)); }
.histoire__collecteur > rect:first-child { fill: var(--nuit); stroke: var(--encre); stroke-width: 3; }
.histoire__collecteur path { fill: none; stroke: var(--corail); stroke-width: 3; }
.histoire__collecteur .histoire__bac { fill: #dfe8eb; stroke: var(--corail); stroke-width: 1.5; }
.histoire__collecteur .histoire__bac-remplissage { fill: #536168; stroke: none; }
.histoire__poussiere circle { fill: #536168; stroke: var(--encre); stroke-width: 1.4; }
.histoire__annotations path { fill: none; stroke: var(--encre); stroke-width: 1.2; }
.histoire__annotations text { fill: var(--encre); font: 600 10px "IBM Plex Mono", monospace; letter-spacing: .04em; }
.histoire__visuel figcaption { display: grid; grid-template-columns: 1fr 150px; gap: 18px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--encre); background: var(--nuit); color: var(--nuit-texte); font: 500 .78rem/1.3 "IBM Plex Mono", monospace; }
.histoire__jauge { display: block; height: 5px; background: #3b5059; }
.histoire__jauge i { display: block; width: calc(var(--progres) * 100%); height: 100%; background: var(--corail); }
@media (max-width: 760px) {
  .histoire { height: 280vh; margin-top: 18px; }
  .histoire__scene { top: 62px; min-height: calc(100vh - 62px); grid-template-columns: 1fr; gap: 20px; padding: 24px 0; align-content: center; }
  .histoire__texte h2 { font-size: 1.45rem; }
  .histoire__intro { margin-bottom: 8px; font-size: .95rem; }
  .histoire__etapes { padding-top: 8px; }
  .histoire__etapes li { padding: 6px 0; }
  .histoire__visuel figcaption { grid-template-columns: 1fr 90px; }
  .histoire__annotations text { font-size: 9px; }
}

.histoire-secheuse { --progres-secheuse: 0; height: 480vh; margin: 18px 0 58px; border-top: 1px solid var(--encre); }
.histoire-secheuse__scene { position: sticky; top: 76px; min-height: calc(100vh - 76px); display: grid; grid-template-columns: minmax(250px, .7fr) minmax(440px, 1.3fr); gap: clamp(28px, 5vw, 68px); align-items: center; padding: 30px 0; }
.histoire-secheuse__texte > p:not(.histoire__repere) { color: var(--gris); }
.histoire-secheuse__visuel { margin: 0; border: 1px solid var(--encre); background: #d8e3e7; overflow: hidden; }
.histoire-secheuse__photo-stage { position: relative; aspect-ratio: 2071 / 759; overflow: hidden; background: #d8e3e7; }
.histoire-secheuse__photo-stage > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.histoire-secheuse__visuel svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.sech-sol { fill: none; stroke: var(--encre); stroke-width: 2; }
.sech-mur { fill: #82949c; stroke: var(--encre); stroke-width: 3; }
.sech-machine rect { fill: var(--papier); stroke: var(--encre); stroke-width: 3; }
.sech-machine circle, .sech-machine path { fill: none; stroke: var(--encre); stroke-width: 3; }
.sech-conduit { fill: none; stroke: #6d828b; stroke-width: 58; stroke-linecap: butt; }
.sech-air { fill: none; stroke: #278ca0; stroke-width: 3; stroke-dasharray: 11 10; stroke-dashoffset: calc(var(--progres-secheuse) * -220px); opacity: calc(.16 + var(--progres-secheuse) * .84); }
.sech-air--2 { stroke-dashoffset: calc(var(--progres-secheuse) * -310px); }
.sech-brosse { fill: rgba(223,255,54,.12); stroke: var(--corail); stroke-width: 4; filter: drop-shadow(0 2px 2px rgba(7,27,39,.65)); transform-origin: 350px 181px; transform: translateY(-8px) translateX(calc(var(--progres-secheuse) * 625px)) rotate(calc(var(--progres-secheuse) * -2160deg)); }
.sech-sortie path { fill: #6d828b; stroke: var(--encre); stroke-width: 3; }
.sech-sortie .sech-clapet { fill: var(--corail); transform-box: fill-box; transform-origin: left center; transform: rotate(calc(var(--progres-secheuse) * 28deg)); }
.sech-charpie circle { fill: #7b6756; stroke: #30271f; stroke-width: 1.2; filter: drop-shadow(0 2px 2px rgba(0,0,0,.4)); }
.sech-bac path:first-child { fill: var(--papier); stroke: var(--encre); stroke-width: 3; }
.sech-bac .sech-niveau { fill: none; stroke: #6d5d4c; stroke-width: calc(2px + var(--progres-secheuse) * 15px); }
.sech-annotations path { fill: none; stroke: var(--papier); stroke-width: 2.2; filter: drop-shadow(0 1px 2px #071b27); }
.sech-annotations text { fill: var(--papier); font: 700 22px "IBM Plex Mono", monospace; letter-spacing: .025em; paint-order: stroke; stroke: rgba(7,27,39,.9); stroke-width: 4px; }
.histoire-secheuse__visuel figcaption { display: grid; grid-template-columns: 1fr 150px; gap: 18px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--encre); background: var(--nuit); color: var(--nuit-texte); font: 500 .78rem/1.3 "IBM Plex Mono", monospace; }
.histoire-secheuse__visuel .histoire__jauge i { width: calc(var(--progres-secheuse) * 100%); }
@media (max-width: 760px) {
  .histoire-secheuse { height: 450vh; margin-top: 10px; }
  .histoire-secheuse__scene { top: 62px; min-height: calc(100vh - 62px); grid-template-columns: 1fr; gap: 16px; padding: 18px 0; align-content: center; }
  .histoire-secheuse__texte h2 { font-size: 1.42rem; }
  .histoire-secheuse__texte > p:not(.histoire__repere) { margin-bottom: 7px; font-size: .92rem; }
  .histoire-secheuse__visuel figcaption { grid-template-columns: 1fr 90px; }
  .sech-annotations text { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .histoire-secheuse { height: auto; }
  .histoire-secheuse__scene { position: static; min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .histoire { height: auto; }
  .histoire__scene { position: static; min-height: 0; }
  .histoire__etapes li { transition: none; }
}
