/* OùGrimper — feuille de style unique. Mobile d'abord.
   Principe : l'interface reste en tons de roche ; la couleur est réservée aux cotations. */

@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url(../fonts/barlow-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url(../fonts/barlow-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url(../fonts/barlow-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow SC"; font-weight: 600; font-display: swap; src: url(../fonts/barlow-semi-condensed-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow SC"; font-weight: 700; font-display: swap; src: url(../fonts/barlow-semi-condensed-latin-700-normal.woff2) format("woff2"); }

:root {
  --paper: #eef1ee;
  --surface: #ffffff;
  --sunk: #e4e9e5;
  --ink: #24302f;
  --ink-2: #56625f;
  --ink-3: #7c8784;
  --line: #d3dad6;
  --focus: #2f6f8f;

  /* Cotations */
  --g1: #3d8f74;
  --g2: #e0a13a;
  --g3: #d2553f;
  --g4: #5c4a8f;
  --track: #e5eae6;

  --ok-bg: #e2f1e9; --ok: #23704f;
  --warn-bg: #fbf0d9; --warn: #8a5a00;
  --bad-bg: #f9e2dd; --bad: #a33522;
  --none-bg: #e9ecea; --none: #5f6a67;

  --r-s: 8px; --r-m: 14px; --r-l: 20px;
  --shadow: 0 1px 2px rgba(36, 48, 47, .06), 0 4px 16px rgba(36, 48, 47, .06);
  --head: "Barlow SC", "Barlow", system-ui, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --top-h: 56px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #161c1c; --surface: #1f2726; --sunk: #283231; --ink: #e7ecea; --ink-2: #b2bdba; --ink-3: #8b9794;
    --line: #34403e; --track: #2d3837; --focus: #7fb7d4;
    --g1: #4fa585; --g2: #e7ae4b; --g3: #e0664f; --g4: #8a76c4;
    --ok-bg: #1d3a2e; --ok: #8fd3b2; --warn-bg: #3c3119; --warn: #f1c36d; --bad-bg: #42241f; --bad: #f2a090;
    --none-bg: #2b3433; --none: #a9b4b1;
    --shadow: 0 1px 2px rgba(0,0,0,.3);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 12px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.5 var(--body); font-variant-numeric: tabular-nums; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.005em; }
h2 { font-size: 1.35rem; }
p { margin: 0 0 .75em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
button, input, select, textarea { font: inherit; color: inherit; }
.i { width: 20px; height: 20px; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 8px 12px; border-radius: var(--r-s); }
.skip:focus { left: 8px; }
.muted { color: var(--ink-2); }
.small { font-size: .875rem; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 680px; }
.page { padding-top: 24px; padding-bottom: 48px; }
.page h1 { font-size: 2rem; }
.mono-num { font-variant-numeric: tabular-nums; letter-spacing: .01em; }
[hidden] { display: none !important; }

/* ---------- En-tête ---------- */
.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; justify-content: space-between; height: var(--top-h); max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.3rem/1 var(--head); }
.top__nav { display: flex; gap: 4px; }
.top__nav a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 500; }
.top__nav a:hover { background: var(--sunk); }

/* ---------- Boutons, pastilles ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 12px;
  border: 1px solid transparent; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: color-mix(in srgb, var(--ink) 88%, var(--g1)); }
.btn--primary:disabled { opacity: .45; cursor: not-allowed; }
.btn--ghost { background: var(--surface); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink-3); }
.btn--block { width: 100%; }
.btn-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--sunk); cursor: pointer; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-weight: 500; }
.link { font-weight: 600; text-decoration: none; white-space: nowrap; }
.link:hover { text-decoration: underline; }

.tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: .85rem; font-weight: 600; background: var(--sunk); color: var(--ink); text-decoration: none; line-height: 1.4; }
.tag--ok { background: var(--ok-bg); color: var(--ok); }
.tag--warn { background: var(--warn-bg); color: var(--warn); }
.tag--bad { background: var(--bad-bg); color: var(--bad); }
.tag--none { background: var(--none-bg); color: var(--none); }
.tag--demo { background: transparent; color: var(--ink-2); box-shadow: inset 0 0 0 1.5px currentColor; padding: 1px 8px; font-size: .75rem; }

.vb { display: inline-flex; align-items: center; gap: 3px; margin-left: 8px; padding: 1px 8px 1px 5px; border-radius: 999px; font-size: .75rem; font-weight: 600; white-space: nowrap; vertical-align: 1px; }
.vb .i { width: 14px; height: 14px; }
.vb--confirme { background: var(--ok-bg); color: var(--ok); }
.vb--non_verifie { background: var(--warn-bg); color: var(--warn); }
.vb--indisponible { background: var(--none-bg); color: var(--none); }

.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-m); background: var(--sunk); margin: 0 0 16px; }
.notice .i { margin-top: 2px; }
.notice--demo { background: var(--surface); border: 1px dashed var(--ink-3); }
.notice--ok { background: var(--ok-bg); color: var(--ok); }
.notice--bad { background: var(--bad-bg); color: var(--bad); }

/* ---------- Accueil ---------- */
.hero { padding: 28px 0 20px; }
.hero__title { font-size: clamp(2.15rem, 8.4vw, 3.6rem); line-height: 1; letter-spacing: -.015em; max-width: 14ch; margin-bottom: 12px; }
.hero__sub { font-size: 1.15rem; color: var(--ink-2); margin-bottom: 20px; }
.hero__eg { margin: 12px 2px 0; font-size: .9rem; color: var(--ink-2); }
.hero__eg a { color: var(--ink); font-weight: 500; }

.quick { background: var(--surface); border-radius: var(--r-l); padding: 12px; box-shadow: var(--shadow); display: grid; gap: 12px; max-width: 760px; }
.quick__level { display: grid; gap: 6px; }
.quick__label { font-size: .85rem; font-weight: 600; color: var(--ink-2); padding-left: 4px; }

.where { position: relative; }
.where__box { display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 6px 0 14px; border-radius: 12px; background: var(--sunk); border: 1.5px solid transparent; }
.where__box:focus-within { border-color: var(--ink); background: var(--surface); }
.where__box > .i { color: var(--ink-2); }
.where__box input { flex: 1; min-width: 0; border: 0; background: transparent; height: 100%; font-size: 1.05rem; outline: none; }
.where__box input::-webkit-search-cancel-button { display: none; }
.where__me { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border: 0; border-radius: 9px; background: var(--surface); font-weight: 600; font-size: .9rem; cursor: pointer; box-shadow: 0 0 0 1px var(--line); }
.where__me.is-busy { opacity: .6; }
.where__list { position: absolute; z-index: 60; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: var(--surface); border-radius: var(--r-m); box-shadow: 0 12px 32px rgba(0,0,0,.18); max-height: 320px; overflow: auto; }
.where__list li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 12px; border-radius: 10px; cursor: pointer; }
.where__list li[aria-selected="true"], .where__list li:hover { background: var(--sunk); }
.where__list small { color: var(--ink-3); white-space: nowrap; }

