
.carousel {
    position: relative;
    
    width: 100%;
    max-width: 900px;
    margin: 50px auto;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
}
.carousel-slide img {
    width: 100%;
    max-height: 650px;
    object-fit: contain;
    background: #f2f2f2;    
}

/* Flèches */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    border: none;
    color: white;
    font-size: 28px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    transition: 0.3s;
}

.carousel-btn:hover {
    background: rgba(0,0,0,0.8);
}

.prev { left: 15px; }
.next { right: 15px; }

/* Dots */
.carousel-dots {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
}

.carousel-dots span {
    display: inline-block;
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.carousel-dots span.active {
    background: #ffd700;
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-slide img {
        height: 280px;
    }
}
