:root {
  --pin-deep: #223A2E;
  --pin: #3C5943;
  --pin-soft: #7C9184;
  --sable: #ECE1CB;
  --sable-clair: #F8F3E7;
  --ocre: #C99A4A;
  --terracotta: #BE5B3B;
  --terracotta-deep: #96432A;
  --encre: #26302A;
  --blanc: #FFFDF8;

  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Karla', -apple-system, sans-serif;

  /* Alias tokens pour le mode sombre : certaines couleurs de marque servent à
     la fois de fond d'accent fixe (hero, footer, tags…) et de couleur de
     texte/titre sur les cartes claires. Un simple remplacement des variables
     de marque casserait le premier rôle ; ces alias isolent le second rôle,
     seul à devoir changer entre les deux thèmes. */
  --ink: 38, 48, 42;
  --surface: var(--blanc);
  --surface-soft: var(--sable);
  --heading: var(--pin-deep);
  --heading-soft: var(--pin);
}

:root[data-theme="dark"] {
  --sable-clair: #1B211C;
  --encre: #E9E4D6;
  --surface: #232B24;
  --surface-soft: #2B342C;
  --heading: #E7B79A;
  --heading-soft: #A9C2AC;
  --ink: 233, 228, 214;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--sable-clair);
  color: var(--encre);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--terracotta);
  color: var(--blanc);
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 2px;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.4em;
}

p { max-width: 62ch; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* petit trait ondulé, motif littoral, utilisé comme séparateur discret */
.wave-divider {
  display: block;
  width: 100%;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' preserveAspectRatio='none'%3E%3Cpath d='M0 7c6-6 12-6 18 0s12 6 18 0 12-6 18 0 12 6 18 0 12-6 18 0 12 6 18 0 12-6 18 0' fill='none' stroke='%23BE5B3B' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 60px 14px;
  opacity: 0.55;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--surface);
  border-bottom: 1px solid rgba(var(--ink),0.08);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--heading);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}

a.brand:hover, a.brand:focus-visible { color: var(--terracotta); }

.brand .paw { width: 24px; height: 24px; color: var(--terracotta); flex-shrink: 0; transition: transform 0.15s ease; }
a.brand:hover .paw { transform: rotate(-8deg) scale(1.08); }

.header-actions { display: flex; align-items: center; gap: 18px; }

.site-nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; font-size: 0.95rem; font-weight: 600; }
.site-nav a { text-decoration: none; color: var(--encre); border-bottom: 2px solid transparent; padding-bottom: 2px; }
.site-nav a:hover { border-color: var(--ocre); }

.nav-cat-link { display: inline-flex; align-items: center; gap: 7px; }
.nav-icon { color: var(--terracotta); flex-shrink: 0; }
.nav-mobile-only { display: none; }

.nav-social { display: flex; align-items: center; color: var(--terracotta); flex-shrink: 0; }
.nav-social:hover { color: var(--terracotta-deep); }

.lang-switch {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: 1.5px solid var(--terracotta);
  border-radius: 999px;
  padding: 3px 9px;
  line-height: 1.3;
}
.lang-switch:hover { background: var(--terracotta); color: #fff; }
.lang-hint { font-size: 0.8em; opacity: 0.6; font-weight: 400; }
.lang-switch-inline { color: var(--terracotta); font-weight: 700; }

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--heading-soft);
  padding: 4px;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
  flex-shrink: 0;
}
.theme-toggle:hover { color: var(--terracotta); }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--terracotta);
  color: var(--blanc);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.back-to-top:hover { background: var(--terracotta-deep); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--heading);
  padding: 6px;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
}

/* ---------- Hero ---------- */

.hero { position: relative; background: var(--pin-deep); color: var(--blanc); overflow: hidden; }

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 56px;
}

.hero-text .kicker {
  font-family: var(--sans);
  color: var(--ocre);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  display: block;
}

.hero-text h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); color: var(--blanc); }
.hero-text p { font-size: 1.1rem; color: rgba(255,253,248,0.85); margin-top: 18px; }

.hero-photo {
  position: relative;
  border-radius: 10px 10px 4px 10px;
  overflow: hidden;
  border: 6px solid var(--blanc);
  transform: rotate(-2deg);
  box-shadow: 0 20px 44px rgba(15,25,20,0.4);
}

.hero-photo img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; }

