/* ==========================================================================
   Rues de Lyon — feuille de style principale
   Palette : terracotta des toits, ocre des façades, Saône vert-de-gris
   ========================================================================== */

@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --paper: #faf6f0;
  --paper-2: #f3ece2;
  --card: #ffffff;
  --ink: #221c18;
  --ink-2: #4a413a;
  --muted: #7a6f65;
  --line: #e6dccf;
  --accent: #c4532d;
  --accent-ink: #9c3d1d;
  --ochre: #d99a3c;
  --saone: #2f5d62;
  --c: var(--accent);
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(34, 28, 24, .05), 0 8px 24px -12px rgba(34, 28, 24, .18);
  --shadow-lg: 0 2px 4px rgba(34, 28, 24, .06), 0 24px 48px -20px rgba(34, 28, 24, .35);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.65 var(--sans); font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: .18em; }
a:hover { color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; font-optical-sizing: auto; }
p { margin: 0 0 1em; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.hp { position: absolute !important; left: -9999px !important; }
.eyebrow { font: 600 12.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }

/* ---------- Boutons, pastilles ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 11px 20px; background: var(--ink); color: #fff; font: 600 15px/1 var(--sans); cursor: pointer; text-decoration: none; transition: transform .15s, background .15s; }
.btn:hover { background: var(--accent); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: var(--card); color: var(--accent-ink); box-shadow: inset 0 0 0 1.5px var(--accent); }
.btn:disabled { opacity: .5; cursor: wait; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1.5px solid var(--line); font: 500 14px/1 var(--sans); color: var(--ink-2); text-decoration: none; cursor: pointer; transition: border-color .15s, background .15s, color .15s; white-space: nowrap; }
.chip:hover { border-color: var(--c, var(--accent)); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip span { color: var(--muted); font-size: 12.5px; }
.chip.is-active span { color: rgba(255, 255, 255, .7); }
.chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px #fff; }
.pill { display: inline-block; font: 600 11.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--c, var(--accent)); background: color-mix(in srgb, var(--c, var(--accent)) 12%, transparent); padding: 6px 9px; border-radius: 6px; text-decoration: none; }
.pill-small { font-size: 10px; padding: 4px 6px; }
.pill-outline { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink-2); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent-ink); text-decoration: none; }
.link-arrow .icon { transition: transform .2s; }
a:hover .link-arrow .icon, .link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); flex: none; }
.brand-mark { width: 38px; height: 38px; color: var(--accent); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font: 650 21px/1 var(--serif); letter-spacing: -.02em; }
.brand-tag { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.main-nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav-list a { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: 8px; font: 500 15px/1 var(--sans); text-decoration: none; color: var(--ink-2); }
.nav-list a:hover { background: var(--paper-2); color: var(--ink); }
.nav-list .current-menu-item > a { color: var(--accent-ink); background: color-mix(in srgb, var(--accent) 9%, transparent); }
.header-actions { display: flex; gap: 4px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; min-width: 40px; padding: 0 10px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer; text-decoration: none; }
.icon-btn:hover { background: var(--paper-2); color: var(--accent-ink); }
.icon-btn .icon { width: 21px; height: 21px; }
.kbd { font: 600 11px/1 var(--sans); border: 1px solid var(--line); border-radius: 5px; padding: 3px 6px; color: var(--muted); }
.nav-toggle { display: none; }

/* ---------- Recherche ---------- */
.search-overlay { position: fixed; inset: 0; z-index: 80; background: rgba(34, 28, 24, .45); backdrop-filter: blur(4px); display: flex; justify-content: center; align-items: flex-start; padding: 12vh 16px 16px; }
.search-overlay[hidden] { display: none; }
.search-panel { width: 100%; max-width: 680px; background: var(--card); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 10px; position: relative; }
.search-panel .suggest { position: static; box-shadow: none; border: 0; padding: 0; margin-top: 6px; }
.search-hint { font-size: 13px; color: var(--muted); margin: 8px 12px 6px; }
.search-form { position: relative; display: flex; align-items: center; gap: 10px; background: var(--card); border-radius: 999px; padding: 6px 6px 6px 20px; box-shadow: inset 0 0 0 1.5px var(--line); }
.search-form:focus-within { box-shadow: inset 0 0 0 2px var(--accent); }
.search-form > .icon { color: var(--muted); width: 20px; height: 20px; }
.search-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 400 17px/1.4 var(--sans); color: var(--ink); padding: 10px 0; }
.search-form input::-webkit-search-cancel-button { display: none; }
.search-form.big { box-shadow: none; border-radius: 12px; }
.search-form.big input { font-size: 20px; }
.suggest { list-style: none; margin: 0; padding: 6px; position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 30; background: var(--card); border-radius: 14px; box-shadow: var(--shadow-lg); display: none; text-align: left; }
.suggest.is-open { display: block; }
.suggest li a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; text-decoration: none; }
.suggest li a:hover, .suggest li.is-active a { background: var(--paper-2); }
.suggest img, .suggest .ph { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: var(--paper-2); flex: none; }
.suggest strong { display: block; font-weight: 600; line-height: 1.25; }
.suggest small { color: var(--muted); font-size: 13px; }
.suggest-all button { width: 100%; text-align: left; border: 0; background: none; padding: 10px; color: var(--accent-ink); font: 500 14px/1.3 var(--sans); cursor: pointer; border-top: 1px solid var(--line); margin-top: 4px; }

