:root {
    --cfm-blue:        #2478C5;
    --cfm-blue-dark:   #1a5a9e;
    --cfm-blue-light:  #e8f2fc;
    --cfm-orange:      #E8461C;
    --cfm-orange-light:#fff1ed;
    --cfm-text:        #0d2040;
    --cfm-text-muted:  #64748b;
    --cfm-border:      #d6e4f5;
    --cfm-bg:          #f4f8fd;
}
    .star-rating {
        direction: rtl;
        display: inline-block;
        font-size: 0;
    }

    .star-rating input {
        display: none;
    }

    .star-rating label {
        cursor: pointer;
        display: inline-block;
        padding: 0 3px;
    }

    .star-rating i {
        font-size: 2rem;
        color: #ddd;
        transition: color 0.2s ease;
    }

    /* Hover : toutes les étoiles à gauche */
    .star-rating label:hover i,
    .star-rating label:hover ~ label i {
        color: #ffc107 !important;
    }

    /* Sélectionnée : reste jaune */
    .star-rating input:checked ~ label i {
        color: #ffc107 !important;
    }

    /* Persiste même après clic */
    .star-rating input:checked + label i {
        color: #ffc107 !important;
    }

    /* ═══════════════════════════════════════
   QUIZ LAYOUT — BREATHING & POLISH
═══════════════════════════════════════ */

.course-resume-wrap {
    background: linear-gradient(135deg, #f8fffe 0%, #f0f7ff 100%);
    min-height: 100vh;
    padding: 24px 0 60px;
}

/* ── Sidebar toggle bar ── */
.quiz-sidebar-toggle-bar {
    background: #ffffff !important;
    border: 1px solid #d4f0f0 !important;
    border-radius: 14px !important;
    padding: 14px 20px !important;
    box-shadow: 0 2px 12px rgba(13, 108, 126, 0.08);
    transition: box-shadow 0.2s ease, background 0.2s ease;
}
.quiz-sidebar-toggle-bar:hover {
    background: #f0fafa !important;
    box-shadow: 0 4px 20px rgba(13, 108, 126, 0.14);
}

/* ── Timer ── */
#timer-display {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, #fff8e1, #fff3cd);
    border: 1px solid #ffe082;
    border-radius: 30px;
    padding: 6px 18px;
    font-size: 15px;
    font-weight: 700;
    color: #b45309;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(180, 83, 9, 0.1);
}

/* ── Titre question ── */
#question-container {
    font-size: clamp(17px, 2.2vw, 22px);
    font-weight: 700;
    color: #0d2d3a;
    line-height: 1.45;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 2px solid #e8f4f8;
}

/* ── Audio player ── */
#question-audio {
    background: #f8fffe;
    border: 1px solid #c8eef0;
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 20px !important;
}
#audio-player {
    border-radius: 8px;
    height: 38px;
}

/* ── Options ── */
#options-container .form-check {
    background: #ffffff;
    border: 1.5px solid #e8edf2;
    border-radius: 12px;
    padding: 13px 16px 13px 44px;
    margin-bottom: 10px;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    cursor: pointer;
    position: relative;
}
#options-container .form-check:hover {
    border-color: #0d6c7e;
    background: #f0fafa;
    box-shadow: 0 3px 12px rgba(13, 108, 126, 0.1);
}
#options-container .form-check-input {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    accent-color: #0d6c7e;
    cursor: pointer;
}
#options-container .form-check-input:checked ~ label {
    color: #0d6c7e;
    font-weight: 600;
}
#options-container .form-check:has(.form-check-input:checked) {
    border-color: #0d6c7e;
    background: linear-gradient(90deg, #f0fafa, #e8f8f8);
    box-shadow: 0 3px 14px rgba(13, 108, 126, 0.13);
}
#options-container .form-check-label {
    font-size: 15px;
    color: #1a3a45;
    cursor: pointer;
    line-height: 1.4;
}
#options-container .form-check-label strong {
    color: #0d6c7e;
    margin-right: 6px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── Image card ── */
