/* Slide Partenariat Septors - ETS PERDOUX */

.septors-slide {
    background-image: url('../images/septors-bg.jpg') !important;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

/* Overlay sombre pour améliorer la lisibilité du texte */
.septors-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: none;
    z-index: 1;
}

.septors-slide .container {
    position: relative;
    z-index: 2;
}

/* Logos en haut de la slide */
.septors-slide-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.septors-slide-logo {
    background: white;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70px;
    transition: transform 0.3s ease;
}

.septors-slide-logo:hover {
    transform: scale(1.05);
}

.septors-slide-logo img {
    max-height: 50px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
}

/* Fix pour les logos SVG */
.septors-slide-logo img[src$=".svg"],
.septors-slide-logo svg {
    max-height: 50px !important;
    height: 50px !important;
    width: auto !important;
    display: block !important;
}

.septors-slide-logo.septors-logo-blue {
    background: #090e60;
    padding: 15px 30px;
}

.septors-slide-separator {
    color: rgba(255, 255, 255, 0.5);
    font-size: 32px;
    font-weight: 300;
}





/* Contenu de la slide */
.septors-slide h6 {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 600;
    letter-spacing: 2px;
}

.septors-slide h2 {
    color: white !important;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    margin-top: 15px;
    margin-bottom: 25px;
}

.septors-slide .lead {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 17px;
    line-height: 1.7;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}



/* Boutons */
.septors-slide .septors-slide-buttons {
    display: flex;
    gap: 15px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.septors-slide .btn {
    border-radius: 50px;
    padding: 14px 32px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.septors-slide .btn-primary {
    background: white;
    color: #1a4d8f;
    border-color: white;
}

.septors-slide .btn-primary:hover {
    background: #ffd700;
    color: #1a4d8f;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.septors-slide .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.septors-slide .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    transform: translateY(-2px);
}

/* Élément décoratif - Masqué car on utilise l'image de fond */
.septors-handball-decoration {
    display: none;
}

/* Animation d'entrée des éléments */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.septors-slide.owl-animated-in .septors-slide-logos {
    animation: slideInUp 0.6s ease 0.2s both;
}

.septors-slide.owl-animated-in .septors-slide-badge {
    animation: slideInUp 0.6s ease 0.3s both;
}

.septors-slide.owl-animated-in h6 {
    animation: slideInUp 0.6s ease 0.4s both;
}

.septors-slide.owl-animated-in h2 {
    animation: slideInUp 0.6s ease 0.5s both;
}

.septors-slide.owl-animated-in .lead {
    animation: slideInUp 0.6s ease 0.6s both;
}

.septors-slide.owl-animated-in .septors-slide-buttons {
    animation: slideInUp 0.6s ease 0.7s both;
}

/* Responsive */
@media (max-width: 768px) {
    .septors-slide-logos {
        gap: 15px;
    }

    .septors-slide-logo img {
        max-height: 40px;
        max-width: 100px;
    }

    .septors-slide-separator {
        font-size: 24px;
    }

    .septors-slide h2 {
        font-size: 28px !important;
    }

    .septors-slide .lead {
        font-size: 15px;
    }

    .septors-slide-buttons {
        flex-direction: column;
        width: 100%;
    }

    .septors-slide .btn {
        width: 100%;
        text-align: center;
    }

    .septors-handball-decoration {
        width: 200px;
        height: 200px;
        right: -80px;
    }

    .septors-slide-badge {
        font-size: 11px;
        padding: 6px 18px;
    }
}

/* Animation pour le slider Owl Carousel */
.owl-item.active .septors-slide {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
