/* 28/11/2026 : accueil plus « photo ». Palette Motozaro : blanc / gomme (gris clair) / bitume (noir), accents or et jaune. */
:root { --mzhp-sand: var(--mz-track, #f5f5f5); --mzhp-sand-2: #e9e9e9; --mzhp-asphalt: #17191c; --mzhp-yellow: #ffc21a; --mzhp-gold: #c9a24a; }

.mzhp { padding: clamp(5.6rem, 7vw, 9.6rem) 0; }
.mzhp--sand { background: var(--mzhp-sand); }
/* Pas de double marge quand une section sable suit une autre section colorée */
.mzhp + .mzhp--sand, .mzhp--sand + .mzhp { margin-top: 0; }

/* ---------- Univers en photos ---------- */
.mzhu__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem; }
.mzhu__tile { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 10px; color: #fff; text-decoration: none; background: var(--mzhp-sand-2); }
.mzhu__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.mzhu__tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.62) 100%); pointer-events: none; }
.mzhu__tile:hover img { transform: scale(1.05); }
.mzhu__label { position: absolute; z-index: 1; left: 2rem; right: 2rem; bottom: 2rem; display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; }
.mzhu__label strong { font-stretch: var(--mz-wide); font-style: italic; font-weight: 800; font-size: clamp(2rem, 1.7vw, 2.6rem); line-height: 1; letter-spacing: -0.02em; }
.mzhu__label small { font-size: 1.35rem; opacity: .9; }
.mzhu__cta { margin-top: 1rem; padding: .7rem 1.4rem; border-radius: 99px; background: #fff; color: var(--mz-ink); font-size: 1.3rem; font-weight: 700; transition: background-color .15s; }
.mzhu__tile:hover .mzhu__cta { background: var(--mzhp-yellow); }

/* ---------- Bandeau photo pleine largeur ---------- */
.mzhb { position: relative; isolation: isolate; display: flex; align-items: center; min-height: clamp(48rem, 42vw, 64rem); margin-top: clamp(5.6rem, 7vw, 9.6rem); color: #fff; overflow: hidden; background: var(--mzhp-asphalt); }
.mzhb picture, .mzhb__img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.mzhb__img { object-fit: cover; object-position: 70% 50%; }
.mzhb::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15,12,8,.78) 0%, rgba(15,12,8,.45) 38%, rgba(15,12,8,0) 62%); }
.mzhb__inner { width: 100%; }
.mzhb__copy { max-width: 60rem; padding: 6rem 0; }
.mzhb__eyebrow { margin: 0 0 1.6rem; font-size: 1.25rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mzhp-yellow); }
.mzhb__title { color: #fff; font-size: clamp(3.4rem, 4vw, 5.6rem); text-decoration: none; }
.mzhb__title em { color: var(--mzhp-yellow); }
.mzhb__text { margin: 2rem 0 3rem; max-width: 42ch; font-size: 1.7rem; line-height: 1.55; opacity: .92; }
.mzhb .mz-btn svg { width: 1.6rem; height: 1.6rem; }
/* Le carrousel qui suit le bandeau reprend son espacement normal */
.mzhb + .mzpc--tint { margin-top: 0; }

/* ---------- Bénéfices en photos (cartes décalées) ---------- */
.mzhv__head { display: grid; grid-template-columns: 1fr 1fr; gap: 3.2rem; align-items: end; margin-bottom: 4rem; }
.mzhv__head p { margin: 0; justify-self: end; max-width: 44ch; font-size: 1.6rem; line-height: 1.55; color: var(--mz-ink-2); }
.mzhv__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.4rem; align-items: start; }
.mzhv__card { margin: 0; }
.mzhv__card:nth-child(even) { margin-top: 5.6rem; }
.mzhv__media { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 10px; background: var(--mzhp-sand-2); }
.mzhv__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.mzhv__card:hover .mzhv__media img { transform: scale(1.04); }
.mzhv__card h3 { margin: 2rem 0 .8rem; font-family: var(--mz-font); font-size: 1.9rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.mzhv__card p { margin: 0; font-size: 1.45rem; line-height: 1.55; color: var(--mz-ink-2); }

/* ---------- Conseils ---------- */
.mzhg__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem; }
.mzhg__card { display: flex; flex-direction: column; overflow: hidden; border-radius: 10px; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.mzhg__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--mzhp-sand-2); }
.mzhg__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mzhg__card:hover .mzhg__media img { transform: scale(1.04); }
.mzhg__body { display: flex; flex-direction: column; flex: 1; padding: 2rem; }
.mzhg__body h3 { margin: 0; font-family: var(--mz-font); font-size: 1.65rem; font-weight: 800; line-height: 1.25; letter-spacing: 0; }
.mzhg__body h3 a { color: inherit; text-decoration: none; }
.mzhg__body p { margin: 1rem 0 1.6rem; font-size: 1.35rem; line-height: 1.5; color: var(--mz-steel); }
.mzhg__more { margin-top: auto; align-self: flex-start; color: var(--mz-ink); font-size: 1.35rem; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--mzhp-yellow); }

