/* Estilos para o componente de avaliações do Google */
#google-reviews {
  width: 100%;
  max-width: 1200px;
  margin: 50px auto;
  padding: 30px;
  position: relative;
  overflow: hidden;
  background-color: #f9f9f9;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.google-reviews-title {
  text-align: center;
  margin-bottom: 40px;
}

.google-reviews-title h2 {
  color: var(--cor-p1);
  font-size: 2.2rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.google-reviews-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--cor-s);
  border-radius: 2px;
}

.google-reviews-title p {
  color: #666;
  font-size: 1.2rem;
  margin-bottom: 25px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.google-logo {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.google-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #4285F4;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  padding: 10px 20px;
  border-radius: 30px;
  background-color: rgba(66, 133, 244, 0.1);
  border: 2px solid #4285F4;
}

.google-logo a:hover {
  transform: scale(1.05);
  background-color: rgba(66, 133, 244, 0.2);
}

.reviews-slider {
  display: flex;
  transition: transform 0.5s ease;
  margin: 30px 0;
}

.review-card {
  min-width: 300px;
  width: 100%;
  background-color: white;
  border-radius: 12px;
  padding: 25px;
  margin: 0 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.4s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

.review-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.review-author {
  display: flex;
  align-items: center;
}

.profile-icon {
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  background-color: var(--cor-p1);
  border-radius: 50%;
}

.profile-icon i {
  font-size: 2.5rem;
  color: white;
}

.review-author h3 {
  font-size: 1.2rem;
  color: #333;
  margin: 0;
  font-weight: 600;
}

.review-stars {
  display: flex;
  font-size: 1.2rem;
}

.review-content {
  margin-bottom: 20px;
  color: #555;
  line-height: 1.7;
  height: 90px;
  overflow: hidden;
  position: relative;
  font-size: 1.05rem;
}

.review-content p {
  margin: 0;
}

.review-content::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background: linear-gradient(transparent, white);
}

.review-date {
  font-size: 0.9rem;
  color: #999;
  text-align: right;
  font-style: italic;
}

.slider-controls {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.slider-controls button {
  background-color: var(--cor-p1);
  color: white;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.slider-controls button:hover {
  background-color: var(--cor-p2);
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.slider-controls button i {
  font-size: 1.8rem;
}

/* Botão de atualização de avaliações */
.refresh-reviews {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.refresh-button {
  background-color: var(--cor-p1);
  color: white;
  border: none;
  border-radius: 30px;
  padding: 12px 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  font-weight: 500;
}

.refresh-button:hover {
  background-color: var(--cor-p2);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.refresh-button i {
  margin-right: 10px;
  font-size: 1.3rem;
}

/* Indicadores de slide */
.slider-indicators {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.slider-indicator {
  width: 10px;
  height: 10px;
  background-color: #ddd;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-indicator.active {
  background-color: var(--cor-p1);
  transform: scale(1.2);
}

/* Responsividade */
@media (max-width: 768px) {
  #google-reviews {
    padding: 20px;
    margin: 30px auto;
  }
  
  .google-reviews-title h2 {
    font-size: 1.8rem;
  }
  
  .google-reviews-title p {
    font-size: 1rem;
  }
  
  .review-card {
    min-width: calc(100% - 30px);
    margin: 0 15px;
    padding: 20px;
  }
  
  .review-content {
    height: 100px;
  }
  
  .slider-controls button {
    width: 40px;
    height: 40px;
  }
  
  .slider-controls button i {
    font-size: 1.5rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .review-card {
    min-width: calc(50% - 30px);
  }
}

@media (min-width: 1025px) {
  .review-card {
    min-width: calc(33.333% - 30px);
  }
}
