/* Récit filmé, mise en page O13 (film épinglé, cartes de verre, liste des étages).
   Toutes les règles sous .histoire ; valeurs de tokens.css (charte v1.0). */
.histoire { position: relative; overflow: clip; --haut: 52px; --gout: clamp(16px, 3vw, 40px); }

/* ---- Scène épinglée, plein cadre : elle couvre tout l'écran, sous l'en-tête translucide ---- */
.histoire-scene { position: sticky; top: 0; height: 100svh; margin-top: calc(-1 * var(--haut)); margin-bottom: calc(var(--haut) - 100svh); overflow: hidden; z-index: 0; background: var(--ek-ink, #0A1E16); }
.histoire-cadre { position: absolute; inset: 0; overflow: hidden; }
.histoire-calque { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0; transform-origin: 50% 50%; will-change: opacity, transform; }
/* L'image d'abord : plus d'ombre posée sur l'image, la carte de verre, la liste des étages et les notes
   portent chacune leur fond. Téléphone : ambiance floue de l'image sous la carte (recit.ts). */
.histoire-ambiance { display: none; }
.histoire-doublure { position: absolute; left: var(--gout); top: calc(var(--haut) + 14px); margin: 0; z-index: 3; }
.histoire-doublure .doublure { background: rgba(15,42,31,.78); white-space: normal; }
.histoire-legende { position: absolute; left: var(--gout); bottom: 18px; margin: 0; z-index: 3; max-width: min(560px, 60vw); padding: 6px 10px; border-radius: 2px; background: rgba(15,42,31,.84); font: 400 11px/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ek-chalk); }

/* Repère sur l'image (« Poste vide : 6 499 € par an ») */
.histoire-repere { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; will-change: transform; }
.histoire-repere[hidden] { display: none; }
.histoire-repere svg { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; overflow: visible; }
.histoire-repere circle { fill: var(--ek-laiton); stroke: var(--ek-chalk); stroke-width: 1.5; }
.histoire-repere span { position: absolute; left: 14px; top: -40px; white-space: nowrap; padding: 7px 10px 6px; border: 1px solid rgba(168,135,79,.7); border-radius: 2px; background: rgba(15,42,31,.88); font: 500 12px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ek-laiton-h, #B8975E); }
.histoire-repere span::before { content: ""; position: absolute; left: -9px; top: 100%; width: 10px; height: 26px; border-left: 1px solid var(--ek-laiton); transform: skewX(20deg); transform-origin: top left; }
.histoire-repere.gauche span { left: auto; right: 14px; }
.histoire-repere.gauche span::before { left: auto; right: -9px; border-left: 0; border-right: 1px solid var(--ek-laiton); transform: skewX(-20deg); transform-origin: top right; }

/* Liste des étages */
.histoire-insecable { white-space: nowrap; }
.histoire-etages { position: absolute; right: var(--gout); top: 50%; transform: translateY(-46%); width: 132px; z-index: 3; padding: 14px 14px 12px; border-radius: 4px; background: rgba(15,42,31,.72); border: 1px solid rgba(243,244,238,.12); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font: 500 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.histoire-maintenant { display: block; color: var(--ek-lichen); margin-bottom: 14px; line-height: 1.5; }
.histoire-maintenant span { display: block; }
.histoire-maintenant b { display: block; color: var(--ek-chalk); font-weight: 500; }
.histoire-etages ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--rule-strong); }
.histoire-etages li { position: relative; display: flex; align-items: center; gap: 8px; height: 26px; padding-left: 12px; color: rgba(143,163,148,.7); transition: color .3s; }
.histoire-etages li::before { content: ""; position: absolute; left: -1px; top: 4px; bottom: 4px; width: 1px; background: transparent; transition: background .3s, width .3s; }
.histoire-etages li i { display: block; height: 1px; width: 10px; background: currentColor; transition: width .3s; }
.histoire-etages li.vos { color: var(--ek-laiton); }
.histoire-etages li.vos::before { background: rgba(168,135,79,.55); width: 2px; left: -1px; }
.histoire-etages li.lit { color: var(--ek-laiton-h, #B8975E); }
.histoire-etages li.lit::before { background: var(--ek-laiton); width: 3px; left: -2px; }
.histoire-etages li.lit i { width: 22px; }
.histoire-vos-legende { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--ek-laiton); line-height: 1.4; }
.histoire-vos-legende i { display: block; width: 10px; height: 10px; background: var(--ek-laiton); flex: none; }

/* ---- Tête et chapitres ---- */
.histoire-tete { position: relative; z-index: 2; height: calc(100svh - var(--haut)); display: flex; flex-direction: column; justify-content: center; padding: 0 var(--gout); }
.histoire-indice { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); margin: 0; font: 400 11px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ek-chalk); opacity: .7; }
.histoire-chapitre { position: relative; z-index: 2; }
.histoire-chapitre-titre { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
.histoire-segment { position: relative; min-height: calc(var(--duree, 1) * 100svh); display: flex; flex-direction: column; }
.histoire-bloc { flex: 1 0 auto; padding: 26svh 0 0 max(0px, calc(var(--gout) - 20px)); }
.histoire-bloc.vide { padding: 0; }
.histoire-fixe { display: none; }
/* Fin du récit : la dernière image se fond dans le fond de page, la suite (arrêt du film) enchaîne sans coupure */
.histoire-queue { position: relative; z-index: 2; height: 46svh; background: linear-gradient(to bottom, transparent, var(--bg) 88%); }

/* ---- Cartes de verre : environ 30 % plus grandes qu'en v1, bords fondus (le verre et son flou s'effacent
   vers les bords, aucun bord droit). La marge fondue est prise dans le rembourrage : le texte reste net. ---- */
.histoire-carte { --plume-x: clamp(36px, 4vw, 56px); --plume-y: 40px;
  position: sticky; top: calc(var(--haut) + 8svh); width: min(580px, 44vw);
  padding: calc(var(--plume-y) + 28px) calc(var(--plume-x) + clamp(16px, 2.4vw, 34px)) calc(var(--plume-y) + 24px);
  background: rgba(15,42,31,.76); -webkit-backdrop-filter: blur(18px) saturate(1.1); backdrop-filter: blur(18px) saturate(1.1); color: var(--ek-chalk);
  --fondu-x: linear-gradient(to right, transparent, rgba(0,0,0,.18) calc(var(--plume-x) * .25), rgba(0,0,0,.55) calc(var(--plume-x) * .5), rgba(0,0,0,.88) calc(var(--plume-x) * .78), #000 var(--plume-x), #000 calc(100% - var(--plume-x)), rgba(0,0,0,.88) calc(100% - var(--plume-x) * .78), rgba(0,0,0,.55) calc(100% - var(--plume-x) * .5), rgba(0,0,0,.18) calc(100% - var(--plume-x) * .25), transparent);
  --fondu-y: linear-gradient(to bottom, transparent, rgba(0,0,0,.18) calc(var(--plume-y) * .25), rgba(0,0,0,.55) calc(var(--plume-y) * .5), rgba(0,0,0,.88) calc(var(--plume-y) * .78), #000 var(--plume-y), #000 calc(100% - var(--plume-y)), rgba(0,0,0,.88) calc(100% - var(--plume-y) * .78), rgba(0,0,0,.55) calc(100% - var(--plume-y) * .5), rgba(0,0,0,.18) calc(100% - var(--plume-y) * .25), transparent);
  -webkit-mask-image: var(--fondu-x), var(--fondu-y); -webkit-mask-composite: source-in;
  mask-image: var(--fondu-x), var(--fondu-y); mask-composite: intersect; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .histoire-carte { background: rgba(15,42,31,.94); } }
.histoire-carte.large { width: min(820px, 60vw); }
.histoire-carte h1 { margin: 0 0 12px; font: 400 clamp(40px, 4vw, 60px)/1.12 var(--font-display); text-transform: uppercase; padding-top: .1em; text-wrap: balance; }
.histoire-carte h2 { margin: 0 0 10px; font: 400 clamp(26px, 2.3vw, 34px)/1.18 var(--font-display); text-transform: uppercase; padding-top: .1em; text-wrap: balance; }
.histoire-surtitre { margin: 0 0 12px; font: 500 11px/1.3 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ek-lichen); }
.histoire-dek { margin: 0 0 12px; font: italic 400 20px/1.34 var(--font-dek); text-wrap: balance; }
.histoire-texte { margin: 12px 0 0; color: rgba(243,244,238,.8); font-size: 15px; }
.histoire-source { margin: 14px 0 0; font: 400 10.5px/1.45 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ek-lichen); }
.histoire-liste { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 15px; color: rgba(243,244,238,.86); }
.histoire-liste li { position: relative; padding-left: 18px; }
.histoire-liste li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 1px; background: var(--ek-laiton); }
.histoire-chiffre { margin: 0 0 6px; display: grid; gap: 4px; }
.histoire-chiffre span { font-size: 15px; color: rgba(243,244,238,.82); }
.histoire-chiffre strong { font: 400 clamp(52px, 5vw, 76px)/1.05 var(--font-display); color: var(--ek-laiton); padding-top: .08em; }
.histoire-barre { display: flex; gap: 2px; height: 10px; margin: 10px 0 12px; }
.histoire-barre i { display: block; background: rgba(243,244,238,.55); }
.histoire-barre i.cache { background: var(--ek-laiton); }
.histoire-repartition { margin: 0; display: grid; gap: 7px; }
.histoire-repartition > div { display: grid; grid-template-columns: 4.2em 1fr; gap: 10px; align-items: baseline; }
.histoire-repartition dt { font: 500 17px/1.2 var(--font-mono); color: var(--ek-chalk); font-variant-numeric: tabular-nums; }
.histoire-repartition .cache dt { color: var(--ek-laiton); }
.histoire-repartition dd { margin: 0; font-size: 14px; color: rgba(243,244,238,.8); }
.histoire-repartition dd b { font-weight: 500; color: var(--ek-chalk); }
.histoire-tableau { width: 100%; border-collapse: collapse; margin: 6px 0 0; font-size: 14px; }
.histoire-tableau th { text-align: left; font-weight: 500; padding: 9px 12px 9px 0; border-top: 1px solid var(--rule); }
.histoire-tableau th small { display: block; font: 400 11px/1.4 var(--font-mono); color: var(--ek-lichen); letter-spacing: .04em; margin-top: 2px; }
.histoire-tableau td { text-align: right; padding: 9px 0; border-top: 1px solid var(--rule); font: 400 17px/1.2 var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.histoire-tableau tr.total th { border-top: 1px solid var(--ek-laiton); font: 400 22px/1.2 var(--font-display); text-transform: uppercase; padding-top: 12px; }
.histoire-tableau tr.total td { border-top: 1px solid var(--ek-laiton); font: 400 30px/1.1 var(--font-display); color: var(--ek-laiton); padding-top: 12px; }
.histoire-tableau tr.bas th, .histoire-tableau tr.bas td { font-size: 13px; color: rgba(243,244,238,.78); font-weight: 400; }
.histoire-tableau tr.bas td { font-size: 14px; }
.histoire-jalons { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.histoire-jalons li { display: grid; gap: 4px; padding-top: 8px; border-top: 1px solid var(--ek-laiton); }
.histoire-jalons span { font: 400 12px/1 var(--font-mono); color: var(--ek-lichen); letter-spacing: .08em; }
.histoire-jalons b { font: 400 30px/1.1 var(--font-display); font-weight: 400; color: var(--ek-chalk); }
.histoire-triptyque { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 8px; }
.histoire-triptyque h3 { margin: 0 0 8px; padding: 8px 0 0; border-top: 1px solid var(--ek-laiton); font: 400 20px/1.2 var(--font-display); text-transform: uppercase; }
.histoire-triptyque dl { margin: 0; display: grid; gap: 4px; }
.histoire-triptyque dt { font: 500 10.5px/1.3 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ek-lichen); margin-top: 6px; }
.histoire-triptyque dd { margin: 0; font-size: 13.5px; line-height: 1.4; color: rgba(243,244,238,.86); }
.histoire-conclusion { margin: 14px 0 0; padding-top: 10px; border-top: 1px solid var(--rule); font-size: 15px; }
.histoire-sauter { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; min-height: 40px; padding: 0 14px; border: 1px solid var(--rule-strong); border-radius: 6px; font: 500 12px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ek-chalk); text-decoration: none; }
.histoire-sauter:hover, .histoire-sauter:focus-visible { border-color: var(--ek-laiton); color: var(--ek-laiton-h, #B8975E); }
.histoire-sauter svg { width: 12px; height: 12px; }
.histoire-intro { position: relative; top: auto; width: min(700px, 52vw); margin-left: calc(max(0px, var(--gout) - 20px) - var(--gout)); }

/* ---- Téléphone : la carte reste en haut (centrée dans la zone du haut), l'image ou le film défile en bas ---- */
@media (max-width: 899px) {
  .histoire { --zone: calc((100svh - var(--haut)) * .46); }
  .histoire-cadre { top: calc(var(--haut) + var(--zone)); -webkit-mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,.5) 22px, #000 56px); mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,.5) 22px, #000 56px); }
  .histoire-ambiance { display: block; position: absolute; left: 0; right: 0; top: 0; height: calc(var(--haut) + var(--zone) + 56px); overflow: hidden; }
  .histoire-ambiance i { position: absolute; inset: -48px -48px 0; background: no-repeat; transform: scaleY(-1); filter: blur(26px) saturate(1.1) brightness(.6); opacity: 0; will-change: opacity; }
  .histoire-etages { right: 8px; top: calc(var(--haut) + var(--zone) + 14px); transform: none; width: 66px; padding: 8px 6px 8px 8px; font-size: 9.5px; letter-spacing: .05em; }
  .histoire-maintenant { display: none; }
  .histoire-etages li { height: 19px; padding-left: 7px; gap: 4px; }
  .histoire-etages li i { width: 5px; } .histoire-etages li.lit i { width: 10px; }
  .histoire-vos-legende { font-size: 9px; gap: 5px; margin-top: 8px; }
  .histoire-vos-legende i { width: 7px; height: 7px; }
  .histoire-doublure { left: 12px; right: 12px; top: auto; bottom: 10px; }
  .histoire-doublure .doublure { font-size: 10px; letter-spacing: .03em; }
  .histoire-legende { left: 12px; right: 84px; bottom: auto; top: calc(var(--haut) + var(--zone) + 14px); max-width: none; font-size: 10px; }
  .histoire-tete { justify-content: flex-start; padding: 0; }
  .histoire-indice { display: none; }
  .histoire-bloc { padding: 30svh 0 0; }
  .histoire-carte { --plume-x: 14px; --plume-y: 22px; }
  .histoire-carte, .histoire-carte.large, .histoire-intro { width: auto; margin: 0; padding: calc(var(--plume-y) + 12px) calc(var(--plume-x) + 14px) calc(var(--plume-y) + 8px); }
  .histoire-bloc .histoire-carte { top: calc(var(--haut) + max(0px, (var(--zone) - var(--h-carte, 260px)) / 2)); }
  .histoire-bloc .histoire-carte.longue { position: relative; top: auto; }
  .histoire-carte h1 { font-size: 36px; }
  .histoire-carte h2 { font-size: 25px; }
  .histoire-dek { font-size: 18px; margin-bottom: 8px; }
  .histoire-texte, .histoire-liste { font-size: 14px; }
  .histoire-chiffre strong { font-size: 48px; }
  .histoire-triptyque { grid-template-columns: 1fr; gap: 6px; }
  .histoire-triptyque dl { grid-template-columns: auto 1fr; column-gap: 10px; }
  .histoire-triptyque dt { margin-top: 2px; }
  .histoire-tableau td { font-size: 15px; }
  .histoire-tableau tr.total td { font-size: 24px; }
  .histoire-repere span { font-size: 10.5px; letter-spacing: .06em; top: -36px; }
}

/* ---- Mouvement réduit : images fixes dans le flux, cartes en dessous ---- */
.histoire--fixe .histoire-scene { display: none; }
.histoire--fixe .histoire-tete { height: auto; padding: clamp(40px, 8vw, 96px) var(--gout) 24px; }
.histoire--fixe .histoire-indice { display: none; }
/* Un seul récit : les chapitres se suivent sans filet ni grand blanc, leur titre suffit à les situer */
.histoire--fixe .histoire-chapitre-titre { position: static; width: auto; height: auto; clip: auto; overflow: visible; display: flex; gap: 14px; align-items: baseline; padding: 28px var(--gout) 8px; font: 400 clamp(28px, 3vw, 40px)/1.2 var(--font-display); text-transform: uppercase; }
.histoire--fixe .histoire-chapitre-titre span { font: 400 12px/1 var(--font-mono); letter-spacing: .12em; color: var(--ek-lichen); }
.histoire--fixe .histoire-segment { min-height: 0; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; align-items: start; padding: 18px var(--gout); }
.histoire--fixe .histoire-fixe { display: block; margin: 0; grid-row: span 3; }
.histoire--fixe .histoire-fixe img, .histoire--fixe .histoire-fixe video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 2px; }
.histoire--fixe .histoire-fixe figcaption { margin-top: 8px; font: 400 11px/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ek-lichen); }
.histoire--fixe .histoire-bloc { padding: 0; }
.histoire--fixe .histoire-bloc.vide { display: none; }
.histoire--fixe .histoire-carte, .histoire--fixe .histoire-carte.large, .histoire--fixe .histoire-intro { --plume-x: 28px; --plume-y: 24px; position: relative; top: auto; width: auto; max-width: 720px; margin: 0; }
.histoire--fixe .histoire-queue { height: 0; }
/* Le plan filmé tient toute la ligne : jamais sous 1280 × 720 quand l'écran le permet */
.histoire--fixe .histoire-segment:has(video) .histoire-fixe { grid-column: 1 / -1; grid-row: auto; width: 100%; max-width: 1280px; }
@media (max-width: 899px) {
  .histoire--fixe .histoire-segment { grid-template-columns: 1fr; padding: 14px 12px; }
  .histoire--fixe .histoire-fixe { grid-row: auto; }
}

