/* ================================================= */
/* --- STYLES POUR LA PAGE PROCESSUS DE CANDIDATURE --- */
/* ================================================= */

.process-intro {
    text-align: center;
    margin-bottom: 0; /* Supprime la marge pour réduire l'espace */
    padding-bottom: 0; /* Supprime l'espacement interne en bas */
}

.process-intro h1 {
    font-size: clamp(2.2rem, 5vw, 3rem);
    margin-bottom: 15px;
}

.process-intro .page-description {
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Chronologie (Timeline) --- */
/* Le conteneur principal de la chronologie */
.timeline {
    position: relative;
    display: flex;
    flex-direction: column; /* Vertical par défaut (mobile) */
    gap: 30px;
}

/* La ligne verticale de la chronologie (pour mobile) */
.timeline::before {
    content: '';
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 23px; /* Alignée avec le centre de l'icône */
    width: 4px;
    background-color: #f4f4f5;
    border-radius: 2px;
}

/* Chaque étape de la chronologie */
.timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.timeline-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: #f4f4f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8B5CF6;
    z-index: 1; /* Pour être au-dessus de la ligne */
}

.timeline-icon svg {
    width: 24px;
    height: 24px;
}

.timeline-content {
    padding-top: 5px;
}

.timeline-step-number {
    display: block;
    font-size: 0.8rem;
    font-weight: bold;
    color: #a1a1aa;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.timeline-title {
    margin: 0 0 8px 0;
    font-size: 1.5rem;
    color: #18181B;
}

.timeline-description {
    margin: 0;
    color: #71717A;
    line-height: 1.6;
}

/* --- Section Note pour les Stages --- */
.internship-note {
    margin-bottom: 60px; 
    background-color: #faf7ff;
    border: 1px solid #ddd6fe;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.internship-note-icon {
    flex-shrink: 0;
    color: #8B5CF6;
}
.internship-note-icon svg {
    width: 24px;
    height: 24px;
}

.internship-note-content h3 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
    color: #18181B;
}
.internship-note-content p {
    margin: 0;
    color: #71717A;
    line-height: 1.6;
}

/* --- Responsive pour la chronologie --- */
/* Styles pour les écrans larges (PC) */
@media (min-width: 992px) {
    .timeline {
        flex-direction: row; /* Passage en mode horizontal */
        justify-content: space-between;
        align-items: flex-start;
        gap: 0;
    }

    /* La ligne devient horizontale */
    .timeline::before {
        top: 23px;
        left: 5%;
        right: 5%;
        width: 90%;
        height: 4px;
        bottom: auto; /* On annule la propriété 'bottom' */
    }

    .timeline-item {
        flex-direction: column; /* Les éléments internes (icône, contenu) s'alignent verticalement */
        align-items: center;
        text-align: center;
        width: 18%; /* Chaque étape prend environ 1/5 de la largeur */
        gap: 15px;
    }

    .timeline-content {
        padding-top: 0;
    }
}