.quiz-image-card {
    border-radius: 20px !important;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14) !important;
    border: none !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.quiz-image-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18) !important;
}
.quiz-image-card img {
    max-height: 380px !important;
}

/* ── Bouton Suivant ── */
#nextBtn, #submitBtn {
    padding: 12px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.3px;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
#nextBtn:hover, #submitBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* ── Curriculum items ── */
.curriculum-item {
    border-radius: 10px;
    margin-bottom: 4px;
    padding: 8px 12px;
    transition: background 0.2s;
}
.curriculum-item.active {
    background: #e0f7f7;
    border-left: 3px solid #0d6c7e;
}
.curriculum-item.completed .fad.fa-check-circle {
    color: #10b981;
}

/* ── Zone contenu col ── */
#quiz-content-col {
    padding-left: 28px !important;
}

/* ── Mobile ── */
@media (max-width: 768px) {
    #quiz-content-col {
        padding-left: 12px !important;
    }
    .quiz-image-card img {
        max-height: 220px !important;
    }
    #question-container {
        font-size: 16px;
    }
}

@media (min-width: 576px) {
    .w-sm-auto {
        width: auto !important;
    }
}

/* Uniformiser le select auto-école avec les autres */
.searchable-select,
select.searchable-select {
    appearance: auto !important;
    -webkit-appearance: auto !important;
    background-image: none !important;
    padding: 0.375rem 0.75rem !important;
    height: auto !important;
    font-size: 1rem !important;
    border: 1px solid #ced4da !important;
    border-radius: 0.375rem !important;
    color: #212529 !important;
    background-color: #fff !important;
    box-shadow: none !important;
}

/* S'il utilise une librairie type select2/choices, override complet */
.choices,
.choices__inner {
    border: 1px solid #ced4da !important;
    border-radius: 0.375rem !important;
    background-color: #fff !important;
    padding: 4px 8px !important;
    font-size: 1rem !important;
    min-height: unset !important;
}
.choices__input {
    font-size: 1rem !important;
}

/* ═══════════════════════════════════
   UNIFORMISATION TOUS LES SELECTS
═══════════════════════════════════ */

/* Choices.js */
.choices {
    margin-bottom: 0 !important;
}
.choices__inner {
    background-color: #fff !important;
    border: 1.5px solid #d1d9e0 !important;
    border-radius: 12px !important;
    padding: 10px 14px !important;
    min-height: 50px !important;
    font-size: 15px !important;
    color: #1a3a45 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    display: flex !important;
    align-items: center !important;
}
.choices__inner:focus-within,
.choices.is-open .choices__inner {
    border-color: #0d6c7e !important;
    box-shadow: 0 0 0 3px rgba(13,108,126,0.12) !important;
}
.choices__list--single {
    padding: 0 !important;
}
.choices__list--single .choices__item {
    font-size: 15px !important;
    color: #1a3a45 !important;
}
.choices__list--dropdown,
.choices__list[aria-expanded] {
    border: 1.5px solid #d1d9e0 !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1) !important;
    margin-top: 4px !important;
    overflow: hidden !important;
}
.choices__list--dropdown .choices__item {
    padding: 10px 14px !important;
    font-size: 14px !important;
}
.choices__list--dropdown .choices__item.is-highlighted,
.choices__list--dropdown .choices__item:hover {
    background-color: #f0fafa !important;
    color: #0d6c7e !important;
}
.choices__input {
    font-size: 14px !important;
    padding: 4px 0 !important;
    background: transparent !important;
}
.choices__button {
    border-left: 1px solid #d1d9e0 !important;
    opacity: 0.5 !important;
}

/* Select2 (si utilisé à la place) */
.select2-container--default .select2-selection--single {
    height: 50px !important;
    border: 1.5px solid #d1d9e0 !important;
    border-radius: 12px !important;
    padding: 10px 14px !important;
    font-size: 15px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 28px !important;
    color: #1a3a45 !important;
    padding: 0 !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 48px !important;
}
.select2-dropdown {
    border: 1.5px solid #d1d9e0 !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1) !important;
    overflow: hidden !important;
}
.select2-results__option--highlighted {
    background-color: #f0fafa !important;
    color: #0d6c7e !important;
}

