header.mfog-sticky{position:sticky;top:0;z-index:30;box-shadow:0 5px 16px #0002}
html{scroll-padding-top:9rem}
.mfog-ambiance{margin:2rem 0}.mfog-ambiance img{display:block;width:100%;height:auto;border-radius:12px}.mfog-ambiance figcaption{padding:.6rem 0;color:#65594f;font-size:.9rem}
@media(max-width:760px){header.mfog-sticky nav{display:flex;flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start;gap:1rem;scrollbar-width:thin}header.mfog-sticky nav>a{flex:none;white-space:nowrap}header.mfog-sticky nav .brand img{width:52px;height:auto}html{scroll-padding-top:5rem}}

/* Photos de la gamme sur l’accueil et dans le catalogue. */
.public .card .photo-ambiance {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.public .hero-situation .hero-visual {
  inset: 0 0 0 auto;
  width: 61%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  background: none;
}

.public .hero-situation::after {
  background: linear-gradient(90deg, #090909 39%, #090909ce 46%, #09090935 63%, transparent 77%);
}

.public .hero-situation .hero-modele {
  position: absolute;
  right: clamp(14px, 2vw, 32px);
  bottom: clamp(14px, 2vw, 32px);
  padding: .5em .9em;
  border-radius: 4px;
  background: #111d;
  color: #f7e9dd;
  font-size: .88rem;
  text-underline-offset: .2em;
}

/* La galerie garde le même format lorsqu’on passe aux photos de détail. */
.pd-gallery-situation {
  min-width: 0;
}

.pd-gallery-situation .pd-main-photo {
  min-height: 0;
}

.pd-gallery-situation .pd-zoom {
  display: block;
  aspect-ratio: 3 / 2;
  padding: 0 !important;
}

.pd-gallery-situation .pd-zoom img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pd-gallery-situation .pd-zoom img[hidden] {
  display: none;
}

.pd-gallery-situation .pd-thumbs {
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 3px;
  scrollbar-width: thin;
}

.pd-gallery-situation .pd-thumbs button {
  flex: 0 1 86px;
  min-width: 52px;
}

.pd-gallery-situation .pd-thumbs img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
}

.mfog-intro-situation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(1.25rem, 3vw, 3rem);
  margin: 1.5rem 0;
}

.mfog-intro-situation .mfog-ambiance,
.public .mfog-intro-situation h2:first-child,
.mfog-intro-situation p:last-child {
  margin: 0;
}

.public .mfog-intro-situation h2:first-child {
  margin-bottom: .45em;
}

@media (max-width: 760px) {
  .public .hero-situation {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .public .hero-situation .hero-grid {
    padding: 1.75rem clamp(20px, 4vw, 40px);
  }

  .public .hero-situation .hero-grid > div {
    max-width: none;
  }

  .public .hero-situation .hero-visual {
    position: static;
    order: 1;
    width: 100%;
    height: auto;
    z-index: auto;
  }

  .public .hero-situation::after {
    display: none;
  }

  .mfog-intro-situation {
    grid-template-columns: 1fr;
  }
}
