/* Abertura do Hero baseada na sequência do template de referência Focused. */
html.hero-intro-enabled,
html.hero-intro-enabled body {
    overflow: hidden;
    background: #061426;
}

.hero-intro {
    display: none;
}

html.hero-intro-enabled .hero-intro {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: block;
    overflow: hidden;
    background: #061426;
    pointer-events: auto;
}

.hero-intro-thumbnails {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: min(92vw, 1360px);
    transform: translate(-50%, -50%);
}

.hero-intro-thumbnail {
    aspect-ratio: 2 / 1;
    width: min(16.5vw, 238px);
    min-width: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateX(150%);
    transform-origin: center;
    will-change: transform, opacity;
}

.hero-intro-thumbnail-main {
    width: min(18vw, 260px);
}

.hero-intro-thumbnail img,
.hero-intro-reveal picture,
.hero-intro-reveal img {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-intro-thumbnail img,
.hero-intro-reveal img {
    object-fit: cover;
}

.hero-intro-reveal {
    position: fixed;
    z-index: 3;
    height: 0;
    overflow: hidden;
    opacity: 0;
    transform: skewX(4deg);
    transform-origin: center;
    will-change: top, height, opacity, transform;
}

html.hero-intro-enabled:not(.hero-intro-content-ready) .header,
html.hero-intro-enabled:not(.hero-intro-content-ready) #hero-slide-1 .hero-slide-content,
html.hero-intro-enabled:not(.hero-intro-content-ready) .hero-carousel-arrow,
html.hero-intro-enabled:not(.hero-intro-content-ready) .hero-carousel-dots {
    opacity: 0 !important;
    visibility: hidden !important;
}

html.hero-intro-content-ready .header {
    z-index: 10001;
    animation: heroIntroNavIn 0.75s ease both;
}

html.hero-intro-content-ready #hero-slide-1 .hero-slide-content,
html.hero-intro-content-ready .hero-carousel-arrow,
html.hero-intro-content-ready .hero-carousel-dots {
    z-index: 10001;
}

@keyframes heroIntroNavIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 767px) {
    .hero-intro-thumbnails {
        gap: 3px;
        width: calc(100vw - 16px);
    }

    .hero-intro-thumbnail {
        width: calc((100vw - 28px) / 5);
    }

    .hero-intro-thumbnail-main {
        width: calc((100vw - 16px) / 4.55);
    }
}

@media (prefers-reduced-motion: reduce) {
    html.hero-intro-enabled,
    html.hero-intro-enabled body {
        overflow: auto;
        background: initial;
    }

    html.hero-intro-enabled .hero-intro {
        display: none !important;
    }
}
