/* Via Traço · correção v42
   Restaura a abertura original da marca:
   autoplay uma vez, sem salto por scroll e sem costura visual. */

body.home .h-home-intro {
  position: relative !important;
  width: min(720px, 100%) !important;
  aspect-ratio: 16 / 9 !important;
  overflow: hidden !important;
  background: #fff !important;
  isolation: isolate !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

body.home .h-home-intro__video,
body.home .h-home-intro__fallback {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #fff !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  -webkit-clip-path: none !important;
  clip-path: none !important;
}

body.home .h-home-intro__video {
  z-index: 2;
  opacity: 0 !important;
  visibility: visible !important;
  transition: opacity .12s linear;
}

body.home .h-home-intro.is-ready .h-home-intro__video,
body.home .h-home-intro.is-playing .h-home-intro__video,
html.vt-native-mobile-video body.home .h-home-intro.is-ready .h-home-intro__video,
html.vt-native-mobile-video body.home .h-home-intro.is-playing .h-home-intro__video {
  opacity: 1 !important;
}

body.home .h-home-intro__fallback {
  z-index: 1;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  user-select: none !important;
}

body.home .h-home-intro.is-final .h-home-intro__video {
  opacity: 0 !important;
  visibility: hidden !important;
}

body.home .h-home-intro.is-final .h-home-intro__fallback {
  opacity: 1 !important;
  visibility: visible !important;
}

body.home .h-home-intro.is-final .vt-video-canvas {
  display: none !important;
}

/* Desktop usa o canvas já existente para que nenhuma borda do layer nativo
   apareça. No touch, o vídeo nativo fica integral, sem o recorte de 1 px. */
html.vt-native-mobile-video body.home .h-home-intro,
html.vt-ios-video body.home .h-home-intro {
  overflow: hidden !important;
}

html.vt-native-mobile-video body.home .h-home-intro__video,
html.vt-ios-video body.home .h-home-intro__video {
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  transform: none !important;
  -webkit-clip-path: none !important;
  clip-path: none !important;
}

@media (max-width: 900px) {
  body.home .h-home-intro {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: auto !important;
  }
}
