/* Style pour la section Équipe & Partenaires */
.team-partners-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Style pour les sections avec fond sombre */
.section-dark {
    background-color: #0a192f;
    color: #e6f1ff;
    padding: 80px 0;
}

/* Style pour les sections avec fond clair */
.section-light {
    background-color: #ffffff;
    color: #0a192f;
    padding: 80px 0;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(90deg, #64f4ac 0%, #64b6f4 100%);
    color: #0a192f;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #64f4ac 0%, #64b6f4 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-description {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
    color: inherit;
    opacity: 0.9;
}

/* Grille d'équipe */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-light .team-card {
    background: rgba(10, 25, 47, 0.03);
    border: 1px solid rgba(10, 25, 47, 0.1);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.team-name {
    font-size: 1.4rem;
    margin: 10px 0 15px;
    color: inherit;
}

.team-bio {
    font-size: 0.95rem;
    line-height: 1.7;
    color: inherit;
    opacity: 0.9;
    margin-bottom: 20px;
}

/* Style pour les partenaires */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    align-items: center;
    margin-top: 50px;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    height: 120px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-light .partner-logo {
    background: rgba(10, 25, 47, 0.05);
}

.partner-logo img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    filter: grayscale(100%) brightness(0) invert(1);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.section-light .partner-logo img {
    filter: grayscale(100%) opacity(0.7);
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.partner-logo:hover img {
    filter: none;
    opacity: 1;
}

/* Responsive */
@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .partners-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .team-grid, .partners-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .partner-logo {
        height: 100px;
    }
}
