/* Seção do Carrossel */
.carousel-section {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 100px 0 20px 0;
}

/* Container Principal */
.carousel-container {
    position: relative;
    width: 100%;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Wrapper do Carrossel */
.carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
}

/* Track (trilha de slides) */
.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Slides Individuais */
.carousel-slide {
    min-width: 100%;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: opacity 0.3s ease;
}

.carousel-slide:hover {
    opacity: 0.9;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Overlay ao passar o mouse */
.carousel-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    pointer-events: none;
}

.carousel-slide:hover::after {
    background: rgba(0, 0, 0, 0.1);
}

/* Botões de Navegação */
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.carousel-button:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.carousel-button:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-button-prev {
    left: 16px;
}

.carousel-button-next {
    right: 16px;
}

/* Indicadores de Slides */
.carousel-indicators {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: rgba(255, 255, 255, 1);
    width: 32px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.carousel-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Responsividade para Tablets */
@media (max-width: 768px) {
    .carousel-container {
        border-radius: 0;
    }
    .carousel-slide {
        height: 90px;
    }

    .carousel-button {
        width: 20px;
        height: 20px;
    }

    .carousel-button svg {
        width: 20px;
        height: 20px;
    }

    .carousel-button-prev {
        left: 12px;
    }

    .carousel-button-next {
        right: 12px;
    }

    .carousel-indicators {
        bottom: 12px;
        gap: 6px;
    }

    .carousel-indicator {
        width: 10px;
        height: 10px;
    }

    .carousel-indicator.active {
        width: 28px;
    }
}

/* Responsividade para Celulares */
@media (max-width: 480px) {
    .carousel-section {
        width: 100%;
        max-width: 1000px;
        margin: 20px auto;
        padding: 100px 0 20px 0;
    }
    .carousel-container {
        border-radius: 0;
    }
    .carousel-indicators {
        display: none
    }
    .carousel-slide {
        height: 40px;
    }

    .carousel-button {
        display: none;
    }

    .carousel-button svg {
        width: 18px;
        height: 18px;
    }

    .carousel-button-prev {
        left: 8px;
    }

    .carousel-button-next {
        right: 8px;
    }

    .carousel-indicators {
        bottom: 10px;
        gap: 4px;
    }

    .carousel-indicator {
        width: 8px;
        height: 8px;
    }

    .carousel-indicator.active {
        width: 20px;
    }
}

/* Animação de Pausa ao Passar o Mouse */
.carousel-container:hover .carousel-track {
    animation-play-state: paused;
}

/* Animação de Autoplay (opcional) */
@keyframes autoplay {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}