/* ------------------ VÍDEOS ------------------ */
.videos-section {
  padding: 40px 20px;
  background-color: #111;
}

.videos-section h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 30px;
}

.videos-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.video-card {
  width: 350px;
  background-color: #222;
  border-radius: 14px;
  overflow: hidden;
}

.video-card iframe {
  width: 100%;
  height: 210px;
  border: none;
}

.video-card p {
  padding: 12px;
  font-size: 18px;
  text-align: center;
  color: #fff; /* ou #333 se o fundo for claro */
}

/* ------------------ ANIMAÇÕES ------------------ */
.animate-on-scroll,
.fade-slide {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.active,
.fade-slide.active {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------ RESPONSIVO ------------------ */
@media (max-width: 1024px) {
  .video-card {
    width: 300px;
  }

  .video-card iframe {
    height: 180px;
  }
}

@media (max-width: 768px) {
  /* HEADER */
  .menu-desktop {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* HERO SLIDER */
  .hero-slider {
    height: 60vh;
  }

  .hero-slider .slide h1 {
    font-size: 1.8rem;
    padding: 0 15px;
  }

  /* VÍDEOS */
  .video-card {
    width: 280px;
  }

  .video-card iframe {
    height: 180px;
  }

}

/* Página exclusiva de vídeos */
.pagina-videos .videos-section {
  background: #ffffff;
}

/* CTA YOUTUBE - ENCERRAMENTO */
.cta-youtube {
  padding: 80px 20px;
  background: linear-gradient(
    to bottom,
    #e9f6f7 0%,
    #ffffff 100%
  );
}

.cta-youtube-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.cta-youtube-texto {
  flex: 1 1 60%;
}

.cta-youtube-texto h2 {
  color: #131616;
  font-size: 1.8em;
  font-weight: 500;
}

.cta-youtube-botao {
  flex: 1 1 30%;
  text-align: center;
}

.cta-youtube-botao a {
  display: inline-block;
  background: linear-gradient(135deg, #14b4c0, #0fa1ac);
  color: #ffffff;
  padding: 14px 36px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1em;
  font-weight: 500;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-youtube-botao a:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(20, 180, 192, 0.35);
}

.video-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}