.hero-photo figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(20,32,26,0.85), transparent);
  color: var(--blanc);
  font-family: var(--serif);
  font-style: italic;
  padding: 30px 16px 12px;
  font-size: 1rem;
}

.search-wrap { position: relative; max-width: 460px; margin-top: 30px; }

.search-bar {
  display: flex;
  background: var(--surface);
  border-radius: 999px;
  padding: 6px 6px 6px 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.22);
}
.search-bar input { flex: 1; border: none; background: transparent; font-family: var(--sans); font-size: 1rem; color: var(--encre); outline: none; min-height: 44px; }
.search-bar button {
  background: var(--terracotta);
  color: var(--blanc);
  border: none;
  border-radius: 999px;
  padding: 10px 20px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.95rem;
  min-height: 44px;
  cursor: pointer;
}
.search-bar button:hover { background: var(--terracotta-deep); }

.search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--surface);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.28);
  overflow-y: auto;
  max-height: 360px;
  z-index: 20;
}
.search-results a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 20px;
  text-decoration: none;
  color: var(--encre);
  border-bottom: 1px solid rgba(var(--ink),0.08);
}
.search-results a:last-child { border-bottom: none; }
.search-results a:hover { background: rgba(190,91,59,0.08); }
.search-results .sr-title { font-weight: 700; font-size: 0.95rem; }
.search-results .sr-meta { font-size: 0.78rem; color: rgba(var(--ink),0.6); }
.search-results .sr-empty { padding: 14px 20px; color: rgba(var(--ink),0.6); font-size: 0.9rem; }

.share-site { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.share-site-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,253,248,0.14);
  color: var(--blanc);
  border: 1px solid rgba(255,253,248,0.35);
  border-radius: 999px;
  padding: 8px 16px;
  min-height: 44px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  font-family: var(--sans);
}
.share-site-btn:hover { background: rgba(255,253,248,0.24); }
.share-site-btn-ghost { background: transparent; }
.copy-link-status { font-size: 0.85rem; color: var(--ocre); font-weight: 600; }

/* ---------- Categories ---------- */

.categories { padding-top: 56px; padding-bottom: 20px; }
.section-head { max-width: 60ch; margin-bottom: 32px; }
.section-head .eyebrow { color: var(--terracotta); font-weight: 700; font-size: 0.95rem; }
.section-head h2 { font-size: 2rem; color: var(--heading); }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }

.cat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--encre);
  background: var(--surface);
  border: 1px solid rgba(var(--ink),0.1);
  border-left: 3px solid var(--terracotta);
  border-radius: 6px;
  padding: 18px 20px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.cat-card:hover { transform: translateX(2px); border-left-color: var(--heading-soft); }
.cat-card .icon { width: 24px; height: 24px; color: var(--heading-soft); flex-shrink: 0; stroke-width: 1.6; }
.cat-card h3 { font-size: 1.05rem; margin-bottom: 2px; }
.cat-card span.count { font-size: 0.85rem; color: rgba(var(--ink),0.6); }

.region-accordion { border-top: 1px solid rgba(var(--ink),0.1); }
.region-accordion-item { border-bottom: 1px solid rgba(var(--ink),0.1); }
.region-accordion-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  background: none;
  border: none;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--heading);
  text-align: left;
  cursor: pointer;
  padding: 20px 4px;
  min-height: 56px;
}
.region-accordion-toggle:hover { color: var(--terracotta); }
.region-accordion-meta { display: flex; align-items: center; gap: 8px; font-family: var(--sans); font-weight: 600; font-size: 0.85rem; color: rgba(var(--ink),0.55); white-space: nowrap; }
.region-accordion-chevron { flex-shrink: 0; transition: transform 0.15s ease; }
.region-accordion-toggle[aria-expanded="true"] .region-accordion-chevron { transform: rotate(180deg); }
.region-accordion-body { margin: 4px 4px 24px; }
.region-accordion-body[hidden] { display: none; }

/* ---------- Filtre par catégorie (page département) ---------- */

