/* ===== 09-depoimentos.css ===== */
.ex-home .ex-testimonials-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
}

.ex-home .ex-testimonials-heading > .ex-text-link {
  justify-self: end;
  margin: 0 0 8px;
}

.ex-home .ex-testimonial-carousel {
  width: min(100%, 960px);
  margin: 52px auto 0;
  touch-action: pan-y;
}

.ex-home .ex-testimonial-viewport {
  overflow: hidden;
  padding: 2px;
}

.ex-home .ex-testimonial-track {
  display: flex;
  align-items: stretch;
  gap: 16px;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.ex-home .ex-testimonial-slide {
  min-width: 0;
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--ex-line-bright);
  border-radius: 17px;
  background: rgba(11, 28, 52, 0.82);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.15);
}

.ex-home .ex-quote-mark {
  color: var(--ex-red);
  font-family: Georgia, serif;
  font-size: 3.5rem;
  line-height: 0.9;
}

.ex-home .ex-testimonial-slide > p {
  width: 100%;
  max-width: none;
  margin: 20px 0 26px;
  color: #b5c2d4;
  font-size: 0.95rem;
  line-height: 1.7;
  white-space: normal;
}

.ex-home .ex-testimonial-slide footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--ex-line);
}

.ex-home .ex-testimonial-slide footer > span {
  width: 40px;
  height: 40px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  background: var(--ex-red);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 0.69rem;
  font-weight: 800;
}

.ex-home .ex-testimonial-slide footer strong,
.ex-home .ex-testimonial-slide footer small {
  display: block;
}

.ex-home .ex-testimonial-slide footer strong {
  color: #eef4fe;
  font-size: 0.78rem;
}

.ex-home .ex-testimonial-slide footer small {
  color: #7488a5;
  font-size: 0.65rem;
}

.ex-home .ex-testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.ex-home .ex-testimonial-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #65758b;
  cursor: pointer;
  transition: width 0.25s ease, background-color 0.25s ease;
}

.ex-home .ex-testimonial-dots button[aria-pressed="true"] {
  width: 28px;
  background: var(--ex-red);
}

.ex-home .ex-testimonial-dots button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.ex-home .ex-testimonial-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .ex-home .ex-testimonials-heading > .ex-text-link {
    justify-self: start;
  }
}

@media (max-width: 768px) {
  .ex-home .ex-testimonials-heading {
    grid-template-columns: 1fr;
  }

  .ex-home .ex-testimonial-carousel {
    width: min(100%, 560px);
    margin-top: 42px;
  }

  .ex-home .ex-testimonial-slide {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ex-home .ex-testimonial-track,
  .ex-home .ex-testimonial-dots button {
    transition: none;
  }
}
