.wolf-main-banner {
    --wolf-main-radius: 0px;
    --wolf-main-desktop-ratio: 1920 / 500;
    --wolf-main-mobile-ratio: 425 / 400;
    --wolf-main-dot: #b8b8b8;
    --wolf-main-dot-active: #ef233c;

    position: relative;
    width: 100%;
    overflow: hidden;
    font-family: "Montserrat", sans-serif;
    isolation: isolate;
}

.wolf-main-banner,
.wolf-main-banner * {
    box-sizing: border-box;
}

/*
|--------------------------------------------------------------------------
| Área visível
|--------------------------------------------------------------------------
*/

.wolf-main-banner__viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: grab;
    touch-action: pan-y;
    border-radius: var(--wolf-main-radius);
}

.wolf-main-banner__viewport.is-dragging {
    cursor: grabbing;
}

/*
|--------------------------------------------------------------------------
| Trilha
|--------------------------------------------------------------------------
*/

.wolf-main-banner__track {
    display: flex;
    width: 100%;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

/*
|--------------------------------------------------------------------------
| Slide
|--------------------------------------------------------------------------
*/

.wolf-main-banner__slide {
    position: relative;
    display: block;
    width: 100%;
    min-width: 100%;
    flex: 0 0 100%;
    color: inherit;
    text-decoration: none !important;
    background: #111;
    user-select: none;
}

.wolf-main-banner__picture {
    display: block;
    width: 100%;
    aspect-ratio: var(--wolf-main-desktop-ratio);
    overflow: hidden;
}

.wolf-main-banner__image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    user-select: none;
}

/*
|--------------------------------------------------------------------------
| Pontos
|--------------------------------------------------------------------------
*/

.wolf-main-banner__dots {
    position: absolute;
    z-index: 5;
    right: 0;
    bottom: 15px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    pointer-events: none;
}

.wolf-main-banner__dot {
    display: block;
    width: 10px;
    height: 10px;
    min-width: 0;
    min-height: 0;
    padding: 0;
    background: var(--wolf-main-dot);
    border: 0;
    border-radius: 999px;
    box-shadow: none;
    cursor: pointer;
    opacity: .9;
    pointer-events: auto;
    transition:
        width .25s ease,
        background-color .25s ease,
        opacity .25s ease,
        transform .25s ease;
}

.wolf-main-banner__dot:hover {
    background: #fff;
    opacity: 1;
    transform: scale(1.15);
}

.wolf-main-banner__dot.is-active {
    width: 21px;
    background: var(--wolf-main-dot-active);
    opacity: 1;
}

/*
|--------------------------------------------------------------------------
| Tablet
|--------------------------------------------------------------------------
*/

@media (max-width: 980px) and (min-width: 641px) {
    .wolf-main-banner__dots {
        bottom: 12px;
    }
}

/*
|--------------------------------------------------------------------------
| Celular
|--------------------------------------------------------------------------
*/

@media (max-width: 640px) {
    .wolf-main-banner {
        --wolf-main-radius: 0px;
    }

    .wolf-main-banner__picture {
        aspect-ratio: var(--wolf-main-mobile-ratio);
    }

    /*
     * O source mobile já troca a imagem.
     * O cover garante que o banner ocupe o espaço integral.
     */
    .wolf-main-banner__image {
        object-fit: cover;
        object-position: center;
    }

    /*
     * Pontos alinhados mais próximos da esquerda,
     * seguindo a referência mobile.
     */
    .wolf-main-banner__dots {
        right: auto;
        bottom: 18px;
        left: 22px;
        justify-content: flex-start;
        gap: 8px;
    }

    .wolf-main-banner__dot {
        width: 10px;
        height: 10px;
        background: rgba(255, 255, 255, .58);
    }

    .wolf-main-banner__dot:hover {
        background: rgba(255, 255, 255, .85);
    }

    .wolf-main-banner__dot.is-active {
        width: 22px;
        background: var(--wolf-main-dot-active);
    }
}

/*
|--------------------------------------------------------------------------
| Celular pequeno
|--------------------------------------------------------------------------
*/

@media (max-width: 390px) {
    .wolf-main-banner__dots {
        bottom: 15px;
        left: 18px;
    }
}

/*
|--------------------------------------------------------------------------
| Redução de movimento
|--------------------------------------------------------------------------
*/

@media (prefers-reduced-motion: reduce) {
    .wolf-main-banner__track {
        transition: none !important;
    }

    .wolf-main-banner__dot {
        transition: none;
    }
}