@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

@font-face {
  font-family: 'Montech';
  src: url('https://5455473.fs1.hubspotusercontent-na1.net/hubfs/5455473/fonts/montech/MONTECHV02-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}

.ctf26-testimonials-section {
  background-color: #FFFFFF !important;
  width: 100vw !important;
  position: relative;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  padding: 100px 0 0 0;
  overflow: hidden;
  font-family: 'Roboto', sans-serif;
}

/* CONTAINER DO CABEÇALHO (ALINHADO) */
.ctf26-testimonials-section .testimonials-container {
  max-width: 1600px !important;
  margin: 0 auto !important;
  padding: 0 80px !important;
}

.testimonials-header {
  max-width: 850px;
  margin-bottom: 40px;
}

.ctf26-testimonials-section .testimonials-title {
  font-family: 'Montech', sans-serif !important;
  color: #060118 !important;
  font-size: 32px !important;
  letter-spacing: 8px !important;
  text-transform: uppercase !important;
  line-height: 1.5 !important;
  min-height: 2.5em;
  font-weight: 400 !important;
}

/* CONTAINER FULL WIDTH PARA O SCROLLER */
.testimonials-scroller-full-width {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.testimonials-scroller-wrapper {
  width: 100%;
  overflow: hidden;
  padding: 40px 0 80px 0;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  width: max-content;
  /* Padding inicial para alinhar o primeiro card com o título no carregamento */
  padding-left: calc((100vw - 1600px) / 2 + 80px);
}

@media (max-width: 1600px) {
  .testimonials-track {
    padding-left: 80px;
  }
}

@media (max-width: 1023px) {
  .testimonials-track {
    padding-left: 20px;
  }
}

/* ANIMAÇÃO DESKTOP */
@media (min-width: 1024px) {
  .testimonials-track {
    animation: infinite-scroll-testimonials 45s linear infinite;
  }
  .testimonials-track:hover {
    animation-play-state: paused;
  }
}

@keyframes infinite-scroll-testimonials {
  from { transform: translateX(0); }
  /* Ajuste: Move até metade do track clonado */
  to { transform: translateX(-50%); }
}

/* CARDS - DESIGN ORIGINAL PRESERVADO */
.testimonial-card {
  width: 420px;
  background-color: #1CFE92 !important;
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
}

.testimonial-card:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.card-content { margin-bottom: 32px; }

.quote-icon {
  color: #060118;
  opacity: 0.3;
  margin-bottom: 24px;
}

.testimonial-quote {
  font-size: 18px;
  font-family: 'Roboto', sans-serif
  line-height: 1.6 !important;
  color: #060118 !important;
  font-weight: 400;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-author img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info { display: flex; flex-direction: column; }

.author-name {
  font-family: 'Montech', sans-serif !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  color: #060118 !important;
  letter-spacing: 2px;
}

.author-role {
  font-size: 12px;
  color: rgba(6, 1, 24, 0.7);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* CURSOR BLINK */
.cursor-blink {
  color: #1CFE92 !important;
  animation: stats-blink 0.8s step-end infinite;
}

@keyframes stats-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* LINHA DE TRANSIÇÃO */
.testimonials-footer-line {
  width: 100vw !important;
  margin-top: 20px;
}

.testimonials-footer-line img {
  width: 100%;
  height: auto;
  min-height: 50px;
  display: block;
}

/* MOBILE */
@media (max-width: 1023px) {
  .ctf26-testimonials-section .testimonials-container {
    padding: 0 20px !important;
  }
  .ctf26-testimonials-section .testimonials-title {
    font-size: 22px !important;
    letter-spacing: 4px !important;
  }
  .testimonial-card {
    width: 320px;
    padding: 30px;
  }
  .testimonials-scroller-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 40px;
  }
  .testimonials-scroller-wrapper::-webkit-scrollbar { display: none; }
}