.dept-filter-row { display: flex; flex-wrap: wrap; gap: 10px; padding: 24px 0 4px; }
.dept-filter-btn {
  font: inherit;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 12px 18px;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(var(--ink),0.18);
  background: var(--surface);
  color: var(--encre);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.dept-filter-btn:hover { border-color: var(--ocre); }
.dept-filter-btn.active { background: var(--ocre); border-color: var(--ocre); color: var(--pin-deep); }
.dept-filter-empty {
  margin: 14px 0 0;
  padding: 18px 20px;
  background: var(--surface-soft);
  border-radius: 8px;
  font-size: 0.95rem;
  color: rgba(var(--ink),0.75);
}

/* ---------- Fiche cards (homepage previews) ---------- */

.fiches { padding-top: 40px; padding-bottom: 64px; }
.fiche-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }

.fiche-card {
  background: var(--surface);
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  color: var(--encre);
  border: 1px solid rgba(var(--ink),0.1);
  border-top: 3px solid var(--heading-soft);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s ease;
}
.fiche-card:hover { box-shadow: 0 10px 22px rgba(var(--ink),0.12); }

.fiche-card .thumb {
  position: relative;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--pin), var(--pin-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  overflow: hidden;
}
.fiche-card .thumb svg { width: 42px; height: 42px; stroke-width: 1.4; }
.fiche-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.access-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--blanc);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.access-badge.badge-year-round { background: var(--pin); }
.access-badge.badge-seasonal { background: var(--ocre); color: var(--pin-deep); }
.access-badge.badge-urgence { background: var(--terracotta-deep); }
/* Badge « Partenaire » (programme payant, voir CLAUDE.md) : vert profond et
   or, en haut à droite de la vignette — distinct des badges d'accès (en haut
   à gauche, « Toute l'année » / « Saisonnier »), qu'il ne masque plus. */
.partner-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  color: #F3DDA8;
  background: rgba(34,58,46,0.88);
  border: 1px solid rgba(201,154,74,0.85);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.fiche-card .thumb .partner-badge svg, .partner-badge svg { width: 13px; height: 13px; stroke-width: 2; color: var(--ocre); flex-shrink: 0; }

.fiche-card.is-partenaire {
  box-shadow: 0 0 0 1.5px rgba(201,154,74,0.75), 0 6px 18px rgba(201,154,74,0.18);
}
.fiche-card.is-partenaire:hover { box-shadow: 0 0 0 1.5px rgba(201,154,74,0.95), 0 12px 26px rgba(201,154,74,0.28); }

.fiche-partenaire-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #F3DDA8;
  background: rgba(34,58,46,0.55);
  border: 1px solid rgba(201,154,74,0.9);
  padding: 4px 12px 4px 9px;
  border-radius: 999px;
  margin-left: 10px;
  vertical-align: middle;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.fiche-partenaire-tag svg { color: var(--ocre); flex-shrink: 0; }

/* Mention d'échange de liens (ECHANGES-LIENS.md) : une ligne discrète en bas de
   fiche, avec une petite icône de lien — volontairement sans couleur ni badge,
   pour ne jamais se confondre avec le badge Partenaire payant. */
.fiche-card .body { padding: 18px 20px 22px; }
.fiche-card .tag { display: inline-block; font-size: 0.78rem; font-weight: 700; color: var(--terracotta); margin-bottom: 8px; }
.fiche-card .card-note { display: block; font-size: 0.85rem; font-weight: 700; color: var(--ocre); margin: -2px 0 6px; }
.fiche-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.fiche-card p { font-size: 0.95rem; color: rgba(var(--ink),0.75); margin: 0; }

.pictos-row { display: flex; gap: 16px; margin-top: 14px; flex-wrap: wrap; }
.pictos-row .picto { width: 18px; height: 18px; color: var(--pin-soft); display: flex; align-items: center; justify-content: center; }
.pictos-row .picto svg { width: 18px; height: 18px; stroke-width: 1.6; }

/* ---------- Fiche detail page ---------- */

.fiche-hero {
  background: var(--pin-deep);
  color: var(--blanc);
  padding: 38px 0 32px;
  position: relative;
  overflow: hidden;
}
.fiche-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.fiche-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,32,26,0.55), rgba(20,32,26,0.88));
  z-index: 1;
}
.fiche-hero .wrap { position: relative; z-index: 2; }

.fav-toggle {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(20,32,26,0.45);
  color: var(--blanc);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(2px);
}
.fav-toggle:hover { background: rgba(20,32,26,0.65); }
.fav-toggle.active { background: var(--terracotta); color: var(--blanc); }
.fav-toggle.active svg { fill: currentColor; }