/* Tous les form-select natifs */
.form-select, select.form-select {
    height: 50px !important;
    border: 1.5px solid #d1d9e0 !important;
    border-radius: 12px !important;
    padding: 10px 36px 10px 14px !important;
    font-size: 15px !important;
    color: #1a3a45 !important;
    background-color: #fff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    appearance: none !important;
}
.form-select:focus {
    border-color: #0d6c7e !important;
    box-shadow: 0 0 0 3px rgba(13,108,126,0.12) !important;
    outline: none !important;
}

.form-control {
    height: 50px !important;
    border: 1.5px solid #d1d9e0 !important;
    border-radius: 12px !important;
    padding: 10px 14px !important;
    font-size: 15px !important;
    color: #1a3a45 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
}
.form-control:focus {
    border-color: #0d6c7e !important;
    box-shadow: 0 0 0 3px rgba(13,108,126,0.12) !important;
    outline: none !important;
}

label.fw-semibold, label.form-label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #4a5568 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 8px !important;
}

/* ═══════════════════════════════════
   STEP PROGRESS PRO
═══════════════════════════════════ */
.step-progress-pro {
    padding: 8px 0 24px;
}
.step-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}
.step-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
}
.step-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #d1d9e0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.35s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.step-num {
    font-size: 16px;
    font-weight: 700;
    color: #94a3b8;
    transition: opacity 0.2s;
}
.step-check {
    position: absolute;
    width: 20px;
    height: 20px;
    color: #fff;
    opacity: 0;
    transition: opacity 0.2s;
}
.step-label {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    transition: color 0.3s;
    white-space: nowrap;
}

/* Connecteur */
.step-connector {
    flex: 1;
    max-width: 80px;
    height: 2px;
    background: #d1d9e0;
    margin: 0 12px;
    margin-bottom: 26px;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}
.step-connector::after {
    content: '';
    position: absolute;
    left: 0; top: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #0d6c7e, #10b981);
    border-radius: 2px;
    transition: width 0.5s ease;
}
.step-connector.filled::after {
    width: 100%;
}

/* Active */
.step-node.active .step-circle {
    border-color: #0d6c7e;
    background: linear-gradient(135deg, #0d6c7e, #0fa58f);
    box-shadow: 0 4px 16px rgba(13,108,126,0.3);
}
.step-node.active .step-num {
    color: #fff;
}
.step-node.active .step-label {
    color: #0d6c7e;
}

/* Completed */
.step-node.completed .step-circle {
    border-color: #10b981;
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 16px rgba(16,185,129,0.25);
}
.step-node.completed .step-num {
    opacity: 0;
}
.step-node.completed .step-check {
    opacity: 1;
}
.step-node.completed .step-label {
    color: #10b981;
}

/* ═══ PAYMENT INFO BLOCK ═══ */
#paymentInfo {
    background: #f8fffe;
    border: 1.5px solid #c8eef0;
    border-radius: 16px;
    padding: 20px 22px;
}

/* Ligne montant total */
#paymentInfo p.fw-semibold {
    font-size: 15px;
    color: #4a5568;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e0f0f0;
}
#paymentInfo p.fw-semibold strong {
    color: #0d6c7e;
    font-size: 18px;
}

/* Radio options */
#paymentInfo .form-check {
    background: #fff;
    border: 1.5px solid #e0edf0;
    border-radius: 12px;
    padding: 13px 16px 13px 44px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    position: relative;
}
#paymentInfo .form-check:hover {
    border-color: #0d6c7e;
    background: #f0fafa;
}
#paymentInfo .form-check:has(.form-check-input:checked) {
    border-color: #0d6c7e;
    background: linear-gradient(90deg, #f0fafa, #e8f8f8);
    box-shadow: 0 3px 12px rgba(13,108,126,0.1);
}
#paymentInfo .form-check-input {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    accent-color: #0d6c7e;
}
#paymentInfo .form-check-label {
    font-size: 14px;
    color: #1a3a45;
    cursor: pointer;
}

