.histoire-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 20px;
    max-width: 800px;
    margin: 40px auto;
    background-color: transparent; 
}

.histoire-logo {
    width: 100%;
    max-width: 900px;
    height: auto;
}

.histoire-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    color: #ffffff;
    opacity: 0;
    transform: scale(0.8);
    animation: zoomIn 0.5s forwards;
    animation-delay: 0.2s;
}

.histoire-text {
    font-size: clamp(16px, 3vw, 21px);
    line-height: 1.6;
    text-align: center;
    color: #f5f5f7;
    font-weight: 400;
    opacity: 0;
    transform: scale(0.8);
    animation: zoomIn 0.5s forwards;
    animation-delay: 0.4s;
}

.separator {
    border: none;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 2rem 0;
    width: 100%;
}

.team-title {
    text-align: center;
    margin: 3rem 0;
    font-size: clamp(24px, 4vw, 2.5rem);
    color: white;
}

.team-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1rem;
    flex-wrap: nowrap;
    width: 100%;
}

.team-member {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    width: 100%;
    max-width: 250px;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.team-member:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.member-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    object-fit: cover;
}

.team-member h3 {
    margin: 0.5rem 0;
    font-size: clamp(18px, 2.5vw, 1.4rem);
    color: white;
}

.team-member p {
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(14px, 2vw, 1rem);
}

@keyframes zoomIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .histoire-section {
        padding: 40px 10px;
        margin: 20px auto;
    }

    .team-container {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .team-member {
        max-width: 80%;
        padding: 1rem;
    }

    .member-img {
        width: 100px;
        height: 100px;
        margin-bottom: 1rem;
    }

    .histoire-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .histoire-text {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .histoire-section {
        padding: 20px 10px;
        margin: 10px auto;
    }

    .team-member {
        max-width: 100%;
        margin: 0 10px;
    }

    .team-container {
        padding: 0;
    }

    .histoire-logo {
        display : none    
    }

    .team-title {
        font-size: 24px;
        margin: 2rem 0;
    }

    .histoire-title {
        font-size: 24px;
        margin-top : 100px ;
    }

    .histoire-text {
        font-size: 14px;
    }

    .separator {
        margin: 1.5rem 0;
    }
}