@import url('https://fonts.googleapis.com/css2?family=BBH+Bogle&family=Dancing+Script:wght@400..700&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Lobster+Two:ital,wght@0,400;0,700;1,400;1,700&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Pacifico&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Rubik:ital,wght@0,300..900;1,300..900&family=Satisfy&display=swap');
/* Section Équipe */
.team-section {
    padding: 100px 20px;
    background-color: #f0f7ff; /* Fond bleu clair distinct */
    text-align: center; 
    font-family: "Poppins", sans-serif;
}

.team-section .tech-header h2 {
    color: var(--dark-blue);
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-family: "Poppins", sans-serif;
}

.team-section .tech-header p {
    color: #555;
    max-width: 700px;
    margin: 0 auto 60px;
    font-family: "Poppins", sans-serif;
}

.team-container {
    max-width: 1240px;
    margin: 0 auto;
    position: relative;
    padding: 0 70px; /* Espace pour les boutons sur les côtés */
}

.team-slider-wrapper {
    overflow: hidden; /* Masque les cartes qui débordent */
    border-radius: 15px;
}

.team-slider {
    display: flex;
    gap: 30px;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.team-card {
    flex: 0 0 calc(33.333% - 20px); /* 3 cartes par ligne */
    background: var(--white);
    border-radius: 20px;
    padding: 30px 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0; /* Empêche la carte de rétrécir */
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
    min-height: 420px; /* Hauteur uniforme pour l'alignement */
}

.team-card.active {
    opacity: 1;
    transform: translateY(0);
}

.team-card img {
    width: 190px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 25px;
    border: 5px solid var(--primary-blue); /* Bordure plus marquée pour faire ressortir l'image */
    transition: 0.3s;
}

.team-card:hover img {
    border-color: var(--primary-blue);
    transform: scale(1.05);
}

.team-card h3 {
    margin: 10px 0 5px;
    color: #1a1a1a; /* Texte quasi noir pour un contraste maximal */
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
    font-family: "Poppins", sans-serif;
}

.team-card p {
    color: #333; /* Gris très foncé pour une meilleure lecture */
    font-weight: 600;
    font-size: 0.95rem;
    margin: 5px 0;
    line-height: 1.4;
    font-family: "Poppins", sans-serif;
}

.team-card p:last-of-type {
    color: var(--primary-blue);
    font-weight: 700;
    font-family: "Poppins", sans-serif;
}

/* Boutons de navigation latéraux */
.btn-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    color: var(--primary-blue);
    border: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
    z-index: 10;
    transition: 0.3s;
    font-family: "Poppins", sans-serif;
}

.btn-nav:hover { background: var(--primary-blue); color: var(--white); }
#prevBtn { left: 0; }
#nextBtn { right: 0; }

@media (max-width: 992px) {
    .team-card { flex: 0 0 calc(50% - 15px); }
}
@media (max-width: 650px) {
    .team-card { 
        flex: 0 0 100%; 
    }
    .team-container { 
        padding: 0 40px; 
    }
    .team-slider { gap: 20px; } /* Gap réduit sur mobile */
    .btn-nav { width: 45px; height: 45px; font-size: 1.4rem; }
}

/* Section Partenaire */
.partner-section {
    padding: 80px 20px;
    background-color: #ffffff;
    text-align: center;
}

.partner-section .tech-header h2 {
    color: var(--dark-blue); /* Rend le titre visible */
    font-size: 2.5rem;
}

.partner-section .tech-header p {
    color: #666; /* Rend le paragraphe visible */
    max-width: 700px;
    margin: 0 auto 40px;
}

.partner-card {
    max-width: 700px; /* Réduit la largeur pour un meilleur look en colonne */
    margin: 40px auto 0;
    background: #f8fafc;
    border-radius: 20px;
    padding: 50px 40px;
    display: flex;
    flex-direction: column; /* Aligne les éléments en colonne */
    align-items: center;
    gap: 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    text-align: center; /* Centre tout le texte */
    border: 1px solid rgba(0, 86, 179, 0.1);
    transition: transform 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
}

.partner-logo {
    width: 180px;
    height: auto;
    margin-bottom: 10px;
}

.partner-info h3 {
    color: var(--dark-blue);
    font-size: 1.8rem;
    margin-bottom: 5px;
    font-family: "Poppins", sans-serif;
}
.partner-info P {
    font-family: "Poppins", sans-serif;
}

.partner-country {
    color: var(--primary-blue);
    font-weight: bold;
    margin-bottom: 15px;
    display: block;
    font-family: "Poppins", sans-serif;
}

.partner-desc {
    color: #666;
    line-height: 1.7;
    font-family: "Poppins", sans-serif;
}