.parcours-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 120px 20px 40px;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}


/* Ajouter les styles pour la timeline */
.timeline-container {
    width: 100%;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 3rem;
    text-align: center;
}

.timeline {
    position: relative;
    padding: 2rem 0;
    width: 100%;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

/* Nouvelle animation plus subtile */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-content {
    width: 80%;
    background: rgba(255, 255, 255, 0.05); /* Légèrement plus visible */
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.08); /* Plus visible au hover */
}

.timeline-date {
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 1; /* Assurez-vous que le titre est bien visible */
}

.timeline-description {
    font-size: 0.9rem;
    opacity: 0.9; /* Augmenté de 0.8 à 0.9 pour plus de lisibilité */
    line-height: 1.6;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    left: calc(50% - 10px);
    top: 20px;
    transition: transform 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.3);
}

@media screen and (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        justify-content: flex-start;
        padding-right: 0;
        padding-left: 80px;
        transform: translateX(0);
    }

    .timeline-dot {
        left: 20px;
    }

    .timeline-content {
        width: 100%;
    }
}

/* Ajouter ces styles pour l'indicateur de lien */
.timeline-content.has-link {
    cursor: pointer;
    position: relative;
}

.timeline-content.has-link::after {
    content: '↗';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.2rem;
    color: var(--primary);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.timeline-content.has-link:hover::after {
    opacity: 1;
    transform: translate(2px, -2px);
}

/* Améliorer l'effet hover pour les éléments cliquables */
.timeline-content.has-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--primary);
}
