/* ============================================================
   CHARTE « ALMANACH LIBERTA » — design-system v1
   Surcouche chargée APRÈS style.css. Re-skinne sans réécrire.
   Périmètre actuel : homepage (.liberta-home). Étendra le site.
   Direction : almanach du terroir — papier crème grainé,
   vert forêt + or de moisson, titres Fraunces.
   ============================================================ */

/* ---- 1. TOKENS (reteinte de la palette existante --ll-*) ---- */
.liberta-home{
  --ll-green:   #1f5135;   /* vert forêt — actions principales */
  --ll-green-l: #6ca583;   /* sauge clair */
  --ll-dark:    #12281b;   /* forêt profond — sections sombres */
  --ll-text:    #26301f;   /* encre olive */
  --ll-muted:   #6b6453;
  --ll-light:   #f4eede;   /* papier */
  --ll-border:  #ddd2b4;   /* filet */
  --ll-cream:   #fbf7ec;   /* carton clair (cartes) */
  --ll-earth:   #a8492b;   /* terre cuite */
  --ll-honey:   #b9842b;   /* or de moisson */
  --ll-gold-l:  #d8a847;
  --ll-radius:  8px;
  --reg-mono:   'Courier Prime', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --reg-line:   rgba(31,81,53,.28);
}

/* ---- 2. FOND PAPIER + TYPO ---- */
.liberta-home{
  font-family:'Spectral',Georgia,serif;
  color:var(--ll-text);
  background-color:var(--ll-light);
  background-image:
    radial-gradient(circle at 12% 6%, rgba(185,132,43,.05), transparent 26%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
}
.liberta-home h1,.liberta-home h2,.liberta-home h3,.liberta-home h4,
.liberta-home .ll-hero-title,.liberta-home .ll-stat-num{
  font-family:'Fraunces',Georgia,serif !important;
  letter-spacing:-.01em;
}

/* ---- 3. HERO ---- */
.liberta-home .ll-hero{
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.06'/%3E%3C/svg%3E"),
    radial-gradient(130% 130% at 86% -10%,#2c5a3a 0%,#173324 52%,#10241a 100%);
}
.liberta-home .ll-hero-badge{
  background:var(--ll-gold-l) !important; color:#0e2417 !important;
  font-family:'Fraunces',serif; letter-spacing:.18em; border:none !important;
}
.liberta-home .ll-hero-em{ color:var(--ll-gold-l) !important; font-style:italic; }
.liberta-home .ll-hero-proof span{ color:rgba(255,255,255,.82); }

/* ---- 4. STATS ---- */
.liberta-home .ll-stats{ background:transparent; }
.liberta-home .ll-stats-grid{
  background:var(--ll-cream); border:1px solid var(--ll-border);
  border-radius:var(--ll-radius); overflow:hidden;
}
.liberta-home .ll-stat-num{ color:var(--ll-honey) !important; }
.liberta-home .ll-stat-num .ll-basket-svg{ color:var(--ll-honey); }
.liberta-home .ll-stat-label{ color:var(--ll-muted); }
.liberta-home .ll-stat-sep{ background:var(--ll-border); }

/* ---- 5. EN-TÊTES DE SECTION ---- */
.liberta-home .ll-section-label{
  color:var(--ll-earth) !important; letter-spacing:.16em;
  font-family:'Fraunces',serif; font-weight:600;
}
.liberta-home .ll-section-label::before{ content:"✦ "; color:var(--ll-honey); }
.liberta-home .ll-section-header h2{ color:var(--ll-dark); font-weight:900; }
.liberta-home .ll-section-desc{ color:var(--ll-muted); }

/* ---- 6. CARTES FONCTIONNALITÉS ---- */
.liberta-home .ll-feature-card{
  background:var(--ll-cream); border:1px solid var(--ll-border);
  border-radius:var(--ll-radius);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.liberta-home .ll-feature-card:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 30px -18px rgba(23,51,36,.45);
  border-color:var(--ll-gold-l);
}
.liberta-home .ll-feature-card.is-highlight{
  border-color:var(--ll-gold-l);
  background:linear-gradient(180deg,#fcf3df,var(--ll-cream));
}
.liberta-home .ll-feature-icon{
  width:54px;height:54px;border-radius:50%;
  display:inline-flex;align-items:center;justify-content:center;
  font-size:26px;background:#efe6d0;border:1px solid var(--ll-border);
}
.liberta-home .ll-feature-card h3{ font-weight:600; color:var(--ll-dark); }
.liberta-home .ll-feature-link{ color:var(--ll-earth); font-weight:600; }

/* ---- 7. BOUTONS ---- */
.liberta-home .lt-btn--primary{
  background:var(--ll-green); border:1px solid #0e2417;
  border-radius:4px; font-family:'Fraunces',serif; font-weight:600;
  transition:background .2s ease, transform .2s ease;
}
.liberta-home .lt-btn--primary:hover{ background:var(--ll-honey); color:#1a1206 !important; transform:translateY(-2px); }
.liberta-home .lt-btn--on-dark,
.liberta-home .lt-btn--secondary{ border-radius:4px; font-family:'Fraunces',serif; font-weight:600; }
.liberta-home .lt-btn--secondary{ color:var(--ll-dark) !important; border-color:var(--ll-border) !important; }
.liberta-home .lt-btn--secondary:hover{ background:var(--ll-honey); color:#1a1206 !important; border-color:var(--ll-honey) !important; }

/* ---- 8. SECTIONS RETEINTÉES (ex-fonds inline -> classes) ---- */
.liberta-home .ll-band{
  background:#efe7d2; border-top:1px solid var(--ll-border); border-bottom:1px solid var(--ll-border);
  padding:18px 0;
}
.liberta-home .ll-band .ll-band-tag{ background:var(--ll-honey) !important; }
.liberta-home .ll-soft-section{ background:#efe9da; padding:70px 0; }
.liberta-home .ll-dark-section{
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E"),
    radial-gradient(120% 120% at 88% 0%,#1f4630,#10241a);
  padding:80px 0;
}

/* ---- 9. SECTIONS SOMBRES NATIVES (colibri / cta) ---- */
.liberta-home .ll-colibri{
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E"),
    radial-gradient(120% 120% at 10% 0%,#1f4630,#10241a);
}
.liberta-home .ll-colibri-badge,
.liberta-home .ll-colibri-point-icon{ color:var(--ll-gold-l); }
.liberta-home .ll-unique-tag{ color:var(--ll-gold-l); border-color:rgba(216,168,71,.35); }
.liberta-home .ll-cta{ background:radial-gradient(120% 160% at 80% 0%,#2c5a3a,#10241a); }

/* ---- 10. CATÉGORIES / POUR-QUI / PAIEMENTS / ÉTAPES ---- */
.liberta-home .ll-cat-item,
.liberta-home .ll-forwho-card,
.liberta-home .ll-payment-card,
.liberta-home .ll-step{
  background:var(--ll-cream) !important; border:1px solid var(--ll-border) !important;
  border-radius:var(--ll-radius) !important;
}
.liberta-home .ll-cat-item:hover,
.liberta-home .ll-forwho-card:hover{ border-color:var(--ll-gold-l) !important; }
.liberta-home .ll-cat-name,
.liberta-home .ll-forwho-card h3{ font-family:'Fraunces',serif; color:var(--ll-dark); }
.liberta-home .ll-step-num{ background:var(--ll-green); color:var(--ll-gold-l); font-family:'Fraunces',serif; }

/* ============================================================
   ÉDITORIAL — pages & articles (.lbt-editorial)
   Guides/articles (.lbt-guide), CGU (.cgu-wrap), pages légales.
   Surcharge les <style> internes verts via spécificité body+.entry-content.
   ============================================================ */

/* Feuille de papier */
body.lbt-editorial .entry-content{
  font-family:'Spectral',Georgia,serif;
  color:#26301f;
  background:#fbf7ec;
  border:1px solid #e7dec7;
  border-radius:10px;
  padding:clamp(22px,4vw,52px);
  box-shadow:0 1px 0 #efe7d2;
}

/* Titres Fraunces */
body.lbt-editorial .entry-content h1,
body.lbt-editorial .entry-content h2,
body.lbt-editorial .entry-content h3,
body.lbt-editorial .entry-content h4{
  font-family:'Fraunces',Georgia,serif !important;
  letter-spacing:-.01em;
}
body.lbt-editorial .entry-content h2{
  color:#173324 !important;
  font-weight:900;
  border-bottom:2px solid #ddd2b4 !important;
  padding-bottom:.32rem;
  margin-top:2.2rem;
}
body.lbt-editorial .entry-content h3{ color:#1f5135 !important; font-weight:600; }

/* Liens terre cuite */
body.lbt-editorial .entry-content a{ color:#a8492b; text-decoration-color:rgba(168,73,43,.4); }
body.lbt-editorial .entry-content a:hover{ color:#8a3a22; }

/* Encadrés (blockquote 💡/⚠️/🙋) -> carton + filet or */
body.lbt-editorial .entry-content blockquote{
  background:#f4eede !important;
  border:1px solid #e2d7bb !important;
  border-left:4px solid #b9842b !important;
  border-radius:0 8px 8px 0 !important;
  padding:.9rem 1.2rem !important;
  margin:1.3rem 0 !important;
  color:#3a4133 !important;
}

/* Listes : puce ❧ dorée (uniquement ul) */
body.lbt-editorial .entry-content ul{ list-style:none; padding-left:1.4em; }
body.lbt-editorial .entry-content ul > li{ position:relative; }
body.lbt-editorial .entry-content ul > li::before{
  content:"❧"; position:absolute; left:-1.4em; color:#b9842b; font-size:.95em;
}

/* Tableaux -> grand-livre almanach (bat .lbt-guide-table inline) */
body.lbt-editorial .entry-content table,
body.lbt-editorial .entry-content table.lbt-guide-table{
  border-collapse:collapse !important; width:100%;
  background:var(--ll-white); border:1px solid #ddd2b4 !important;
  border-radius:6px; overflow:hidden; margin:1.3rem 0;
}
body.lbt-editorial .entry-content th,
body.lbt-editorial .entry-content table.lbt-guide-table th{
  background:#173324 !important; color:#f0e6c9 !important;
  font-family:'Fraunces',serif !important; font-weight:600;
  text-align:left; padding:11px 14px !important; border:none !important;
}
body.lbt-editorial .entry-content td,
body.lbt-editorial .entry-content table.lbt-guide-table td{
  border-top:1px solid #e7dec7 !important; padding:11px 14px !important;
}
body.lbt-editorial .entry-content tbody tr:nth-child(even) td{ background:rgba(221,210,180,.18); }

/* hr décoratif */
body.lbt-editorial .entry-content hr{
  border:none; height:1px; background:linear-gradient(90deg,transparent,#ddd2b4,transparent); margin:2rem 0;
}

/* Mobile : tableaux scrollables, jamais de débordement */
@media(max-width:640px){
  body.lbt-editorial .entry-content table,
  body.lbt-editorial .entry-content table.lbt-guide-table{ display:block; overflow-x:auto; -webkit-overflow-scrolling:touch; }
  body.lbt-editorial .entry-content{ padding:18px 16px; }
}

/* Titre de page/article éditorial en Fraunces (cohérence avec le contenu) */
body.lbt-editorial .entry-title,
body.lbt-editorial .ast-single-post-title,
body.lbt-editorial h1.entry-title{
  font-family:'Fraunces',Georgia,serif !important;
  color:#173324 !important; letter-spacing:-.01em;
}

/* Fond chaud autour de la feuille papier (évite le cadre blanc box-in-box) */
body.lbt-editorial .site-content,
body.lbt-editorial #content{ background-color:#ece6d6 !important; }
body.lbt-editorial article.post,
body.lbt-editorial article.page{ background:transparent !important; }
body.lbt-editorial .ast-article-single{ background:transparent !important; border:none !important; box-shadow:none !important; }

/* Méta article (Par / date) en ton sobre, pas bleu */
body.lbt-editorial .entry-meta,
body.lbt-editorial .entry-meta a,
body.lbt-editorial .posted-on a,
body.lbt-editorial .ast-author-meta a{ color:#6b6453 !important; }

/* ============================================================
   LISTE ACTUALITÉS — index blog + archives catégorie
   (body.blog / body.archive.category). N'affecte PAS la boutique
   (archive produit = li.product, sans .ast-article-post).
   ============================================================ */
body.blog .site-content,
body.archive.category .site-content{ background-color:#ece6d6 !important; }

/* Cartes d'article = feuille de papier */
body.blog .ast-article-inner,
body.archive.category .ast-article-inner{
  background:#fbf7ec !important;
  border:1px solid #ddd2b4 !important;
  border-radius:10px !important;
  box-shadow:0 1px 0 #efe7d2 !important;
  padding:26px 26px 22px !important;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
body.blog .ast-article-inner:hover,
body.archive.category .ast-article-inner:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 30px -18px rgba(23,51,36,.45);
  border-color:#d8a847 !important;
}

/* Titres Fraunces + liens terre cuite */
body.blog .entry-title,
body.blog .entry-title a,
body.archive.category .entry-title,
body.archive.category .entry-title a{
  font-family:'Fraunces',Georgia,serif !important;
  color:#173324 !important; letter-spacing:-.01em;
}
body.blog .entry-title a:hover,
body.archive.category .entry-title a:hover{ color:#a8492b !important; }

/* Extrait + lire la suite + méta */
body.blog .post-content, body.blog .ast-excerpt-container,
body.archive.category .ast-excerpt-container{ font-family:'Spectral',Georgia,serif; color:#54513f; }
body.blog .read-more a, body.blog .ast-read-more-container a,
body.archive.category .read-more a{
  color:#a8492b !important; font-family:'Fraunces',serif; font-weight:600;
}
body.blog .ast-blog-meta-container, body.blog .post-meta, body.blog .entry-meta,
body.blog .ast-blog-meta-container a, body.blog .entry-meta a{ color:#6b6453 !important; }

/* Titre de page « Actualités » */
body.blog .page-title, body.blog .ast-archive-title,
body.archive.category .ast-archive-title{
  font-family:'Fraunces',Georgia,serif !important; color:#173324 !important;
}

/* ============================================================
   PAGE DON (264) — reskin almanach. Override des .lbt-don-*
   via body.lbt-page-don (bat le <style> interne). Ne touche PAS
   le JS Stripe ni l'élément carte (#lbt-don-card-element).
   ============================================================ */
body.lbt-page-don .site-content{ background-color:#ece6d6 !important; }
body.lbt-page-don #lbt-don-wrap{ font-family:'Spectral',Georgia,serif; }

/* Titres Fraunces */
body.lbt-page-don .lbt-don-hero h1,
body.lbt-page-don .lbt-don-form-card h2,
body.lbt-page-don .lbt-don-pillar h3,
body.lbt-page-don .lbt-don-transparency h3,
body.lbt-page-don #lbt-don-step-success h2{
  font-family:'Fraunces',Georgia,serif !important; color:#173324 !important; letter-spacing:-.01em;
}
body.lbt-page-don #lbt-don-step-success h2{ color:#1f5135 !important; }

/* Badge or */
body.lbt-page-don .lbt-don-badge{
  background:#d8a847 !important; border-color:#c9913a !important; color:#0e2417 !important;
  font-family:'Fraunces',serif;
}

/* Cartes (piliers, transparence, formulaire) en papier crème */
body.lbt-page-don .lbt-don-pillar,
body.lbt-page-don .lbt-don-transparency{
  background:#fbf7ec !important; border:1px solid #ddd2b4 !important; border-radius:10px !important;
}
body.lbt-page-don .lbt-don-form-card{
  background:#fbf7ec !important; border:1px solid #e3d8bb !important; border-top:5px solid #d8a847 !important; border-radius:18px !important;
  box-shadow:0 22px 44px -22px rgba(18,40,27,.55) !important;
}

/* Fréquence ponctuel / mensuel */
body.lbt-page-don .lbt-don-freq{ border-color:#ddd2b4 !important; }
body.lbt-page-don .lbt-don-freq-btn{ background:#fff !important; color:#1f5135 !important; }
body.lbt-page-don .lbt-don-freq-btn.active{ background:#1f5135 !important; color:var(--ll-white) !important; }

/* Presets montant */
body.lbt-page-don .lbt-don-preset{ background:#fff !important; border-color:#d9cdac !important; color:#1c2a22 !important; }
body.lbt-page-don .lbt-don-preset:hover{ border-color:#1f5135 !important; color:#1f5135 !important; }
body.lbt-page-don .lbt-don-preset.active{ border-color:#1f5135 !important; background:#1f5135 !important; color:#fff !important; }
body.lbt-page-don .lbt-don-preset.active .lbt-don-preset-cover{ color:#f3dc9f !important; }
body.lbt-page-don .lbt-don-custom-input{ border-color:#b9842b !important; }
body.lbt-page-don .lbt-don-field:focus,
body.lbt-page-don .StripeElement--focus{ border-color:#b9842b !important; box-shadow:0 0 0 3px rgba(185,132,43,.12) !important; }

/* Bouton principal forêt -> or au survol */
body.lbt-page-don .lbt-don-btn{ background:#a8492b !important; border-radius:12px !important; font-family:'Fraunces',serif; }
body.lbt-page-don .lbt-don-btn:hover{ background:#8d3a20 !important; color:#fff !important; }
body.lbt-page-don .lbt-don-back{ color:#a8492b !important; }

/* Badges sécurité — retint discret */
body.lbt-page-don .lbt-don-sec-badge{ background:#fbf7ec !important; border-color:#e2d7bb !important; }
body.lbt-page-don .lbt-don-sec-label strong{ color:#1f5135 !important; }

/* ============================================================
   PAGE CARTE (17) — chrome almanach. Overrides des verts en dur
   (header, toggle, bouton ajouter). Tuiles Leaflet/OSM, pins et
   popups : INTACTS.
   Un bloc --lm-* (11 jetons) définissait ici une 3e nomenclature
   dupliquant --ll-*/almanach — jamais consommée par aucune règle
   (0 var(--lm-*) dans tout le thème), retiré (D1, Vague 4).
   ============================================================ */
body.lbt-page-carte .site-content{ background-color:#ece6d6 !important; }

/* Header forêt + grain, titre Fraunces, chiffres or */
body.lbt-page-carte .lm-carte-header{
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E"),
    radial-gradient(120% 130% at 88% -10%,#2c5a3a,#173324 55%,#10241a) !important;
}
body.lbt-page-carte .lm-carte-title{ font-family:'Fraunces',Georgia,serif !important; }
body.lbt-page-carte .lm-carte-stat span{ color:#d8a847 !important; }

/* Filtres : carton crème */
body.lbt-page-carte .lm-filters-wrap{ background:#fbf7ec !important; border-color:#ddd2b4 !important; }

/* Toggle lieux / événements : barre forêt + actif doré */
body.lbt-page-carte .lm-type-toggle{
  background:radial-gradient(120% 130% at 50% 0%,#1f4630,#10241a) !important;
}
body.lbt-page-carte .lm-type-btn.active{
  background:rgba(216,168,71,.25) !important; border-color:rgba(216,168,71,.55) !important;
}

/* Bouton « ajouter un lieu » : forêt -> or */
body.lbt-page-carte .lm-add-btn{ background:#1f5135 !important; border-radius:6px !important; font-family:'Fraunces',serif; }
body.lbt-page-carte .lm-add-btn:hover{ background:#b9842b !important; }
body.lbt-page-carte .lm-add-btn-outline{ background:transparent !important; color:#a8492b !important; border-color:#ddd2b4 !important; }
body.lbt-page-carte .lm-add-btn-outline:hover{ background:#fcf3df !important; }

/* Cadre carte */
body.lbt-page-carte .lm-map-frame{ border-color:#ddd2b4 !important; }

/* ============================================================
   REFONTE HOMEPAGE — mini-carte, onglets, accordéons, bandeau fusionné
   ============================================================ */

/* Mini-carte en tête de page */
.liberta-home .ll-hero-map-link{ border-color:var(--ll-border) !important; }
.liberta-home .ll-hero-map-badge{
  background:var(--ll-dark) !important; font-family:'Fraunces',serif;
  border-radius:4px;
}
.liberta-home .ll-hero-map-link:hover .ll-hero-map-badge{ background:var(--ll-honey) !important; color:#1a1206 !important; }

/* Bandeau fusionné sous les stats */
.liberta-home .ll-band-row{ border-color:var(--ll-border); }
.liberta-home .ll-band-row .ll-band-tag{ background:var(--ll-honey) !important; }

/* Onglets Fonctionnalités + Pour qui — fond blanc volontairement DÉTACHÉ du panneau
   crème en dessous (affordance de clic explicite, voir feedback_accessibility_public_ui) */
.liberta-home .ll-functions{ background:transparent; }
.liberta-home .ll-tab{
  background:var(--ll-white); border-color:var(--ll-border); color:var(--ll-text);
  font-family:'Fraunces',serif; border-radius:6px;
  box-shadow: 0 3px 0 var(--ll-border), 0 4px 10px -4px rgba(0,0,0,.2);
}
.liberta-home .ll-tab:hover{ border-color:var(--ll-honey); box-shadow: 0 5px 0 var(--ll-honey), 0 8px 14px -4px rgba(0,0,0,.25); }
.liberta-home .ll-tab.active{ background:var(--ll-green); border-color:var(--ll-green); color:var(--ll-white); box-shadow: 0 2px 0 rgba(0,0,0,.3) inset; }
.liberta-home .ll-tabs-hint{ font-family:'Spectral',Georgia,serif; }
.liberta-home .ll-tab-panel-solo{ background:var(--ll-cream); border:1px solid var(--ll-border); border-radius:var(--ll-radius); padding:clamp(24px,4vw,44px); }
.liberta-home .ll-tab-panel-dark{
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E"),
    radial-gradient(120% 120% at 10% 0%,#1f4630,#10241a) !important;
}

/* Accordéons (Petites annonces / Ğ1 en 3 clics fusionnés) */
.liberta-home .ll-accordion-toggle{ color:var(--ll-earth); font-family:'Fraunces',serif; }
.liberta-home .ll-accordion-toggle:hover{ color:#8a3a22; }

/* Why + Steps en deux colonnes */
.liberta-home .ll-whysteps-header{ text-align:left; }

/* ============================================================
   HERO V2 — carte plein écran en rupture (Phase 3, refonte homepage,
   direction "hero-b" validée sur maquette). Additif : n'affecte QUE
   .ll-hero.ll-hero-v2, jamais .ll-hero seul (hero v1 intact). Bascule
   via get_option('liberta_home_version') dans homepage-render.php.
   ============================================================ */
.liberta-home .ll-hero.ll-hero-v2{
  /* min-height calibrée pour tenir sous la ligne de flottaison une fois le
     header (topbar + logo + menu, ~150px) déduit — 100svh débordait et ne
     laissait voir que le tiers nord du hero (bug carte "Royaume-Uni au lieu
     de la France" constaté le 19/08). clamp() plutôt que calc(100svh - Xpx) :
     la hauteur du header varie selon la langue (menu qui se replie). */
  padding:0; text-align:left; min-height:clamp(460px, 68svh, 640px);
  display:grid; grid-template-columns:minmax(420px,48%) 1fr; align-items:stretch;
}
.liberta-home .ll-hero-v2-panel{
  position:relative; z-index:2; display:flex; flex-direction:column; justify-content:center;
  padding:clamp(48px,7vw,88px) clamp(24px,4vw,56px);
}
.liberta-home .ll-hero-v2-panel .ll-hero-title{ font-size:clamp(2rem,4vw,3.2rem); }
.liberta-home .ll-hero-v2-panel .ll-hero-sub{ max-width:480px; margin-bottom:26px; }
.liberta-home .ll-hero-v2-panel .ll-hero-actions{ margin-bottom:22px; }
.liberta-home .ll-hero-v2-panel .ll-registre{ margin-top:22px; max-width:380px; }

.liberta-home .ll-hero-v2-search{
  position:relative; display:flex; gap:8px; background:var(--ll-cream); border-radius:10px; padding:6px;
  max-width:460px; margin-bottom:12px; box-shadow:0 10px 24px -14px rgba(0,0,0,.4);
}
.liberta-home .ll-hero-v2-search input{
  flex:1; border:none; background:transparent; font-family:'Spectral',serif; font-size:1rem;
  padding:9px 12px; color:var(--ll-text); border-radius:6px;
}
.liberta-home .ll-hero-v2-search input::placeholder{ color:var(--ll-muted); }
.liberta-home .ll-hero-v2-search input:focus-visible{ outline:2px solid var(--ll-green); outline-offset:-2px; }

.liberta-home .ll-hero-v2-search-results{
  position:absolute; top:calc(100% + 6px); left:0; right:0; z-index:20;
  background:#fff; border-radius:10px; box-shadow:0 4px 16px rgba(0,0,0,.25);
  max-height:280px; overflow-y:auto; text-align:left;
}
.liberta-home .ll-hero-v2-sr-heading{
  padding:8px 14px 4px; font-family:var(--reg-mono); font-size:.72rem; letter-spacing:.04em;
  text-transform:uppercase; color:var(--ll-muted);
}
.liberta-home .ll-hero-v2-sr-item{
  padding:9px 14px; font-family:'Spectral',serif; font-size:.92rem; color:var(--ll-text);
  cursor:pointer;
}
.liberta-home .ll-hero-v2-sr-item:hover{ background:var(--ll-cream); }

.liberta-home .ll-hero-v2-geoloc{
  display:inline-flex; align-items:center; gap:6px; background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.25); color:#fff; border-radius:20px;
  padding:8px 16px; margin:0 0 24px; cursor:pointer; font-family:'Spectral',serif; font-size:.92rem;
  transition:background .2s ease, border-color .2s ease;
}
.liberta-home .ll-hero-v2-geoloc:hover,
.liberta-home .ll-hero-v2-geoloc:focus-visible{ background:rgba(216,168,71,.2); border-color:var(--ll-gold-l); }
.liberta-home .ll-hero-v2-geoloc.is-loading{ opacity:.6; pointer-events:none; }

.liberta-home .ll-hero-v2-founding{
  color:rgba(255,255,255,.85); font-family:var(--reg-mono); font-size:.8rem;
  line-height:1.5; margin:4px 0 20px; max-width:420px;
}
/* .ll-hero-proof est centré par défaut (hero v1) — le panneau v2 est aligné
   à gauche (text-align:left sur .ll-hero-v2), la ligne de preuve doit suivre. */
.liberta-home .ll-hero-v2-panel .ll-hero-v2-proof{
  justify-content:flex-start; margin-top:4px;
}

.liberta-home .ll-hero-v2-map-wrap{ position:relative; height:100%; min-height:340px; }
.liberta-home .ll-hero-v2-map-wrap .ll-hero-map-link{
  position:absolute; inset:0; border-radius:0; border:none; box-shadow:none; min-height:0;
}
.liberta-home .ll-hero-v2-map-wrap .ll-hero-map{ min-height:0; }

@media(max-width:900px){
  /* La carte s'affiche AU-DESSUS du panneau mais vient après lui dans le HTML : avec « order:-1 », si le navigateur peignait avant
     d'avoir lu toute la section, le panneau apparaissait en haut puis était repoussé de 280 px (décalage de mise en page, CLS ≈ 0,2 sur
     réseau lent). Les 280 px sont donc réservés d'emblée (padding-top) et la carte est posée dans cet espace. */
  .liberta-home .ll-hero.ll-hero-v2{ grid-template-columns:1fr; min-height:auto; position:relative; padding-top:280px; }
  .liberta-home .ll-hero-v2-map-wrap{ position:absolute; top:0; left:0; right:0; height:280px; min-height:0; }
  .liberta-home .ll-hero-v2-panel{ padding:32px 20px 40px; }
}
@media(max-width:640px){
  .liberta-home .ll-hero-v2-search{ flex-wrap:wrap; }
  .liberta-home .ll-hero-v2-search input,
  .liberta-home .ll-hero-v2-search button{ flex:1 1 100%; }
}
@media(prefers-reduced-motion:reduce){
  .liberta-home .ll-hero-v2-geoloc{ transition:none; }
}

/* ============================================================
   OBJECTIF DE DONS SUR LA CTA FINALE (Phase 5, hero v2 uniquement)
   /don/ définit .lbt-don-goal en <style> INLINE (don.php), donc absent
   ailleurs — recréé ici en jetons Almanach plutôt que d'importer la
   palette vert-500 plate du <style> interne (incohérence déjà notée,
   hors périmètre de correction ici).
   ============================================================ */
.liberta-home .ll-cta-goal{
  margin:28px auto 0; padding:20px 24px; background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.18); border-radius:var(--ll-radius); max-width:420px;
}
.liberta-home .ll-cta-goal h3{
  font-size:15px; font-weight:700; margin:0 0 12px; color:var(--ll-gold-l) !important;
  font-family:'Fraunces',serif;
}
.liberta-home .ll-cta-goal .lbt-don-goal-bar{
  background:rgba(255,255,255,.15); border-radius:999px; height:10px; overflow:hidden;
}
.liberta-home .ll-cta-goal .lbt-don-goal-fill{ background:var(--ll-gold-l); height:100%; border-radius:999px; transition:width .4s ease; }
.liberta-home .ll-cta-goal .lbt-don-goal-text{ font-size:14px; color:rgba(255,255,255,.82); margin:10px 0 0; }
.liberta-home .ll-cta-goal .lbt-don-goal-text strong{ color:#fff; }
@media(prefers-reduced-motion:reduce){
  .liberta-home .ll-cta-goal .lbt-don-goal-fill{ transition:none; }
}

/* ============================================================
   RÉVÉLATION AU SCROLL — hero v2 uniquement (Phase 6). N'existe QUE
   sous prefers-reduced-motion:no-preference : un visiteur en mouvement
   réduit voit tout immédiatement, sans dépendre du JS pour le savoir
   (liberta_hp_v2_motion_js() ajoute juste .ll-revealed au bon moment).
   Le hero (.ll-hero-v2) est explicitly exclu — jamais masqué.
   ============================================================ */
@media(prefers-reduced-motion:no-preference){
  .liberta-home.ll-home-v2 > section:not(.ll-hero-v2){
    opacity:0; transform:translateY(20px);
    transition:opacity .6s ease, transform .6s ease;
  }
  .liberta-home.ll-home-v2 > section.ll-revealed{ opacity:1; transform:none; }
}

/* ============================================================
   SECTION "COMMENT ÇA MARCHE" (hero v2 uniquement) — bug trouvé le 05/08
   en revue desktop : réutilisait .ll-steps-grid-vertical (margin:0 0 28px,
   PAS de centrage auto — conçu pour une demi-colonne étroite dans l'ancien
   layout à 2 colonnes) dans un .ll-container pleine largeur → bloc collé à
   gauche avec un grand vide à droite. Remplacé par .ll-steps-grid
   (horizontal, déjà centré nativement) dans homepage-sections.php.
   Ici : le texte d'en-tête (.ll-section-header h2 = var(--ll-dark), quasi
   noir) et la flèche (var(--ll-border), beige clair) étaient conçus pour un
   fond clair — invisibles sur .ll-dark-section. Même patron que
   .ll-colibri .ll-section-header h2 déjà en place (style.css:970).
   ============================================================ */
.liberta-home .ll-steps-solo .ll-section-label{ color:var(--ll-gold-l) !important; }
.liberta-home .ll-steps-solo .ll-section-header h2{ color:#fff !important; }
.liberta-home .ll-steps-solo .ll-step-arrow{ color:var(--ll-gold-l); }


/* « Par où commencer ? » (14/10/2026) — trois portes sous le hero (accueil v2) */
.liberta-home .ll-voies{padding:28px 0 8px}
.liberta-home .ll-voies-label{font-size:1.05rem;letter-spacing:.06em;text-transform:uppercase;color:var(--ll-muted);margin:0 0 14px;font-family:inherit!important;font-weight:700}
.liberta-home .ll-voies-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.liberta-home .ll-voie,.liberta-home .ll-voie *{text-decoration:none!important}
.liberta-home .ll-voie{display:flex;flex-direction:column;gap:8px;padding:20px;border:1px solid var(--ll-border);border-radius:14px;background:var(--ll-cream);color:var(--ll-text);text-decoration:none;min-width:0;transition:transform .15s,box-shadow .15s}
.liberta-home .ll-voie:hover,.liberta-home .ll-voie:focus-visible{transform:translateY(-2px);box-shadow:0 6px 18px rgba(31,81,53,.14);outline:2px solid var(--ll-green)}
.liberta-home .ll-voie-emoji{font-size:2rem;line-height:1}
.liberta-home .ll-voie-t{font-size:1.15rem;color:var(--ll-green);line-height:1.25}
.liberta-home .ll-voie-d{font-size:.95rem;line-height:1.5;color:var(--ll-text)}
.liberta-home .ll-voie-cta{margin-top:auto;font-weight:700;color:var(--ll-earth)}
.liberta-home .ll-voie2{border-color:var(--ll-green-l)}
@media (prefers-reduced-motion:reduce){.liberta-home .ll-voie{transition:none}}

.liberta-home .ll-voie-cta{text-decoration:none}
.liberta-home div.ll-voie .ll-voie-cta{display:block}
.liberta-home div.ll-voie .ll-voie-cta:hover,.liberta-home div.ll-voie .ll-voie-cta:focus-visible{text-decoration:underline}

/* « Où en est Liberta Local, en vrai » : compteurs réels */
.liberta-home .ll-progres{padding:8px 0 16px}
.liberta-home .ll-progres-tuiles{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 12px}
.liberta-home .ll-progres-tuile{padding:10px 16px;border:1px solid var(--ll-border);border-radius:999px;background:var(--ll-cream);color:var(--ll-text)}
.liberta-home .ll-progres-tuile strong{font-size:1.25rem;color:var(--ll-green);margin-inline-end:4px}
.liberta-home .ll-progres-secteur{margin:10px 0;max-width:560px}
.liberta-home .ll-progres-barre{background:#e5e0cf;border-radius:6px;height:12px;overflow:hidden;margin-top:6px}
.liberta-home .ll-progres-barre div{height:12px;background:var(--ll-honey)}
.liberta-home .ll-progres-note{font-size:.85rem;color:var(--ll-muted);margin-top:8px}

/* Soutien dans le hero v2 (23/10/2026) : barre d'objectif de dons + liens, sous la ligne de preuve. */
.liberta-home .ll-hero-v2-support{ margin-top:18px; max-width:420px; }
.liberta-home .ll-hero-v2-support .lbt-don-goal-bar{ background:rgba(255,255,255,.15); border-radius:999px; height:6px; overflow:hidden; }
.liberta-home .ll-hero-v2-support .lbt-don-goal-fill{ background:var(--ll-gold-l); height:100%; border-radius:999px; }
.liberta-home .ll-hero-v2-support .lbt-don-goal-text{ font-size:13px; color:rgba(255,255,255,.85); margin:8px 0 0; }
.liberta-home .ll-hero-v2-support a{ color:var(--ll-gold-l); font-weight:700; text-decoration:underline; }
.liberta-home .ll-hero-v2-support .lbt-don-goal-text a{ display:block; margin-top:6px; }
/* Compteur de dons mis en avant (23/10/2026) : carte encadrée sous les boutons. */
.liberta-home .ll-hero-v2-support{ padding:16px 20px; background:rgba(255,255,255,.08); border:1px solid rgba(216,168,71,.55); border-radius:var(--ll-radius); }
.liberta-home .ll-hero-v2-support .ll-hero-v2-support-title{ margin:0 0 10px; font-family:'Fraunces',serif; font-weight:700; font-size:15px; color:var(--ll-gold-l); }
.liberta-home .ll-hero-v2-support .lbt-don-goal-bar{ height:10px; }
.liberta-home .ll-hero-v2-support .lbt-don-goal-text{ font-size:14px; }
.liberta-home .ll-hero-v2-support .lbt-don-goal-text strong{ color:#fff; font-size:1.25em; }
.liberta-home .ll-hero-v2-support .lbt-don-goal-text a{ display:inline-block; margin-top:10px; padding:8px 16px; background:var(--ll-gold-l); color:#1a1a1a; border-radius:999px; text-decoration:none; }
.liberta-home .ll-hero-v2-support .lbt-don-goal-text a:hover,.liberta-home .ll-hero-v2-support .lbt-don-goal-text a:focus-visible{ background:#fff; }
.liberta-home .ll-hero-v2-support .lbt-don-goal-text + .lbt-don-goal-text a{ display:inline; margin:0; padding:0; background:none; color:var(--ll-gold-l); text-decoration:underline; }

/* Univers sur mobile (23/10/2026) : 2 colonnes compactes + familles en accordéon (le JS ajoute .is-collapsible ; sans JS tout reste ouvert). */
@media(max-width:600px){
  .liberta-home .ll-fams{gap:10px;margin-top:24px}
  .liberta-home .ll-fam .ll-cats-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px}
  .liberta-home .ll-fam .ll-cat-more>summary{min-height:36px;padding:6px 10px;font-size:.78rem}
  .liberta-home .ll-fam .ll-cat-more{margin-top:4px}
  .liberta-home .ll-fam .ll-cat-wrap .ll-cat-examples,
  .liberta-home .ll-fam .ll-cat-wrap .ll-cat-go{display:none!important}
  .liberta-home .ll-fam .ll-cat-item{padding:12px 8px 10px;min-height:0}
  .liberta-home .ll-fam .ll-cat-wrap:has(.ll-cat-more[open]){grid-column:1/-1}
  .liberta-home .ll-fam.is-collapsible .ll-fam-head{margin-bottom:0;cursor:pointer;position:relative;padding-right:28px;-webkit-tap-highlight-color:transparent}
  .liberta-home .ll-fam.is-collapsible .ll-fam-head::after{content:"";position:absolute;right:4px;top:50%;width:10px;height:10px;margin-top:-5px;border:solid var(--fam-dark,#334155);border-width:0 3px 3px 0;transform:translateY(-25%) rotate(45deg);transition:transform .2s ease}
  .liberta-home .ll-fam.is-collapsible.is-open .ll-fam-head{margin-bottom:12px}
  .liberta-home .ll-fam.is-collapsible.is-open .ll-fam-head::after{transform:translateY(25%) rotate(225deg)}
  .liberta-home .ll-fam.is-collapsible .ll-fam-head:focus-visible{outline:3px solid var(--fam,var(--ll-green));outline-offset:3px;border-radius:10px}
  .liberta-home .ll-fam.is-collapsible:not(.is-open) .ll-cats-grid,
  .liberta-home .ll-fam.is-collapsible:not(.is-open) .ll-fam-desc{display:none}
  .liberta-home .ll-fam.is-collapsible{padding-top:12px;padding-bottom:12px}
  .liberta-home .ll-fam.is-collapsible.is-open{padding-bottom:16px}
}
@media(prefers-reduced-motion:reduce){.liberta-home .ll-fam.is-collapsible .ll-fam-head::after{transition:none}}
.liberta-home .ll-fam-count{display:none}
@media(max-width:600px){.liberta-home .ll-fam.is-collapsible .ll-fam-count{display:inline;font-weight:600;opacity:.75}}

/* ============================================================
   INDICATEUR DE LIEN HARMONISÉ (23/10/2026) — remplace les flèches « → » du texte.
   Boutons : pilule + chevron fin (SVG en masque, hérite de la couleur du texte) qui glisse au survol.
   Liens-phrases : soulignement épais couleur de marque, sans flèche.
   ============================================================ */
.liberta-home a.lt-btn--primary::after,
.liberta-home a.lt-btn--on-dark::after,
.liberta-home a.lt-btn--secondary::after,
.liberta-home a.lt-btn--light::after,
.liberta-home .ll-cat-go::after,
.liberta-home .ll-hero-map-badge::after,
.liberta-home a.ll-entraide-learn-more::after,
.liberta-home .ll-launch-feat-read::after,
.liberta-home .ll-step-arrow::before{
  content:""; display:inline-block; width:.62em; height:.62em; margin-inline-start:.55em; vertical-align:-.03em; flex:none;
  background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4l8 8-8 8'/%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='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4l8 8-8 8'/%3E%3C/svg%3E") center/contain no-repeat;
  transition:transform .2s ease;
}
.liberta-home a.lt-btn--primary:hover::after,.liberta-home a.lt-btn--primary:focus-visible::after,
.liberta-home a.lt-btn--on-dark:hover::after,.liberta-home a.lt-btn--on-dark:focus-visible::after,
.liberta-home a.lt-btn--secondary:hover::after,.liberta-home a.lt-btn--secondary:focus-visible::after,
.liberta-home a.lt-btn--light:hover::after,.liberta-home a.lt-btn--light:focus-visible::after,
.liberta-home a:hover .ll-cat-go::after,.liberta-home a:focus-visible .ll-cat-go::after,
.liberta-home .ll-hero-map-link:hover .ll-hero-map-badge::after,
.liberta-home a.ll-entraide-learn-more:hover::after{ transform:translateX(4px); }
[dir="rtl"] .liberta-home a.lt-btn--primary::after,[dir="rtl"] .liberta-home a.lt-btn--on-dark::after,
[dir="rtl"] .liberta-home a.lt-btn--secondary::after,[dir="rtl"] .liberta-home a.lt-btn--light::after,
[dir="rtl"] .liberta-home .ll-cat-go::after,[dir="rtl"] .liberta-home .ll-hero-map-badge::after,
[dir="rtl"] .liberta-home a.ll-entraide-learn-more::after,[dir="rtl"] .liberta-home .ll-launch-feat-read::after,
[dir="rtl"] .liberta-home .ll-step-arrow::before{ transform:scaleX(-1); }
[dir="rtl"] .liberta-home a.lt-btn--primary:hover::after,[dir="rtl"] .liberta-home a.lt-btn--on-dark:hover::after,
[dir="rtl"] .liberta-home a.lt-btn--secondary:hover::after,[dir="rtl"] .liberta-home a.lt-btn--light:hover::after{ transform:scaleX(-1) translateX(4px); }
/* Les boutons-formulaire (recherche) et boutons déjà sans destination n'ont pas de chevron : seuls les <a> en reçoivent. */
.liberta-home .ll-step-arrow{ font-size:20px; display:flex; align-items:center; justify-content:center; }
.liberta-home .ll-step-arrow::before{ width:1em; height:1em; margin:0; }
/* Liens-phrases : soulignement épais, couleur de marque, qui s'épaissit au survol. */
.liberta-home .ll-feature-link,.liberta-home a.ll-voie-cta,.liberta-home .ll-cta-don-link,.liberta-home .ll-cta-login a,
.liberta-home .ll-hero-v2-support .lbt-don-goal-text + .lbt-don-goal-text a{
  text-decoration:underline!important; text-decoration-thickness:2px!important; text-underline-offset:5px!important;
  text-decoration-color:var(--ll-gold,#b9842b)!important; transition:text-decoration-thickness .15s ease, color .15s ease;
}
.liberta-home .ll-feature-link:hover,.liberta-home a.ll-voie-cta:hover,.liberta-home .ll-cta-don-link:hover,.liberta-home .ll-cta-login a:hover,
.liberta-home .ll-hero-v2-support .lbt-don-goal-text + .lbt-don-goal-text a:hover,
.liberta-home .ll-feature-link:focus-visible,.liberta-home a.ll-voie-cta:focus-visible{ text-decoration-thickness:4px!important; }
@media(prefers-reduced-motion:reduce){.liberta-home a::after,.liberta-home .ll-cat-go::after{transition:none!important}}

/* Même chevron sur les autres pages publiques de Local (annuaire, événements, aide, carte, don) — 23/10/2026. */
a.ll-kb-open::after,a.ll-dir-card-btn-primary::after,a.lm-founding-btn::after,a.ll-g1x-du-link::after,
.ll-dir-cta a::after,#lbt-don-next-label::after,a.lh-news-read::after{
  content:""; display:inline-block; width:.62em; height:.62em; margin-inline-start:.5em; vertical-align:-.03em; background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4l8 8-8 8'/%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='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4l8 8-8 8'/%3E%3C/svg%3E") center/contain no-repeat;
  transition:transform .2s ease;
}
a.ll-kb-open:hover::after,a.ll-dir-card-btn-primary:hover::after,a.lm-founding-btn:hover::after,.ll-dir-cta a:hover::after{ transform:translateX(4px); }
[dir="rtl"] a.ll-kb-open::after,[dir="rtl"] a.ll-dir-card-btn-primary::after,[dir="rtl"] a.lm-founding-btn::after,[dir="rtl"] .ll-dir-cta a::after,[dir="rtl"] #lbt-don-next-label::after{ transform:scaleX(-1); }
a.ll-kb-open,a.ll-g1x-du-link{ text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:5px; }
a.lbt-ab-go::after{ content:""; display:inline-block; width:.6em; height:.6em; margin-inline-start:.45em; vertical-align:-.03em; background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4l8 8-8 8'/%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='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4l8 8-8 8'/%3E%3C/svg%3E") center/contain no-repeat; }
[dir="rtl"] a.lbt-ab-go::after{ transform:scaleX(-1); }

/* « Pourquoi Liberta Local » dans le hero v2 (23/10/2026) : 4 pastilles cliquables, le détail s'affiche dessous. */
.liberta-home .ll-hero-v2-why{ display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 0; }
.liberta-home .ll-hero-v2-why-chip{ cursor:pointer; font:inherit; font-size:.88rem; font-weight:700; color:#fff; background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.35); border-radius:999px; padding:8px 14px; min-height:40px; transition:background .15s ease,border-color .15s ease; }
.liberta-home .ll-hero-v2-why-chip::before{ content:"+"; display:inline-block; margin-inline-end:.45em; color:var(--ll-gold-l); font-weight:800; }
.liberta-home .ll-hero-v2-why-chip[aria-expanded="true"]::before{ content:"–"; }
.liberta-home .ll-hero-v2-why-chip:hover,.liberta-home .ll-hero-v2-why-chip:focus-visible,.liberta-home .ll-hero-v2-why-chip[aria-expanded="true"]{ background:rgba(216,168,71,.22); border-color:var(--ll-gold-l); }
.liberta-home .ll-hero-v2-why-chip:focus-visible{ outline:3px solid var(--ll-gold-l); outline-offset:2px; }
.liberta-home .ll-hero-v2-why-desc{ margin:10px 0 0; max-width:440px; font-size:.92rem; line-height:1.5; color:rgba(255,255,255,.9); border-inline-start:3px solid var(--ll-gold-l); padding-inline-start:12px; }

/* Pastilles d'arguments colorées (23/10/2026) : une teinte de la charte par pastille + icône ; apparition décalée. */
.liberta-home .ll-hero-v2-why-chip{ --chip:#d8a847; display:inline-flex; align-items:center; gap:8px; font-weight:800;
  background:color-mix(in srgb,var(--chip) 20%,rgba(10,30,20,.55)); border:1.5px solid var(--chip); box-shadow:0 2px 10px color-mix(in srgb,var(--chip) 22%,transparent); }
.liberta-home .ll-hero-v2-why-chip.ll-why-c0{ --chip:#e0b04f; }
.liberta-home .ll-hero-v2-why-chip.ll-why-c1{ --chip:#7fd19a; }
.liberta-home .ll-hero-v2-why-chip.ll-why-c2{ --chip:#f0916a; }
.liberta-home .ll-hero-v2-why-chip.ll-why-c3{ --chip:#6fd0d4; }
.liberta-home .ll-hero-v2-why-chip .ll-why-ic{ width:20px; height:20px; flex:none; color:var(--chip); }
.liberta-home .ll-hero-v2-why-chip::before{ content:none; }
.liberta-home .ll-hero-v2-why-chip::after{ content:"+"; margin-inline-start:2px; color:var(--chip); font-weight:900; }
.liberta-home .ll-hero-v2-why-chip[aria-expanded="true"]::after{ content:"–"; }
.liberta-home .ll-hero-v2-why-chip:hover,.liberta-home .ll-hero-v2-why-chip:focus-visible,.liberta-home .ll-hero-v2-why-chip[aria-expanded="true"]{
  background:color-mix(in srgb,var(--chip) 38%,rgba(10,30,20,.5)); border-color:var(--chip); transform:translateY(-2px); }
.liberta-home .ll-hero-v2-why-chip:focus-visible{ outline-color:var(--chip); }
.liberta-home .ll-hero-v2-why-desc{ border-inline-start-color:var(--ll-gold-l); }
@media(prefers-reduced-motion:no-preference){
  .liberta-home .ll-hero-v2-why-chip{ opacity:0; transform:translateY(8px); animation:llWhyIn .5s ease forwards; transition:background .15s ease,transform .15s ease; }
  .liberta-home .ll-hero-v2-why-chip.ll-why-c1{ animation-delay:.12s; } .liberta-home .ll-hero-v2-why-chip.ll-why-c2{ animation-delay:.24s; } .liberta-home .ll-hero-v2-why-chip.ll-why-c3{ animation-delay:.36s; }
  .liberta-home .ll-hero-v2-why-chip:hover,.liberta-home .ll-hero-v2-why-chip:focus-visible,.liberta-home .ll-hero-v2-why-chip[aria-expanded="true"]{ transform:translateY(-2px); }
}
@keyframes llWhyIn{ to{ opacity:1; transform:none; } }
.liberta-home .ll-hero-v2-why-chip[aria-expanded="true"]::before{ content:none; }

/* Liens secondaires des cartes « Par où commencer » : l'icône reste hors du soulignement et le texte garde un soulignement net sur 2 lignes. */
.liberta-home a.ll-voie-cta:has(.ll-voie-cta-t){ display:flex; align-items:baseline; gap:6px; text-decoration:none!important; }
.liberta-home a.ll-voie-cta .ll-voie-cta-t{ text-decoration:underline!important; text-decoration-thickness:2px!important; text-underline-offset:5px; text-decoration-color:var(--ll-gold,#b9842b)!important; }
.liberta-home a.ll-voie-cta:hover .ll-voie-cta-t,.liberta-home a.ll-voie-cta:focus-visible .ll-voie-cta-t{ text-decoration-thickness:4px!important; }
/* Deux boutons de fin de bloc « univers » : empilés sur mobile, même largeur. */
@media(max-width:600px){
  .liberta-home .ll-cats-ctas{ display:flex; flex-direction:column; gap:12px; align-items:stretch; }
  .liberta-home .ll-cats-ctas > a{ margin:0!important; width:100%; box-sizing:border-box; justify-content:center; text-align:center; }
}
.liberta-home .ll-voie span.ll-voie-cta{ text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:5px; text-decoration-color:var(--ll-gold,#b9842b); }
.liberta-home a.ll-voie:hover span.ll-voie-cta,.liberta-home a.ll-voie:focus-visible span.ll-voie-cta{ text-decoration-thickness:4px; }

/* Surtitre du hero v2 (23/10/2026) : plus de pilule dorée ni d'emoji — une ligne sobre, petite icône SVG de pousse et filet fin. */
.liberta-home .ll-hero-v2-panel .ll-hero-badge.ll-hero-eyebrow{
  display:flex; align-items:center; gap:10px; background:none!important; border:0!important; box-shadow:none!important; padding:0!important; margin:0 0 18px;
  color:var(--ll-gold-l)!important; font-family:var(--reg-mono, 'Spectral', serif); font-size:.78rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; line-height:1.4; border-radius:0;
}
.liberta-home .ll-hero-v2-panel .ll-eyebrow-ic{ width:22px; height:22px; flex:none; color:var(--ll-gold-l); }
.liberta-home .ll-hero-v2-panel .ll-hero-eyebrow::before{ content:""; flex:none; width:28px; height:2px; background:var(--ll-gold-l); opacity:.7; }
@media(max-width:600px){ .liberta-home .ll-hero-v2-panel .ll-hero-eyebrow::before{ display:none; } .liberta-home .ll-hero-v2-panel .ll-hero-badge.ll-hero-eyebrow{ font-size:.74rem; letter-spacing:.09em; } }

/* Surtitre en deux pastilles-expressions (23/10/2026) : jamais coupées au milieu d'un mot orphelin, une par ligne si l'écran est étroit. */
.liberta-home .ll-hero-v2-panel .ll-hero-badge.ll-hero-eyebrow{ flex-wrap:wrap; gap:8px; text-transform:none; letter-spacing:0; font-family:inherit; margin:0 0 20px; }
.liberta-home .ll-hero-v2-panel .ll-hero-eyebrow::before{ display:none!important; }
.liberta-home .ll-hero-v2-panel .ll-eb-pill{ display:inline-flex; align-items:center; gap:8px; max-width:100%; padding:7px 14px 7px 11px; border-radius:999px; font-size:.9rem; font-weight:800; line-height:1.25; text-wrap:balance; }
.liberta-home .ll-hero-v2-panel .ll-eb-pill .ll-eyebrow-ic{ width:20px; height:20px; flex:none; color:inherit; }
.liberta-home .ll-hero-v2-panel .ll-eb-a{ color:#2a1d05; background:linear-gradient(135deg,#e6b95a,#d8a847); box-shadow:0 2px 10px rgba(216,168,71,.35); }
.liberta-home .ll-hero-v2-panel .ll-eb-b{ color:#eafff1; background:rgba(127,209,154,.2); border:1.5px solid #7fd19a; }
@media(max-width:600px){ .liberta-home .ll-hero-v2-panel .ll-hero-badge.ll-hero-eyebrow{ font-size:inherit; letter-spacing:0; } .liberta-home .ll-hero-v2-panel .ll-eb-pill{ font-size:.86rem; } }

/* ============================================================
   Haut du hero v2 refondu (23/10/2026) : une seule grille alignée à gauche, recherche en vedette (pilule + « Près de chez moi » intégré),
   deux boutons de même largeur dessous. Le sous-titre n'est plus centré (c'était le décalage), les boutons ne sont plus centrés.
   ============================================================ */
.liberta-home .ll-hero-v2-panel{ --hero-col:620px; }
.liberta-home .ll-hero-v2-panel .ll-hero-title{ font-size:clamp(2rem,2.9vw,3rem)!important; line-height:1.08!important; margin-bottom:16px!important; }
.liberta-home .ll-hero-v2-panel .ll-hero-sub{ margin:0 0 24px!important; max-width:var(--hero-col); font-size:clamp(1rem,1.25vw,1.1rem); line-height:1.6; text-align:left; }
.liberta-home .ll-hero-v2-search{ max-width:var(--hero-col); width:100%; margin:0 0 12px; padding:6px 6px 6px 18px; border-radius:999px; align-items:center; gap:6px;
  box-shadow:0 14px 34px -14px rgba(0,0,0,.55), 0 0 0 2px rgba(216,168,71,.55); }
.liberta-home .ll-hero-v2-search input{ min-width:0; padding:12px 6px; font-size:1.05rem; }
.liberta-home .ll-hero-v2-search .ll-hero-v2-geoloc{ flex:none; margin:0; padding:9px 14px; background:rgba(31,81,53,.08); border:1px solid rgba(31,81,53,.28); color:var(--ll-forest,#1f5135); border-radius:999px; font-weight:700; font-size:.9rem; }
.liberta-home .ll-hero-v2-search .ll-hero-v2-geoloc svg{ width:18px; height:18px; flex:none; color:var(--ll-terra,#a8492b); }
.liberta-home .ll-hero-v2-search .ll-hero-v2-geoloc:hover,.liberta-home .ll-hero-v2-search .ll-hero-v2-geoloc:focus-visible{ background:rgba(216,168,71,.25); border-color:var(--ll-gold,#b9842b); }
.liberta-home .ll-hero-v2-search > .lt-btn--primary{ flex:none; border-radius:999px; padding:12px 24px; }
.liberta-home .ll-hero-v2-panel .ll-hero-actions{ display:grid; grid-template-columns:1fr 1fr; gap:12px; max-width:var(--hero-col); width:100%; margin:0 0 22px; justify-content:stretch; }
.liberta-home .ll-hero-v2-panel .ll-hero-actions > a{ display:flex; align-items:center; justify-content:center; min-height:52px; margin:0!important; text-align:center; box-sizing:border-box; }
@media(max-width:700px){
  .liberta-home .ll-hero-v2-search{ border-radius:18px; padding:8px; flex-wrap:wrap; }
  .liberta-home .ll-hero-v2-search input{ flex:1 1 100%; padding:12px 10px; }
  .liberta-home .ll-hero-v2-search .ll-hero-v2-geoloc{ flex:1 1 100%; justify-content:center; }
  .liberta-home .ll-hero-v2-search > .lt-btn--primary{ flex:1 1 100%; border-radius:12px; }
  .liberta-home .ll-hero-v2-panel .ll-hero-actions{ grid-template-columns:1fr; }
  .liberta-home .ll-hero-v2-panel .ll-hero-sub{ font-size:1rem; }
}

/* Pilule de recherche de l'en-tête (24/10/2026) : surcharge la règle « icône 34 px » du thème. */
#masthead .liberta-nav-search-item .lgs-toggle.lgs-pill{ width:auto!important; height:auto!important; min-height:36px; padding:7px 14px!important; border:1px solid rgba(255,255,255,.35)!important; border-radius:999px!important; background:rgba(255,255,255,.12)!important; color:#fff!important; gap:8px; justify-content:flex-start; }
#masthead .liberta-nav-search-item .lgs-toggle.lgs-pill:hover,#masthead .liberta-nav-search-item .lgs-toggle.lgs-pill:focus-visible{ background:rgba(216,168,71,.28)!important; border-color:#d8a847!important; color:#fff!important; }
@media(max-width:1280px){ #masthead .liberta-nav-search-item .lgs-toggle.lgs-pill{ padding:8px 10px!important; } }
/* Hero sans barre de recherche : sous-titre puis boutons alignés */
.liberta-home .ll-hero-v2-panel .ll-hero-sub{ margin-bottom:22px!important; }

/* Corrections desktop (24/10/2026) : boutons de fin de bloc « univers » alignés et de même taille ; cartes d'une même rangée de même hauteur. */
@media(min-width:601px){
  .liberta-home .ll-cats-ctas{ display:flex; justify-content:center; align-items:stretch; gap:16px; flex-wrap:wrap; }
  .liberta-home .ll-cats-ctas > a{ margin:0!important; display:inline-flex; align-items:center; justify-content:center; min-width:280px; min-height:54px; box-sizing:border-box; }
}
@media(min-width:901px){
  .liberta-home .ll-fam .ll-cats-grid{ align-items:stretch; }
}


/* ---- Bandeau de page réutilisable (04/11/2026) : vert forêt à motif, grand titre Fraunces, barre d'actions blanche en relief ---- */
.liberta-home .ll-page-hero{position:relative;overflow:hidden;margin:18px 0 0;padding:34px 32px 64px;border-radius:var(--ll-radius,8px);background:radial-gradient(120% 120% at 88% 0%,#1f4630,#10241a);color:#fff}
.liberta-home .ll-page-hero::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.45;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg fill='none' stroke='%23d8a847' stroke-width='1.2' opacity='.55'%3E%3Cpath d='M20 12v16M12 20h16M14 14l12 12M26 14L14 26'/%3E%3Cpath d='M88 78v12M82 84h12'/%3E%3C/g%3E%3Ccircle cx='96' cy='24' r='2' fill='%23d8a847' opacity='.6'/%3E%3C/svg%3E")}
.liberta-home .ll-page-hero>*{position:relative;z-index:1}
.liberta-home .ll-page-hero h1{font-family:'Fraunces',Georgia,serif;font-size:clamp(2rem,5vw,3.1rem);font-weight:900;line-height:1.05;color:#fff !important;margin:0 0 .5rem}
.liberta-home .ll-page-hero p{color:#f4eede;margin:0;max-width:56ch;font-size:1.06rem;line-height:1.55}
.liberta-home .ll-page-bar{position:relative;z-index:3;margin:-30px 16px 20px;padding:10px 12px;background:#fff;border:1px solid var(--ll-border,#ddd2b4);border-radius:14px;box-shadow:0 8px 24px rgba(18,40,27,.14),0 2px 6px rgba(18,40,27,.08)}
@media(max-width:820px){.liberta-home .ll-page-hero{padding:22px 18px 52px}.liberta-home .ll-page-bar{margin:-26px 8px 16px}}

/* Deux cartes « habitants » / « producteurs et artisans » dans le hero v2 (08/11/2026). */
.liberta-home .ll-hero-v2-audiences{ display:grid; grid-template-columns:1fr 1fr; gap:14px; max-width:var(--hero-col,620px); width:100%; margin:6px 0 0; }
.liberta-home .ll-aud{ display:flex; flex-direction:column; gap:12px; padding:18px 18px 20px; border-radius:16px; background:var(--ll-paper,#fbf7ec); color:#1c2a22; border:1px solid rgba(255,255,255,.5); border-top:5px solid var(--ll-forest,#1f5135); box-shadow:0 14px 34px -16px rgba(0,0,0,.55); }
.liberta-home .ll-aud-pro{ border-top-color:var(--ll-terra,#a8492b); }
.liberta-home .ll-aud-title{ display:flex; align-items:center; gap:10px; margin:0!important; font-size:1.12rem!important; line-height:1.2!important; color:var(--ll-forest,#1f5135)!important; }
.liberta-home .ll-aud-pro .ll-aud-title{ color:var(--ll-terra,#a8492b)!important; }
.liberta-home .ll-aud-ic{ flex:none; }
.liberta-home .ll-aud-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; flex:1 1 auto; }
.liberta-home .ll-aud-list li{ position:relative; padding-inline-start:22px; font-size:.95rem; line-height:1.35; font-weight:600; }
.liberta-home .ll-aud-list li::before{ content:""; position:absolute; inset-inline-start:2px; top:.35em; width:7px; height:12px; border:solid var(--ll-forest,#1f5135); border-width:0 2.5px 2.5px 0; transform:rotate(45deg); }
.liberta-home .ll-aud-pro .ll-aud-list li::before{ border-color:var(--ll-terra,#a8492b); }
.liberta-home .ll-aud > .lt-btn{ margin:0!important; width:100%; box-sizing:border-box; justify-content:center; text-align:center; min-height:50px; }
.liberta-home .ll-aud-pro > .lt-btn{ background:var(--ll-terra,#a8492b); border-color:var(--ll-terra,#a8492b); }
.liberta-home .ll-hero-v2-panel .ll-hero-sub strong{ font-size:1.2em; color:var(--ll-gold-l,#d8a847); }
@media(max-width:700px){ .liberta-home .ll-hero-v2-audiences{ grid-template-columns:1fr; } }
/* Lignes dépliables des cartes (08/11/2026) : <details> natif, clavier et lecteur d'écran gérés par le navigateur. */
.liberta-home .ll-aud-more summary{ cursor:pointer; list-style:none; display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:28px; }
.liberta-home .ll-aud-more summary::-webkit-details-marker{ display:none; }
.liberta-home .ll-aud-more summary::after{ content:"+"; flex:none; font-weight:900; color:var(--ll-terra,#a8492b); }
.liberta-home .ll-aud-hab .ll-aud-more summary::after{ color:var(--ll-forest,#1f5135); }
.liberta-home .ll-aud-more[open] summary::after{ content:"–"; }
.liberta-home .ll-aud-more summary:focus-visible{ outline:3px solid var(--ll-gold,#b9842b); outline-offset:2px; border-radius:4px; }
.liberta-home .ll-aud-more p{ margin:6px 0 0; font-size:.88rem; font-weight:400; line-height:1.45; color:#3a463d; }
.liberta-home .ll-hero-v2-audiences{ align-items:start; }
/* Téléphone (08/11/2026) : carte du hero réduite à 150 px pour que le titre soit lisible sans défiler (bannières et en-tête occupent déjà ~175 px). Tablette : 280 px inchangés. */
@media(max-width:640px){
  .liberta-home .ll-hero.ll-hero-v2{ padding-top:150px; }
  .liberta-home .ll-hero-v2-map-wrap{ height:150px; }
  .liberta-home .ll-hero-v2-panel{ padding-top:24px; }
}

/* Section « Soutenir Liberta Local » de l'accueil (08/11/2026). */
.liberta-home .ll-support{ padding:56px 20px; background:var(--ll-paper,#fbf7ec); }
.liberta-home .ll-support-in{ max-width:640px; margin:0 auto; text-align:center; }
.liberta-home .ll-support h2{ margin:0 0 12px; color:var(--ll-forest,#1f5135); }
.liberta-home .ll-support-story{ margin:0 auto 18px; font-size:1.05rem; line-height:1.6; color:#26301f; }
.liberta-home .ll-support-facts{ list-style:none; margin:0 0 24px; padding:0; display:flex; flex-wrap:wrap; justify-content:center; gap:8px; }
.liberta-home .ll-support-facts li{ padding:7px 14px; border-radius:999px; background:#fff; border:1.5px solid var(--ll-forest,#1f5135); color:var(--ll-forest,#1f5135); font-weight:700; font-size:.92rem; }
.liberta-home .ll-support .lbt-don-costs{ text-align:left; margin-bottom:22px; }
.liberta-home .ll-support-amounts{ display:flex; flex-wrap:wrap; justify-content:center; gap:10px; }
.liberta-home .ll-support-amounts .lt-btn{ min-width:120px; }
.liberta-home .ll-support-other{ margin:14px 0 0; }
.liberta-home .ll-support-other a{ color:var(--ll-forest,#1f5135); font-weight:700; text-decoration:underline; }
.liberta-home .ll-support-legal{ margin:14px 0 0; font-size:.85rem; color:#4b5563; }
.liberta-home .lbt-don-costs{ max-width:560px; margin:0 auto 22px; padding:20px 22px; background:#fff; border:1px solid #e5e7eb; border-radius:14px; }
.liberta-home .lbt-don-costs h3{ margin:0 0 12px; font-size:1.05rem; color:var(--ll-forest,#1f5135); }
.liberta-home .lbt-don-costs ul{ list-style:none; margin:0; padding:0; }
.liberta-home .lbt-don-costs li{ display:flex; justify-content:space-between; gap:12px; padding:8px 0; border-bottom:1px dashed #e5e7eb; }
.liberta-home .lbt-don-costs li strong{ white-space:nowrap; }
.liberta-home .lbt-don-costs .lbt-don-costs-total{ border-bottom:0; border-top:2px solid var(--ll-forest,#1f5135); margin-top:4px; font-weight:800; }
.liberta-home .lbt-don-costs-note{ margin:12px 0 0; font-size:.9rem; color:#4b5563; }
/* Page de don (08/11/2026) : piliers compacts, icône à gauche, filet doré. */
body.lbt-page-don .lbt-don-pillar{ background:transparent !important; border:0 !important; border-top:3px solid #d8a847 !important; border-radius:0 !important; padding:14px 6px 8px !important; box-shadow:none !important; }

.lbt-don-costs-year{ font-size:.85em; color:#4b5563; white-space:nowrap; }
