/* ═══════════════════════════════════════════════════════════════════════
   TC Hébergement Alt — palette dédiée (08/09/2026)
   Bleu nuit + laiton — distincte du bordeaux/or agriturismo, du vert
   activités, du terracotta restaurant : évoque le voyage/réservation haut
   de gamme plutôt que le terroir. Zéro emoji — iconographie SVG trait fine
   (voir TCHA_Frontend::icon()), variables CSS pour tout réutiliser sans
   dupliquer de valeurs.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  --tcha-ink:        #16202b;
  --tcha-ink-soft:   #2c3a49;
  --tcha-brass:      #b08d57;
  --tcha-brass-soft: #cbae7d;
  --tcha-brass-deep: #8f6f3f;
  --tcha-cream:      #f8f6f1;
  --tcha-cream-deep: #efeae0;
  --tcha-line:       #e4ded0;
  --tcha-text:       #22262b;
  --tcha-text-mute:  #6b6f76;
  --tcha-white:      #ffffff;
  --tcha-radius:     14px;
  --tcha-radius-sm:  8px;
  --tcha-shadow:     0 2px 14px rgba(22,32,43,.08);
  --tcha-shadow-lg:  0 12px 32px rgba(22,32,43,.16);
  --tcha-font:       -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.tcha-icon { flex-shrink: 0; vertical-align: -3px; }

/* ── Card (grille hub / recherche) ────────────────────────────────────── */

.tcha-card {
  background: var(--tcha-white);
  border: 1px solid var(--tcha-line);
  border-radius: var(--tcha-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
}
.tcha-card:hover { box-shadow: var(--tcha-shadow-lg); transform: translateY(-2px); }

.tcha-card-img { position: relative; overflow: hidden; background: var(--tcha-cream-deep); }
.tcha-card-img img { width: 100%; height: 190px; object-fit: cover; display: block; }
.tcha-card-img-placeholder {
  height: 190px; display: flex; align-items: center; justify-content: center;
  background: var(--tcha-cream-deep); color: var(--tcha-brass-deep);
}
.tcha-card-img-placeholder .tcha-icon { width: 30px; height: 30px; }

.tcha-type-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--tcha-ink); color: var(--tcha-cream);
  font-size: 10.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 20px;
}
.tcha-note-badge {
  position: absolute; top: 12px; right: 12px;
  background: rgba(255,255,255,.94); color: var(--tcha-ink);
  font-size: 12px; font-weight: 600;
  padding: 4px 9px; border-radius: 20px;
  display: inline-flex; align-items: center; gap: 4px;
}
.tcha-note-badge .tcha-icon { color: var(--tcha-brass-deep); vertical-align: -2px; }
.tcha-note-avis { font-weight: 400; color: var(--tcha-text-mute); }
.tcha-card-mvbtn { position: absolute; bottom: 10px; right: 10px; z-index: 2; }

.tcha-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.tcha-card-title { margin: 0; font-size: 15.5px; font-weight: 600; color: var(--tcha-ink); line-height: 1.3; }
.tcha-card-ville { margin: 0; font-size: 12.5px; color: var(--tcha-text-mute); display: flex; align-items: center; gap: 5px; }
.tcha-card-ville .tcha-icon { color: var(--tcha-brass-deep); }
.tcha-card-specs { display: flex; gap: 10px; color: var(--tcha-brass-deep); }
.tcha-spec-chip { display: inline-flex; }
.tcha-card-prix { margin: 2px 0 0; font-size: 13px; font-weight: 600; color: var(--tcha-ink); }

.tcha-card-btns { margin-top: auto; display: flex; flex-direction: column; gap: 7px; padding-top: 10px; }
.tcha-btn-fiche, .tcha-btn-reserver {
  display: block; text-align: center; padding: 10px 14px; border-radius: var(--tcha-radius-sm);
  font-size: 12.5px; font-weight: 600; text-decoration: none; letter-spacing: .01em;
  transition: background .15s ease, color .15s ease;
}
.tcha-btn-fiche { background: var(--tcha-cream); color: var(--tcha-ink); border: 1px solid var(--tcha-line); }
.tcha-btn-fiche:hover { background: var(--tcha-cream-deep); }
.tcha-btn-reserver { background: var(--tcha-ink); color: var(--tcha-cream) !important; }
.tcha-btn-reserver:hover { background: var(--tcha-ink-soft); }