/* Liste tranches */
.list-group-item {
    border: none !important;
    border-bottom: 1px solid #eef3f5 !important;
    padding: 12px 4px !important;
    font-size: 14px;
    color: #1a3a45;
}
.list-group-item:last-child {
    border-bottom: none !important;
}
.list-group-item .fw-bold {
    color: #0d6c7e;
}
#selectedTotal {
    color: #0d6c7e;
    font-size: 16px;
}

/* ═══════════════════════════════════════════
   PACK CARD — PRICING
═══════════════════════════════════════════ */

.pack-card {
    background: #ffffff;
    border: 1.5px solid #e8edf2;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.pack-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(13, 108, 126, 0.14);
    border-color: #b2e0e8;
}

/* ── Header ── */
.pack-card__header {
    background: linear-gradient(135deg, #0d6c7e 0%, #0fa58f 100%);
    padding: 24px 22px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.pack-card__icon {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.pack-card__icon i {
    font-size: 18px;
    color: #ffffff;
}
.pack-card__title {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.4;
    letter-spacing: 0;
    word-break: break-word;
    padding-top: 4px;
}

/* ── Prix ── */
.pack-card__price {
    padding: 22px 24px 12px;
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.pack-card__amount {
    font-size: 2.4rem;
    font-weight: 800;
    color: #0d2d3a;
    line-height: 1;
    letter-spacing: -1px;
}
.pack-card__currency {
    font-size: 14px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── Divider ── */
.pack-card__divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e0edf0 30%, #e0edf0 70%, transparent);
    margin: 0 24px 18px;
}

/* ── Body ── */
.pack-card__body {
    padding: 0 24px;
    flex: 1;
}
.pack-card__objective {
    font-size: 13px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 16px;
    padding: 12px 14px;
    background: #f0fafa;
    border-radius: 10px;
    border-left: 3px solid #0d6c7e;
}
.pack-card__objective i {
    color: #0d6c7e;
    margin-right: 6px;
    font-size: 12px;
}

/* ── Features list ── */
.pack-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 8px;
}
.pack-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    color: #334155;
    padding: 7px 0;
    border-bottom: 1px solid #f1f5f9;
    line-height: 1.5;
}
.pack-card__features li:last-child {
    border-bottom: none;
}
.pack-card__check {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.pack-card__check i {
    font-size: 9px;
    color: #fff;
}
.pack-card__check--blue {
    background: linear-gradient(135deg, #0d6c7e, #0fa58f);
}

/* ── Public cible ── */
.pack-card__audience {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed #d1e9ed;
}
.pack-card__audience-title {
    font-size: 12px;
    font-weight: 700;
    color: #0d6c7e;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 10px;
}
.pack-card__audience-title i {
    margin-right: 6px;
}

/* ── Footer CTA ── */
.pack-card__footer {
    padding: 20px 24px 24px;
}
.pack-card__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #0d6c7e, #0fa58f);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 30px;
    text-decoration: none;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 16px rgba(13, 108, 126, 0.28);
    transition: transform 0.2s, box-shadow 0.2s;
}
.pack-card__btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13, 108, 126, 0.4);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .pack-card__amount {
        font-size: 2rem;
    }
    .pack-card__header {
        padding: 18px 16px;
    }
    .pack-card__body,
    .pack-card__footer {
        padding-left: 16px;
        padding-right: 16px;
    }
}

.pack-card:hover {
    box-shadow: 0 16px 48px rgba(36, 120, 197, 0.14);
    border-color: #a8ccee;
}
.pack-card__header {
    background: linear-gradient(135deg, #2478C5 0%, #1a5a9e 100%);
}
.pack-card__objective {
    background: var(--cfm-blue-light);
    border-left: 3px solid var(--cfm-blue);
}
.pack-card__objective i { color: var(--cfm-blue); }

.pack-card__check {
    background: linear-gradient(135deg, #E8461C, #c43a18);
}
.pack-card__check--blue {
    background: linear-gradient(135deg, #2478C5, #1a5a9e);
}
.pack-card__audience-title { color: var(--cfm-blue); }

.pack-card__btn {
    background: linear-gradient(135deg, #E8461C, #c43a18);
    box-shadow: 0 4px 16px rgba(232, 70, 28, 0.28);
}
.pack-card__btn:hover {
    box-shadow: 0 8px 24px rgba(232, 70, 28, 0.4);
}

.cfm-feature-area, .cfm-about-area-1, .sn-about-area-2 {
    margin-bottom: 5em !important;
}

.sn-about-area-2 .about-text {
    text-align: justify;
}

.sn-about-item p {
    font-size: 12px;
}

/* ═══════════════════════════════════════════
   CFM FOOTER
═══════════════════════════════════════════ */

.cfm-footer {
    background: #0d1e35;
    position: relative;
    margin-top: 0;
}

/* ── Vague de transition ── */
.cfm-footer__wave {
    display: block;
    line-height: 0;
    margin-top: -2px;
}
.cfm-footer__wave svg {
    width: 100%;
    height: 80px;
    display: block;
}

/* ── Corps ── */
.cfm-footer__body {
    padding: 10px 0 48px;
}

/* ── Logo ── */
.cfm-footer__logo img {
    height: 100px;
    width: auto;
    margin-bottom: 18px;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

/* ── Description ── */
.cfm-footer__desc {
    font-size: 13.5px;
    color: #94a3b8;
    line-height: 1.75;
    margin-bottom: 22px;
    text-align: justify;
}

/* ── Newsletter ── */
.cfm-footer__newsletter-label {
    font-size: 12px;
    font-weight: 700;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin-bottom: 10px;
}
.cfm-footer__newsletter-label i { color: #E8461C; }

.cfm-footer__newsletter-form {
    display: flex;
    gap: 0;
    border-radius: 30px;
    overflow: hidden;
    border: 1.5px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    transition: border-color 0.2s;
}
.cfm-footer__newsletter-form:focus-within {
    border-color: #2478C5;
}
.cfm-footer__newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 10px 16px;
    font-size: 13px;
    color: #e2e8f0;
}
.cfm-footer__newsletter-form input::placeholder {
    color: #64748b;
}
.cfm-footer__newsletter-form button {
    background: linear-gradient(135deg, #E8461C, #c43a18);
    border: none;
    padding: 0 18px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
    border-radius: 0 28px 28px 0;
}
.cfm-footer__newsletter-form button:hover {
    background: linear-gradient(135deg, #c43a18, #a83015);
}

/* ── Headings colonnes ── */
.cfm-footer__heading {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    position: relative;
}
.cfm-footer__heading::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 28px; height: 2px;
    background: linear-gradient(90deg, #E8461C, #2478C5);
    border-radius: 2px;
}

/* ── Liens ── */
.cfm-footer__links {
    list-style: none;
    padding: 0; margin: 0;
}
.cfm-footer__links li {
    margin-bottom: 9px;
}
.cfm-footer__links a {
    font-size: 13.5px;
    color: #94a3b8;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: color 0.2s, gap 0.2s;
}
.cfm-footer__links a::before {
    content: '';
    width: 5px; height: 5px;
    background: #E8461C;
    border-radius: 50%;
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity 0.2s;
}
.cfm-footer__links a:hover {
    color: #ffffff;
    gap: 10px;
}
.cfm-footer__links a:hover::before {
    opacity: 1;
}

/* ── Contact ── */
.cfm-footer__contact {
    list-style: none;
    padding: 0; margin: 0 0 22px;
}
.cfm-footer__contact li {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
    align-items: flex-start;
}
.cfm-footer__contact-icon {
    width: 36px; height: 36px;
    background: rgba(36, 120, 197, 0.15);
    border: 1px solid rgba(36, 120, 197, 0.25);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: #2478C5;
    font-size: 14px;
}
.cfm-footer__contact div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.cfm-footer__contact-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #475569;
}
.cfm-footer__contact a,
.cfm-footer__contact span:not(.cfm-footer__contact-label) {
    font-size: 13px;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}
.cfm-footer__contact a:hover {
    color: #fff;
}

/* ── Réseaux sociaux ── */
.cfm-footer__social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.cfm-footer__social a {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    color: #94a3b8;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.cfm-footer__social a:hover {
    background: #E8461C;
    border-color: #E8461C;
    color: #fff;
    transform: translateY(-3px);
}

/* ── Barre copyright ── */
.cfm-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 18px 0;
}
.cfm-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.cfm-footer__bottom p {
    font-size: 13px;
    color: #475569;
    margin: 0;
}
.cfm-footer__bottom a {
    text-decoration: none;
    transition: opacity 0.2s;
}
.cfm-footer__bottom a:hover { opacity: 0.85; }

.cfm-footer__brand-blue  { color: #ffffff; font-weight: 700; }
.cfm-footer__brand-orange { color: #E8461C; font-weight: 700; }

/* TwoF Technologies — TwoF orange, Technologies avec halo bleu sur fond sombre */
.cfm-footer__devby {
    font-weight: 700;
    white-space: nowrap;
}
.cfm-footer__twof {
    color: #E8461C;
    font-weight: 800;
}
.cfm-footer__tech {
    color: #7ab8e8;          /* bleu clair qui ressort sur fond sombre */
    font-weight: 700;
    text-shadow: 0 0 12px rgba(36, 120, 197, 0.6);
}

.cfm-footer__bottom-tagline {
    font-size: 12px;
    color: #334155;
}
.cfm-footer__bottom-tagline i {
    color: #2478C5;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .cfm-footer__body { padding: 40px 0 32px; }
    .cfm-footer__bottom-inner { flex-direction: column; text-align: center; }
    .cfm-footer__wave svg { height: 48px; }
}

.curriculum-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 10px;
    margin-bottom: 4px;
    transition: background 0.2s;
}

.curriculum-item .left {
    flex: 1 1 0;
    min-width: 0; /* permet le truncate du texte */
}

.curriculum-item .left h6 {
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13.5px;
}

.curriculum-item .right {
    display: flex !important;
    align-items: center;
    gap: 8px;
    flex-shrink: 0; /* empêche le .right de se réduire */
    white-space: nowrap;
}

.curriculum-item .right .duration {
    font-size: 12px;
    color: #64748b;
}

.curriculum-item .right .lock i {
    font-size: 13px;
    color: #94a3b8;
}

.site-heading, .site-heading .site-title-tagline {
    margin-bottom: 0;
}

.cfm-title {
    margin-bottom: 1em !important;
}

.cta-content {
    padding: 5px 0px 20px 40px;
}

.hero-btn .theme-btn3 {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: background 0.25s, border-color 0.25s, transform 0.2s;
}
.hero-btn .theme-btn3:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
    transform: translateY(-2px);
}
.hero-btn .theme-btn3 i {
    font-size: 13px;
}

p {
    text-align: justify !important;
}

.cfm-no-justify {
    text-align: left !important;
}

.cfm-copy {
    text-align: center !important;
}

/* ── Image mobile : cachée sur desktop ── */
#question-image-mobile {
    display: none; /* JS contrôle */
}
@media (min-width: 768px) {
    #question-image-mobile {
        display: none !important;
    }
}

/* ── Reorder mobile : timer → audio → image → question → options ── */
@media (max-width: 767px) {
    #quiz-content-col {
        display: flex !important;
        flex-direction: column;
    }
    #timer-display          { order: 1; }
    #question-audio         { order: 2; }
    #question-image-mobile  { order: 3; }
    #question-container     { order: 4; }
    #options-container      { order: 5; }
    #quiz-content-col > .d-flex { order: 6; } /* boutons */
}

.quiz-image-card img[src=""],
.quiz-image-card img:not([src]) {
    display: none !important;
}