/* ═══════════════════════════════════════════════════════════
   SUPER AVIS CLIENTS - Design A1
   ═══════════════════════════════════════════════════════════ */

.superavis-section {
  background: #0A0A0A;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid #2A2A2A;
}

/* Header avec note globale */
.superavis-header {
  margin-bottom: 40px;
  padding: 0 20px;
}

.superavis-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 25px 35px;
  background: #0f0f0f;
  border: 1px solid #222;
  border-radius: 8px;
}

/* Note globale à gauche */
.superavis-global-rating {
  display: flex;
  align-items: center;
  gap: 25px;
}

.superavis-score {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.superavis-score-value {
  font-size: 56px;
  font-weight: 700;
  color: #F5F5F0;
  line-height: 1;
  letter-spacing: -2px;
}

.superavis-score-stars {
  display: flex;
  gap: 3px;
  margin-top: 8px;
}

.superavis-score-stars svg {
  width: 20px;
  height: 20px;
  fill: #D4A017;
}

.superavis-score-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.superavis-score-count {
  font-size: 15px;
  color: #A0A0A0;
  font-weight: 400;
}

.superavis-score-count strong {
  color: #F5F5F0;
  font-weight: 600;
}

/* Texte à droite */
.superavis-verified-text {
  font-size: 14px;
  color: #999;
  text-align: right;
}

/* Carousel Container */
.superavis-carousel {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 5%,
    black 95%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 5%,
    black 95%,
    transparent 100%
  );
}

.superavis-track {
  display: flex;
  gap: 16px;
  animation: scroll-reviews 150s linear infinite;
  will-change: transform;
  align-items: flex-start;
}

.superavis-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-reviews {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-360px * 50 - 16px * 50));
  }
}

/* Review Card - Modèle A1 */
.superavis-card {
  min-width: 360px;
  max-width: 360px;
  background: #111111;
  border-radius: 8px;
  padding: 20px;
  border: 1px solid #222;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: fit-content;
  align-self: flex-start;
}

.superavis-card:hover {
  transform: translateY(-2px);
  border-color: #333;
}

/* En-tête : Avatar + Info + Étoiles */
.superavis-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.superavis-card-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.superavis-card-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #1a1a1a;
  border: 2px solid #2a2a2a;
}

.superavis-card-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.superavis-card-name {
  font-weight: 600;
  color: #F5F5F0;
  font-size: 15px;
  margin: 0;
  line-height: 1.2;
}

.superavis-card-date {
  font-size: 13px;
  color: #666;
  line-height: 1;
}

.superavis-card-stars {
  display: flex;
  gap: 2px;
  margin-top: 2px;
}

.superavis-card-stars svg {
  width: 14px;
  height: 14px;
  fill: #D4A017;
}

/* Texte de l'avis */
.superavis-card-text {
  font-size: 14px;
  line-height: 1.6;
  color: #A0A0A0;
  margin: 0;
}

/* Badge vérifié */
.superavis-card-verified {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #2ECC71;
  font-weight: 500;
}

.superavis-card-verified svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Responsive */
@media (max-width: 1200px) {
  .superavis-header-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .superavis-verified-text {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .superavis-section {
    padding: 50px 0;
  }

  .superavis-header {
    padding: 0 15px;
  }

  .superavis-header-content {
    padding: 20px;
  }

  .superavis-score-value {
    font-size: 48px;
  }

  .superavis-global-rating {
    gap: 20px;
  }

  .superavis-card {
    min-width: 320px;
    max-width: 320px;
    padding: 18px;
  }

  .superavis-track {
    animation-duration: 220s;
  }
}

@media (max-width: 480px) {
  .superavis-header-content {
    padding: 18px;
  }

  .superavis-score-value {
    font-size: 42px;
  }

  .superavis-card {
    min-width: 300px;
    max-width: 300px;
    padding: 16px;
    gap: 12px;
  }

  .superavis-card-avatar {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }

  .superavis-card-text {
    font-size: 13px;
  }

  .superavis-track {
    animation-duration: 160s;
  }
}
