/* ============================================================
   DEPOIMENTOS — Carrossel de opiniões
   ============================================================ */

.reviews-section {
  position: relative;
  background: #042951;
  overflow: hidden;
}

/* Glow decorativo */
.reviews-section::before,
.reviews-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}


/* ── CABEÇALHO ────────────────────────────────────────────── */

.reviews-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #97f3b5;
}

.reviews-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin: 8px 0 12px;
}

.reviews-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  max-width: 460px;
  margin: 0 auto;
}

/* ── VIEWPORT + TRACK ─────────────────────────────────────── */

.reviews-viewport {
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
}
.reviews-viewport:active  { cursor: grabbing; }
.reviews-viewport::-webkit-scrollbar { display: none; }

.reviews-track {
  display: flex;
  align-items: stretch;
  gap: 20px;
  width: max-content;
}

/* ── CARD ─────────────────────────────────────────────────── */

.review-card {
  flex: 0 0 240px;
  height: 220px;
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  transition: border-color 0.35s ease, background 0.35s ease, transform 0.35s ease;
}

.review-card:hover {
  border-color: rgba(151, 243, 181, 0.22);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-3px)

}

.review-stars {
  font-size: 17px;
  letter-spacing: 2px;
  color: #fbbf24;
  line-height: 1;
}

.review-quote {
  font-size: 40px;
  line-height: 1;
  color: rgba(151, 243, 181, 0.2);
  font-family: Georgia, serif;
  margin-bottom: -8px;
}

.review-text {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  flex: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin-top: auto;
}

.review-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #004b87, #006d3d);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  flex-shrink: 0;
}

.review-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.38);
}

/* ── CONTROLES ────────────────────────────────────────────── */

.reviews-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}

.reviews-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, background 0.3s, opacity 0.3s;
  flex-shrink: 0;
}

.reviews-btn:hover:not(:disabled) {
  border-color: rgba(151, 243, 181, 0.45);
  background: rgba(151, 243, 181, 0.1);
}

.reviews-btn:disabled {
  opacity: 0.25;
  cursor: default;
}

.reviews-dots-wrap {
  display: flex;
  align-items: center;
  gap: 7px;
}

.reviews-dot {
  height: 7px;
  width: 7px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.22);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: width 0.35s ease, background 0.35s ease;
  flex-shrink: 0;
}

.reviews-dot.active {
  background: #97f3b5;
  width: 22px;
}

/* Indicador de fonte dos dados */
.reviews-source {
  text-align: center;
  margin-top: 14px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.05em;
}

/* ── RESPONSIVO ───────────────────────────────────────────── */

@media (max-width: 480px) {
  .review-card { flex: 0 0 calc(100vw - 64px); }
  .reviews-title { font-size: 26px; }
}

@media (min-width: 481px) and (max-width: 768px) {
  .review-card { flex: 0 0 280px; }
}
