/* ====================== NAMESPACE .hb (no conflict) ====================== */
.hb{
  --hb-brand: <?php echo $brand; ?>;
  --hb-ink:#0f172a; --hb-muted:#65758b; --hb-bg:#fafbfb;
  --hb-card:#fff; --hb-bd:#e6ebef; --hb-soft:#f3f4f6;
  --hb-r:16px; --hb-shadow:0 10px 28px rgba(0,0,0,.06);
  color:var(--hb-ink); background:var(--hb-bg);
  overflow-x: clip;
}
.hb, .hb *{ box-sizing:border-box; min-width:0; }

/* ====================== LAYOUT / BANDS ====================== */
.hb .hb-container{ max-width:min(1400px,95vw); margin:0 auto; padding:0 12px; }
.hb .hb-section[aria-label="Avis & labels"]{
  position: relative;
  z-index: 10;           /* au-dessus du hero et de ses pseudo-éléments */
  transform: translateY(-88px);   /* chevauchement réel */
  padding-top: 88px;               /* compense dans le flux */
  margin-top: 0;                   /* annule l'ancien margin négatif */
}
.hb .hb-band{ padding:clamp(28px,5vw,64px) 0; }
.hb .hb-band--white{ background:#fff; }
.hb .hb-band--soft{ background:var(--hb-soft); }
.hb .hb-band--tint{ background:linear-gradient(180deg, color-mix(in oklab, var(--hb-brand) 7%, #fff), #fff 220px); }

.hb .hb-head{ display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:18px; flex-wrap:wrap; }
.hb .hb-h2{ font-size:clamp(20px,3vw,28px); margin:0; font-weight:800; }
/* Le H2 de la mosaïque ne doit JAMAIS remonter la colonne */
.hb .hb-mosaic .hb-h2{ margin-top:0 !important; }

.hb .hb-lead{ color:var(--hb-muted); margin:6px 0 0; }

/* ====================== BUTTONS / CARDS / CHIPS ====================== */
.hb .hb-btn{ display:inline-flex; align-items:center; gap:10px; padding:12px 16px; border-radius:999px; font-weight:700; text-decoration:none; cursor:pointer; border:1px solid transparent; transition:filter .18s ease, transform .18s ease; }
.hb .hb-btn:hover{ filter:brightness(.98); transform:translateY(-1px); }
.hb .hb-btn--primary{ background:var(--hb-brand); color:#fff; border-color:var(--hb-brand); }
.hb .hb-btn--light{ background:#fff; color:var(--hb-ink); border-color:#fff; }
.hb .hb-btn--ghost{ background:#fff; color:var(--hb-ink); border:1px solid var(--hb-bd); }
.hb .hb-btn--outline{ background:transparent; color:#fff; border-color:#fff; }

.hb .hb-card{ background:var(--hb-card); border:1px solid var(--hb-bd); border-radius:var(--hb-r); box-shadow:var(--hb-shadow); }

/* Chip par défaut + variante ghost (utilisée pour tags) */

:root{
  /* au cas où */
  --iliade-green: var(--brand, var(--hb-brand, #5CA174));
}
.hb .hb-chip{
  display:inline-flex; align-items:center; gap:8px;
  padding:9px 18px; border-radius:999px; font-size:15px; font-weight:700;
  text-decoration:none; box-shadow:0 2px 8px rgba(0,0,0,.05);
  /* fallbacks d'abord */
  background:#eaf4ef;                       /* vert clair de secours */
  border:1px solid #cfe6d8;                  /* bordure de secours */
  color:var(--iliade-green);
  /* versions dynamiques (écrasent les fallbacks si supportées) */
  background:color-mix(in oklab, var(--iliade-green) 16%, #fff);
  border:1px solid color-mix(in oklab, var(--iliade-green) 55%, #fff);
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.hb .hb-chip:hover{
  /* hover un peu plus “vert” */
  background:#e2efe8; /* fallback */
  background:color-mix(in oklab, var(--iliade-green) 24%, #fff);
  transform:translateY(-2px);
}

/* Variante ghost : fond blanc, texte/bordure verts, hover vert très léger */
.hb .hb-chip.hb-chip--ghost{
  background:#fff;
  color:var(--iliade-green);
  border:1px solid var(--iliade-green);
  font-weight:700; font-size:12.5px; padding:7px 12px;
}
.hb .hb-chip.hb-chip--ghost:hover{
  background:#f4faf6; /* fallback */
  background:color-mix(in oklab, var(--iliade-green) 10%, #fff);
  border-color:color-mix(in oklab, var(--iliade-green) 85%, #fff);
}
/* XS pour les badges du blog */
.hb .hb-postMeta .hb-chip,
.hb .hb-chip.hb-chip--xs{ font-size:8px; padding:4px 8px; border-radius:999px; }

/* ====================== HERO (plein écran + centrage) ====================== */
.hb .hb-hero{ position:relative; color:#fff; background:#000; border-radius:0; isolation:isolate; min-height:100svh; min-height:100vh; overflow:visible; padding:0; 
z-index: 0; 
}
body.admin-bar .hb .hb-hero{ min-height:calc(100svh - 32px); min-height:calc(100vh - 32px); }
@media (max-width:782px){ body.admin-bar .hb .hb-hero{ min-height:calc(100svh - 46px); min-height:calc(100vh - 46px); } }

.hb .hb-hero__media{ position:absolute; inset:0; z-index:0; }
.hb .hb-hero__media video{ width:100%; height:100%; object-fit:cover; display:block; }
.hb .hb-hero::before{ content:""; position:absolute; inset:0; z-index:1; background:linear-gradient(180deg, rgba(255,255,255,.18) 0%, rgba(0,0,0,.28) 45%, rgba(0,0,0,.18) 100%); }
.hb .hb-hero::after{ content:""; position:absolute; inset:0; z-index:1; background:rgba(0,0,0,.06); }

.hb .hb-hero__inner{ position:relative; z-index:2; height:100%; display:grid; place-items:center; text-align:center; padding:clamp(24px,3vw,36px) 0; }
.hb .hb-hero__inner .hb-container{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap:clamp(10px,1.8vw,16px); width:min(1100px,95vw); }
.hb .hb-hero__logo{ margin:0 0 4px; width:min(150px,34vw); display:block; opacity:.95; }
.hb .hb-hero__title{ font-size:clamp(28px,4.6vw,46px); line-height:1.1; margin:0; font-weight:800; text-shadow:0 2px 18px rgba(0,0,0,.25); letter-spacing:.2px; }
.hb .hb-hero__subtitle{ font-size:clamp(16px,2.4vw,21px); margin:0; max-width:900px; opacity:.98; padding:0 8px; }
.hb .hb-hero__cta{ display:flex; gap:10px; justify-content:center; flex-wrap:wrap; margin-top:clamp(6px,1.2vw,10px); }
.hb .hb-hero .hb-search-wrap{ display:flex; justify-content:center; margin-top:clamp(8px,1.4vw,14px); width:100%; }
.hb .hb-hero .hb-search-slot{ width:min(760px,92vw); margin-inline:auto; }

/* FIX centrage vertical desktop pour le HERO */
@media (min-width: 981px){
  .hb .hb-hero { display: grid; }                 /* donne un contexte de hauteur fiable */
  .hb .hb-hero__inner{
    min-height: inherit;                           /* au lieu de height:100% */
    display: grid;
    place-items: center;                           /* centre H & V */
  }
}


/* z-index pour panneau de recherche */
.hb .hb-hero:has(.wpz-search__panel.is-open){ position: relative; z-index:10; }

/* ====================== TRUST (chevauche le HERO) ====================== */
.hb .hb-section[aria-label="Avis & labels"]{ position:relative; z-index:5; margin-top:-88px; padding-top:0; }
@media (max-width:768px){ .hb .hb-section[aria-label="Avis & labels"]{ margin-top:-72px; } }

.hb .hb-trustCard{ transform:translateY(-22px); background:#fff; border:none; border-radius:28px; box-shadow:0 10px 34px rgba(0,0,0,.10); overflow:hidden; padding:clamp(18px,2.4vw,28px); backdrop-filter: blur(6px); }
.hb .hb-trustRow{ display:flex; align-items:center; justify-content:space-between; gap:clamp(16px,3vw,28px); flex-wrap:wrap; }
.hb .hb-trustLogo, .hb .hb-trustRow .logo-mariages-net{ height:clamp(60px,7vw,96px); width:auto; object-fit:contain; flex:0 0 auto; }
.hb .hb-trustRow .hb-btn--light{ background:var(--hb-brand); color:#fff; font-weight:700; border-color:var(--hb-brand); box-shadow:0 6px 22px rgba(92,161,116,.25); border-radius:999px; padding:12px 20px; font-size:15px; }
.hb .hb-trustRow .hb-btn--light:hover{ background:color-mix(in oklab, var(--hb-brand) 90%, #000); transform:translateY(-2px); box-shadow:0 8px 28px rgba(92,161,116,.35); }

/* Anim apparition */
@media (prefers-reduced-motion:no-preference){
  .hb .hb-section[aria-label="Avis & labels"] .hb-card { animation: hbTrustFade .9s ease both; }
  @keyframes hbTrustFade { from { opacity:0; transform:translateY(30px);} to { opacity:1; transform:translateY(0);} }
}

/* ====================== PRÉSENTATION ====================== */
.hb-section--presentation{
  position:relative; z-index:2; margin-top:-28px;
  padding:calc(clamp(28px,5vw,64px) + 28px) 0 clamp(28px,5vw,64px);
  background:linear-gradient(to bottom, rgba(255,255,255,0) 0, rgba(255,255,255,0) 40px, var(--hb-soft) 40px);
  border-top:0; border-bottom:1px solid var(--hb-bd);
}

/* Titre de section */
.hb-presentation__head{
  display:grid; gap:.25rem;
  margin-bottom:clamp(16px,2.8vw,20px);
  margin-top:20px;
}
.hb-eyebrow{
  font-weight:700; color:var(--hb-brand);
  letter-spacing:.3px; text-transform:uppercase; font-size:.9rem;
}

/* Grille principale : 2 colonnes parfaitement alignées en haut */
.hb-presentation__grid{
  display:grid;
  gap:clamp(18px,3vw,30px);
  grid-template-columns:1.15fr .85fr;
  align-items:start; /* 🔝 aligne les items en haut */
}

/* 🚩 Colonnes : on colle en haut et on annule toute marge/padding de tête */
.hb .hb-presentation__col{
  align-self:start;        /* top dans la cellule */
  display:flex;            /* flux interne stable */
  flex-direction:column;
  margin-top:0 !important;
  padding-top:0 !important;
}

/* ✅ AUCUNE marge haute par défaut dans la première “rangée” de chaque colonne */
.hb .hb-presentation__col > :first-child{
  margin-top:0 !important;
  padding-top:0 !important;
}

/* ✅ Et on neutralise les marges hautes “UA” courantes en tête de colonne */
.hb .hb-presentation__col > :is(h1,h2,h3,h4,ul,ol,figure,p):first-child{
  margin-top:0 !important;
}

/* Colonne texte : pas de marge haute sur le 1er élément riche */
.hb .hb-presentation__col--text .hb-richtext > :first-child{
  margin-top:0 !important;
}

/* Colonne mosaïque : le H2 n’ajoute aucun offset en haut */
.hb .hb-presentation__col.hb-mosaic{ margin-top:0 !important; padding-top:0 !important; }
.hb .hb-presentation__col.hb-mosaic .hb-h2{ margin:0 0 1rem !important; } /* marge BASSE seulement */

@media (max-width:980px){
  .hb-presentation__grid{ grid-template-columns:1fr; }
}

/* Texte & boutons */
.hb-presentation__col--text .hb-richtext p{ margin:0 0 1em; color:var(--hb-ink); }
.hb-presentation__col--text .hb-richtext p strong{ font-weight:800; }
.hb-actions{ display:flex; flex-wrap:wrap; gap:.7rem; margin-top:1rem; }

/* Encadrés éventuels */
.hb-highlights{ list-style:none; margin:0; padding:0; display:grid; gap:12px; }
.hb-highlights__item{ background:var(--hb-card); border:1px solid var(--hb-bd); border-radius:var(--hb-r); box-shadow:var(--hb-shadow); padding:14px; }
.hb-highlights__item h3{ margin:0 0 .35rem; font-size:clamp(17px,2.2vw,18px); }
.hb-highlights__item p{ margin:0; color:var(--hb-muted); font-size:.98rem; line-height:1.55; }

/* Boutons */
.hb-section--presentation .hb-btn{ min-width:180px; }
.hb-section--presentation .hb-btn.hb-btn--light{ background:transparent; color:var(--hb-brand); border-color:var(--hb-brand); }
.hb-section--presentation .hb-btn.hb-btn--light:hover{ background: color-mix(in oklab, var(--hb-brand) 8%, transparent); }

/* ====================== RÉALISATIONS (galerie) ====================== */
.hb .hb-carousel{ border:1px solid var(--hb-bd); border-radius:var(--hb-r); background:#fff; padding:10px; }

/* ====================== SERVICES (grille simple) ====================== */
.hb .hb-services{ display:grid; gap:14px; grid-template-columns:repeat(6,minmax(0,1fr)); }
@media (max-width:980px){ .hb .hb-services{ grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:640px){ .hb .hb-services{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
.hb .hb-svc{ background:#fff; border:1px solid var(--hb-bd); border-radius:14px; padding:14px; text-align:center; transition:transform .15s ease, box-shadow .15s ease; }
.hb .hb-svc:hover{ transform:translateY(-2px); box-shadow:var(--hb-shadow); }
.hb .hb-svc a{ text-decoration:none; color:inherit; display:block; }
.hb .hb-svc__icon{ font-size:22px; }
.hb .hb-svc__title{ margin:8px 0 0; font-weight:700; font-size:15px; }

/* ====================== CATALOGUE CTA ====================== */
.hb .hb-catCard{ display:grid; grid-template-columns:1.1fr .9fr; gap:20px; padding:20px; background:radial-gradient(1200px 400px at 0% 0%, rgba(92,161,116,.10), transparent 60%), #fff; }
.hb .hb-side{ display:grid; gap:10px; align-content:start; background:#fafbfb; border:1px dashed #dbe7df; border-radius:12px; padding:12px; }
.hb .hb-ctaActions{ display:flex; gap:10px; flex-wrap:wrap; }
.hb .hb-ctaSearch{ display:flex; align-items:center; gap:10px; }
.hb .hb-ctaSearch .hb-search-slot{ width:100%; }
.hb .hb-ctaSearch .hb-hint{ font-size:12px; color:#94a3b8; white-space:nowrap; }





/* ====================== LOGISTIQUE – Frise + Camion ====================== */
.hb .hb-logiCard{
  display:grid; grid-template-columns:1.1fr .9fr; gap:22px; padding:20px;
  background: radial-gradient(1200px 400px at 0% 0%, rgba(92,161,116,.10), transparent 60%), #fff;
  border:1px solid var(--hb-bd); border-radius:14px; box-shadow:var(--hb-shadow);
}
.hb .hb-logiCol{ display:flex; flex-direction:column; gap:10px; }

.hb .hb-logiHead{ margin:0 0 6px; font-size:clamp(22px,2.8vw,28px); font-weight:800; }
.hb .hb-logiLead{ margin:.4em 0 1em; color:var(--hb-muted); }

/* ---------- Frise chronologique verticale */
.hb .hb-timeline{ position:relative; display:grid; gap:14px; margin:10px 0 18px; padding-left:2px; }
.hb .hb-timeline::before{
  content:""; position:absolute; left:11px; top:6px; bottom:calc(44px + 22px);
  width:2px; background: linear-gradient(to bottom, var(--hb-brand), color-mix(in oklab, var(--hb-brand) 20%, #e8efe9));
  border-radius:2px;
}
.hb .hb-tlItem{
  display:grid; grid-template-columns:24px 1fr; gap:10px; align-items:start; position:relative;
}
.hb .hb-tlIcon{
  width:24px; height:24px; border-radius:999px;
  background: color-mix(in oklab, var(--hb-brand) 12%, #fff);
  border:1px solid color-mix(in oklab, var(--hb-brand) 40%, #fff);
  display:inline-flex; align-items:center; justify-content:center; color:var(--hb-brand); font-size:14px;
}
.hb .hb-tlTitle{ margin:2px 0 2px; font-size:16px; font-weight:800; }
.hb .hb-tlTxt{ margin:0; color:var(--hb-muted); font-size:14px; line-height:1.5; }

/* ---------- Frise horizontale décorative + camion qui roule */
.hb .hb-road{
  position:relative; margin:8px 0 0; padding-top:16px; height:42px; /* réserve le camion */
  overflow:hidden;
}
.hb .hb-roadLine{
  position:absolute; left:0; right:0; top:24px; height:6px; border-radius:6px;
  background:
    radial-gradient(circle at 6px 3px, #fff 0 3px, transparent 3px) repeat-x,
    color-mix(in oklab, var(--hb-brand) 24%, #dfe9e3);
  background-size: 26px 6px, 100% 6px; background-position: 0 0, 0 0;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.05);
}
.hb .hb-car{
  position:absolute; top:0; left:-60px; width:46px; height:30px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg width='92' height='60' viewBox='0 0 92 60' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='2' y='18' width='72' height='28' rx='6' fill='%23ffffff' stroke='%235CA174' stroke-width='3'/%3E%3Cpath d='M74 34 L86 34 L90 40 L90 46 L74 46 Z' fill='%23ffffff' stroke='%235CA174' stroke-width='3'/%3E%3Ccircle cx='22' cy='52' r='6' fill='%230f2318'/%3E%3Ccircle cx='64' cy='52' r='6' fill='%230f2318'/%3E%3C/svg%3E");
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.15));
  transform: translateX(0) translateY(2px);
  opacity:0;
}

/* ---------- Photo camion (slide-in avec micro-roulis) */
.hb .hb-logiMedia{ position:relative; border-radius:14px; overflow:hidden; background:#fff; padding-bottom: 4rem; }
.hb .hb-logiMedia img{ width:100%; height:100%; object-fit:cover; display:block; aspect-ratio:4/3; transform: translateX(-18px) rotate(-0.2deg); opacity:.0; }
.hb .hb-badge{
  position:absolute; left:12px; bottom:12px; background:#fff; color:var(--hb-ink);
  border:1px solid var(--hb-bd); border-radius:999px; padding:6px 10px; display:inline-flex; align-items:center; gap:8px; box-shadow:var(--hb-shadow);
}
.hb .hb-dot{ width:8px; height:8px; border-radius:999px; background:var(--hb-brand); box-shadow:0 0 0 3px color-mix(in oklab, var(--hb-brand) 24%, #fff); }

/* ---------- États "en vue" (déclenchés par JS .is-in) */
.hb .hb-logiMedia.is-in .hb-van{
  animation: hb-driveIn .8s cubic-bezier(.2,.9,.2,1) both, hb-roll 3.8s ease-in-out .8s infinite alternate;
  opacity:1;
  transform: none;
}
.hb .hb-road.is-in .hb-car{
  animation: hb-carMove 2.2s ease-out .2s 1 forwards, hb-wheel 1.4s linear .2s 2;
  opacity:1;
}

/* ---------- Animations */
@keyframes hb-driveIn {
  from { transform: translateX(-28px) rotate(-1deg); opacity:0; }
  to   { transform: translateX(0) rotate(0deg); opacity:1; }
}
@keyframes hb-roll {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-1.2px); }
}
@keyframes hb-carMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(100vw - 120px)); }
}
/* léger “tremblement de roues” simulé */
@keyframes hb-wheel {
  0% { filter: drop-shadow(0 6px 10px rgba(0,0,0,.15)) saturate(1); }
  50% { filter: drop-shadow(0 8px 12px rgba(0,0,0,.18)) saturate(1.05); }
  100% { filter: drop-shadow(0 6px 10px rgba(0,0,0,.15)) saturate(1); }
}

/* ---------- Responsive */
@media (max-width: 980px){
  .hb .hb-logiCard{ grid-template-columns: 1fr; }
  .hb .hb-timeline::before{ bottom: 44px; }
  .hb .hb-road{ margin-top:6px; }
}
@media (max-width: 640px){
  .hb .hb-logiCard{ padding:16px; }
  .hb .hb-tlTitle{ font-size:15px; }
  .hb .hb-tlTxt{ font-size:13px; }
}

/* ---------- Accessibilité : réduire les animations si demandé */
@media (prefers-reduced-motion: reduce){
  .hb .hb-van, .hb .hb-car{ animation: none !important; transform: none !important; opacity: 1 !important; }
}
/* --- 1) La route et le camion ne doivent JAMAIS capter les clics --- */
.hb .hb-road,
.hb .hb-roadLine,
.hb .hb-car{
  pointer-events: none !important;
  z-index: 0;
}

/* --- 2) Assure que le contenu (titres + boutons) passe devant --- */
.hb .hb-logiCol,
.hb .hb-ctaActions{
  position: relative;
  z-index: 2;
}

/* --- 3) Sécurise l'image camion : hauteur douce + pas d'overflow --- */
.hb .hb-logiMedia{
  position: relative;
  border-radius: 14px;
  overflow: hidden;         /* évite tout débordement visuel */
}
.hb .hb-logiMedia img.hb-van{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* --- 4) Petits ajustements mobiles : espace sous la section + image plus douce --- */
@media (max-width: 640px){
  /* un peu d’air sous la carte pour éviter que la section suivante “mange” l’image */
  #logistique .hb-logiCard{ margin-bottom: 14px; }

  /* image un poil moins haute si besoin */
  .hb .hb-logiMedia img.hb-van{ aspect-ratio: 16 / 11; }
}





/* ============================================================
   ILLIADE – AVIS (carrousel Google + Mariages.net)
   Feuille unique à coller telle quelle
   ============================================================ */

/* ---- Carte & piste ---- */
.hb .hb-revCard{ padding:16px; overflow:hidden; }
.hb .hb-revTrack{
  display:flex; gap:14px;
  scroll-behavior:smooth; overflow:auto; scrollbar-width:thin;
  padding-bottom:.4rem;
}

/* ---- Carte d’avis (base commune) ---- */
.hb .hb-revItem{
  min-width:280px; max-width:320px;
  border:1px solid var(--hb-bd, #e5e7eb);
  background:#fff; border-radius:14px; padding:12px;
  display:flex; flex-direction:column; gap:8px;
  box-shadow: 0 4px 20px rgba(0,0,0,.05);
  transition: transform .25s ease, box-shadow .25s ease;
}
.hb .hb-revItem:hover{
  box-shadow: 0 6px 22px rgba(0,0,0,.08);
  transform:translateY(-2px);
}

/* ---- Variantes par source ---- */
/* Google (classer .hb-revItem--google si tu veux un hook dédié) */
.hb .hb-revItem--google{ background:#fff; }

/* Mariages.net (dégradé très doux + bordure rosée subtile) */
.hb .hb-revItem--mnet{
  background: linear-gradient(180deg, #fff7fa 0%, #ffffff 55%);
  border-color: color-mix(in oklab, #e91e63 18%, #e5e7eb);
}

/* ---- En-tête ---- */
.hb .hb-revHead{ display:flex; flex-direction:column; gap:2px; }
.hb .hb-revName{ font-weight:700; color:var(--hb-ink,#0f172a); }

.hb .hb-revMeta{
  display:flex; align-items:center; gap:6px;
  color:var(--hb-muted,#64748b); font-size:12px; line-height:1.3;
}
.hb .hb-revDate{ color:var(--hb-muted,#64748b); font-size:12px; }

/* Source + logos */
.hb .hb-revSource{ font-weight:600; color:var(--hb-brand,#5CA174); }
.hb .hb-revGoogle{ flex:none; width:16px; height:16px; vertical-align:middle; transform:translateY(-0.5px); }
.hb .hb-revMnet{ flex:none; width:16px; height:16px; vertical-align:middle; transform:translateY(-0.5px); }
.hb .hb-revMnet path{ filter: drop-shadow(0 0 2px rgba(233,30,99,.25)); }

/* Badge “Nouveau” */
.hb .hb-chip{
  background: color-mix(in oklab, var(--hb-brand,#5CA174) 18%, #fff);
  color: var(--hb-brand,#5CA174);
  font-size:12px; padding:3px 8px; border-radius:999px; font-weight:600;
}

/* ---- Étoiles & note ---- */
.hb .hb-revRate{ display:flex; align-items:center; gap:4px; color:#f5b700; font-size:15px; line-height:1; }
.hb .hb-revStars{ letter-spacing:1px; font-size:14px; }
.hb .hb-revNote{ color:var(--hb-muted,#64748b); font-weight:600; font-size:12px; line-height:1; }

/* ---- Texte ---- */
.hb .hb-revTxt{
  font-size:14px; color:#1f2937; line-height:1.55;
  overflow:hidden; display:-webkit-box; -webkit-box-orient:vertical;
  -webkit-line-clamp:5; /* limite douce à 5 lignes */
}

/* ---- Contrôles ---- */
.hb .hb-revCtrls{ display:flex; gap:8px; justify-content:flex-end; margin-top:10px; }
.hb .hb-revBtn{
  width:34px; height:34px; border-radius:999px;
  border:1px solid var(--hb-brand,#5CA174);
  background:#fff; color:var(--hb-brand,#5CA174); cursor:pointer;
  transition: all .25s ease;
}
.hb .hb-revBtn:hover{ background:var(--hb-brand,#5CA174); color:#fff; }

/* ---- Mobile & accessibilité ---- */
@media (max-width:640px){
  .hb .hb-revTrack{ scroll-snap-type:x mandatory; scroll-padding:14px; }
  .hb .hb-revItem{ scroll-snap-align:start; min-width:260px; padding:14px; }
  .hb .hb-revTxt{ -webkit-line-clamp:6; }
}
@media (prefers-reduced-motion: reduce){
  .hb .hb-revItem{ transition:none !important; }
}

/* --- Meta (source + date + badge) --- */
.hb .hb-revHead{ display:flex; flex-direction:column; gap:2px; }
.hb .hb-revMeta{
  display:flex; align-items:center; gap:8px;
  flex-wrap:wrap;                    /* autorise le passage à la ligne */
  color:var(--hb-muted,#64748b); font-size:12px; line-height:1.3;
}

/* Groupe "logo + libellé de la source" */
.hb .hb-revSourceRow{ display:inline-flex; align-items:center; gap:6px; }

/* Pousse la date à droite ; repasse dessous si l’espace manque */
.hb .hb-revDate{ margin-left:auto; flex:0 0 auto; }

/* Sur très petits écrans, force la date sous la source pour éviter tout chevauchement */
@media (max-width:360px){
  .hb .hb-revDate{ margin-left:0; width:100%; order:2; opacity:.95; }
  .hb .hb-chip{ order:3; }
}

/* Logos */
.hb .hb-revGoogle,
.hb .hb-revMnet{ width:16px; height:16px; vertical-align:middle; transform:translateY(-.5px); }
.hb .hb-revMnet{ color:#e91e63; }

/* (option) légère variante visuelle pour Mariages.net */
.hb .hb-revItem--mnet{
  background:linear-gradient(180deg,#fff7fa 0%,#ffffff 55%);
  border-color: color-mix(in oklab,#e91e63 18%, #e5e7eb);
}



/* ====================== ARTICLES (carrousel) ====================== */
.hb .hb-postsHead{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; flex-wrap:wrap; }
.hb .hb-postsCtrls{ display:flex; gap:8px; }
.hb .hb-postsBtn{ width:36px; height:36px; border-radius:999px; border:1px solid var(--hb-brand); background:#fff; color:var(--hb-brand); cursor:pointer; display:inline-flex; align-items:center; justify-content:center; transition:transform .15s ease; }
.hb .hb-postsBtn:hover{ transform:translateY(-1px); }
.hb .hb-postsTrack{ display:flex; gap:14px; overflow:auto; scrollbar-width:thin; scroll-snap-type:x mandatory; scroll-padding:10px; padding-bottom:6px; }
.hb .hb-post{ flex:0 0 auto; width:clamp(220px,28vw,280px); background:#fff; border:1px solid var(--hb-bd); border-radius:14px; overflow:hidden; scroll-snap-align:start; scroll-margin:10px; transition:transform .15s ease, box-shadow .15s ease; }
.hb .hb-post:hover{ transform:translateY(-2px); box-shadow:var(--hb-shadow); }
.hb .hb-postImg{ display:block; width:100%; aspect-ratio:16/10; object-fit:cover; }
.hb .hb-postBody{ padding:10px 12px; display:grid; gap:6px; }
.hb .hb-postMeta{ display:flex; align-items:center; gap:8px; 
-webkit-line-clamp:1;
}
.hb .hb-postDate{ color:#94a3b8; font-size:8px; }
.hb .hb-postTitle{ font-size:15px; font-weight:700; margin:0; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; min-height:calc(1em * 3.6); }









/* ============================================================
   Accueil – Module ATELIER FLORAL (rail galerie sélection)
   ============================================================ */

.hb .hb-floral { position: relative; z-index: 2; }
.hb .hb-floral__head { display:grid; gap:6px; margin-bottom:clamp(14px,2.4vw,20px); }
.hb .hb-floral__head .hb-h2 { margin:0; }

.hb .hb-floral__grid{
  display:grid;
  gap:clamp(16px,2.4vw,22px);
  grid-template-columns: 1.05fr .95fr; /* base conservée */
  align-items:stretch;                  /* étire les 2 colonnes */
}
@media (min-width:1200px){
  /* 50/50 sur grands écrans */
  .hb .hb-floral__grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:980px){
  .hb .hb-floral__grid{ grid-template-columns:1fr; }
}

/* Colonne texte */
.hb .hb-floral__col--text{ display:grid; gap:14px; align-content:start; }
.hb .hb-floral__bullets{ list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.hb .hb-floral__bullets li{
  background:#fff; border:1px solid var(--hb-bd);
  border-radius:var(--hb-r); box-shadow:var(--hb-shadow);
  padding:10px 12px; display:flex; align-items:flex-start; gap:10px;
  line-height:1.55;
}
.hb .hb-floral__bullets li h3 {font-size:14px;}

.hb .hb-floral__ico{ flex:0 0 auto; font-size:18px; transform:translateY(1px); }

.hb .hb-floral__chips{ display:flex; flex-wrap:wrap; gap:8px; }
.hb .hb-floral__cta{ display:flex; flex-wrap:wrap; gap:10px; }

/* Colonne droite */
.hb .hb-floral__col{ min-width:0; } /* évite le rétrécissement visuel */

/* Rail galerie (colonne droite) */
.hb .hb-floral__rail{
  border:1px solid var(--hb-bd); border-radius:var(--hb-r);
  background:#fff; padding:10px; position:relative; box-shadow:var(--hb-shadow);
  width:100%; height:100%;
  display:flex; flex-direction:column;
}

/* Track horizontal */
.hb .hb-floralTrack{
  display:flex; gap:14px; overflow:auto; scrollbar-width:thin;
  scroll-snap-type:x mandatory; scroll-padding:10px; padding-bottom:6px;
  -webkit-overflow-scrolling:touch;
  flex:1 1 auto;          /* occupe la hauteur dispo du rail */
}

/* Cartes (responsive) */
.hb .hb-floralCard{
  flex:0 0 auto; width:clamp(230px,30vw,340px);
  background:#fff; border:1px solid var(--hb-bd); border-radius:14px;
  overflow:hidden; scroll-snap-align:start; scroll-margin:10px;
  transition:transform .15s ease, box-shadow .15s ease, border-color .2s ease;
  position:relative; display:block;
}
@media (max-width:980px){
  .hb .hb-floralCard{ width:clamp(220px,62vw,320px); }
}
@media (max-width:640px){
  .hb .hb-floralCard{ width:clamp(200px,80vw,300px); }
}
.hb .hb-floralCard:hover{
  transform:translateY(-2px);
  box-shadow:var(--hb-shadow);
  border-color:color-mix(in oklab, var(--hb-brand) 26%, var(--hb-bd));
}

.hb .hb-floralLink{ display:block; text-decoration:none; color:inherit; line-height:0; }

/* === Vignettes 100% carrées et images en cover (sans bande blanche) === */
.hb .hb-floralFigure{
  position:relative;
  margin:0;                 /* supprime la marge par défaut du <figure> */
  line-height:0;            /* élimine tout espace inline résiduel */
  aspect-ratio:1/1.2;         /* carré */
  overflow:hidden;          /* coupe ce qui dépasse */
  border-radius:inherit;    /* reprend l’arrondi de la carte */
  background:#f3f4f6;       /* fond neutre au chargement */
  min-height:0;
}
@supports not (aspect-ratio: 1 / 1){
  .hb .hb-floralFigure::before{
    content:""; display:block; padding-top:100%; /* fallback carré */
  }
}

/* L’image remplit totalement le carré */
.hb .hb-floralImg{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover; object-position:center;
  display:block; border:0;
}

/* Contrôles */
.hb .hb-floralCtrls{ display:flex; gap:8px; justify-content:flex-end; margin-top:10px; }
.hb .hb-floralBtn{
  width:36px; height:36px; border-radius:999px;
  border:1px solid var(--hb-brand); background:#fff; color:var(--hb-brand);
  cursor:pointer; display:inline-flex; align-items:center; justify-content:center;
  transition:transform .15s ease, background .2s ease, color .2s ease;
}
.hb .hb-floralBtn:hover{ transform:translateY(-1px); background:var(--hb-brand); color:#fff; }

/* Accessibilité / motion */
@media (prefers-reduced-motion:reduce){
  .hb .hb-floralCard{ transition:none !important; }
}











/* ====================== BEST-SELLERS (carrousel) – v2 lisible ====================== */
.hb .hb-bestsHead{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; flex-wrap:wrap; }
.hb .hb-bestsCtrls{ display:flex; gap:8px; }
.hb .hb-bestsBtn{
  width:36px; height:36px; border-radius:999px;
  border:1px solid var(--hb-brand); background:#fff; color:var(--hb-brand);
  cursor:pointer; display:inline-flex; align-items:center; justify-content:center;
  transition:transform .15s ease, background .2s ease, color .2s ease;
}
.hb .hb-bestsBtn:hover{ transform:translateY(-1px); background:var(--hb-brand); color:#fff; }

.hb .hb-bestTrack{
  display:flex; gap:14px; overflow:auto; scrollbar-width:thin;
  scroll-snap-type:x mandatory; scroll-padding:10px; padding-bottom:6px;
}
.hb .hb-best{
  flex:0 0 auto; width:clamp(220px,28vw,280px);
  background:#fff; border:1px solid var(--hb-bd); border-radius:14px; overflow:hidden;
  scroll-snap-align:start; scroll-margin:10px;
  transition:transform .15s ease, box-shadow .15s ease, border-color .2s ease;
  position:relative;
}
.hb .hb-best:hover{ transform:translateY(-2px); box-shadow:var(--hb-shadow); border-color:color-mix(in oklab, var(--hb-brand) 26%, var(--hb-bd)); }

/* Image + voile doux en bas pour lisibilité éventuelle */
.hb .hb-bestFigure{ position:relative; }
.hb .hb-bestImg{ display:block; width:100%; aspect-ratio:16/10; object-fit:cover; }
.hb .hb-bestFigure::after{
  content:""; position:absolute; inset:auto 0 0 0; height:28%;
  background:linear-gradient(to top, rgba(0,0,0,.24), rgba(0,0,0,0));
  pointer-events:none;
}

/* Bloc prix lisible (2 lignes), collé en bas-gauche de l’image */
.hb .hb-priceBadge{
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
  padding: 7px 10px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--brand) 80%, transparent); /* ✅ 50 % d’opacité */
  color: #fff;
  border: 1px solid color-mix(in srgb, var(--brand) 65%, #0f2318);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
  max-width: 80%;
}
.hb .hb-priceMain{ font-weight:800; font-size:13px; line-height:1.15; }
.hb .hb-priceHint{ font-size:11px; line-height:1.15; opacity:.9; }

/* Corps carte */
.hb .hb-bestBody{ padding:10px 12px; display:grid; gap:6px; }
.hb .hb-bestTitle{
  font-size:15px; font-weight:700; margin:0;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
  min-height:calc(1em * 1.3 * 2);
}
.hb .hb-bestMeta{ display:flex; align-items:center; gap:8px; justify-content:space-between; }
.hb .hb-bestCat{ font-size:12px; color:#64748b; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:100%; }



/* ====================== TAXONOMIES : Vignettes Catégories ====================== */
.hb .hb-taxGrid{ display:grid; gap:16px; grid-template-columns:repeat(6,minmax(0,1fr)); }
@media (max-width:1280px){ .hb .hb-taxGrid{ grid-template-columns:repeat(4,1fr); } }
@media (max-width:980px){  .hb .hb-taxGrid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:640px){  .hb .hb-taxGrid{ grid-template-columns:repeat(2,1fr); } }

.hb .hb-taxCard{ background:#fff; border:1px solid var(--hb-bd); border-radius:14px; box-shadow:var(--hb-shadow); overflow:hidden; transition:transform .15s, box-shadow .15s; }
.hb .hb-taxCard:hover{ transform:translateY(-2px); box-shadow:0 14px 36px rgba(0,0,0,.08); }
.hb .hb-taxCard__link{ display:grid; grid-template-rows:auto 1fr; text-decoration:none; color:inherit; }
.hb .hb-taxCard__media{ background:var(--hb-soft); }
.hb .hb-taxCard__media img, .hb .hb-taxCard__ph{
  width:100%; aspect-ratio:4/3; object-fit:cover; display:block;
  background:radial-gradient(600px 200px at 0% 0%, color-mix(in oklab, var(--hb-brand) 10%, #fff), #fff 60%);
}
.hb .hb-taxCard__body{ padding:12px; display:grid; gap:6px; }
.hb .hb-taxCard__title{ margin:0; font-size:16px; font-weight:800; letter-spacing:.2px; }
.hb .hb-taxCard__desc{
  margin:0; color:var(--hb-muted); font-size:14px; line-height:1.55;
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:4; overflow:hidden;
  min-height:calc(1em * 1.55 * 4);
}

/* ====================== SECTION MIX “EXPLORE” ====================== */
.hb .hb-explore{ display:grid; gap:22px; }
.hb .hb-explore__head{ display:grid; gap:12px; grid-template-columns:1.1fr .9fr; align-items:end; }
@media (max-width:980px){ .hb .hb-explore__head{ grid-template-columns:1fr; } }
.hb .hb-explore__intro{ display:grid; gap:6px; }
.hb .hb-explore__search{ display:grid; gap:10px; align-content:start; }
.hb .hb-explore__cta{ display:flex; gap:10px; flex-wrap:wrap; }
.hb .hb-explore .hb-search-slot{ width:100%; }

/* ------- Nuage de mots-clés (pas de défilement) ------- */
.hb .hb-explore__tags{ border:1px solid var(--hb-bd); border-radius:16px; background:#fff; padding:14px; box-shadow:var(--hb-shadow); }
.hb .hb-explore__tagsHead{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:8px; }
.hb .hb-explore__tagsTitle{ font-weight:800; font-size:14px; color:var(--hb-ink); }
.hb .hb-explore__tagsCloud{ display:flex; flex-wrap:wrap; gap:10px 12px; }
.hb .hb-explore__tag{ position:relative; white-space:nowrap; }
.hb .hb-explore__tagCount{ margin-left:6px; font-size:11px; opacity:.7; }

/* ==== Grille catégories Explore : 4 / 3 / 2 et 100% largeur ==== */
.hb #explore .hb-explore__grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)); /* Desktop */
  gap:clamp(12px, 1.6vw, 18px);
  width:100%;
}

@media (max-width:980px){   /* Tablette */
  .hb #explore .hb-explore__grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width:640px){   /* Mobile */
  .hb #explore .hb-explore__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Cartes qui s’étirent bien dans la cellule */
.hb #explore .hb-explore__card{
  background:#fff; border:1px solid var(--hb-bd); border-radius:14px;
  box-shadow:var(--hb-shadow); overflow:hidden; position:relative;
  transition:transform .15s ease, box-shadow .15s ease;
  height:100%;            /* occupe toute la cellule */
  display:flex;           /* permet au contenu de s’étirer */
  flex-direction:column;
}
.hb #explore .hb-explore__card:hover{ transform:translateY(-2px); box-shadow:0 14px 36px rgba(0,0,0,.08); }

/* Le lien occupe 100% de la carte */
.hb #explore .hb-explore__cardLink{
  display:flex; flex-direction:column; text-decoration:none; color:inherit;
  min-width:0; height:100%;
}

/* Media & contenu */
.hb #explore .hb-explore__media img, 
.hb #explore .hb-explore__ph{
  width:100%; aspect-ratio:4/3; object-fit:cover; display:block;
  background:radial-gradient(600px 200px at 0% 0%, color-mix(in oklab, var(--hb-brand) 10%, #fff), #fff 60%);
}
.hb #explore .hb-explore__body{ padding:12px; display:grid; gap:6px; flex:1; }
.hb #explore .hb-explore__title{ margin:0; font-size:16px; font-weight:800; letter-spacing:.2px; }
.hb #explore .hb-explore__desc{
  margin:0;
  color:var(--hb-muted);
  font-size:14px;
  line-height:1.55;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  min-height:calc(1em * 1.55 * 2); /* Hauteur pile pour 2 lignes */
}
.hb-explore__desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/* Hover doux */
.hb #explore .hb-explore__hover{
  position:absolute; right:10px; bottom:10px; padding:6px 10px; border-radius:999px; background:#fff; border:1px solid var(--hb-bd);
  font-size:12px; font-weight:700; color:var(--hb-ink); box-shadow:var(--hb-shadow);
  opacity:0; transform:translateY(4px); transition:opacity .15s ease, transform .15s ease;
}
.hb #explore .hb-explore__card:hover .hb-explore__hover{ opacity:1; transform:translateY(0); }


/* === Panneau rapide : garantir les chips en pleine largeur === */

/* 1) Si les chips sont dans une colonne, on fait SPAN sur 2 colonnes */
.hb .hb-explore__quick .hb-explore__quickCol--chips,
.hb .hb-explore__quick .hb-explore__quickCol:has(> .hb-explore__chips){
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: none !important;
}

/* 2) Si (parfois) les chips sont enfant direct du panneau, on couvre aussi */
.hb .hb-explore__quick > .hb-explore__chips{
  grid-column: 1 / -1 !important;
}

/* 3) Le conteneur des chips s’étire et s’enroule bien */
.hb .hb-explore__chips{
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px 14px;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
}

/* 4) Chaque chip reste auto, jamais 50% */
.hb .hb-explore__chips .hb-chip{
  flex: 0 1 auto;   /* pas de flex:1 qui forcerait des 1/2 largeurs */
}

/* 5) Responsive : une seule colonne sur tablette/mobile */
@media (max-width:980px){
  .hb .hb-explore__quick{ grid-template-columns: 1fr; }
}







/* ====================== ACCESSIBILITÉ / PERF ====================== */
.hb .hb-sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }
.hb img, .hb video, .hb iframe{ max-width:100%; height:auto; }

@media (prefers-reduced-motion:reduce){
  .hb .hb-hero__media video{ display:none !important; }
  .hb .hb-hero{ background:#000 url('<?php echo esc_url($hero_poster); ?>') center/cover no-repeat; }
}












/* ===== EXPLORE — Header une colonne ===== */
.hb #explore .hb-explore__head{
  display:grid !important;
  grid-template-columns: 1fr !important;
  grid-auto-flow: row;
  gap:14px;
}
.hb #explore .hb-explore__intro{ display:grid; gap:6px; }

/* ===== Rangée : champ 1fr + 2 boutons à droite (desktop) ===== */
.hb #explore .hb-explore__row{
  display:grid !important;
  grid-template-columns: minmax(0,1fr)
                         clamp(160px, 18vw, 240px)
                         clamp(160px, 18vw, 240px);
  gap:12px;
  align-items:stretch;
  width:100%;
}

/* Le composant de recherche peut se compresser */
.hb #explore .hb-explore__row .hb-search-slot{ min-width:0; width:100%; overflow:hidden; }
.hb #explore .hb-explore__row .wpz-search,
.hb #explore .hb-explore__row .wpz-search *{ max-width:100%; }
.hb #explore .hb-explore__row .wpz-search{ width:100% !important; display:block; }
.hb #explore .hb-explore__row .wpz-search input{ width:100% !important; }

/* Boutons à droite : 100% de leur colonne */
.hb #explore .hb-explore__btn{
  width:100%;
  min-height:48px;
  display:inline-flex; justify-content:center; align-items:center;
  white-space:nowrap;
}

/* ===== Bouton violet — utilise la variable déjà définie dans app.css =====
   essaie d'abord --iliade-violet ; sinon --hb-accent ; sinon #7B5EBE */
.hb .hb-btn--accent{
  background: var(--accent, #9C1657);
  border-color: var(--accent, #9C1657);
  color:#fff;
}
.hb .hb-btn--accent:hover{
  filter: brightness(.98);
  transform: translateY(-1px);
}

/* ===== Mobile : pile (recherche → bouton vert → bouton violet) ===== */
@media (max-width:640px){
  .hb #explore .hb-explore__row{
    grid-template-columns: 1fr !important;
  }
  .hb #explore .hb-explore__btn{ width:100%; }
}

/* Sécurité si anciens styles existent */
.hb #explore .hb-explore__search{ display:contents !important; }
.hb #explore .hb-explore__head > *{ grid-column:1 / -1 !important; }








/* ==== EXPLORE — Grille 100% largeur : 4 / 3 / 2 ==== */

/* Desktop (par défaut) : 4 colonnes */
.hb #explore .hb-explore__grid{
  display:grid !important;
  width:100% !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap:clamp(12px, 1.6vw, 18px) !important;
}

/* Tablette */
@media (max-width:980px){
  .hb #explore .hb-explore__grid{
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* Mobile */
@media (max-width:640px){
  .hb #explore .hb-explore__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Les cartes s’étirent bien dans leur cellule */
.hb #explore .hb-explore__card{
  height:100%;
  display:flex; flex-direction:column;
  background:#fff; border:1px solid var(--hb-bd); border-radius:14px;
  box-shadow:var(--hb-shadow); overflow:hidden; position:relative;
  transition:transform .15s ease, box-shadow .15s ease;
}
.hb #explore .hb-explore__cardLink{ display:flex; flex-direction:column; min-width:0; height:100%; }

/* Media */
.hb #explore .hb-explore__media img,
.hb #explore .hb-explore__ph{
  width:100%; aspect-ratio:4/3; object-fit:cover; display:block;
}
.hb #explore .hb-explore__body{ padding:12px; display:grid; gap:6px; flex:1; }




/* ===== Couleurs boutons Iliade ===== */

/* Bouton vert Iliade (PDF) */
.hb .hb-btn--primary{
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
}
.hb .hb-btn--primary:hover{
  background: var(--brand-600);
  border-color: var(--brand-600);
  transform: translateY(-1px);
}

/* Bouton violet Iliade (Voir tout le catalogue) */
.hb .hb-btn--accent{
  background: var(--accent, #9C1657);
  border-color: var(--accent, #9C1657);
  color: var(--white);
}
.hb .hb-btn--accent:hover{
  filter: brightness(.97);
  transform: translateY(-1px);
}

/* ===== Layout Explore ===== */
.hb #explore .hb-explore__row{
  display:grid !important;
  grid-template-columns: minmax(0,1fr)
                         clamp(160px, 18vw, 240px)
                         clamp(160px, 18vw, 240px);
  gap:12px;
  align-items:stretch;
  width:100%;
}

/* Comportement mobile */
@media (max-width:640px){
  .hb #explore .hb-explore__row{
    grid-template-columns:1fr !important;
  }
  .hb #explore .hb-explore__btn{ width:100%; }
}

/* Sécurité anciens styles */
.hb #explore .hb-explore__search{ display:contents !important; }
.hb #explore .hb-explore__head > *{ grid-column:1 / -1 !important; }





/* WPZ Search — panneau SOUS le champ, aligné à gauche */
.hb .hb-hero .wpz-search__panel,
.hb .hb-hero .wpz-search__results,
.hb .hb-hero .wpz-search__item,
.hb .hb-hero .wpz-search__title,
.hb .hb-hero .wpz-search__desc{
  text-align:left !important;
}

/* Le slot sert d’ancre locale et ne coupe pas le panneau */
.hb .hb-search-slot{
  position:relative;
  overflow:visible;  /* IMPORTANT : pour laisser passer le dropdown */
}

/* Panneau ancré SOUS l’input (et non plus par le bas) */
.hb .hb-search-slot .wpz-search__panel{
  position:absolute;
  top:calc(100% + 8px);   /* sous le champ */
  left:0; right:0;
  bottom:auto !important;
  transform:none !important;
  z-index:20;
}

/* Certains plugins ajoutent une classe/attr pour ouvrir vers le haut : on force vers le bas */
.hb .hb-search-slot .wpz-search__panel.is-above,
.hb .hb-search-slot .wpz-search__panel[data-placement="top"]{
  top:calc(100% + 0px) !important;
  bottom:auto !important;
}

/* (Optionnel) petite limite de hauteur + scroll si beaucoup de résultats */
.hb .hb-search-slot .wpz-search__results{
  max-height:60vh;
  overflow:auto;
}



/* === FIX EXPLORE: laisser sortir le panneau des suggestions === */
.hb #explore .hb-explore__row .hb-search-slot{
  overflow: visible !important;   /* annulé l'ancien overflow:hidden */
  position: relative;             /* ancre locale pour le dropdown */
  z-index: 11;                    /* au-dessus des éléments voisins */
}

/* Panneau des suggestions: toujours SOUS le champ, et au-dessus de tout */
.hb #explore .hb-search-slot .wpz-search__panel{
  position: absolute;
  top: calc(100% + 8px);          /* sous le champ */
  left: 0; right: 0;
  bottom: auto !important;
  transform: none !important;
  z-index: 9999;                  /* passe devant la grille en dessous */
}

/* Certains scripts forcent l'ouverture vers le haut: on neutralise */
.hb #explore .hb-search-slot .wpz-search__panel.is-above,
.hb #explore .hb-search-slot .wpz-search__panel[data-placement="top"]{
  top: calc(100% + 8px) !important;
  bottom: auto !important;
}

/* Par sécurité, on évite qu’un parent coupe le panneau */
.hb #explore,
.hb #explore .hb-explore,
.hb #explore .hb-explore__row{
  overflow: visible !important;
}




/* ============================================================
   WPZ HOME – Section TRUST (chevauche hero + animation douce)
   ============================================================ */

.hb-band--soft {
  position: relative;
  z-index: 3;
  margin-top: -80px; /* chevauche le hero */
  background: var(--soft);
  border-top: 1px solid var(--soft-2);
  border-bottom: 1px solid var(--soft-2);
  padding: clamp(32px, 5vw, 64px) 0;
}

/* Carte principale (fond blanc doux, ombre légère) */
.hb-trustCard {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(20px, 4vw, 40px);
  text-align: center;
  animation: fadeUp 1s ease both;
  opacity: 0;
  transform: translateY(20px);
}

/* Animation douce d’apparition */
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Ligne d’éléments (logos + chip + bouton) */
.hb-trustRow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
}

.hb-trustRow img {
  max-height: 60px;
  object-fit: contain;
  transition: transform .3s ease, filter .3s ease;
}
.hb-trustRow img:hover {
  transform: scale(1.05);
  filter: brightness(1.05);
}

/* Chip (compteur) */
.hb-chip {
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  padding: .5rem 1rem;
  font-weight: 700;
  font-size: .95rem;
  box-shadow: 0 4px 10px rgba(92, 161, 116, .25);
}

/* Boutons trust */
.hb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .7rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: all .25s ease;
}

/* Vert Iliade (par défaut) */
.hb-btn--light {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.hb-btn--light:hover {
  background: color-mix(in oklab, var(--brand) 85%, #000 10%);
}

/* Prune (variante) */
.hb-btn--alt {
  background: var(--accent, #9C1657);
  color: #fff;
  border-color: var(--accent, #9C1657);
}
.hb-btn--alt:hover {
  background: color-mix(in oklab, var(--accent, #9C1657) 85%, #000 10%);
}

/* Responsive mobile : tout centré en colonne */
@media (max-width: 768px) {
  .hb-trustRow {
    flex-direction: column;
    text-align: center;
  }
  .hb-trustRow img {
    max-height: 50px;
  }
  .hb-btn {
    width: 100%;
    justify-content: center;
  }
}



/* 1) NE plus remonter toute la section (fond soft) */
.hb .hb-section[aria-label="Avis & labels"]{
  margin-top: 0;            /* reset l'ancien -88px */
  position: relative;
  z-index: 5;
}

/* 2) Chevauchement réel : on remonte la CARTE, et on compense le flux */
.hb .hb-trustCard{
  position: relative;
  z-index: 6;               /* au-dessus du hero */
  transform: translateY(-72px);  /* chevauchement visible */
}

/* 3) Compense l’espace perdu en haut pour que la mise en page reste fluide */
.hb .hb-section[aria-label="Avis & labels"] .hb-container{
  padding-top: 72px;
}

/* (Optionnel mais safe) S'assurer que le hero n’écrase pas la carte */
.hb .hb-hero{ z-index: 0; }


/* --- Fix overlap: ne plus animer transform --- */
@keyframes fadeUp {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* Reset la carte: pas de transform initial d'animation */
.hb-trustCard{
  opacity: 0;              /* animé par fadeUp */
  transform: translateY(-72px); /* chevauchement réel */
  animation: fadeUp 700ms ease 60ms both; /* opacité seule */
}

/* Si une ancienne règle met .hb .hb-trustCard { transform: translateY(-22px); }
   on la neutralise proprement avec une spécificité supérieure : */
.hb .hb-section[aria-label="Avis & labels"] .hb-trustCard{
  transform: translateY(-72px);
}

/* (Optionnel) on compense le flux pour garder l'espacement */
.hb .hb-section[aria-label="Avis & labels"] .hb-container{
  padding-top: 72px;
}

/* (Rappel) pas besoin de z-index spéciaux, mais au cas où : */
.hb .hb-hero{ z-index: 0; }
.hb .hb-section[aria-label="Avis & labels"]{ position: relative; z-index: 5; }



/* Annule tous les déplacements précédents de la section trust */
.hb .hb-section[aria-label="Avis & labels"]{
  margin-top: 0 !important;
  transform: none !important;
}
.hb .hb-section[aria-label="Avis & labels"] .hb-container{
  padding-top: 0 !important;
}

/* Chevauchement SIMPLE et fiable : marge négative sur la carte */
.hb .hb-trustCard{
  position: relative;
  z-index: 6;
  margin-top: -68px !important;   /* chevauche le hero */
  transform: none !important;      /* on ne l’anime plus en translate */
}

/* Mobile : léger ajustement */
@media (max-width: 768px){
  .hb .hb-trustCard{ margin-top: -56px !important; }
}

/* Hero reste sous la carte */
.hb .hb-hero{ z-index: 0; }










/* ====================== MOSAÏQUE ASYMÉTRIQUE ====================== */
.hb .hb-mosaic { display:block; }

/* Grille de base (mobile → 2 colonnes ; tablette → 3) */
.hb .hb-mosaic__grid{
  list-style:none; margin:0; padding:0;
  display:grid; gap:12px;
  grid-template-columns:repeat(2, minmax(0,1fr));
}
@media (min-width:640px){
  .hb .hb-mosaic__grid{ grid-template-columns:repeat(3, minmax(0,1fr)); }
}

/* Desktop : grille “e-commerce” asymétrique (pattern 6 → 8 items) */
@media (min-width:980px){
  .hb .hb-mosaic__grid{
    grid-template-columns:repeat(12, 1fr);
    grid-auto-rows: 1fr;
    gap:14px;
  }
  /* 1) en haut gauche : grande verticale (span 2 lignes) */
  .hb .hb-mosaic__item:nth-child(1){ grid-column:1 / span 4; grid-row:1 / span 2; }
  /* 2) en haut droite : horizontale large */
  .hb .hb-mosaic__item:nth-child(2){ grid-column:5 / span 8; grid-row:1; }
  /* 3) milieu droite : petite horizontale gauche */
  .hb .hb-mosaic__item:nth-child(3){ grid-column:5 / span 4; grid-row:2; }
  /* 4) milieu droite : petite horizontale droite */
  .hb .hb-mosaic__item:nth-child(4){ grid-column:9 / span 4; grid-row:2; }
  /* 5) bas gauche : verticale pour “fermer” la structure */
  .hb .hb-mosaic__item:nth-child(5){ grid-column:1 / span 4; grid-row:3 / span 2; }
  /* 6) bas droite : grande horizontale finale (occupe rangées 3–4) */
  .hb .hb-mosaic__item:nth-child(6){ grid-column:5 / span 8; grid-row:3 / span 2; }
  /* 7) rangée douce supplémentaire : horizontale gauche */
  .hb .hb-mosaic__item:nth-child(7){ grid-column:1 / span 6; grid-row:5; }
  /* 8) rangée douce supplémentaire : horizontale droite */
  .hb .hb-mosaic__item:nth-child(8){ grid-column:7 / span 6; grid-row:5; }
  /* Si < 8 items, les règles s’appliquent seulement aux présents */
}

/* Carte */
.hb .hb-mosaic__item{
  position:relative; overflow:hidden;
  border-radius:5px;                     /* radius 5px (exigé) */
  background:#fff; border:1px solid var(--hb-bd);
  box-shadow:var(--hb-shadow);
}

/* Lien & média (pas d’arrondis exagérés) */
.hb .hb-mosaic__link{ display:block; position:relative; min-width:0; height:100%; text-decoration:none; color:inherit; }
.hb .hb-mosaic__img,
.hb .hb-mosaic__ph{
  width:100%; height:100%; display:block; object-fit:cover;
  aspect-ratio:16/10;                     /* base */
  transition: transform .6s ease;
  border-radius:5px;                      /* même radius que la carte */
}

/* Ajuste les ratios pour le pattern desktop */
@media (min-width:980px){
  .hb .hb-mosaic__item:nth-child(1) .hb-mosaic__img,
  .hb .hb-mosaic__item:nth-child(5) .hb-mosaic__img{ aspect-ratio:3/4; }   /* verticales */

  .hb .hb-mosaic__item:nth-child(2) .hb-mosaic__img,
  .hb .hb-mosaic__item:nth-child(6) .hb-mosaic__img{ aspect-ratio:16/6; }  /* horizontales larges */

  .hb .hb-mosaic__item:nth-child(3) .hb-mosaic__img,
  .hb .hb-mosaic__item:nth-child(4) .hb-mosaic__img,
  .hb .hb-mosaic__item:nth-child(7) .hb-mosaic__img,
  .hb .hb-mosaic__item:nth-child(8) .hb-mosaic__img{ aspect-ratio:16/10; } /* horizontales moyennes */
}

/* Overlay + Titre */
.hb .hb-mosaic__overlay{
  position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.45) 100%);
  opacity:.85; transition:opacity .3s ease;
  border-radius:5px;
}
.hb .hb-mosaic__title{
  position:absolute; left:10px; bottom:10px;
  padding:8px 12px; font-weight:800; font-size:15px;
  background:#fff; color:var(--hb-ink);
  border:1px solid color-mix(in oklab, var(--hb-brand) 38%, #e6ebef);
  border-radius:5px; box-shadow:0 8px 22px rgba(0,0,0,.12);
  transform:translateY(1px); transition: transform .25s ease, box-shadow .25s ease;
  text-transform: capitalize; /* ✅ met la 1re lettre de CHAQUE mot en majuscule */
}

/* Hover “vendeur” */
.hb .hb-mosaic__link:hover .hb-mosaic__img{ transform:scale(1.055); }
.hb .hb-mosaic__link:hover .hb-mosaic__overlay{ opacity:.95; }
.hb .hb-mosaic__link:hover .hb-mosaic__title{
  transform:translateY(-1px);
  box-shadow:0 12px 28px rgba(0,0,0,.18);
}

/* réactive les vignettes du panneau rapide */
.hb .hb-explore__chips .hb-chip{ display:inline-flex !important; }
.hb .hb-explore__quick{
  display:grid;
  grid-template-columns: 1.1fr .9fr; /* ajuste à ton goût */
  gap:12px;
}
@media (max-width:640px){
  .hb .hb-explore__quick{ grid-template-columns:1fr; }
}