/* ── Split-view (liste + carte sticky) — même pattern que tc-agriturismo /
   tc-activite / tc-restaurant (demande explicite, 09/09/2026) : jusqu'ici
   seul hub avec la carte pleine largeur AU-DESSUS de la grille de cards,
   contrairement aux 3 autres (liste horizontale à gauche + carte sticky à
   droite) — incohérence relevée par l'utilisateur. ── */

.tcha-split-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 14px;
  font-size: 12.5px;
  font-style: italic;
  color: var(--tcha-text-mute);
}
.tcha-split-hint .tcha-icon { color: var(--tcha-brass-deep); }

.tcha-split-layout {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 20px;
}
.tcha-split-list { flex: 1 1 56%; min-width: 0; }
/* Sélecteur combiné (.tcha-seo-grid.tcha-split-cards), pas juste .tcha-split-cards
   seule : les deux classes coexistent sur le même élément (voir le markup dans
   TCHA_SEO_Router::render_page()) avec la même spécificité (0,1,0 chacune) --
   .tcha-seo-grid étant définie PLUS BAS dans ce fichier (section "Pages SEO"),
   son grid-template-columns: repeat(auto-fill, minmax(255px,1fr)) gagnait la
   cascade et affichait 2 cards par ligne au lieu d'une seule (bug réel constaté
   en prod, corrigé le 09/09/2026). Le sélecteur combiné (0,2,0) rend le
   remplacement indépendant de l'ordre des règles dans le fichier. */
.tcha-seo-grid.tcha-split-cards { grid-template-columns: 1fr; gap: 16px; }
.tcha-split-map {
  flex: 1 1 44%;
  min-width: 0;
  position: sticky;
  top: 20px;
  align-self: flex-start;
}
.tcha-split-map .tc-map-instance {
  border-radius: var(--tcha-radius);
  overflow: hidden;
  box-shadow: var(--tcha-shadow-lg);
}

/* Card horizontale (liste split-view) */
.tcha-card--inline {
  flex-direction: row;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
  border: 1.5px solid transparent;
}
.tcha-card--inline:hover,
.tcha-card--inline.is-hovered {
  transform: translateY(-2px);
  border-color: var(--tcha-brass);
  box-shadow: 0 10px 26px rgba(176,141,87,.25);
}
.tcha-card-thumb {
  width: 160px;
  min-height: 130px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}
.tcha-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tcha-card-thumb--empty {
  display: flex; align-items: center; justify-content: center;
  background: var(--tcha-cream-deep); color: var(--tcha-brass-deep);
}
.tcha-card--inline .tcha-card-body { flex-direction: row; gap: 14px; padding: 14px 16px; }
.tcha-card-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.tcha-card-type-label {
  font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--tcha-brass-deep);
}
.tcha-card--inline .tcha-card-btns { flex-direction: row; flex-wrap: wrap; padding-top: 4px; }
.tcha-card--inline .tcha-btn-fiche,
.tcha-card--inline .tcha-btn-reserver { display: inline-block; flex: 0 0 auto; }

.tcha-card-aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-width: 62px;
  flex-shrink: 0;
}
.tcha-aside-score { display: flex; flex-direction: column; align-items: center; }
.tcha-aside-score-val { font-size: 20px; font-weight: 800; color: var(--tcha-ink); line-height: 1; }
.tcha-aside-score-lbl { font-size: 10.5px; color: var(--tcha-text-mute); text-align: center; line-height: 1.3; }
.tcha-aside-prix { font-size: 12px; font-weight: 700; color: var(--tcha-ink); white-space: nowrap; text-align: center; }

/* ── Fiche individuelle ───────────────────────────────────────────────── */

.tcha-fiche-wrap { max-width: 880px; margin: 0 auto; padding: 28px 20px 70px; font-family: var(--tcha-font); }

