/* ==========================================================================
   BLACK ARTES - CARROSSEL HERO TOPO (60 FPS HARDWARE ACCELERATED)
   ========================================================================== */

:root {
    --ba-hero-h-desktop: 450px;
    --ba-hero-h-mobile: 260px;
}

.ba-hero-carousel-wrap {
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: #111111;
    z-index: 5;
    margin: 0;
    padding: 0;
}

.ba-hero-carousel-inner {
    position: relative;
    width: 100%;
    height: var(--ba-hero-h-desktop, 450px);
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
}

/* Track de Slides */
.ba-hero-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

/* Item de Slide */
.ba-hero-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.ba-hero-slide-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    cursor: pointer;
}

.ba-hero-picture {
    display: block;
    width: 100%;
    height: 100%;
}

.ba-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    -webkit-user-drag: none;
    pointer-events: auto;
}

/* ==========================================================================
   SETAS LATERAIS DE NAVEGAÇÃO
   Cor normal: Branca com seta preta (#111111)
   Segunda cor (Hover): Dourado sólido (#A67C52) com seta branca (#ffffff) SEM GRADIENTE
   Ao clicar, não fica fixo!
   ========================================================================== */
.ba-hero-arrow,
button.ba-hero-arrow,
.ba-hero-carousel-wrap button.ba-hero-arrow {
    appearance: none !important;
    -webkit-appearance: none !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 20 !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #111111 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16) !important;
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

.ba-hero-arrow svg,
button.ba-hero-arrow svg {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    stroke: #111111 !important;
    color: #111111 !important;
    fill: none !important;
    transition: stroke 0.2s ease, transform 0.2s ease !important;
}

.ba-hero-arrow-prev {
    left: 20px !important;
}

.ba-hero-arrow-next {
    right: 20px !important;
}

/* Hover real (Segunda cor: Dourado sólido #A67C52 com seta branca, SEM gradiente) */
@media (hover: hover) {
    .ba-hero-arrow:hover,
    button.ba-hero-arrow:hover {
        background: #A67C52 !important;
        background-color: #A67C52 !important;
        border-color: #A67C52 !important;
        color: #ffffff !important;
        transform: translateY(-50%) scale(1.08) !important;
        box-shadow: 0 6px 18px rgba(166, 124, 82, 0.45) !important;
    }

    .ba-hero-arrow:hover svg,
    button.ba-hero-arrow:hover svg {
        stroke: #ffffff !important;
        color: #ffffff !important;
    }

    .ba-hero-arrow-prev:hover svg {
        transform: translateX(-1px) !important;
    }

    .ba-hero-arrow-next:hover svg {
        transform: translateX(1px) !important;
    }
}

/* Estado quando NÃO estiver com mouse por cima: sempre volta para branco normal */
.ba-hero-arrow:not(:hover),
button.ba-hero-arrow:not(:hover) {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    color: #111111 !important;
}

.ba-hero-arrow:not(:hover) svg,
button.ba-hero-arrow:not(:hover) svg {
    stroke: #111111 !important;
    color: #111111 !important;
}

/* Remove qualquer retenção de cor no foco (não fica fixo após o clique) */
.ba-hero-arrow:focus,
.ba-hero-arrow:focus-visible,
button.ba-hero-arrow:focus,
button.ba-hero-arrow:focus-visible {
    outline: none !important;
}

.ba-hero-arrow:focus:not(:hover),
button.ba-hero-arrow:focus:not(:hover) {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    color: #111111 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16) !important;
}

.ba-hero-arrow:focus:not(:hover) svg,
button.ba-hero-arrow:focus:not(:hover) svg {
    stroke: #111111 !important;
    color: #111111 !important;
}

.ba-hero-arrow:active,
button.ba-hero-arrow:active {
    transform: translateY(-50%) scale(0.95) !important;
    background: #8c653f !important;
    background-color: #8c653f !important;
    border-color: #8c653f !important;
    color: #ffffff !important;
}

.ba-hero-arrow:active svg,
button.ba-hero-arrow:active svg {
    stroke: #ffffff !important;
    color: #ffffff !important;
}

/* ==========================================================================
   PONTINHOS DE PAGINAÇÃO (APENAS BOLINHAS SIMPLES E LIMPAS)
   ========================================================================== */
.ba-hero-dots-nav {
    position: absolute !important;
    bottom: 30px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 25 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-radius: 0 !important;
}

/* Reset total e forma estrita de bolinha para qualquer elemento button */
.ba-hero-dot,
button.ba-hero-dot,
.ba-hero-dots-nav button.ba-hero-dot,
.ba-hero-dots-nav .ba-hero-dot {
    appearance: none !important;
    -webkit-appearance: none !important;
    display: block !important;
    width: 10px !important;
    height: 10px !important;
    min-width: 10px !important;
    min-height: 10px !important;
    max-width: 10px !important;
    max-height: 10px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: rgba(255, 255, 255, 0.45) !important;
    background-color: rgba(255, 255, 255, 0.45) !important;
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) !important;
    transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease !important;
    outline: none !important;
    line-height: 1 !important;
    text-indent: -9999px !important;
    overflow: hidden !important;
    transform: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

.ba-hero-dot:hover,
button.ba-hero-dot:hover,
.ba-hero-dots-nav button.ba-hero-dot:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    background-color: rgba(255, 255, 255, 0.9) !important;
    transform: scale(1.25) !important;
}

/* Bolinha Ativa: Estritamente redonda com cor bronze canônica */
.ba-hero-dot.is-active,
button.ba-hero-dot.is-active,
.ba-hero-dots-nav button.ba-hero-dot.is-active {
    width: 10px !important;
    height: 10px !important;
    min-width: 10px !important;
    min-height: 10px !important;
    max-width: 10px !important;
    max-height: 10px !important;
    background: #A67C52 !important;
    background-color: #A67C52 !important;
    border: none !important;
    border-radius: 50% !important;
    box-shadow: 0 0 10px rgba(166, 124, 82, 0.95), 0 1px 4px rgba(0, 0, 0, 0.6) !important;
    transform: scale(1.2) !important;
}

/* Responsividade Mobile */
@media (max-width: 768px) {
    .ba-hero-carousel-inner {
        height: var(--ba-hero-h-mobile, 260px) !important;
    }

    .ba-hero-arrow,
    button.ba-hero-arrow {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
    }

    .ba-hero-arrow svg,
    button.ba-hero-arrow svg {
        width: 16px !important;
        height: 16px !important;
    }

    .ba-hero-arrow-prev {
        left: 10px !important;
    }

    .ba-hero-arrow-next {
        right: 10px !important;
    }

    .ba-hero-dots-nav {
        bottom: 20px !important;
        gap: 8px !important;
        padding: 0 !important;
        background: transparent !important;
    }

    .ba-hero-dot,
    button.ba-hero-dot,
    .ba-hero-dots-nav button.ba-hero-dot {
        width: 8px !important;
        height: 8px !important;
        min-width: 8px !important;
        min-height: 8px !important;
        max-width: 8px !important;
        max-height: 8px !important;
        border-radius: 50% !important;
    }

    .ba-hero-dot.is-active,
    button.ba-hero-dot.is-active,
    .ba-hero-dots-nav button.ba-hero-dot.is-active {
        width: 8px !important;
        height: 8px !important;
        min-width: 8px !important;
        min-height: 8px !important;
        max-width: 8px !important;
        max-height: 8px !important;
        border-radius: 50% !important;
        transform: scale(1.2) !important;
    }
}