.fiche-photo-credit {
  position: absolute;
  bottom: 8px;
  right: 12px;
  z-index: 3;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.75);
  background: rgba(0,0,0,0.28);
  padding: 2px 8px;
  border-radius: 3px;
}
.breadcrumb { font-size: 0.9rem; color: rgba(255,253,248,0.7); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,253,248,0.9); text-decoration: none; }

.fiche-hero .tag {
  display: inline-block;
  background: var(--terracotta);
  color: var(--blanc);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.fiche-hero h1 { color: var(--blanc); font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.fiche-hero .lieu { color: var(--ocre); font-weight: 600; margin-top: 6px; display: block; }
.fiche-hero .fiche-updated { display: block; margin-top: 6px; font-size: 0.85rem; color: rgba(255,253,248,0.7); }

/* Bandeau d'infos pratiques : liste discrète, pictos fins alignés à gauche du texte */
.info-strip { background: var(--surface); border-bottom: 1px solid rgba(var(--ink),0.08); }

.info-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 34px;
  padding-top: 22px; padding-bottom: 22px;
}

.info-item { display: flex; gap: 10px; align-items: center; }

.info-item .icon { width: 18px; height: 18px; color: var(--terracotta); flex-shrink: 0; stroke-width: 1.6; }

.info-item .label { font-size: 0.74rem; color: rgba(var(--ink),0.55); font-weight: 600; display: block; }
.info-item .value { font-weight: 700; font-size: 0.95rem; line-height: 1.25; }
.info-item .value a { color: var(--terracotta-deep); text-decoration: none; }
.info-item .value a:hover { text-decoration: underline; }

.fiche-body { padding-top: 40px; padding-bottom: 30px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; }
.fiche-body h2 { font-size: 1.5rem; color: var(--heading); margin-top: 1.4em; }
.fiche-body h2:first-child { margin-top: 0; }

.callout { background: var(--surface-soft); border-left: 3px solid var(--ocre); padding: 16px 18px; border-radius: 2px; font-size: 0.95rem; }
.avis-invite { margin: 28px auto; }
.avis-invite p { margin: 0; }
.avis-invite a { font-weight: 600; }

.sidebar-card { background: var(--surface); border: 1px solid rgba(var(--ink),0.1); border-radius: 6px; padding: 22px; margin-bottom: 20px; }
.sidebar-card h3 { font-size: 1.05rem; color: var(--heading); margin-bottom: 12px; }
.sidebar-card ul { padding-left: 0; list-style: none; margin: 0; }
.sidebar-card li { display: flex; gap: 9px; align-items: flex-start; font-size: 0.92rem; margin-bottom: 10px; }
.sidebar-card li svg { width: 16px; height: 16px; color: var(--heading-soft); flex-shrink: 0; margin-top: 2px; stroke-width: 1.6; }

/* ---------- Avis & photos (mis en avant, juste après les infos pratiques) ---------- */

.avis { padding-top: 34px; padding-bottom: 40px; }

.avis-card {
  background: var(--surface);
  border: 1px solid rgba(var(--ink),0.1);
  border-top: 3px solid var(--terracotta);
  border-radius: 6px;
  padding: 26px 28px 28px;
}

.avis-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.avis-head h2 { font-size: 1.35rem; color: var(--heading); margin-bottom: 2px; }
.avis-head p { margin: 0; font-size: 0.92rem; color: rgba(var(--ink),0.65); }
.avis-rating-summary { font-weight: 700; color: var(--ocre); white-space: nowrap; }

.avis-stars { display: flex; gap: 4px; }
.avis-star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: rgba(var(--ink),0.25);
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  padding: 2px;
}
.avis-star.filled { color: var(--ocre); }
.avis-item-stars { display: block; color: var(--ocre); font-size: 0.9rem; letter-spacing: 1px; }

.copy-address-btn {
  display: inline-flex;
  align-items: center;
  background: none;
  border: none;
  padding: 12px 0;
  min-height: 44px;
  font: inherit;
  font-weight: 700;
  color: var(--terracotta-deep);
  cursor: pointer;
  text-decoration: underline;
}
.copy-address-status { font-size: 0.85rem; color: var(--ocre); font-weight: 600; }

.avis-form { display: grid; gap: 10px; max-width: 640px; }

