.formation-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
}

.list-item {
    display: flex;
    align-items: center;
    border: 1px solid #222;
    padding: 20px 30px;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.kotlin-color {
    background: rgba(102, 51, 153, 0.25);
}

.flutter-color {
    background: rgba(8, 88, 156, 0.33);
}

.ia-color {
    background: rgba(144, 238, 144, 0.15);
}

.ios-color {
    background-color: rgba(128, 128, 128, 0.3);
}

.list-item:hover {
    background: #161616;
    border-color: var(--primary);
    transform: translateX(10px);
}

.item-number {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.5;
    margin-right: 25px;
    min-width: 25px;
}

.item-icon {
    width: 45px;
    height: 45px;
    margin-right: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-icon img {
    width: 100%;
    height: auto;
}

.item-icon i {
    font-size: 1.5rem;
    color: #555;
}

.item-content {
    flex: 1;
}

.item-content h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 4px;
}

.item-content p {
    font-size: 0.95rem;
    color: #777;
}

.item-status {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: 20px;
}

/* Version mise en avant pour la fin du parcours */
.list-item.highlighted {
    background: linear-gradient(90deg, #111 0%, rgba(var(--primary-rgb), 0.05) 100%);
    border-left: 4px solid var(--primary);
}
.lesson-layout {
    margin: 3rem;
    text-align: center;
}


/* Mobile */
@media (max-width: 600px) {
    .list-item { padding: 15px; flex-wrap: wrap; }
    .item-number { display: none; }
    .item-status { width: 100%; margin: 15px 0 0 0; text-align: right; }

    .lesson-layout {
        margin: 0.5rem;
        text-align: start;
    }
}



.header-nav {
    display: flex;
    justify-content: space-between;
}
