/* ================================================
   TESTIMONIALS VISUAL SECTION - CUSTOM STYLES
   ================================================ */

.testimonials-visual {
  position: relative;
  padding: 40px 20px;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonials-grid {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 600px;
  margin: 0 auto;
}

.testimonial-avatar {
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  background: #fff;
  border: 4px solid #fff;
}

.testimonial-avatar:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 50px rgba(55, 114, 255, 0.3);
  z-index: 10;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Positioning des avatars en disposition circulaire moderne */
.testimonial-avatar-1 {
  width: 120px;
  height: 120px;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  border-color: #3772FF;
  animation: float 3s ease-in-out infinite;
}

.testimonial-avatar-2 {
  width: 100px;
  height: 100px;
  top: 120px;
  right: 80px;
  border-color: #58BD7D;
  animation: float 3.5s ease-in-out infinite;
}

.testimonial-avatar-3 {
  width: 110px;
  height: 110px;
  top: 280px;
  right: 40px;
  border-color: #FFB800;
  animation: float 4s ease-in-out infinite;
}

.testimonial-avatar-4 {
  width: 90px;
  height: 90px;
  bottom: 120px;
  right: 100px;
  border-color: #3772FF;
  animation: float 3.2s ease-in-out infinite;
}

.testimonial-avatar-5 {
  width: 100px;
  height: 100px;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  border-color: #58BD7D;
  animation: float 3.8s ease-in-out infinite;
}

.testimonial-avatar-6 {
  width: 90px;
  height: 90px;
  bottom: 120px;
  left: 100px;
  border-color: #FFB800;
  animation: float 3.3s ease-in-out infinite;
}

.testimonial-avatar-7 {
  width: 110px;
  height: 110px;
  top: 280px;
  left: 40px;
  border-color: #3772FF;
  animation: float 4.2s ease-in-out infinite;
}

.testimonial-avatar-8 {
  width: 100px;
  height: 100px;
  top: 120px;
  left: 80px;
  border-color: #58BD7D;
  animation: float 3.6s ease-in-out infinite;
}

/* Stats overlay */
.testimonials-stats {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.stat-box {
  background: #fff;
  border-radius: 16px;
  padding: 20px 30px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  min-width: 200px;
}

.stat-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(55, 114, 255, 0.2);
}

.stat-box-1 {
  animation: slideInLeft 1s ease-out;
}

.stat-box-2 {
  animation: slideInLeft 1.2s ease-out;
}

.stat-box-3 {
  animation: slideInLeft 1.4s ease-out;
}

.stat-icon {
  width: 48px;
  height: 48px;
  background: rgba(55, 114, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-box-2 .stat-icon {
  background: rgba(88, 189, 125, 0.1);
}

.stat-box-3 .stat-icon {
  background: rgba(255, 184, 0, 0.1);
}

.stat-content {
  text-align: left;
}

.stat-number {
  font-size: 24px;
  font-weight: 700;
  color: #23262F;
  margin: 0 0 4px 0;
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: #777E90;
  margin: 0;
  line-height: 1;
}

/* Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive */
@media only screen and (max-width: 1200px) {
  .testimonials-visual {
    margin-top: 60px;
  }
}

@media only screen and (max-width: 768px) {
  .testimonials-grid {
    height: 500px;
    max-width: 400px;
  }

  .testimonial-avatar-1 {
    width: 90px;
    height: 90px;
    top: 30px;
  }

  .testimonial-avatar-2,
  .testimonial-avatar-5,
  .testimonial-avatar-8 {
    width: 80px;
    height: 80px;
  }

  .testimonial-avatar-3,
  .testimonial-avatar-7 {
    width: 85px;
    height: 85px;
  }

  .testimonial-avatar-4,
  .testimonial-avatar-6 {
    width: 70px;
    height: 70px;
  }

  .stat-box {
    padding: 15px 20px;
    min-width: 160px;
  }

  .stat-number {
    font-size: 20px;
  }

  .stat-label {
    font-size: 12px;
  }

  .stat-icon {
    width: 40px;
    height: 40px;
  }

  .stat-icon svg {
    width: 20px;
    height: 20px;
  }
}

@media only screen and (max-width: 480px) {
  .testimonials-grid {
    height: 400px;
    max-width: 320px;
  }

  .testimonial-avatar-1 {
    width: 70px;
    height: 70px;
  }

  .testimonial-avatar-2,
  .testimonial-avatar-5,
  .testimonial-avatar-8 {
    width: 60px;
    height: 60px;
  }

  .testimonial-avatar-3,
  .testimonial-avatar-7 {
    width: 65px;
    height: 65px;
  }

  .testimonial-avatar-4,
  .testimonial-avatar-6 {
    width: 55px;
    height: 55px;
  }

  .testimonials-stats {
    gap: 15px;
  }

  .stat-box {
    padding: 12px 16px;
    min-width: 140px;
    gap: 12px;
  }

  .stat-number {
    font-size: 18px;
  }

  .stat-label {
    font-size: 11px;
  }

  .stat-icon {
    width: 36px;
    height: 36px;
  }

  .stat-icon svg {
    width: 18px;
    height: 18px;
  }
}

