/* ===========================
   Cartes "destination" (Biens)
   â€” n'affecte pas le hero ni le Swiper
   =========================== */

/* Cards destination */
/* .featured-listings .swiper-slide {
  width: var(--card-w) !important;
  flex: 0 0 var(--card-w) !important;
} */


#panel-retail .swiper-wrapper .swiper-slide {
    width: 35rem;
    margin-right: 0;
}
.dest-card {
  position: relative;
  display: block;
  border-radius: 24px;
  overflow: hidden;
  height: 100%;
  max-height: 420px;
  aspect-ratio: 4/4;
}
.reseau .featured-listings .swiper-wrapper {
    display: flex;
    gap: 2rem;
    will-change: transform;
}
.dest-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dest-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.3) 55%,
    rgba(0, 0, 0, 0) 100%
  );
}
.dest-card__content {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.dest-card__title {
  font-family: "cormorant-infant", serif;
  font-size: 32px;
  line-height: 40px;
  font-weight: 400;
}
.dest-card__link {
  font: 400 1.13rem "cormorant-infant", sans-serif;
  opacity: 0.95;
  text-decoration: underline;
}

@media (max-width: 768px) {
  :root {
    --card-w: 267px;
    --gap: 16px;
  }
  .dest-card {
    height: 303px;
    border-radius: 16px;
  }
  .dest-card__title {
    font-size: 20px;
    line-height: 26px;
  }
  .dest-card__content {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
}
/* Viager: version sans lien, avec description */
.dest-card--static {
  cursor: default;
}
.dest-card__desc {
  display: block;
  margin-top: 0.4rem;
  font: 400 14px/20px Montserrat, sans-serif;
  color: #fff;
  opacity: 0.95;
  margin-bottom: 1em;
}
@media (max-width: 1919px) {
  #panel-retail .swiper-wrapper .swiper-slide {
    width: calc((100% - 35rem) / 2);
    margin-right: 0;
}
}
@media (max-width: 1024px) {
  .bloc__intro {
    padding: 4.5rem 0 4.5rem;
  }
  .dest-card {
    height: 426px;
    width: 30vw;
  }
  .biens .featured-listings h2 {
        font-size: 1.75rem;
    }
    .biens .process__title {
      font-size: 2.6rem;
}
#panel-retail .swiper-wrapper .swiper-slide {
    width: 70vw;
    margin-right: 0;
}
  .luxury__cards-grid,
  .luxury__cards-grid.six_cards {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: clamp(12px, 4vw, 24px);
    padding: 0 clamp(16px, 5vw, 36px) 1.25rem;
    width: 100vw;
    max-width: none;
    margin: 0;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    scroll-padding-left: clamp(16px, 5vw, 36px);
    scroll-padding-right: clamp(16px, 5vw, 36px);
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .luxury__cards-grid::-webkit-scrollbar,
  .luxury__cards-grid.six_cards::-webkit-scrollbar {
    display: none;
  }

  .luxury__cards-grid .luxury__card,
  .luxury__cards-grid .luxury__card--offset,
  .luxury__cards-grid.six_cards .luxury__card {
    flex: 0 0 auto;
    width: min(78vw, 360px);
    max-width: none;
    height: auto !important;
    margin: 0;
    transition: none;
    transform: none !important;
    background-size: cover;
    scroll-snap-align: start;
  }

  .luxury__cards-grid .luxury__card--offset,
  .luxury__cards-grid.six_cards .luxury__card--offset {
    margin-top: 0;
  }

  .luxury__cards-grid .luxury__card:hover,
  .luxury__cards-grid .luxury__card:focus-within,
  .luxury__cards-grid.six_cards .luxury__card:hover,
  .luxury__cards-grid.six_cards .luxury__card:focus-within {
    background-size: cover;
  }
}
@media (max-width: 768px) {
  .dest-card {
    height: 302px;
  }
  .luxury__cards-grid {
    padding-inline: 6rem !important;
  }
  .bloc__intro {
    padding: 4.5rem 0 0;
  }
  .section-title {
    font: var(--h3-font);
    margin: 0 2.5rem 2.5rem;
  }
 
}
@media (max-width: 440px) {
  .luxury__cards-grid {
    padding-inline: 1rem !important;
  }
    .section-title {
    font: var(--h3-font);
    margin: 0 0 2rem;
  }
}

@media (max-width: 320px) {
  .biens .swiper-wrapper .swiper-slide {
    width: 20rem;
    width: calc(100vw - 2rem);
}
}
.luxury__process * {
  /*transition: none !important;*/
}
