
/* ADPLAN — Carrossel de depoimentos: 3 cards por vez */
#depoimentos .depoimentos-container {
  width: min(100% - 32px, 1100px);
  max-width: 1100px;
  margin-inline: auto;
}

#depoimentos .depoimentos-carrossel {
  box-sizing: border-box;
  width: min(100%, 1000px);
  max-width: 1000px;
  min-height: 390px;
  margin: 12px auto 10px;
  padding: 18px 28px 14px;
  border-radius: 20px;
  background: #103b86;
  color: #fff;
  display: flex;
  flex-direction: column;
}

#depoimentos .depoimentos-janela {
  width: 100%;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

#depoimentos .depoimentos-trilho {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 18px;
  width: 100%;
  min-height: 300px;
  transition: transform .55s ease;
  will-change: transform;
}

#depoimentos .depoimento-card {
  box-sizing: border-box;
  flex: 0 0 calc((100% - 36px) / 2);
  min-width: 0;
  min-height: 300px;
  margin: 0;
  padding: 18px 22px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 16px;
  background: #1953ad;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

#depoimentos .depoimento-card .depoimento-aspas {
  color: #fff;
  font-size: 40px;
  line-height: 1;
  font-weight: 800;
  flex-shrink: 0;
}

#depoimentos .depoimento-card p {
  color: #fff !important;
  font-size: 17px;
  line-height: 1.5;
  margin: 0;
  width: 100%;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-break: normal;
  white-space: normal;
}

#depoimentos .depoimento-card strong {
  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

#depoimentos .depoimentos-controles {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 10px;
  color: #fff;
  flex-shrink: 0;
}

#depoimentos .depoimentos-controles span {
  color: #fff !important;
  font-weight: 600;
  font-size: 15px;
}

#depoimentos .depoimentos-controles button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #103b86;
  cursor: pointer;
}

#depoimentos .depoimentos-controles button:disabled {
  opacity: .45;
  cursor: default;
}

#depoimentos .depoimentos-chamada {
  margin-top: 8px;
  padding-top: 0;
  padding-bottom: 12px;
}

#depoimentos .depoimentos-chamada p {
  margin-top: 0;
  margin-bottom: 8px;
}

.depoimentos-confirmacao-painel {
  text-align: center;
  max-width: 480px;
}

.depoimentos-confirmacao-icone {
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #e1f4e9;
  color: #168346;
  font-size: 38px;
  font-weight: 800;
}

.depoimentos-confirmacao-ok {
  display: inline-block;
  min-width: 140px;
  margin-top: 20px;
  padding: 12px 25px;
  border: 0;
  border-radius: 9px;
  background: #215de2;
  color: white;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 760px) {
  #depoimentos .depoimentos-carrossel {
    padding: 18px;
  }

  #depoimentos .depoimento-card {
    flex-basis: calc((100% - 18px) / 2);
  }
}

@media (max-width: 520px) {
  #depoimentos .depoimentos-container {
    width: min(100% - 20px, 1100px);
  }

  #depoimentos .depoimentos-carrossel {
    min-height: 390px;
    padding: 16px 14px;
  }

  #depoimentos .depoimentos-trilho {
    min-height: 300px;
  }

  #depoimentos .depoimento-card {
    flex-basis: 100%;
    min-height: 300px;
    padding: 18px;
  }

  #depoimentos .depoimento-card p {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #depoimentos .depoimentos-trilho {
    transition: none;
  }
}