.avis-form-row { display: flex; gap: 10px; }
.avis-form-row input[type="text"] {
  flex: 1;
  border: 1px solid rgba(var(--ink),0.18);
  border-radius: 4px;
  padding: 10px 12px;
  min-height: 44px;
  font-family: var(--sans);
  font-size: 0.95rem;
  background: var(--sable-clair);
  color: var(--encre);
}
.avis-form-row input[type="text"]::placeholder,
.avis-form textarea::placeholder {
  color: rgba(var(--ink), 0.75);
  opacity: 1;
}

.avis-photo-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(var(--ink),0.18);
  border-radius: 4px;
  padding: 10px 14px;
  min-height: 44px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--heading-soft);
  cursor: pointer;
  white-space: nowrap;
  background: var(--sable-clair);
}
.avis-photo-btn:hover { border-color: var(--heading-soft); }
.avis-photo-btn.has-photo { color: var(--terracotta-deep); border-color: var(--terracotta); }
.avis-photo-btn svg { width: 16px; height: 16px; stroke-width: 1.6; }

.avis-form textarea {
  border: 1px solid rgba(var(--ink),0.18);
  border-radius: 4px;
  padding: 10px 12px;
  font-family: var(--sans);
  font-size: 0.95rem;
  resize: vertical;
  background: var(--sable-clair);
  color: var(--encre);
}

.avis-preview { display: flex; align-items: center; gap: 10px; }
.avis-preview img { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; }
.avis-preview button { border: none; background: var(--surface-soft); color: var(--encre); border-radius: 999px; width: 22px; height: 22px; cursor: pointer; font-size: 0.85rem; line-height: 1; }

.avis-submit {
  justify-self: start;
  background: var(--terracotta);
  color: var(--blanc);
  border: none;
  border-radius: 4px;
  padding: 11px 22px;
  min-height: 44px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  margin-top: 4px;
}
.avis-submit:hover { background: var(--terracotta-deep); }
.avis-submit:disabled { opacity: 0.55; cursor: default; }

.avis-status { margin: 2px 0 0; font-size: 0.88rem; min-height: 1.2em; }
.avis-status.ok { color: var(--heading-soft); }
.avis-status.err { color: var(--terracotta-deep); }

.avis-list { margin-top: 22px; display: grid; gap: 16px; }
.avis-empty { font-size: 0.92rem; color: rgba(var(--ink),0.55); margin: 0; }

/* Champ piège anti-spam du formulaire d'avis : invisible pour les humains, rempli par les robots. */
.avis-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.avis-item { display: flex; gap: 14px; padding-top: 16px; border-top: 1px solid rgba(var(--ink),0.08); }
.avis-item:first-child { padding-top: 0; border-top: none; }
.avis-item .avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--surface-soft); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--heading); font-family: var(--serif); font-weight: 700;
}
.avis-item .who { font-weight: 700; font-size: 0.95rem; }
.avis-item .when { font-size: 0.8rem; color: rgba(var(--ink),0.55); margin-left: 8px; font-weight: 400; }
.avis-item p { margin: 4px 0 0; font-size: 0.95rem; }
.avis-item .photo { margin-top: 8px; max-width: 220px; aspect-ratio: 4/3; border-radius: 6px; overflow: hidden; }
.avis-item .photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Footer ---------- */

.site-footer { background: var(--pin-deep); color: rgba(255,253,248,0.75); padding: 40px 0; font-size: 0.9rem; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.site-footer .brand { color: var(--blanc); }

/* ---------- Bandeau cookies ---------- */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: var(--pin-deep);
  color: rgba(255,253,248,0.9);
  box-shadow: 0 -6px 24px rgba(0,0,0,0.2);
}
.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 18px; padding-bottom: 18px;
}
.cookie-banner-inner p { margin: 0; max-width: 60ch; font-size: 0.92rem; }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn {
  padding: 10px 20px;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: 2px solid transparent;
}
.cookie-btn-solid { background: var(--terracotta); color: var(--blanc); }
.cookie-btn-solid:hover { background: var(--terracotta-deep); }
.cookie-btn-ghost { background: transparent; color: var(--blanc); border-color: rgba(255,253,248,0.4); }
.cookie-btn-ghost:hover { border-color: var(--blanc); }

/* ---------- Conseils de Coco (page dédiée) & carte ---------- */

