  /* FONT_END */
  :root {
    --swiper-theme-color: #ccc;
    /*
    --swiper-preloader-color: var(--swiper-theme-color);
    --swiper-wrapper-transition-timing-function: initial;
    */
}


.swiper {

}
.mySwiper-produit {
  background-color: #fff;
}
.mySwiper-content {
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 9;
}
.swiper-slide-produit {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide-produit img {
  width: 100%;
  height: 100vh;
  object-fit: contain;
}
.swiper-full-home {
	width: 100%;
  height: 100svh;
  height: 100vh;
  height: 100dvh;
}
.mySwiper-home {
  width: 100%;
  height: 100%;
  z-index: 99;
}
.mySwiper-projet {
  width: 1360px;
  height: 100vh;
  padding-top: 80px;
  padding-bottom: 80px;
}
.swiper-slide-home {
  width: 100%;
  height: 100svh;
  height: 100vh;
  height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.swiper-slide-home img {
  width: 100%;
  height: 100svh;
  height: 100vh;
  height: 100dvh;
  object-fit: contain;
  padding: 60px 40px 60px 40px;
  z-index: 8!important;
}
.swiper-slide-projet {
  width: 100%;
  height: 100%;
  text-align: center;
}
.swiper-pagination-produit {
  position: relative;
  bottom: 20px;
  font-weight: initial;
  font-size: 12px;
}
.swiper-button-next:after, .swiper-button-prev:after {
  font-size: 18px;
}
.swiper-slide-box-gallery {
	position: absolute!important;
	width: 100%;
}
.swiper-slide-gallery {
	width: 100%;
	height: 100%;
	background-color: #ffffff;
}
.swiper-slide-gallery img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	position: absolute;
	cursor: zoom-in;
}
.swiper-slide-box-gallery {
  position: absolute!important;
  width: 100%;
  height: calc(32vw);
  border-radius: 0px;
     border-radius: 5px;
}
.swiper-slide-box-gallery-content {
  display: block;
  width: 100%;
  height: calc(32vw);
  background-size: cover;
  background-position: center;
  transition: all 0.5s cubic-bezier(0.22, 0, 0.22, 1);

}
.swiper-slide-box-gallery-content img{
  display: block;
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s ease; /* Ajoute une transition fluide pour l'effet de zoom */
}
.swiper-slide-box-gallery-content img:hover {
  transform: scale(1.01); /* Zoom léger */
}
.text-mode .swiper-slide-open {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff; 
  padding: 0px;
  text-align: center;
  min-height: 50vh;
}
.swiper-txt-photo {
  font-size: 1.4rem;
  font-weight: 400;
  padding: 20px;
  border-radius: 8px;
  max-width: 80%;
  text-align: center;
}
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #111;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.lightbox.active {
  display: flex;
}
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  z-index: 999999;
  transition: transform 0.2s ease, opacity 0.2s ease;
  mix-blend-mode: difference;
  display: block;
}
.lightbox-close img {
  width: 20px !important;
  height: auto;
}
.lightbox-close:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

/* Styles pour centrer les images et les légendes */
.swiper-open {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Conteneur des slides */
.swiper-slide-open {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 10px;
  box-sizing: border-box;
  position: relative;
}

/* Image dans la lightbox */
.swiper-slide-open img {
  max-width: 100%;
  max-height: 80vh; /* Limite la taille maximale de l'image pour ne pas déborder */
  object-fit: contain; /* Assure que l'image garde ses proportions */
  display: block;
  margin-bottom: 10px; /* Espacement entre l'image et la légende */
  padding: 0px 100px 0px 100px;
}
.image-caption {
  font-size: 14px;
  text-align: left;
  margin-top: 10px;
  opacity: 0.8;
  padding: 5px 10px;
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 99999;
  letter-spacing: 0.4px;
  color: #fff;
  mix-blend-mode: difference;
}
/* Effet de survol pour la légende */
.swiper-slide:hover .image-caption {
  opacity: 1; /* Rendre la légende plus visible lors du survol */
}
.swiper-pagination-open {
  position: fixed;
  top: 20px;
  color: white;
  font-size: 16px;
  text-align: left;
  left: 20px;
  width: 100px;
  height: 20px;
  mix-blend-mode: difference;
  bottom: 0px;
}
.swiper-pagination-open span {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 5px 10px;
  border-radius: 5px;
}
.swiper-cursor img {
  width: 100%;
  height: auto;
}
.swiper-button-next, .swiper-button-prev {
  color: #555;
  mix-blend-mode: difference;
}

.swiper-button-next, .swiper-button-prev {
  width: 50%;
  height: 100%;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.swiper-button-next {
  right: 0;
  justify-content: flex-end;
  padding-right: 20px;
  cursor: e-resize;
}
.swiper-button-prev {
  left: 0;
  justify-content: flex-start;
  padding-left: 20px;
  cursor: w-resize;
}
.swiper-button-next::after, .swiper-button-prev::after {
  font-size: 0px;
  color: #111;
}