/* === Desktop === */
.swiper.avis-google {
  position: relative;
  padding: 20px 10px;
  background: #f7f9fc;
  overflow: hidden; /* ✅ plus de overflow visible */
}

.swiper-wrapper {
  display: flex;
}

.swiper-slide.avis-item {
  width: 100%; /* ✅ chaque avis occupe tout l’écran */
  font-size: 0.80rem;
  background: #ffffff;
  border: 1px solid #e0e6ed;
  border-radius: 12px;
  padding: 5px 20px 20px 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  box-sizing: border-box;
  margin-top:-10px !important;

}

.swiper-slide.avis-item:hover {
  transform: translateY(-5px);
}

.avis-item h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.avis-item p[itemprop="reviewBody"] {
  font-size: 0.80rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 15px;
}

.avis-item .note {
  font-size: 0.85rem;
  color: #0073aa;
  font-weight: 500;
  margin-bottom: 10px;
}

.avis-item .stars {
  color: #f5a623;
  font-size: 1.1rem;
  margin-left: 5px;
}

.avis-item .date {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 10px;
}

.avis-item a {
  font-size: 0.9rem;
  color: #0073aa;
  text-decoration: none;
}

.avis-item a:hover {
  text-decoration: underline;
}


.avis-item .station {
  font-size: 0.80rem;
  color: #555;
  margin-top: 2px;
  display: flex;
  align-items: center;
}

.avis-item .station span {
  font-size: 80rem;
  margin-right: 1px;
}


.avis-item .station::before {
  content: "📍";
  margin-right: 3px;
}


/* === Style de la première lettre du client === */
.client-name {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 8px;
}

/* Cercle bleu clair avec initiale */
.client-name::before {
  content: attr(data-initial);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-right: 12px;
  border-radius: 50%;
  color: white;
  background-color: #187FB0 ;  
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
}



/* === Mobile (≤ 600px) === */
@media (max-width: 600px) {
  .swiper.avis-google {
    padding-left: 2px;
    overflow: hidden;
  }

  .swiper-slide.avis-item {
    width: 100% ;
    padding: 1px 15px 15px 15px;
    padding-left: 13px;
    margin-right:none  !important;

    
  }

  .avis-item h3 {
    font-size: 1rem;
  }

  .avis-item p[itemprop="reviewBody"] {
    font-size: 0.80rem;
  }

  .avis-item .note,
  .avis-item .date,
  .avis-item a {
    font-size: 0.75rem;
  }
  
 .client-name::before {
  
  width: 28px;
  height: 28px;
 
}
  
}