/* Page "Questions fréquentes". Palette : #4fa9d3, #0F2454, #F3F7FA. Accordéon natif (<details>), sans JavaScript. */
.faq-intro {
    margin: -20px auto 40px;
    max-width: 680px;
    font-size: 17px;
    line-height: 1.75;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    overflow: hidden;
    border: 1px solid #e8eef5;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 6px 22px rgb(15 36 84 / 6%);
    transition: border-color .3s ease, box-shadow .3s ease;
}

.faq-item[open] {
    border-color: #4fa9d3;
    box-shadow: 0 12px 32px rgb(15 36 84 / 11%);
}

.faq-item summary {
    position: relative;
    display: block;
    padding: 22px 64px 22px 26px;
    cursor: pointer;
    list-style: none;
    color: #0F2454;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.4;
}

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

.faq-item summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-top: -16px;
    border-radius: 50%;
    background: #F3F7FA;
    color: #4fa9d3;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    transition: background .3s ease, color .3s ease, transform .3s ease;
}

.faq-item[open] summary::after {
    content: "\2212";
    background: #4fa9d3;
    color: #ffffff;
}

.faq-item summary:focus-visible {
    outline: 3px solid #4fa9d3;
    outline-offset: -3px;
    border-radius: 16px;
}

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

.faq-answer p {
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
}

@media (max-width: 575px) {
    .faq-item summary {
        padding: 18px 56px 18px 20px;
        font-size: 17px;
    }

    .faq-answer {
        padding: 0 20px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .faq-item,
    .faq-item summary::after {
        transition: none;
    }
}
