/* ===========================
   TRUST SECTION (SLIDESHOW)
   =========================== */
.trust-section {
  background: var(--secondary);
  padding: 96px 0 96px 0;
}

.trust-title {
  text-align: center;
  color: var(--title);
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 2em;
}

.trust-desc {
  text-align: center;
  color: var(--text);
  font-size: 1.1em;
  margin-top: 2em;
}

.slideshow-container {
  max-width: 600px;
  position: relative;
  margin: auto;
}

.mySlides {
  display: none;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 12px;
  font-size: 32px;
  font-weight: bold;
  color: var(--text2);
  background: rgba(45, 133, 130, 0.7);
  border-radius: 18px;
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 10;
}

.prev {
  left: -60px;
}

/* Flèche droite */
.next {
  right: -60px;
}

/* Hover */
.prev:hover,
.next:hover {
  background: rgba(0, 0, 0, 0.8);
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: var(--text2);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active,
.dot:hover {
  background-color: var(--main);
}

.fade {
  animation: fadeinout 9s linear;
}

@keyframes fadeinout {
  0% {
    opacity: 0;
  }
  22% {
    opacity: 1;
  }
  78% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* Supprimer les flèches en mode téléphone */
@media (max-width: 768px) {
  .prev,
  .next {
    display: none !important;
  }
}