/* ---- Diagnostic, offres, contact ---- */
.histoire-diagnostic { position: relative; z-index: 2; background: var(--bg); border-top: 1px solid var(--rule); }
/* Flash C sur toute la largeur, la maquette O33 dessous : texte à gauche, maquette à droite dès 1024 px. */
.histoire-diagnostic-grille { display: grid; grid-template-columns: minmax(0, 1fr); max-width: none; margin: 0 auto; }
.histoire-diagnostic-o33 { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px) clamp(56px, 8vw, 96px); }
.histoire-diagnostic-o33.dans-flash { max-width: none; padding: 0; margin-top: 36px; padding-top: 14px; border-top: 1px solid var(--rule-strong); }
@media (min-width: 1024px) {
  .histoire-diagnostic-o33 .stop-o33 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); grid-template-areas: "tete modele" "barre modele"; gap: 20px clamp(32px, 4vw, 56px); align-items: start; }
  .histoire-diagnostic-o33 .stop-o33 > .stop-tete { grid-area: tete; margin: 0; }
  .histoire-diagnostic-o33 .stop-o33 > .stop-modele { grid-area: modele; }
  .histoire-diagnostic-o33 .stop-o33 > .stop-barre { grid-area: barre; }
}
.histoire-o32 { position: relative; z-index: 2; background: var(--bg); }
.histoire-offres { position: relative; z-index: 2; background: var(--bg); }
.histoire-offres-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.histoire-offre { display: grid; align-content: start; gap: 12px; padding: 28px; border: 1px solid var(--rule); border-radius: var(--r, 6px); background: var(--surface); }
.histoire-offre h3 { margin: 0; font: 400 34px/1.15 var(--font-display); text-transform: uppercase; padding-top: .1em; color: var(--heading); }
.histoire-offre-accroche { margin: 0; font: italic 400 19px/1.35 var(--font-dek); }
.histoire-offre-prix { margin: 0; font: 400 20px/1.3 var(--font-mono); color: var(--ek-laiton); }
.histoire-offre-prix small { display: block; font: 400 13px/1.4 var(--font-body); color: var(--fg-2); margin-top: 4px; }
.histoire-offre ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 15px; color: var(--fg-2); }
.histoire-offre li { position: relative; padding-left: 18px; }
.histoire-offre li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 1px; background: var(--ek-laiton); }
.histoire-offre .bouton-ligne { justify-self: start; margin-top: 6px; }
.histoire-offres .source { margin-top: 18px; }
.histoire-contact { position: relative; z-index: 2; background: var(--bg); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.histoire-formulaire { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.histoire-formulaire label { display: grid; gap: 6px; font: 500 14px/1.3 var(--font-body); }
.histoire-formulaire .plein { grid-column: 1 / -1; }
.histoire-formulaire input:not([type="checkbox"]), .histoire-formulaire textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--rule-strong); border-radius: 4px; background: transparent; color: var(--fg-1); font: 400 15px/1.4 var(--font-body); }
.histoire-formulaire .case { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--fg-2); }
.histoire-formulaire .case input { margin-top: 3px; accent-color: var(--ek-laiton); }
.histoire-formulaire-pied { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.histoire-formulaire-etat { margin: 0; font: 400 13px/1.4 var(--font-mono); color: var(--ek-laiton); }
.mode-clair .histoire-formulaire-etat { color: var(--ek-forest); } /* contact sur fond blanc (Oli, 21 octobre) */
@media (max-width: 899px) {
  .histoire-offres-grille, .histoire-contact, .histoire-formulaire { grid-template-columns: 1fr; }
}

/* Une carte lisible passe sur la liste des étages ou la note de doublure : elles s'effacent (recit.ts) */
.histoire-etages, .histoire-doublure { transition: opacity 180ms var(--ease); }
.histoire-etages.histoire-cede, .histoire-doublure.histoire-cede { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .histoire-etages, .histoire-doublure { transition: none; } }

/* Option A (Oli, 20 oct.) sur ordinateur : plus de carte de verre. Une bande verte floutée sur la gauche de l'image porte le texte,
   le reste de l'image reste net. Vert 0,60 (option A des planches + 20 %), flou 28 px. Téléphone et mouvement réduit inchangés. */
@media (min-width: 900px) {
  .histoire:not(.histoire--fixe) .histoire-scene::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 46%; z-index: 1; pointer-events: none;
    background: linear-gradient(to right, rgba(15,42,31,.60), rgba(15,42,31,.48) 55%, rgba(15,42,31,0));
    -webkit-backdrop-filter: blur(28px); backdrop-filter: blur(28px);
    -webkit-mask-image: linear-gradient(to right, #000, #000 52%, rgba(0,0,0,.6) 74%, transparent); mask-image: linear-gradient(to right, #000, #000 52%, rgba(0,0,0,.6) 74%, transparent); }
  .histoire:not(.histoire--fixe) .histoire-carte, .histoire:not(.histoire--fixe) .histoire-intro { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; -webkit-mask-image: none; mask-image: none; text-shadow: 0 1px 2px rgba(8,24,17,.55), 0 0 18px rgba(8,24,17,.45); }
  .histoire:not(.histoire--fixe) .histoire-carte.large { width: min(660px, 44vw); }
  .histoire:not(.histoire--fixe) .histoire-surtitre, .histoire:not(.histoire--fixe) .histoire-source { color: rgba(243,244,238,.86); }
}