.range { display: flex; align-items: center; gap: 8px; }
.range__f { flex: 1; display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 12px; border-radius: 12px; background: var(--sunk); border: 1.5px solid transparent; }
.range__f:focus-within { border-color: var(--ink); }
.range__f > span { font-size: .9rem; color: var(--ink-2); }
.range__f select { flex: 1; min-width: 0; border: 0; background: transparent; font: 600 1.15rem var(--head); height: 100%; cursor: pointer; outline: none; appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 10px) 52%, calc(100% - 5px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.range__sep { width: 10px; height: 2px; background: var(--ink-3); flex: none; }

.types { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 8px auto 8px; }
.type { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px; border-radius: var(--r-m); background: var(--surface); text-decoration: none; border: 1px solid var(--line); min-height: 72px; }
.type:hover { border-color: var(--ink-3); }
.type__i { grid-row: span 2; width: 32px; height: 32px; color: var(--ink); }
.type__l { font: 700 1.1rem/1.1 var(--head); }
.type__n { font-size: .85rem; color: var(--ink-2); }

.block { margin-top: 32px; margin-bottom: 8px; }
.block__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.block__head h2 { margin: 0; }

.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 0; margin: 8px 0 12px; list-style: none; font-size: .9rem; }
.legend li { display: flex; align-items: center; gap: 6px; }
.legend__sw { width: 18px; height: 8px; border-radius: 4px; }
.legend--inline { margin: 14px 0 0; font-size: .82rem; color: var(--ink-2); }
.legend-block { margin-bottom: 40px; }
.g1 { background: var(--g1); } .g2 { background: var(--g2); } .g3 { background: var(--g3); } .g4 { background: var(--g4); }

