/* before-after-carousel-charte — composition plein écran scoped accueil */
.lws-ba-carousel {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background: #111111;
  color: #f4efe8;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  font-family: "Montserrat", system-ui, sans-serif;
}

.lws-ba-carousel__viewport {
  position: relative;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}

.lws-ba-carousel__slide {
  width: 100%;
}

.lws-ba-carousel__slide[hidden] {
  display: none !important;
}

.lws-ba-carousel__meta {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 0.75rem;
  text-align: center;
}

.lws-ba-carousel__title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  font-weight: 700;
  color: #f4efe8;
}

.lws-ba-carousel__desc {
  margin: 0;
  font-size: 0.95rem;
  color: #c7bbb3;
  line-height: 1.5;
}

/* Full-bleed comparator inside carousel — no padding/radius/shadow */
.lws-ba-carousel .lws-before-after--in-carousel {
  padding: 0;
  margin: 0;
  max-width: none;
  background: transparent;
}

.lws-ba-carousel .lws-before-after--in-carousel .lws-ba-container {
  max-width: none;
}

.lws-ba-carousel .lws-before-after--in-carousel .kvn-compare {
  border-radius: 0;
  box-shadow: none;
}

.lws-ba-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 1.25rem 1.5rem;
}

.lws-ba-carousel__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid #3b3137;
  background: #1c181b;
  color: #f4efe8;
  cursor: pointer;
}

.lws-ba-carousel__btn:hover,
.lws-ba-carousel__btn:focus-visible {
  border-color: #c87846;
  color: #c87846;
  outline: none;
}

.lws-ba-carousel__dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.lws-ba-carousel__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(244, 239, 232, 0.28);
  cursor: pointer;
}

.lws-ba-carousel__dot.is-active {
  width: 1.4rem;
  background: #c87846;
}

.lws-ba-carousel__empty {
  text-align: center;
  padding: 2rem;
  color: #c7bbb3;
}

@media (max-width: 900px) {
  .lws-ba-carousel {
    min-height: 0;
    padding: 1.5rem 0 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lws-ba-carousel * {
    transition: none !important;
  }
}