.conseils-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 22px; }
.conseil-card {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid rgba(var(--ink),0.1); border-left: 4px solid var(--ocre);
  border-radius: 6px; padding: 12px 14px; cursor: pointer; text-align: left;
  transition: box-shadow 0.15s ease;
}
.conseil-card:hover { box-shadow: 0 6px 16px rgba(var(--ink),0.12); }
.conseil-card .conseil-tag { font-size: 0.72rem; font-weight: 700; color: var(--terracotta); text-transform: uppercase; letter-spacing: 0.02em; }
.conseil-card h3 { font-size: 1rem; margin: 2px 0 0; }
.conseil-card .conseil-lieu { font-size: 0.85rem; color: rgba(var(--ink),0.65); }

.carte-section #coco-map-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.coco-map-wrap { position: relative; margin-bottom: 8px; }
.coco-map-locate { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.coco-map-locate #coco-locate-status, .conseils-locate #coco-locate-status { font-size: 0.85rem; color: rgba(var(--ink),0.65); }
.coco-map-fiches { padding: 32px 0 8px; }
.cat-see-more { margin-top: 18px; text-align: center; }
.cat-see-more a { color: var(--terracotta); font-weight: 700; text-decoration: none; }
.cat-see-more a:hover { text-decoration: underline; }
.coco-map-fiches:last-child { padding-bottom: 0; }
#coco-map { height: 480px; border-radius: 8px; overflow: hidden; border: 1px solid rgba(var(--ink),0.12); }
#coco-dept-map { height: 360px; border-radius: 8px; overflow: hidden; border: 1px solid rgba(var(--ink),0.12); margin-bottom: 8px; }
.map-filter {
  font: inherit; font-size: 0.78rem; font-weight: 600; padding: 6px 12px 6px 26px; position: relative;
  border-radius: 20px; border: 1px solid rgba(var(--ink),0.18); background: var(--surface); color: var(--encre);
  cursor: pointer; opacity: 0.55; transition: opacity 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.map-filter:hover { opacity: 0.85; }
.map-filter.active { opacity: 1; background: var(--dot-active, var(--dot)); color: var(--blanc); border-color: transparent; }
.map-filter::before {
  content: ''; position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  width: 9px; height: 9px; border-radius: 50%; background: var(--dot);
}
.map-filter.active::before { background: var(--blanc); }
.map-filter-all { padding-left: 14px; font-weight: 700; }
.map-filter-all::before { content: none; }
.map-filter-all.active { background: var(--encre); color: var(--blanc); }

.coco-map-prompt {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: var(--surface); padding: 14px 22px; border-radius: 10px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.18); font-weight: 600; font-size: 0.95rem;
  color: var(--encre); text-align: center; max-width: 260px; z-index: 400; pointer-events: none;
}
.coco-popup { font-family: var(--sans); min-width: 180px; }
.coco-popup-badge {
  display: inline-block; background: var(--ocre); color: var(--blanc); font-size: 0.68rem; font-weight: 700;
  padding: 2px 8px; border-radius: 3px; margin-bottom: 6px;
}
.coco-popup strong { display: block; font-family: var(--serif); font-size: 1rem; }
.coco-popup-tag { display: block; font-size: 0.8rem; color: rgba(var(--ink),0.65); margin-top: 2px; }
.coco-popup-distance { display: block; font-size: 0.78rem; font-weight: 700; color: var(--terracotta); margin-top: 4px; }
.coco-popup-note { display: block; font-size: 0.8rem; font-weight: 700; color: var(--ocre); margin-top: 4px; }
.coco-popup-actions { display: flex; gap: 10px; margin-top: 8px; }
.coco-popup-actions a { font-size: 0.82rem; font-weight: 700; color: var(--terracotta-deep); text-decoration: none; }
.coco-popup-actions a:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */

@media (max-width: 800px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 36px; }
  .hero-photo { max-width: 280px; margin: 0 auto; }
  .fiche-body { grid-template-columns: 1fr; }
  .brand { font-size: 1.15rem; }
  .header-actions { gap: 10px; }
  .nav-social { display: none; }
  .nav-mobile-only { display: inline-flex; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    box-shadow: 0 12px 24px rgba(0,0,0,0.18);
    padding: 0;
    z-index: 30;
    max-height: calc(100vh - 80px);
  }
  .site-nav.open { display: flex; flex-direction: column; }
  .site-nav a { padding: 14px; border-bottom: 1px solid rgba(var(--ink),0.08); font-size: 0.9rem; }
  .site-nav a:hover { border-color: rgba(var(--ink),0.08); background: rgba(190,91,59,0.06); }
  .avis-form-row { flex-direction: column; }
  .avis-card { padding: 22px 18px 24px; }
  #coco-map { height: 340px; }
  #coco-dept-map { height: 280px; }
  .dept-filter-row { gap: 8px; padding: 18px 0 2px; }
  .dept-filter-btn { padding: 12px 14px; font-size: 0.88rem; }
}

