.has-scroll-down,
.has-scroll-down-y {
    position: relative;
}

.scroll-down-hint-wrap {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 20;
}

.scroll-down-hint {
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0);
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        background 0.3s ease;
}

.scroll-down-hint:hover {
    transform: translateY(5px);
    background: rgba(0, 0, 0, 0);
}

.scroll-down-hint:focus {
    outline: 0;
}

.scroll-down-hint__anim {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scrollArrowY 2.8s ease-in-out infinite;
}

.scroll-down-hint__arrow {
    width: 14px;
    height: 14px;
    border-right: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: rotate(45deg);
    display: block;
}

.has-scroll-down-y .scroll-down-hint__arrow {
    border-right: 3px solid #000;
    border-bottom: 3px solid #000;
}

.scroll-down-hint:hover .scroll-down-hint__anim {
    animation-play-state: paused;
}

.scroll-down-hint.is-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* variante preta (robusta) */
.has-scroll-down-y .scroll-down-hint__arrow {
    border-right-color: #000 !important;
    border-bottom-color: #000 !important;
}

/* força rendering consistente */
.has-scroll-down-y .scroll-down-hint__arrow {
    filter: none;
    mix-blend-mode: normal;
}

.has-scroll-down-y .scroll-down-hint__arrow {
    border-right-color: #000 !important;
    border-bottom-color: #000 !important;
}

@keyframes scrollArrowY {
    0% {
        transform: translateY(-4px);
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    50% {
        transform: translateY(6px);
        opacity: 1;
    }
    80% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(-4px);
        opacity: 0;
    }
}

@media (max-width: 767px) {
    .scroll-down-hint-wrap {
        bottom: 18px;
        gap: 8px;
    }

    .scroll-down-hint {
        width: 48px;
        height: 48px;
    }
}