/* =========================================================
   GIWAL v2 — Gîtes et Itinéraires de Wallonie
   ========================================================= */
:root {
  --ink: #0d1a13;
  --ink-2: #2c3a32;
  --muted: #5c6a61;
  --forest: #0f2a1e;
  --forest-2: #173d2b;
  --moss: #4f8a55;
  --leaf: #cfe1c2;
  --sand: #efe9dc;
  --sand-2: #e6dfcf;
  --paper: #faf8f3;
  --white: #fff;
  --red: #e0402f;
  --red-d: #c02e1e;
  --line: rgba(13, 26, 19, .1);
  --line-2: rgba(13, 26, 19, .18);
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 12px;
  --sh-1: 0 1px 2px rgba(13, 26, 19, .06), 0 4px 14px rgba(13, 26, 19, .06);
  --sh-2: 0 10px 40px rgba(13, 26, 19, .14);
  --sh-3: 0 30px 80px rgba(6, 18, 12, .28);
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1280px;
  --gut: max(20px, calc((100vw - var(--wrap)) / 2));
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16.5px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { flex-shrink: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; letter-spacing: -.035em; line-height: 1; }
p { margin: 0; }
em { font-style: normal; }
h1 em, h2 em, .statement em, .foot__big em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 3000; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; text-decoration: none; }
.skip:focus { top: 16px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

/* ---------- éléments communs ---------- */
.balise { display: inline-block; width: 18px; height: 10px; border-radius: 2px; background: linear-gradient(#fff 0 50%, var(--red) 50%); box-shadow: 0 0 0 1px rgba(0, 0, 0, .14); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 600 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--moss); margin-bottom: 22px; }
.kicker--light { color: var(--leaf); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 999px; padding: 15px 26px; font-weight: 600; text-decoration: none; transition: transform .2s var(--ease), background .2s, box-shadow .2s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-d); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--forest-2); }
.btn--light { background: #fff; color: var(--ink); }
.btn--sm { padding: 10px 18px; font-size: .92rem; }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; border: 1px solid var(--line-2); color: var(--ink); }
.btn--ghost:hover { background: #fff; }
.round { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; display: grid; place-items: center; transition: background .2s, border-color .2s, transform .2s; }
.round svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.round:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.round--sm { width: 40px; height: 40px; }
.textbtn { border: 0; background: none; padding: 0; color: var(--red); font-weight: 600; font-size: .88rem; }
.textbtn:hover { text-decoration: underline; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.tag { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px; border-radius: 999px; font-size: .85rem; font-weight: 500; }
.tag--glass { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #7ee08a; box-shadow: 0 0 0 4px rgba(126, 224, 138, .25); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(126, 224, 138, 0); } }
.gr { display: inline-flex; align-items: center; gap: 5px; font: 700 .72rem/1 var(--sans); padding: 5px 8px 5px 6px; border-radius: 7px; background: #fff; color: var(--ink); border: 1px solid var(--line); white-space: nowrap; }
.gr::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: linear-gradient(#fff 0 50%, var(--red) 50%); box-shadow: 0 0 0 1px rgba(0, 0, 0, .2); }

/* ---------- navigation ---------- */
.nav { position: fixed; z-index: 1500; top: 14px; left: 0; right: 0; padding: 0 16px; pointer-events: none; }
.nav__bar { pointer-events: auto; max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; border-radius: 999px; background: rgba(12, 30, 21, .28); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); color: #fff; transition: background .35s, color .35s, border-color .35s, box-shadow .35s; }
.nav.is-solid .nav__bar { background: rgba(250, 248, 243, .86); border-color: var(--line); color: var(--ink); box-shadow: var(--sh-1); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.2rem/1 var(--display); letter-spacing: .02em; }
.logo img { width: 36px; height: 36px; border-radius: 10px; }
.logo--light { color: #fff; }
.nav__links { display: flex; gap: 2px; margin-left: auto; }
.nav__links a { padding: 9px 14px; border-radius: 999px; text-decoration: none; font-size: .93rem; font-weight: 500; opacity: .88; transition: background .2s, opacity .2s; }
.nav__links a:hover, .nav__links a.is-on { opacity: 1; background: rgba(255, 255, 255, .14); }
.nav.is-solid .nav__links a:hover, .nav.is-solid .nav__links a.is-on { background: rgba(13, 26, 19, .07); }
.nav__only-m { display: none; }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); margin-left: auto; position: relative; }
.nav.is-solid .burger { background: rgba(13, 26, 19, .07); }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: max(640px, 100svh); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; transform: scale(1.08); animation: kenburns 24s ease-out forwards; }
@keyframes kenburns { to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 18, 12, .45) 0%, rgba(6, 18, 12, 0) 26%, rgba(6, 18, 12, .2) 50%, rgba(6, 18, 12, .82) 100%), linear-gradient(90deg, rgba(6, 18, 12, .45), rgba(6, 18, 12, 0) 65%); }
.hero__shade::after { content: ""; position: absolute; inset: 0; opacity: .14; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero__in { width: min(var(--wrap), 100% - 40px); margin: 0 auto; padding: 140px 0 40px; }
.hero h1 { font-size: clamp(3.4rem, 10.5vw, 9.6rem); line-height: .9; letter-spacing: -.05em; margin: 26px 0 26px; text-wrap: balance; }
.hero h1 em { color: #ffd9c9; padding-right: .06em; }
.hero__lead { max-width: 33em; font-size: clamp(1.02rem, 1.5vw, 1.22rem); color: rgba(255, 255, 255, .86); margin-bottom: 34px; }
.search { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: center; max-width: 860px; padding: 8px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--ink); box-shadow: var(--sh-3); }
.search__f { display: flex; flex-direction: column; padding: 8px 22px; border-radius: 999px; position: relative; min-width: 0; transition: background .2s; }
.search__f + .search__f::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line-2); }
.search__f:hover { background: rgba(13, 26, 19, .05); }
.search__f:focus-within { background: rgba(13, 26, 19, .06); }
.search__f span { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.search__f select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; padding: 2px 0 0; font-weight: 600; font-size: 1rem; outline: none; width: 100%; text-overflow: ellipsis; }
.search__go { display: inline-flex; align-items: center; gap: 10px; height: 60px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--red); color: #fff; font-weight: 600; font-size: 1rem; transition: background .2s, transform .2s; }
.search__go:hover { background: var(--red-d); }
.search__go svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.hero__foot { width: min(var(--wrap), 100% - 40px); margin: 0 auto; padding: 26px 0 30px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255, 255, 255, .18); }
.hero__stats { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 34px; padding: 0; margin: 0; font-size: .95rem; color: rgba(255, 255, 255, .78); }
.hero__stats strong { color: #fff; font: 700 1.15rem var(--display); margin-right: 4px; }
.scroll-cue { width: 30px; height: 48px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 999px; position: relative; flex-shrink: 0; }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; margin-left: -2px; border-radius: 4px; background: #fff; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ---------- bandeau défilant ---------- */
.ticker { background: var(--red); color: #fff; overflow: hidden; padding: 16px 0; }
.ticker__track { display: flex; width: max-content; animation: marquee 80s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item { display: inline-flex; align-items: center; gap: 14px; padding: 0 22px; font: 500 1.05rem/1 var(--display); white-space: nowrap; letter-spacing: -.01em; }
.ticker__item b { font-weight: 800; }
.ticker__item i { width: 18px; height: 10px; border-radius: 2px; background: linear-gradient(#fff 0 50%, rgba(255, 255, 255, .35) 50%); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sec { padding: clamp(84px, 11vw, 160px) 0; position: relative; }
.sec--tight { padding-bottom: clamp(60px, 7vw, 100px); }
.sec--sand { background: var(--sand); }
.sec--forest { background: var(--forest); color: rgba(255, 255, 255, .78); }
.sec--forest h2, .sec--forest strong { color: #fff; }
.head { max-width: 860px; margin-bottom: clamp(40px, 5vw, 64px); }
.head h2 { font-size: clamp(2.5rem, 6vw, 5rem); margin-bottom: 24px; text-wrap: balance; }
.head h2 em { color: var(--moss); }
.head > p { font-size: 1.12rem; color: var(--muted); max-width: 40em; }
.head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 60px; }
.head--row h2 { margin-bottom: 0; }
.head__aside { max-width: 30em; color: var(--muted); font-size: .98rem; }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 236px; gap: 16px; grid-template-areas: "map map map price" "map map map beds" "photo photo asbl alt"; }
.tile { border-radius: var(--r-lg); padding: 28px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; }
.tile p { font-size: .96rem; }
.tile .tile__k { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-bottom: auto; }
.tile .tile__big { font: 700 clamp(2.4rem, 4vw, 3.6rem)/1 var(--display); letter-spacing: -.045em; }
.tile--price .tile__big, .tile--beds .tile__big, .tile--alt .tile__big, .tile--asbl .tile__big { font-size: clamp(2rem, 3vw, 2.9rem); white-space: nowrap; }
.tile--map { grid-area: map; background: var(--forest); color: #fff; }
.netmap { position: absolute; inset: 0; width: 100%; height: 100%; }
.netmap path { fill: none; stroke: rgba(207, 225, 194, .5); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.netmap circle.g { fill: var(--red); stroke: var(--forest); stroke-width: 2; vector-effect: non-scaling-stroke; }
.netmap circle.halo { fill: rgba(224, 64, 47, .35); transform-box: fill-box; transform-origin: center; animation: halo 3s infinite; }
@keyframes halo { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.8); opacity: 0; } }
.tile__over { position: relative; max-width: 340px; display: grid; gap: 10px; padding: 22px 24px; margin: -8px; border-radius: 20px; background: rgba(15, 42, 30, .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.tile__over .link-arrow { color: var(--leaf); margin-top: 4px; }
.tile--price { grid-area: price; background: var(--red); color: #fff; }
.tile--beds { grid-area: beds; background: var(--sand); }
.tile--photo { grid-area: photo; padding: 0; }
.tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile--photo:hover img { transform: scale(1.05); }
.tile .tile__cap { position: relative; margin: 18px; align-self: flex-start; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .9); font-weight: 600; font-size: .86rem; }
.tile--asbl { grid-area: asbl; background: var(--leaf); color: var(--forest); }
.tile--alt { grid-area: alt; background: var(--forest-2); color: #fff; }
.tile--alt::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 55%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 80' preserveAspectRatio='none'%3E%3Cpath d='M0 80 L0 62 L28 44 L46 54 L74 22 L96 40 L120 12 L146 36 L168 26 L200 48 L200 80Z' fill='%23ffffff' fill-opacity='.07'/%3E%3Cpath d='M0 62 L28 44 L46 54 L74 22 L96 40 L120 12 L146 36 L168 26 L200 48' fill='none' stroke='%23cfe1c2' stroke-opacity='.5' stroke-width='1.5'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }

/* ---------- rail d'hébergements ---------- */
.rail-ctrl { display: flex; gap: 10px; }
.rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); padding: 6px var(--gut) 30px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail:focus-visible { outline-offset: -3px; }
.gcard { flex: 0 0 clamp(270px, 25vw, 330px); aspect-ratio: 3 / 4; scroll-snap-align: start; position: relative; border-radius: var(--r-lg); overflow: hidden; border: 0; padding: 0; background: var(--forest); color: #fff; text-align: left; isolation: isolate; box-shadow: var(--sh-1); transition: transform .4s var(--ease), box-shadow .4s; }
.gcard:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
.gcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.gcard:hover img { transform: scale(1.06); }
.gcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, transparent 30%, transparent 45%, rgba(6, 18, 12, .9) 100%); }
.gcard__top { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.chip-glass { padding: 6px 11px; border-radius: 999px; font-size: .74rem; font-weight: 600; background: rgba(13, 26, 19, .42); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.price-pill { padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--ink); font-size: .8rem; font-weight: 500; }
.price-pill b { font-weight: 700; }
.gcard__b { position: absolute; left: 20px; right: 20px; bottom: 20px; display: grid; gap: 8px; }
.gcard__name { font: 700 1.5rem/1.05 var(--display); letter-spacing: -.03em; }
.gcard__loc { font-size: .88rem; color: rgba(255, 255, 255, .78); }
.grs { display: flex; flex-wrap: wrap; gap: 5px; }

/* ---------- explorateur ---------- */
.explorer { position: relative; height: 100svh; min-height: 640px; max-height: 1000px; background: #e9eae3; overflow: hidden; }
#map { position: absolute; inset: 0; }
#map .leaflet-tile-pane { filter: sepia(.12) saturate(.9) contrast(.97); }
.xpanel { position: absolute; z-index: 600; top: 92px; left: 20px; bottom: 20px; width: 384px; display: flex; flex-direction: column; border-radius: var(--r-lg); background: rgba(250, 248, 243, .93); border: 1px solid rgba(255, 255, 255, .7); backdrop-filter: blur(20px) saturate(1.2); -webkit-backdrop-filter: blur(20px) saturate(1.2); box-shadow: var(--sh-2); overflow: hidden; transition: transform .4s var(--ease); }
.xpanel__handle { display: none; }
.xpanel__head { padding: 22px 20px 10px; display: grid; gap: 10px; border-bottom: 1px solid var(--line); }
.xpanel__head h2 { font-size: 1.55rem; letter-spacing: -.03em; margin-bottom: 4px; }
.field-search { display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.field-search:focus-within { border-color: var(--moss); box-shadow: 0 0 0 4px rgba(79, 138, 85, .14); }
.field-search svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2.2; stroke-linecap: round; }
.field-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; padding: 12px 0; }
.xpanel__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.select { min-width: 0; }
.select select { width: 100%; appearance: none; -webkit-appearance: none; border-radius: 12px; border: 1px solid var(--line); padding: 10px 30px 10px 12px; font-size: .88rem; font-weight: 500; text-overflow: ellipsis; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%235c6a61' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") right 9px center / 16px no-repeat; }
.select select:focus { outline: none; border-color: var(--moss); }
.select select.is-set { background-color: var(--ink); color: #fff; border-color: var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.seg { display: flex; padding: 4px; border-radius: 14px; background: rgba(13, 26, 19, .06); gap: 2px; }
.seg button { flex: 1; border: 0; background: transparent; border-radius: 10px; padding: 8px; font-size: .84rem; font-weight: 600; color: var(--ink-2); transition: background .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.seg button:hover { color: var(--ink); }
.seg button.is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(13, 26, 19, .14); }
.seg--wide { display: inline-flex; margin-bottom: 28px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg--wide button { padding: 10px 18px; flex: 0 0 auto; font-size: .9rem; }
.xpanel__meta { display: flex; justify-content: space-between; align-items: center; padding-top: 4px; font-size: .88rem; color: var(--muted); }
.xpanel__meta strong { color: var(--ink); }
.xlist { list-style: none; margin: 0; padding: 10px; overflow-y: auto; flex: 1; display: grid; gap: 6px; align-content: start; scrollbar-width: thin; }
.xcard { width: 100%; display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: center; padding: 8px; border: 0; border-radius: 16px; background: transparent; text-align: left; transition: background .2s, box-shadow .2s; }
.xcard:hover, .xcard.is-hover { background: #fff; box-shadow: var(--sh-1); }
.xcard.is-on { background: #fff; box-shadow: inset 0 0 0 2px var(--red); }
.xcard img, .xcard .ph { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; background: var(--sand-2); }
.xcard__b { min-width: 0; display: grid; gap: 3px; }
.xcard__t { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--moss); }
.xcard__t.is-relais { color: #b07a1c; }
.xcard__n { font: 700 1.02rem/1.15 var(--display); letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xcard__l { font-size: .82rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xcard__l b { color: var(--ink); font-weight: 600; }
.xempty { padding: 40px 16px; text-align: center; color: var(--muted); }
.xempty strong { display: block; font: 700 1.2rem var(--display); color: var(--ink); margin-bottom: 6px; }
.xtools { position: absolute; z-index: 600; top: 92px; right: 20px; }
.switch { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 10px; border-radius: 999px; background: rgba(250, 248, 243, .93); backdrop-filter: blur(14px); box-shadow: var(--sh-1); font-weight: 600; font-size: .88rem; user-select: none; cursor: pointer; position: relative; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch span { width: 38px; height: 22px; border-radius: 999px; background: var(--line-2); position: relative; transition: background .25s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .25s var(--ease); }
.switch input:checked + span { background: var(--red); }
.switch input:checked + span::after { transform: translateX(16px); }
.switch input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }

/* carte : marqueurs & contrôles */
.leaflet-container { font-family: var(--sans); }
.explorer .leaflet-top { top: 138px; }
.explorer .leaflet-right .leaflet-control { margin-right: 20px; }
.pin { width: 34px; height: 34px; border-radius: 50%; background: var(--forest); border: 3px solid #fff; display: grid; place-items: center; box-shadow: 0 4px 12px rgba(6, 18, 12, .35); transition: transform .25s var(--ease), background .2s; }
.pin svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.pin--relais { background: #b07a1c; }
.pin.is-hover, .pin.is-on { background: var(--red); transform: scale(1.25); }
.pin.is-on { box-shadow: 0 0 0 6px rgba(224, 64, 47, .25), 0 6px 16px rgba(6, 18, 12, .4); }
.leaflet-control-zoom { border: 0 !important; box-shadow: var(--sh-1) !important; border-radius: 14px !important; overflow: hidden; }
.leaflet-control-zoom a { width: 40px !important; height: 40px !important; line-height: 38px !important; color: var(--ink) !important; background: rgba(250, 248, 243, .95) !important; }
.leaflet-control-layers { border: 0 !important; border-radius: 14px !important; box-shadow: var(--sh-1) !important; background: rgba(250, 248, 243, .95) !important; }
.leaflet-control-layers-toggle { width: 40px !important; height: 40px !important; background-size: 20px !important; }
.leaflet-control-attribution { font-size: 10px; background: rgba(250, 248, 243, .8) !important; border-radius: 8px 0 0 0; }
.leaflet-tooltip.grtip { background: var(--ink); color: #fff; border: 0; border-radius: 12px; padding: 7px 11px; font-weight: 600; font-size: .82rem; box-shadow: var(--sh-2); }
.leaflet-tooltip.grtip small { display: block; font-weight: 400; opacity: .75; }
.leaflet-tooltip.grtip::before { display: none; }
.leaflet-popup-content-wrapper { border-radius: 20px; padding: 0; overflow: hidden; box-shadow: var(--sh-3); }
.leaflet-popup-content { margin: 0; width: 260px !important; }
.leaflet-popup-tip-container { display: none; }
.leaflet-container a.leaflet-popup-close-button { top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 50%; background: rgba(0, 0, 0, .45); color: #fff; font: 18px/26px var(--sans); }
.pop img { width: 100%; height: 140px; object-fit: cover; }
.pop__b { padding: 14px 16px 16px; display: grid; gap: 4px; }
.pop__n { font: 700 1.15rem/1.1 var(--display); letter-spacing: -.02em; }
.pop__l { font-size: .84rem; color: var(--muted); margin-bottom: 8px !important; }
.pop .btn { padding: 11px 16px; font-size: .9rem; }
.cursor-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--red); border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(224, 64, 47, .25); }

/* ---------- profil du GR ---------- */
.route { position: absolute; z-index: 650; left: 424px; right: 20px; bottom: 20px; padding: 18px 20px 14px; border-radius: var(--r-lg); background: rgba(13, 26, 19, .92); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); color: #fff; box-shadow: var(--sh-3); animation: rise .45s var(--ease); }
.route[hidden] { display: none; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.route__head { display: flex; align-items: center; gap: 18px; margin-bottom: 10px; }
.route__id { min-width: 0; }
.route__code { font: 800 1.6rem/1 var(--display); letter-spacing: -.03em; display: flex; align-items: center; gap: 10px; }
.route__code::before { content: ""; width: 22px; height: 13px; border-radius: 2px; background: linear-gradient(#fff 0 50%, var(--red) 50%); }
.route__name { font-size: .88rem; color: rgba(255, 255, 255, .65); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.route__kpis { list-style: none; display: flex; gap: 22px; margin: 0 0 0 auto; padding: 0; }
.route__kpis li { display: grid; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, .55); }
.route__kpis b { font: 700 1.15rem/1.2 var(--display); letter-spacing: -.02em; color: #fff; text-transform: none; }
.route .round { color: #fff; border-color: rgba(255, 255, 255, .25); }
.route .round:hover { background: #fff; color: var(--ink); }
.profile { position: relative; height: 112px; margin: 4px 0 10px; cursor: crosshair; touch-action: pan-y; }
.profile svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.profile .area { fill: url(#pgrad); }
.profile .line { fill: none; stroke: #ffd9c9; stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.profile .grid { stroke: rgba(255, 255, 255, .08); stroke-width: 1; vector-effect: non-scaling-stroke; }
.profile__axis { position: absolute; left: 0; font-size: .66rem; color: rgba(255, 255, 255, .45); transform: translateY(-50%); pointer-events: none; }
.profile__pins { position: absolute; inset: 0; pointer-events: none; }
.ppin { position: absolute; transform: translate(-50%, -50%); pointer-events: auto; border: 0; padding: 0; background: none; z-index: 1; }
.ppin::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; margin-left: -1px; height: var(--h, 40px); background: linear-gradient(var(--red), rgba(224, 64, 47, 0)); }
.route__link { color: #ffd9c9; }
.ppin span { position: relative; z-index: 1; width: 22px; height: 22px; border-radius: 50%; background: var(--red); border: 2px solid #fff; display: grid; place-items: center; transition: transform .2s; }
.ppin span svg { width: 10px; height: 10px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ppin:hover span, .ppin:focus-visible span, .ppin.is-hover span { transform: scale(1.3); }
.profile__cursor { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, .6); pointer-events: none; }
.profile__cursor span { position: absolute; top: -8px; left: 8px; white-space: nowrap; padding: 4px 9px; border-radius: 8px; background: #fff; color: var(--ink); font-size: .75rem; font-weight: 600; }
.profile__cursor.is-left span { left: auto; right: 8px; }
.route__steps { list-style: none; display: flex; align-items: center; gap: 8px; margin: 0; padding: 2px 0; overflow-x: auto; scrollbar-width: none; }
.route__steps::-webkit-scrollbar { display: none; }
.route__steps li { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; }
.step { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: #fff; font-size: .84rem; transition: background .2s; }
.step:hover, .step.is-hover { background: rgba(255, 255, 255, .18); }
.step b { font: 700 .72rem/1 var(--sans); padding: 5px 7px; border-radius: 999px; background: var(--red); }
.step small { color: rgba(255, 255, 255, .55); }
.gap { font-size: .74rem; color: rgba(255, 255, 255, .5); white-space: nowrap; }
.route__empty { font-size: .9rem; color: rgba(255, 255, 255, .65); padding: 6px 0; }

/* ---------- itinéraires ---------- */
.routes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.rcard { display: flex; flex-direction: column; gap: 10px; padding: 20px 20px 18px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; text-align: left; transition: transform .35s var(--ease), box-shadow .35s, border-color .3s; position: relative; overflow: hidden; }
.rcard:hover { transform: translateY(-5px); box-shadow: var(--sh-2); border-color: transparent; }
.rcard > span { width: 100%; }
.rcard__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.rcard__code { font: 800 1.7rem/1 var(--display); letter-spacing: -.04em; }
.rcard__badge { font-size: .74rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--leaf); color: var(--forest); white-space: nowrap; }
.rcard__badge.is-zero { background: var(--sand); color: var(--muted); }
.rcard__name { font-size: .92rem; color: var(--muted); min-height: 2.8em; line-height: 1.4; }
.rcard svg { width: 100%; height: 54px; margin: 2px 0; }
.rcard svg path.a { fill: rgba(79, 138, 85, .14); transition: fill .3s; }
.rcard svg path.l { fill: none; stroke: var(--moss); stroke-width: 1.6; vector-effect: non-scaling-stroke; transition: stroke .3s; }
.rcard:hover svg path.a { fill: rgba(224, 64, 47, .14); }
.rcard:hover svg path.l { stroke: var(--red); }
.rcard__kpis { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.rcard__kpis b { display: block; font: 700 1rem var(--display); color: var(--ink); letter-spacing: -.02em; }

/* ---------- bon à savoir ---------- */
.pratique { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.pratique__left { position: sticky; top: 110px; }
.pratique h2 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); margin-bottom: 44px; }
.pratique h2 em { color: var(--moss); }
.howto { list-style: none; padding: 0; margin: 0; display: grid; gap: 30px; }
.howto li { display: flex; gap: 22px; }
.howto__n { font: italic 400 2.4rem/1 var(--serif); color: var(--red); min-width: 48px; }
.howto h3 { font-size: 1.3rem; letter-spacing: -.02em; margin-bottom: 6px; }
.howto p { color: var(--muted); }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--paper); border-radius: var(--r-md); border: 1px solid var(--line); transition: background .2s, box-shadow .2s; }
.faq details[open] { background: #fff; box-shadow: var(--sh-1); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 22px; font: 600 1.08rem/1.3 var(--display); letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' fill='none' stroke='%230d1a13' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .3s var(--ease), background-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--leaf); }
.faq__body { padding: 0 22px 22px; color: var(--ink-2); }
.faq__body a { color: var(--red-d); font-weight: 600; }
.types { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.types div { padding: 16px; border-radius: 14px; background: var(--paper); }
.types dt { font: 700 1rem var(--display); margin-bottom: 4px; }
.types dd { margin: 0; font-size: .9rem; color: var(--muted); }
.faq__links button { border: 0; background: none; padding: 0; color: var(--red-d); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- ASBL ---------- */
.statement { font: 600 clamp(1.9rem, 4.2vw, 3.6rem)/1.08 var(--display); letter-spacing: -.035em; max-width: 22em; margin-bottom: clamp(48px, 6vw, 80px); text-wrap: balance; }
.statement em { color: var(--leaf); }
.asbl { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.asbl__txt > p { font-size: 1.06rem; margin-bottom: 16px; }
.pillars { list-style: none; padding: 0; margin: 30px 0 0; display: grid; border-top: 1px solid rgba(255, 255, 255, .14); }
.pillars li { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); font-size: .95rem; }
.video { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-xl); overflow: hidden; background: #000; box-shadow: var(--sh-3); }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform 1s var(--ease), opacity .4s; }
.video:hover img { transform: scale(1.04); opacity: .7; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__btn { position: absolute; inset: 0; border: 0; padding: 26px; display: flex; align-items: flex-end; background: linear-gradient(transparent 45%, rgba(0, 0, 0, .6)); color: #fff; text-align: left; }
.video__play { width: 76px; height: 76px; border-radius: 50%; background: rgba(255, 255, 255, .95); display: grid; place-items: center; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.video__play::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); animation: ring 2.2s infinite; }
@keyframes ring { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.video__btn:hover .video__play { transform: translate(-50%, -50%) scale(1.08); }
.video__play svg { width: 28px; height: 28px; fill: var(--red); margin-left: 4px; }
.video__txt { display: grid; font-size: .9rem; color: rgba(255, 255, 255, .8); }
.video__txt strong { font: 700 1.35rem var(--display); letter-spacing: -.02em; }

/* ---------- propriétaires ---------- */
.owners { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.owners h2 { font-size: clamp(2.3rem, 5vw, 4.2rem); margin-bottom: 22px; text-wrap: balance; }
.owners h2 em { color: var(--red); }
.owners__lead { font-size: 1.12rem; color: var(--muted); max-width: 32em; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 34px 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; }
.steps li::before { content: counter(s); grid-row: span 2; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--sand); font: 700 1rem var(--display); }
.steps strong { font-weight: 600; }
.steps span { color: var(--muted); font-size: .94rem; }
.docs { display: flex; flex-wrap: wrap; gap: 10px; }
.doc { display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 16px; border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, background .2s; }
.doc:hover { background: #fff; border-color: var(--line-2); }
.doc svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgba(224, 64, 47, .1); fill: none; stroke: var(--red); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.doc span { display: grid; font-size: .8rem; color: var(--muted); }
.doc strong { color: var(--ink); font-size: .94rem; }
.plans { padding: 30px; border-radius: var(--r-xl); background: var(--forest); color: #fff; box-shadow: var(--sh-3); display: grid; gap: 10px; }
.plans__k { font: 700 1.4rem var(--display); letter-spacing: -.02em; margin-bottom: 8px; display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.plans__k span { font: 500 .8rem var(--sans); color: rgba(255, 255, 255, .55); }
.plan { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.plan--hl { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .25); }
.plan__cat { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--leaf); color: var(--forest); font: 800 1rem var(--display); }
.plan__cond { font-size: .92rem; color: rgba(255, 255, 255, .8); }
.plan strong { font: 700 1.7rem var(--display); letter-spacing: -.03em; }
.plans .btn { margin-top: 12px; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.contact h2 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); margin-bottom: 36px; }
.contact h2 em { color: var(--moss); }
.cards { display: grid; gap: 10px; }
.ccard { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 20px; background: var(--paper); text-decoration: none; border: 1px solid transparent; transition: border-color .2s, transform .2s; }
a.ccard:hover { border-color: var(--line-2); transform: translateX(4px); }
.ccard__ico { width: 48px; height: 48px; border-radius: 14px; background: var(--forest); display: grid; place-items: center; }
.ccard__ico svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ccard > span:last-child { display: grid; font-weight: 600; font-size: 1.02rem; }
.ccard small { font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.form { padding: clamp(24px, 3.4vw, 40px); border-radius: var(--r-xl); background: #fff; box-shadow: var(--sh-2); display: grid; gap: 18px; }
.form__2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fld { display: grid; gap: 7px; border: 0; padding: 0; margin: 0; min-width: 0; }
.fld > span, .fld legend { font-size: .84rem; font-weight: 600; color: var(--ink-2); padding: 0; }
.fld legend { margin-bottom: 7px; }
.fld input, .fld textarea { width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 13px 15px; background: var(--paper); resize: vertical; transition: border-color .2s, box-shadow .2s, background .2s; }
.fld input:focus, .fld textarea:focus { outline: none; background: #fff; border-color: var(--moss); box-shadow: 0 0 0 4px rgba(79, 138, 85, .14); }
.fld.is-err input, .fld.is-err textarea { border-color: var(--red); }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radios label { position: relative; }
.radios input { position: absolute; opacity: 0; }
.radios span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .9rem; font-weight: 500; cursor: pointer; transition: all .2s; }
.radios input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.radios input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.form__end { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form__hint { font-size: .84rem; color: var(--muted); flex: 1; min-width: 200px; }
.form__hint.is-ok { color: var(--moss); font-weight: 600; }

/* ---------- pied de page ---------- */
.foot { background: var(--forest); color: rgba(255, 255, 255, .7); padding: clamp(60px, 8vw, 110px) 0 28px; overflow: hidden; }
.foot__big { font: 700 clamp(4rem, 15vw, 14rem)/.85 var(--display); letter-spacing: -.06em; color: #fff; margin: 0 0 clamp(40px, 6vw, 80px) -0.04em; white-space: nowrap; }
.foot__big em { color: var(--red); }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: .94rem; }
.foot__grid > * { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.foot__grid strong { color: #fff; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; }
.foot__grid p { margin-top: 12px; }
.foot a:not(.logo) { text-decoration: none; }
.foot a:not(.logo):hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-top: 22px; font-size: .8rem; color: rgba(255, 255, 255, .45); }

/* ---------- fiche ---------- */
.sheet { border: 0; padding: 0; margin: 0 0 0 auto; width: min(640px, 100%); max-width: 100%; height: 100%; max-height: 100%; background: var(--paper); color: var(--ink); box-shadow: var(--sh-3); overflow: hidden; }
.sheet[open] { animation: sheet-in .45s var(--ease); }
@keyframes sheet-in { from { transform: translateX(60px); opacity: 0; } }
.sheet::backdrop { background: rgba(6, 18, 12, .5); backdrop-filter: blur(4px); }
.sheet__scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; position: relative; }
.sheet__close { position: absolute; z-index: 5; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); display: grid; place-items: center; box-shadow: var(--sh-1); }
.sheet__close svg { width: 20px; height: 20px; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; }
.gal { position: relative; aspect-ratio: 4 / 3; background: var(--forest); overflow: hidden; }
.gal > img { width: 100%; height: 100%; object-fit: cover; }
.gal::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, .2), transparent 25%, transparent 50%, rgba(6, 18, 12, .88)); pointer-events: none; }
.gal__nav { position: absolute; z-index: 2; top: 45%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); display: grid; place-items: center; }
.gal__nav svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.gal__nav--p { left: 16px; } .gal__nav--n { right: 16px; }
.gal__title { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 24px; color: #fff; }
.gal__title h2 { font-size: clamp(1.9rem, 4.6vw, 2.8rem); letter-spacing: -.04em; line-height: 1; margin: 12px 0 6px; }
.gal__title p { color: rgba(255, 255, 255, .8); }
.gal__dots { position: absolute; z-index: 2; top: 30px; left: 24px; display: flex; gap: 5px; }
.gal__dots i { width: 22px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .4); }
.gal__dots i.is-on { background: #fff; }
.sheet__body { padding: 26px 28px 40px; display: grid; gap: 28px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.kpis > div { padding: 16px 18px; display: grid; gap: 2px; align-content: start; }
.kpis > div + div { border-left: 1px solid var(--line); }
.kpis span { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.kpis strong { font: 700 1.6rem/1.1 var(--display); letter-spacing: -.03em; }
.kpis small { font-size: .78rem; color: var(--muted); line-height: 1.35; }
.sheet h3 { font: 700 .76rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.sheet__desc p { color: var(--ink-2); margin-bottom: 10px; }
.trails { display: grid; gap: 8px; }
.trail { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); text-align: left; width: 100%; transition: border-color .2s, box-shadow .2s; }
.trail:hover { border-color: var(--line-2); box-shadow: var(--sh-1); }
.trail__code { font: 800 1rem var(--display); min-width: 76px; display: flex; align-items: center; gap: 8px; }
.trail__code::before { content: ""; width: 14px; height: 8px; border-radius: 2px; background: linear-gradient(#fff 0 50%, var(--red) 50%); box-shadow: 0 0 0 1px rgba(0, 0, 0, .18); }
.trail__info { flex: 1; font-size: .86rem; color: var(--muted); min-width: 0; }
.trail__dist { font-size: .8rem; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: var(--leaf); color: var(--forest); white-space: nowrap; }
.trail__dist.is-far { background: var(--sand); color: var(--ink-2); }
.note { font-size: .8rem; color: var(--muted); margin-top: 8px; }
.nbrs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nbr { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--sand); border: 0; text-align: left; transition: background .2s; }
.nbr:hover { background: var(--sand-2); }
.nbr small { font-size: .74rem; color: var(--muted); font-weight: 600; }
.nbr strong { font: 700 .98rem/1.2 var(--display); letter-spacing: -.01em; }
.nbr span { font-size: .8rem; color: var(--ink-2); }
.contact-list { display: grid; gap: 8px; }
.cl { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); text-decoration: none; word-break: break-word; transition: border-color .2s; }
a.cl:hover { border-color: var(--line-2); }
.cl svg { width: 38px; height: 38px; padding: 9px; border-radius: 11px; background: var(--sand); fill: none; stroke: var(--forest); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cl span { display: grid; font-weight: 500; }
.cl small { font-size: .72rem; color: var(--muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.sheet__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sheet__actions .btn { flex: 1 1 200px; }


/* ---------- compléments v2.1 ---------- */
.hero__credit { position: absolute; right: max(20px, calc((100vw - var(--wrap)) / 2)); bottom: 100px; font-size: .7rem; color: rgba(255, 255, 255, .55); }
.hero--page { min-height: max(560px, 78svh); }
.hero--page h1 { font-size: clamp(3.2rem, 9vw, 8rem); }
.hero--page .tag .balise { box-shadow: none; }
.head__aside { display: grid; gap: 18px; justify-items: start; }
.foot__credits { flex-basis: 100%; }
.foot__credits a { text-decoration: underline !important; text-underline-offset: 2px; }
a.rcard { color: inherit; text-decoration: none; }
.routes--teaser { grid-template-columns: repeat(4, 1fr); }
.route__more { flex-shrink: 0; padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: #fff; font-size: .84rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .2s; }
.route__more:hover { background: rgba(255, 255, 255, .2); }
.trail { text-decoration: none; color: inherit; }
.trail__go { color: var(--muted); font-weight: 600; transition: transform .2s; }
a.trail:hover .trail__go { transform: translateX(3px); color: var(--red); }
div.trail:hover { box-shadow: none; border-color: var(--line); }
.pin--n b { font: 800 .85rem/1 var(--display); color: #fff; }
.ppin b { font: 800 .68rem/1 var(--sans); color: #fff; }
.flag { position: relative; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 4px solid var(--ink); }
.flag span { position: absolute; left: 18px; top: -6px; white-space: nowrap; padding: 3px 8px; border-radius: 8px; background: var(--ink); color: #fff; font: 700 .72rem/1.2 var(--sans); }

/* page sentiers : liste */
.listbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 28px; }
.listbar .seg--wide { margin-bottom: 0; }
.field-search--lg { width: min(380px, 100%); border-radius: 16px; }
.field-search--lg input { padding: 14px 0; }
.note--c { text-align: center; margin-top: 30px; }
#liste { padding-top: clamp(40px, 5vw, 70px); }
.places li[hidden] { display: none; }
.places__more { padding: 0 !important; border: 0 !important; background: none !important; }
.places__more button { border: 1px dashed var(--line-2); background: transparent; border-radius: 999px; padding: 7px 14px; font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.places__more button:hover { background: #fff; }
.routes .xempty { grid-column: 1 / -1; }

/* page sentiers : détail */
.grd { padding: 120px 0 clamp(70px, 9vw, 130px); }
.back { display: inline-flex; gap: 8px; font-weight: 600; text-decoration: none; color: var(--muted); margin-bottom: 26px; }
.back:hover { color: var(--ink); }
.grd__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 30px; }
.grd__code { display: inline-flex; align-items: center; gap: 12px; font: 800 1.2rem/1 var(--display); color: var(--red); margin-bottom: 12px; }
.grd__code::before { content: ""; width: 28px; height: 16px; border-radius: 3px; background: linear-gradient(#fff 0 50%, var(--red) 50%); box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); }
.grd h1 { font-size: clamp(2.4rem, 6vw, 5rem); line-height: .95; max-width: 14em; text-wrap: balance; }
.grd h1 em { color: var(--moss); }
.grd__kpis { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; }
.grd__kpis li { display: grid; padding: 12px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); min-width: 112px; }
.grd__kpis span { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.grd__kpis b { font: 700 1.25rem/1.25 var(--display); letter-spacing: -.02em; }
.profile-card { background: var(--forest); color: #fff; border-radius: var(--r-xl); padding: 22px 26px 18px; margin-bottom: 26px; box-shadow: var(--sh-2); }
.profile-card__head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: rgba(255, 255, 255, .6); margin-bottom: 16px; }
.profile-card__head strong { color: #fff; font: 700 1.05rem var(--display); }
.profile-card .profile { height: 170px; margin: 0 0 6px; }
.grd__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 26px; align-items: start; }
.grd__map { position: sticky; top: 100px; height: min(640px, calc(100svh - 130px)); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-2); background: #e9eae3; }
#gmap { position: absolute; inset: 0; }
#gmap .leaflet-tile-pane { filter: sepia(.12) saturate(.9) contrast(.97); }
.grd__steps h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 10px; }
.grd__steps h2 em { color: var(--moss); }
.grd__intro { color: var(--muted); margin-bottom: 22px; }
.grd__intro a { color: var(--red-d); font-weight: 600; }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 17px; top: 14px; bottom: 14px; width: 2px; background: repeating-linear-gradient(var(--red) 0 8px, transparent 8px 14px); opacity: .5; }
.tl { position: relative; }
.tl--end { display: flex; align-items: center; gap: 16px; padding: 6px 0; font-size: .92rem; color: var(--muted); }
.tl--end b { color: var(--ink); }
.tl__dot { width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; background: var(--paper); border: 3px solid var(--ink); position: relative; z-index: 1; box-shadow: inset 0 0 0 6px var(--paper), inset 0 0 0 20px var(--ink); }
.tl--seg { padding: 10px 0 10px 52px; font-size: .8rem; font-weight: 600; color: var(--muted); }
.tl--seg span { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--sand); }
.tlcard { width: 100%; display: grid; grid-template-columns: 36px 72px 1fr; gap: 14px; align-items: center; padding: 10px 12px 10px 0; border: 0; background: none; text-align: left; border-radius: 18px; transition: background .2s, box-shadow .2s; }
.tlcard:hover, .tlcard.is-hover { background: #fff; box-shadow: var(--sh-1); }
.tlcard__n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font: 800 .9rem var(--display); position: relative; z-index: 1; box-shadow: 0 0 0 4px var(--paper); }
.tlcard img, .tlcard .ph { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; background: var(--sand-2); }
.tlcard__b { display: grid; gap: 2px; min-width: 0; }
.tlcard__km { font-size: .74rem; font-weight: 700; color: var(--red-d); letter-spacing: .02em; }
.tlcard strong { font: 700 1.08rem/1.2 var(--display); letter-spacing: -.02em; }
.tlcard__b > span:last-child { font-size: .84rem; color: var(--muted); }
.grd__places { margin-top: clamp(40px, 6vw, 70px); }
.grd__places h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin-bottom: 16px; }
.places { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.places li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px 7px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .88rem; }
.places b { font-size: .7rem; padding: 3px 7px; border-radius: 999px; background: var(--sand); color: var(--ink-2); }
.grd__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: clamp(40px, 6vw, 70px); }
.gnav { display: grid; gap: 2px; padding: 22px 24px; border-radius: var(--r-lg); background: var(--sand); text-decoration: none; transition: background .2s, transform .2s; }
.gnav:hover { background: var(--sand-2); transform: translateY(-3px); }
.gnav small { font-size: .78rem; font-weight: 600; color: var(--muted); }
.gnav strong { font: 800 1.6rem/1.1 var(--display); letter-spacing: -.03em; }
.gnav span { color: var(--muted); font-size: .9rem; }
.gnav--n { text-align: right; }

@media (max-width: 1180px) { .routes--teaser { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 980px) {
  .grd__grid { grid-template-columns: 1fr; }
  .grd__map { position: relative; top: 0; height: 420px; }
  .route__more { display: none; }
}
@media (max-width: 700px) {
  .hero__credit { display: none; }
  .routes--teaser { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -16px; padding: 4px 16px 12px; scrollbar-width: none; }
  .routes--teaser .rcard { flex: 0 0 78%; scroll-snap-align: start; }
  .grd { padding-top: 100px; }
  .grd__kpis { gap: 8px; }
  .grd__kpis li { min-width: 0; flex: 1 1 28%; padding: 10px 12px; }
  .grd__kpis b { font-size: 1.05rem; }
  .grd__kpis span { font-size: .6rem; letter-spacing: .08em; }
  .profile-card { padding: 18px 16px 14px; border-radius: 24px; }
  .profile-card .profile { height: 130px; }
  .grd__map { height: 360px; border-radius: 24px; }
  .grd__nav { grid-template-columns: 1fr; }
  .gnav--n { text-align: left; }
  .tlcard { grid-template-columns: 36px 60px 1fr; gap: 10px; }
  .tlcard img, .tlcard .ph { width: 60px; height: 60px; }
}

/* ---------- apparitions ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .routes { grid-template-columns: repeat(3, 1fr); }
  .nav__links a { padding: 9px 10px; }
}
@media (max-width: 980px) {
  .nav__links { position: fixed; top: 76px; left: 16px; right: 16px; flex-direction: column; gap: 2px; padding: 10px; border-radius: 24px; background: rgba(250, 248, 243, .97); color: var(--ink); box-shadow: var(--sh-3); backdrop-filter: blur(16px); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all .3s var(--ease); }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__links a { padding: 15px 16px; font-size: 1.1rem; border-radius: 16px; opacity: 1; }
  .nav__links a:hover { background: rgba(13, 26, 19, .06) !important; }
  .nav__only-m { display: block; }
  .nav__cta { display: none; }
  .burger { display: block; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 210px; grid-template-areas: "map map" "map map" "price beds" "photo photo" "asbl alt"; }
  .pratique, .asbl, .owners, .contact { grid-template-columns: 1fr; }
  .pratique__left { position: static; }
  .routes { grid-template-columns: 1fr 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .head--row { flex-direction: column; align-items: flex-start; }
  /* explorateur mobile */
  .explorer { max-height: none; }
  .xtools { top: 84px; right: 12px; }
  .explorer .leaflet-top { top: 128px; }
  .explorer .leaflet-right .leaflet-control { margin-right: 12px; }
  .xpanel { top: auto; left: 0; right: 0; bottom: 0; width: auto; height: 62%; border-radius: 26px 26px 0 0; border-bottom: 0; }
  .xpanel.is-low { transform: translateY(calc(100% - 132px)); }
  .xpanel__handle { display: grid; place-items: center; border: 0; background: none; height: 22px; padding: 0; margin-top: 4px; flex-shrink: 0; }
  .xpanel__handle span { width: 44px; height: 5px; border-radius: 5px; background: var(--line-2); }
  .xpanel__head { padding-top: 6px; }
  .xpanel__head h2 { font-size: 1.25rem; }
  .route { left: 12px; right: 12px; bottom: 12px; padding: 14px 14px 12px; }
  .explorer.has-route .xpanel { transform: translateY(110%); }
  .route__kpis { gap: 14px; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .wrap, .hero__in, .hero__foot { width: calc(100% - 32px); }
  :root { --gut: 16px; }
  .nav { top: 10px; padding: 0 10px; }
  .hero__in { padding-top: 120px; }
  .hero h1 { margin: 20px 0; }
  .search { grid-template-columns: 1fr 1fr; border-radius: 26px; padding: 8px; }
  .search__f { border-radius: 16px; padding: 10px 14px; }
  .search__f:first-child { grid-column: 1 / -1; }
  .search__f + .search__f::before { display: none; }
  .search__go { grid-column: 1 / -1; justify-content: center; height: 54px; margin-top: 4px; }
  .hero__foot { padding: 20px 0 24px; }
  .hero__stats { gap: 6px 18px; font-size: .86rem; }
  .scroll-cue { display: none; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; grid-template-areas: "map" "price" "beds" "photo" "asbl" "alt"; }
  .tile { min-height: 190px; }
  .tile--map { min-height: 420px; }
  .tile--photo { min-height: 240px; }
  .routes { grid-template-columns: 1fr; }
  .rail-ctrl { display: none; }
  .gcard { flex-basis: 78vw; }
  .types { grid-template-columns: 1fr; }
  .pillars li { grid-template-columns: 1fr; gap: 2px; }
  .form__2 { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
  .kpis strong { font-size: 1.3rem; }
  .kpis > div { padding: 12px; }
  .nbrs { grid-template-columns: 1fr; }
  .sheet__body { padding: 22px 18px 36px; }
  .gal__title { left: 20px; right: 20px; }
  .route__code { font-size: 1.3rem; }
  .route__kpis { display: none; }
  .profile { height: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}
