:root {
      --cor-primaria: #266873;
      --cor-secundaria: #ffd33d;
      --cor-fundo: #fef9e4;
      --cor-texto: #0f2032;
    }

/* ======== SEÇÃO PRINCIPAL ======== */
.depoimentos {
  padding: 60px 20px;
  text-align: center;
  background-color: var(--cor-fundo);
}

.depoimentos h2 {
  font-size: 2rem;
  color: var(--cor-texto);
  margin-bottom: 40px;
}

/* ======== CONTAINER ======== */
.depoimentos-texto-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  cursor: grab;
  scrollbar-width: none; /* Oculta a barra no Firefox */
}

.depoimentos-texto-container::-webkit-scrollbar {
  display: none; /* Oculta a barra no Chrome/Safari */
}

/* ======== FAIXA DESLIZANTE ======== */
.depoimentos-textos {
  display: flex;
  gap: 40px;
  width: fit-content;
  animation: deslizar 45s linear infinite;
  will-change: transform;
}

/* ======== CAIXAS DE TEXTO ======== */
.depoimento-texto {
  flex: 0 0 340px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 30px 25px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  word-wrap: break-word;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.depoimento-texto:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}

/* ======== TEXTO E NOME ======== */
.depoimento-texto p {
  font-size: 1rem;
  line-height: 1.6;
  color: #0f2032;
  margin: 0 0 12px 0;
  flex-grow: 1;
}

.depoimento-texto span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cor-primaria);
  text-align: right;
  display: block;
}

/* ======== ANIMAÇÃO ======== */
@keyframes deslizar {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ======== RESPONSIVIDADE ======== */
@media (max-width: 768px) {
  .depoimento-texto {
    flex: 0 0 280px;
    padding: 25px 20px;
  }

  .depoimentos-textos {
    gap: 25px;
    animation: deslizar 40s linear infinite;
  }
}

/* --- DEPOIMENTOS EM VÍDEO --- */
.depoimentos-videos {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.depoimentos-videos video {
  width: 260px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  transition: 0.3s;
}

