/* Accueil E-wenze — hero photo + cartes */

body.home-page {
  background: #faf9f7;
}

body.home-page header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 100%);
  border-bottom: 0;
  box-shadow: none;
}

body.home-page header.is-scrolled {
  position: sticky;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

body.home-page header:not(.is-scrolled) .btn-ghost,
body.home-page header:not(.is-scrolled) .user-menu {
  color: #fff;
}

body.home-page header:not(.is-scrolled) .user-menu {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.4);
}

.home-hero {
  position: relative;
  min-height: 86vh;
  color: #fff;
  overflow: hidden;
}

.home-hero .carousel-inner,
.home-hero .carousel-item {
  height: 86vh;
  min-height: 560px;
}

.home-hero-photo {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: homeKenBurns 18s ease-in-out infinite alternate;
}

@keyframes homeKenBurns {
  from { transform: scale(1.02); }
  to { transform: scale(1.1); }
}

.home-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(10,12,16,.25) 0%, rgba(10,12,16,.15) 38%, rgba(10,12,16,.72) 100%);
  pointer-events: none;
}

.home-hero-copy {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  top: auto;
  bottom: 11%;
  text-align: center;
  padding: 0 24px 8px;
}

.home-kicker {
  display: inline-block;
  margin: 0 0 10px;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
}

.home-hero-copy h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.7rem, 4.4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  text-shadow: 0 10px 28px rgba(0,0,0,.35);
  margin: 0;
}

.home-hero-copy p {
  max-width: 620px;
  margin: 12px auto 0;
  font-size: clamp(.95rem, 1.6vw, 1.15rem);
  color: rgba(255,255,255,.92);
}

.home-hero .carousel-indicators {
  z-index: 4;
  margin-bottom: 18px;
}

.home-hero .carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
}

.home-listings-wrap {
  position: relative;
  z-index: 2;
  margin-top: -36px;
  padding-bottom: 8px;
}

.home-listings-panel {
  background: #fff;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -10px 36px rgba(20,16,12,.1);
  padding: 8px 0 40px;
}

.home-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 22px 0 6px;
}

.home-chip {
  position: static !important;
  border: 1px solid #ece7e1 !important;
  background: #fff !important;
  padding: 8px 14px !important;
  font-size: 13px !important;
  color: #222 !important;
  transition: .2s ease;
}

.home-chip:hover,
.home-chip.is-active {
  background: #171717 !important;
  color: #fff !important;
  border-color: #171717 !important;
}

#listings-root.is-loading {
  opacity: .45;
  pointer-events: none;
}

body.home-page .listing-thumbnail {
  border-radius: 18px 18px 0 0;
}

@media (max-width: 768px) {
  .home-hero,
  .home-hero .carousel-inner,
  .home-hero .carousel-item {
    min-height: 72vh;
    height: 72vh;
  }
  .home-hero-copy { bottom: 9%; }
  .home-hero-copy h1 { font-size: 1.65rem; }
  .home-listings-wrap { margin-top: -24px; }
}