.tcha-fiche-hero { position: relative; border-radius: var(--tcha-radius); overflow: hidden; margin-bottom: 24px; }
.tcha-fiche-hero img { width: 100%; height: 400px; object-fit: cover; display: block; }
.tcha-fiche-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,32,43,0) 45%, rgba(22,32,43,.72) 100%); }
.tcha-fiche-hero-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 28px; }
.tcha-fiche-hero-caption h1 { color: #fff; margin: 0; font-size: 30px; font-weight: 600; letter-spacing: -.01em; }
.tcha-fiche-title-fallback { font-size: 28px; font-weight: 600; margin: 8px 0 22px; color: var(--tcha-ink); letter-spacing: -.01em; }

.tcha-fiche-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: 22px; }
.tcha-fiche-badge {
  background: var(--tcha-cream); color: var(--tcha-ink); border: 1px solid var(--tcha-line);
  font-size: 12.5px; font-weight: 600; padding: 6px 13px; border-radius: 20px;
  display: inline-flex; align-items: center; gap: 6px;
}
.tcha-fiche-badge .tcha-icon { color: var(--tcha-brass-deep); }
.tcha-fiche-score-global { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.tcha-fiche-score-circle {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--tcha-ink); color: var(--tcha-brass-soft);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px;
}
.tcha-fiche-score-lbl { font-size: 11px; color: var(--tcha-text-mute); line-height: 1.35; }

.tcha-fiche-mvbtn-wrap { margin: 0 0 20px; }

.tcha-fiche-specs-section {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px; margin-bottom: 22px;
}
.tcha-fiche-points-box { background: var(--tcha-cream); border: 1px solid var(--tcha-line); border-radius: var(--tcha-radius); padding: 18px 20px; }
.tcha-fiche-points-box h4 {
  margin: 0 0 12px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--tcha-brass-deep);
}
.tcha-fiche-points-box ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.tcha-fiche-points-box li { font-size: 13.5px; color: var(--tcha-text); display: flex; align-items: center; gap: 9px; }
.tcha-fiche-points-box .tcha-icon { color: var(--tcha-brass-deep); }
.tcha-dist { color: var(--tcha-text-mute); font-size: 12px; margin-left: auto; }

.tcha-fiche-map-wrap { margin-bottom: 22px; }
.tcha-fiche-map-wrap h3 { font-size: 15px; font-weight: 600; margin: 0 0 10px; color: var(--tcha-ink); }
.tcha-fiche-gmap { width: 100%; height: 300px; border: 0; border-radius: var(--tcha-radius); display: block; }

.tcha-fiche-content { font-size: 15.5px; line-height: 1.75; color: var(--tcha-text); margin-bottom: 26px; }
.tcha-fiche-content h2 { font-size: 19px; font-weight: 600; color: var(--tcha-ink); margin: 26px 0 10px; letter-spacing: -.005em; }
.tcha-fiche-content h2:first-child { margin-top: 0; }
.tcha-fiche-content p { margin: 0 0 14px; }

.tcha-fiche-cta { background: var(--tcha-ink); border-radius: var(--tcha-radius); padding: 30px; text-align: center; margin-bottom: 24px; }
.tcha-fiche-cta p { color: var(--tcha-cream); margin: 0 0 16px; font-size: 15px; font-weight: 500; }
.tcha-fiche-cta-btn {
  display: inline-block; background: var(--tcha-brass); color: var(--tcha-ink) !important; font-weight: 700;
  font-size: 13.5px; padding: 12px 24px; border-radius: var(--tcha-radius-sm); text-decoration: none; margin: 0 6px 8px;
  transition: background .15s ease;
}
.tcha-fiche-cta-btn:hover { background: var(--tcha-brass-soft); }
.tcha-fiche-cta-disclaimer { font-size: 11px; color: rgba(248,246,241,.55); font-style: italic; margin: 12px 0 0 !important; text-align: center; }

.tcha-car-wrap { margin-top: 14px; }
.tcha-car-wrap h3 { font-size: 15px; font-weight: 600; color: var(--tcha-ink); display: flex; align-items: center; gap: 8px; }
.tcha-car-wrap h3 .tcha-icon { color: var(--tcha-brass-deep); }
.tcha-car-inner { min-height: 280px; }

/* ── Pages SEO racine/zone/type/combo ─────────────────────────────────── */

.tcha-seo-wrap { max-width: 1180px; margin: 0 auto; padding: 32px 20px 70px; font-family: var(--tcha-font); }
.tcha-seo-header { text-align: center; margin-bottom: 26px; }
.tcha-seo-h1 { font-size: 32px; font-weight: 700; margin: 0 0 12px; color: var(--tcha-ink); letter-spacing: -.015em; }
.tcha-seo-intro { font-size: 15px; line-height: 1.6; color: var(--tcha-text-mute); max-width: 640px; margin: 0 auto; }