/* ---------- Cartes de résultat ---------- */
.cards { display: grid; gap: 12px; }
.card { position: relative; display: grid; grid-template-columns: 76px 1fr; gap: 12px 14px; padding: 14px; background: var(--surface); border-radius: var(--r-m); border: 1px solid var(--line); }
.card:hover { border-color: var(--ink-3); }
.card:focus-within { outline: 3px solid var(--focus); outline-offset: 1px; }
.card.is-demo { border-style: dashed; }
.card__img { width: 76px; height: 76px; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: var(--sunk); }
.card__body { min-width: 0; }
.card__kind { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0 0 2px; font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.card__dist { margin-left: auto; color: var(--ink); }
.card__title { font-size: 1.25rem; margin: 0 0 2px; }
.card__title a { text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card__title a:focus-visible { outline: none; }
.card__place { font-size: .9rem; color: var(--ink-2); margin: 0 0 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card__facts { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; font-size: .92rem; }
.card__facts span { color: var(--ink-2); }
.card__chart { grid-column: 1 / -1; }
.card__match { margin: 0 0 6px; padding: 6px 10px; border-radius: 8px; background: var(--sunk); font-size: .92rem; }
.card__match strong { font: 700 1.1rem var(--head); }
.card__access { margin: 8px 0 0; }

/* Mini-graphique par tranche de niveau */
.bc { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.bc li { display: grid; grid-template-columns: 6.8em 1fr 2.2em; align-items: center; gap: 10px; font-size: .82rem; }
.bc__l { color: var(--ink-2); white-space: nowrap; }
.bc__t { height: 8px; border-radius: 4px; background: var(--track); overflow: hidden; }
.bc__b { display: block; height: 100%; width: var(--w); border-radius: 4px; }
.bc__n { text-align: right; font-weight: 600; }
.bc-empty { margin: 0; font-size: .85rem; color: var(--ink-3); }

/* ---------- Le graphique signature ---------- */
.gc { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.gc__row { display: grid; grid-template-columns: 3.1rem 1fr auto; align-items: center; gap: 12px; }
.gc__grade { font: 700 1.2rem/1 var(--head); }
.gc__track { height: 12px; border-radius: 6px; background: var(--track); overflow: hidden; }
.gc__bar { display: block; height: 100%; width: var(--w); border-radius: 6px; transform-origin: left; }
.gc__n { min-width: 2.2rem; text-align: right; font-weight: 600; font-size: 1rem; }
.gc__u { display: none; font-weight: 400; color: var(--ink-2); }
.gc--ranged .is-out { opacity: .28; }
.gc--ranged .is-in .gc__grade { text-decoration: underline 2px; text-underline-offset: 4px; }
.gc__row { transition: opacity .2s; }
@media (prefers-reduced-motion: no-preference) {
  .gpanel .gc__bar { animation: grow .7s cubic-bezier(.2,.7,.2,1) both; }
  .gpanel .gc__row:nth-child(2) .gc__bar { animation-delay: .04s } .gpanel .gc__row:nth-child(3) .gc__bar { animation-delay: .08s }
  .gpanel .gc__row:nth-child(4) .gc__bar { animation-delay: .12s } .gpanel .gc__row:nth-child(5) .gc__bar { animation-delay: .16s }
  .gpanel .gc__row:nth-child(n+6) .gc__bar { animation-delay: .2s }
}
@keyframes grow { from { transform: scaleX(0); } }

/* ---------- Fiche site ---------- */
.demo-banner { background: var(--ink); color: var(--paper); font-size: .92rem; }
.demo-banner .wrap { display: flex; gap: 10px; align-items: flex-start; padding-top: 10px; padding-bottom: 10px; }
.demo-banner p { margin: 0; } .demo-banner .i { margin-top: 1px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .85rem; color: var(--ink-2); padding: 14px 0 10px; }
.crumbs a { text-decoration: none; }
.crumbs a + a::before { content: "/"; margin: 0 8px; color: var(--ink-3); }
.crumbs a:hover { text-decoration: underline; }

.sh { display: grid; gap: 16px; margin-bottom: 16px; }
.sh__photo { margin: 0 -16px; position: relative; }
.sh__photo img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; background: var(--sunk); }
.sh__photo figcaption { position: absolute; right: 8px; bottom: 8px; font-size: .72rem; padding: 2px 8px; border-radius: 6px; background: rgba(0,0,0,.5); color: #fff; }
.sh__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.sh__name { font-size: clamp(2rem, 8vw, 3rem); line-height: 1; margin-bottom: 8px; }
.sh__place { display: flex; gap: 6px; align-items: flex-start; font-size: 1.05rem; color: var(--ink-2); margin-bottom: 16px; }
.sh__place .i { margin-top: 2px; color: var(--ink); }
.sh__place a { color: var(--ink); }

.facts { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 8px; }
.facts li { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.facts strong { font: 700 1.3rem/1.1 var(--head); }
.facts span { font-size: .82rem; color: var(--ink-2); }

.go { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.btn--go { flex: 1; min-height: 54px; font-size: 1.05rem; }
.go__more { position: relative; }
.go__more summary { list-style: none; min-height: 54px; width: 54px; padding: 0; }
.go__more summary::-webkit-details-marker { display: none; }
.go__menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 40; min-width: 230px; padding: 6px; background: var(--surface); border-radius: var(--r-m); box-shadow: 0 12px 32px rgba(0,0,0,.2); display: grid; }
.go__menu a, .go__menu button { display: block; text-align: left; padding: 12px; border-radius: 9px; border: 0; background: none; text-decoration: none; font-weight: 500; cursor: pointer; }
.go__menu a:hover, .go__menu button:hover { background: var(--sunk); }
.go__note { flex-basis: 100%; margin: 0; font-size: .85rem; color: var(--ink-2); }

.panel { background: var(--surface); border-radius: var(--r-l); padding: 18px 16px; margin-bottom: 14px; border: 1px solid var(--line); }
.panel__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 10px; }
.panel__head h2 { margin: 0; }
.panel__head .vb { margin-left: 0; }
.sub { font-size: 1.1rem; margin: 20px 0 10px; }
.mylevel { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; }
.mylevel__l { font-size: .85rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.mylevel .range { flex: 1; max-width: 320px; }
.mylevel .range__f { height: 42px; }
.mylevel .range__f select { font-size: 1.05rem; }
.match { margin: 0 0 12px; padding: 8px 12px; border-radius: 10px; background: var(--sunk); }
.match strong { font: 700 1.25rem var(--head); }

.info { margin: 0; }
.info__row { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 12px 0; border-top: 1px solid var(--line); }
.info__row:first-child { border-top: 0; padding-top: 0; }
.info dt { font-size: .82rem; color: var(--ink-2); font-weight: 600; }
.info dd { margin: 0; }
.info__txt { display: block; margin-top: 4px; color: var(--ink-2); }
.info--tight .info__row { padding: 8px 0; }
.info--tight .info__row:first-child { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 12px; }
.orient { display: inline-flex; align-items: center; gap: 10px; vertical-align: middle; }
.rose { width: 44px; height: 44px; }
.rose__ring { fill: none; stroke: var(--line); stroke-width: 2; }
.rose__on { fill: var(--ink); }
.rose__off { fill: var(--track); }
.rose__n { font: 700 11px var(--head); fill: var(--ink-2); text-anchor: middle; dominant-baseline: central; display: none; }
.sources { margin: 0; padding-left: 1.1em; }
.legend-verif { margin: 14px 0 0; font-size: .82rem; color: var(--ink-2); line-height: 2; }
.legend-verif .vb { margin-left: 0; }
.prose { max-width: 68ch; }
.contrib { padding: 18px 0 8px; }
.contrib p { font-weight: 600; }
.contrib__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.contrib__btns .btn { flex: 1 1 auto; min-height: 44px; }

/* ---------- Cartes interactives ---------- */
.map { background: var(--sunk); border-radius: var(--r-l); overflow: hidden; position: relative; z-index: 0; }
.map--home { height: 380px; }
.map--site { height: 260px; border-radius: var(--r-m); }
.map__fallback { padding: 24px; color: var(--ink-2); }
.pin { width: 16px; height: 16px; border-radius: 50%; background: var(--ink); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.4); }
.pin.is-demo { background: #fff; border-color: var(--ink); border-style: dashed; }
.pin--p { background: #2f6f8f; border-radius: 4px; color: #fff; font: 700 10px/10px var(--body); text-align: center; width: 18px; height: 18px; line-height: 12px; }
.leaflet-popup-content { margin: 12px 14px; font: 15px/1.4 var(--body); }
.leaflet-popup-content-wrapper { border-radius: 12px; }
.pop strong { display: block; font: 700 1.1rem/1.15 var(--head); margin-bottom: 2px; }
.pop span { color: #56625f; display: block; }
.pop a { display: inline-block; margin-top: 8px; font-weight: 600; color: #24302f; }
.marker-cluster-small, .marker-cluster-medium, .marker-cluster-large { background: rgba(36, 48, 47, .25); }
.marker-cluster { border-radius: 20px; }
.marker-cluster div { width: 30px; height: 30px; margin: 5px; border-radius: 15px; text-align: center; line-height: 30px; background: #24302f; color: #fff; font: 600 13px var(--body); }

/* ---------- Recherche ---------- */
.search { max-width: 1440px; margin: 0 auto; }
.search__main { padding: 0 16px 40px; min-width: 0; }
.rbar { position: sticky; top: var(--top-h); z-index: 30; background: var(--paper); margin: 0 -16px; padding: 12px 16px 10px; display: grid; gap: 10px; border-bottom: 1px solid var(--line); }
.rbar__title { font-size: 1.35rem; margin: 0; }
.rbar__count { margin: 2px 0 0; color: var(--ink-2); font-size: .92rem; }
.rbar__actions { display: flex; gap: 8px; }
.btn--filter { min-height: 42px; background: var(--surface); border-color: var(--line); flex: 1; }
.badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: .78rem; }
.toggle { display: flex; background: var(--sunk); border-radius: 12px; padding: 3px; }
.toggle button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 0 12px; border-radius: 9px; font-weight: 600; cursor: pointer; color: var(--ink-2); }
.toggle button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.1); }
.intro { margin: 14px 0 0; color: var(--ink-2); max-width: 68ch; }
.active { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.active a { display: inline-flex; align-items: center; gap: 4px; padding: 6px 8px 6px 12px; border-radius: 999px; background: var(--ink); color: var(--paper); text-decoration: none; font-size: .88rem; font-weight: 500; }
.active .i { width: 16px; height: 16px; opacity: .8; }
.sort { display: flex; justify-content: flex-end; margin: 12px 0 10px; font-size: .9rem; color: var(--ink-2); }
.sort select { margin-left: 6px; border: 1px solid var(--line); background: var(--surface); border-radius: 8px; padding: 6px 8px; font-weight: 600; color: var(--ink); }
.search__list { padding-top: 4px; }
.search__list > .cards { margin-top: 4px; }
.search__map { display: none; margin-top: 12px; }
.map--search { height: calc(100vh - var(--top-h) - 190px); height: calc(100dvh - var(--top-h) - 190px); min-height: 320px; }
.search[data-view="map"] .search__map { display: block; }
.search[data-view="map"] .search__list { display: none; }
.empty { padding: 24px 18px; background: var(--surface); border-radius: var(--r-l); border: 1px solid var(--line); margin-top: 12px; }
.empty h2 { font-size: 1.25rem; }
.empty ul { margin: 0; padding-left: 1.2em; line-height: 2; }
.pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 20px; color: var(--ink-2); }

/* Panneau de filtres : feuille plein écran sur mobile */
.sheet { position: fixed; z-index: 80; inset: auto 0 0 0; height: 92vh; height: 92dvh; background: var(--surface); border-radius: 20px 20px 0 0; transform: translateY(105%); transition: transform .28s cubic-bezier(.2,.8,.2,1); box-shadow: 0 -8px 40px rgba(0,0,0,.25); visibility: hidden; }
.sheet-open .sheet { transform: none; visibility: visible; }
.sheet-backdrop { position: fixed; inset: 0; z-index: 70; background: rgba(15, 20, 20, .45); }
.sheet-open { overflow: hidden; }
.filters { display: flex; flex-direction: column; height: 100%; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.sheet__title { margin: 0; font: 700 1.3rem var(--head); }
.sheet__body { flex: 1; overflow-y: auto; padding: 4px 16px 24px; overscroll-behavior: contain; }
.sheet__foot { display: flex; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); }
.sheet__foot .btn--primary { flex: 1; }

.fs { border: 0; padding: 0; margin: 20px 0 0; min-width: 0; }
.fs legend { font: 700 1.1rem var(--head); margin-bottom: 10px; padding: 0; }
.fs .where__box, .fs .range__f { background: var(--sunk); }
.fs .where, .fs .range { margin-bottom: 10px; }
.field { display: grid; gap: 6px; margin-top: 14px; }
.field__label { font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.hint { margin: 8px 0 0; font-size: .85rem; color: var(--ink-2); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--presets { margin-bottom: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip > span, .chip--btn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 600; font-size: .95rem; cursor: pointer; }
.chip > span .i { width: 20px; height: 20px; }
.chip input:checked + span, .chip--btn.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { position: relative; flex: 1 1 auto; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 12px; border-radius: 10px; border: 1.5px solid var(--line); font-weight: 600; font-size: .92rem; white-space: nowrap; background: var(--surface); }
.seg input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.seg input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.seg--stack { flex-direction: column; }
.seg--stack span { justify-content: flex-start; }

.compass { display: grid; grid-template-columns: repeat(3, 56px); grid-template-rows: repeat(3, 44px); gap: 6px; }
.compass label { position: relative; }
.compass input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.compass span { display: grid; place-items: center; height: 100%; border-radius: 10px; border: 1.5px solid var(--line); font-weight: 700; font-family: var(--head); }
.compass input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.compass input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.compass__c { border-radius: 50%; margin: 14px; border: 2px solid var(--line); }

/* ---------- Formulaires ---------- */
.form { display: grid; gap: 12px; }
.form textarea, .form input[type=email], .form input[type=password], .form input[type=text] { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px; background: var(--surface); font-size: 1rem; }
.form textarea:focus, .form input:focus { outline: none; border-color: var(--ink); }
.form--row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hp { position: absolute; left: -9999px; }
.about-site { padding: 10px 14px; background: var(--surface); border-radius: 12px; border: 1px solid var(--line); }
.code { white-space: pre-wrap; word-break: break-all; background: var(--sunk); padding: 12px; border-radius: 10px; font-size: .85rem; }
.contribution { border-top: 1px solid var(--line); padding: 12px 0; }
.contribution.is-refusee, .contribution.is-acceptee { opacity: .55; }
.plain { list-style: none; padding: 0; } .plain li { margin-bottom: 8px; } .plain .vb { margin: 0 6px 0 0; }

/* ---------- Pied de page ---------- */
.foot { border-top: 1px solid var(--line); margin-top: 24px; padding: 28px 0 40px; font-size: .92rem; }
.foot__in { display: grid; gap: 20px; }
.foot__brand { font: 700 1.2rem var(--head); margin-bottom: 4px; }
.foot nav { display: grid; gap: 8px; align-content: start; }
.foot nav a { text-decoration: none; } .foot nav a:hover { text-decoration: underline; }

/* ---------- Écrans plus larges ---------- */
@media (min-width: 560px) {
  .types { grid-template-columns: repeat(4, 1fr); }
  .gc__u { display: inline; }
  .gc__row { grid-template-columns: 3.4rem 1fr 5.6rem; }
  .gc__track { height: 16px; border-radius: 8px; } .gc__bar { border-radius: 8px; }
  .gc { gap: 10px; }
  .quick { grid-template-columns: 1fr 1fr; padding: 14px; }
  .quick .where { grid-column: 1 / -1; }
  .quick .btn { align-self: end; min-height: 52px; }
  .info__row { grid-template-columns: 11rem 1fr; gap: 16px; }
  .sh__photo { margin: 0; } .sh__photo img { border-radius: var(--r-l); }
}
@media (max-width: 559px) { .hide-sm { display: none !important; } .where__me span { display: none; } .where__me { padding: 0 10px; } }

@media (min-width: 760px) {
  .hero { padding: 56px 0 28px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card { grid-template-columns: 88px 1fr; }
  .card__img { width: 88px; height: 88px; }
  .sh { grid-template-columns: minmax(260px, 2fr) 3fr; gap: 28px; align-items: start; margin-top: 4px; }
  .sh__photo img { aspect-ratio: 4 / 3.4; }
  .fiche__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
  .panel { padding: 24px; }
  .map--home { height: 460px; }
  .foot__in { grid-template-columns: 2fr 1fr 1fr; }
  .quick { grid-template-columns: 1.5fr 1.2fr auto; align-items: end; }
  .quick .where { grid-column: auto; align-self: end; }
}

@media (min-width: 1000px) {
  .search { display: grid; grid-template-columns: 330px 1fr; }
  .sheet { position: sticky; top: var(--top-h); height: calc(100vh - var(--top-h)); transform: none; visibility: visible; border-radius: 0; box-shadow: none; border-right: 1px solid var(--line); z-index: 1; transition: none; }
  .sheet__head [data-close-sheet], .btn--filter, .toggle, .sheet-backdrop { display: none !important; }
  .search__main { padding: 0 24px 48px; }
  .rbar { position: static; margin: 0; padding: 20px 0 12px; }
  .rbar__title { font-size: 1.8rem; }
  .search .search__map, .search[data-view] .search__list { display: block; }
  .map--search { height: 340px; }
}
@media (min-width: 1360px) {
  .search__main { display: grid; grid-template-columns: minmax(0, 1fr) 460px; grid-template-areas: "bar map" "intro map" "chips map" "list map"; grid-template-rows: auto auto auto 1fr; column-gap: 24px; align-items: start; }
  .rbar { grid-area: bar; } .intro { grid-area: intro; } .active { grid-area: chips; }
  .search__list { grid-area: list; }
  .search__map { grid-area: map; position: sticky; top: calc(var(--top-h) + 20px); margin-top: 20px; }
  .map--search { height: calc(100vh - var(--top-h) - 40px); }
  .search .cards { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) { .sheet { transition: none; } * { scroll-behavior: auto !important; } }
@media print { .top, .foot, .go, .contrib, .map, .mylevel { display: none !important; } body { background: #fff; } }

/* Ajustements : segments sur une seule ligne, champ lieu compact dans les filtres */
.seg:not(.seg--stack) { flex-wrap: nowrap; }
.seg:not(.seg--stack) label { flex: 1 1 0; min-width: 0; }
.seg:not(.seg--stack) span { padding: 0 4px; font-size: .88rem; }
.fs .where__me span { display: none; }
.fs .where__me { padding: 0 10px; }

/* =====================================================================
   Refonte 2026 — accueil, en-tête, pied de page (ton sobre : écru, vert, charbon)
   ===================================================================== */
:root { --paper: #f6f4ee; --sunk: #eeece5; --line: #e2dfd6; --forest: #2f5d4a; --forest-2: #3d7a60; --ink: #1f2a28;
  --shadow: 0 1px 2px rgba(31,42,40,.05), 0 8px 24px -12px rgba(31,42,40,.18); --top-h: 68px; }
@media (prefers-color-scheme: dark) { :root { --paper: #161c1c; --sunk: #283231; --line: #34403e; --ink: #e7ecea; --forest: #6fb08f; --forest-2: #8fd3b2; } }

/* En-tête */
.top { background: color-mix(in srgb, var(--surface) 92%, transparent); border-bottom: 1px solid var(--line); }
.top__in { max-width: 1240px; padding: 0 20px; }
.brand { gap: 12px; }
.brand__logo { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 4px 12px -4px rgba(31,42,40,.45); }
.brand__txt { display: flex; flex-direction: column; gap: 3px; }
.brand__name { font: 700 1.55rem/1 var(--head); letter-spacing: -.01em; }
.brand__tag { font: 500 .78rem/1 var(--body); color: var(--ink-3); letter-spacing: .02em; }
.top__nav { align-items: center; gap: 6px; }
.top__nav a { color: var(--ink-2); }
.top__nav a:hover { color: var(--ink); background: var(--sunk); }
.top__nav .top__cta { background: var(--ink); color: var(--paper); padding: 10px 16px; }
.top__nav .top__cta:hover { background: var(--forest); color: #fff; }

/* Hero photo */
.hero2 { position: relative; overflow: hidden; padding: 72px 0 56px; background: #c9cfc5; isolation: isolate; }
.hero2__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 35%; z-index: -2; }
.hero2::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(246,244,238,.96) 0%, rgba(246,244,238,.86) 38%, rgba(246,244,238,.25) 68%, rgba(246,244,238,0) 85%),
              linear-gradient(0deg, rgba(246,244,238,.9) 0%, rgba(246,244,238,0) 30%); }
.hero2__in { max-width: 1240px; padding: 0 20px; }
.hero2__eyebrow { display: inline-block; font: 600 .82rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--forest); background: rgba(255,255,255,.75); padding: 7px 12px; border-radius: 999px; margin-bottom: 18px; }
.hero2__title { font-size: clamp(2.3rem, 5.4vw, 4.1rem); line-height: 1.02; letter-spacing: -.02em; max-width: 15ch; color: #1f2a28; margin-bottom: 14px; }
.hero2__sub { font-size: 1.2rem; color: #3f4b48; max-width: 46ch; margin-bottom: 28px; }
.search2 { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; max-width: 1000px;
  background: #fff; border-radius: 20px; padding: 16px; box-shadow: 0 24px 60px -24px rgba(31,42,40,.45), 0 0 0 1px rgba(31,42,40,.04); color: #1f2a28; }
.search2__lbl { display: block; font: 600 .8rem/1 var(--body); color: #5d6a66; margin: 0 0 7px 4px; letter-spacing: .02em; }
.search2 .where__box, .search2 .range__f { background: #f3f1ea; height: 54px; }
.search2 .where__me { background: #fff; }
.search2__go { height: 54px; padding: 0 26px; border-radius: 13px; font-size: 1.05rem; background: var(--forest); color: #fff; }
.search2__go:hover { background: #244a3b; }
.search2__eg { grid-column: 1 / -1; margin: 2px 4px 0; font-size: .88rem; color: #5d6a66; }
.search2__eg a { color: #1f2a28; font-weight: 500; }

/* Catégories */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 1240px; padding: 0 20px; margin: -28px auto 0; position: relative; z-index: 2; }
.cat { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--surface); border-radius: 16px; text-decoration: none; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .15s, border-color .15s; }
.cat:hover { transform: translateY(-2px); border-color: var(--forest-2); }
.cat__art { width: 54px; height: 50px; flex: none; }
.cat__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cat__l { font: 700 1.2rem/1.15 var(--head); }
.cat__n { font-size: .9rem; color: var(--ink-3); }
.cat__go { font-size: 1.6rem; color: var(--ink-3); line-height: 1; }

/* Carte + spots */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 20px; max-width: 1240px; padding: 0 20px; margin: 34px auto 0; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px; box-shadow: var(--shadow); min-width: 0; }
.panel__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.panel__head h2 { font-size: 1.55rem; margin: 0; }
.panel__head .link { font-weight: 600; font-size: .92rem; color: var(--forest); text-decoration: none; white-space: nowrap; }
.panel--map { display: flex; flex-direction: column; }
.panel--map .map--home { flex: 1; min-height: 420px; border-radius: 14px; overflow: hidden; }
.panel__note { margin: 10px 2px 0; }
.panel--pop .notice { margin-bottom: 14px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tile { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: box-shadow .15s, transform .15s; }
.tile:hover { box-shadow: 0 14px 30px -18px rgba(31,42,40,.5); transform: translateY(-2px); }
.tile__img { position: relative; display: block; aspect-ratio: 16 / 10; background: #d9ddd4; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; }
.tile__kind, .tile__demo { position: absolute; top: 10px; font: 600 .72rem/1 var(--body); letter-spacing: .06em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; }
.tile__kind { left: 10px; background: rgba(255,255,255,.94); color: #1f2a28; }
.tile__demo { right: 10px; background: rgba(31,42,40,.72); color: #fff; }
.tile__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.tile__title { font-size: 1.15rem; margin: 0; }
.tile__title a { text-decoration: none; }
.tile__title a::after { content: ""; position: absolute; inset: 0; }
.tile { position: relative; }
.tile__place { display: flex; align-items: center; gap: 5px; margin: 0; font-size: .88rem; color: var(--ink-2); }
.tile__place .i { width: 15px; height: 15px; color: var(--ink-3); }
.tile__facts { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 2px 0 0; padding: 0; list-style: none; font-size: .86rem; color: var(--ink-2); }
.tile__facts b { color: var(--ink); }
.tile__chart { margin-top: auto; padding-top: 6px; }
.tile__access { margin: 4px 0 0; }

/* Pourquoi + cotations */
.why { max-width: 1240px; padding: 0 20px; margin: 48px auto 0; }
.why > h2 { font-size: 1.7rem; text-align: center; margin-bottom: 22px; }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why__i { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.why__i h3 { font-size: 1.2rem; margin: 12px 0 6px; }
.why__i p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.why__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: color-mix(in srgb, var(--forest) 12%, transparent); color: var(--forest); }
.legend2 { max-width: 1240px; padding: 22px 24px; margin: 22px auto 0; display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; background: var(--sunk); border-radius: 18px; }
.legend2 h2 { font-size: 1.3rem; }
.legend2 .legend { margin: 0; }

/* Pied de page */
.foot { margin-top: 56px; background: var(--surface); border-top: 1px solid var(--line); padding: 36px 0 0; }
.foot__in { max-width: 1240px; padding: 0 20px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.foot__about .brand { margin-bottom: 12px; }
.foot__about .brand__name { font-size: 1.35rem; }
.foot__about p { font-size: .9rem; max-width: 42ch; }
.foot__h { font: 700 1rem/1.2 var(--head); margin-bottom: 10px; }
.foot nav a { display: block; padding: 4px 0; color: var(--ink-2); text-decoration: none; font-size: .93rem; }
.foot nav a:hover { color: var(--forest); }
.foot__end { max-width: 1240px; padding: 16px 20px 24px; margin-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; font-size: .85rem; color: var(--ink-3); }

/* Responsive */
@media (max-width: 1100px) {
  .duo { grid-template-columns: 1fr; }
  .panel--map .map--home { min-height: 360px; }
  .cats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  :root { --top-h: 60px; }
  .brand__logo { width: 34px; height: 34px; }
  .brand__name { font-size: 1.3rem; }
  .brand__tag { display: none; }
  .top__nav a:not(.top__cta) span { display: none; }
  .top__nav .top__cta span { display: none; }
  .top__nav .top__cta { padding: 9px; }
  .hero2 { padding: 34px 0 44px; }
  .hero2::before { background: linear-gradient(180deg, rgba(246,244,238,.94) 0%, rgba(246,244,238,.82) 55%, rgba(246,244,238,.95) 100%); }
  .hero2__eyebrow { font-size: .72rem; }
  .hero2__sub { font-size: 1.05rem; margin-bottom: 20px; }
  .search2 { grid-template-columns: 1fr; padding: 14px; border-radius: 18px; }
  .search2__go { width: 100%; }
  .cats { gap: 10px; margin-top: -22px; padding: 0 16px; }
  .cat { padding: 12px; gap: 10px; }
  .cat__art { width: 40px; height: 38px; }
  .cat__l { font-size: 1.05rem; }
  .cat__go { display: none; }
  .duo { padding: 0 16px; margin-top: 24px; }
  .panel { padding: 16px; border-radius: 18px; }
  .panel__head { flex-wrap: wrap; }
  .tiles { grid-template-columns: 1fr; }
  .tile { flex-direction: row; }
  .tile__img { width: 38%; flex: none; aspect-ratio: auto; min-height: 150px; }
  .why { padding: 0 16px; margin-top: 36px; }
  .why__grid { grid-template-columns: 1fr; gap: 12px; }
  .legend2 { grid-template-columns: 1fr; margin: 18px 16px 0; padding: 18px; }
  .foot__in { grid-template-columns: 1fr 1fr; padding: 0 16px; }
  .foot__about { grid-column: 1 / -1; }
  .foot__end { flex-direction: column; padding: 14px 16px 22px; }
}
@media (min-width: 761px) and (max-width: 1100px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.panel--map .map--home { flex: none; height: 470px; min-height: 0; }
.panel--pop .notice { padding: 10px 12px; font-size: .9rem; }
.more2 { max-width: 1240px; padding: 0 20px; margin: 34px auto 0; }
.more2 .panel__head h2 { font-size: 1.55rem; }
.more2 .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .panel--map .map--home { height: 380px; } }
@media (max-width: 760px) { .more2 { padding: 0 16px; } .more2 .tiles { grid-template-columns: 1fr; } .panel--map .map--home { height: 340px; } }
.more2 .tile__img { aspect-ratio: 16 / 8; }

/* ---------- Accueil compact (v2) : la recherche passe avant la photo ---------- */
.hero2 { padding: 30px 0 26px; }
.hero2__title { font-size: clamp(1.9rem, 3.3vw, 2.75rem); line-height: 1.05; max-width: 22ch; margin-bottom: 6px; }
.hero2__sub { font-size: 1.05rem; margin-bottom: 18px; max-width: 60ch; }
.hero2::before { background: linear-gradient(90deg, rgba(246,244,238,.95) 0%, rgba(246,244,238,.82) 45%, rgba(246,244,238,.2) 75%, rgba(246,244,238,0) 90%); }
.search2 { padding: 12px; gap: 10px; border-radius: 16px; max-width: 1080px; }
.search2__lbl { font-size: .74rem; margin-bottom: 5px; }
.search2 .where__box, .search2 .range__f, .search2__go { height: 50px; }
.search2__eg { font-size: .84rem; margin-top: 0; }
.cats { margin-top: 18px; }
.cat { padding: 12px 16px; }
.cat__art { width: 46px; height: 42px; }
.duo { margin-top: 22px; }
@media (max-width: 760px) {
  .hero2 { padding: 18px 0 18px; }
  .hero2__title { font-size: 1.75rem; max-width: none; }
  .hero2__sub { font-size: .95rem; margin-bottom: 12px; }
  .search2 { padding: 10px; gap: 8px; }
  .search2__lbl { display: none; }
  .search2 .where__box, .search2 .range__f, .search2__go { height: 48px; }
  .search2__eg { display: none; }
  .cats { margin-top: 12px; }
  .cat { padding: 10px 12px; }
}

/* ---------- Vignettes compactes (v3) : 6 sites en 3 × 2, toutes de la même taille ---------- */
.panel--pop .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tile { display: flex; flex-direction: column; height: 200px; position: relative; text-decoration: none; color: inherit; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); box-shadow: 0 1px 2px rgba(31,42,40,.04); transform: none; }
.tile:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -14px rgba(31,42,40,.45); border-color: color-mix(in srgb, var(--forest) 40%, var(--line)); }
.tile:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.tile__img { position: relative; display: block; flex: none; height: 116px; aspect-ratio: auto; background: #d9ddd4; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile__kind, .tile__demo { top: 8px; font-size: .66rem; padding: 4px 7px; }
.tile__kind { left: 8px; }
.tile__demo { right: 8px; }
.tile__body { display: flex; flex-direction: column; gap: 3px; padding: 9px 11px 10px; flex: 1; min-height: 0; justify-content: center; }
.tile__title { display: block; font: 700 1.02rem/1.2 var(--head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile__place { display: block; font-size: .84rem; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile__facts { display: block; font-size: .84rem; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile__facts b { color: var(--ink); font-weight: 700; }
.tile__facts i { font-style: normal; margin: 0 6px; color: var(--ink-3); }
.panel--map .map--home { height: 430px; }
@media (max-width: 1100px) { .panel--pop .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .panel--pop .tiles { grid-template-columns: 1fr; gap: 12px; }
  .tile { flex-direction: column; height: 200px; }
  .tile__img { width: auto; height: 116px; min-height: 0; }
}

/* Fourchette de cotations (sites sans répartition détaillée) */
.grange{margin:.2rem 0 .6rem;font-size:1.02rem}
.grange strong{color:#2f5d4a}

/* =====================================================================
   Maquette v4 (octobre 2026) — en-tête 60 px, bandeau photo compact,
   catégories photo, carte + 6 spots comparables, repères, pied de page
   ===================================================================== */
:root { --top-h: 60px; --terra: #b65a34; --blue4: #2f6688; --violet4: #615a8c; --lv1: #3f8a5f; --lv2: #e0a03a; --lv3: #cf4a3a; }
.wrap4 { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* En-tête */
.top--v4 { background: #fff; }
.top--v4 .top__in { max-width: 1280px; padding: 0 24px; gap: 20px; }
.top--v4 .brand__logo { width: 38px; height: 38px; }
.top--v4 .brand__name { font-size: 1.45rem; }
.top--v4 .brand__tag { font-size: .74rem; }
.top__links { display: flex; gap: 4px; margin: 0 auto; }
.top__links a { padding: 8px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1rem; }
.top__links a:hover { background: var(--sunk); }
.top__act { display: flex; align-items: center; gap: 10px; }
.top__ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; color: var(--ink); }
.top__ico:hover { background: var(--sunk); }
.top__ico .i { width: 22px; height: 22px; }
.top--v4 .top__cta { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 10px; background: #1f2a28; color: #fff; font-weight: 600; text-decoration: none; }
.top--v4 .top__cta:hover { background: var(--forest); }
.top--v4 .top__cta .i { width: 18px; height: 18px; }

/* Bandeau */
.hero4 { position: relative; isolation: isolate; overflow: hidden; height: 300px; background: #8d9a86; display: flex; align-items: center; }
.hero4__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; z-index: -2; }
.hero4::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 60% 75% at 38% 45%, rgba(248,246,240,.72) 0%, rgba(248,246,240,.35) 55%, rgba(248,246,240,0) 80%), linear-gradient(0deg, rgba(20,28,26,.28), rgba(20,28,26,0) 35%); }
.hero4__in { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px 0 18%; }
.hero4__title { font-size: clamp(1.9rem, 3.1vw, 2.75rem); line-height: 1.05; letter-spacing: -.015em; color: #1b2422; margin: 0 0 6px; max-width: 18ch; }
.hero4__sub { margin: 0 0 16px; font-size: 1.05rem; color: #24302e; }
.search4 { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) auto; gap: 14px; align-items: end; max-width: 880px; padding: 14px 16px;
  background: #fff; border-radius: 14px; box-shadow: 0 18px 40px -20px rgba(20,28,26,.55), 0 0 0 1px rgba(20,28,26,.05); color: #1f2a28; }
.search4__lbl { display: block; font: 600 .76rem/1 var(--body); color: #4d5956; margin: 0 0 6px 2px; }
.search4 .where__box { height: 46px; background: #fff; border: 1px solid #d9d6cc; border-radius: 10px; }
.search4 .where__me { height: 36px; background: #fff; }
.search4 .range__f { height: 46px; background: #f2f0ea; border-radius: 10px; }
.search4__go { height: 46px; min-height: 46px; padding: 0 22px; border-radius: 10px; background: #1f2a28; color: #fff; font-weight: 600; }
.search4__go:hover { background: var(--forest); }
.hero4__eg { margin: 8px 0 0 2px; font-size: .84rem; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.55); }
.hero4__eg a { color: #fff; }

/* Catégories */
.cats4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.cat4 { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; gap: 14px; height: 86px; padding: 0 20px; border-radius: 10px; color: #fff; text-decoration: none; }
.cat4__img { position: absolute; right: 0; top: 0; width: 70%; height: 100%; object-fit: cover; z-index: -2; }
.cat4::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--tone) 0%, var(--tone) 34%, color-mix(in srgb, var(--tone) 55%, transparent) 62%, color-mix(in srgb, var(--tone) 10%, transparent) 100%); }
.cat4--green { --tone: #3a7350; } .cat4--terra { --tone: var(--terra); } .cat4--blue { --tone: var(--blue4); } .cat4--violet { --tone: var(--violet4); }
.cat4__ico .i { width: 38px; height: 38px; stroke-width: 1.6; }
.cat4__txt { display: flex; flex-direction: column; gap: 3px; }
.cat4__l { font: 700 1.25rem/1.1 var(--head); text-shadow: 0 1px 3px rgba(0,0,0,.25); }
.cat4__n { font-size: .9rem; opacity: .95; }
.cat4:hover { filter: brightness(1.06); }

/* Carte + spots */
.duo4 { display: grid; grid-template-columns: minmax(0, 37fr) minmax(0, 63fr); gap: 26px; margin-top: 22px; align-items: stretch; }
.head4 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.head4 h2 { margin: 0; font-size: 1.45rem; }
.head4 a { font-size: .88rem; font-weight: 600; color: var(--blue4); text-decoration: none; white-space: nowrap; }
.head4 a:hover { text-decoration: underline; }
.duo4__map { display: flex; flex-direction: column; min-width: 0; }
.map--home4 { flex: 1; min-height: 400px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.duo4__note { margin: 8px 0 0; }
.tiles4 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

/* Vignette */
.tile4 { display: flex; flex-direction: column; height: 200px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); transition: box-shadow .15s, transform .15s; }
.tile4:hover { box-shadow: 0 12px 26px -16px rgba(20,28,26,.55); transform: translateY(-1px); }
.tile4__img { position: relative; flex: none; display: block; height: 64px; background: #cfd5cb; }
.tile4__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile4__kind, .tile4__demo { position: absolute; top: 8px; padding: 4px 8px; border-radius: 999px; font: 700 .64rem/1 var(--body); letter-spacing: .06em; text-transform: uppercase; }
.tile4__kind { left: 8px; background: #fff; color: #1f2a28; }
.tile4__demo { right: 8px; background: rgba(31,42,40,.75); color: #fff; }
.tile4__body { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 8px 12px 9px; }
.tile4__title { font: 700 1.02rem/1.2 var(--head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile4__place { font-size: .8rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile4__facts { font-size: .8rem; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.tile4__facts b { color: var(--ink); }
.tile4__facts i { font-style: normal; margin: 0 5px; color: var(--ink-3); }
.tile4__bars { margin-top: auto; display: grid; gap: 3px; }
.bar4 { display: grid; grid-template-columns: 52px minmax(0, 1fr) 26px; align-items: center; gap: 6px; font-size: .68rem; line-height: 1; }
.bar4__l { color: var(--ink-3); white-space: nowrap; }
.bar4__t { height: 6px; border-radius: 3px; background: #ebe9e2; overflow: hidden; }
.bar4__f { display: block; height: 100%; border-radius: 3px; }
.bar4__f.g1 { background: var(--lv1); } .bar4__f.g2 { background: var(--lv2); } .bar4__f.g3 { background: var(--lv3); }
.bar4__n { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }
.tile4__note { height: 11px; font-size: .64rem; line-height: 11px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile4__bars.is-empty .bar4__n { color: var(--ink-3); }

/* Repères */
.facts4 { margin-top: 34px; background: #ecebe5; border-top: 1px solid var(--line); }
.facts4__in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 22px; padding-bottom: 22px; }
.fact4 { display: flex; gap: 14px; align-items: flex-start; padding: 2px 22px; border-left: 1px solid #d6d3c9; }
.fact4:first-child { border-left: 0; padding-left: 0; }
.fact4 > .i { flex: none; width: 30px; height: 30px; color: var(--forest); }
.fact4 strong { display: block; font: 700 1rem/1.25 var(--head); }
.fact4 span { display: block; font-size: .86rem; color: var(--ink-2); margin-top: 2px; }
.facts4 + * { }

/* Pied de page */
.foot--v4 { margin-top: 0; padding-top: 28px; background: var(--surface); }
.foot--v4 .foot__in { max-width: 1280px; padding: 0 24px; grid-template-columns: 1.6fr 1fr 1fr 1fr; }
.foot--v4 .foot__about p { font-size: .86rem; color: var(--ink-2); }
.foot--v4 .foot__end { max-width: 1280px; padding: 14px 24px 20px; margin-top: 20px; font-size: .8rem; }
.pin { background: #d98a2b; }

@media (prefers-color-scheme: dark) {
  .top--v4 { background: var(--surface); }
  .top--v4 .top__cta { background: var(--forest); }
  .facts4 { background: var(--sunk); }
  .fact4 { border-color: var(--line); }
  .bar4__t { background: var(--sunk); }
}

/* Tablette */
@media (max-width: 1100px) {
  .top__links a { padding: 8px 9px; font-size: .95rem; }
  .hero4__in { padding-left: 24px; }
  .duo4 { grid-template-columns: 1fr; }
  .map--home4 { min-height: 340px; }
  .cats4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts4__in { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 0; }
  .fact4:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 860px) {
  .top__links { display: none; }
  .search4 { grid-template-columns: 1fr 1fr; }
  .search4__where { grid-column: 1 / -1; }
}
/* Mobile */
@media (max-width: 640px) {
  .wrap4, .top--v4 .top__in { padding: 0 16px; }
  .top--v4 .brand__tag { display: none; }
  .top--v4 .top__cta span { display: none; }
  .top--v4 .top__cta { width: 42px; padding: 0; justify-content: center; }
  .hero4 { height: auto; padding: 22px 0 18px; }
  .hero4::before { background: linear-gradient(180deg, rgba(248,246,240,.8), rgba(248,246,240,.55) 60%, rgba(20,28,26,.25)); }
  .hero4__in { padding: 0 16px; }
  .hero4__title { font-size: 1.75rem; }
  .hero4__sub { font-size: .98rem; margin-bottom: 12px; }
  .search4 { grid-template-columns: 1fr; gap: 10px; padding: 12px; }
  .search4__go { width: 100%; height: 48px; }
  .hero4__eg { display: none; }
  .cats4 { gap: 10px; margin-top: 12px; }
  .cat4 { height: 70px; padding: 0 12px; gap: 10px; }
  .cat4__ico .i { width: 28px; height: 28px; }
  .cat4__l { font-size: 1.05rem; }
  .cat4__n { font-size: .8rem; }
  .head4 h2 { font-size: 1.25rem; }
  .map--home4 { min-height: 300px; }
  .tiles4 { grid-template-columns: 1fr; gap: 10px; }
  .facts4__in { grid-template-columns: 1fr; gap: 14px; }
  .fact4 { border-left: 0; padding: 0; }
  .foot--v4 .foot__in { grid-template-columns: 1fr 1fr; padding: 0 16px; }
  .foot--v4 .foot__about { grid-column: 1 / -1; }
  .foot--v4 .foot__end { flex-direction: column; padding: 12px 16px 18px; }
}
@media (min-width: 641px) and (max-width: 1100px) { .tiles4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 641px) and (max-width: 820px) { .tiles4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Vignettes : barres pleines (v5) */
.tile4__bars { gap: 4px; }
.bar4 { grid-template-columns: 54px minmax(0, 1fr) 28px; font-size: .7rem; }
.bar4__t { height: 8px; border-radius: 4px; }
.bar4__f { border-radius: 4px; }
.bar4__n { font-weight: 600; }
.tile4__nodist { margin-top: auto; height: 58px; display: flex; align-items: center; justify-content: center; gap: 7px; border-radius: 8px;
  background: var(--sunk); color: var(--ink-2); font-size: .8rem; font-weight: 500; }
.tile4__nodist .i { width: 16px; height: 16px; color: var(--ink-3); }
