html {
    scroll-behavior: smooth;
}

.faq-shortcut a[chap] {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px 20px !important;
    font-weight:  600;
    font-size: clamp(18px, 2vw, 26px);
    line-height: 1.25;
    height: auto;
    min-height: 96px;
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
    white-space: normal;
}

a.link-text {
    color: #293380;
    font-weight: 500;
    text-decoration: none !important;
    border-bottom: none;
}

a.link-text:hover {
    color: #293380 !important;
    font-weight: 600;
}

.fab {
    position: fixed;
    bottom: 6px;
    right: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 55px;
    height: 56px;
    border-radius: 50%;
    background-color: #293380;
    border: 2px solid #ffffff;
    color: #ffffff;
    font-size: 20px;

    img {
        height: 16px;
    }
}

.fab:hover {
    background-color: #293380 !important;
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
}

.faq-shortcut {
    width: 80%;
    min-width: 0;
    margin:  0 auto;
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .faq-shortcut {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 0px 20px;
    }
}

.bloc-chapitre {
    margin-bottom: 40px;
}

.faq {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.faq-bloc {
    width: 80%;
    min-width: 0;
}

.faq-btn {
    font-size: 18px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding: 16px 20px;
    cursor: pointer;
    border: 1px solid #293380;
    background-color: #293380;
    color: #ffffff;
    border-radius: 8px;
    height: auto;
    line-height: 1.4;
    white-space: normal;
    gap: 12px;

    i {
        font-size: 12px;
    }
}

.faq-btn:hover {
    background-color: #303b91 !important;
}

.faq-chevron {
    transition: transform 0.3s ease;
    font-size: 18px;
}

.faq-chevron.open {
    transform: rotate(-90deg);
}

.faq-content {
    display: none;
    text-align: left;
    width: 100%;
    min-width: 0;
    padding: 12px 16px;
    overflow-wrap: anywhere;
    font-size: 18px;
    border: 1px solid #e0e4fa;
    background-color: #e0e4fa;
    color: #0f0f0f;
    border-radius: 8px;
    line-height: 24px;
}

.faq-content p {
    margin: 0 0 0px 0 !important;
}


@media (min-width: 768px) {
    .faq-content {
        padding: 10px 20px;

    }
}

.faq-content.open {
    display: block;
    margin-bottom: 16px;
}

.sub-faq {
    border: 0px solid transparent !important;
    text-align: center;
    font-size: 18px;
    line-height: 1.5;

    p {
        margin: 0px !important;
        font-weight: 400;
        color: #293380;
        font-size: inherit;
    }
}

.main-faq .link-text {
    overflow-wrap: anywhere;
}

.faq-content img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 767px) {
    .faq-shortcut,
    .faq-bloc {
        width: 100%;
    }

    .faq-shortcut a[chap] {
        min-height: 72px;
        padding: 18px 16px !important;
    }

    .faq-btn,
    .faq-content {
        font-size: 16px;
    }

}
