/* Gand, père & fils — feuille de style (mobile d'abord) */
:root {
  --paper: #f5f2ea;
  --card: #ffffff;
  --ink: #15292c;
  --muted: #5b6a6b;
  --line: #e3ddd0;
  --soft: #eeeadf;
  --teal: #1d5c57;
  --teal-ink: #ffffff;
  --lime: #d8f59a;
  --lime-ink: #15292c;
  --brick: #a8482a;
  --brick-soft: #f7e6dc;
  --tram: #6a44a8;
  --tram-soft: #eee7f8;
  --walk: #1d5c57;
  --walk-soft: #e1efe9;
  --food: #9a6a12;
  --food-soft: #f7ecd4;
  --visit: #2c5d8f;
  --visit-soft: #e2ecf7;
  --shadow: 0 1px 2px rgb(21 41 44 / .06), 0 6px 18px rgb(21 41 44 / .06);
  --radius: 16px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --tabbar-h: 64px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0f1a1c; --card: #172427; --ink: #ecf1ee; --muted: #a2b1b0; --line: #2a3a3d; --soft: #1c2b2e;
    --teal: #7cc7b8; --teal-ink: #0f1a1c; --lime: #cdf28a; --lime-ink: #10201f;
    --brick: #f0a07f; --brick-soft: #3a2620; --tram: #c3a6f2; --tram-soft: #2c2440; --walk: #7cc7b8; --walk-soft: #1b3431;
    --food: #e8c273; --food-soft: #372d17; --visit: #9cc3ec; --visit-soft: #1c2c3e;
    --shadow: 0 1px 2px rgb(0 0 0 / .3); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0f1a1c; --card: #172427; --ink: #ecf1ee; --muted: #a2b1b0; --line: #2a3a3d; --soft: #1c2b2e;
  --teal: #7cc7b8; --teal-ink: #0f1a1c; --lime: #cdf28a; --lime-ink: #10201f;
  --brick: #f0a07f; --brick-soft: #3a2620; --tram: #c3a6f2; --tram-soft: #2c2440; --walk: #7cc7b8; --walk-soft: #1b3431;
  --food: #e8c273; --food-soft: #372d17; --visit: #9cc3ec; --visit-soft: #1c2c3e;
  --shadow: 0 1px 2px rgb(0 0 0 / .3); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 12px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 16px/1.55 var(--sans);
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 12px);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(760px, 100% - 32px); margin-inline: auto; }
svg.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- En-tête ---------- */
.hero { position: relative; color: #fff; background: #1b3134; overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(10 22 24 / .15) 0%, rgb(10 22 24 / .35) 45%, rgb(10 22 24 / .86) 100%); }
.hero__inner { position: relative; z-index: 1; padding: 64px 0 20px; }
.hero__kicker { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 650; color: var(--lime); margin: 0 0 6px; }
:root[data-theme] .hero__kicker, .hero__kicker { color: #d8f59a; }
.hero h1 { font: 400 clamp(40px, 11vw, 64px)/1 var(--serif); letter-spacing: -.02em; margin: 0 0 10px; }
.hero h1 em { color: #d8f59a; font-style: italic; }
.hero__sub { margin: 0 0 16px; font-size: 15px; color: #e3ece8; max-width: 34em; }
.keys { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; margin-right: -16px; padding-right: 16px; }
.keys::-webkit-scrollbar { display: none; }
.key { flex: none; display: flex; flex-direction: column; background: rgb(255 255 255 / .12); border: 1px solid rgb(255 255 255 / .22); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-radius: 12px; padding: 7px 12px; text-decoration: none; color: #fff; min-width: 118px; }
.key small { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #cfdcd7; }
.key b { font-size: 17px; font-variant-numeric: tabular-nums; }
.key span { font-size: 12.5px; color: #e9f0ed; }
.hero__credit { position: absolute; z-index: 1; right: 10px; top: 10px; font-size: 10.5px; color: rgb(255 255 255 / .7); background: rgb(0 0 0 / .25); padding: 1px 7px; border-radius: 8px; }

/* ---------- Bandeau « maintenant » ---------- */
.now { margin: 14px auto 0; }
.now__card { display: flex; gap: 12px; align-items: center; background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: 12px 14px; text-decoration: none; box-shadow: var(--shadow); }
.now__pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); flex: none; box-shadow: 0 0 0 0 rgb(216 245 154 / .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgb(216 245 154 / 0); } 100% { box-shadow: 0 0 0 0 rgb(216 245 154 / 0); } }
.now__txt { min-width: 0; flex: 1; }
.now__label { display: block; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); font-weight: 650; }
.now__title { display: block; font-weight: 600; font-size: 15.5px; line-height: 1.35; }
.now__meta { display: block; font-size: 13px; opacity: .8; }
.now__go { flex: none; font-size: 22px; color: var(--lime); }

/* ---------- Vues ---------- */
.view { padding-top: 22px; scroll-margin-top: 0; }
.js .view[hidden] { display: none; }
.view__head { margin-bottom: 14px; }
.eyebrow { font-size: 12px; letter-spacing: .13em; text-transform: uppercase; font-weight: 650; color: var(--teal); margin: 0 0 4px; }
h2 { font: 400 clamp(28px, 7.4vw, 38px)/1.12 var(--serif); letter-spacing: -.015em; margin: 0 0 8px; }
.lead { margin: 0 0 12px; color: var(--muted); font-size: 15.5px; }
.stats { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.stats li { font-size: 13px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.stats b { font-weight: 650; }

/* ---------- Carte ---------- */
.mapbox { position: relative; margin: 16px 0 6px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--soft); box-shadow: var(--shadow); }
.map { height: 330px; width: 100%; }
.mapbox.is-full { position: fixed; inset: 0; z-index: 60; margin: 0; border-radius: 0; border: 0; }
.mapbox.is-full .map { height: 100%; height: 100dvh; }
.map-tools { position: absolute; z-index: 500; right: 10px; top: 10px; display: flex; flex-direction: column; gap: 8px; }
.map-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; font-size: 13.5px; font-weight: 600; box-shadow: var(--shadow); cursor: pointer; min-height: 40px; }
.map-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: var(--muted); margin: 8px 2px 0; }
.map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.map-legend i { display: inline-block; width: 22px; height: 0; border-top: 3px solid var(--walk); }
.map-legend i.tram { border-top: 3px dashed var(--tram); }
.map-legend i.train { border-top: 3px dashed var(--brick); }
.map-legend i.bus { border-top: 3px dashed #b7791f; }
.map-legend b.lg { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 10px; }
.map-zones { position: absolute; z-index: 500; left: 10px; top: 10px; display: flex; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 3px; box-shadow: var(--shadow); }
.map-zones button { border: 0; background: transparent; border-radius: 999px; padding: 6px 10px; min-height: 34px; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; }
.map-zones button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.map-zones button[hidden] { display: none; }
.mapbox.is-full .map-zones, .mapbox.is-full .map-tools { top: calc(10px + env(safe-area-inset-top)); }
.no-map .map-zones { display: none; }
.route-howto { margin: 8px 0 10px; padding-left: 20px; display: grid; gap: 8px; font-size: 15px; }
.route-howto .line { height: 22px; min-width: 26px; font-size: 12.5px; vertical-align: 1px; }
.map-fallback { padding: 18px; font-size: 14px; color: var(--muted); }
.js .map-fallback { display: none; }
.no-map .map-fallback { display: block; }
.no-map .map, .no-map .map-tools { display: none; }
.pin { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--teal); color: #fff; font: 700 13px/1 var(--sans); border: 2px solid #fff; box-shadow: 0 2px 6px rgb(0 0 0 / .35); }
.pin--food { background: #b07a14; }
.pin--visit { background: #2c5d8f; }
.pin--train { background: #a8482a; }
.pin--hotel, .pin--rdv { background: #15292c; }
.pin--tram { background: #6a44a8; }
.pin--wide { font-size: 11px; letter-spacing: -.02em; }
.pin--minor { background: #fff; color: #6a44a8; border-color: #6a44a8; box-shadow: 0 1px 3px rgb(0 0 0 / .25); }
.pin--minor.pin--train { color: #a8482a; border-color: #a8482a; }
.pin--rdv { background: #a8482a; }
.pin.is-now { outline: 3px solid #d8f59a; }
.leaflet-container { font: 13px/1.4 var(--sans); background: var(--soft); }
.leaflet-popup-content { margin: 10px 12px; }
.leaflet-popup-content b { display: block; font-size: 14px; }
.leaflet-popup-content a { color: #1d5c57; font-weight: 600; }
.leaflet-control-attribution { font-size: 10px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(.9) contrast(.9); } }
:root[data-theme="dark"] .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(.9) contrast(.9); }

/* ---------- Frise ---------- */
.timeline { list-style: none; margin: 18px 0 0; padding: 0; }
.step { position: relative; display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 10px; padding-bottom: 14px; scroll-margin-top: 14px; }
.step::before { content: ""; position: absolute; left: 18px; top: 38px; bottom: -2px; width: 2px; background: var(--line); }
.step:last-child::before { display: none; }
.step__dot { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--walk-soft); color: var(--walk); border: 2px solid var(--paper); position: relative; z-index: 1; }
.step__dot svg.i { width: 19px; height: 19px; }
.step--train .step__dot { background: var(--brick-soft); color: var(--brick); }
.step--tram .step__dot { background: var(--tram-soft); color: var(--tram); }
.step--food .step__dot { background: var(--food-soft); color: var(--food); }
.step--visit .step__dot { background: var(--visit-soft); color: var(--visit); }
.step--hotel .step__dot, .step--rdv .step__dot { background: var(--ink); color: var(--paper); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 15px 15px; box-shadow: var(--shadow); min-width: 0; }
.step--fixed .card { border-color: var(--brick); box-shadow: inset 4px 0 0 var(--brick), var(--shadow); }
.step--opt .card { border-style: dashed; box-shadow: none; }
.step.is-past .card { opacity: .62; }
.step.is-now .card { border-color: var(--teal); box-shadow: 0 0 0 3px var(--lime), var(--shadow); }
.step.is-now .step__dot { background: var(--lime); color: var(--lime-ink); }
.step__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.step__time { font-size: 19px; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; margin: 0; }
.step__time span { color: var(--muted); font-weight: 500; }
.tag { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; background: var(--soft); color: var(--muted); white-space: nowrap; }
.tag--fixed { background: var(--brick-soft); color: var(--brick); }
.tag--book { background: var(--visit-soft); color: var(--visit); }
.tag--opt { background: transparent; border: 1px dashed var(--muted); }
.tag--food { background: var(--food-soft); color: var(--food); }
.tag--tram { background: var(--tram-soft); color: var(--tram); }
.tag--walk { background: var(--walk-soft); color: var(--walk); }
.step h3 { font-size: 18.5px; line-height: 1.3; margin: 6px 0 6px; letter-spacing: -.01em; }
.step h3 .num { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 11px; background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 700; margin-right: 6px; vertical-align: 2px; }
.step p { margin: 0 0 8px; }
.step .text { color: var(--ink); }
.photo { margin: 8px 0 10px; border-radius: 12px; overflow: hidden; position: relative; background: var(--soft); aspect-ratio: 16 / 9; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { position: absolute; right: 6px; bottom: 6px; font-size: 10.5px; color: #fff; background: rgb(0 0 0 / .45); padding: 1px 7px; border-radius: 8px; }
.facts { list-style: none; margin: 8px 0 10px; padding: 0; display: grid; gap: 6px; }
.facts li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; font-size: 14.5px; line-height: 1.45; }
.facts svg.i { width: 18px; height: 18px; margin-top: 1px; color: var(--muted); }
.facts b { font-weight: 650; }
.note { font-size: 14px; line-height: 1.5; padding: 9px 11px; border-radius: 10px; background: var(--soft); color: var(--ink); margin: 8px 0 10px; }
.note--warn { background: var(--brick-soft); }
.note strong { font-weight: 700; }
.ride { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; margin: 8px 0 10px; }
.line { display: inline-grid; place-items: center; min-width: 30px; height: 26px; padding: 0 7px; border-radius: 7px; font-weight: 800; font-size: 14px; background: var(--tram); color: #fff; }
.line--train { background: var(--brick); }
.line--bus { background: #b7791f; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.btn { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 8px 13px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); text-decoration: none; font-weight: 600; font-size: 14.5px; line-height: 1.2; cursor: pointer; }
.btn svg.i { width: 18px; height: 18px; }
.btn small { font-weight: 500; color: var(--muted); font-size: 12px; }
.btn--primary { background: var(--teal); color: var(--teal-ink); border-color: var(--teal); }
.btn--primary small { color: inherit; opacity: .8; }
.btn:active { transform: translateY(1px); }
.step { scroll-margin-top: 84px; }
.nowline { position: relative; list-style: none; margin: -4px 0 10px; height: 26px; display: flex; align-items: center; scroll-margin-top: 110px; }
.nowline::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px solid var(--brick); }
.nowline::after { content: ""; position: absolute; left: 13px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--brick); }
.nowline span { position: relative; margin-left: 48px; background: var(--brick); color: #fff; font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.progress { display: none; height: 4px; border-radius: 4px; background: var(--teal); width: 0; margin: 10px 0 0; }
.step.is-now .progress { display: block; }
.step.is-now .step__head::after { content: "En cours"; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--lime); color: var(--lime-ink); padding: 2px 8px; border-radius: 999px; }
.jump { position: fixed; z-index: 55; right: 14px; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 14px); display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 10px 16px; min-height: 44px; background: var(--brick); color: #fff; font-weight: 700; font-size: 14.5px; box-shadow: 0 4px 14px rgb(0 0 0 / .25); cursor: pointer; }
.jump[hidden] { display: none; }
.day-end { margin: 6px 0 0 48px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; }

/* ---------- Tables & Infos ---------- */
.cards { display: grid; gap: 12px; margin-top: 12px; }
.resto h3, .info h3 { margin: 0 0 4px; font-size: 18.5px; }
.resto .when { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--food); margin: 0 0 4px; }
.resto p, .info p { margin: 0 0 8px; }
.meta { font-size: 14px; color: var(--muted); }
.section-title { font: 400 24px/1.2 var(--serif); margin: 26px 0 4px; }
.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 12px; margin: 8px 0 10px; font-size: 14.5px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; }
.fares { width: 100%; border-collapse: collapse; margin: 6px 0 8px; font-size: 14px; }
.fares th { text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding: 6px 4px; border-bottom: 1px solid var(--line); }
.fares td { padding: 8px 4px; border-bottom: 1px solid var(--line); vertical-align: top; }
.fares td:nth-child(2) { color: var(--muted); white-space: nowrap; }
.fares td:last-child, .fares th:last-child { text-align: right; white-space: nowrap; }
.info[id], .phone-list[id] { scroll-margin-top: 14px; }
.checklist { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.checklist label { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 8px; align-items: start; font-size: 15px; cursor: pointer; }
.checklist input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--teal); }
.checklist input:checked + span { color: var(--muted); text-decoration: line-through; }
.phone-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.phone-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-decoration: none; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); min-height: 48px; }
.phone-list span { font-size: 14.5px; }
.phone-list b { white-space: nowrap; font-variant-numeric: tabular-nums; }
details.more { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 4px; }
details.more summary { cursor: pointer; font-weight: 600; padding: 10px 0; list-style-position: outside; }
.small { font-size: 13px; color: var(--muted); }
.small a { color: var(--teal); }
footer.foot { margin-top: 28px; padding: 18px 0 8px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
footer.foot a { color: var(--teal); }

/* ---------- Barre d'onglets (en bas, au pouce) ---------- */
.tabbar { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; background: color-mix(in srgb, var(--card) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
@supports not (background: color-mix(in srgb, red 50%, blue)) { .tabbar { background: var(--card); } }
.tabbar ul { list-style: none; margin: 0 auto; padding: 6px 6px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 3px; max-width: 680px; }
.tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 52px; border-radius: 12px; text-decoration: none; color: var(--muted); font-size: 11.5px; font-weight: 600; line-height: 1.15; -webkit-tap-highlight-color: transparent; }
.tabbar a b { font: 700 18px/1.1 var(--sans); color: var(--ink); font-variant-numeric: tabular-nums; }
.tabbar a svg.i { width: 22px; height: 22px; color: var(--ink); }
.tabbar a[aria-current="page"] { background: var(--lime); color: var(--lime-ink); }
.tabbar a[aria-current="page"] b, .tabbar a[aria-current="page"] svg.i { color: var(--lime-ink); }
.tabbar a.is-today::after { content: ""; position: absolute; top: 5px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--brick); }
.check-group { scroll-margin-top: 14px; }
.check-group + .check-group { margin-top: 12px; }
#check .card { margin-top: 12px; }

/* ---------- Météo : languette sur le bord droit + panneau ---------- */
.wx-tab { position: fixed; z-index: 45; right: 0; top: 46%; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 8px 4px 8px 6px; width: 40px; border: 1px solid var(--line); border-right: 0; border-radius: 12px 0 0 12px; background: color-mix(in srgb, var(--card) 94%, transparent); color: var(--ink); box-shadow: -2px 3px 10px rgb(0 0 0 / .12); cursor: pointer; }
.wx-tab[hidden] { display: none; }
.wx-tab__ico { font-size: 18px; line-height: 1; }
.wx-tab__t { font-weight: 800; font-size: 13px; font-variant-numeric: tabular-nums; }
.wx-tab__l { font-size: 8.5px; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
.wx-scrim { position: fixed; inset: 0; z-index: 69; background: rgb(8 16 18 / .45); }
.wx-panel[hidden] + .wx-scrim, .wx-scrim[hidden] { display: none; }
body:not(.wx-open) .wx-scrim { display: none; }
.wx-panel { position: fixed; z-index: 70; top: 0; right: 0; bottom: 0; width: min(380px, 92vw); background: var(--paper); color: var(--ink); overflow-y: auto; padding: 18px 16px calc(24px + env(safe-area-inset-bottom)); box-shadow: -8px 0 30px rgb(0 0 0 / .25); animation: slidein .22s ease-out; overscroll-behavior: contain; }
.wx-panel[hidden] { display: none; }
@keyframes slidein { from { transform: translateX(100%); } to { transform: none; } }
.wx-panel header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.wx-panel h3 { font: 400 24px/1.2 var(--serif); margin: 0; }
.wx-close { border: 1px solid var(--line); background: var(--card); border-radius: 999px; min-width: 44px; min-height: 44px; font-size: 18px; cursor: pointer; }
.wx-panel h4 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin: 18px 0 8px; }
.wx-now { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.wx-big { font-size: 48px; line-height: 1; }
.wx-now .wx-temp { font: 400 40px/1 var(--serif); margin: 0 0 4px; }
.wx-temp small { font: 500 13px var(--sans); color: var(--muted); margin-left: 8px; }
.wx-now p { margin: 0; font-size: 14.5px; }
.wx-hours { list-style: none; display: flex; gap: 6px; overflow-x: auto; margin: 0; padding: 0 0 6px; scrollbar-width: thin; }
.wx-hours li { flex: none; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 54px; padding: 8px 4px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; font-size: 13px; font-variant-numeric: tabular-nums; }
.wx-hours li:first-child { border-color: var(--teal); }
.wx-hours b { font-size: 20px; font-weight: 400; }
.wx-hours small, .wx-days small { font-size: 11.5px; color: var(--muted); }
.wet { color: var(--visit) !important; font-weight: 700; }
.wx-days { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.wx-days li { display: grid; grid-template-columns: 62px 30px minmax(0, 1fr) auto; grid-template-areas: "d i desc t" "d i p s"; align-items: center; gap: 0 8px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; font-size: 14px; }
.wx-days .wx-day { grid-area: d; font-weight: 700; }
.wx-days b { grid-area: i; font-size: 24px; font-weight: 400; }
.wx-days .wx-desc { grid-area: desc; }
.wx-days li > span:nth-of-type(3) { grid-area: t; text-align: right; font-variant-numeric: tabular-nums; }
.wx-days li > small:first-of-type { grid-area: p; }
.wx-days .wx-sun { grid-area: s; text-align: right; }
.wx-panel .small { margin-top: 14px; }

/* ---------- Écrans plus larges ---------- */
@media (min-width: 720px) {
  .hero__inner { padding: 110px 0 28px; }
  .map { height: 380px; }
  .cards--2 { grid-template-columns: 1fr 1fr; }
  .step { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
  .step__dot { width: 44px; height: 44px; }
  .step::before { left: 21px; top: 44px; }
  .day-end { margin-left: 58px; }
  .tabbar ul { padding: 8px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print {
  body { padding: 0; background: #fff; }
  .tabbar, .now, .mapbox, .map-legend, .hero img, .photo { display: none !important; }
  .hero { color: #000; background: none; } .hero::after { display: none; }
  .hero__inner { padding: 0; } .key { color: #000; border-color: #999; }
  .js .view[hidden] { display: block; }
  .card { box-shadow: none; break-inside: avoid; }
}
