/* --- SEU CSS PARA O SLIDESHOW --- */

.slide-geral-v2 * {
    box-sizing: border-box !important;
    flex: none !important;
    gap: 0 !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0;
}

/* CONTAINER PRINCIPAL */
.slide-geral-v2 {
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    min-height: 660px;
    margin: 0 auto;
}

@media (max-width: 400px) {
    .slide-geral-v2 {
        min-height: 361px;
    }
}

/* SLIDESHOW */
.slideshow-container {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
    border-radius: 3px;
    background-color: #000;
}

/* SLIDE */
.slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 100%;
    transition: left 0.8s cubic-bezier(0.25, 1.25, 0.5, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    background-color: white;
    cursor: url('mao.png'), grab;
}

/* SLIDE COM MÍDIA */
.slide:has(video),
.slide:has(img) {
    background-color: #000;
}

/* DURANTE DRAG */
.slide.dragging {
    transition: none;
    cursor: grabbing;
}

/* BLOQUEIA IFAMES NO DRAG */
.slide iframe.drag-block {
    pointer-events: none;
}

/* SETAS */
.nav-arrow {
    cursor: url('mao.png'), pointer;
}

/* EVITA SELEÇÃO E ARRASTE */
.slide,
.slide * {
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
}

/* 🔥 PATCH SAFARI — LIBERA O LINK */
.slide a {
    pointer-events: auto !important;
}

/* 🔥 PATCH SAFARI — OVERLAYS NÃO CAPTURAM EVENTOS */
.slide-texto,
.slide-texto *,
.slide-texto-gradiente {
    pointer-events: none;
}

/* ESTADOS */
.slide.active {
    left: 0;
    z-index: 10;
}

.slide.next {
    left: 100%;
    z-index: 5;
}

.slide.prev {
    left: -100%;
    z-index: 5;
}

/* MÍDIA */
.slide img,
.slide video,
.slide a {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* SETAS DE NAVEGAÇÃO */
.nav-arrow {
    position: absolute;
    top: 50%;
    width: 30px;
    height: 30px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    transform: translateY(-50%);
    z-index: 15;
    display: none; /* trocar para flex se quiser visível */
    justify-content: center;
    align-items: center;
    font-size: 24px;
    border-radius: 50%;
}

.nav-arrow.left {
    left: 10px;
}

.nav-arrow.right {
    right: 10px;
}

/* BULLETS */
.bullets {
    position: absolute;
    bottom: 19px;
    width: 100%;
    text-align: center;
    z-index: 20;
}

.bullet {
    display: inline-block;
    width: 11px;
    height: 11px;
    margin: 0 7px;
    border: 1px solid white;
    border-radius: 50%;
    background-color: transparent;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.bullet.active {
    background-color: white;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}
