html {
  scroll-behavior: smooth;
}

/* Barra de progresso */
.progress-track {
  position: relative;
  background-color: #fde2e8;
  overflow: hidden;
}

.progress-fill {
  width: 0%;
  transition: width 1.2s ease-out;
  background: linear-gradient(90deg, #f86e86, #f6547a);
  position: relative;
  z-index: 2;
}

.progress-track::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg,
      rgba(248, 110, 134, 0.25) 0,
      rgba(248, 110, 134, 0.25) 12px,
      rgba(248, 110, 134, 0.15) 12px,
      rgba(248, 110, 134, 0.15) 24px);
  background-size: 240px 240px;
  animation: progressTrackAnim 2s linear infinite;
  z-index: 1;
}

@keyframes progressTrackAnim {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 200% 50%;
  }
}

/* Segunda sessão de depoimentos */
.testimonial2-section {
  padding: 24px 20px 32px;
  background: #ffffff;
}

.testimonial2-container {
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial2-header {
  text-align: center;
  margin-bottom: 32px;
}

.testimonial2-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
}

.testimonial2-header p {
  font-size: 1.1rem;
  color: #666;
}

.testimonial2-carousel {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.testimonial2-viewport {
  overflow: hidden;
  position: relative;
}

.testimonial2-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
  touch-action: pan-y;
}

.testimonial2-slide {
  flex: 0 0 100%;
  padding: 0 15px;
}

.testimonial2-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #f1f1f1;
}

.testimonial2-media {
  position: relative;
  border: none;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  background: #f3f4f6;
}

.testimonial2-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.testimonial2-media:hover img {
  transform: scale(1.05);
}

.testimonial2-media__play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.testimonial2-media__play-icon::after {
  content: '';
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}

.testimonial2-media:hover .testimonial2-media__play-icon {
  background: rgba(0, 0, 0, 0.8);
}

.testimonial2-content {
  padding: 30px;
}

.testimonial2-quote {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial2-author {
  font-size: 0.95rem;
  font-weight: 600;
  color: #222;
}

.testimonial2-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.testimonial2-nav.prev {
  left: -60px;
}

.testimonial2-nav.next {
  right: -60px;
}

.testimonial2-nav::before {
  content: '';
  width: 10px;
  height: 10px;
  border-style: solid;
  border-width: 0 2px 2px 0;
  display: inline-block;
}

.testimonial2-nav.prev::before {
  transform: rotate(135deg);
  margin-left: 3px;
}

.testimonial2-nav.next::before {
  transform: rotate(-45deg);
  margin-right: 3px;
}

.testimonial2-nav:hover {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.testimonial2-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.testimonial2-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial2-dots button.active {
  background: #333;
  width: 30px;
  border-radius: 6px;
}

.testimonial2-lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.testimonial2-lightbox--visible {
  opacity: 1;
  visibility: visible;
}

.testimonial2-lightbox__content {
  background: #fff;
  border-radius: 12px;
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: testimonial2-slideUp 0.4s ease;
}

.testimonial2-lightbox__close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  transition: background 0.3s ease;
  z-index: 10;
}

.testimonial2-lightbox__close:hover {
  background: rgba(0, 0, 0, 0.8);
}

.testimonial2-lightbox__video {
  position: relative;
  padding-top: 56.25%;
  background: #000;
}

.testimonial2-lightbox__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.testimonial2-lightbox__info {
  padding: 30px;
}

.testimonial2-lightbox__quote {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 15px;
  font-style: italic;
}

.testimonial2-lightbox__author {
  font-size: 1rem;
  font-weight: 600;
  color: #222;
}

@keyframes testimonial2-slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 850px) {
  .testimonial2-nav.prev {
    left: -50px;
  }

  .testimonial2-nav.next {
    right: -50px;
  }
}

@media (max-width: 768px) {
  .testimonial2-header h2 {
    font-size: 2rem;
  }

  .testimonial2-nav {
    display: none;
  }

  .testimonial2-content {
    padding: 20px;
  }

  .testimonial2-lightbox__content {
    width: 95%;
  }

  .testimonial2-lightbox__info {
    padding: 20px;
  }
}

.about-photo {
  width: 260px;
  height: 260px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .about-photo {
    width: 320px;
    height: 320px;
  }
}

/* Efeito pulsar suave para botões de CTA */
@keyframes pulseSubtle {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 10px 25px -5px rgba(248, 110, 134, 0.4);
  }
  50% {
    transform: scale(1.025);
    box-shadow: 0 16px 35px -5px rgba(248, 110, 134, 0.7);
  }
}

.animate-pulse-subtle {
  animation: pulseSubtle 2.2s infinite ease-in-out;
}

.animate-pulse-subtle:hover {
  animation-play-state: paused;
}
