/* assets/css/apropos.css */

.page-apropos {
    max-width: 1100px;
    margin: 0 auto 3rem;
}

/* Intro */
.page-apropos h1 {
    font-family: 'ZabalUltra', sans-serif !important;
    font-size: 3rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.page-apropos h1 {
    margin-bottom: 1.5rem;
}

.apropos-intro p {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

/* --- Timeline section --- */
.apropos-timeline {
    margin-top: 2.5rem;
}

.apropos-timeline h2 {
    margin-bottom: 1.5rem;
}

/* Conteneur général */
.timeline {
    list-style: none;
    margin: 0;
    padding: 2rem 0;
    position: relative;
}

/* Ligne verticale au centre */
.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: #d0d0d0;
}

/* Chaque événement */
.timeline-item {
    position: relative;
    margin: 1.5rem 0;
}

/* Pastille sur la ligne */
.timeline-item::before {
    content: "";
    position: absolute;
    top: 1.4rem;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--rouge);
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.08);
}

/* Carte de contenu */
.timeline-content {
    position: relative;
    width: 45%;
    background: #ffffff;
    padding: 1rem 1.2rem;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    font-size: 0.95rem;
}

/* Éléments impairs à gauche */
.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 55%;
    text-align: right;
}

/* Éléments pairs à droite */
.timeline-item:nth-child(even) .timeline-content {
    margin-left: 55%;
}

/* Date */
.timeline-date {
    font-family: 'ZabalUltra', sans-serif;
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: #555555;
}

/* Titre dans la carte */
.timeline-content h3 {
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

/* Texte dans la carte */
.timeline-content p {
    margin: 0;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .timeline::before {
        left: 10px;
    }

    .timeline-item::before {
        left: 10px;
        transform: translateX(0);
    }

    .timeline-content {
        width: auto;
        margin: 0 0 0 2.2rem !important;
        text-align: left;
    }
}
