@charset "utf-8";
/* CSS Document */


.timeline {
    position: relative;
    max-width: 900px;
    margin: 0px auto;
    padding: 20px 0;
}

/* LIGNE VERTICALE */
.timeline::before {
    content: '';
    position: absolute;
    left: 160px; /* aligné avec la colonne */
    top: 0;
    width: 2px;
    height: 100%;
    background: #ddd;
}

/* ITEM */
.timeline-item {
    display: grid;
    grid-template-columns: 160px 1fr; /* colonne date plus large */
    gap: 20px;
    align-items: start;
    position: relative;
    margin-bottom: 50px;

    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

/* ANIMATION */
.timeline-item.show {
    opacity: 1;
    transform: translateY(0);
}

/* POINT */
.timeline-item::before {
    content: '';
    position: absolute;
    left: 154px; /* pile sur la ligne */
    top: 6px;
    width: 12px;
    height: 12px;
    background: #000;
    border-radius: 50%;
}

/* COLONNE DATE */
.timeline-left {
    text-align: right;
    font-weight: bold;
    padding-right: 30px;
    color: #222;
    white-space: nowrap; /* évite les retours à la ligne */
}

/* CONTENU */
.timeline-right h2 {
    margin: 0 0 10px;
    font-size: 32px; /* ← taille augmentée */
    font-weight: 300; /* léger et élégant */
    line-height: 1.2;!important
}

.timeline-right p {
    margin: 0;
    color: #555;
    line-height: 1.5;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        padding-left: 40px;
    }

    .timeline-item::before {
        left: 14px;
    }

    .timeline-left {
        text-align: left;
        padding: 0;
        margin-bottom: 5px;
    }
}