/* ---------- FAQ ---------- */
.mzhf { background: #fff; }
.mzhf__wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 6.4rem; align-items: start; }
.mzhf__intro p { margin: 1.6rem 0 2rem; max-width: 36ch; font-size: 1.55rem; line-height: 1.55; color: var(--mz-steel); }
.mzhf__list { border-top: 1px solid var(--mz-line); }
.mzhf__list details { border-bottom: 1px solid var(--mz-line); }
.mzhf__list summary { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 2.2rem 0; font-size: 1.6rem; font-weight: 700; cursor: pointer; list-style: none; }
.mzhf__list summary::-webkit-details-marker { display: none; }
.mzhf__list summary::after { content: '+'; flex: none; font-size: 2.4rem; font-weight: 400; line-height: 1; transition: transform .2s; }
.mzhf__list details[open] summary::after { transform: rotate(45deg); }
.mzhf__list details p { margin: -0.6rem 0 2.2rem; max-width: 64ch; font-size: 1.5rem; line-height: 1.65; color: var(--mz-ink-2); }
.mzhf__list a { color: var(--mz-ink); font-weight: 600; }

/* ---------- Tablette / mobile ---------- */
@media (max-width: 989px) {
  .mzhu__grid, .mzhg__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mzhv__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mzhv__card:nth-child(even) { margin-top: 3.2rem; }
  .mzhf__wrap { grid-template-columns: 1fr; gap: 3.2rem; }
}
@media (max-width: 749px) {
  /* Défilement horizontal au doigt, comme les carrousels produits */
  .mzhu__grid, .mzhv__grid, .mzhg__grid { display: flex; gap: 1.2rem; margin-inline: calc(var(--mz-gutter) * -1); padding-inline: var(--mz-gutter); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .mzhu__grid::-webkit-scrollbar, .mzhv__grid::-webkit-scrollbar, .mzhg__grid::-webkit-scrollbar { display: none; }
  .mzhu__tile, .mzhv__card, .mzhg__card { flex: 0 0 74%; scroll-snap-align: start; }
  .mzhv__card:nth-child(even) { margin-top: 0; }
  .mzhv__head { grid-template-columns: 1fr; gap: 1.2rem; margin-bottom: 2.4rem; }
  .mzhv__head p { justify-self: start; }
  /* Mobile : photo au-dessus (motard visible), texte dessous sur fond bitume */
  .mzhb { display: block; min-height: 0; }
  .mzhb picture { position: relative; display: block; height: auto; aspect-ratio: 4 / 3; z-index: 0; }
  .mzhb__img { position: relative; object-position: 50% 78%; z-index: 0; }
  .mzhb::before { inset: auto 0 0 0; height: 0; }
  .mzhb picture::after { content: ''; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(180deg, rgba(23,25,28,0), var(--mzhp-asphalt)); }
  .mzhb__copy { padding: 1.2rem 0 4.8rem; }
  .mzhb__text { font-size: 1.55rem; }
  .mzhf__list summary { font-size: 1.5rem; }
}
/* Un carrousel blanc (sans marge basse) suivi d'une section colorée */
.mzpc:not(.mzpc--tint) + .mzhp, .mzpc:not(.mzpc--tint) + .mzhb { margin-top: clamp(5.6rem, 7vw, 9.6rem); }
/* 28/11 : photos de marque (formats variés) — cadrage */
.mzhu__tile img[src*="mz-hp2-intercoms"] { object-position: 55% 50%; }

/* Section bitume (bénéfices) : fond noir, texte blanc, souligné or */
.mzhp--dark { background: var(--mzhp-asphalt); color: #fff; }
.mzhp--dark .mz-h2 { color: #fff; }
.mzhp--dark .mzhv__head p, .mzhp--dark .mzhv__card p { color: rgba(255,255,255,.72); }
.mzhp--dark .mzhv__media { background: #24272b; }
.mzhp--dark .mzhv__card h3 { color: #fff; }
.mzhp--dark .mzhv__card h3::before { content: ''; display: block; width: 2.8rem; height: 3px; margin-bottom: 1.2rem; background: var(--mzhp-yellow); transform: skewX(-14deg); }

/* 28/11 : espace entre un carrousel (bouton « Voir tous… ») et la section bitume ; les sections sont enveloppées, le sélecteur + ne suffit pas */
.mzhv.mzhp--dark { margin-top: clamp(5.6rem, 7vw, 9.6rem); }
/* Mobile : la 1re carte s'aligne sur la marge du titre au lieu d'être collée au bord */
@media (max-width: 749px) {
  .mzhu__grid, .mzhv__grid, .mzhg__grid { scroll-padding-inline: var(--mz-gutter); }
}

/* 28/11 : étiquette « Sans minimum d'achat » en gros, fond jaune incliné comme les boutons */
.mzhb__badge { margin: 2.4rem 0 0 .8rem; }
.mzhb__badge span { position: relative; isolation: isolate; display: inline-block; padding: .6rem 2.2rem; color: var(--mz-ink); font-stretch: var(--mz-wide); font-style: italic; font-weight: 800; font-size: clamp(2.2rem, 2.4vw, 3.4rem); line-height: 1.1; letter-spacing: -0.01em; text-transform: uppercase; }
.mzhb__badge span::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--mzhp-yellow); border-radius: 3px; transform: skewX(-14deg); }
.mzhb__badge + .mzhb__text { margin-top: 2rem; }
