/* Conteneur principal */
.sd-carousel-widget {
    max-width: 100%;
    background-color: #000000;
    border-radius: 28px;
    padding: 1rem;
    position: relative;
}

/* Slider container - position relative pour les flèches */
.sd-slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
}

/* Wrapper des slides */
.sd-slides-wrapper {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* Chaque slide */
.sd-slide {
    flex: 0 0 100%;
    padding: 0.5rem;
}

/* Carte individuelle */
.sd-card {
    background: #0000;
    border-radius: 28px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    padding: 1rem 0.8rem;
    border: 1px solid #edeff2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sd-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

/* Icône ronde */
.sd-round-icon {
    width: 0px;
    height: 0px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 30px;
    box-shadow: 0 8px 14px rgba(0, 32, 64, 0.15);
    transition: transform 0.2s ease;
}

.sd-card:hover .sd-round-icon {
    transform: scale(1.02);
}

/* Titre */
.sd-card-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

/* Description */
.sd-description {
    line-height: 1.5;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* Bloc métadonnées */
.sd-metadata-block {
    background: #f8fafc;
    padding: 1.2rem;
    border-radius: 20px;
    border-left: 5px solid;
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Élément métadonnée */
.sd-metadata-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color:#fff !important;
}

.sd-meta-icon {
    font-weight: 600;
    min-width: 28px;
    font-size: 1.1rem;
}

/* Boutons de navigation - positionnés au milieu verticalement */
.sd-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    width: 48px;
    height: 48px;
    border-radius: 60px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.sd-prev {
    left: -20px;
}

.sd-next {
    right: -20px;
}

.sd-nav-btn:hover {
    filter: brightness(0.9);
    transform: translateY(-50%) scale(1.05);
}

.sd-nav-btn:active {
    transform: translateY(-50%) scale(0.98);
}

/* Conteneur des contrôles (dots) */
.sd-nav-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    position: relative;
    z-index: 5;
}

/* Points de pagination */
.sd-dots {
    display: flex;
    gap: 12px;
}

.sd-dot {
    width: 10px;
    height: 10px;
    background-color: #cbd5e1;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sd-dot:hover {
    background-color: #94a3b8;
    transform: scale(1.2);
}

.sd-dot.active {
    width: 28px;
    border-radius: 12px;
}

/* Bouton CTA */
.sd-cta-button {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 8px;
    transition: all 0.2s ease;
    text-align: center;
    border: none;
    cursor: pointer;
    color: white;
}

.sd-cta-button:hover {
    filter: brightness(0.9);
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .sd-carousel-widget {
        padding: 1rem;
    }
    
    .sd-card-title {
        font-size: 1.4rem;
    }
    
    .sd-round-icon {
        width: 5px;
        height: 5px;
        font-size: 2px;
    }
    
    .sd-card {
        padding: 1.5rem;
    }
    
    .sd-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
    }
    
    .sd-prev {
        left: -10px;
    }
    
    .sd-next {
        right: -10px;
    }
}

@media (max-width: 480px) {
    .sd-metadata-item {
        font-size: 0.85rem;
    }
    
    .sd-description {
        font-size: 0.9rem;
    }
    
    .sd-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }
    
    .sd-prev {
        left: -5px;
    }
    
    .sd-next {
        right: -5px;
    }
}