.fiche {
  --f-ink: var(--ink, #302d22);
  --f-paper: var(--paper, #fffaf0);
  --f-green: #233e35;
  --f-amber: #f4c788;
  --f-clay: #8c422a;
  --f-line: #cfc5b3;
  margin: 0;
  color: var(--f-ink);
  background: var(--f-paper);
  font-family: var(--sans, system-ui);
}
.fiche-shell, .fiche-stats dl, .fiche-nav > div, .fiche-hero-inner {
  width: min(1150px, 89%);
  margin-inline: auto;
}
.fiche section[id], .fiche aside[id], .fiche li[id] {scroll-margin-top: 70px}
.fiche h1, .fiche h2, .fiche h3 {font-family: var(--serif, Georgia); line-height: 1.04; font-weight: 400; letter-spacing: -.035em; margin: 0}
.fiche h2 {font-size: clamp(2.2rem, 4.2vw, 3.7rem)}
.fiche h3 {font-size: clamp(1.6rem, 2.8vw, 2.35rem)}
.fiche p {line-height: 1.58}
.fiche-eyebrow {font: 700 .73rem/1.4 var(--sans, system-ui); letter-spacing: .13em; text-transform: uppercase; margin: 0 0 .75rem}
.fiche-cover {isolation: isolate; position: relative; background: var(--f-green); color: white}
.fiche-photo, .fiche-cover::after {position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2}
.fiche-cover::after {content: ""; z-index: -1; background: linear-gradient(0deg,rgba(14,28,24,.88),rgba(14,28,24,.18) 74%),linear-gradient(90deg,rgba(10,20,13,.4),transparent 70%)}
.fiche-hero-inner {min-height: clamp(355px, 53svh, 595px); display: flex; flex-direction: column; justify-content: space-between; align-items: start; gap: 3rem; padding-block: 1.25rem clamp(2rem, 5vw, 4rem)}
.fiche-return {padding: .55rem .8rem; color: white; text-decoration: none; font-size: .85rem; font-weight: 700; background: #263b32d9; border-radius: .2rem}
.fiche h1 {font-size: clamp(3rem, 6.8vw, 6.3rem); max-width: 18ch; text-wrap: balance}
.fiche-cover .fiche-eyebrow {color: #ffe0aa}
.fiche-place {margin: .85rem 0 0; font-size: 1.05rem}
.fiche-stats {background: var(--f-green); color: #fff8e7}
.fiche-stats dl {display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 1.35rem}
.fiche-stats dl > div {border-left: 1px solid #6c7c6e; padding-left: clamp(.6rem,2.5vw,2rem)}
.fiche-stats dl > div:first-child {padding-left: 0; border-left: 0}
.fiche-stats dt {font-size: .79rem; color: #e2dfc9}
.fiche-stats dd {font: 400 clamp(1.55rem,3vw,2.35rem)/1.25 var(--serif, Georgia); margin: .1rem 0 0}
.fiche-nav {position: sticky; top: 0; z-index: 3; background: var(--f-paper); border-bottom: 1px solid var(--f-line)}
.fiche-nav > div {display: flex; align-items: stretch; column-gap: clamp(.8rem,3vw,3rem)}
.fiche-nav a {padding: .85rem 0; color: inherit; font-size: .92rem; font-weight: 650; text-decoration: none; white-space: nowrap}
.fiche-nav a:hover, .fiche-nav a:focus-visible {color: var(--f-clay); box-shadow: inset 0 -2px var(--f-clay)}
.fiche-overview, .fiche-program, .fiche-pratique {display: grid; grid-template-columns: 1.75fr 1fr; align-items: start; gap: clamp(2rem,6vw,6rem); padding-block: clamp(3rem,6vw,5.5rem); border-bottom: 1px solid var(--f-line)}
.fiche-lead {font-size: clamp(1.12rem,1.75vw,1.4rem); max-width: 58ch; margin: 1.2rem 0 2rem}
.fiche-feature {border-left: 3px solid var(--f-clay); padding-left: 1.15rem;}
.fiche-feature .fiche-eyebrow {color: var(--f-clay)}
.fiche-feature p:not(.fiche-eyebrow) {margin: .7rem 0}
.fiche-feature a {font-size: .9rem; color: var(--f-clay); font-weight: 700}
.fiche-grade {padding: clamp(1.35rem,3vw,2.3rem); background: #eaeade; border-radius: 3px}
.fiche-grade h2 {font-size: clamp(2.2rem,3vw,2.9rem)}
.fiche-meter {display: flex; align-items: center; gap: 10px; margin-top: 1rem; color: var(--f-green); font-size: .88rem}
.fiche-meter span {display: flex; gap: 3px}
.fiche-meter i {display: block; width: 17px; height: 8px; transform: skewX(-13deg); border: 1px solid #728477}
.fiche-meter i.filled {background: var(--f-green); border-color: var(--f-green)}
.fiche-grade dl {margin: 1.1rem 0 0; font-size: .88rem}
.fiche-grade dl > div {display:flex; justify-content:space-between; gap:1rem; border-top:1px solid #c5cbba; padding-top:.45rem; margin-top:.45rem}
.fiche-grade dd {margin:0; font-weight:700}
.fiche-program, .fiche-pratique {grid-template-columns: .95fr 1.8fr}
.fiche-program > div p:not(.fiche-eyebrow) {max-width: 28ch}
.fiche-program ol {list-style: none; margin:0; padding:0}
.fiche-program li, .fiche-pratique details {border-bottom:1px solid var(--f-line)}
.fiche-program li:first-child, .fiche-pratique details:first-child {border-top:1px solid var(--f-line)}
.fiche summary {display:grid; cursor:pointer; list-style:none; position:relative; align-items:center; gap: .95rem; padding: 1.2rem 1.5rem 1.2rem 0}
.fiche summary::-webkit-details-marker {display:none}
.fiche summary::after {content:"+"; position:absolute; right:.1rem; top:50%; transform:translateY(-50%); font-size:1.4rem; font-weight:400; color:var(--f-clay)}
.fiche details[open] > summary::after {content:"−"}
.fiche-program summary {grid-template-columns: 2.85rem 1fr}
.jour-num {background:#eaeade; color:var(--f-green); border-radius:50%; display:grid; place-items:center; aspect-ratio:1; font-size:.83rem; font-weight:750}
.fiche-program summary strong {font-size: 1.12rem; line-height:1.3; display:block}
.fiche-program summary small {display:block; margin-top:.25rem; color:#655c4f; font-size:.82rem}
.fiche-program details p {margin:0 0 1.25rem 3.8rem}
.fiche-pratique summary {font-weight:700}
.fiche-pratique details p {margin:0 1.2rem 1.3rem 0}
.fiche-others {padding-block:clamp(3rem,6vw,5.5rem)}
.fiche-others h2 {font-size:clamp(2rem,3.2vw,3rem); margin-bottom:1.35rem}
.fiche-others > div {display:grid; grid-template-columns:1fr 1fr; gap:1rem}
.fiche-others a {display:grid; grid-template-columns:5rem 1fr auto; align-items:center; gap:1rem; color:inherit; text-decoration:none; border:1px solid var(--f-line); padding:.5rem .9rem .5rem .5rem}
.fiche-others a:hover strong {text-decoration:underline}
.fiche-others img {width:5rem; aspect-ratio:1; object-fit:cover}
.fiche-others small,.fiche-others strong {display:block}
.fiche-others strong {font:400 clamp(1.12rem,1.8vw,1.6rem)/1.2 var(--serif,Georgia)}
.fiche-others small {color:#655c4f; margin-bottom:.2rem}
@media(max-width:750px){
  .fiche-overview,.fiche-program,.fiche-pratique,.fiche-others > div {grid-template-columns:1fr}
  .fiche-program > div p:not(.fiche-eyebrow) {max-width:50ch}
  .fiche-overview,.fiche-program,.fiche-pratique {gap:1.6rem}
  .fiche-nav > div {justify-content:space-between; gap:.4rem}
  .fiche-nav a {font-size:.81rem}
  .fiche-stats dl {grid-template-columns:1fr 1fr; gap:1rem; padding-block:1.15rem}
  .fiche-stats dl > div:nth-child(odd) {padding-left:0; border:0}
  .fiche-stats dl > div:nth-child(even) {padding-left:1rem}
  .fiche-program details p {margin-left:0}
  .fiche-place {font-size:.96rem}
}
.fiche-map,.fiche-gallery {padding-block:clamp(3rem,6vw,5.5rem);border-bottom:1px solid var(--f-line)}
.fiche-map {display:grid;grid-template-columns:.9fr 1.85fr;align-items:start;gap:clamp(2rem,6vw,6rem)}
.fiche-map figure,.fiche-gallery figure {margin:0;min-width:0}
.fiche-map figure img,.fiche-gallery img {width:100%;height:auto;display:block}
.fiche-map figcaption {display:flex;flex-wrap:wrap;align-items:start;justify-content:space-between;gap:.5rem 1.2rem;margin-top:.55rem;font-size:.8rem}
.fiche-map figcaption details {flex:1;min-width:140px}
.fiche-map figcaption summary {display:block;width:fit-content;margin-left:auto;padding:0 1rem 0 0;font-size:.8rem}
.fiche-map figcaption summary::after {font-size:1rem}
.fiche-map figcaption p {margin:.6rem 0 0}
.map-legend {font-size:.87rem;color:#625b4d}
.map-legend::before {content:"";display:inline-block;width:21px;border-top:3px dashed #8c4328;margin:0 .45rem .2rem 0}
.fiche-gallery > div {display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:1rem;margin-top:1.5rem}
.fiche-gallery img {height:clamp(175px,22vw,290px);object-fit:cover}
.fiche-gallery figcaption {font-size:.85rem;margin-top:.5rem}
.fiche-contact {display:inline-flex;align-items:center;gap:1rem;margin-top:1.25rem;padding:.75rem 1rem;background:var(--f-green);color:white;text-decoration:none;border-radius:3px;font-weight:650}
@media(max-width:750px){
 .fiche-map{grid-template-columns:1fr;gap:.8rem}
 .fiche-gallery > div {grid-template-columns:1fr 1fr;gap:.8rem}
 .fiche-gallery figure:first-child {grid-column:1/-1}
 .fiche-gallery img {height:auto;aspect-ratio:4/3}
 .fiche-gallery figure:first-child img{aspect-ratio:16/9}
 .fiche-nav > div{overflow-x:auto;justify-content:flex-start;gap:1rem;scrollbar-width:thin}
}
.fiche-budget {margin-top:1.4rem;padding-top:1rem;border-top:1px solid #b9c3b3}
.fiche-budget strong {font:400 clamp(1.65rem,2.6vw,2.25rem)/1.15 var(--serif,Georgia)}
.fiche-budget p:not(.fiche-eyebrow) {margin:.45rem 0 0;font-size:.82rem}
.fiche-budget .fiche-eyebrow {margin-bottom:.35rem}
.fiche-meter svg.effort-wheel {display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round}
.fiche-meter .effort-wheel.active {color:#294c39}
.fiche-meter .effort-wheel.inactive {color:#9ca797;stroke-dasharray:2 2}
.fiche-echelle {font-size:.76rem;line-height:1.4;color:#4b584b}
.fiche-cartographie {min-width:0}
.carte-interactive,.carte-fallback {width:100%;height:clamp(330px,42vw,515px);background:#dce3d4}
.carte-interactive {z-index:0;isolation:isolate}
.carte-fallback {height:auto}
.carte-fallback img {width:100%;height:auto;display:block}
.carte-interactive[hidden],.carte-outils[hidden] {display:none}
.carte-outils {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.55rem 1rem;align-items:end;padding:1rem;background:#f0eedf}
.carte-select {display:grid;gap:.25rem}
.carte-select label {font-weight:700;font-size:.79rem}
.carte-select select,.carte-outils button {color:#253a2f;background:white;border:1px solid #a9b2a5;border-radius:3px;padding:.5rem;font:inherit;font-size:.85rem;min-width:0}
.carte-outils button {cursor:pointer;min-height:40px}
.carte-layer,.carte-etape,.carte-reseau,.carte-legende,.carte-outils a {grid-column:1/-1}
.carte-layer {display:flex;gap:.35rem;align-items:center;font-size:.8rem}
.carte-etape {font-size:.95rem;font-weight:700;margin:.15rem 0 0}
.carte-reseau {margin:0;font-size:.76rem}.carte-reseau:empty{display:none}
.carte-outils a {font-size:.82rem;text-underline-offset:.22em;width:fit-content}
.carte-legende {display:flex;align-items:center;flex-wrap:wrap;gap:.45rem .85rem;font-size:.73rem;list-style:none;padding:0;margin:.4rem 0 0}
.carte-legende i {display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:.3rem}
.carte-legende .ride,.jour-pin.ride {background:#295342}
.carte-legende .transport,.jour-pin.transport {background:#385b78}
.carte-legende .rest,.jour-pin.rest {background:#84511e}
.carte-interactive .jour-pin {display:grid;place-items:center;border-radius:50%;border:2px solid white;color:white;font:700 11px/1 system-ui;box-shadow:0 1px 4px #0005}
.carte-interactive .jour-pin.selected {outline:3px solid #cd6227;outline-offset:1px}
.carte-interactive .leaflet-control-attribution {font-size:9px}
.carte-sources {margin-top:.35rem;font-size:.78rem}
.carte-sources summary {width:fit-content;padding:.45rem 1.2rem .45rem 0}
.carte-sources p {margin:0 0 .5rem}
.fiche-gallery .photos-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.3rem 1rem}
.fiche-gallery .photos-grid img {aspect-ratio:4/3;object-fit:cover;height:auto}
.fiche-gallery dialog {width:min(94vw,1000px);max-height:94svh;border:0;padding:1rem;background:#172820;color:white}
.fiche-gallery dialog::backdrop {background:#102018db}
.fiche-gallery dialog figure {text-align:center}
.fiche-gallery dialog figure img {max-height:68svh;height:62svh;width:100%;object-fit:contain}
.fiche-gallery dialog button {background:transparent;color:white;border:1px solid #8b9b90;border-radius:3px;padding:.42rem .75rem;cursor:pointer;font:inherit}
.photo-toolbar,.photo-nav {display:flex;align-items:center;justify-content:space-between;gap:.75rem}
.photo-toolbar {margin-bottom:.65rem}.photo-nav {margin-top:.75rem}
@media(max-width:750px){
 .fiche-gallery .photos-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem .75rem}
 .fiche-gallery .photos-grid figure:first-child {grid-column:auto}
 .carte-outils {grid-template-columns:1fr;font-size:.83rem}
 .carte-outils button {justify-self:start}
 .carte-interactive {height:350px}
 .fiche-meter svg.effort-wheel {width:20px;height:20px}
}
.carte-interactive .carte-toponyme {color:#284030;background:#fffff3cb;border:0;border-radius:2px;box-shadow:none;padding:1px 3px;font:600 11px/1.15 var(--sans,system-ui);white-space:normal;max-width:110px}
.carte-interactive .carte-toponyme::before {display:none}
