/* ===== CARROUSEL DÉDIÉ ===== */
.carousel-container {
    width: 100%;
    max-width: 1100px;  /* largeur agrandie */
    margin: 2rem 0 2rem 0; /* top et bottom 2rem, coller à gauche */
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    position: relative;
    background: #fff;
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    user-select: none;
}

.carousel-slide img {
    width: 100%;
    height: 450px; /* image un peu plus grande */
    object-fit: contain;
    border-radius: 12px;
    pointer-events: none;
    user-drag: none;
}

/* Contrôles */
.carousel-controls {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.carousel-button {
    background-color: rgba(0,0,0,0.5);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
}

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

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

    .carousel-button {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
}
