/* Home page only (loaded by {% set group = 'home' %}). The hero, the panes of the rail, the exploded layers, the profiles. */

/* ===== Hero: 3D village, the PLU volume rises, the sheet lands ===== */
.hero { position: relative; overflow: hidden; --s: .52; --s0: .36; --ax: .42; --ay: .5; --per: 900px; --lab: 20px; --fs: var(--s); }
.hero-text { position: relative; z-index: 3; padding-top: var(--e-haut); }
.hero-text .lede { margin-top: var(--e-4); max-width: 44ch; }
.hero .scene-wrap { position: relative; margin-top: var(--e-5); padding-bottom: var(--e-section); }
.hero .scene { position: relative; height: 380px; overflow: hidden; perspective: var(--per);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%); mask-composite: intersect;
  transition: opacity 500ms linear; }
.hero .scene.dessus { --fs: var(--s0); }
.hero .stage { position: absolute; width: 2000px; height: 1240px; left: calc(var(--ax) * 100% - 871px); top: calc(var(--ay) * 100% - 584px); transform-origin: 871px 584px; transform-style: preserve-3d;
  transform: scale3d(var(--s), var(--s), var(--s)) rotateX(60deg) rotateZ(25deg); transition: transform var(--duree-incl) var(--courbe-incl); }
