/* Depoimentos */
.patient-gallery > [class*="col-"] {
  display: flex;
}

.patient-story-card {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  flex-direction: column;
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: var(--shadow);
}

.patient-story-media {
  display: grid;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  place-items: center;
  background: color-mix(in srgb, var(--surface) 82%, var(--page));
}

.patient-story-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.patient-story-card figcaption {
  flex: 1;
  padding: 14px 16px 16px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
}

.review-gallery > [class*="col-"] {
  display: flex;
}

.review-screenshot-card {
  display: flex;
  width: 100%;
  margin: 0;
  overflow: hidden;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: var(--shadow);
}

.review-screenshot {
  display: block;
  width: 100%;
  height: auto;
}

.google-reviews-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(28px, 5vw, 55px);
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.google-rating {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  gap: 5px;
}

.google-rating-value {
  color: var(--text);
  font-size: clamp(3.4rem, 8vw, 5.7rem);
  line-height: 1;
}

.google-stars {
  color: #f5b400;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  letter-spacing: 0.14em;
}

.google-rating > span:last-child,
.google-reviews-copy p {
  color: var(--muted);
}

.google-reviews-copy h3 {
  margin-bottom: 12px;
}

.testimonial-card {
  display: flex;
  height: 100%;
  padding: 18px;
  flex-direction: column;
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: var(--shadow);
}

.testimonial-photo {
  min-height: 145px;
  border-radius: 8px;
}

.testimonial-photo svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
}

.quote {
  margin-top: 22px;
  color: var(--accent-soft);
  font-family: Georgia, serif;
  font-size: 3.2rem;
  line-height: 0.8;
}

.testimonial-card blockquote {
  display: flex;
  flex: 1;
}

.testimonial-card p {
  color: var(--text);
  font-size: 0.9rem;
}

.testimonial-card strong {
  font-size: 0.82rem;
  font-weight: 500;
}

@media (max-width: 767.98px) {
  .google-reviews-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
