@charset "utf-8";

/* Essentials
-------------------------*/

.milo-slider {
  --milo-primary: #a2783a;
  --milo-white: #fff;
  --milo-gray: #ccc;
  --milo-gray-dark: #333;
  --milo-main-font: "Roboto", sans-serif;
  --milo-black-10: rgba(0,0,0,.1);
  --milo-black-30: rgba(0,0,0,.3);
  --milo-black-40: rgba(0,0,0,.4);
  --milo-black-50: rgba(0,0,0,.5);
  --milo-black-70: rgba(0,0,0,.7);
  --milo-white-20: rgba(255,255,255,.2);
}


/* Header
-------------------------*/

.subject {
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1;
  position: relative;
  margin-bottom: 30px;
}
.subject-ctg {
  letter-spacing: 8px;
  display: block;
  font-size: 1.5rem;
  color: var(--milo-primary);
}
.subject-title {
  color: var(--milo-gray-dark);
  font-weight: normal;
  margin-bottom: 0;
}




/*======================

	02. Gallery Slider

========================*/

.gallery {
  width: 100%;
  height: 100%;
  position: relative;
  padding-top: 40px;
  background: #ffffff;
}
.gallery:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(hsla(0, 0%, 100%, .8), hsla(0, 0%, 100%, .9) 50%, var(--white));
}


/* Fade Carousel
-------------------------*/
.gallery-slider {
  width: 100%;
  height: 340px;
}
.gallery-slider .swiper-slide {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.gallery-slider .swiper-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #ced4da;
  border-radius: 10px;
  pointer-events: none;
  z-index: 5;
}
.gallery-slider .swiper-slide:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 60%);
  opacity: 0;
  transition: all 0.4s ease-out;
}
.gallery-slider .swiper-slide-active:after,
.gallery-slider .swiper-slide-duplicate-active:after {
  opacity: 1;
}
.gallery-slider .swiper-slide .swiper-caption {
  border-radius: 8px;
}
.gallery-slider .swiper-slide .swiper-caption__ctg {
  transform: translate3d(0, 45px, 0);
  opacity: 0;
  transition: all 0.4s ease-out;
}
.gallery-slider .swiper-slide-active .swiper-caption__ctg,
.gallery-slider .swiper-slide-duplicate-active .swiper-caption__ctg {
  opacity: 1;
  transform: none;
}
.gallery-slider .swiper-slide .swiper-caption__ttl {
  transform: none;
  opacity: 1;
  transition: all 0.7s ease-out;
}
.gallery-slider .swiper-slide-active .swiper-caption__ttl,
.gallery-slider .swiper-slide-duplicate-active .swiper-caption__ttl {
  opacity: 1;
  transform: none;
}
.gallery-slider .swiper-slide img {
  display: block;
  width: auto;
  height: 100%;
  margin: 0 auto;
}


/* Thumb Slider
-------------------------*/
.gallery-thumbs {
  padding: 0;
}
.gallery-thumbs .swiper-slide {
  text-align: center;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  font-size: .9rem;
  color: var(--milo-gray-dark);
  font-weight: 500;
  opacity: .5;
  padding: 25px 0;
}
.gallery-thumbs .swiper-slide:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
}
.gallery-thumbs .swiper-slide:before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--milo-gray);
}
.gallery-thumbs .swiper-slide-active:after {
  background-color: var(--milo-primary);
}
.gallery-thumbs .swiper-slide-active:before {
  background-color: var(--milo-primary);
}
.gallery-thumbs .swiper-slide-active {
  color: var(--milo-primary);
  opacity: 1;
}
.gallery-thumbs .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumbs-container {
  height: 100%;
  display: flex;
  align-items: center;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}
.thumbs-container:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--milo-gray);
}
.gallery-thumbs__content {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}
.gallery-thumbs__content > * {
  z-index: 1;
}
.gallery-thumbs__content:after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: var(--black_70);
}
.gallery-thumbs__content .gallery-thumbs__price {
  position: absolute;
  right: 0px;
  top: 0px;
  color: var(--white);
  background-color: var(--milo-primary);
  padding: 10px;
  font-size: 1rem;
}
.gallery-thumbs__content .gallery-thumbs__bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 1rem;
  color: var(--white);
  text-align: left;
}
.gallery-thumbs__name {
  margin-bottom: 0;
  font-weight: 600;
  font-size: 1.3rem;
}