.hero .spin { position: absolute; inset: 0; transform-style: preserve-3d; transform-origin: 871px 584px; }
.hero .sol { position: absolute; left: -400px; top: -800px; display: block; max-width: none; }
.hero svg.sol text { font-family: var(--f-ref); fill: var(--encre-2); }
.hero svg.sol .num { font-size: calc(var(--lab) / var(--fs)); text-anchor: middle; }
.hero svg.sol .rue { font-size: calc(var(--lab) / var(--fs)); text-anchor: middle; fill: var(--dessin-rue); }
.hero svg.sol .cart text { font-size: 15px; text-anchor: middle; fill: var(--encre); font-weight: var(--g-label); }
.hero .ombres { fill: var(--ombre-sol); opacity: .2; transition: opacity 900ms linear 300ms; }
.hero .marque { transition: opacity 500ms linear; }
.hero .mq-t { fill: none; stroke: var(--repere); stroke-width: 3.2; stroke-linejoin: round; }
.hero .emp { fill: none; stroke: rgb(var(--volume)); stroke-width: 2; stroke-dasharray: 7 5; opacity: 0; transition: opacity 300ms linear; }
.hero .emp.on { opacity: 1; }
.hero .pk { fill: transparent; pointer-events: none; }
.hero.live .pk { pointer-events: all; cursor: pointer; }
.hero.live .pk:hover { fill: rgba(37, 99, 184, .26); }
.hero .pk[aria-pressed="true"] { fill: transparent !important; cursor: default; }
.hero .pk:focus { outline: none; }
.hero .pk:focus-visible { stroke: var(--focus); stroke-width: 5; fill: rgba(37, 99, 184, .18); }
.hero .bx { position: absolute; transform-style: preserve-3d; transform: rotateZ(var(--a)); pointer-events: none; }
.hero .bx .g, .hero .bx .k { position: absolute; inset: 0; transform-style: preserve-3d; }
.hero .bx .g { transition: transform var(--duree-pousse) var(--courbe) var(--dl, 0ms); }
.hero .bx .k { transform: translateZ(var(--z, 0px)); }
.hero .f { position: absolute; display: block; }
.hero .f.t { inset: 0; transform: translateZ(var(--h)); }
.hero .f.s { left: 0; top: 100%; width: 100%; height: var(--h); transform-origin: 50% 0; transform: rotateX(90deg); }
.hero .f.n { left: 0; bottom: 100%; width: 100%; height: var(--h); transform-origin: 50% 100%; transform: rotateX(-90deg); }
.hero .f.w { right: 100%; top: 0; height: 100%; width: var(--h); transform-origin: 100% 50%; transform: rotateY(90deg); }
.hero .f.e { left: 100%; top: 0; height: 100%; width: var(--h); transform-origin: 0 50%; transform: rotateY(-90deg); }
.hero .bat .t { background: linear-gradient(180deg, var(--toit-ombre) 0 50%, var(--toit) 50% 100%); }
.hero .bat .s { background: var(--mur-soleil); }
.hero .bat .w { background: var(--mur-ouest); }
.hero .bat .e { background: var(--mur-ombre); }
.hero .bat.plat .t { background: var(--toit-plat); box-shadow: inset 0 0 0 3px var(--toit-plat-bord); }
.hero .bat.plat .s { background: repeating-linear-gradient(0deg, var(--mur-soleil) 0 9px, var(--mur-soleil-rayure) 9px 12.9px); }
.hero .bat.plat .e { background: repeating-linear-gradient(0deg, var(--mur-ombre) 0 9px, var(--mur-ombre-rayure) 9px 12.9px); }
.hero .sl .f { background: rgb(var(--volume) / .2); border: 1.5px solid rgb(var(--volume) / .85); transition: opacity 300ms linear; }
.hero .sl .t { background: rgb(var(--volume) / .32); }
.hero .sl.toit .f { background: rgb(var(--volume-toit) / .24); border-color: rgb(var(--volume-toit) / .9); }
.hero .sl.toit .t { background: rgb(var(--volume-toit) / .36); }
.hero .env { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d; pointer-events: none; }
.hero .env:not(.on) .g { transform: scaleZ(.01); }
.hero .env:not(.on) .f { opacity: 0; }
.hero .bb { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; transform-style: preserve-3d; pointer-events: none; }
.hero .bb-s, .hero .bb-f { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d; transform-origin: 0 0; }
.hero .bb-f { transform: rotateZ(-25deg) rotateX(-60deg); transition: transform var(--duree-incl) var(--courbe-incl); }
.hero .arbre i { position: absolute; left: calc(var(--r) * -1); top: calc((var(--th) + var(--r)) * -1); width: calc(var(--r) * 2); height: calc(var(--th) + var(--r)); transform-origin: 50% 100%; transition: transform 700ms var(--courbe) 400ms; }
.hero .arbre i::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 34% 66%, var(--arbre-a) 0 34%, var(--arbre-b) 35% 100%); }
.hero .arbre i::after { content: ""; position: absolute; left: calc(50% - 1.5px); bottom: 0; width: 3px; height: calc(var(--th) - var(--r) * .6); background: var(--arbre-tronc); }
.hero .pin { transition: transform var(--duree-2) var(--courbe); }
.hero .pin svg { position: absolute; left: -22px; top: -96px; display: block; max-width: none; transform-origin: 50% 100%; transition: transform 520ms var(--courbe), opacity 300ms linear; }
.hero .vue { position: absolute; z-index: 4; top: var(--e-3); right: var(--gouttiere); }
.hero .scene-wrap > .fictif { top: var(--e-2); left: var(--gouttiere); }
.hero .legende { position: absolute; z-index: 4; left: var(--gouttiere); top: 52px; margin: 0; display: flex; align-items: center; gap: var(--e-2); background: var(--feuille); border-radius: var(--r); padding: 6px 10px; font-size: var(--t-label); line-height: var(--l-label); box-shadow: var(--ombre-proche); }
.hero .legende i { width: 14px; height: 14px; border-radius: var(--r); background: rgb(var(--volume) / .4); border: 1.5px solid rgb(var(--volume)); }
.hero .indice { font-size: var(--t-small); line-height: var(--l-small); color: var(--encre-2); margin: var(--e-4) var(--gouttiere) 0; background: var(--feuille); padding: var(--e-1) 10px; border-radius: var(--r); box-shadow: var(--ombre-proche); }
.hero .fiche { z-index: 5; margin: -72px var(--gouttiere) 0; transition: transform 640ms var(--courbe), opacity 400ms linear; }
.stop-anim { display: inline-flex; align-items: center; gap: var(--e-2); height: 36px; padding: 0 var(--e-3); background: var(--feuille); border: 1px solid var(--filet-doux); border-radius: var(--r); box-shadow: var(--ombre-proche); font: var(--g-label) var(--t-label)/1 var(--f-texte); color: var(--encre); cursor: pointer; }
.stop-anim:hover { background: var(--calque); }
.stop-anim svg { width: 12px; height: 12px; }
.anim-off .stop-anim { display: none; }
@media (max-width: 759px) {
  .hero svg.sol .rue, .hero svg.sol .num--large { display: none; }
  .hero .ombres { display: none; }
  .hero .bb.arbre:nth-child(even) { display: none; }
}
@media (min-width: 760px) {
  .hero { --s: .72; --s0: .5; --ax: .4; --ay: .5; --per: 1200px; --lab: 19px; }
  .hero .scene { height: 520px; }
  .hero .fiche { max-width: 420px; margin-left: auto; }
}
@media (max-width: 1099px) {
  .hero .scene-wrap { display: flex; flex-direction: column; }
  .hero .fiche { order: 1; }
  .hero .legende { order: 2; position: static; align-self: flex-start; margin: var(--e-3) var(--gouttiere) 0; }
  .hero .indice { order: 3; align-self: flex-start; }
  .hero .stop-anim { order: 4; align-self: flex-start; margin: var(--e-3) var(--gouttiere) 0; }
}
@media (min-width: 1100px) {
  .hero { height: 720px; --s: .86; --s0: .6; --ax: .55; --ay: .58; --per: 1500px; }
  .hero > .wrap { height: 100%; display: flex; align-items: center; pointer-events: none; position: relative; z-index: 3; }
  .hero-text { pointer-events: auto; padding: 0; max-width: 600px; margin-top: -40px; }
  .hero .scene-wrap { position: absolute; inset: 0; margin: 0; padding: 0; }
  .hero .scene { position: absolute; inset: 0; height: auto;
    -webkit-mask-image: linear-gradient(to right, transparent 0, transparent 34%, #000 50%), linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, transparent 34%, #000 50%), linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%); }
  .hero .scene-wrap > .fictif { left: auto; top: auto; right: max(var(--gouttiere), calc((100% - var(--max)) / 2)); bottom: calc(var(--e-section) + var(--e-2)); }
  .hero .vue { top: 28px; right: max(var(--gouttiere), calc((100% - var(--max)) / 2)); }
  .hero .fiche { position: absolute; margin: 0; width: 340px; right: max(var(--gouttiere), calc((100% - var(--max)) / 2)); top: 96px; }
  .hero .legende { top: auto; left: 44%; bottom: 36px; }
  .hero .indice { position: absolute; z-index: 4; margin: 0; left: 44%; bottom: 88px; max-width: 360px; }
  .hero .stop-anim { position: absolute; z-index: 4; right: max(var(--gouttiere), calc((100% - var(--max)) / 2)); bottom: 36px; }
}
/* the hero's five steps; the final state (no JS, no motion) is the default */
.anim .hero:not(.p0) .scene { opacity: .001; }
.anim .hero:not(.p1) .stage { transform: scale3d(var(--s0), var(--s0), var(--s0)) rotateX(0deg) rotateZ(0deg); }
.anim .hero:not(.p1) .bb-f { transform: rotateZ(0deg) rotateX(0deg); }
.anim .hero:not(.p2) .bat .g { transform: scaleZ(.01); }
.anim .hero:not(.p2) .ombres { opacity: 0; }
.anim .hero:not(.p2) .arbre i { transform: scale(0); }
.anim .hero:not(.p3) .env .g { transform: scaleZ(.01); }
.anim .hero:not(.p3) .env .f { opacity: 0; }
.anim .hero:not(.p3) .marque, .anim .hero:not(.p3) .emp { opacity: 0; }
.anim .hero:not(.p3) .pin svg { transform: scale(.35); opacity: 0; }
.anim .hero:not(.p4) .fiche { transform: translateY(-28px); opacity: 0; }
.anim .hero:not(.p4) .legende, .anim .hero:not(.p4) .vue, .anim .hero:not(.p4) .indice, .anim .hero:not(.p4) .stop-anim { opacity: 0; }
.hero .legende, .hero .vue, .hero .indice, .hero .stop-anim { transition: opacity 400ms linear; }
.hero .scene.dessus .stage { transform: scale3d(var(--s0), var(--s0), var(--s0)) rotateX(0deg) rotateZ(0deg); }
.hero .scene.dessus .bb-f { transform: rotateZ(0deg) rotateX(0deg); }
.hero.idle .spin { animation: vire 24s ease-in-out infinite; }
.hero.idle .bb-s { animation: vire-inv 24s ease-in-out infinite; }
.hero.idle.tient .spin, .hero.idle.tient .bb-s { animation-play-state: paused; }
.motion-stop .hero.idle .spin, .motion-stop .hero.idle .bb-s { animation-play-state: paused; }
@keyframes vire { 0%, 100% { transform: rotateZ(0deg); } 25% { transform: rotateZ(2deg); } 75% { transform: rotateZ(-2deg); } }
@keyframes vire-inv { 0%, 100% { transform: rotateZ(0deg); } 25% { transform: rotateZ(-2deg); } 75% { transform: rotateZ(2deg); } }

/* ===== Panes of the rail ===== */
.res-c { left: var(--e-4); top: var(--e-6); width: 280px; }
.res-c dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 10px 0 0; }
.res-c dt { color: var(--encre-2); }
.res-c dd { margin: 0; font-weight: var(--g-fort); }
.compte { margin-top: var(--e-3); padding-top: var(--e-3); border-top: 1px solid var(--app-filet); }
.compte strong { font-size: var(--t-fig); font-weight: var(--g-h3); margin-right: 6px; font-stretch: var(--chasse-titre); }
.grp-l { display: flex; justify-content: space-between; gap: var(--e-2); margin-top: var(--e-2); font-family: var(--f-ref); font-size: var(--t-ref); background: rgba(47, 90, 62, .1); border-radius: var(--r); padding: 6px var(--e-2); }
.pane-fond { position: absolute; inset: 0; background: var(--dessin-sol); }
.lire { position: absolute; z-index: 2; left: var(--e-4); top: var(--e-6); width: 54%; box-shadow: var(--ombre-carte); }
.lire-tabs { padding-inline: var(--e-4); }
.lire-tabs .is-on { color: var(--encre); font-weight: var(--g-h3); box-shadow: inset 0 -2px 0 var(--encre); }
.lire-pg { position: absolute; z-index: 3; right: var(--e-5); top: 96px; width: 40%; padding: var(--e-4) var(--e-4) var(--e-5); font-size: var(--t-small); line-height: var(--l-small); box-shadow: var(--ombre-carte), var(--ombre-fenetre); }
.lire-ph { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--e-2) var(--e-3); padding-bottom: var(--e-3); border-bottom: 1px solid var(--trait-fin); color: var(--encre-2); }
.lire-pn { color: var(--encre); font-weight: var(--g-label); }
.lire-art { margin-top: var(--e-4); font-weight: var(--g-h3); }
.lire-q { margin-top: var(--e-3); }
.lire-u { font-weight: var(--g-fort); text-decoration: underline; text-decoration-color: var(--encre); text-decoration-thickness: 2px; text-underline-offset: 0.22em; text-decoration-skip-ink: none; }
.lire-bars { display: grid; gap: 9px; margin-top: var(--e-3); }
.lire-bars span { display: block; height: 6px; background: var(--trait-fin); border-radius: var(--r); }
.volet .bil { position: absolute; left: 36px; right: 36px; top: var(--e-7); bottom: 44px; }
.alerte-c { left: calc(25% + 14px); width: calc(50% - 24px); bottom: 22px; }
.alerte-c .flot-t { display: flex; gap: var(--e-2); align-items: center; font-size: var(--t-small); margin-bottom: 6px; }
.alerte-c .flot-t i { flex: none; width: 8px; height: 8px; border-radius: var(--r); background: var(--alerte); }
@media (max-width: 759px) {
  .res-c { left: var(--e-3); right: var(--e-3); width: auto; top: auto; bottom: var(--e-3); }
  .res-c .flot-t, .res-c dl { display: none; }
  .res-c .compte { margin-top: 0; padding-top: 0; border-top: 0; }
  .lire { left: var(--e-3); right: var(--e-3); width: auto; top: var(--e-6); }
  .lire-tabs, .lire .f-grp, .lire .f-zone, .lire-pg { display: none; }
  .volet .bil { left: var(--e-3); right: var(--e-3); top: var(--e-6); bottom: var(--e-3); padding: var(--e-3) 14px; gap: var(--e-2); }
  .volet .bil .bil-figs, .volet .bil .marg-ticks { display: none; }
  .alerte-c { left: var(--e-3); right: var(--e-3); width: auto; bottom: var(--e-3); }
}