.tcha-seo-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 10px; }
.tcha-chip {
  background: var(--tcha-white); color: var(--tcha-ink); border: 1px solid var(--tcha-line);
  font-size: 12.5px; font-weight: 600; padding: 7px 15px; border-radius: 20px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 5px;
  transition: background .15s ease, border-color .15s ease;
}
.tcha-chip:hover { border-color: var(--tcha-brass); }
.tcha-chip .tcha-icon { color: var(--tcha-brass-deep); }
.tcha-chip--active { background: var(--tcha-ink); color: var(--tcha-cream); border-color: var(--tcha-ink); }
.tcha-chip--active .tcha-icon { color: var(--tcha-brass-soft); }

/* ── Recherche texte + filterbar (09/09/2026) — mêmes classes/esprit que les
   3 autres hubs (tc-agriturismo/tc-activite/tc-restaurant), adaptées à la
   palette bleu nuit + laiton propre à tc-hebergement-alt. Filtre/recherche en
   AJAX, jamais un rechargement de page (voir assets/frontend.js). ── */

.tcha-hero-search { max-width: 560px; margin: 0 auto 16px; position: relative; }
.tcha-search-input-wrap {
  position: relative; display: flex; align-items: center;
  background: var(--tcha-white); border: 1.5px solid var(--tcha-line); border-radius: 999px;
  padding: 0 16px; transition: border-color .15s ease;
}
.tcha-search-input-wrap:focus-within { border-color: var(--tcha-brass); }
.tcha-search-icon { color: var(--tcha-text-mute); display: flex; flex-shrink: 0; }
.tcha-search-input {
  flex: 1; border: 0; background: transparent; outline: none;
  font-size: 14.5px; color: var(--tcha-text); padding: 12px 10px; font-family: var(--tcha-font);
}
.tcha-search-input::placeholder { color: var(--tcha-text-mute); }
.tcha-search-clear {
  border: 0; background: var(--tcha-cream-deep); color: var(--tcha-text-mute);
  width: 22px; height: 22px; border-radius: 50%; cursor: pointer; font-size: 14px; line-height: 1;
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
}
.tcha-search-clear:hover { background: var(--tcha-line); color: var(--tcha-ink); }

.tcha-autocomplete {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 20;
  background: var(--tcha-white); border: 1px solid var(--tcha-line); border-radius: var(--tcha-radius-sm);
  box-shadow: var(--tcha-shadow-lg); overflow: hidden;
}
.tcha-ac-list { list-style: none; margin: 0; padding: 6px; max-height: 320px; overflow-y: auto; }
.tcha-ac-item {
  padding: 9px 12px; border-radius: 6px; cursor: pointer; display: flex;
  align-items: center; justify-content: space-between; gap: 10px; font-size: 13.5px;
}
.tcha-ac-item:hover { background: var(--tcha-cream); }
.tcha-ac-nom { color: var(--tcha-text); }
.tcha-ac-meta { color: var(--tcha-text-mute); font-size: 11.5px; white-space: nowrap; }

.tcha-filterbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  justify-content: center; margin: 0 0 22px;
}
.tcha-fb-item { position: relative; }
.tcha-fb-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--tcha-white); color: var(--tcha-ink); border: 1px solid var(--tcha-line);
  font-size: 13px; font-weight: 600; padding: 9px 14px; border-radius: 999px; cursor: pointer;
  font-family: var(--tcha-font); transition: border-color .15s ease;
}
.tcha-fb-btn:hover { border-color: var(--tcha-brass); }
.tcha-fb-btn .tcha-icon { color: var(--tcha-brass-deep); }
.tcha-fb-chevron { color: var(--tcha-text-mute); transition: transform .15s ease; margin-left: 2px; }
.tcha-fb-item--open .tcha-fb-btn { border-color: var(--tcha-ink); }
.tcha-fb-item--open .tcha-fb-chevron { transform: rotate(180deg); }

