/* Styles pour la page du parcours */

.parcours-section {
    background-color: var(--bg-alt);
    padding: var(--sp-16) 0;
}

.parcours-section h1 {
    font-size: var(--text-3xl);
    margin-bottom: var(--sp-12);
    color: var(--text);
    text-align: center;
    font-weight: var(--weight-bold);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-4);
}

.parcours-section h1 i {
    color: var(--primary);
}

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

/* Timeline line */
.parcours-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
    z-index: 1;
}

.education-item {
    position: relative;
    margin-bottom: var(--sp-12);
    padding-left: var(--sp-16);
}

/* Timeline dots avec couleurs différentes par niveau */
.education-item::before {
    content: '';
    position: absolute;
    left: 21px;
    top: var(--sp-4);
    width: 18px;
    height: 18px;
    border-radius: var(--radius-full);
    border: 3px solid var(--bg);
    z-index: 2;
}

.education-item:nth-child(1)::before { background: var(--primary); }
.education-item:nth-child(2)::before { background: var(--primary); }
.education-item:nth-child(3)::before { background: var(--primary); }
.education-item:nth-child(4)::before { background: var(--primary-light); }
.education-item:nth-child(5)::before { background: var(--primary-light); }

.education-card {
    background: var(--card);
    border-radius: var(--radius-md);
    padding: var(--sp-8);
    box-shadow: var(--shadow-md);
    transition: all var(--ease-base);
    border: 1px solid var(--border);
    position: relative;
}

.education-card:hover {
    transform: translateX(var(--sp-2));
    box-shadow: var(--shadow-lg);
}

/* Bordures colorées par niveau */
.education-item:nth-child(1) .education-card { border-left: 4px solid var(--primary); }
.education-item:nth-child(2) .education-card { border-left: 4px solid var(--primary); }
.education-item:nth-child(3) .education-card { border-left: 4px solid var(--primary); }
.education-item:nth-child(4) .education-card { border-left: 4px solid var(--primary-light); }
.education-item:nth-child(5) .education-card { border-left: 4px solid var(--primary-light); }

.education-period {
    display: inline-block;
    background: var(--primary);
    color: var(--text-inverse);
    padding: var(--sp-1) var(--sp-4);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    margin-bottom: var(--sp-4);
}

.education-card h2 {
    font-size: var(--text-xl);
    margin-bottom: var(--sp-2);
    color: var(--text);
    font-weight: var(--weight-semibold);
    line-height: 1.3;
}

.education-card h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--sp-4);
    color: var(--primary);
    font-weight: var(--weight-semibold);
}

.education-card p {
    margin-bottom: var(--sp-4);
    color: var(--text-secondary);
    line-height: 1.6;
}

.education-skills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
    margin-top: var(--sp-4);
}

.skill-tag {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--text-inverse);
    padding: var(--sp-1) var(--sp-2);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--weight-medium);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--ease-fast);
}

.skill-tag:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Responsive */
@media (max-width: 768px) {
    .parcours-section h1 {
        flex-direction: column;
        gap: var(--sp-2);
    }

    .parcours-timeline::before {
        left: 15px;
    }

    .education-item {
        padding-left: var(--sp-12);
    }

    .education-item::before {
        left: 6px;
        width: 16px;
        height: 16px;
    }

    .education-card {
        padding: var(--sp-4);
    }

    .education-card:hover {
        transform: translateY(-4px);
    }
}

/* ==========================================================================
   EDUCATION LOGOS
   ========================================================================== */

.education-logo {
    display: block;
    margin-bottom: var(--sp-3);
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    padding: var(--sp-1);
    box-shadow: var(--shadow-sm);
}
