/* 22/11/2026 — Hero d'accueil + bandeau de marques au format NotreJardinPropre (inc/home-hero.php) */

/* ---------- HERO : photo plein cadre, voile 40 %, texte blanc à gauche ---------- */
body .fyhero.fyhb { display:flex; align-items:center; min-height:70vh; min-height:70svh; background:#1a1a1a; }
body .fyhero.fyhb .fyhero__bg { position:absolute; inset:0; z-index:-2; width:100%; height:100%; object-fit:cover; object-position:70% 40%; }
body .fyhero.fyhb::before { inset:0; height:auto; background:rgb(0 0 0 / 40%); }
body .fyhb .fyhero__inner { margin:0; padding-block:48px; display:flex; flex-direction:column; align-items:flex-start; gap:10px; }
body .fyhb .fyhero__title { max-width:15ch; margin:0; font-size:clamp(34px, 4vw, 58px); line-height:1.06; font-weight:500; letter-spacing:-.02em; text-shadow:none; }
body .fyhb .fyhero__text { max-width:680px; margin:0 0 6px; color:#fff; font-size:18px; line-height:1.55; }
body .fyhb .fyhero__ctas { justify-content:flex-start; gap:14px 24px; }
body .fyhb .fyhero__btn { min-height:50px; padding:13px 24px; border-radius:6px; font-size:16px; }

/* ---------- BADGE TRUSTPILOT (même style que NJP) ---------- */
body .fyhb .fyhb-tp { display:inline-flex; align-items:center; gap:12px; margin:0 0 10px; padding:10px 16px; max-width:100%;
  background:#fff; color:#181818; border:1px solid rgb(0 0 0 / 12%); border-radius:8px; box-shadow:none;
  font-size:14px; line-height:1.2; font-weight:400; backdrop-filter:none; }
.fyhb-tp__label, .fyhb-tp__text, .fyhb-tp__brand { white-space:nowrap; }
.fyhb-tp__text strong { font-weight:700; }
.fyhb-tp__stars { display:flex; gap:2px; }
.fyhb-tp__star { width:20px; height:20px; display:inline-flex; align-items:center; justify-content:center; background:#00b67a; color:#fff; font-size:14px; line-height:1; }
.fyhb-tp__brand { display:flex; align-items:center; gap:5px; font-weight:700; }
.fyhb-tp__brand-star { color:#00b67a; font-size:22px; line-height:1; }

@media (max-width:749px) {
  body .fyhero.fyhb { display:flex; min-height:70vh; min-height:70svh; }
  body .fyhero.fyhb .fyhero__bg { position:absolute; height:100%; object-position:80% 40%; }
  body .fyhero.fyhb::before { inset:0; height:auto; background:rgb(0 0 0 / 40%); }
  body .fyhb .fyhero__inner { margin-top:0; padding:30px 20px; gap:12px; }
  body .fyhb .fyhero__title { font-size:36px; line-height:1.08; max-width:none; }
  body .fyhb .fyhero__text { font-size:16px; line-height:1.5; }
  body .fyhb .fyhero__ctas { flex-direction:row; align-items:center; }
  body .fyhb .fyhero__btn { width:auto; min-height:48px; padding:13px 21px; font-size:15px; }
  body .fyhb .fyhb-tp { flex-wrap:wrap; gap:7px; padding:9px 11px; font-size:12px; }
  .fyhb-tp__star { width:17px; height:17px; font-size:11px; }
  .fyhb-tp__brand-star { font-size:19px; }
}
@media (max-width:420px) {
  body .fyhb .fyhero__inner { padding:25px 17px; }
  body .fyhb .fyhero__title { font-size:31px; }
  body .fyhb .fyhero__text { font-size:15px; }
  body .fyhb .fyhb-tp { font-size:11px; gap:6px; }
}

/* ---------- BANDEAU DE LOGOS QUI DÉFILE ---------- */
.fyhb-logos { width:100%; overflow:hidden; background:#fff; padding:14px 0; border-bottom:1px solid #eee; }
.fyhb-logos__track { display:flex; align-items:center; width:max-content; animation:fyhb-marquee 28s linear infinite; will-change:transform; }
.fyhb-logos__group { display:flex; align-items:center; gap:48px; padding:0 48px 0 0; margin:0; list-style:none; flex-shrink:0; }
.fyhb-logos__item { flex-shrink:0; display:flex; align-items:center; }
.fyhb-logos__item a { display:flex; align-items:center; }
.fyhb-logos__item img { display:block; width:auto; height:30px; max-width:150px; object-fit:contain; }
/* Ajustements optiques (logos très larges ou très carrés) */
.fyhb-logos__item--klarstein img { height:20px; }
.fyhb-logos__item--delonghi img { height:34px; }
.fyhb-logos__item--rowenta img { height:30px; }
.fyhb-logos__item--stadler-form img { height:24px; }
.fyhb-logos__item--dantherm img { height:22px; }
.fyhb-logos__item--xiaomi img { height:36px; }
.fyhb-logos__item--midea img { height:30px; }
.fyhb-logos__item--dreo img { height:28px; }
@keyframes fyhb-marquee { from { transform:translateX(0); } to { transform:translateX(-25%); } }
@media (hover:hover) and (pointer:fine) { .fyhb-logos:hover .fyhb-logos__track { animation-play-state:paused; } }
@media (max-width:749px) {
  .fyhb-logos { padding:12px 0; }
  .fyhb-logos__group { gap:36px; padding-right:36px; }
  .fyhb-logos__track { animation-duration:22s; }
}
@media (prefers-reduced-motion:reduce) { .fyhb-logos__track { animation-duration:80s; } }

/* ---------- 22/11 (2) : fonds alternés sur l'accueil (le site paraissait trop blanc) ---------- */
body[data-fy-hero-20261122] { --fyhb-cream:#faf5ec; --fyhb-sand:#f3ebde; --fyhb-honey:#fff6dc; }
body[data-fy-hero-20261122] #shopify-section-cats { background:var(--fyhb-cream); }
body[data-fy-hero-20261122] #shopify-section-favs { background:#fff; }
body[data-fy-hero-20261122] #shopify-section-calc,
body[data-fy-hero-20261122] #shopify-section-calc > .section { background:var(--fyhb-honey); }
body[data-fy-hero-20261122] #shopify-section-promise { background:var(--fyhb-sand); }
body[data-fy-hero-20261122] #shopify-section-promos { background:#fff; }
body[data-fy-hero-20261122] #shopify-section-duo { background:var(--fyhb-cream); }
body[data-fy-hero-20261122] #shopify-section-reviews,
body[data-fy-hero-20261122] #shopify-section-reviews > .section { background:var(--fyhb-sand); }
body[data-fy-hero-20261122] #shopify-section-faq { background:#fff; }