.fiche-figure { margin: 1.25rem 0; }
.fiche-figure img { display: block; width: 100%; height: auto; border-radius: 12px; }
.fiche-figure figcaption { font-size: 0.85rem; opacity: 0.75; margin-top: 0.4rem; }
.fiche-collab {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: rgba(var(--ink),0.6);
  margin-top: 2rem;
  padding-top: 14px;
  border-top: 1px solid rgba(var(--ink),0.1);
}
.fiche-collab::before {
  content: "";
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.5.5l3-3a5 5 0 0 0-7-7l-1.7 1.7'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.5-.5l-3 3a5 5 0 0 0 7 7l1.7-1.7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.5.5l3-3a5 5 0 0 0-7-7l-1.7 1.7'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.5-.5l-3 3a5 5 0 0 0 7 7l1.7-1.7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.fiche-collab a { color: inherit; }

/* Guides pratiques (src/guides/, src/_includes/guide.njk, src/guides.njk). */
.guide-page { padding-top: 40px; padding-bottom: 60px; max-width: 760px; }
.guide-page .cat-page-crumb { font-size: 0.85rem; color: rgba(var(--ink),0.6); margin-bottom: 12px; }
.guide-page .cat-page-crumb a { color: inherit; }
.guide-meta { color: rgba(var(--ink),0.6); font-size: 0.9rem; margin-top: -0.4em; }
.guide-lead { font-size: 1.05rem; max-width: 68ch; }
.guide-body h2, .guide-sources h2, .guide-more h2 { font-size: 1.35rem; color: var(--heading); margin-top: 1.6em; }
.guide-body h3 { font-size: 1.1rem; color: var(--heading); margin-top: 1.2em; }
.guide-body p, .guide-body li { max-width: 68ch; }
.guide-body table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 0.95rem; }
.guide-body th, .guide-body td { border: 1px solid rgba(var(--ink),0.15); padding: 8px 10px; text-align: left; vertical-align: top; }
.guide-body .callout { margin: 1.2em 0; }
.guide-hero { margin: 18px 0 8px; }
.guide-hero img { width: 100%; height: auto; border-radius: 14px; display: block; }
.guide-hero figcaption { font-size: 0.85rem; color: rgba(var(--ink),0.6); margin-top: 6px; }
.guide-partner { font-size: 0.9rem; color: rgba(var(--ink),0.7); font-style: italic; }
.guide-sources { margin-top: 2em; font-size: 0.92rem; }
.guide-sources li, .guide-more li { margin: 4px 0; overflow-wrap: anywhere; }
.guide-list { display: grid; gap: 16px; margin-top: 24px; }
.guide-card { display: block; padding: 18px 20px; border: 1px solid rgba(var(--ink),0.12); border-radius: 10px; background: var(--surface); text-decoration: none; color: var(--encre); }
.guide-card:hover { border-color: var(--terracotta); }
.guide-card h2 { font-size: 1.2rem; color: var(--heading); margin: 6px 0; }
.guide-card p { margin: 0; color: rgba(var(--ink),0.75); font-size: 0.95rem; }

/* « Les plus proches de toi » (pages catégorie avec nearby: true) */
.nearby-box { margin: 24px 0 8px; padding: 18px 20px; border: 1px solid rgba(var(--ink),0.12); border-radius: 16px; background: var(--surface); }
.nearby-box h2 { margin-top: 0 !important; }
.nearby-status { font-size: 0.85rem; color: rgba(var(--ink),0.65); margin-top: 8px; }
.nearby-list { margin: 10px 0 0; padding-left: 1.4em; }
.nearby-list li { margin: 8px 0; }
.nearby-list a { font-weight: 700; }
.nearby-meta { display: block; font-size: 0.85rem; color: rgba(var(--ink),0.65); }
