/* Via Traço · correções v40
   1. Quebras editoriais fixas em Sites e Digital, em qualquer desktop.
   2. Abertura da marca íntegra no mobile, sem recorte e sem quadro parcial. */

/* Cada linha do título é deliberada. Resoluções maiores não redistribuem
   as palavras em quatro linhas. */
body.home #sites-digital .h-headline--sites .h-headline__line {
  display: block;
  white-space: nowrap;
}

/* O vídeo e o quadro final usam exatamente a geometria 16:9 do arquivo. */
body.home .h-home-intro {
  position: relative !important;
  aspect-ratio: 16 / 9 !important;
  isolation: isolate;
}

body.home .h-home-intro__video,
body.home .h-home-intro__fallback {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !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 {
  position: relative;
  z-index: 2;
  opacity: 0 !important;
  transition: opacity .18s ease;
}

body.home .h-home-intro.is-ready .h-home-intro__video,
body.home .h-home-intro.is-playing .h-home-intro__video {
  opacity: 1 !important;
}

body.home .h-home-intro__fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  opacity: 0;
  pointer-events: none;
  user-select: none;
  transition: opacity .18s ease;
}

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;
}

/* A regra genérica de vídeo móvel recortava 1px também da assinatura.
   A assinatura não tem a costura dos vídeos scrub, portanto fica integral. */
html.vt-native-mobile-video body.home .h-home-intro__video,
html.vt-ios-video body.home .h-home-intro__video {
  -webkit-clip-path: none !important;
  clip-path: none !important;
}

@media (max-width: 900px) {
  body.home .h-home-intro {
    overflow: visible !important;
  }
}

/* Em telas muito estreitas, conserva as três linhas sem estouro lateral. */
@media (max-width: 360px) {
  body.home #sites-digital .h-headline--sites {
    font-size: clamp(27px, 8.6vw, 31px) !important;
  }
}
