/* Design system. Polices auto-hébergées (SIL OFL), aucune dépendance. */
@font-face { font-family: 'Fraunces'; src: url('fonts/fraunces.woff2') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('fonts/fraunces-italic.woff2') format('woff2'); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter.woff2') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --bg: #f4f1ec;
  --paper: #ffffff;
  --ink: #0d0d0f;
  --ink-2: #43464e;
  --muted: #777b85;
  --line: rgba(13, 13, 15, 0.08);
  --line-2: rgba(13, 13, 15, 0.15);
  --accent: #ff5a1f;
  --accent-soft: #ffe7dc;
  --accent-bg: #ffe7dc; --accent-ink: #ff5a1f;
  --warn: #b4410e;
  --warn-soft: #fff0e6;
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --shadow: 0 1px 2px rgba(13, 13, 15, 0.04), 0 6px 24px rgba(13, 13, 15, 0.06);
  --shadow-lg: 0 2px 6px rgba(13, 13, 15, 0.05), 0 24px 60px -12px rgba(13, 13, 15, 0.18);
  /* Pastels par type d'hébergement : fond / encre */
  --refuge-bg: #dcf2e2; --refuge-ink: #1d6337;
  --gite-bg: #fff0c2; --gite-ink: #6e4f00;
  --hotel-bg: #e2e7ff; --hotel-ink: #2a3a9e;
  --camping-bg: #ffe0e9; --camping-ink: #962a52;
  --ch-bg: #ede4ff; --ch-ink: #55349e;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--ink); text-decoration-color: color-mix(in srgb, var(--accent) 70%, transparent); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3, .h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; line-height: 1.08; margin: 1.6em 0 0.5em; font-optical-sizing: auto; }
h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3, .h3 { font-size: 1.3rem; line-height: 1.2; }
h2 small, h3 small { font-family: var(--sans); font-size: 0.85rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
p, ul, ol { margin: 0 0 1em; }
strong, b { font-weight: 650; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 100; background: var(--paper); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2px; }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }

/* ---------- Boutons, pastilles ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font: 600 0.98rem/1 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn--dark { background: var(--ink); color: #fff; box-shadow: 0 6px 18px -6px rgba(13, 13, 15, 0.5); }
.btn--dark:hover { color: #fff; background: #26262b; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { color: var(--ink); }
.btn--line { background: var(--paper); color: var(--ink); border-color: var(--line-2); }
.btn--line:hover { color: var(--ink); border-color: var(--ink); }
.btn--sm { padding: 10px 16px; font-size: 0.9rem; }
.pill { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.75); border: 1px solid var(--line); font: 600 0.82rem/1.3 var(--sans); color: var(--ink-2); box-shadow: 0 2px 10px -4px rgba(13, 13, 15, 0.12); backdrop-filter: blur(6px); }
.pill b { background: var(--accent); color: #fff; padding: 4px 9px; border-radius: 999px; font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; }
.pill a { color: inherit; text-decoration: none; }
.pill--soft { padding: 6px 14px; }
.pill--soft::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
a.pill { text-decoration: none; }
a.pill:hover { color: var(--ink); border-color: var(--line-2); }

/* ---------- En-tête ---------- */
.hd { position: sticky; top: 0; z-index: 60; background: rgba(244, 241, 236, 0.72); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid var(--line); }
.hd__in { display: flex; align-items: center; gap: 24px; min-height: 70px; }
.logo { display: inline-flex; flex: none; align-items: center; text-decoration: none; }
.logo__img { display: block; width: auto; height: 34px; }
.ft__legal .logo__img { height: 40px; }
.hd__nav { margin: 0 auto; }
.hd__nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.hd__nav a { display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 0.95rem; }
.hd__nav a:hover, .hd__nav a[aria-current] { color: var(--ink); background: rgba(13, 13, 15, 0.06); }
.hd__mob { display: none; }
.hd__mob summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); display: grid; place-content: center; gap: 5px; }
.hd__mob summary::-webkit-details-marker { display: none; }
.hd__mob summary span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
.hd__mob nav { position: absolute; left: 12px; right: 12px; top: 74px; background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 12px; }
.hd__mob ul { list-style: none; margin: 0 0 12px; padding: 0; }
.hd__mob nav a:not(.btn) { display: block; padding: 12px 14px; border-radius: 12px; text-decoration: none; font-weight: 500; font-size: 1.05rem; }
.hd__mob nav a:not(.btn):hover, .hd__mob nav a[aria-current] { background: var(--bg); }
.hd__mob .btn { width: 100%; justify-content: center; }
@media (max-width: 1020px) { .hd__nav, .hd__cta { display: none; } .hd__mob { display: block; margin-left: auto; } }

