/* .realisation-imgs-desktop {
  overflow: hidden !important;
} */

/* .realisation-imgs-desktop .swiper-wrapper {
  overflow: hidden !important;
} */

body {
  overflow-x: hidden;
}

/* Alternative: Hide scrollbar but keep functionality */
.realisation-imgs-desktop {
  overflow-x: hidden;
  overflow-y: visible;
}

.realisation-cta {
  color: white;
  font-size: 16px;
  background-color: var(--main-red);
  border-radius: 54px;
  width: 250px;
  padding: 18px;
  margin: 12px 0;
  text-align: center;
  border: 1px solid var(--main-red);
}

.realisation-imgs-desktop {
  display: none;
}

.realisation-cta{
  color: white;
}

.realisation-cta:hover {
  background-color: white;
  color: var(--main-red);
  border: 1px solid var(--main-red);
}

.realisation-cta:hover {
  color: var(--main-red);
}

.realisation-surtitre {
  font-size: 0.8rem;
  font-weight: 400;
  padding-bottom: 16px;
  color: black;
  margin: 0;
  position: relative;
}

.realisation-surtitre::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  bottom: 0;
  left: calc(50% - 25px);
  height: 2px;
  background-color: var(--main-red);
}

.swiper-nav-container {
  margin: 42px auto 0 auto;
  /* width: 18%; */
  width: 25%;
  position: relative;
}

.swiper-button-lock {
  color: black !important;
  border: 1px solid black !important;
}

.custom-arrow-left {
  background-color: white;
  color: var(--main-red);
  width: 26px;
  border: 1px solid var(--main-red);
  height: 26px;
  border-radius: 50%;
  padding: 10px;
  text-align: center;
  font-size: 13px;
}

.custom-arrow-right {
  background-color: white;
  color: var(--main-red);
  width: 26px;
  border: 1px solid var(--main-red);
  height: 26px;
  border-radius: 50%;
  padding: 10px;
  text-align: center;
  font-size: 13px;
}

.custom-arrow-right:hover,
.custom-arrow-left:hover {
  background-color: var(--main-red);
  border: 1px solid white;
}

.custom-arrow-left:hover::after,
.custom-arrow-right:hover::after {
  color: white;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 22px;
  color: var(--main-red);
}

.realisation-titre {
  font-size: 2rem;
  font-weight: 400;
  color: black;
  width: 80%;
  text-align: center;
  margin: 0;
}

.realisation-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 48px 0;
}

.realisation-img-container {
  height: 400px;
  width: 100%;
}

.realisation-img-container img {
  /* box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px; */
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  object-fit: cover;
  border-radius: 20px;
  width: 100%;
  /* height: 350px; */
  aspect-ratio: 1/1;
}

.realisation-imgs {
  width: 100%;
  margin: 0;
  overflow: hidden;
  position: relative;
  /* padding-bottom: 32px; */
  padding: 0 10px 32px;
  box-sizing: border-box;
}

.swiper-slide {
  height: auto;
}

.realisation-pagination {
  bottom: 0;
  top: unset !important;
}

.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
  background: var(--main-red);
}

.swiper-3d .swiper-slide-shadow {
  border-radius: 20px;
}

@media screen and (min-width: 1200px) {
  .realisation-imgs-mobile {
    display: none;
  }

  .realisation-img-container {
    height: 400px;
  }

  .realisation-imgs-desktop {
    display: block;
    /* width: 55%; */
    width: 600px;
  }

  .realisation-img-container img {
    height: inherit;
  }
}

@media screen and (min-width : 1600px) {
  .realisation-titre {
    font-size: 2.2rem;
    margin-bottom: 16px;
  }

  .realisation-img-container {
    height: 452px;
  }

  .realisation-img-container img {
    height: inherit;
  }

  .swiper-nav-container {
    width: 25%;
  }
}