/* =========================================
   CAROUSEL REV-INT SOLEGNO
========================================= */

#rev-int {
  width: 100%;
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

#rev-int .rev-int-carousel {
  width: 100%;
  position: relative;
  overflow: hidden;
}

#rev-int .rev-int-track {
  display: flex;
  width: 100%;
  transition: transform 0.6s ease;
  will-change: transform;
}

#rev-int .rev-int-slide {
  flex: 0 0 33.333333%;
  width: 33.333333%;
  position: relative;
  overflow: hidden;
}

#rev-int .rev-int-slide a {
  display: block;
  position: relative;
  height: 300px;
  overflow: hidden;
  text-decoration: none;
}

#rev-int .rev-int-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: transform 0.7s ease;
}

#rev-int .rev-int-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0.15) 55%,
    rgba(0,0,0,0) 100%
  );
  z-index: 1;
  transition: background 0.4s ease;
}

#rev-int .rev-int-slide h2 {
  position: absolute;
  z-index: 2;
  left: 30px;
  right: 30px;
  bottom: 30px;

  margin: 0;

  color: #fff;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;

  transition: transform 0.4s ease;
}

/* =========================================
   HOVER
========================================= */

#rev-int .rev-int-slide:hover .rev-int-image {
  transform: scale(1.08);
}

#rev-int .rev-int-slide:hover .rev-int-overlay {
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.78) 0%,
    rgba(0,0,0,0.25) 60%,
    rgba(0,0,0,0.05) 100%
  );
}

#rev-int .rev-int-slide:hover h2 {
  transform: translateY(-8px);
}

/* =========================================
   FLÈCHES
========================================= */

#rev-int .rev-int-prev,
#rev-int .rev-int-next {
  position: absolute;
  z-index: 10;

  top: 50%;
  transform: translateY(-50%);

  width: 48px;
  height: 48px;

  border: none;
  border-radius: 50%;

  background: rgba(255,109,0,0.75);
  color: #fff;

  font-size: 26px;
  line-height: 48px;
  text-align: center;

  cursor: pointer;

  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

#rev-int .rev-int-prev {
  left: 20px;
}

#rev-int .rev-int-next {
  right: 20px;
}

#rev-int .rev-int-prev:hover,
#rev-int .rev-int-next:hover {
  background: rgba(44,98,78,0.85);
  transform: translateY(-50%) scale(1.08);
}

/* =========================================
   PAGINATION
========================================= */

#rev-int .rev-int-pagination {
  position: absolute;

  left: 50%;
  bottom: 15px;

  transform: translateX(-50%);

  z-index: 10;

  display: flex;
  gap: 7px;
}

#rev-int .rev-int-dot {
  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: rgba(255,255,255,0.5);

  cursor: pointer;

  transition:
    width 0.3s ease,
    background 0.3s ease;
}

#rev-int .rev-int-dot.active {
  width: 25px;
  border-radius: 10px;
  background: #fff;
}

/* =========================================
   TABLETTE
========================================= */

@media screen and (max-width: 1024px) {

  #rev-int .rev-int-slide {
    flex: 0 0 50%;
    width: 50%;
  }

  #rev-int .rev-int-slide a {
    height: 400px;
  }

  #rev-int .rev-int-slide h2 {
    font-size: 22px;
  }
}

/* =========================================
   MOBILE
========================================= */

@media screen and (max-width: 767px) {

  #rev-int .rev-int-slide {
    flex: 0 0 100%;
    width: 100%;
  }

  #rev-int .rev-int-slide a {
    height: 350px;
  }

  #rev-int .rev-int-slide h2 {
    left: 20px;
    right: 20px;
    bottom: 25px;

    font-size: 20px;
  }

  #rev-int .rev-int-prev,
  #rev-int .rev-int-next {
    width: 40px;
    height: 40px;

    font-size: 20px;
    line-height: 40px;
  }

  #rev-int .rev-int-prev {
    left: 10px;
  }

  #rev-int .rev-int-next {
    right: 10px;
  }
}