/* ============================================================
   TIMELINE — Frise chronologique
   Utilisé dans : le-projet.html
   ============================================================ */

/* Timeline section */
.timeline-section {
    padding: 5rem 2rem 6rem;
    background: var(--bg-main);
}

.timeline-inner {
    max-width: 900px;
    margin: 0 auto;
}

/* Timeline track */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-data), var(--accent-territory));
    opacity: 0.3;
}

/* Timeline items */
.timeline-item {
    position: relative;
    padding: 0 0 3.5rem 2.5rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -0.45rem;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-data);
    border: 2px solid var(--bg-main);
    box-shadow: 0 0 0 3px rgba(53, 152, 192, 0.2);
    transition: box-shadow 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    box-shadow: 0 0 0 5px rgba(53, 152, 192, 0.3);
}

/* Highlighted item */
.timeline-item.highlight .timeline-dot {
    background: linear-gradient(135deg, var(--accent-data), var(--accent-territory));
    width: 18px;
    height: 18px;
    left: -0.55rem;
    top: 4px;
}

/* Timeline content */
.timeline-year {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--accent-data);
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.timeline-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.timeline-item.highlight .timeline-title {
    font-size: 1.25rem;
    color: var(--secondary);
}

.timeline-body {
    line-height: 1.7;
    color: var(--secondary);
    max-width: 580px;
}

/* Timeline lists */
.timeline-list,
.timeline-list-last {
    margin-left: 2rem;
    color: var(--secondary);
    padding-top: 0.5rem;
}

.timeline-list-last {
    padding-bottom: 0.5rem;
}