.tcha-fb-panel {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 15; min-width: 220px;
  background: var(--tcha-white); border: 1px solid var(--tcha-line); border-radius: var(--tcha-radius-sm);
  box-shadow: var(--tcha-shadow-lg); padding: 8px; display: flex; flex-direction: column; gap: 1px;
  max-height: 320px; overflow-y: auto;
}
/* Bug réel corrigé le 09/09/2026 (signalé par l'utilisateur : "tous les dropdowns sont ouverts") :
   `display: flex` ci-dessus est une règle AUTEUR, donc elle gagne TOUJOURS sur la règle par défaut
   du navigateur `[hidden] { display: none }` (origine user-agent, toujours perdante face à une
   règle auteur de même poids, quelle que soit la spécificité) -- le JS ne fait que basculer
   l'attribut `hidden` (voir assets/frontend.js), jamais un style inline, donc les 4 panneaux
   restaient visibles en permanence, `hidden` ou pas. Spécificité (0,2,0), toujours supérieure à
   la règle de base (0,1,0) ci-dessus, donc l'ordre dans le fichier n'a pas d'importance ici. */
.tcha-fb-panel[hidden] { display: none; }
/* display:grid, PAS column-count (piège documenté côté tc-restaurant/tc-activite,
   09/09/2026) : un CSS multicol avec max-height+overflow-y déborde HORIZONTALEMENT
   dès que le contenu dépasse la hauteur fixée (colonnes supplémentaires hors écran,
   défilement horizontal peu visible) -- 24 zones ici, même ordre de grandeur que les
   82 villes de tc-restaurant qui avait révélé le bug. Une grille CSS classique déborde
   toujours VERTICALEMENT (nouvelles lignes), jamais horizontalement : overflow-y:auto
   fonctionne alors comme attendu quel que soit le nombre d'éléments. */
.tcha-fb-panel--cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px 6px; min-width: 320px; }
.tcha-fb-option {
  display: flex; align-items: center; gap: 8px; padding: 7px 9px; border-radius: 6px;
  font-size: 13px; color: var(--tcha-text); cursor: pointer;
}
.tcha-fb-option:hover { background: var(--tcha-cream); }
.tcha-fb-option input { accent-color: var(--tcha-ink); flex-shrink: 0; }
.tcha-fb-option--all { font-weight: 600; grid-column: 1 / -1; }

.tcha-fb-order select {
  border: 1px solid var(--tcha-line); border-radius: 999px; padding: 9px 14px;
  font-size: 13px; font-weight: 600; color: var(--tcha-ink); background: var(--tcha-white);
  font-family: var(--tcha-font); cursor: pointer;
}
.tcha-fb-reset {
  border: 0; background: transparent; color: var(--tcha-brass-deep); font-weight: 700;
  font-size: 12.5px; cursor: pointer; padding: 9px 6px; font-family: var(--tcha-font);
}
.tcha-fb-reset:hover { text-decoration: underline; }

.tcha-results-bar { display: flex; align-items: center; margin: 0 0 12px; }
#tcha-results-count { font-size: 13px; color: var(--tcha-text-mute); font-weight: 600; }
#tcha-results-loading { text-align: center; font-size: 13px; color: var(--tcha-text-mute); padding: 20px 0; }
#tcha-no-results {
  text-align: center; padding: 40px 20px; color: var(--tcha-text-mute); font-size: 14px;
}
#tcha-no-results .tcha-icon { color: var(--tcha-brass-deep); }

.tcha-pagination { display: flex; align-items: center; justify-content: center; gap: 4px; margin: 26px 0 6px; }
.tcha-pg-btn {
  border: 1px solid var(--tcha-line); background: var(--tcha-white); color: var(--tcha-ink);
  min-width: 34px; height: 34px; padding: 0 8px; border-radius: var(--tcha-radius-sm);
  font-size: 13px; font-weight: 600; cursor: pointer; font-family: var(--tcha-font);
}
.tcha-pg-btn:hover:not([disabled]) { border-color: var(--tcha-brass); }
.tcha-pg-btn[disabled] { opacity: .35; cursor: default; }
.tcha-pg-btn.is-current { background: var(--tcha-ink); color: var(--tcha-cream); border-color: var(--tcha-ink); }
.tcha-pg-pages { display: inline-flex; gap: 4px; }
.tcha-pg-ellipsis { display: inline-flex; align-items: center; padding: 0 4px; color: var(--tcha-text-mute); }

.tcha-jump-footer {
  position: fixed; bottom: 22px; right: 22px; z-index: 30;
  background: var(--tcha-ink); color: var(--tcha-cream); border: 0; border-radius: 999px;
  padding: 11px 18px; font-size: 12.5px; font-weight: 600; cursor: pointer;
  box-shadow: var(--tcha-shadow-lg); opacity: 0; pointer-events: none;
  transform: translateY(8px); transition: opacity .2s ease, transform .2s ease;
}
.tcha-jump-footer.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

