/* ================================================== */
/* STYLES SPÉCIFIQUES - parcours.css */
/* ================================================== */

/* ========================= */
/* HERO PARCOURS (même base que services/home) */
/* ========================= */

.parcours-hero.hero-cover {
    position: relative;
    min-height: 60vh;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);

    background-image:
        linear-gradient(
            120deg,
            rgba(15, 15, 40, 0.85) 0%,
            rgba(70, 35, 95, 0.75) 40%,
            rgba(70, 35, 95, 0.5) 70%,
            rgba(10, 10, 20, 0.35) 100%
        ),
        url("../img/julien-michon-alpha-training-64-parcours.webp");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* On masque le picture, comme pour services */
.parcours-hero.hero-cover .hero-media {
    display: none;
}

.parcours-hero .container {
    position: relative;
    z-index: 1;
}

.parcours-hero h1 {
    font-size: clamp(2.5rem, 1.5rem + 4vw, 4.2rem);
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.parcours-hero .subtitle {
    color: var(--accent);
    font-size: clamp(1.2rem, 1rem + 1vw, 1.8rem);
    margin-bottom: 20px;
}

.parcours-hero .hero-intro {
    max-width: 900px;
    margin: 0 auto 10px;
    font-size: 1.1rem;
    color: #f5f2ff;
}

@media (max-width: 768px) {
    .parcours-hero.hero-cover {
        min-height: 50vh;
        padding: 80px 0;
    }
}

/* ========================= */
/* TIMELINE PARCOURS         */
/* ========================= */

.parcours-timeline {
    background: #fff;
    padding: var(--section-padding);
}

.parcours-timeline .section-intro {
    font-size: 1.05rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--text-muted);
}

/* Conteneur timeline */
.timeline-vertical {
    position: relative;
    list-style: none;
    margin: 40px auto;
    padding-left: 32px;
    max-width: 900px;
}

/* Ligne verticale centrale (mobile = côté gauche, desktop = centre) */
.timeline-vertical::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent);
    border-radius: 3px;
}

@media (min-width: 1024px) {
    .timeline-vertical {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 28px 60px;
        padding-left: 0;
        margin: 60px auto;
        max-width: 1000px;
    }
    .timeline-vertical::before {
        left: 50%;
        transform: translateX(-50%);
        background: var(--secondary);
    }
}

/* Entrée de timeline */
.timeline-entry {
    position: relative;
    margin: 0 0 40px 0;
}

@media (min-width: 1024px) {
    .timeline-entry {
        margin: 0;
    }
    .timeline-entry:nth-child(odd) {
        justify-self: end;
    }
    .timeline-entry:nth-child(even) {
        justify-self: start;
    }
}

/* Pastille sur la ligne */
.timeline-entry::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 26px;
    width: 16px;
    height: 16px;
    background: var(--highlight);
    border: 3px solid var(--secondary);
    border-radius: 50%;
    z-index: 2;
}

@media (min-width: 1024px) {
    .timeline-entry::before {
        left: calc(50% - 8px);
        top: 30px;
        border-color: var(--accent);
    }
}

/* Badge de date */
.date-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--text-light);
    border-radius: 999px;
    padding: 6px 12px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 10px;
    position: absolute;
    top: 5px;
    left: 40px;
}

@media (min-width: 1024px) {
    .date-badge {
        position: relative;
        left: auto;
        top: auto;
        margin: 0 0 10px;
    }
}

/* Carte / contenu de timeline */
.timeline-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
    padding: 18px 20px;
    border-left: 4px solid var(--secondary);
    margin-left: 15px;
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 16px;
    align-items: flex-start;
}

@media (min-width: 1024px) {
    .timeline-card {
        margin-left: auto;
        margin-right: auto;
        border-left: none;
        border-right: 4px solid var(--secondary);
        max-width: 460px;
    }
    .timeline-entry:nth-child(odd) .timeline-card {
        border-right: none;
        border-left: 4px solid var(--secondary);
    }
}

/* Icone / photo dans la carte */
.timeline-icon img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Texte dans la carte */
.timeline-body h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 6px;
}

.timeline-body p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Bouton sous la timeline */
.mt-50 {
    margin-top: 50px;
}

/* ========================= */
/* SECTION VALEURS           */
/* ========================= */

.parcours-valeurs {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: var(--text-light);
    padding: var(--section-padding);
}

.parcours-valeurs h2 {
    color: var(--text-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
}

.value-card h3 {
    color: var(--text-light);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.value-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}