/* ---------- Bandeaux (hero) ---------- */
.glow, .phero, .hero {
  background:
    radial-gradient(1100px 520px at 10% -10%, #dbe3ee 0%, rgba(219, 227, 238, 0) 62%),
    radial-gradient(900px 480px at 92% 8%, #e8e2f3 0%, rgba(232, 226, 243, 0) 60%),
    radial-gradient(1200px 520px at 60% 115%, #fde0cc 0%, rgba(253, 224, 204, 0) 65%),
    var(--bg);
}
.phero { padding: 18px 0 56px; margin-bottom: 8px; }
.phero__in { max-width: 1200px; }
.phero__title { margin: 0.1em 0 0.35em; max-width: 18ch; font-size: clamp(2.2rem, 5.4vw, 3.9rem); }
.phero__title em { font-style: italic; color: var(--accent); }
.phero__lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-2); max-width: 62ch; margin-bottom: 0; }
.phero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.phero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.8); border: 1px solid var(--line); font-size: 0.92rem; font-weight: 500; color: var(--ink-2); }
.chip b { color: var(--ink); }
.chip .ico { color: var(--accent); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 14px 0 0; margin: 0 0 26px; font-size: 0.85rem; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 6px; opacity: 0.5; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* Accueil */
.hero { padding: 40px 0 0; text-align: center; overflow: hidden; }
.hero h1 { font-size: clamp(2.7rem, 7.6vw, 6rem); line-height: 1; letter-spacing: -0.035em; margin: 0.1em auto 0.35em; max-width: 17ch; font-weight: 500; }
@media (max-width: 760px) { .br-lg { display: none; } }
.hero__lead { font-size: clamp(1.1rem, 2.1vw, 1.5rem); color: var(--ink-2); max-width: 46ch; margin: 0 auto 34px; line-height: 1.45; }
.scribble { position: relative; white-space: nowrap; display: inline-block; }
.scribble svg { position: absolute; left: -7%; top: -16%; width: 114%; max-width: none; height: 132%; overflow: visible; pointer-events: none; }
.scribble path { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw 1.4s 0.3s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .scribble path { animation: none; stroke-dashoffset: 0; } }
.search { display: flex; align-items: center; gap: 8px; max-width: 600px; margin: 0 auto; padding: 8px; background: rgba(255, 255, 255, 0.9); border: 1px solid var(--line-2); border-radius: 999px; box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.5), var(--shadow); }
.search .ico { margin-left: 14px; color: var(--muted); width: 20px; height: 20px; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; font: 400 1.05rem var(--sans); color: var(--ink); padding: 10px 4px; outline: none; }
.search input::placeholder { color: #9a9ea6; }
.hero__alt { margin: 16px 0 0; font-size: 0.95rem; color: var(--muted); }
.hero__alt a { color: var(--ink); font-weight: 600; }
@media (max-width: 560px) { .search { border-radius: 22px; flex-wrap: wrap; } .search input { flex-basis: 60%; } .search .btn { width: 100%; justify-content: center; } }

/* Vitrine : fenêtre + cartes flottantes */
.showcase { position: relative; max-width: 1120px; margin: 64px auto 0; padding: 0 20px; text-align: left; }
.showcase::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(to bottom, rgba(244, 241, 236, 0), var(--bg)); pointer-events: none; }
.window { background: var(--paper); border-radius: var(--r-lg) var(--r-lg) 0 0; border: 1px solid var(--line); border-bottom: 0; box-shadow: var(--shadow-lg); padding: 18px 22px 8px; }
.window__bar { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.window__dots { display: flex; gap: 6px; }
.window__dots i { width: 11px; height: 11px; border-radius: 50%; background: #e6e3de; }
.window__title { font-weight: 600; font-size: 0.95rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) { .window .window__tabs { display: none; } .window { padding: 14px 12px 4px; } }
.window__tabs { display: flex; gap: 6px; margin-left: auto; }
.window__tabs span { font-size: 0.8rem; padding: 5px 11px; border-radius: 999px; background: var(--bg); color: var(--ink-2); font-weight: 500; }
.window__tabs span:first-child { background: var(--ink); color: #fff; }
.window .pf { margin: 6px 0 0; border: 0; box-shadow: none; }
.floats { position: absolute; right: -36px; top: 74px; width: 318px; z-index: 2; display: flex; flex-direction: column; gap: 14px; }
.float { display: flex; gap: 12px; align-items: center; background: rgba(255, 255, 255, 0.96); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; box-shadow: var(--shadow-lg); text-decoration: none; color: var(--ink); transform: rotate(var(--rot, 0deg)); transition: transform 0.2s; }
.float:hover { transform: rotate(0deg) translateY(-2px); color: var(--ink); }
.float:nth-child(1) { --rot: 1.2deg; }
.float:nth-child(2) { --rot: -0.8deg; margin-left: -14px; }
.float:nth-child(3) { --rot: 0.6deg; }
.float__ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.float__ico .ico { width: 22px; height: 22px; }
.float p { margin: 0; font-size: 0.95rem; line-height: 1.35; }
.float small { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 0.82rem; margin-top: 3px; }
.float small::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--dot, #3cb371); }
@media (max-width: 1100px) { .floats { position: static; width: auto; flex-direction: row; overflow-x: auto; padding: 4px 4px 18px; margin-bottom: -6px; scroll-snap-type: x mandatory; } .float { min-width: 280px; scroll-snap-align: start; --rot: 0deg !important; margin-left: 0 !important; } }

/* Bande de chiffres */
.numbers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; padding: 40px 0 8px; text-align: center; }
.numbers div { padding: 6px 10px; border-left: 1px solid var(--line); }
.numbers div:first-child { border-left: 0; }
.numbers strong { display: block; font: 500 clamp(1.8rem, 3.6vw, 2.8rem)/1.05 var(--serif); letter-spacing: -0.02em; }
.numbers span { font-size: 0.9rem; color: var(--muted); }
@media (max-width: 760px) { .numbers { grid-template-columns: repeat(2, 1fr); row-gap: 22px; } .numbers div { border-left: 0; } .numbers div:last-child { grid-column: span 2; } }

/* Bande noire manifeste */
.band { background: var(--ink); color: #fff; padding: clamp(64px, 10vw, 120px) 0; margin: 80px calc(50% - 50vw); }
.band .wrap { max-width: 1200px; }
.band p { font: 650 clamp(1.6rem, 3.6vw, 2.6rem)/1.22 var(--sans); letter-spacing: -0.02em; max-width: 24ch; margin: 0 0 0.9em; }
.band p:last-child { margin-bottom: 0; }
.band em { font-style: normal; color: var(--accent); }
.band a:not(.btn) { color: #fff; }
.band .muted-light { color: #9a9ca3; }
.band .btn { margin-top: 12px; }

/* ---------- Sections ---------- */
main.wrap { padding-bottom: 88px; }
section + section { margin-top: 24px; }
.sh { margin: 72px 0 28px; }
.sh--center { text-align: center; }
.sh--center .sh__sub { margin-left: auto; margin-right: auto; }
.sh__title { margin: 0 0 12px; }
.sh__title em { font-style: italic; color: var(--accent); }
.sh__sub { color: var(--ink-2); font-size: 1.1rem; max-width: 60ch; margin: 0; }
.more { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.more--center { justify-content: center; }
.layout { display: grid; gap: 48px; }
@media (min-width: 1060px) { .layout { grid-template-columns: minmax(0, 1fr) 310px; } }
.main { min-width: 0; }
.main > h2:first-child, .main > .sh:first-child { margin-top: 24px; }
.prose { max-width: 740px; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { font-family: var(--sans); font-weight: 650; font-size: 1.12rem; letter-spacing: 0; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 62ch; }
.side { display: flex; flex-direction: column; gap: 18px; padding-top: 24px; }
@media (min-width: 1060px) { .side .ad--sidebar { position: sticky; top: 92px; } }
.box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); }
.box--accent { background: linear-gradient(140deg, #ffe7dc, #ffd9c4); border: 0; box-shadow: none; }
.box__title { font: 600 1.1rem/1.2 var(--serif); margin: 0 0 12px; letter-spacing: -0.01em; }
.box p { font-size: 0.95rem; margin-bottom: 0.6em; }
.stages, .side-links { list-style: none; margin: 0; padding: 0; font-size: 0.93rem; }
.stages a, .side-links a { display: flex; gap: 10px; align-items: flex-start; padding: 7px 8px; border-radius: 10px; text-decoration: none; color: var(--ink-2); line-height: 1.35; }
.stages a span { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; font-size: 0.75rem; font-weight: 700; color: var(--ink); }
.stages a:hover, .side-links a:hover { background: var(--bg); color: var(--ink); }
.stages a[aria-current], .side-links a[aria-current] { background: var(--ink); color: #fff; }
.stages a[aria-current] span { background: var(--accent); color: #fff; }

/* ---------- Cartes et grilles ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; margin: 18px 0 28px; }
.grid--2 { grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
@media (max-width: 400px) { .grid--2, .grid--3 { grid-template-columns: 1fr; } }
.card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); min-width: 0; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card h2, .card h3 { margin: 0.25em 0 0.45em; font-size: 1.35rem; }
.card p:last-child { margin-bottom: 0; }
.card a { text-decoration: none; }
.card a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.card .kicker { font-size: 0.8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin: 0; }
.card .big { font: 500 2.6rem/1 var(--serif); letter-spacing: -0.03em; margin: 0 0 4px; }
.card .big span { font-size: 1rem; font-family: var(--sans); color: var(--muted); letter-spacing: 0; margin-left: 4px; }

/* Carte d'hébergement */
.grid--heb { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.hc { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.hc:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.hc[hidden] { display: none; }
.hc--off { opacity: 0.65; }
.hc__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 16px 18px 14px; background: var(--tbg, #f1efe9); }
.hc--refuge { --tbg: var(--refuge-bg); --tink: var(--refuge-ink); }
.hc--gite, .hc--auberge { --tbg: var(--gite-bg); --tink: var(--gite-ink); }
.hc--hotel { --tbg: var(--hotel-bg); --tink: var(--hotel-ink); }
.hc--camping { --tbg: var(--camping-bg); --tink: var(--camping-ink); }
.hc--chambre-hote { --tbg: var(--ch-bg); --tink: var(--ch-ink); }
.hc__badges { display: flex; flex-wrap: wrap; gap: 6px; }
.hc__alt { margin: 0; font: 500 1.7rem/1 var(--serif); color: var(--tink, var(--ink)); letter-spacing: -0.02em; white-space: nowrap; }
.hc__alt span { font: 600 0.8rem var(--sans); letter-spacing: 0; }
.hc__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.hc__title { font: 600 1.18rem/1.25 var(--serif); margin: 0 0 6px; letter-spacing: -0.01em; }
.hc__title a { text-decoration: none; }
.hc__title a::after { content: ''; position: absolute; inset: 0; }
.hc__where { display: flex; gap: 6px; align-items: flex-start; font-size: 0.86rem; color: var(--muted); margin: 0 0 10px; line-height: 1.4; }
.hc__where .ico { margin-top: 1px; }
.hc__desc { font-size: 0.92rem; color: var(--ink-2); margin: 0 0 14px; line-height: 1.5; }
.hc__meta { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: auto 0 0; padding: 0; }
.hc__meta li { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 500; padding: 5px 10px; border-radius: 999px; background: var(--bg); color: var(--ink-2); max-width: 100%; }
.hc__meta .ico { width: 15px; height: 15px; color: var(--muted); }

/* Photos */
.ph { margin: 0; position: relative; }
.ph img { display: block; width: 100%; height: auto; border-radius: var(--r-lg); object-fit: cover; }
.ph__credit { font-size: 0.72rem; color: var(--muted); margin-top: 8px; line-height: 1.35; }
.ph__credit a { color: var(--muted); text-decoration: none; }
.ph__credit a:hover { color: var(--ink); text-decoration: underline; }
.phero--media .phero__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; }
.phero--media .phero__title { max-width: 16ch; }
.phero__media img { aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); border: 6px solid #fff; transform: rotate(1.2deg); }
@media (max-width: 900px) { .phero--media .phero__in { grid-template-columns: 1fr; gap: 28px; } .phero__media img { transform: none; aspect-ratio: 16 / 10; } }
.hc__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tbg, #eee); }
.hc__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.hc:hover .hc__media img { transform: scale(1.05); }
.hc__media .hc__badges { position: absolute; left: 12px; top: 12px; }
.hc__media .badge { background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(6px); }
.hc__media .hc__alt { position: absolute; right: 12px; bottom: 12px; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(6px); padding: 5px 11px; border-radius: 999px; font-size: 1.15rem; }
.hc__env { position: absolute; left: 36px; bottom: 10px; font-size: 0.7rem; font-weight: 600; color: #fff; background: rgba(13, 13, 15, 0.45); padding: 2px 8px; border-radius: 999px; }
.hc__credit { position: absolute; left: 10px; bottom: 10px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; color: #fff; background: rgba(13, 13, 15, 0.45); cursor: help; }
.sc__media { display: block; margin: -20px -20px 14px; aspect-ratio: 16 / 8; overflow: hidden; border-radius: var(--r) var(--r) 0 0; }
.sc__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.sc:hover .sc__media img { transform: scale(1.05); }
.sc--photo .sc__n { position: absolute; top: 14px; left: 14px; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.85); }

/* Badges */
.badge { display: inline-flex; align-items: center; font-size: 0.74rem; font-weight: 650; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.75); color: var(--ink-2); line-height: 1.2; }
.badge--refuge { color: var(--refuge-ink); }
.badge--gite, .badge--auberge { color: var(--gite-ink); }
.badge--hotel { color: var(--hotel-ink); }
.badge--camping { color: var(--camping-ink); }
.badge--chambre-hote { color: var(--ch-ink); }
.badge--warn { background: var(--warn-soft); color: var(--warn); }
.badge--eau { background: #e3f0fd; color: #155fa8; }
.badge--line { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.badge--pays { letter-spacing: 0.05em; }
.phero .badge, .eyebrow-badges .badge { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }

/* Tuiles pastel */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .tiles { grid-template-columns: 1fr; } }
.tile { position: relative; display: flex; flex-direction: column; min-height: 196px; padding: 22px; border-radius: var(--r-lg); text-decoration: none; color: var(--ink); border: 1px solid rgba(255, 255, 255, 0.7); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), var(--shadow); transition: transform 0.2s ease, box-shadow 0.2s ease; overflow: hidden; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); }
.tile__ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.7); margin-bottom: auto; box-shadow: 0 6px 16px -8px rgba(13, 13, 15, 0.25); }
.tile__ico .ico { width: 28px; height: 28px; color: var(--tone-ink); }
.tile__title { font: 600 1.45rem/1.1 var(--serif); letter-spacing: -0.015em; margin-top: 26px; }
.tile__sub { color: var(--ink-2); font-size: 0.95rem; margin-top: 6px; line-height: 1.4; }
.tile__go { position: absolute; right: 18px; top: 22px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.6); opacity: 0; transform: translateX(-6px); transition: 0.2s; }
.tile:hover .tile__go { opacity: 1; transform: none; }
.tile--lavender { background: linear-gradient(150deg, #f4eeff, #ddd0ff); --tone-ink: #6a3fd6; }
.tile--butter { background: linear-gradient(150deg, #fff8dc, #ffe8a3); --tone-ink: #b07a00; }
.tile--peach { background: linear-gradient(150deg, #fff0e7, #ffd2bb); --tone-ink: #e0491a; }
.tile--sky { background: linear-gradient(150deg, #eef2ff, #d2dcff); --tone-ink: #3550d6; }
.tile--mint { background: linear-gradient(150deg, #effae9, #ccefc0); --tone-ink: #2e8a3c; }
.tile--aqua { background: linear-gradient(150deg, #e9fbfd, #bfeef6); --tone-ink: #0e8aa3; }
.tile--rose { background: linear-gradient(150deg, #fff0f4, #ffcadb); --tone-ink: #d0346c; }
.tile--stone { background: linear-gradient(150deg, #faf8f4, #e9e3d8); --tone-ink: #6b5d45; }

/* Cartes d'étape */
.stage-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.sc { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px 20px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.sc:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); }
.sc__n { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 0.9rem; }
.sc__title { font: 600 1.2rem/1.25 var(--serif); letter-spacing: -0.01em; margin-top: 6px; }
.sc .pf { margin: 6px 0 2px; }
.sc__meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 0.85rem; color: var(--ink-2); font-weight: 500; }
.sc__meta span { display: inline-flex; align-items: center; gap: 5px; }
.sc__meta .ico { width: 15px; height: 15px; color: var(--accent); }

/* Chiffres clés */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 24px 0; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; box-shadow: var(--shadow); }
.stat__ico { width: 22px; height: 22px; color: var(--accent); margin-bottom: 8px; }
.stat dt { font-size: 0.82rem; color: var(--muted); font-weight: 500; }
.stat dd { margin: 4px 0 0; font: 500 1.55rem/1.15 var(--serif); letter-spacing: -0.02em; }
.stat dd small { display: block; font: 400 0.78rem var(--sans); color: var(--muted); letter-spacing: 0; margin-top: 4px; }
.stats--text { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.stats--text .stat dd { font: 600 1rem/1.45 var(--sans); letter-spacing: 0; overflow-wrap: anywhere; }

/* Tableaux */
.table-wrap { overflow-x: auto; margin: 18px 0 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.table th, .table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table thead th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); font-weight: 600; white-space: nowrap; background: #faf9f6; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: #fbfaf8; }
.table tfoot th, .table tfoot td { font-weight: 700; border-top: 1px solid var(--line-2); border-bottom: 0; background: #faf9f6; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table a { text-decoration: none; font-weight: 600; }
.table a:hover { text-decoration: underline; }
.table--compact td, .table--compact th { padding: 9px 16px; }
.row--rest td { background: var(--accent-soft) !important; }
.num-badge { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bg); font-weight: 700; font-size: 0.82rem; }

/* Profil altimétrique */
.pf { position: relative; height: 270px; margin: 18px 0 26px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.pf__plot { position: absolute; left: 62px; right: 22px; top: 40px; bottom: 34px; touch-action: pan-y; }
.pf svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pf__grid line { stroke: rgba(13, 13, 15, 0.07); stroke-width: 1; }
.pf__sec { stroke: rgba(13, 13, 15, 0.14); stroke-width: 1; }
.pf__area { fill: var(--accent); fill-opacity: 0.1; }
.pf__line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.pf__y { position: absolute; right: calc(100% + 10px); transform: translateY(-50%); font-size: 12px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pf__x { position: absolute; top: calc(100% + 8px); transform: translateX(-50%); font-size: 12px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pf__seclbl { position: absolute; bottom: 6px; transform: translateX(-50%); font-size: 11px; font-weight: 700; color: var(--ink-2); background: rgba(255, 255, 255, 0.85); border-radius: 999px; padding: 0 5px; }
.pf__dot { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--paper); }
.pf__lbl { position: absolute; transform: translate(-50%, calc(-100% - 10px)); font-size: 12.5px; white-space: nowrap; color: var(--ink); background: var(--paper); padding: 3px 9px; border-radius: 999px; box-shadow: 0 4px 14px -4px rgba(13, 13, 15, 0.2); }
.pf__lbl b { font-weight: 650; }
.pf__lbl--start { transform: translate(-8px, calc(-100% - 10px)); }
.pf__lbl--end { transform: translate(calc(-100% + 8px), calc(-100% - 10px)); }
.pf__cross { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(13, 13, 15, 0.25); pointer-events: none; }
.pf__hdot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--paper); pointer-events: none; }
.pf__tip { position: absolute; top: -34px; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: 12.5px; padding: 4px 10px; border-radius: 999px; white-space: nowrap; pointer-events: none; font-variant-numeric: tabular-nums; z-index: 2; }
.pf--compact { height: 150px; }
.pf--compact .pf__plot { left: 52px; right: 10px; top: 14px; bottom: 26px; }
.pf--bare { height: 74px; margin: 4px 0; border: 0; box-shadow: none; background: transparent; }
.pf--bare .pf__plot { inset: 4px 0 4px 0; }
.pf--bare .pf__y, .pf--bare .pf__x, .pf--bare .pf__grid { display: none; }
@media (max-width: 600px) { .pf { height: 220px; } .pf__plot { left: 54px; right: 14px; } .pf__lbl { font-size: 11.5px; } .pf__x--alt { display: none; } .pf__seclbl { font-size: 10px; padding: 0 3px; } }

/* Filtres */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 22px; padding: 10px; margin: 0 0 22px; position: sticky; top: 82px; z-index: 20; box-shadow: var(--shadow); }
.filters label { display: flex; align-items: center; gap: 8px; }
.filters input[type='search'], .filters select { font: 500 0.94rem var(--sans); color: var(--ink); background: var(--bg); border: 1px solid transparent; border-radius: 999px; padding: 10px 14px; min-width: 0; max-width: 100%; appearance: none; }
.filters select { padding-right: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%230d0d0f' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; cursor: pointer; }
.filters input:focus, .filters select:focus { border-color: var(--ink); outline: none; background-color: #fff; }
.filters__search { flex: 1 1 260px; position: relative; }
.filters__search .ico { position: absolute; left: 14px; color: var(--muted); }
.filters .filters__search input { width: 100%; padding-left: 42px; }
.filters__check { font-size: 0.9rem; color: var(--ink-2); padding: 0 6px; cursor: pointer; }
.filters__check input { accent-color: var(--ink); width: 17px; height: 17px; }
.filters__count { margin: 0 8px 0 auto; font-size: 0.86rem; color: var(--muted); font-weight: 500; }
@media (max-width: 720px) { .filters { position: static; border-radius: 20px; } .filters label:not(.filters__search):not(.filters__check) { flex: 1 1 45%; } .filters select { width: 100%; } }

/* Listes, puces, notes */
.links { list-style: none; padding: 0; margin: 16px 0 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.links li + li { border-top: 1px solid var(--line); }
.links a { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 16px; padding: 15px 18px; text-decoration: none; transition: background 0.15s; }
.links a:hover { background: #fbfaf8; color: var(--ink); }
.links__label { font-weight: 600; flex: 1 1 260px; }
.links small { color: var(--muted); font-size: 0.86rem; }
.links__go { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); transition: 0.15s; }
.links a:hover .links__go { background: var(--ink); color: #fff; }
.links__go .ico { width: 16px; height: 16px; }
.chips-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 16px 0 24px; }
.chips-list a { display: inline-flex; gap: 8px; align-items: center; padding: 9px 15px; border-radius: 999px; text-decoration: none; color: var(--ink); font-size: 0.93rem; font-weight: 500; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); transition: 0.15s; }
.chips-list a span { font-size: 0.75rem; font-weight: 700; color: var(--muted); background: var(--bg); padding: 2px 7px; border-radius: 999px; }
.chips-list a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips-list a:hover span { background: rgba(255, 255, 255, 0.15); color: #fff; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.tags li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; font-size: 0.9rem; }
.checks { list-style: none; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding: 14px 16px 14px 52px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.checks li::before { content: ''; position: absolute; left: 16px; top: 15px; width: 24px; height: 24px; border-radius: 50%; background: var(--refuge-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'%3E%3Cpath d='m1 5 3.2 3L11 1.5' fill='none' stroke='%231d6337' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat; }
.checklist { list-style: none; padding: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.checklist li + li { border-top: 1px solid var(--line); }
.checklist label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; padding: 13px 16px; }
.checklist input { width: 19px; height: 19px; margin-top: 3px; accent-color: var(--ink); flex: none; }
.checklist label:has(input:checked) { color: var(--muted); text-decoration: line-through; }
.note { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 14px; padding: 14px 18px; font-size: 0.97rem; }
.note--warn { background: var(--warn-soft); border-color: transparent; border-left-color: var(--warn); }
.note--warn strong { color: var(--warn); }
.source-box { margin-top: 40px; padding: 20px; border-radius: var(--r); background: rgba(255, 255, 255, 0.6); border: 1px dashed var(--line-2); font-size: 0.88rem; color: var(--ink-2); }
.source-box p { margin-bottom: 0.5em; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-size: 0.9rem; color: var(--ink-2); margin-top: 12px; }
.lg { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: -10px; box-shadow: 0 0 0 2px #fff; }
.lg--refuge { background: #2e8a4f; } .lg--gite { background: #d29b00; } .lg--hotel { background: #3550d6; } .lg--camping { background: #d0346c; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--bg); }
.faq__plus::before, .faq__plus::after { content: ''; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s; }
.faq__plus::after { transform: rotate(90deg); }
.faq details[open] .faq__plus::after { transform: rotate(0); }
.faq details > div { padding: 0 22px 18px; color: var(--ink-2); }

/* Pagination */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 40px 0; }
.pager a { display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); text-decoration: none; font: 600 1.1rem/1.3 var(--serif); box-shadow: var(--shadow); transition: 0.2s; }
.pager a:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--ink); }
.pager small { display: block; font: 600 0.78rem var(--sans); color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.pager__next { text-align: right; }
@media (max-width: 600px) { .pager { grid-template-columns: 1fr; } .pager__next { text-align: left; } }

/* Carte */
.map { height: var(--h, 420px); border-radius: var(--r); background: linear-gradient(135deg, #e7ecef, #f1ece4); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; margin: 16px 0 10px; position: relative; z-index: 0; box-shadow: var(--shadow); }
.map__load { display: inline-flex; align-items: center; gap: 8px; font: 600 0.98rem var(--sans); padding: 13px 22px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; cursor: pointer; box-shadow: 0 8px 22px -8px rgba(13, 13, 15, 0.5); }
.page-map .map { height: min(74vh, 720px); }
.map--live { display: block; }
.map__wait { color: var(--muted); font-weight: 500; }
.maplibregl-map { font: 14px/1.4 var(--sans); }
.maplibregl-ctrl-group { border-radius: 14px !important; box-shadow: var(--shadow) !important; overflow: hidden; }
.maplibregl-ctrl-attrib { font-size: 11px; }
/* Pastilles d'étape */
.stage-pin { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 700 12px/1 var(--sans); text-decoration: none; box-shadow: 0 0 0 2.5px #fff, 0 4px 12px rgba(13, 13, 15, 0.3); transition: transform 0.15s; }
.stage-pin:hover { transform: scale(1.15); color: #fff; }
.stage-pin--on { background: var(--accent); width: 32px; height: 32px; font-size: 14px; }
/* Fiche au clic */
.mpop .maplibregl-popup-content { border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 3px; }
.mpop strong { font: 600 1.05rem/1.25 var(--serif); }
.mpop__type { align-self: flex-start; font-size: 0.7rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; margin-bottom: 4px; }
.mpop__type--refuge { background: var(--refuge-bg); color: var(--refuge-ink); }
.mpop__type--gite { background: var(--gite-bg); color: var(--gite-ink); }
.mpop__type--hotel { background: var(--hotel-bg); color: var(--hotel-ink); }
.mpop__type--camping { background: var(--camping-bg); color: var(--camping-ink); }
.mpop__type--eau { background: #e3f0fd; color: #155fa8; }
.mpop__type--passage { background: var(--warn-soft); color: var(--warn); }
.mpop__meta { color: var(--muted); font-size: 0.85rem; }
.mpop a { margin-top: 6px; font-weight: 650; text-decoration: none; color: var(--accent); }
/* Bouton 2D / 3D des petites cartes */
.map-3d { position: absolute; left: 12px; top: 12px; z-index: 2; font: 650 0.85rem var(--sans); padding: 9px 14px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; cursor: pointer; box-shadow: 0 6px 16px -6px rgba(13, 13, 15, 0.5); }
/* Carte d'un itinéraire : barre (jour + 3D), pastilles des nuits, légende */
.map-bar { position: absolute; left: 12px; top: 12px; right: 56px; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; pointer-events: none; }
.map-bar > * { pointer-events: auto; }
.map-bar .map-3d { position: static; flex: none; }
.map-bar select { min-width: 0; max-width: 100%; font: 600 0.85rem var(--sans); padding: 9px 34px 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%230d0d0f' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center; appearance: none; box-shadow: 0 6px 16px -8px rgba(13, 13, 15, 0.35); text-overflow: ellipsis; }
/* « scale » et non « transform » : MapLibre positionne les marqueurs avec transform. */
.itin-pin { min-width: 30px; height: 26px; padding: 0 7px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; display: grid; place-items: center; font: 700 12px/1 var(--sans); cursor: pointer; box-shadow: 0 0 0 2.5px #fff, 0 4px 12px rgba(13, 13, 15, 0.3); transition: scale 0.15s, background 0.15s; }
.itin-pin:hover { scale: 1.12; z-index: 2; }
.itin-pin--on { background: var(--accent); scale: 1.18; z-index: 1; }
.itin-pin--end { width: 32px; height: 32px; padding: 0; background: var(--accent); }
.itin-pin--end svg { width: 17px; height: 17px; }
.map--far .itin-pin:not(.itin-pin--on):not(.itin-pin--end) { min-width: 0; width: 13px; height: 13px; padding: 0; font-size: 0; box-shadow: 0 0 0 2px #fff, 0 2px 6px rgba(13, 13, 15, 0.3); }
.map--far .itin-pin--end { width: 26px; height: 26px; }
.map--far .itin-pin--end svg { width: 14px; height: 14px; }
.mpop__type--itin { background: var(--accent-soft); color: #b83a0c; }
.map-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); margin: 0 0 6px; }
.map-legend span { display: inline-flex; align-items: center; gap: 7px; }
.mlg { display: inline-block; flex: none; font-style: normal; }
.mlg--day { width: 28px; height: 5px; border-radius: 3px; background: linear-gradient(90deg, var(--accent) 50%, var(--ink) 50%); }
.mlg--pin { padding: 4px 7px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 10px/1 var(--sans); }
.mlg--rest { width: 24px; height: 4px; border-radius: 3px; background: #8f959e; }
.mlg--var { width: 24px; border-top: 2.5px dashed var(--accent); }
.num-badge--btn { border: 0; padding: 0; color: inherit; font-family: inherit; cursor: pointer; transition: background 0.15s, color 0.15s; }
.num-badge--btn:hover, .num-badge--btn:focus-visible { background: var(--ink); color: #fff; }
/* Page Itinéraires : groupes intégral / nord / sud, ancres sous l'en-tête fixe */
.itin-group, #comparer { scroll-margin-top: 90px; }
.itin-group + .itin-group { margin-top: 28px; }
/* Panneau de la page Carte */
.map-ui { position: absolute; left: 16px; top: 16px; z-index: 2; width: 290px; padding: 18px; border-radius: 22px; background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, 0.7); box-shadow: var(--shadow-lg); }
.map-ui__title { font: 600 1.3rem/1.1 var(--serif); margin: 0; }
.map-ui__sub { font-size: 0.85rem; color: var(--muted); margin: 4px 0 14px; }
.map-ui__row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.map-chip { display: inline-flex; align-items: center; gap: 6px; font: 600 0.8rem var(--sans); padding: 7px 11px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); cursor: pointer; }
.map-chip i { width: 10px; height: 10px; border-radius: 50%; }
.map-chip__dash { width: 16px !important; height: 0 !important; border-radius: 0 !important; border-top: 2.5px dashed var(--accent); }
.map-chip[aria-pressed='false'] { opacity: 0.45; text-decoration: line-through; }
.map-ui__label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.map-ui select { width: 100%; font: 500 0.92rem var(--sans); padding: 10px 34px 10px 12px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%230d0d0f' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center; appearance: none; color: var(--ink); }
.map-ui__3d { width: 100%; margin-top: 12px; font: 650 0.92rem var(--sans); padding: 11px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; cursor: pointer; }
.map-ui__3d[aria-pressed='true'] { background: var(--accent); }
@media (max-width: 760px) {
  .map-ui { left: 10px; right: 10px; top: auto; bottom: 10px; width: auto; padding: 12px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; }
  .map-ui__sub, .map-ui__label { display: none; }
  .map-ui__title { grid-column: 1 / -1; font-size: 1.05rem; }
  .map-ui__row { grid-column: 1 / -1; flex-wrap: nowrap; overflow-x: auto; margin: 0; padding-bottom: 2px; scrollbar-width: none; }
  .map-chip { flex: none; }
  .map-ui__3d { width: auto; margin: 0; padding: 10px 14px; }
}

/* Publicité */
.ad { margin: 36px 0; min-height: 100px; text-align: center; }
.ad__label { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 6px; }
.ad--sidebar { min-height: 600px; margin: 0; }
.ad--preview { border: 1.5px dashed var(--line-2); border-radius: var(--r); display: grid; place-items: center; color: var(--muted); font-size: 0.85rem; min-height: 120px; background: rgba(255, 255, 255, 0.4); }
.ad--preview.ad--sidebar { min-height: 600px; }

/* CTA final */
.cta { position: relative; overflow: hidden; text-align: center; border-radius: var(--r-lg); padding: clamp(40px, 7vw, 80px) 24px; margin: 80px 0 0; background: radial-gradient(700px 300px at 20% 0%, #dbe3ee, transparent 70%), radial-gradient(700px 320px at 90% 100%, #fde0cc, transparent 70%), #f9f6f1; border: 1px solid var(--line); }
.cta h2 { margin: 0 0 12px; }
.cta p { color: var(--ink-2); margin: 0 auto 26px; max-width: 52ch; font-size: 1.1rem; }

/* ---------- Pied de page ---------- */
.ft { background: var(--ink); color: #c9cad0; padding: 72px 0 28px; font-size: 0.93rem; }
.ft__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.ft__claim { font: 500 clamp(2rem, 4.6vw, 3.4rem)/1.05 var(--serif); color: #fff; letter-spacing: -0.025em; margin: 0; }
.ft__claim em { color: var(--accent); }
.ft__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; padding: 44px 0; }
.ft__title { font: 600 0.8rem var(--sans); text-transform: uppercase; letter-spacing: 0.08em; color: #8d8f97; margin: 0 0 14px; }
.ft ul { list-style: none; padding: 0; margin: 0; }
.ft li { margin: 8px 0; }
.ft a:not(.btn) { color: #e6e7ea; text-decoration: none; }
.ft a:not(.btn):hover { color: #fff; text-decoration: underline; }
.ft__legal { padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.1); color: #8d8f97; font-size: 0.82rem; }
.ft__legal .logo { margin-bottom: 14px; }
.ft__legal a:not(.logo) { color: #b8bac1; text-decoration: underline; }

@media print { .hd, .ft, .ad, .filters, .map, .side, .pager { display: none !important; } body { background: #fff; } }

/* ---------- Sélecteur de langue ---------- */
.lang { position: relative; flex: none; }
.lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px 0 10px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--paper); font: 600 0.82rem/1 var(--sans); letter-spacing: 0.04em; color: var(--ink-2); transition: border-color 0.15s, color 0.15s; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: ''; width: 6px; height: 6px; margin-left: 2px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.15s; }
.lang[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.lang summary .ico { width: 17px; height: 17px; }
.lang summary:hover, .lang[open] summary { color: var(--ink); border-color: var(--ink); }
.lang ul { position: absolute; right: 0; top: calc(100% + 10px); z-index: 70; min-width: 210px; margin: 0; padding: 8px; list-style: none; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); }
.lang a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: 0.95rem; }
.lang a small { font: 600 0.72rem/1 var(--sans); letter-spacing: 0.06em; color: var(--muted); }
.lang a:hover { background: var(--bg); color: var(--ink); }
.lang a[aria-current] { background: var(--accent-soft); font-weight: 650; }
.lang a[aria-current] small { color: var(--accent); }
@media (max-width: 1020px) { .lang { margin-left: auto; } .hd__mob { margin-left: 0; } }
.ft__langs { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; padding: 0 0 26px; color: #8d8f97; }
.ft__langs .ico { width: 18px; height: 18px; }
.ft__langs ul { display: flex; flex-wrap: wrap; gap: 6px; }
.ft__langs li { margin: 0; }
.ft__langs a:not(.btn) { display: inline-block; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px; color: #e6e7ea; font-size: 0.85rem; }
.ft__langs a:not(.btn):hover { border-color: #fff; text-decoration: none; }
.ft__langs a[aria-current] { background: #fff; color: var(--ink); border-color: #fff; }
/* Équivalents impériaux (anglais américain) */
.imp { font-size: 0.78em; font-weight: 500; opacity: 0.7; white-space: nowrap; }
/* Avec le sélecteur de langue, le bouton « Trouver un lit » (doublon du menu) cède sa place sur les écrans moyens. */
@media (max-width: 1180px) { .hd__cta { display: none; } }

/* ---------------------------------------------------------------- Planificateur « Mon itinéraire » */
.planner { display: grid; grid-template-columns: minmax(0, 410px) minmax(0, 1fr); gap: 20px; align-items: start; margin: 8px 0 32px; }
.planner__panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 18px; }
.planner__map { position: sticky; top: 86px; margin: 0; height: min(var(--h, 640px), calc(100vh - 110px)); }
.planner__label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--muted); margin: 14px 0 6px; }
.planner__label:first-child { margin-top: 0; }
.planner select, .planner input[type='text'] { width: 100%; min-width: 0; font: 500 0.92rem var(--sans); padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); }
.planner select { appearance: none; padding-right: 34px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%230d0d0f' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center; }
.planner__addrow { display: flex; gap: 8px; }
.planner__addrow > :first-child { flex: 1; }
.planner__addrow .btn { flex: none; padding: 10px 14px; }
.planner__days { list-style: none; padding: 0; margin: 16px 0 6px; display: grid; gap: 8px; }
.pday { border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; background: var(--bg); }
.pday__head { display: flex; align-items: center; gap: 8px; }
.pday__head strong { flex: 1; font-size: 0.95rem; line-height: 1.3; }
.pday__head .num-badge { background: var(--paper); flex: none; }
.pday__rm { flex: none; border: 0; background: transparent; font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--muted); padding: 2px 7px; border-radius: 8px; }
.pday__rm:hover, .pday__rm:focus-visible { background: var(--line); color: var(--ink); }
.pday__stats { margin: 6px 0 0; font-size: 0.86rem; font-variant-numeric: tabular-nums; }
.pday__night { margin: 4px 0 0; font-size: 0.84rem; color: var(--muted); }
.pday__night a { font-weight: 600; }
.pday__warn { color: var(--warn); }
.planner__total { margin: 10px 0 4px; padding: 10px 12px; border-radius: 12px; background: var(--accent-soft); font-size: 0.9rem; }
.planner__actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 6px; }
.planner__actions .btn { padding: 10px 14px; font-size: 0.88rem; }
.planner__savedlist { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 6px; }
.planner__savedlist li { display: flex; gap: 6px; align-items: center; }
.planner__savedlist li span { flex: 1; font-size: 0.9rem; min-width: 0; overflow-wrap: anywhere; }
.btn.btn--sm { padding: 6px 10px; font-size: 0.8rem; }
.planner__toast { margin: 12px 0 0; padding: 9px 12px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 0.86rem; }
.planner-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 18px 0 26px; padding: 16px 20px; border-radius: var(--r); background: linear-gradient(135deg, #fff0e7, #ffe2d2); }
.planner-cta p { margin: 0; font-weight: 500; }
@media (max-width: 900px) {
  .planner { grid-template-columns: 1fr; }
  .planner__map { position: relative; top: 0; height: 420px; order: -1; }
}
@media print {
  .planner { display: block; }
  .planner__panel { box-shadow: none; border: 0; padding: 0; }
  .planner__actions, .planner__save, .planner__add, .planner__toast, .planner select, .planner .planner__label, .pday__rm { display: none !important; }
  .pday { break-inside: avoid; }
}

/* Lien « Gérer les cookies » du pied de page (bouton qui rouvre le CMP de Google). */
.ft__consent { all: unset; color: #e6e7ea; cursor: pointer; }
.ft__consent:hover { color: #fff; text-decoration: underline; }
.ft__consent:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* Infos en direct : bandeau du haut de page (src/lib/alertes.mjs) et page /alertes/. */
.alrt { font-size: 0.9rem; line-height: 1.45; border-bottom: 1px solid rgba(13, 13, 15, 0.06); }
.alrt--alerte { background: #fde3df; color: #5b1a12; }
.alrt--attention { background: #fff0d6; color: #4a3108; }
.alrt--info { background: #e4ecfa; color: #172a4f; }
.alrt__in { display: flex; align-items: center; gap: 14px; padding-top: 8px; padding-bottom: 8px; }
.alrt ul { list-style: none; margin: 0; padding: 0; flex: 1; min-width: 0; }
.alrt__item { display: none; }
.alrt__item:first-child { display: block; }
.alrt__tag { display: inline-block; margin-right: 10px; padding: 2px 9px; border-radius: 999px; background: #0d0d0f; color: #fff; font: 600 0.68rem/1.6 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; vertical-align: 1px; }
.alrt--alerte .alrt__tag, .acard--alerte .alrt__tag { background: #b42318; }
.alrt__link { display: block; color: inherit; text-decoration: none; }
.alrt__link:hover .alrt__txt { text-decoration: underline; }
.alrt__more, .alrt__cta { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.alrt__more { flex: none; }
.alrt__x { all: unset; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 1.25rem; line-height: 1; cursor: pointer; }
.alrt__x:hover { background: rgba(13, 13, 15, 0.08); }
.alrt__x:focus-visible { outline: 2px solid currentColor; outline-offset: 1px; }
@media (max-width: 640px) { .alrt { font-size: 0.84rem; } .alrt__more { display: none; } .alrt__link { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; } }
.acards { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 14px; }
.acard { border: 1px solid var(--line); border-left: 5px solid #7f9ad0; border-radius: 18px; padding: 16px 20px; background: var(--paper); }
.acard--alerte { border-left-color: #b42318; background: #fff6f4; }
.acard--attention { border-left-color: #d98a00; background: #fffaf0; }
.acard__head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 4px; margin-bottom: 8px; }
.acard__dates { color: var(--muted); font-size: 0.85rem; }
.acard__txt { margin: 0 0 6px; font-weight: 600; }
.acard__det { margin: 0 0 8px; }
.acard__links { margin: 0; font-size: 0.9rem; color: var(--muted); }
.asources { padding-left: 1.1em; }
.asources li { margin: 6px 0; }

/* Page Carte : itinéraire choisi dans le panneau (src/assets/map.js, drawItin). */
.map--itin .stage-pin { display: none; }
.map-ui__itin { margin-top: 12px; }
.map-ui__info { margin: 8px 2px 0; font-size: 0.85rem; line-height: 1.35; }
.map-ui__info a { display: block; font-weight: 650; color: var(--ink); text-decoration: none; }
.map-ui__info a:hover { text-decoration: underline; }
.map-ui__info > span { color: var(--muted); }
@media (max-width: 760px) { .map-ui__itin { grid-column: 1 / -1; margin-top: 0; } .map-ui__info { margin-top: 6px; } }

/* Articles (src/pages/articles.mjs). */
.art-card { overflow: hidden; }
.art-card__img { display: block; width: calc(100% + 44px); max-width: none; height: auto; margin: -22px -22px 16px; aspect-ratio: 16 / 9; object-fit: cover; }
.art-fig { margin: 0 0 28px; max-width: 900px; }
.art-fig img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); }
.art-meta { margin-top: 28px; }
.art-latest { margin-top: 48px; }
.art-all { margin-top: 18px; font-weight: 600; }
