/* TC FAQ HUB - front v3 (assets/css/style.css, v1.5.2 — 11/10/2026). Sert via wp_enqueue sur /faq/ et /faq/{slug}/. Mobile-first. */
:root {
  --tcfh-pr:#8B3A1A; --tcfh-pr-l:#A54B2B; --tcfh-ac:#C9973A; --tcfh-ac-l:#E3BB6C;
  --tcfh-dk:#1A1612; --tcfh-dk2:#2A2118; --tcfh-cr:#F8F6F1; --tcfh-cr2:#F3EDE0;
  --tcfh-mu:#A89880; --tcfh-mu2:#6E6354; --tcfh-line:#E6DED0; --tcfh-bg:#FFFFFF;
  --tcfh-rad:18px; --tcfh-rad-sm:11px; --tcfh-pill:999px;
  --tcfh-shadow:0 10px 30px rgba(26,22,18,.07); --tcfh-shadow-h:0 20px 48px rgba(26,22,18,.15);
  --tcfh-font:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --tcfh-track:linear-gradient(135deg,#1A1612 0%,#3d2015 60%,#5c2a14 100%);
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; font-family:var(--tcfh-font); color:var(--tcfh-dk); background:var(--tcfh-cr); line-height:1.6; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; }
img { max-width:100%; display:block; }
a { color:var(--tcfh-pr); text-decoration:none; }
a:hover { text-decoration:underline; }
h1,h2,h3 { color:var(--tcfh-dk); line-height:1.18; margin:0 0 10px; }
button { font-family:inherit; cursor:pointer; border:none; background:none; color:inherit; }
::selection { background:rgba(201,151,58,.3); }
:focus-visible { outline:3px solid var(--tcfh-ac); outline-offset:2px; border-radius:6px; }

.tcfh-wrap { max-width:1080px; margin:0 auto; padding:28px 18px 56px; }
.tcfh-wrap.tcfh-wide { max-width:1180px; }

/* v1.5.2 (11/10/2026) — `overflow:hidden` RETIRÉ : il coupait le dropdown de suggestions (.tcfh-suggest,
   position:absolute, peut dépasser la hauteur du hero dès 3-4 résultats) dès qu'il débordait le bandeau —
   bug signalé par l'utilisateur, suggestions coupées à la 2e/3e ligne par la section "Explorer par thème"
   juste en dessous. Le `::after` décoratif n'en a pas besoin : `inset:0` le borne déjà à la taille du bandeau. */
.tcfh-hero { background:var(--tcfh-track); color:#fff; padding:56px 18px 44px; position:relative; }
.tcfh-hero::after { content:""; position:absolute; inset:0; background:radial-gradient(120% 90% at 82% -10%, rgba(201,151,58,.2), transparent 55%); pointer-events:none; z-index:0; }
.tcfh-hero-inner { position:relative; z-index:1; max-width:760px; margin:0 auto; text-align:center; }
.tcfh-h1 { color:#fff; font-weight:800; letter-spacing:-.02em; font-size:clamp(1.9rem,4.5vw,2.9rem); }
.tcfh-intro { font-size:clamp(1rem,2vw,1.12rem); margin:12px auto 26px; max-width:580px; color:rgba(255,255,255,.8); }
.tcfh-proof { display:flex; flex-wrap:wrap; gap:12px; justify-content:center; list-style:none; padding:0; margin:26px 0 0; }
.tcfh-proof li { background:rgba(255,255,255,.09); border:1px solid rgba(255,255,255,.16); border-radius:var(--tcfh-pill); padding:10px 20px; backdrop-filter:blur(4px); }
.tcfh-proof strong { display:block; font-size:1.4rem; color:#fff; font-weight:800; line-height:1.1; }
.tcfh-proof small { display:block; font-size:.7rem; color:rgba(255,255,255,.66); text-transform:uppercase; letter-spacing:.06em; }

.tcfh-search { position:relative; max-width:620px; margin:0 auto; }
/* v1.5.0 (10/10/2026) — SEARCH INPUTS : la règle Blocksy `input:is([type="search"]…)` (spécificité 0,1,1,
   même valeur que l'ancien `.tcfh-search input`) arrive après la nôtre dans le bundle minifié WP Rocket et
   écrasait `color`/`background` : texte sombre du thème sur le bandeau sombre du hero → saisie invisible en
   tapant (bug signalé). On passe à `input[type="search"]` (0,2,1) et `:focus` (0,3,1) : la reprise est
   garantie quel que soit l'ordre de chargement — y compris sur :focus, où le thème écrasait aussi (0,2,1).
   v1.5.2 (11/10/2026) — AJOUT `-webkit-appearance:none;appearance:none` : Safari/iOS applique parfois son
   propre habillage natif à `type="search"` (couleur de texte y compris) qui peut l'emporter sur `color` selon
   la version — signalé par l'utilisateur comme texte encore noir au clavier sur mobile, non reproductible sur
   ce navigateur de test ; ce correctif est le remède standard, sans effet de bord sur les navigateurs déjà OK. */
.tcfh-search input[type="search"] { width:100%; padding:15px 96px 15px 46px; border-radius:var(--tcfh-rad); border:1px solid rgba(255,255,255,.2); background:rgba(255,255,255,.12); color:#fff; font-size:1.02rem; outline:none; box-shadow:0 12px 34px rgba(26,22,18,.2); transition:border-color .2s,background .2s; -webkit-appearance:none; appearance:none; }
.tcfh-search input[type="search"]::placeholder { color:rgba(255,255,255,.62); }
.tcfh-search input[type="search"]:focus { border-color:rgba(201,151,58,.7); background:rgba(255,255,255,.16); }
.tcfh-search input[type="search"]::-webkit-search-cancel-button { display:none; }
.tcfh-search-ico { position:absolute; left:16px; top:50%; transform:translateY(-50%); width:18px; height:18px; color:rgba(255,255,255,.6); pointer-events:none; }
.tcfh-search-clear,.tcfh-search-lucky { position:absolute; top:50%; transform:translateY(-50%); width:34px; height:34px; border-radius:9px; display:inline-flex; align-items:center; justify-content:center; color:rgba(255,255,255,.75); transition:background .15s,color .15s; }
.tcfh-search-clear { right:52px; }
.tcfh-search-lucky { right:12px; }
.tcfh-search-clear:hover,.tcfh-search-lucky:hover { background:rgba(255,255,255,.14); color:#fff; }
.tcfh-search-clear[hidden],.tcfh-search-lucky[hidden] { display:none; }
.tcfh-suggest { position:absolute; left:0; right:0; top:calc(100% + 8px); z-index:40; background:#fff; border:1px solid var(--tcfh-line); border-radius:var(--tcfh-rad); box-shadow:0 20px 50px rgba(26,22,18,.2); display:none; text-align:left; max-height:420px; overflow-y:auto; }
.tcfh-suggest.is-open { display:block; }
.tcfh-suggest a { display:block; padding:12px 16px; text-decoration:none; color:var(--tcfh-dk); font-size:.88rem; border-bottom:1px solid var(--tcfh-cr2); transition:background .12s; }
.tcfh-suggest a:last-child { border-bottom:0; }
.tcfh-suggest a:hover { background:var(--tcfh-cr2); }
.tcfh-suggest a small { display:block; margin-top:3px; color:var(--tcfh-mu); font-size:.72rem; text-transform:uppercase; letter-spacing:.04em; }
.tcfh-suggest a mark { background:rgba(201,151,58,.35); color:inherit; border-radius:3px; padding:0 1px; }
/* ===== Grille hub ===== */
.tcfh-hub-grid { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:34px; align-items:start; margin-top:30px; }
/* v1.5.0 — min-width:0 OBLIGATOIRE : sans lui l'item de grille prend sa largeur min-content (la rail d'onglets
   en nowrap ≈ 1765 px), déborde la piste et se fait rogner par l'overflow-x:hidden du thème — la rail ne
   défilait donc jamais et les flèches ne s'affichaient jamais (constaté le 10/10/2026). */
.tcfh-hub-main { min-width:0; }
.tcfh-hub-side { display:flex; flex-direction:column; gap:18px; position:sticky; top:20px; }

/* ===== « Explorer par thème » — étiquettes cliquables (v1.5.0, 10/10/2026) =====
   Refonte dans le langage « chips » des autres hubs (tc-activite/tc-agriturismo/tc-hub-az) : fond teinté,
   bordure transparente, texte accentué, états hover/actif par simple fondu de teinte — plutôt que la pastille
   blanche bordée qui se lisait comme une rangée de boutons. Le compteur perd sa bulle et devient un simple
   chiffre atténué (comme « Affiner la recherche » des hubs). Le titre de section reprend le point de couleur
   des en-têtes du site. Les 3 paliers de taille (nuage) sont conservés. */
.tcfh-cloud-title { display:flex; align-items:center; gap:9px; font-size:.78rem; text-transform:uppercase; letter-spacing:.09em; color:var(--tcfh-pr); margin:0 0 14px; font-weight:800; }
.tcfh-cloud-title::before { content:""; width:8px; height:8px; border-radius:50%; background:var(--tcfh-pr); flex:0 0 auto; }
.tcfh-cloud { display:flex; flex-wrap:wrap; gap:9px; }
.tcfh-cloud-tag { display:inline-flex; align-items:center; gap:7px; padding:8px 15px; border-radius:var(--tcfh-pill); background:rgba(139,58,26,.07); border:1.5px solid transparent; text-decoration:none; color:var(--tcfh-pr); font-weight:600; transition:background .15s,border-color .15s,color .15s,transform .15s; }
.tcfh-cloud-tag b { font-size:.7rem; font-weight:700; color:var(--tcfh-mu); }
.tcfh-cloud-t1 { font-size:.82rem; }
.tcfh-cloud-t2 { font-size:.92rem; }
.tcfh-cloud-t3 { font-size:1.02rem; font-weight:800; }
.tcfh-cloud-tag:hover { background:rgba(139,58,26,.14); border-color:rgba(139,58,26,.28); transform:translateY(-1px); text-decoration:none; }
.tcfh-cloud-tag.is-active { background:var(--tcfh-pr); border-color:var(--tcfh-pr); color:#fff; }
.tcfh-cloud-tag.is-active b { color:rgba(255,255,255,.8); }

/* ===== Rail onglets (catégories + sous-thèmes) avec flèches (v1.5.0, 10/10/2026) =====
   Évolution du contrôle segmenté (déjà proche du hub A à Z) : flèches désormais SUPERPOSÉES aux bords de la
   rail (disque blanc compact) + fondu de bord progressif (classes has-prev/has-next posées par frontend.js)
   pour signaler la scrollabilité sans alourdir. Le compteur d'onglet devient une pastille discrète (esprit
   .tcaz-count) au lieu d'un simple texte atténué. Les sous-onglets passent au même langage « chip » teinté que
   le nuage de thèmes ; l'état actif revient au terracotta de la marque (l'or reste réservé aux accents). */
.tcfh-tabs-nav { position:relative; margin:22px 0 10px; }
.tcfh-tabs-nav:has(.tcfh-subtabs:empty) { display:none; }
.tcfh-tabs,.tcfh-subtabs { display:flex; gap:6px; overflow-x:auto; scroll-behavior:smooth; scrollbar-width:none; flex:1 1 auto; min-width:0; }
.tcfh-tabs::-webkit-scrollbar,.tcfh-subtabs::-webkit-scrollbar { display:none; }
/* Fondus de bord : visibles uniquement quand la rail déborde de ce côté (mis à jour par updateRails()). */
.tcfh-tabs-nav::before,.tcfh-tabs-nav::after { content:""; position:absolute; top:0; bottom:0; width:56px; pointer-events:none; opacity:0; transition:opacity .2s; z-index:2; }
.tcfh-tabs-nav.has-prev::before,.tcfh-tabs-nav.has-next::after { opacity:1; }
.tcfh-rail--tabs::before { left:0; border-radius:14px 0 0 14px; background:linear-gradient(90deg,#EFE8DB 30%,rgba(239,232,219,0)); }
.tcfh-rail--tabs::after { right:0; border-radius:0 14px 14px 0; background:linear-gradient(270deg,#EFE8DB 30%,rgba(239,232,219,0)); }
.tcfh-rail--subs::before { left:0; background:linear-gradient(90deg,var(--tcfh-cr) 30%,rgba(248,246,241,0)); }
.tcfh-rail--subs::after { right:0; background:linear-gradient(270deg,var(--tcfh-cr) 30%,rgba(248,246,241,0)); }
.tcfh-tabs { background:#EFE8DB; border-radius:14px; padding:5px; }
.tcfh-tab { flex:0 0 auto; padding:10px 16px; border-radius:10px; text-decoration:none; font-size:.85rem; font-weight:700; color:var(--tcfh-mu2); white-space:nowrap; display:inline-flex; align-items:center; gap:7px; transition:background .15s,color .15s,box-shadow .15s; }
.tcfh-tab b { font-size:.68rem; font-weight:700; color:var(--tcfh-mu); background:rgba(26,22,18,.06); border-radius:999px; padding:1px 7px; transition:background .15s,color .15s; }
.tcfh-tab:hover { color:var(--tcfh-dk); text-decoration:none; }
.tcfh-tab.is-active { background:#fff; color:var(--tcfh-dk); box-shadow:0 2px 8px rgba(26,22,18,.14); }
.tcfh-tab.is-active b { background:rgba(139,58,26,.1); color:var(--tcfh-pr); }
.tcfh-subtabs { padding:2px; }
.tcfh-subtab { flex:0 0 auto; padding:6px 13px; border-radius:var(--tcfh-pill); border:1.5px solid transparent; text-decoration:none; font-size:.78rem; font-weight:600; color:var(--tcfh-mu2); white-space:nowrap; background:var(--tcfh-cr2); transition:border-color .15s,color .15s,background .15s; }
.tcfh-subtab:hover { background:#EDE3D0; border-color:rgba(139,58,26,.22); color:var(--tcfh-pr); text-decoration:none; }
.tcfh-subtab.is-active { background:var(--tcfh-pr); border-color:var(--tcfh-pr); color:#fff; font-weight:700; }
.tcfh-rail-btn { position:absolute; top:50%; transform:translateY(-50%); width:32px; height:32px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; background:#fff; border:1px solid var(--tcfh-line); color:var(--tcfh-dk); box-shadow:0 2px 10px rgba(26,22,18,.16); transition:border-color .15s; z-index:3; }
.tcfh-rail-btn:hover { border-color:var(--tcfh-ac); }
.tcfh-rail-prev { left:7px; }
.tcfh-rail-next { right:7px; }
.tcfh-rail-btn[hidden] { display:none; }

/* ===== Compteur ===== */
.tcfh-count { font-size:.82rem; color:var(--tcfh-mu2); margin:4px 0 16px; font-weight:500; }

/* ===== Cartes questions ===== */
.tcfh-list { display:grid; grid-template-columns:1fr; gap:14px; min-height:140px; transition:opacity .15s; }
.tcfh-list.is-loading { opacity:.4; }
.tcfh-item { display:flex; flex-direction:column; gap:8px; padding:18px 20px; background:var(--tcfh-bg); border:1px solid var(--tcfh-line); border-radius:var(--tcfh-rad); text-decoration:none; color:var(--tcfh-dk); box-shadow:var(--tcfh-shadow); position:relative; overflow:hidden; transition:transform .18s,box-shadow .18s,border-color .18s; animation:tcfhCardIn .4s ease both; }
.tcfh-item::before { content:""; position:absolute; left:0; top:0; bottom:0; width:4px; background:var(--tcfh-ac); transform:scaleY(0); transform-origin:top; transition:transform .2s; }
.tcfh-item:hover { transform:translateY(-3px); box-shadow:var(--tcfh-shadow-h); border-color:rgba(201,151,58,.5); text-decoration:none; }
.tcfh-item:hover::before { transform:scaleY(1); }
.tcfh-item-cat { font-size:.68rem; font-weight:800; text-transform:uppercase; letter-spacing:.08em; color:var(--tcfh-pr); }
.tcfh-item-q { font-size:1.05rem; font-weight:700; line-height:1.3; }
.tcfh-item-ex { font-size:.88rem; line-height:1.5; color:var(--tcfh-mu2); }
.tcfh-item-foot { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:4px; flex-wrap:wrap; }
.tcfh-item-cta { display:inline-flex; align-items:center; gap:6px; font-size:.85rem; font-weight:700; color:var(--tcfh-pr); }
.tcfh-item-cta svg { transition:transform .18s; }
.tcfh-item:hover .tcfh-item-cta svg { transform:translateX(4px); }
.tcfh-item-meta { font-size:.74rem; color:var(--tcfh-mu); }
/* Illustration de carte (11/10/2026) : miniature compacte, cascade de réemploi d'images déjà existantes
   (maillage.php::tcfh_pick_image()) — jamais de génération IA (coût Replicate prohibitif à l'échelle de
   900+ questions), jamais de recherche mot-clé hasardeuse. Volontairement PETITE sur cette liste : plusieurs
   cartes visibles ensemble, donc le risque de répétition visuelle (questions proches partageant le même pool
   d'images pertinentes, ex. plusieurs questions sur le cheval Maremmano) y est le plus sensible — signalé par
   l'utilisateur, qui a validé la miniature comme réponse ("en miniature... ça passe plus inaperçu"). Le
   contenu (cat/question/extrait/pied) passe dans .tcfh-item-body pour garder la même colonne qu'avant quand
   il n'y a pas d'image (.tcfh-item sans .has-img reste identique à avant). */
.tcfh-item.has-img { flex-direction:row; align-items:flex-start; gap:14px; }
.tcfh-item-thumb { flex:0 0 72px; width:72px; height:72px; border-radius:12px; overflow:hidden; background:var(--tcfh-cr2); }
.tcfh-item-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.tcfh-item-body { display:flex; flex-direction:column; gap:8px; min-width:0; flex:1 1 auto; }
.tcfh-empty { grid-column:1/-1; text-align:center; padding:48px 20px; color:var(--tcfh-mu2); background:var(--tcfh-bg); border:1px dashed var(--tcfh-line); border-radius:var(--tcfh-rad); }
@keyframes tcfhCardIn { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }
.tcfh-item:nth-child(2){animation-delay:.03s} .tcfh-item:nth-child(3){animation-delay:.06s} .tcfh-item:nth-child(4){animation-delay:.09s} .tcfh-item:nth-child(5){animation-delay:.12s} .tcfh-item:nth-child(6){animation-delay:.15s}

/* ===== Paginateur ===== */
.tcfh-pager { display:flex; align-items:center; justify-content:center; gap:14px; margin-top:26px; }
.tcfh-pager button { padding:10px 18px; border-radius:var(--tcfh-rad-sm); background:var(--tcfh-bg); border:1px solid var(--tcfh-line); color:var(--tcfh-dk); font-weight:600; transition:border-color .15s,background .15s; }
.tcfh-pager button:hover { border-color:var(--tcfh-ac); background:var(--tcfh-cr2); }
.tcfh-pager button:disabled { opacity:.4; cursor:not-allowed; }
.tcfh-pager #tcfh-pginfo { font-size:.85rem; color:var(--tcfh-mu2); font-weight:600; min-width:130px; text-align:center; }

/* ===== Sidebar ===== */
.tcfh-side-box { background:var(--tcfh-bg); border:1px solid var(--tcfh-line); border-radius:var(--tcfh-rad); padding:20px; box-shadow:var(--tcfh-shadow); }
.tcfh-side-box h2 { font-size:.82rem; text-transform:uppercase; letter-spacing:.07em; color:var(--tcfh-mu); margin:0 0 14px; }
.tcfh-side-faq { display:flex; flex-direction:column; gap:8px; }
.tcfh-side-faq a { display:flex; gap:10px; align-items:center; padding:11px 13px; border-radius:var(--tcfh-rad-sm); background:var(--tcfh-cr); text-decoration:none; color:var(--tcfh-dk); font-size:.85rem; line-height:1.35; border:1px solid transparent; transition:border-color .15s,background .15s; }
.tcfh-side-faq a:hover { border-color:var(--tcfh-ac); background:#fff; text-decoration:none; }
.tcfh-side-faq a::before { content:""; flex:0 0 auto; width:6px; height:6px; border-radius:50%; background:var(--tcfh-ac); box-shadow:0 0 0 2px rgba(201,151,58,.25); }
.tcfh-side-cta { display:block; text-align:center; padding:12px; border-radius:var(--tcfh-rad-sm); background:var(--tcfh-pr); color:#fff !important; text-decoration:none; font-size:.85rem; font-weight:700; transition:background .15s; }
.tcfh-side-cta:hover { background:var(--tcfh-pr-l); text-decoration:none; }
.tcfh-side .tcfh-search { max-width:none; }
.tcfh-side .tcfh-search input { background:var(--tcfh-cr); border-color:var(--tcfh-line); color:var(--tcfh-dk); box-shadow:none; }
.tcfh-side .tcfh-search input::placeholder { color:var(--tcfh-mu); }
.tcfh-side .tcfh-search-ico { color:var(--tcfh-mu); }
.tcfh-side .tcfh-search-clear,.tcfh-side .tcfh-search-lucky { color:var(--tcfh-mu2); }
.tcfh-side .tcfh-search-clear:hover,.tcfh-side .tcfh-search-lucky:hover { background:var(--tcfh-cr2); color:var(--tcfh-dk); }

/* ===== Fiche question ===== */
.tcfh-crumb { display:flex; flex-wrap:wrap; gap:4px 10px; align-items:center; font-size:.78rem; color:var(--tcfh-mu); margin:0 0 18px; }
.tcfh-crumb a { color:var(--tcfh-dk); }
.tcfh-crumb a:hover { color:var(--tcfh-pr); }
.tcfh-single-grid { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:34px; align-items:start; margin-top:10px; }
.tcfh-main { min-width: 0; }
.tcfh-container { background: var(--tcfh-bg); border: 1px solid var(--tcfh-line); border-radius: var(--tcfh-rad); box-shadow: var(--tcfh-shadow); padding: 30px 32px; }
.tcfh-container .tcfh-q { margin: 0 0 18px; font-size: 1.6rem; font-weight: 700; letter-spacing: -0.01em; }
.tcfh-answer p { line-height: 1.75; margin: 0 0 15px; font-size: 1.02rem; }
.tcfh-answer p:last-child { margin-bottom: 0; }
.tcfh-answer a { color: var(--tcfh-pr); text-decoration: underline; }

/* Banniere fin d article (conservee) */
.tcfh-banner-wrap { margin-top:28px; }

/* Pour aller plus loin */
.tcfh-relcards-wrap { margin-top:30px; }
.tcfh-relcards-wrap h2 { font-size:1.15rem; margin-bottom:14px; }
.tcfh-relcards { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:16px; }
.tcfh-rcard { display:block; border-radius:var(--tcfh-rad); overflow:hidden; background:var(--tcfh-bg); border:1px solid var(--tcfh-line); box-shadow:var(--tcfh-shadow); text-decoration:none; transition:transform .2s,box-shadow .2s; }
.tcfh-rcard:hover { transform:translateY(-4px); box-shadow:var(--tcfh-shadow-h); text-decoration:none; }
.tcfh-rcard-img { position:relative; aspect-ratio:16/10; overflow:hidden; background:var(--tcfh-cr2); }
.tcfh-rcard-img img { width:100%; height:100%; object-fit:cover; transition:transform .35s; }
.tcfh-rcard:hover .tcfh-rcard-img img { transform:scale(1.06); }
.tcfh-rcard-noimg { display:flex; align-items:center; justify-content:center; font-size:1.7rem; color:var(--tcfh-mu); }
.tcfh-rcard-badge { position:absolute; top:10px; left:10px; z-index:2; background:rgba(26,22,18,.72); color:#fff; font-size:.66rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase; padding:4px 10px; border-radius:var(--tcfh-pill); }
.tcfh-rcard-body { padding:13px 15px; }
.tcfh-rcard-body strong { display:block; font-size:.92rem; line-height:1.3; color:var(--tcfh-dk); margin-bottom:5px; }
.tcfh-rcard-body span { display:block; font-size:.78rem; line-height:1.45; color:var(--tcfh-mu); }

/* ===== A proximite ===== */
.tcfh-prox { margin-top:30px; }
.tcfh-prox h2 { margin-bottom:12px; }
.tcfh-h2b { font-size:1.15rem; margin:0 0 14px; font-weight:700; color:var(--tcfh-dk); }
.tcfh-prox-tabs { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:16px; }
.tcfh-prox-tab { flex:0 0 auto; padding:8px 14px; border-radius:var(--tcfh-pill); background:var(--tcfh-cr2); border:1px solid var(--tcfh-line); font-size:.82rem; font-weight:600; color:var(--tcfh-dk); transition:background .15s,border-color .15s; }
.tcfh-prox-tab:hover { border-color:var(--tcfh-ac); }
.tcfh-prox-tab.is-active { background:var(--tcfh-pr); border-color:var(--tcfh-pr); color:#fff; }
.tcfh-prox-panel { display:none; grid-template-columns:repeat(auto-fill,minmax(160px,1fr)); gap:12px; }
.tcfh-prox-panel.is-active { display:grid; }
.tcfh-prox-card { display:block; border-radius:var(--tcfh-rad-sm); overflow:hidden; background:var(--tcfh-bg); border:1px solid var(--tcfh-line); text-decoration:none; transition:transform .2s,box-shadow .2s; }
.tcfh-prox-card:hover { transform:translateY(-2px); box-shadow:var(--tcfh-shadow); text-decoration:none; }
.tcfh-prox-img { position:relative; aspect-ratio:4/3; background:var(--tcfh-cr2); display:block; }
.tcfh-prox-img img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .35s; }
.tcfh-prox-card:hover .tcfh-prox-img img { transform:scale(1.05); }
.tcfh-prox-note { position:absolute; top:7px; right:7px; z-index:2; background:rgba(26,22,18,.75); color:#fff; font-size:.66rem; font-weight:700; padding:2px 7px; border-radius:var(--tcfh-pill); }
.tcfh-prox-body { padding:10px 11px; }
.tcfh-prox-body b { display:block; font-size:.82rem; color:var(--tcfh-dk); line-height:1.3; }
.tcfh-prox-body small { display:block; font-size:.72rem; color:var(--tcfh-mu); }
.tcfh-prox-price { display:block; font-size:.76rem; color:var(--tcfh-pr); margin-top:4px; font-weight:600; }
.tcfh-prox-price b { font-weight:700; display:inline; }

/* ===== Stay22 ===== */
.tcfh-s22 { margin-top:28px; border-radius:var(--tcfh-rad); overflow:hidden; border:1px solid var(--tcfh-line); background:var(--tcfh-cr2); }
.tcfh-s22-frame { width:100%; height:360px; border:0; display:block; background:var(--tcfh-cr); }
.tcfh-s22-fallback { font-size:.8rem; margin:10px 0 0; opacity:.75; padding:0 16px 14px; }
.tcfh-fine { font-size:.72rem; opacity:.5; margin-top:6px; padding:0 16px 16px; }

/* ===== Responsive ===== */
@media (max-width:900px) {
  .tcfh-hub-grid,.tcfh-single-grid { grid-template-columns:1fr; }
  .tcfh-hub-side { position:static; }
  .tcfh-hub-grid { gap:24px; }
}
@media (min-width:640px) {
  .tcfh-hero { padding:70px 26px 52px; }
  .tcfh-list { grid-template-columns:1fr; }
}
@media (min-width:760px) {
  .tcfh-list { grid-template-columns:repeat(2,1fr); }
}
@media (min-width:1180px) {
  .tcfh-hub-grid .tcfh-list, .tcfh-single-grid .tcfh-list { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:480px) {
  .tcfh-item.has-img { flex-direction:column; }
  .tcfh-item-thumb { width:100%; height:140px; flex:0 0 auto; }
}

/* ===== Mouvement reduit ===== */
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
}
