/* ================================================================
   MDD AIR CARGO — parcours.css
   Page cachée « Parcours Import-Export » (timeline verticale)
   Chargé via enqueue.php sur le template page-parcours-ie.php
   Réutilise les classes partagées de main.css (.mdd-container,
   .mdd-hero, .mdd-section-title, .mdd-btn, .mdd-wysiwyg)
================================================================ */

/* ── Reveal : état initial (GSAP prend le relais ; fallback no-JS visible) ── */
.mdd-pc-reveal,
.mdd-pc-reveal-up { will-change: transform, opacity; }

/* ── Bloc intro ─────────────────────────────────────────────────────────── */
.mdd-pc-block {
    padding-block: var(--section-pad);
    background: var(--blanc);
}
.mdd-pc-block__inner {
    max-width: 820px;
    text-align: center;
}
.mdd-pc-block__inner .mdd-wysiwyg {
    text-align: left;
    margin-top: 1.5rem;
}

/* ── Timeline ───────────────────────────────────────────────────────────── */
.mdd-pc-timeline {
    padding-block: var(--section-pad);
    background: var(--fond-clair);
}

.mdd-pc-steps {
    list-style: none;
    margin: 3rem auto 0;
    padding: 0;
    max-width: 860px;
    position: relative;
}
/* Ligne verticale continue derrière les marqueurs */
.mdd-pc-steps::before {
    content: "";
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 27px;
    width: 2px;
    background: linear-gradient(to bottom, var(--bleu-marine), var(--orange));
    opacity: .35;
}

.mdd-pc-step {
    position: relative;
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 1.5rem;
    padding-bottom: 2.5rem;
}
.mdd-pc-step:last-child { padding-bottom: 0; }

/* Marqueur rond avec numéro + chevron */
.mdd-pc-step__marker {
    position: relative;
    z-index: 1;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background: var(--bleu-marine);
    color: var(--blanc);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    border: 3px solid var(--blanc);
}
.mdd-pc-step__num {
    font-family: var(--font-titre);
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 1;
}
.mdd-pc-step__chevron {
    position: absolute;
    right: -9px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--orange);
    background: var(--fond-clair);
    border-radius: var(--radius-full);
}

/* Corps de l'étape — carte blanche */
.mdd-pc-step__body {
    background: var(--blanc);
    border: 1px solid var(--gris-clair);
    border-left: 4px solid var(--orange);
    border-radius: var(--radius);
    padding: 1.4rem 1.6rem;
    box-shadow: var(--shadow-sm);
}
.mdd-pc-step__titre {
    font-family: var(--font-titre);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--bleu-marine);
    margin: 0 0 .5rem;
}
.mdd-pc-step__texte {
    color: var(--texte);
    font-size: .97rem;
    line-height: 1.7;
    margin: 0;
}

/* ── CTA final ──────────────────────────────────────────────────────────── */
.mdd-pc-cta {
    padding-block: var(--section-pad);
    background: var(--orange);
}
.mdd-pc-cta__inner {
    max-width: 760px;
    margin-inline: auto;
    text-align: center;
}
.mdd-pc-cta__h2 {
    font-family: var(--font-titre);
    font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    color: var(--blanc);
    margin: 0 0 1rem;
}
.mdd-pc-cta__texte {
    color: rgba(255, 255, 255, .92);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0 0 1.8rem;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
    .mdd-pc-step {
        grid-template-columns: 44px 1fr;
        gap: 1rem;
    }
    .mdd-pc-steps::before { left: 21px; }
    .mdd-pc-step__marker { width: 44px; height: 44px; }
    .mdd-pc-step__num { font-size: .9rem; }
    .mdd-pc-step__body { padding: 1.1rem 1.2rem; }
}