.tcha-seo-count { text-align: center; font-size: 13px; color: var(--tcha-text-mute); margin: 20px 0 14px; }
.tcha-split-list .tcha-seo-count { text-align: left; margin-top: 0; }
.tcha-seo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 20px; }
.tcha-seo-bottom { margin-top: 36px; font-size: 15px; line-height: 1.75; color: var(--tcha-text); }
.tcha-seo-map { margin: 22px 0; border-radius: var(--tcha-radius); overflow: hidden; box-shadow: var(--tcha-shadow); }

/* ── « Affiner la recherche » — carte moderne, liens en pastilles ──────────────────────────
   22/09 : ancien maillage (.tcha-seo-mesh, colonnes de liens nus) remonté au même traitement
   que les autres hubs — carte blanche, pastilles laiton/encre, cohérence demandée par
   l'utilisateur sur l'ensemble des hubs. */
.tcha-seo-mesh {
  margin-top: 48px;
  padding: 28px 26px 30px;
  background: var(--tcha-white);
  border: 1px solid var(--tcha-line);
  border-radius: 22px;
  box-shadow: var(--tcha-shadow);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 26px 32px;
}
.tcha-mesh-col h3 {
  font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  color: var(--tcha-brass-deep); margin: 0 0 12px;
}
.tcha-mesh-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tcha-mesh-col li { margin: 0; }
.tcha-mesh-col a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; color: var(--tcha-ink);
  text-decoration: none; white-space: nowrap;
  padding: 6px 12px; border-radius: 999px; background: var(--tcha-cream);
  border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.tcha-mesh-col a:hover {
  background: var(--tcha-ink); color: var(--tcha-cream); border-color: var(--tcha-ink);
  text-decoration: none; transform: translateY(-1px);
}

/* ── Sections croisées agriturismo / activités / Stay22 ───────────────── */

.tcha-cross-section { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--tcha-line); }
.tcha-cross-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.tcha-cross-head h2 { margin: 0; font-size: 20px; font-weight: 600; color: var(--tcha-ink); letter-spacing: -.01em; }
.tcha-cross-cta { font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.tcha-cross-section--agri .tcha-cross-head h2 { color: #7a2035; }
.tcha-cross-section--agri .tcha-cross-cta { color: #7a2035; }
.tcha-cross-section--agri .tcha-cross-cta:hover { text-decoration: underline; }
.tcha-cross-section--act .tcha-cross-head h2 { color: #2d6a4f; }
.tcha-cross-section--act .tcha-cross-cta { color: #2d6a4f; }
.tcha-cross-section--act .tcha-cross-cta:hover { text-decoration: underline; }
.tcha-cross-section--stay22 .tcwr-widget { border-radius: var(--tcha-radius); overflow: hidden; box-shadow: var(--tcha-shadow); }
.tcha-cross-section--stay22 .tcwr-widget iframe { width: 100%; display: block; }

/* ── Responsive ────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .tcha-split-layout { flex-direction: column-reverse; gap: 20px; }
  .tcha-split-map { position: static; width: 100%; }
  .tcha-split-map .tc-map-instance { height: 360px !important; }
}

@media (max-width: 640px) {
  .tcha-seo-h1 { font-size: 25px; }
  .tcha-fiche-hero img { height: 260px; }
  .tcha-fiche-hero-caption h1 { font-size: 23px; }
  .tcha-seo-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
  .tcha-card--inline { flex-direction: column; }
  .tcha-card-thumb { width: 100%; height: 180px; min-height: auto; }
  .tcha-card--inline .tcha-card-body { flex-direction: column; }
  .tcha-card-aside { flex-direction: row; justify-content: flex-start; gap: 16px; }
  .tcha-filterbar { justify-content: flex-start; }
  .tcha-fb-panel--cols { grid-template-columns: repeat(1, 1fr); min-width: 220px; }
  .tcha-jump-footer { right: 14px; bottom: 14px; padding: 9px 14px; font-size: 11.5px; }
  .tcha-seo-mesh { padding: 22px 16px 24px; border-radius: 18px; }
}

@media (max-width: 700px) and (min-width: 641px) {
  .tcha-fb-panel--cols { grid-template-columns: repeat(2, 1fr); }
}