/* ===== Layers: an exploded view. A parallel projection (matrix below: bearing 25°, tilt 64°), five sheets
   stacked on one vertical axis, each with an edge and a shadow, the same parcel on each, joined by the red axis.
   Geometry at 1440: sheet 430 × 270, drawn 504 × 187, a step of 116 px (hides about 10 % of the sheet below).
   --ew, --dy set the size; the right corner of a sheet is at (.5859 ew, −.0321 ew), where the leader starts. ===== */
.ex { position: relative; --eh: calc(var(--ew) * .6279); --vx: calc(var(--ew) * .5859); --vy: calc(var(--ew) * -.0321); --hh: calc(var(--ew) * .2174);
  --top: calc(var(--hh) + 38px); --ex-h: calc(var(--top) + 4 * var(--dy) + var(--gap) + var(--hh) + 34px); --cx: 50%;
  --ew: calc(min(100vw - 32px, 350px) / 1.172); --dy: calc(var(--ew) * .26); --gap: 14px; }
.ex-stack { position: relative; height: var(--ex-h); pointer-events: none; }
.ex-stack > .fictif { left: max(8px, calc(var(--cx) - var(--vx))); }
.ex-sheet { position: absolute; left: var(--cx); top: calc(var(--top) + var(--k) * var(--dy) + var(--g) * var(--gap)); width: 0; height: 0; transform-origin: var(--vx) var(--vy); transition: transform 420ms var(--courbe), opacity 300ms linear; }
.ex-sheet.on { z-index: 5; transform: scale(1.18); }
.ex.pick .ex-sheet:not(.on) { opacity: .22; }
.anim .ex:not(.in) .ex-sheet { transform: translateY(calc((2 - var(--k)) * var(--dy) + (1 - var(--g)) * var(--gap))); }
.anim .ex:not(.anim-done) .ex-sheet { transition: transform 1000ms var(--ressort) calc(var(--k) * 90ms); will-change: transform; }
.ex-float { position: absolute; left: 0; top: 0; }
.ex.loop:not(.pick) .ex-float { animation: ex-float 11s ease-in-out calc(var(--k) * -1.7s) infinite alternate; }
.motion-stop .ex .ex-float { animation: none; }
@keyframes ex-float { from { transform: translateY(-3px); } to { transform: translateY(3px); } }
.ex-face, .ex-edge, .ex-shade { position: absolute; left: calc(var(--ew) / -2); top: calc(var(--eh) / -2); width: var(--ew); height: var(--eh); }
.ex-face { transform: matrix(.9063, .1853, -.4226, .3973, 0, 0); background: var(--feuille); border-radius: var(--r); overflow: hidden; }
.ex-face::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(43, 32, 24, .38), inset 0 0 0 2px rgba(255, 255, 255, .55); border-radius: var(--r); }
.ex-sheet[data-v="plan"] .ex-face::after, .ex-sheet[data-v="relief"] .ex-face::after { box-shadow: inset 0 0 0 1px rgba(43, 32, 24, .58), inset 0 0 0 2px rgba(255, 255, 255, .55); }
.ex-sheet[data-v="plan"] .ex-edge, .ex-sheet[data-v="relief"] .ex-edge { background: var(--calque); box-shadow: 0 0 0 1px rgba(43, 32, 24, .36); }
.ex-face svg { display: block; width: 100%; height: 100%; }
.ex-edge { transform: translateY(4px) matrix(.9063, .1853, -.4226, .3973, 0, 0); background: var(--feuille); box-shadow: 0 0 0 1px rgba(43, 32, 24, .18); border-radius: var(--r); }
.ex-shade { --sh: 26px; transform: translateY(var(--sh)) matrix(.9063, .1853, -.4226, .3973, 0, 0); background: rgba(43, 32, 24, .10); box-shadow: 0 0 48px 12px rgba(43, 32, 24, .17); transition: transform 1000ms var(--courbe); }
.ex-sheet:first-child .ex-shade { --sh: 44px; opacity: .75; }
.anim .ex:not(.in) .ex-shade { --sh: 3px; }
.ex-sheet.on .ex-shade { --sh: 54px; }
.ex-parcel { fill: var(--repere); fill-opacity: .16; stroke: var(--repere); stroke-width: 7; stroke-linejoin: miter; }
.ex-guide { position: absolute; top: var(--vy); width: 1px; height: var(--dy); background: repeating-linear-gradient(to bottom, var(--trait-fort) 0 5px, transparent 5px 10px); }
.ex-guide--r { left: var(--vx); }
.ex-guide--l { left: calc(var(--vx) * -1); top: calc(var(--vy) * -1); }
.ex-axis { position: absolute; left: calc(var(--cx) - .75px); top: var(--top); width: 1.5px; height: calc(4 * var(--dy) + var(--gap)); background: repeating-linear-gradient(to bottom, var(--repere) 0 14px, transparent 14px 19px, var(--repere) 19px 23px, transparent 23px 28px); transition: opacity 300ms linear; }
.ex-pin { position: absolute; left: var(--cx); top: calc(var(--top) + var(--k) * var(--dy) + var(--g) * var(--gap)); width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--repere); box-shadow: 0 0 0 2px var(--feuille); transition: opacity 300ms linear; }
.ex.pick .ex-axis, .ex.pick .ex-pin { opacity: .25; }
.anim .ex:not(.anim-done) .ex-axis, .anim .ex:not(.anim-done) .ex-pin, .anim .ex:not(.anim-done) .ex-guide, .anim .ex:not(.anim-done) .ex-lead { opacity: 0; }
.ex-guide, .ex-lead { transition: opacity 300ms linear; }
.ex-rows { margin: var(--e-3) 0 0; position: relative; display: grid; gap: var(--e-3); }
.ex-gt { margin-bottom: var(--e-1); font-size: var(--t-label); line-height: var(--l-label); font-weight: var(--g-fort); color: var(--encre-2); }
.ex-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--e-1); }
.ex-txt { display: flex; gap: 8px; flex-wrap: wrap; justify-content: space-between; align-items: baseline; }
.ex-row { position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 0 10px; align-items: center; width: 100%; min-height: 46px; padding: 7px var(--e-2); background: var(--feuille); border: 1px solid var(--filet-doux); border-radius: var(--r); color: inherit; font: inherit; text-align: left; cursor: pointer; }
.ex-row:hover { background: var(--calque); }
.ex-row i { width: 22px; height: 14px; border-radius: var(--r); background: var(--c); box-shadow: inset 0 0 0 1px rgba(43, 32, 24, .14); }
.ex-lead { display: none; }
.ex-n { font-weight: var(--g-fort); font-size: var(--t-small); line-height: var(--l-h3); white-space: nowrap; }
.ex-q { color: var(--encre-2); font-size: var(--t-small); line-height: 1.3; text-align: right; }
.ex-row[aria-pressed="true"] { background: var(--encre); color: var(--sur-encre); border-color: var(--encre); }
.ex-row[aria-pressed="true"] .ex-q { color: var(--sur-encre-2); }
.ex-stop { margin-top: var(--e-3); }
@media (min-width: 760px) {
  .ex { --ew: 380px; --dy: 92px; --gap: 24px; }
  .ex-list { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .ex { --ew: 380px; --dy: 96px; --gap: 32px; --cx: 37%; --top: calc(var(--hh) + 16px); }
  .ex-rows { position: absolute; left: calc(var(--cx) + var(--vx)); right: 0; top: 0; height: var(--ex-h); margin: 0; display: block; }
  .ex-list { display: block; }
  .ex-gt { position: absolute; left: calc(clamp(48px, 7vw, 96px) - 8px + var(--e-3)); top: calc(var(--top) + var(--kg) * var(--dy) + var(--g) * var(--gap) + var(--vy) - var(--dy) / 2 - 26px); margin: 0; }
  .ex-row { position: absolute; left: 0; right: 0; top: calc(var(--top) + var(--k) * var(--dy) + var(--g) * var(--gap) + var(--vy) - var(--dy) / 2); width: auto; height: var(--dy); min-height: 0; padding: 0; display: flex; align-items: center; gap: 0; background: none; border: 0; }
  .ex-row:hover { background: none; }
  .ex-row i { display: none; }
  .ex-lead { display: block; flex: none; width: clamp(48px, 7vw, 96px); margin-left: -8px; height: 1px; background: var(--trait-fort); }
  .ex-row:hover .ex-lead { background: var(--encre); }
  .ex-txt { display: grid; gap: 2px; justify-content: start; padding: var(--e-2) var(--e-3); border-radius: var(--r); }
  .ex-n { font-size: var(--t-h3); font-weight: var(--g-h3); }
  .ex-q { font-size: var(--t-bouton); text-align: left; }
  .ex.pick .ex-row:not([aria-pressed="true"]) .ex-lead { opacity: .3; }
  .ex-row[aria-pressed="true"] { background: none; color: inherit; }
  .ex-row[aria-pressed="true"] .ex-txt { background: var(--encre); color: var(--sur-encre); }
  .ex-row[aria-pressed="true"] .ex-lead { height: 2px; background: var(--encre); }
  .ex-stop { position: absolute; left: 0; bottom: 0; margin: 0; }
}

/* ===== Profiles ===== */
.prof { display: grid; gap: var(--e-6) var(--e-5); list-style: none; margin: 0; padding: 0; }
@media (min-width: 1000px) { .prof { grid-template-columns: repeat(3, 1fr); } }
.pf { display: grid; gap: 10px; align-content: start; }
.pf-v { position: relative; aspect-ratio: 16 / 7.5; border-radius: var(--r); overflow: hidden; border: 1px solid var(--filet-doux); background: var(--feuille); }
.pf-v svg { width: 100%; height: 100%; }
.pf-v .v3d { position: absolute; inset: 0; --s: min(.62cqw, 1.12cqh); --vy: 9%; }
.pf-legend { position: absolute; z-index: 3; left: 10px; top: 10px; display: grid; gap: 4px; max-width: 128px; }
.pf-chart { position: absolute; left: 152px; right: 10px; top: 10px; bottom: 8px; }
.pf-chart svg { overflow: visible; }
.pf p { color: var(--encre-2); }
.pf a { font-weight: var(--g-fort); font-size: var(--t-small); justify-self: start; }
svg .sv-street { font-family: var(--f-texte); font-style: italic; font-size: calc(14px * var(--k, 1)); fill: #7d7064; }
svg .sv-lbl { font-family: var(--f-ref); font-size: calc(14px * var(--k, 1)); fill: #5a3214; }
svg .sv-cote { font-family: var(--f-ref); font-size: calc(14px * var(--k, 1)); fill: var(--encre); }
svg .sv-hal { paint-order: stroke; stroke: #fff; stroke-width: 3px; stroke-linejoin: round; }
svg .sv-dvf { font-family: var(--f-ref); font-size: calc(14px * var(--k, 1)); font-weight: var(--g-label); fill: #b91c1c; paint-order: stroke; stroke: #fff; stroke-width: 3px; stroke-linejoin: round; }
.grp-tip { position: absolute; right: 8%; top: 12%; background: var(--app-fond); border-radius: var(--r); box-shadow: var(--ombre-carte); padding: 6px 10px; font-size: var(--t-label); line-height: var(--l-label); }
.grp-tip b { display: block; font-size: var(--t-small); }
@media (max-width: 759px) { .pf-v { aspect-ratio: 16 / 7; } .pf-v svg { --k: 1.14; } }
