/* metfi_homepage — styles injected via hookActionFrontControllerSetMedia */

/* === Section 1 — Hero (split selector + promo) === */
.metfi-home { font-family: inherit; }
.mh-usp-strip { background:#222;color:#fff;font-size:12px;padding:8px 14px;display:flex;gap:24px;justify-content:center;flex-wrap:wrap; }
.mh-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    color: #fff;
    min-height: 340px;
    max-width:1560px;
    margin: 18px auto;
    border-radius: 6px;
    overflow: hidden;
    background-color: #1a1a1a;
}
.mh-hero__left {
    background-image: linear-gradient(135deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.88) 100%), var(--mh-hero-left-bg, none);
    background-size: cover;
    background-position: center;
}
.mh-hero__right {
    background-image: linear-gradient(135deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.65) 100%), var(--mh-hero-right-bg, none);
    background-size: cover;
    background-position: center;
}
.mh-hero__left,.mh-hero__right { padding:28px 26px;display:flex;flex-direction:column;justify-content:center; }
.mh-tag { display:inline-block;font-size:10px;text-transform:uppercase;letter-spacing:.5px;padding:3px 9px;border-radius:10px;background:#222;color:#fff; }
.mh-tag--alt { background:#c00; }
.mh-selector__title { color:#fff;margin:10px 0 6px;font-size:22px;line-height:1.2; }
.mh-selector__baseline { font-size:13px;opacity:.85;margin:0 0 16px; }
.mh-selector__note { font-size:10px;opacity:.6;margin:8px 0 0; }
.mh-selector__widget { background:transparent;color:#fff;padding:0;border-radius:0; }
.mh-promo { display:flex;flex-direction:column;color:#fff;text-decoration:none;height:100%; }
.mh-promo--empty { background:rgba(255,255,255,.06);border:1px dashed rgba(255,255,255,.2);padding:18px;border-radius:6px;font-size:12px;color:rgba(255,255,255,.7); }
.mh-promo--empty code { background:rgba(255,255,255,.1);padding:2px 6px;border-radius:3px; }
.mh-promo__badge { display:inline-block;background:#fff;color:#c00;font-weight:700;font-size:11px;padding:4px 10px;border-radius:10px;align-self:flex-start;margin-bottom:10px;letter-spacing:.5px; }
.mh-promo__title { color:#fff;margin:0 0 8px;font-size:20px;line-height:1.2; }
.mh-promo__desc { font-size:12px;opacity:.85;margin:0 0 14px; }
.mh-promo__cta { background:#fff;color:#c00;font-weight:700;font-size:13px;padding:12px 16px;border-radius:4px;text-align:center;letter-spacing:.5px;margin-top:auto;align-self:flex-start; }
@media (max-width: 768px) {
  .mh-hero { grid-template-columns:1fr; }
}

/* === Section base — shared === */
.mh-section { padding:36px 24px;max-width:1560px;margin:0 auto; }
.mh-section__title { font-size:22px;margin:0 0 6px;color:#222; }
.mh-section__sub { font-size:13px;color:#666;margin:0 0 18px; }
.mh-grid { list-style:none;padding:0;margin:0;display:grid;gap:12px; }
.mh-grid--4 { grid-template-columns:repeat(4,1fr); }
.mh-grid--3 { grid-template-columns:repeat(3,1fr); }
.mh-grid--2 { grid-template-columns:repeat(2,1fr); }
.mh-tile { background:#fff;border:1px solid #eee;border-radius:6px;padding:10px;display:flex;flex-direction:column; }
.mh-tile__link { color:inherit;text-decoration:none;display:flex;flex-direction:column;height:100%; }
.mh-tile__img { width:100%;height:130px;object-fit:contain;background:#fafafa;border-radius:4px; }
.mh-tile__ph { display:flex;align-items:center;justify-content:center;height:130px;background:#fafafa;color:#bbb;border-radius:4px; }
.mh-tile__brand { font-size:10px;color:#888;text-transform:uppercase;letter-spacing:.5px;margin-top:8px; }
.mh-tile__name { font-size:13px;color:#222;line-height:1.3;margin:4px 0 8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
.mh-tile__price { font-size:15px;color:#c00;font-weight:700;margin-top:auto; }
@media (max-width:1024px) { .mh-grid--4 { grid-template-columns:repeat(3,1fr); } }
@media (max-width:768px) {
  .mh-grid--4,.mh-grid--3 { display:flex;overflow-x:auto;scroll-snap-type:x mandatory; }
  .mh-grid--4 .mh-tile,.mh-grid--3 .mh-tile { flex:0 0 calc(60% - 10px);scroll-snap-align:start; }
}

/* === Section 3 — Équipement pilote === */
.mh-equip__band { background:#fafafa;border:1px solid #eee;border-radius:6px;padding:16px;display:flex;gap:18px;align-items:center; }
.mh-equip__img { width:240px;height:140px;background:#eee;border:1px dashed #ccc;border-radius:4px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#aaa; }
.mh-equip__img img { width:100%;height:100%;object-fit:cover;border-radius:4px; }
.mh-equip__body h3 { margin:0 0 6px;font-size:16px; }
.mh-equip__body p { margin:0 0 10px;font-size:13px;color:#555; }
.mh-equip__ctas { display:flex;flex-wrap:wrap;gap:8px; }
.mh-equip__cta { background:#222;color:#fff;text-decoration:none;font-size:12px;font-weight:600;padding:8px 14px;border-radius:3px; }
.mh-equip__cta:hover { background:#000; }
@media (max-width:768px) {
  .mh-equip__band { flex-direction:column;align-items:stretch; }
  .mh-equip__img { width:100%; }
}
/* === Section 4 — Pourquoi nous choisir === */
.mh-engage { background:#f8f8f8; }
.mh-engage__grid { list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,1fr);gap:12px; }
.mh-engage__item { background:#fff;border:1px solid #eee;border-radius:6px;padding:24px;text-align:center;display:flex;flex-direction:column;gap:6px; }
.mh-engage__num { font-size:32px;font-weight:700;color:#c00; }
.mh-engage__lab { font-size:13px;color:#555; }
@media (max-width:640px) { .mh-engage__grid { grid-template-columns:1fr; } }
/* === Section 5 — Avis clients === */
.mh-review { background:#fff;border:1px solid #eee;border-radius:6px;padding:16px; }
.mh-review__stars { color:#f5a623;font-size:14px;letter-spacing:1px; }
.mh-review__star--off { color:#ddd; }
.mh-review__content { font-size:13px;color:#444;line-height:1.5;margin:8px 0; }
.mh-review__who { font-size:11px;color:#888; }

/* === Section 6 — Nouveautés mosaïque === */
.mh-nouv__mosaic { display:grid;grid-template-columns:2fr 1fr 1fr;grid-template-rows:1fr 1fr;gap:12px;min-height:340px; }
.mh-nouv__hero { grid-row:span 2;background:#fff;border:1px solid #eee;border-radius:6px;padding:16px;display:flex;flex-direction:column;text-decoration:none;color:inherit; }
.mh-nouv__hero img,.mh-nouv__ph { flex:1;min-height:200px;width:100%;object-fit:contain;background:#fafafa;border-radius:4px;margin-bottom:10px;display:flex;align-items:center;justify-content:center;color:#bbb; }
.mh-nouv__brand { font-size:11px;color:#888;text-transform:uppercase;letter-spacing:.5px; }
.mh-nouv__name { font-size:16px;color:#222;font-weight:600;margin:6px 0; }
.mh-nouv__desc { font-size:12px;color:#666;line-height:1.5;margin:0 0 10px; }
.mh-nouv__price { font-size:18px;color:#c00;font-weight:700;margin-top:auto; }
@media (max-width:768px) {
  .mh-nouv__mosaic { grid-template-columns:1fr 1fr;grid-template-rows:auto auto auto; }
  .mh-nouv__hero { grid-row:span 1;grid-column:span 2; }
}

/* === Section 7 — Marques mur === */
.mh-marques__wall { list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(6,1fr);background:#fff;border:1px solid #eee;border-radius:6px;overflow:hidden; }
.mh-marques__cell { border-right:1px solid #f0f0f0;border-bottom:1px solid #f0f0f0;height:80px;display:flex;align-items:center;justify-content:center;background:#fff;transition:background .2s; }
.mh-marques__cell:hover { background:#fafafa; }
.mh-marques__cell:nth-child(6n) { border-right:0; }
.mh-marques__cell:nth-last-child(-n+6) { border-bottom:0; }
.mh-marques__cell a { display:flex;align-items:center;justify-content:center;width:100%;height:100%;text-decoration:none;color:#888;font-size:12px;font-weight:600;letter-spacing:.5px; }
.mh-marques__cell img { max-width:80%;max-height:60px;object-fit:contain; }
@media (max-width:1024px) {
  .mh-marques__wall { grid-template-columns:repeat(4,1fr); }
  .mh-marques__cell:nth-child(6n) { border-right:1px solid #f0f0f0; }
  .mh-marques__cell:nth-child(4n) { border-right:0; }
}
@media (max-width:640px) {
  .mh-marques__wall { grid-template-columns:repeat(3,1fr); }
  .mh-marques__cell:nth-child(4n) { border-right:1px solid #f0f0f0; }
  .mh-marques__cell:nth-child(3n) { border-right:0; }
}

/* === Section 8 — SEO immersif === */
.mh-seo { background:#1a1a1a; padding:0; }
.mh-seo .mh-seo__inner { position:relative;max-width:1560px;margin:36px auto;border-radius:6px;overflow:hidden;min-height:280px;background-color:#3a2a1a;background-image:linear-gradient(120deg,rgba(0,0,0,.4),rgba(0,0,0,.85) 60%),var(--mh-seo-bg, none);background-size:cover;background-position:center;color:#fff;padding:32px 36px;display:flex;flex-direction:column;justify-content:center; }
.mh-seo__title { color:#fff;margin:0 0 16px;font-size:26px;max-width:none; }
.mh-seo__body { font-size:13px;line-height:1.6;color:#eee;max-width:none; }
.mh-seo__body a { color:#ffb09b;text-decoration:underline; }
.mh-seo__body strong { color:#fff; }
@media (max-width:768px) { .mh-seo__title,.mh-seo__body { max-width:100%; } }

/* === Hero — partsfilter integration === */
/* The partsfilter module's filter_enhanced.tpl wraps its content in .container { max-width }.
   When embedded inside our hero, we want it to fill the hero left half. */
.mh-hero__left .pf-enhanced { width: 100%; }
.mh-hero__left .pf-enhanced .container { max-width: 100%; padding: 0; margin: 0; }
/* Hide partsfilter's internal title — our .mh-selector__title already provides the heading */
.mh-hero__left .pf-title { display: none; }
.mh-hero__left .pf-card { background: transparent; border: 0; padding: 0; }
.mh-hero__left .pf-step { margin-bottom: 12px; }
.mh-hero__left .pf-step-label { color: #fff; opacity: .9; font-size: 12px; margin-bottom: 6px; font-weight: 600; }
.mh-hero__left .pf-input { background: rgba(255,255,255,.95); color: #222; border: 1px solid rgba(255,255,255,.4); padding: 10px 12px; border-radius: 4px; width: 100%; font-size: 13px; }
.mh-hero__left .pf-types { display: flex; flex-wrap: wrap; gap: 6px; }
.mh-hero__left .pf-type-btn { background: rgba(255,255,255,.92); color: #222; border: 0; padding: 8px 14px; border-radius: 4px; font-size: 12px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
.mh-hero__left .pf-type-btn:hover, .mh-hero__left .pf-type-btn.pf-active { background: #c00; color: #fff; }
.mh-hero__left .pf-go-btn { background: #c00; color: #fff; padding: 12px 20px; border-radius: 4px; display: inline-block; text-decoration: none; font-weight: 700; font-size: 13px; letter-spacing: .5px; margin-top: 6px; transition: background .2s; }
.mh-hero__left .pf-go-btn:hover { background: #900; }
.mh-hero__left .pf-dropdown { background: #fff; color: #222; border: 1px solid #ddd; max-height: 240px; overflow-y: auto; }
.mh-hero { align-items: stretch; }
.mh-hero__left, .mh-hero__right { box-sizing: border-box; min-width: 0; /* prevent grid blowout */ }



/* === Hero left — partsfilter integration (kill wrappers, ghost buttons over image) === */
.mh-hero__left .pf-enhanced,
.mh-hero__left .pf-enhanced .container,
.mh-hero__left .pf-card,
.mh-hero__left .pf-step,
.mh-hero__left .pf-field {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
}
.mh-hero__left .pf-enhanced::before { display: none !important; }
.mh-hero__left .pf-title { display: none !important; }
.mh-hero__left .pf-step { margin-bottom: 14px !important; }
.mh-hero__left .pf-step-label {
  color: #fff !important;
  opacity: .9 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-align: left !important;
  text-transform: uppercase !important;
  letter-spacing: .5px !important;
  margin-bottom: 8px !important;
}
.mh-hero__left .pf-types {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  justify-content: flex-start !important;
}
.mh-hero__left .pf-type-btn {
  background: rgba(0,0,0,.45) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.4) !important;
  padding: 9px 16px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .3px !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  transition: background .2s, border-color .2s, color .2s !important;
}
.mh-hero__left .pf-type-btn:hover,
.mh-hero__left .pf-type-btn.active {
  background: #c00 !important;
  color: #fff !important;
  border-color: #c00 !important;
}
.mh-hero__left .pf-input {
  background: rgba(0,0,0,.45) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.4) !important;
  padding: 10px 12px !important;
  border-radius: 4px !important;
  width: 100% !important;
  font-size: 13px !important;
}
.mh-hero__left .pf-input::placeholder { color: rgba(255,255,255,.6) !important; }
.mh-hero__left .pf-input:focus {
  background: rgba(0,0,0,.65) !important;
  border-color: #c00 !important;
  outline: none !important;
}
.mh-hero__left .pf-go-btn {
  background: #c00 !important;
  color: #fff !important;
  padding: 12px 20px !important;
  border-radius: 4px !important;
  display: inline-block !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: .5px !important;
  text-transform: uppercase !important;
  transition: background .2s !important;
}
.mh-hero__left .pf-go-btn:hover { background: #900 !important; }
.mh-hero__left .pf-dropdown {
  background: #1a1a1a !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.3) !important;
  max-height: 240px !important;
  overflow-y: auto !important;
}


/* Defensive readability for hero left labels on top of the banner image */
.mh-hero__left .pf-step-label,
.mh-hero__left .mh-selector__title,
.mh-hero__left .mh-selector__baseline { text-shadow: 0 1px 3px rgba(0,0,0,.7) !important; }


/* === SEO editorial subsections === */
.mh-seo__lead { font-size: 14px; line-height: 1.7; margin: 0 0 28px; color: #eee; }
.mh-seo__lead strong { color: #fff; }
.mh-seo__lead a { color: #ffb09b; text-decoration: underline; }
.mh-seo__sub { display: grid; grid-template-columns: 1fr 1.5fr; gap: 24px; margin: 22px 0; align-items: center; }
.mh-seo__sub--right { grid-template-columns: 1.5fr 1fr; }
.mh-seo__sub--right .mh-seo__sub-img { order: 2; }
.mh-seo__sub--right .mh-seo__sub-content { order: 1; }
.mh-seo__sub-img { background: rgba(255,255,255,.06); border: 1px dashed rgba(255,255,255,.2); min-height: 160px; border-radius: 4px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.45); font-size: 12px; padding: 20px; text-align: center; }
.mh-seo__sub-img img { max-width: 100%; height: auto; border-radius: 4px; }
.mh-seo__sub-content h3 { color: #fff; font-size: 17px; margin: 0 0 8px; line-height: 1.3; }
.mh-seo__sub-content h3 a { color: #fff; text-decoration: none; border-bottom: 2px solid #ffb09b; padding-bottom: 1px; }
.mh-seo__sub-content h3 a:hover { color: #ffb09b; }
.mh-seo__sub-content p { font-size: 13px; line-height: 1.65; color: #eee; margin: 0; }
.mh-seo__sub-content p a { color: #ffb09b; text-decoration: underline; }
.mh-seo__outro { font-size: 13px; line-height: 1.6; color: #eee; margin: 28px 0 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.15); }
.mh-seo__outro a { color: #ffb09b; text-decoration: underline; }
@media (max-width: 768px) {
  .mh-seo__sub, .mh-seo__sub--right { grid-template-columns: 1fr; }
  .mh-seo__sub--right .mh-seo__sub-img,
  .mh-seo__sub--right .mh-seo__sub-content { order: initial; }
}





/* === SEO body — editorial mixed layout (hero + magazine + banners) === */
.mh-seo__lead { font-size: 14px; line-height: 1.7; margin: 0 0 28px; color: #eee; }
.mh-seo__lead strong { color: #fff; }
.mh-seo__lead a { color: #ffb09b; text-decoration: underline; }

.mh-seo__badge {
  display: inline-block; background: #c00; color: #fff; font-weight: 700;
  font-size: 10px; padding: 3px 9px; border-radius: 10px; letter-spacing: .5px;
  text-transform: uppercase; margin-bottom: 10px;
}
.mh-seo__badge--blue { background: #2a6dad; }

/* Hero block — full-width banner with bg image + dark overlay */
.mh-seo__hero {
  position: relative; min-height: 220px; border-radius: 8px; overflow: hidden;
  margin: 0 0 22px;
}
.mh-seo__hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  z-index: 0;
}
.mh-seo__hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.7) 55%, rgba(0,0,0,.45) 100%);
  z-index: 1; pointer-events: none;
}
.mh-seo__hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(110deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.7) 55%, rgba(0,0,0,.45) 100%);
}
.mh-seo__hero-content {
  position: relative; z-index: 2; padding: 32px 36px; max-width: 60%;
}
.mh-seo__hero-content h3 { color: #fff; font-size: 22px; line-height: 1.25; margin: 0 0 10px; font-weight: 700; text-shadow: 0 2px 8px rgba(0,0,0,.7); }
.mh-seo__hero-content p { color: #eee; font-size: 13px; line-height: 1.6; margin: 0; text-shadow: 0 1px 4px rgba(0,0,0,.65); }
.mh-seo__hero-content p strong { color: #fff; }
.mh-seo__hero-content a { color: #ffb09b; text-decoration: underline; }
@media (max-width: 768px) {
  .mh-seo__hero-content { max-width: 100%; padding: 24px 20px; }
}

/* Magazine card — image + content side-by-side */
.mh-seo__mag {
  display: grid; grid-template-columns: 38% 1fr; gap: 0;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px; overflow: hidden; margin: 0 0 16px;
  min-height: 200px;
}
.mh-seo__mag--right .mh-seo__mag-img { order: 2; }
.mh-seo__mag--right .mh-seo__mag-content { order: 1; }
.mh-seo__mag--right { grid-template-columns: 1fr 38%; }
.mh-seo__mag-img {
  background-size: cover; background-position: center; min-height: 200px;
}
.mh-seo__mag-content { padding: 22px 26px; align-self: center; }
.mh-seo__mag-content h3 {
  color: #fff; font-size: 17px; line-height: 1.3; margin: 0 0 10px; font-weight: 700;
}
.mh-seo__mag-content h3 a { color: #fff; text-decoration: none; border-bottom: 2px solid #ffb09b; padding-bottom: 1px; }
.mh-seo__mag-content h3 a:hover { color: #ffb09b; }
.mh-seo__mag-content p { color: #ddd; font-size: 13px; line-height: 1.6; margin: 0; }
.mh-seo__mag-content p a { color: #ffb09b; text-decoration: underline; text-decoration-color: rgba(255,176,155,.5); }
@media (max-width: 768px) {
  .mh-seo__mag, .mh-seo__mag--right { grid-template-columns: 1fr; }
  .mh-seo__mag--right .mh-seo__mag-img,
  .mh-seo__mag--right .mh-seo__mag-content { order: initial; }
  .mh-seo__mag-img { min-height: 180px; }
}

/* Full-width banner with side image (Paddock+Bivouac fused, Segway CTA) */
.mh-seo__bnn {
  position: relative; min-height: 180px; border-radius: 8px; overflow: hidden;
  margin: 0 0 16px;
}
.mh-seo__bnn--blue { background: linear-gradient(120deg, #1a3a4a 0%, #0a2030 100%); }
.mh-seo__bnn--blue .mh-seo__bnn-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: .35; z-index: 0;
}
.mh-seo__bnn--blue::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(26,58,74,.55) 0%, rgba(10,32,48,.85) 100%);
  z-index: 1;
}
.mh-seo__bnn--blue .mh-seo__bnn-content {
  position: relative; z-index: 2; padding: 30px 36px; max-width: 100%;
}

/* CTA banner — image-right side-by-side */
.mh-seo__bnn--cta {
  display: grid; grid-template-columns: 1fr 38%;
  background: linear-gradient(135deg, #7a0000 0%, #3a0000 100%);
}
.mh-seo__bnn--cta .mh-seo__bnn-content { padding: 28px 32px; align-self: center; }
.mh-seo__bnn--cta .mh-seo__bnn-img {
  background-size: cover; background-position: center; min-height: 180px;
}

.mh-seo__bnn h3 { color: #fff; font-size: 18px; line-height: 1.3; margin: 0 0 10px; font-weight: 700; }
.mh-seo__bnn h3 a { color: #fff; text-decoration: none; border-bottom: 2px solid rgba(255,255,255,.4); padding-bottom: 1px; }
.mh-seo__bnn h3 a:hover { border-bottom-color: #fff; }
.mh-seo__bnn p { color: #eee; font-size: 13px; line-height: 1.6; margin: 0; }
.mh-seo__bnn p strong { color: #fff; }
.mh-seo__bnn p a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.5); }
.mh-seo__bnn p a:hover { text-decoration-color: #fff; }
@media (max-width: 768px) {
  .mh-seo__bnn--cta { grid-template-columns: 1fr; }
  .mh-seo__bnn--cta .mh-seo__bnn-img { min-height: 180px; order: 2; }
  .mh-seo__bnn--cta .mh-seo__bnn-content { order: 1; }
}

.mh-seo__outro {
  font-size: 13px; line-height: 1.6; color: #ddd; margin: 22px 0 0;
  padding-top: 18px; border-top: 1px solid rgba(255,255,255,.15); text-align: center;
}
.mh-seo__outro a { color: #ffb09b; text-decoration: underline; }
