/* Wrapper geral */
.swiper-testemunho-wrapper {
  max-width: 960px;
  margin: 5rem auto; /* antes era 3rem, agora tem mais espaço em cima e embaixo */
  padding: 0 1rem;
  text-align: center;
  position: relative;
  font-family: "Segoe UI", sans-serif;
}

/* Título */
.swiper-testemunho-titulo {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #111;
  line-height: 1.3;
}

/* Container do swiper */
.swiper-testemunhos-unique {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  padding: 2rem 3rem 3rem 3rem;
}

/* Wrapper dos slides */
.swiper-testemunhos-unique .swiper-wrapper {
  transition-timing-function: ease-in-out;
}

/* Slide individual */
.swiper-testemunho-slide {
  width: 95%;
  box-sizing: border-box;
  background: linear-gradient(135deg, #fff 0%, #f9f9f9 100%);
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  padding: 3rem 2rem;
  font-size: 1.05rem;
  color: #333;
  user-select: none;
  transition: transform 0.4s ease, box-shadow 0.3s ease;
  margin: 0 auto;
  position: relative;
}

/* Aspas decorativas */
.swiper-testemunho-slide::before {
  content: "“";
  font-size: 4rem;
  color: #e0e0e0;
  position: absolute;
  top: 20px;
  left: 25px;
  line-height: 1;
}

/* Parágrafos internos */
.swiper-testemunho-slide p {
  margin: 0.8rem 0;
  line-height: 1.6;
}

/* Nome do autor */
.swiper-testemunho-slide em {
  display: block;
  margin-top: 1.5rem;
  font-style: normal;
  font-weight: 500;
  color: #777;
}

.swiper-testemunho-btn-prev,
.swiper-testemunho-btn-next {
  color: #fff;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  width: 52px;
  height: 52px;
  background: #111;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: background 0.3s ease;
  user-select: none;
  padding: 0;
  line-height: 0; /* 👈 ESSENCIAL: remove altura da linha */
  font-size: 30px;
}

.swiper-testemunho-btn-prev span,
.swiper-testemunho-btn-next span {
  display: inline-block;
  line-height: 1; /* 👈 deixa o símbolo com altura normal */
  transform: translateY(-2px); /* 👈 opcional: move levemente pra cima */
}

.swiper-testemunho-btn-prev:hover,
.swiper-testemunho-btn-next:hover {
  background: #000;
}

.swiper-testemunho-btn-prev {
  left: -60px;
}

.swiper-testemunho-btn-next {
  right: -60px;
}

/* Paginação */
.swiper-testemunho-pagination {
  margin-top: 2rem;
  text-align: center;
  position: relative;
  z-index: 25;
}

.swiper-testemunho-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #bbb;
  opacity: 1;
  transition: background-color 0.3s ease;
  margin: 0 6px !important;
  border-radius: 50%;
}

.swiper-testemunho-pagination .swiper-pagination-bullet-active {
  background-color: #111;
}

/* ... [seu CSS atual permanece igual até aqui] ... */

/* Responsividade */
@media (max-width: 768px) {
  .swiper-testemunho-wrapper {
    padding: 0 1rem;
  }

  .swiper-testemunho-titulo {
    font-size: 1.6rem;
  }

  .swiper-testemunho-slide {
    padding: 2rem 1.2rem;
    font-size: 1rem;
  }

  .swiper-testemunho-btn-prev,
  .swiper-testemunho-btn-next {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .swiper-testemunho-slide::before {
    font-size: 2.5rem;
    top: 8px;
    left: 12px;
  }
  
  .swiper-testemunhos-unique {
    max-width: 440px; /* aumentei um pouco */
    padding: 2rem 3rem 2rem 3rem;
    margin: 0 auto;
  }

  .swiper-testemunho-btn-prev {
    left: 0 !important; /* move mais pra fora */
  }

  .swiper-testemunho-btn-next {
    right: 0 !important; /* idem */
  }

}

/* Responsividade extra: dispositivos muito pequenos (telemóveis antigos) */
@media (max-width: 480px) {
  .swiper-testemunho-slide {
    padding: 1.5rem 1rem;
    font-size: 0.95rem;
  }

  .swiper-testemunho-titulo {
    font-size: 1.4rem;
  }

  .swiper-testemunho-btn-prev,
  .swiper-testemunho-btn-next {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .swiper-testemunho-slide::before {
    font-size: 2.2rem;
    top: 6px;
    left: 10px;
  }
  
  .swiper-testemunhos-unique {
    max-width: 400px; /* mais espaço pro mobile pequenininho */
    padding: 1.5rem 2.8rem 1.5rem 2.8rem;
    margin: 0 auto;
  }

  .swiper-testemunho-btn-prev {
    left: 0 !important; /* move mais pra fora */
  }

  .swiper-testemunho-btn-next {
    right: 0 !important; /* idem */
  }
}

/* Esconde os slides que não estão ativos */
.swiper-slide:not(.swiper-slide-active) {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.95);
  transition: opacity 0.3s ease;
}