/* ================= DEPOIMENTOS ================= */

.depoimentos {
  background-color: #DCE4E8;
  padding-top: 48px;
  padding-bottom: 48px;
}

.depoimentos-grid {
  display: none;
  width: 100%;
  max-width: var(--container-max-width);
  margin: 32px auto 0;
  padding-left: 0;
  padding-right: 0;
  grid-template-columns: 1fr;
  gap: 20px;
}

.depoimentos-mobile-carousel {
  width: 100%;
  margin: 32px auto 0;
}

.depoimentos__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.08;
  font-weight: 500;
  color: #0B0B0B;
  text-align: center;
}

.depoimentos-mobile-carousel .splide__track {
  overflow: hidden;
}

.depoimentos-mobile-carousel .splide__slide {
  display: flex;
}

.depoimentos-mobile-carousel .depoimento-card {
  width: 100%;
}

.depoimentos-mobile-carousel .splide__pagination {
  position: static;
  margin-top: 18px;
  gap: 8px;
}

.depoimentos-mobile-carousel .splide__pagination__page {
  width: 7px;
  height: 7px;
  margin: 0;
  background: rgba(13, 43, 90, 0.28);
  opacity: 1;
}

.depoimentos-mobile-carousel .splide__pagination__page.is-active {
  transform: none;
  background: #0D2B5A;
}

.depoimentos-topo,
.depoimentos-base {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: stretch;
}

.depoimento-card {
  background-color: #F5F7FA;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  border-radius: 4px;
  clip-path: polygon(0 0, calc(100% - 52px) 0, 100% 52px, 100% 100%, 0 100%);
  text-align: center;
}

.depoimento-card--grande {
  min-height: 320px;
}

.depoimento-text {
  font-family: Inter, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: #4A4F55;
  margin-bottom: 20px;
}

.depoimento-nome {
  margin-top: auto;
  margin-bottom: 4px;
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #000000;
}

.depoimento-info {
  font-family: Inter, sans-serif;
  font-size: 13px;
  color: #6F7276;
  margin: 0;
}

@media (min-width: 768px) {
  .depoimentos {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .depoimentos-mobile-carousel {
    display: none;
  }

  .depoimentos-grid {
    display: grid;
    margin-top: 48px;
    padding-left: var(--container-padding-x);
    padding-right: var(--container-padding-x);
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .depoimentos-topo,
  .depoimentos-base {
    flex-direction: row;
    gap: 32px;
    align-items: flex-start;
  }

  .depoimentos-topo .depoimento-card,
  .depoimentos-base .depoimento-card {
    flex: 1;
  }

  .depoimento-card {
    padding: 28px 30px;
    text-align: left;
  }

  .depoimentos__title {
    font-size: 40px;
    text-align: left;
  }
}
