/* Abertura sem faixas: cover na página, filme inteiro no player em tela cheia. */
.g-video-hero {
    position: relative;
    height: calc(100vh - var(--g-header-height, 80px));
    height: calc(100svh - var(--g-header-height, 80px));
    min-height: 400px;
    display: block;
    overflow: hidden;
    background: #061b2d;
    color: #fff;
}
.g-video-hero [hidden] { display: none !important; }
.g-video-hero__stage { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
.g-video-hero__video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; background: #061b2d; }
.g-video-hero__toolbar {
    position: absolute; bottom: 60px; left: 0; z-index: 1;
    width: 100%; padding: 12px var(--g-gutter); display: flex; align-items: center;
    justify-content: space-between; gap: 16px; background: transparent;
}
.g-video-hero:after { content: ''; position: absolute; inset: auto 0 0; height: 180px; pointer-events: none; background: linear-gradient(transparent, #061b2de8); }
.g-video-hero__caption { font-size: 14px; color: #d3dce4; }
.g-video-hero__caption span { padding: 0 8px; }
.g-video-hero__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.g-video-hero button {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 10px 16px; border: 1px solid #ffffff40; border-radius: 6px;
    background: transparent; color: #fff; font: 500 14px/1.3 'DM Sans', Arial, sans-serif; cursor: pointer;
}
.g-video-hero button:hover { background: #ffffff18; }
.g-video-hero .g-video-hero__sound { background: #fff; color: #102d43; border-color: #fff; }
.g-video-hero .g-video-hero__sound:hover { background: #e8eff5; }
.g-video-hero :focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.g-video-hero__error { position: absolute; top: 12px; left: 16px; right: 16px; background: #061b2d; padding: 16px; text-align: center; z-index: 2; }
.g-video-hero__error a { color: #fff; text-decoration: underline; }
.g-video-hero__discover { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 8px 18px; border-radius: 24px; background: #061b2dd9; color: #fff; font-size: 12px; white-space: nowrap; cursor: pointer; }
.g-video-hero__discover:hover { color: #fff; }
.g-video-hero__toolbar, .g-video-hero:after {
    opacity: 1;
    transition: opacity .25s ease;
}
.g-video-hero.is-controls-idle .g-video-hero__toolbar,
.g-video-hero.is-controls-idle:after {
    opacity: 0;
    pointer-events: none;
}
.g-video-hero.is-controls-idle { cursor: none; }
.g-video-hero__video:fullscreen { width: 100vw; height: 100vh; max-height: none; object-fit: contain; background: #000; }
.g-video-hero__video:-webkit-full-screen { width: 100%; height: 100%; object-fit: contain; background: #000; }
.g-clean-site #planos { scroll-margin-top: 100px; }
@media (max-width: 900px) {
    /* Proporção original: toda a largura do celular, sem ampliar e cortar o filme. */
    .g-video-hero { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
    .g-video-hero__video { object-fit: contain; }
    .g-video-hero__toolbar { justify-content: center; padding: 8px 12px; bottom: 8px; }
    .g-video-hero__caption { display: none; }
    .g-video-hero__controls { justify-content: center; gap: 8px; max-width: 100%; }
    .g-video-hero button { min-height: 44px; padding: 10px 12px; font-size: 13px; touch-action: manipulation; }
    .g-video-hero__fullscreen span { display: none; }
    .g-video-hero__fullscreen { min-width: 44px; }
    .g-video-hero__discover { display: none; }
    .g-video-hero:after { height: 140px; }
}
@media (max-height: 500px) and (orientation: landscape) {
    .g-video-hero__toolbar { flex-direction: row; padding-top: 8px; padding-bottom: 8px; bottom: 52px; }
    .g-video-hero__caption { display: none; }
    .g-video-hero__controls { margin: 0 auto; }
}
@media (max-width: 359px) {
    .g-video-hero button { padding-left: 9px; padding-right: 9px; font-size: 12px; }
    .g-video-hero__controls { gap: 6px; }
}
@media (max-width: 900px) and (max-height: 500px) and (orientation: landscape) {
    .g-video-hero__toolbar { bottom: 8px; }
}
