/* Reset de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



h1, h2, h3, h4 {
    margin-bottom: 0.8em;
    color: #222;
}

main {
    text-align: center;
    padding: 2rem 0;
}

/* Section principale */
.about-section {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    animation: fadeIn 1.5s ease-in-out;
}

.about-section h1 {
    text-align: center;
    font-size: clamp(2rem, 3vw, 3rem);
    color: #666;
    margin-bottom: 2rem;
}

/* Section individuelle */
.section-item {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s, box-shadow 0.3s;
}

.section-item:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.section-item h2 {
    font-size: clamp(1.5rem, 2vw, 2.5rem);
    color: #333;
    margin-bottom: 1rem;
}

.section-item p {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.section-item img {
    display: block;
    max-width: 100%;
    border-radius: 8px;
    margin: 1rem auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Notre équipe */
.team-section {
    margin-top: 2rem;
}

.team-section h3 {
    font-size: clamp(1.5rem, 2vw, 2rem);
    color: #666;
    margin-bottom: 1.5rem;
    text-align: center;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.team-member {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-member:hover {
    transform: translateY(-15px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.team-member img {
    width: 100%;
    max-width: 120px;
    height: auto;
    border-radius: 50%;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.team-member h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.team-member p {
    font-size: 1rem;
    color: #777;
}

/* Effet d'animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    main {
        padding: 0 2%;
    }

    .about-section {
        padding: 1.5rem;
    }

    .team-members {
        grid-template-columns: 1fr;
    }
}