/*======================

	03. Swiper Slider

========================*/

.swiper-slide.swiper-slide-active .gallery-thumbs__content:after {
  background-color: var(--black_30);
}
.swiper-slide-shadow-left,
.swiper-slide-shadow-right {
  display: none;
}
.swiper-caption {
  padding-right: 1rem;
  position: relative;
  z-index: 1;
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.swiper-caption__ctg {
  letter-spacing: 8px;
  display: block;
  font-size: 1.2rem;
  color: #C9A24D;
}
.swiper-caption__ttl {
  font-size: 1.5rem;
  margin-bottom: 0;
  font-weight: normal;
  color: #0E2E50;;
}
.swiper-caption,
.swiper-thumbs {
  height: 100%;
}




/* Navigation
-------------------------*/

.slider-navigation .slider-arrow {
  position: relative;
 /* background: none;*/
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 8px;
  left: auto;
  right: 0;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #C9A24D;
  box-shadow: rgba(149, 157, 165, 0.2) 0 8px 24px;
}
.slider-navigation .slider-arrow ion-icon {
  font-size: 1.4rem;
  color: #fff;
}

.slider-navigation i {
  color: #fff;
}
.slider-navigation .swiper-button-prev {
  margin-right: 20px;
}
.gallery .swiper-button-next,
.gallery .swiper-button-prev {
  background-image: none;
}
.slider-navigation {
  display: flex;
  align-items: center;
}




.swiper-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  height: auto;
  padding: 0;
}

.gallery-slider .swiper-slide .swiper-caption__ctg,
.gallery-slider .swiper-slide .swiper-caption__ttl {
  opacity: 1;
  transform: none;
}

.gallery-slider .swiper-slide-active .swiper-caption__ctg,
.gallery-slider .swiper-slide-duplicate-active .swiper-caption__ctg,
.gallery-slider .swiper-slide-active .swiper-caption__ttl,
.gallery-slider .swiper-slide-duplicate-active .swiper-caption__ttl {
  opacity: 1;
}

.swiper-caption__ctg {
  color: #C9A24D;
}

.swiper-caption__ttl {
  color: #0E2E50;;
}

.gallery-slider .swiper-slide .swiper-caption__ctg {
  color: #0E2E50;;
  font-size: 0.92rem
}

.gallery-slider .swiper-slide .swiper-caption__ttl {
  color: #0E2E50;;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.1;
}

.gallery-slider .swiper-slide-active .swiper-caption__ctg,
.gallery-slider .swiper-slide-duplicate-active .swiper-caption__ctg {
  color: #C9A24D;
}

.gallery-slider .swiper-slide-active .swiper-caption__ttl,
.gallery-slider .swiper-slide-duplicate-active .swiper-caption__ttl {
  color: #c89b3c;
  font-size: 1rem;
  font-weight: 500;
}

.thumbs-container:after {
  left: 12px;
  right: 12px;
  width: auto;
}

.thumbs-container:after,
.gallery-thumbs .swiper-slide:before,
.gallery-thumbs .swiper-slide:after {
  display: none !important;
}

.thumbs-container:after {
  background-color: #cfcfcf;
}

.swiper-caption {
  position: absolute;
 /* left: 20px;
  right: auto;*/
  bottom: 20px;
  z-index: 2;
  padding: 0;
  border-radius: 0;
  background-color: #fff;;
}

.swiper-caption__ctg,
.swiper-caption__ttl,
.swiper-caption__meta {
  display: inline-block;
  background: #fff;
  border-radius: 8px;
  padding: 6px 10px;
}

.swiper-caption__ttl,
.swiper-caption__meta {
  display: block;
  margin-top: 6px;
}

.swiper-caption__ctg {
  color: #C9A24D;
}

.swiper-caption__ttl {
  color: #1f2d3d;
}

.swiper-caption__meta {
  color: #0E2E50;;
}

.swiper-caption__ctg {
  color: #C9A24D;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
}

.swiper-caption__ttl {
  color: #1f2d3d; /* ton bleu foncé du site */
  font-size: 1.2rem;
  font-weight: 600;
  margin: 2px 0;
}

.swiper-caption__meta {
  position: relative;
  color: #0E2E50;;
  font-size: 0.9rem;
 /* text-align: center;*/
}
.gallery-slider .swiper-slide:after {
  display: none;
}


.swiper-slide .container {
  border: 0.0625rem
  solid var(--border);
}
