/* ===== SEÇÃO REVIEWS GOOGLE ===== */
.reviewsSection {
  background-color: #fff;
  padding: 64px 0;
}

.reviewsSection .section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Cabeçalho da seção */
.reviewsHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.reviewsGoogleBadge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewsGoogleInfo {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.reviewsGoogleLabel {
  font-size: 13px;
  color: #888;
  font-weight: 500;
}

.reviewsGoogleStars {
  display: flex;
  align-items: center;
  gap: 6px;
}

.reviewsGoogleRating {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  line-height: 1;
}

.reviewsStarRow {
  display: flex;
  align-items: center;
  gap: 2px;
}

.reviewsGoogleCount {
  font-size: 13px;
  color: #888;
}

/* Carousel / grid de cards */
.reviewsCarousel {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

/* Card individual */
.reviewCard {
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s;
}

.reviewCard:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* Header do card */
.reviewCardHeader {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reviewCardAvatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.reviewCardAvatarFallback {
  background-color: #1E90FF;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.reviewCardAuthorInfo {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.reviewCardName {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  transition: color 0.18s;
}

a.reviewCardName:hover {
  color: #1E90FF;
}

.reviewCardTime {
  font-size: 12px;
  color: #aaa;
}

.reviewCardGoogleIcon {
  flex-shrink: 0;
  margin-left: auto;
}

/* Estrelas do card */
.reviewCardStars {
  display: flex;
  gap: 2px;
}

/* Texto da review */
.reviewCardText {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Estados de loading / erro */
.reviewsLoading,
.reviewsError {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px 0;
  color: #888;
  font-size: 14px;
}

.reviewsLoadingSpinner {
  width: 22px;
  height: 22px;
  border: 3px solid #e0e0e0;
  border-top-color: #1E90FF;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.reviewsEmpty {
  color: #aaa;
  font-size: 14px;
  text-align: center;
  padding: 32px 0;
  grid-column: 1 / -1;
}

/* Responsivo */
@media (max-width: 768px) {
  .reviewsCarousel {
    grid-template-columns: 1fr;
  }

  .reviewsHeader {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== BOTÃO VER TODAS AS AVALIAÇÕES ===== */
.reviewsFooter {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.reviewsAllButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  background: #fff;
  color: #1E90FF;
  border: 1.5px solid #1E90FF;
  border-radius: 44px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.18s, color 0.18s, transform 0.18s, box-shadow 0.18s;
  max-width: 100%;
  box-sizing: border-box;
  line-height: 1.2;
}

.reviewsAllButton span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

@media (hover: hover) {
  .reviewsAllButton:hover {
    background: #1E90FF;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(30, 144, 255, 0.25);
  }
}

.reviewsAllButton svg {
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .reviewsFooter {
    margin-top: 24px;
    padding: 0 8px;
  }
  .reviewsAllButton {
    width: 100%;
    max-width: 360px;
    padding: 12px 14px;
    font-size: 14px;
    gap: 8px;
  }
  .reviewsAllButton span {
    white-space: normal;
    text-overflow: clip;
    overflow: visible;
  }
}

@media (max-width: 380px) {
  .reviewsAllButton {
    font-size: 13px;
    padding: 11px 12px;
    gap: 6px;
  }
  .reviewsAllButton > svg:first-child {
    width: 16px;
    height: 16px;
  }
  .reviewsAllButton > svg:last-child {
    width: 12px;
    height: 12px;
  }
}
