/* Vídeo da Home (VSL "Como usar IA para vender mais em 2027"), 25/11/2026.
   Botão da abertura + seção com a capa. Os dois abrem a janela de vídeo de portfolio-video.js. */

/* ---------- botão "Assista ao vídeo" na abertura ---------- */
.btn-video {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 8px 24px 8px 8px; border-radius: 999px;
  background: #0b1b30; color: #fff; text-decoration: none;
  font-size: 16px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2;
  border: 1px solid rgba(92, 184, 255, .55);
  box-shadow: 0 0 0 4px rgba(92, 184, 255, .12), 0 14px 32px -12px rgba(20, 120, 205, .75);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-video:hover { transform: translateY(-2px); background: #14304f; color: #fff;
  box-shadow: 0 0 0 6px rgba(92, 184, 255, .18), 0 18px 36px -12px rgba(20, 120, 205, .85); }
.btn-video:focus-visible { outline: 3px solid #5cb8ff; outline-offset: 4px; }
.btn-video-play {
  position: relative; flex: none; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%; background: #5cb8ff; color: #0b1b30;
}
.btn-video-play svg { width: 16px; height: 16px; margin-left: 3px; fill: currentColor; }
.btn-video-play::before, .btn-video-play::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #5cb8ff; animation: video-pulso 2s ease-out infinite;
}
.btn-video-play::after { animation-delay: 1s; }
.btn-video small { font-size: 13px; font-weight: 600; color: #b3dbff; margin-left: -4px; }
@keyframes video-pulso { 0% { transform: scale(1); opacity: .75; } 100% { transform: scale(1.75); opacity: 0; } }
@media (max-width: 760px) {
  .hero-crm .hero-cta > .btn-video { width: min(100%, 380px); min-height: 54px; font-size: 15px; }
}

/* ---------- seção do vídeo ---------- */
.video-section { padding-top: 24px; }
.video-section .sec-head { max-width: 760px; margin-inline: auto; text-align: center; }
.video-poster {
  position: relative; display: block; max-width: 980px; margin: 0 auto; border-radius: 20px; overflow: hidden;
  background: #0b1b30; box-shadow: 0 30px 70px -36px rgba(10, 30, 60, .8);
}
.video-poster img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s; }
.video-poster:hover img { transform: scale(1.02); }
.video-poster-play {
  position: absolute; left: 59%; top: 50%; translate: -50% -50%;
  display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%;
  background: #5cb8ff; color: #0b1b30; box-shadow: 0 10px 40px rgba(0, 0, 0, .45);
}
.video-poster-play svg { width: 34px; height: 34px; margin-left: 6px; fill: currentColor; }
.video-poster-play::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 3px solid #5cb8ff;
  animation: video-pulso 2s ease-out infinite;
}
.video-poster-label {
  position: absolute; left: 50%; bottom: 22px; translate: -50% 0;
  padding: 8px 16px; border-radius: 999px; background: rgba(11, 27, 48, .82); color: #fff;
  font-size: 14px; font-weight: 700; white-space: nowrap;
}
.video-poster:focus-visible { outline: 3px solid #5cb8ff; outline-offset: 4px; }
@media (max-width: 760px) {
  .video-poster { border-radius: 14px; }
  .video-poster-play { width: 68px; height: 68px; }
  .video-poster-play svg { width: 26px; height: 26px; margin-left: 4px; }
  .video-poster-label { bottom: 12px; font-size: 12px; padding: 6px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .btn-video-play::before, .btn-video-play::after, .video-poster-play::before { animation: none; display: none; }
  .btn-video, .video-poster img { transition: none; }
}