/* ---------- Accueil : héros ---------- */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); align-items: center; max-width: 1440px; margin: 0 auto; padding: clamp(24px, 4vw, 56px) var(--gutter) clamp(32px, 5vw, 72px); }
.hero-content { grid-column: 1; grid-row: 1; }
.hero-mosaic { grid-column: 2; grid-row: 1; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(6, minmax(0, 1fr)); gap: 10px; aspect-ratio: 1 / 1; max-height: 640px; }
.tile { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); box-shadow: var(--shadow); animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.tile:hover img { transform: scale(1.06); }
.tile-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 12px 10px; font: 600 13.5px/1.25 var(--sans); color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .6)); opacity: 0; transform: translateY(6px); transition: .25s; }
.tile:hover .tile-caption, .tile-1 .tile-caption { opacity: 1; transform: none; }
.tile-1 { grid-column: 1 / 5; grid-row: 1 / 5; }
.tile-2 { grid-column: 5 / 7; grid-row: 1 / 3; animation-delay: .08s; }
.tile-3 { grid-column: 5 / 7; grid-row: 3 / 5; animation-delay: .16s; }
.tile-4 { grid-column: 1 / 3; grid-row: 5 / 7; animation-delay: .24s; }
.tile-5 { grid-column: 3 / 7; grid-row: 5 / 7; animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.hero-title { font-size: clamp(34px, 4.6vw, 60px); font-weight: 560; line-height: 1.05; letter-spacing: -.025em; margin-bottom: 18px; }
.hero-title em { font-style: italic; font-weight: 400; color: var(--accent); }
.hero-title .num { font-variant-numeric: lining-nums; color: var(--accent); }
.hero-lead { font-size: clamp(16px, 1.4vw, 18.5px); color: var(--ink-2); max-width: 36em; margin-bottom: 26px; }
.hero-search { box-shadow: var(--shadow), inset 0 0 0 1.5px var(--line); max-width: 560px; }
.hero-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

/* ---------- Sections ---------- */
.section { padding: clamp(40px, 6vw, 80px) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 26px; flex-wrap: wrap; }
.section-title { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 6px; }
.section-lead { color: var(--ink-2); margin: 0; }
.families { padding-top: 0; }
.family-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 12px; }
.family { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 150px; padding: 14px; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: #fff; background: var(--c); isolation: isolate; box-shadow: var(--shadow); }
.family img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.family::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 10%, transparent) 20%, color-mix(in srgb, var(--c) 92%, #000) 100%); }
.family:hover { color: #fff; }
.family:hover img { transform: scale(1.07); }
.family-count { font: 600 28px/1 var(--serif); }
.family-name { font: 600 15px/1.2 var(--sans); margin-top: 4px; }

.map .leaflet-tile-pane { filter: saturate(.75) sepia(.12) brightness(1.02); }
.map { border-radius: var(--radius); overflow: hidden; background: #e8e2d8; z-index: 0; }
.map-home { height: min(70vh, 620px); box-shadow: var(--shadow); }
.map-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.map-filters .chip.is-active { background: var(--card); color: var(--ink); border-color: var(--c); }
.map-filters .chip:not(.is-active) { opacity: .55; }
.map-filters .chip:not(.is-active) i { background: #c9c0b5; }
.cluster { background: var(--ink); color: #fff; border-radius: 50%; display: flex !important; align-items: center; justify-content: center; font: 700 13px/1 var(--sans); box-shadow: 0 0 0 5px rgba(34, 28, 24, .18); }
.cluster span { line-height: 1; }
.pin span { display: block; width: 30px; height: 30px; margin-top: 2px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--c); border: 3px solid #fff; box-shadow: 0 4px 10px rgba(0, 0, 0, .3); }
.leaflet-popup-content-wrapper { border-radius: 12px; padding: 0; overflow: hidden; }
.leaflet-popup-content { margin: 0; width: 240px !important; }
.pop { display: block; text-decoration: none; color: var(--ink); font-family: var(--sans); }
.pop.is-loading { height: 80px; background: linear-gradient(90deg, var(--paper-2), #fff, var(--paper-2)); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
.pop img { width: 100%; height: 130px; object-fit: cover; }
.pop-type { display: block; padding: 10px 14px 0; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.pop strong { display: block; padding: 2px 14px 0; font: 600 17px/1.25 var(--serif); }
.pop-more { display: block; padding: 6px 14px 12px; font-size: 13px; color: var(--accent-ink); }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Cartes de fiches ---------- */
.grid.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(14px, 2vw, 24px); }
.grid.cards.is-loading { opacity: .5; transition: opacity .2s; }
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.card-link:hover { color: inherit; }
.card-media { position: relative; aspect-ratio: 16 / 11; background: var(--paper-2); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card-media img { transform: scale(1.05); }
.card-noimg { display: flex; align-items: center; justify-content: center; height: 100%; color: #cfc4b6; }
.card-noimg .icon { width: 42px; height: 42px; }
.card-count { position: absolute; right: 10px; bottom: 10px; display: inline-flex; gap: 5px; align-items: center; padding: 5px 8px; border-radius: 7px; background: rgba(0, 0, 0, .55); color: #fff; font: 600 12px/1 var(--sans); backdrop-filter: blur(4px); }
.card-count .icon { width: 14px; height: 14px; }
.card-body { padding: 16px 18px 18px; }
.card-title { font-size: 20px; margin: 10px 0 6px; }
.card-excerpt { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cards-4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important; }

/* Dédicaces */
.names { background: var(--paper-2); }
.names-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.name-card { display: flex; gap: 16px; align-items: flex-start; background: var(--card); padding: 18px; border-radius: var(--radius); text-decoration: none; box-shadow: var(--shadow); color: inherit; }
.name-card:hover { color: inherit; box-shadow: var(--shadow-lg); }
.name-card img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; flex: none; }
.name-card h3 { font-size: 19px; margin-bottom: 6px; }
.name-card p { font: italic 400 16px/1.5 var(--serif); color: var(--ink-2); margin-bottom: 8px; }

/* Avis (accueil) */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.quote-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); text-decoration: none; color: inherit; border-top: 4px solid var(--ochre); }
.quote-card:hover { color: inherit; box-shadow: var(--shadow-lg); }
.quote-place { font: 600 12px/1 var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.quote-card p { font: 400 16.5px/1.5 var(--serif); margin: 0; flex: 1; }
.quote-meta { font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.stars { color: #d8cfc4; letter-spacing: 1px; font-size: 14px; }
.stars .on { color: var(--ochre); }

/* Index A–Z */
.az-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; margin-top: 20px; }
.az-grid > * { display: flex; flex-direction: column; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: 12px; background: var(--card); text-decoration: none; box-shadow: var(--shadow); }
.az-grid strong { font: 600 26px/1 var(--serif); }
.az-grid span { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.az-grid a:hover { background: var(--accent); color: #fff; }
.az-grid a:hover span { color: rgba(255, 255, 255, .8); }
.az-grid .is-off { opacity: .35; box-shadow: none; background: transparent; }

/* ---------- Fiche ---------- */
.lieu-head { padding: clamp(18px, 3vw, 36px) 0 clamp(20px, 3vw, 32px); background: linear-gradient(180deg, color-mix(in srgb, var(--c) 7%, var(--paper)) 0%, var(--paper) 100%); }
.lieu-head-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0 0 18px; font-size: 13.5px; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 4px; }
.crumbs a { text-decoration: none; }
.lieu-title { font-size: clamp(36px, 5.2vw, 64px); font-weight: 560; letter-spacing: -.025em; margin: 14px 0 10px; }
.lieu-sub { font: italic 400 20px/1.4 var(--serif); color: var(--ink-2); margin-bottom: 14px; }
.lieu-lead { font-size: 18.5px; line-height: 1.6; color: var(--ink-2); max-width: 34em; }
.lieu-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 18px 0 0; font-size: 14.5px; color: var(--muted); }
.lieu-meta li { display: flex; align-items: center; gap: 7px; }
.lieu-meta .icon { color: var(--c); }
.lieu-cover { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; background: var(--paper-2); cursor: zoom-in; }
.lieu-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.lieu-cover:hover img { transform: scale(1.03); }

.gallery { margin-top: 4px; }
.gallery-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.gallery-grid a { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; background: var(--paper-2); cursor: zoom-in; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, filter .3s; }
.gallery-grid a:hover img { transform: scale(1.06); }
.gallery-grid .is-extra { display: none; }
.gallery-grid .more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(34, 28, 24, .55); color: #fff; font: 600 26px/1 var(--serif); }

.lieu-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 64px); margin-top: clamp(28px, 4vw, 48px); align-items: start; }
.lieu-aside { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 16px; }
.aside-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.aside-card > .aside-title, .aside-card > p { padding: 0 18px; }
.aside-title { font: 600 12.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 18px 0 10px; }
.map-single { height: 260px; border-radius: 0; }
.aside-actions { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.aside-actions a { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 12px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink-2); }
.aside-actions a + a { border-left: 1px solid var(--line); }
.aside-actions a:hover { background: var(--paper); color: var(--accent-ink); }
.nearby { list-style: none; margin: 0; padding: 0 8px 10px; }
.nearby a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; text-decoration: none; }
.nearby a:hover { background: var(--paper); }
.nearby img, .nearby .ph { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; background: var(--paper-2); flex: none; }
.nearby strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.25; }
.nearby small { color: var(--muted); font-size: 13px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 18px !important; }

.toc { position: sticky; top: var(--header-h); z-index: 5; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 10px 0; margin-bottom: 18px; background: var(--paper); border-bottom: 1px solid var(--line); }
.toc::-webkit-scrollbar { display: none; }
.toc a { display: inline-flex; align-items: center; gap: 7px; flex: none; padding: 8px 12px; border-radius: 999px; font: 500 14px/1 var(--sans); color: var(--ink-2); text-decoration: none; }
.toc a:hover { background: var(--paper-2); }
.toc a.is-active { background: var(--ink); color: #fff; }
.toc .icon { width: 17px; height: 17px; }

.prose { font-size: 18px; line-height: 1.72; color: var(--ink); }
.prose ul { list-style: none; padding: 0; margin: 0 0 1.2em; }
.prose ul > li { position: relative; padding-left: 26px; margin-bottom: .75em; }
.prose ul > li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; border-radius: 2px; background: var(--c); transform: rotate(45deg); opacity: .8; }
.prose ol { padding-left: 1.4em; }
.prose a { color: var(--accent-ink); text-decoration-thickness: 1px; }
.prose h3 { font-size: 22px; margin-top: 1.4em; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; margin-bottom: 1.2em; }
.prose td, .prose th { border: 1px solid var(--line); padding: 6px 10px; }
.intro { margin-bottom: 2em; }
.sec { padding: 8px 0 18px; }
.sec + .sec { border-top: 1px solid var(--line); padding-top: 28px; }
.sec-title { display: flex; align-items: center; gap: 14px; font-size: clamp(26px, 2.6vw, 32px); margin-bottom: 18px; }
.sec-icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: color-mix(in srgb, var(--c) 12%, transparent); color: var(--c); flex: none; }
.sec-icon .icon { width: 24px; height: 24px; }
.visites { display: flex; align-items: center; gap: 10px; font: italic 400 16px/1.4 var(--serif); color: var(--muted); border-top: 1px solid var(--line); padding-top: 20px; margin-top: 10px; }

.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 36px 0; }
.prevnext a { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); text-decoration: none; }
.prevnext .next { text-align: right; grid-column: 2; }
.prevnext span { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.prevnext .next span { justify-content: flex-end; }
.prevnext strong { font: 600 18px/1.25 var(--serif); }

/* Avis */
.reviews { margin-top: 24px; padding-top: 28px; border-top: 1px solid var(--line); }
.reviews-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.avg { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 600; }
.avg .stars { font-size: 18px; }
.review-list, .review-list .children { list-style: none; margin: 0; padding: 0; }
.review-list .children { margin-left: clamp(16px, 4vw, 48px); }
.review { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; margin-bottom: 14px; }
.review.is-author { border-left: 4px solid var(--c); }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.review-head > div { flex: 1; line-height: 1.3; }
.review-head time { display: block; font-size: 13px; color: var(--muted); }
.avatar-letter { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--c) 15%, var(--paper)); color: var(--c); font: 600 18px/1 var(--serif); flex: none; }
.review-title { font-weight: 600; margin: 0 0 4px; }
.review-body p { margin-bottom: .6em; }
.review-pending { font-size: 14px; color: var(--accent-ink); }
.comment-reply-link { font-size: 14px; font-weight: 600; color: var(--accent-ink); text-decoration: none; }
.comment-respond { background: var(--paper-2); border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); margin-top: 20px; }
.comment-reply-title { font-size: 24px; }
.comment-reply-title small { font-family: var(--sans); font-size: 14px; margin-left: 8px; }
.review-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.review-form > p { grid-column: 1 / -1; margin-bottom: 14px; }
.review-form .comment-form-author, .review-form .comment-form-email { grid-column: auto; }
.review-form label, .comment-form-rating .label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.review-form input[type=text], .review-form input[type=email], .review-form textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font: 400 16px/1.4 var(--sans); background: var(--card); color: var(--ink); }
.review-form input:focus, .review-form textarea:focus { outline: 0; border-color: var(--accent); }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.comment-form-cookies-consent label { font-weight: 400; }
.rating-input { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.rating-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating-input label { font-size: 30px; line-height: 1; color: #d8cfc4; cursor: pointer; margin: 0; transition: color .1s, transform .1s; }
.rating-input label:hover, .rating-input label:hover ~ label, .rating-input input:checked ~ label { color: var(--ochre); }
.rating-input input:focus-visible + label { outline: 2px solid var(--ochre); border-radius: 4px; }
.form-submit .submit { border: 0; border-radius: 999px; padding: 13px 24px; background: var(--ink); color: #fff; font: 600 15px/1 var(--sans); cursor: pointer; }
.form-submit .submit:hover { background: var(--accent); }

/* ---------- Listes ---------- */
.list-head { padding: clamp(20px, 3vw, 36px) 0 8px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 7%, var(--paper)) 0%, var(--paper) 100%); }
.page-title { font-size: clamp(34px, 4.6vw, 56px); font-weight: 560; letter-spacing: -.02em; margin-bottom: 6px; }
.title-letter { color: var(--c); }
.list-count { color: var(--muted); margin-bottom: 14px; }
.list-desc { max-width: 760px; font-size: 17px; }
.subtypes { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 8px; }
.list-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.letters { display: flex; flex-wrap: wrap; gap: 2px; }
.letters a, .letters span { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; padding: 0 6px; border-radius: 8px; font: 600 14px/1 var(--sans); text-decoration: none; color: var(--ink-2); }
.letters a:hover { background: var(--card); color: var(--accent-ink); }
.letters a.is-active { background: var(--ink); color: #fff; }
.letters .is-off { color: #cfc5ba; }
.view-toggle { display: inline-flex; background: var(--paper-2); border-radius: 999px; padding: 4px; }
.view-toggle button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; padding: 8px 14px; border-radius: 999px; font: 600 14px/1 var(--sans); color: var(--ink-2); cursor: pointer; }
.view-toggle button.is-active { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.list-body { padding-top: 22px; padding-bottom: 60px; }
.map-list { height: min(75vh, 700px); box-shadow: var(--shadow); }
.inline-search { max-width: 620px; margin-top: 10px; }
.empty { padding: 40px 0; font-size: 18px; color: var(--ink-2); }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 40px 0 0; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 10px; background: var(--card); box-shadow: var(--shadow); font-weight: 600; text-decoration: none; font-size: 15px; }
.pagination .current { background: var(--ink); color: #fff; }
.pagination .dots { background: transparent; box-shadow: none; }

/* ---------- Pages ---------- */
.page-article { padding-top: clamp(28px, 4vw, 56px); padding-bottom: 60px; }
.page-head { margin-bottom: 20px; }
.notfound { padding: 80px var(--gutter); }
.notfound .search-form { margin: 18px 0 24px; }

/* Carte plein écran */
.fullmap { position: relative; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); }
.fullmap-bar { position: absolute; z-index: 500; top: 14px; left: 60px; right: 14px; display: flex; gap: 10px 14px; align-items: center; flex-wrap: wrap; pointer-events: none; }
.fullmap-bar > * { pointer-events: auto; }
.fullmap-title { font-size: 20px; margin: 0; background: var(--card); padding: 10px 16px; border-radius: 12px; box-shadow: var(--shadow); }
.fullmap .map-filters { margin: 0; }
.fullmap .chip { box-shadow: var(--shadow); }
.map-find { border: 0; border-radius: 999px; padding: 10px 16px; font: 400 15px/1 var(--sans); box-shadow: var(--shadow); min-width: 220px; }
.map-full { position: absolute; inset: 0; border-radius: 0; }
.page-template-page-carte .site-footer, body.rdl-carte .site-footer { display: none; }

/* ---------- Visionneuse ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(18, 14, 12, .94); display: none; align-items: center; justify-content: center; }
.lightbox.is-open { display: flex; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 92vw; max-height: 92vh; }
.lightbox img { max-width: 92vw; max-height: 84vh; object-fit: contain; border-radius: 6px; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.lightbox figcaption { color: rgba(255, 255, 255, .8); font-size: 14px; text-align: center; }
.lightbox button { position: absolute; border: 0; background: rgba(255, 255, 255, .1); color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 32px; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .22); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
body.lb-open, body.search-open { overflow: hidden; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: #d9cfc4; margin-top: 40px; font-size: 15px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #f3c98b; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.footer-brand { font: 600 26px/1 var(--serif); color: #fff; margin-bottom: 14px; }
.footer-title { font: 600 12.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #a89a8c; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer .muted { color: #8f8275; font-size: 13px; }
.site-footer .link-arrow { color: #f3c98b; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; color: #a89a8c; }
.footer-bottom p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-list a { padding: 9px 9px; font-size: 14.5px; }
  .brand-tag { display: none; }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .kbd { display: none; }
  .main-nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: var(--paper); padding: 16px var(--gutter); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; overflow-y: auto; }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  body.nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; }
  .nav-list a { font-size: 20px; padding: 14px 8px; font-family: var(--serif); border-bottom: 1px solid var(--line); border-radius: 0; }
  .header-actions { margin-left: auto; }
  .hero { grid-template-columns: 1fr; }
  .hero-content, .hero-mosaic { grid-column: 1; }
  .hero-mosaic { grid-row: 2; aspect-ratio: 3 / 2; max-height: none; }
  .lieu-head-grid { grid-template-columns: 1fr; }
  .lieu-cover { order: -1; aspect-ratio: 16 / 10; }
  .lieu-layout { grid-template-columns: 1fr; }
  .lieu-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .fullmap-bar { left: 56px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .prose { font-size: 17px; }
  .hero-mosaic { gap: 6px; }
  .tile-4, .tile-5 { display: none; }
  .hero-mosaic { grid-template-rows: repeat(4, minmax(0, 1fr)); aspect-ratio: 4 / 3; }
  .hero-search { flex-wrap: nowrap; }
  .hero-search .btn { display: none; }
  .grid.cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card-body { padding: 10px 12px 14px; }
  .card-title { font-size: 16.5px; margin-top: 8px; }
  .card-excerpt { display: none; }
  .pill { font-size: 10px; padding: 5px 7px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 4px; }
  .gallery-grid a:nth-child(n+7) { display: none; }
  .prevnext { grid-template-columns: 1fr; }
  .prevnext .next { grid-column: 1; }
  .review-form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-head .btn { width: 100%; justify-content: center; }
  .fullmap-bar { top: 10px; left: 52px; right: 10px; }
  .fullmap-title { display: none; }
  .fullmap .map-filters { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 4px; }
  .map-find { width: 100%; }
  .map-home { height: 65vh; }
  .sec-icon { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .lieu-aside, .toc, .gallery, .reviews, .prevnext { display: none !important; }
  .lieu-layout { display: block; }
}

/* Correctifs de grille */
.lieu-body, .lieu-aside, .hero-content, .lieu-head-text { min-width: 0; }
.lieu-head-grid.no-cover { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
.prose { overflow-wrap: break-word; }
.map-filters .chip.is-active span { color: var(--muted); }
.prose .cmplz-document ul, .prose ul.cmplz-list { list-style: none; padding-left: 0; }
.page-article .prose h2 { font-size: clamp(22px, 2.2vw, 27px); margin-top: 1.6em; }

/* Auteur et dates de la fiche */
.fiche-credits { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 10px; }
.fiche-credits .visites { border-top: 0; padding-top: 0; margin: 0 0 8px; }
.credits { font-size: 14.5px; color: var(--muted); margin: 0; }
.credits strong { color: var(--ink-2); font-weight: 600; }
.lieu-meta .byline strong { color: var(--ink-2); font-weight: 600; }

/* Bouton présenté comme un lien (pied de page) */
.footer-link { appearance: none; background: none; border: 0; padding: 0; margin: 0; font: inherit; color: #fff; cursor: pointer; text-align: left; }
.footer-link:hover { color: #f3c98b; }

/* Emplacements en attente du tirage au sort (accueil) */
.card-skeleton { box-shadow: var(--shadow); pointer-events: none; }
.card-skeleton .card-media, .card-skeleton .card-body span { background: linear-gradient(90deg, var(--paper-2), #fff, var(--paper-2)); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
.card-skeleton .card-body span { display: block; height: 14px; border-radius: 6px; margin: 10px 0; }
.card-skeleton .card-body span + span { width: 60%; }
.grid.cards noscript { display: contents; }
.hero-mosaic .tile.is-pool { display: none; }

/* Texte réservé aux lecteurs d'écran (classe standard WordPress, utilisée aussi par Complianz) */
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { background: var(--card); clip: auto !important; clip-path: none; display: block; height: auto; left: 8px; top: 8px; padding: 12px 18px; width: auto; z-index: 100000; box-shadow: var(--shadow-lg); }

/* Documents Complianz (politique de cookies) : pas de coupure de mots dans les grilles, une seule puce */
#cmplz-document .cmplz-service-header, #cmplz-document .cookies-per-purpose { overflow-wrap: normal; }
#cmplz-document ul { list-style: none; padding-left: 0; }
