/* ================================================
   CSS ISOLADO — só afeta a secção #testemunhos
   ================================================ */

/* Fundo da secção */
#testemunhos {
  background-color: #f1f4f4;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* Container interno */
#testemunhos .wrapper {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 58px;
}

@media (max-width: 1440px) {
  #testemunhos .wrapper {
    padding: 0 5%;
  }
}

/* Bloco do título e intro */
#testemunhos .block-wrapper {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 5%;
  position: relative;
}

/* Espaçamento abaixo do bloco do título */
#testemunhos .mb-16 {
  margin-bottom: 4rem;
}

/* Centralizar texto */
#testemunhos .text-center {
  text-align: center;
}

/* Título h2 */
#testemunhos h2 {
  font-size: 3rem;
  font-weight: 700;
  color: #222 !important;
}

@media (max-width: 800px) {
  #testemunhos .contentGrid__main {
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  #testemunhos h2 {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
}

/* Parágrafo introdutório */
#testemunhos .text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
  color: #222 !important;
}

/* Grid dos cartões */
#testemunhos .contentGrid__main {
  margin: 24px auto;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  transition: .3s ease-out;
}

@media (max-width: 1023px) {
    #testemunhos .contentGrid__main {
    gap: 16px;
  }
  .max-lg\:justify-start {
        justify-content: center;
    }
}

/* Cartão */
#testemunhos .pageCard,
#testemunhos .pageCard--featured {
  background-color: #fff;
  overflow: hidden;
  max-width: 360px;
  flex: 1;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 4px 22px 0 rgba(37, 37, 37, .15);
  text-decoration: none;
}

/* Container interno do cartão */
#testemunhos .pageCard__container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

/* Imagem do cartão */
#testemunhos .pageCard__image {
  height: 140px;
}

#testemunhos .pageCard__image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* Área de texto do cartão */
#testemunhos .pageCard__wrapper {
  flex-grow: 1;
  padding: 24px 24px 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

/* Título do cartão (h3) */
#testemunhos .pageCard__title {
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  color: #222222;
  font-style: normal;
  letter-spacing: normal;
  -webkit-font-smoothing: antialiased;
}

/* Descrição do cartão */
#testemunhos .pageCard__description {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  margin-top: 16px;
  color: #455558;
  -webkit-font-smoothing: antialiased;
}

/* Rodapé do cartão */
#testemunhos .pageCard__bottom {
  margin: auto;
}

#testemunhos .pageCard__price {
  margin: 24px 0;
}

/* Linha do botão */
#testemunhos .mt-12 {
  margin-top: 3rem;
}

#testemunhos .flex {
  display: flex;
}

#testemunhos .justify-center {
  justify-content: center;
}

/* Botão */
#testemunhos .button-edp-green {
  display: inline-block;
  border-width: 2px;
  border-style: solid;
  border-color: rgb(38 254 83);
  background-color: rgb(38 254 83);
  padding: 0.75rem 2rem;
  text-align: center;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  color: rgb(30 30 30);
  border-radius: 0.5rem;
  width: 100%;
  max-width: max-content;
  transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

#testemunhos .button-edp-green:hover {
  background-color: rgb(126 255 151);
}