/* Bannière */
.banner {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.banner h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner p {
    font-size: 1.2rem;
    max-width: 800px;
}

/* Timeline */
.histoire {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.histoire h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    top: 20px;
    z-index: 1;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-date {
    position: absolute;
    top: 20px;
    color: var(--primary-color);
    font-weight: bold;
}

.timeline-item:nth-child(odd) .timeline-date {
    right: -80px;
}

.timeline-item:nth-child(even) .timeline-date {
    left: -80px;
}

.timeline-content {
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: black;
}

.timeline-content h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Valeurs */
.valeurs {
    padding: 50px 20px;
    background-color: #f8f9fa;
    color: black;
}

.valeurs h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.valeurs-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.valeur-item {
    text-align: center;
    max-width: 300px;
    padding: 20px;
}

.icone {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Équipe */
.equipe {
    padding: 50px 20px;
}

.equipe h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.equipe-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.membre {
    text-align: center;
}

.avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: bold;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: var(--primary-color);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .timeline-item {
        width: 100%;
        padding-left: 50px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item:nth-child(odd) .timeline-date,
    .timeline-item:nth-child(even) .timeline-date {
        left: 0;
        right: auto;
    }

    .timeline::before {
        left: 20px;
    }

    .valeurs-grid, .equipe-grid {
        flex-direction: column;
        align-items: center;
    }
}