/* Alpha homepage full-width image banner */
.banner,
.hero-slider {
    position: relative;
    width: 100%;
    margin: 0 0 44px;
    padding: 0;
    overflow: hidden;
    background: transparent;
}

.hs-frame {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.hs-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 500ms ease;
}

.hs-slide--active {
    z-index: 1;
    opacity: 1;
    pointer-events: auto;
}

.banner img,
.hs-picture,
.hs-media {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background: transparent;
}

.hs-slide-link {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.hs-media--mobile {
    display: none;
}

/* CTA minimalista sobre o banner-05 — posicionado abaixo do bloco "Entre na lista de interesse" */
.hs-cta-btn {
    position: absolute;
    left: clamp(24px, 5vw, 96px);
    top: 64%;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 12px 12px 12px 22px;
    background: linear-gradient(180deg, #16161a 0%, #0a0a0c 100%);
    color: #fff;
    text-decoration: none;
    font-family: "Space Grotesk", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow:
        0 10px 30px rgba(8, 8, 10, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
    transition: transform .26s cubic-bezier(.2,.8,.2,1), box-shadow .26s ease, background .26s ease;
    isolation: isolate;
    overflow: hidden;
    white-space: nowrap;
}

/* Halo tecnológico sutil — linha gradiente fina contornando o botão, animada */
.hs-cta-btn::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: conic-gradient(
        from var(--hs-angle, 0deg),
        rgba(255, 255, 255, 0.50),
        rgba(255, 255, 255, 0.04) 22%,
        rgba(227, 27, 35, 0.65) 50%,
        rgba(255, 255, 255, 0.04) 78%,
        rgba(255, 255, 255, 0.50)
    );
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    opacity: .9;
    animation: hsBorderSpin 5s linear infinite;
}

@property --hs-angle {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

@keyframes hsBorderSpin {
    to { --hs-angle: 360deg; }
}

/* Brilho que desliza ao hover (efeito "scan" de HUD) */
.hs-cta-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        110deg,
        transparent 0%,
        transparent 38%,
        rgba(255, 255, 255, 0.22) 50%,
        transparent 62%,
        transparent 100%
    );
    transform: translateX(-120%);
    transition: transform .6s cubic-bezier(.2,.8,.2,1);
    pointer-events: none;
    z-index: 0;
}

.hs-cta-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(180deg, #1c1c22 0%, #0d0d10 100%);
    box-shadow:
        0 16px 40px rgba(8, 8, 10, 0.42),
        0 0 0 4px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.hs-cta-btn:hover::after {
    transform: translateX(120%);
}

.hs-cta-btn:active {
    transform: translateY(0);
}

.hs-cta-btn__label {
    position: relative;
    z-index: 1;
    font-variation-settings: "wght" 500;
}

.hs-cta-btn__arrow {
    position: relative;
    z-index: 1;
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    flex-shrink: 0;
    transition: transform .26s cubic-bezier(.2,.8,.2,1), background .26s ease;
}

.hs-cta-btn__arrow svg {
    width: 13px;
    height: 13px;
    color: #0a0a0c;
    transition: transform .26s cubic-bezier(.2,.8,.2,1);
}

.hs-cta-btn:hover .hs-cta-btn__arrow {
    transform: rotate(-2deg) scale(1.04);
}

.hs-cta-btn:hover .hs-cta-btn__arrow svg {
    transform: translateX(2px);
}

@media (max-width: 900px) {
    .hs-cta-btn {
        top: auto;
        bottom: 18px;
        left: 50%;
        transform: translateX(-50%);
        padding: 11px 11px 11px 20px;
        font-size: 13px;
    }
    .hs-cta-btn:hover {
        transform: translateX(-50%) translateY(-2px);
    }
    .hs-cta-btn:active {
        transform: translateX(-50%);
    }
}

.hero-premium-cta {
    position: absolute;
    left: clamp(120px, 31vw, 610px);
    top: 60%;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 16px 36px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transform: translateY(-50%);
    transition: all 0.25s ease;
}

.hero-premium-cta:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-50%) scale(1.05);
}

.hero-premium-cta__arrow {
    font-size: 17px;
    line-height: 1;
    transform: translateY(-1px);
}

.hs-dots {
    position: absolute;
    left: 50%;
    bottom: 14px;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transform: translateX(-50%);
}

.hs-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    transition: background 180ms ease, transform 180ms ease;
}

.hs-dot--active {
    background: transparent;
    transform: scale(1.35);
}

@media (max-width: 1440px) {
    .hs-frame {
        height: 480px;
    }
}

@media (max-width: 1200px) {
    .hs-frame {
        height: 440px;
    }
}

@media (max-width: 900px) {
    .hs-frame {
        height: 320px;
    }
}

@media (min-width: 901px) and (max-width: 1536px) and (max-height: 950px) {
    .hs-frame {
        aspect-ratio: 4064 / 1056;
        height: auto;
        min-height: 0;
        max-height: 400px;
        background: #070707;
    }

    .banner img,
    .hs-media {
        object-fit: contain;
        object-position: center center;
        background: #070707;
    }
}

@media (max-width: 640px) {
    .banner,
    .hero-slider {
        margin-bottom: 34px;
        overflow: visible;
    }

    .hs-frame,
    .banner img,
    .hs-media {
        height: 180px;
    }

    .hs-dots {
        bottom: 12px;
    }

    .hero-premium-cta {
        position: static;
        width: calc(100% - 32px);
        justify-content: center;
        margin: 14px auto 0;
        min-height: 52px;
        padding: 15px 24px;
        border-color: rgba(15, 23, 42, 0.14);
        background: rgba(15, 23, 42, 0.86);
        color: #ffffff;
        box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
        transform: none;
    }

    .hero-premium-cta:hover {
        border-color: rgba(15, 23, 42, 0.22);
        background: rgba(15, 23, 42, 0.92);
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hs-slide,
    .hs-dot {
        transition: none !important;
    }
}
