:root {
    --pratix-prepa: #1c1c3c;
    --pratix-inClass: #009de0;
    --pratix-step: crimson;
    --pratix-distAsyc: #e2a344;
    --pratix-distSyc: #78a787;
    --pratix-prepare: #8075dc;
}

.wrapper {
    width: 800px;
    margin: 0 auto;
}


.stepProgress {
    display: flex;
    margin: 15px;
}

.stepProgress a {
    color: #fff;
}

.stepProgress li {
    flex: 1;
    border-left: 1px dotted grey;
}

.stepProgress li:first-child {
    flex: 0 0 20px;
    /* largeur fixe petite */
}

.stepProgress {
    height: 40px;
    color: #fff;
    position: relative;
    text-align: center;
    line-height: 40px;
    list-style: none;
}


.step:after {
    content: "";
    position: absolute;
    height: 0;
    width: 0;
    left: 100%;
    top: 0;
    border: 20px solid transparent;
    border-left: 20px solid crimson
}



.step {
    background: var(--pratix-step);
    border-radius: 5px 0 0 5px;
}


.inClass {
    background-color: var(--pratix-inClass);
    border-radius: 5px
}


.distAsyc {
    background-color: var(--pratix-distAsyc);
    border-radius: 5px
}


.distSyc {
    background-color: var(--pratix-distSyc);
    border-radius: 5px
}


.prepare {
    background-color: var(--pratix-prepare);
    border-radius: 5px
}


.round-span {

    position: absolute;
    left: -15px;
    top: -5px;
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f0f0f0;
    overflow: hidden;
}



/* Style pour l'image SVG */

.svg-image {
    width: 100%;
    height: auto;
}


.intitule {
    font-size: 0.8rem;
}




.line {
    /* border: 1px solid #8075dc;
    position: absolute;
    width: calc(100% / 6);*/
}



.flexWr {
    display: flex;
    flex-wrap: wrap;
}



#fair {
    padding: 2rem;
}






.infoPrat ul li ul li {

    margin-left: 1.3rem;

}



.borderBackME ul {

    margin-left: 1.5rem;



}



.centrerVerHor {

    display: flex;

    justify-content: center;

    align-items: center;

}

.ssTitreEtape,
.info li span {

    color: var(--accent-color);

}

.infoDesc {

    margin-left: 2rem;

}

.manStep {

    /* border-top: 10px solid #000;*/



}





.highlight {
    border: 2px solid blue;
    position: absolute;
    z-index: 1;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px #333;
}



.stepProgress {
    position: relative;
}



/************************************/
/* Desktop par défaut */
.timeline-mobile {
    display: none;
}

/* Mobile */
@media (max-width: 767px) {
    .timeline-desktop {
        display: none;
    }

    .timeline-mobile {
        display: block;
    }

    .timeline-mobile-list {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        position: relative;
        margin-top: 1rem;
    }

    .timeline-mobile-item {
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
        position: relative;
        cursor: pointer;
    }

    .timeline-mobile-marker {
        flex: 0 0 38px;
        height: 38px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        border: 2px solid #999;
        background: #fff;
        position: relative;
        z-index: 2;
    }

    .timeline-mobile-item:not(:last-child) .timeline-mobile-marker::after {
        content: "";
        position: absolute;
        top: 38px;
        left: 50%;
        transform: translateX(-50%);
        width: 1px;
        height: calc(100% + 1rem);
        border-left: 1px dashed #999;
    }

    .timeline-mobile-content {
        flex: 1;
        min-width: 0;
        padding: 0.25rem 0 1rem 0;
    }

    .timeline-mobile-type {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.9rem;
        font-weight: 600;
        margin-bottom: 0.35rem;
    }

    .timeline-mobile-icon {
        width: 22px;
        height: auto;
    }

    .timeline-mobile-title {
        font-size: 0.95rem;
        line-height: 1.4;
    }
}

/*****************/
.wrapper.navigation {
    position: relative;
}

.timeline-highlight {

    border-radius: 8px;
    pointer-events: none;
    transition: left 0.2s ease, top 0.2s ease, width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
    opacity: 0;
    z-index: 5;
    box-sizing: border-box;

    border: 2px solid blue;
    position: absolute;
    box-shadow: 0 0 15px #333;
}

/***************/
.hero-subtitle {

    color: #677189;
    font-size: 1.02rem;

}

.content-panel {
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(8px);
    box-shadow: 0 12px 35px rgba(31, 28, 62, .08);
    margin-top: 1.2rem;
    border: 1px solid rgba(255, 255, 255, .72)
}

.fiche-topbar h1 {
    margin-bottom: 0;
}

.fact-item i {
    color: var(--helmo-primary-2);
    margin-right: .35rem;
}

.card-body {
    flex: 1 1 auto;
    /*padding: var(--bs-card-spacer-y) var(--bs-card-spacer-x);*/
    color: var(--bs-card-color);
}

/*********************/
/* Amélioration proposée : transformer AA / Cursus / Référence en bandeau horizontal */
.facts-strip .card-body {
    /*   padding: 1rem 1.25rem;*/
}

.fact-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #6c757d;
    margin-bottom: 0.15rem;
    font-weight: 700;
}

.fact-value {
    margin: 0;
    font-weight: 600;
}



.note-box {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
}


/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
:root {
    --bg: #f3f1f4;
    --surface: #ffffff;
    --surface-soft: #faf8fb;
    --text: #22223f;
    --muted: #66667a;
    --line: #e6e1e8;
    --accent: #e5534b;
    --accent-soft: #fff1ef;
    --shadow: 0 10px 30px rgba(25, 25, 60, 0.08);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 12px;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(25, 25, 60, 0.06);
    border-color: #d8d1da;
}

.faq-item[open] {
    background: var(--surface-soft);
    border-color: #f0c3bd;
}

.faq-item summary {
    list-style: none;
    display: grid;
    grid-template-columns: 64px 1fr 24px;
    align-items: center;
    gap: 18px;
    padding: 22px 24px;
    cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-badge {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 800;
    font-size: 0.95rem;
}

.faq-question {
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.45;
}

.faq-item summary::after {
    content: "⌄";
    font-size: 1.3rem;
    color: var(--muted);
    justify-self: end;
    transition: transform 0.2s ease, color 0.2s ease;
}

.faq-item[open] summary::after {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-answer {
    padding: 0 24px 24px 106px;
}

.faq-answer p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

@media (max-width: 760px) {
    .faq-page {
        padding: 20px 14px 40px;
    }

    .faq-shell {
        padding: 22px 16px;
        border-radius: 18px;
    }

    .faq-item summary {
        grid-template-columns: 52px 1fr 20px;
        gap: 12px;
        padding: 18px 16px;
    }

    .faq-badge {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        font-size: 0.85rem;
    }

    .faq-question {
        font-size: 0.98rem;
    }

    .faq-answer {
        padding: 0 16px 18px 16px;
    }
}

#chart-fair {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.fair-chart-wrap {
    position: relative;
    width: 100%;
    max-width: 300px;
    height: 300px;
    margin: 0 auto 1rem;
}