/* ============================================
   08 - FAQ (accordéon stylé)
   ============================================ */

.jm-faq {
    padding: var(--jm-section-y) 0;
    position: relative;
}

.jm-faq__list {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    z-index: 3;
}

.jm-faq__item {
    background: #fff;
    border-radius: var(--jm-radius);
    border: 2px solid var(--jm-grey-100);
    transition: all 0.4s ease;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(10, 42, 124, 0.04);
}
.jm-faq__item:hover { border-color: var(--jm-grey-300); }
.jm-faq__item[open] {
    background: #fff;
    border-color: var(--jm-blue);
    box-shadow: 0 14px 35px rgba(10, 42, 124, 0.12);
}

.jm-faq__item summary {
    cursor: pointer;
    list-style: none;
    padding: 22px 26px;
    font-family: var(--jm-font-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--jm-black);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: color var(--jm-transition);
}
.jm-faq__item summary::-webkit-details-marker { display: none; }
.jm-faq__item summary::after {
    content: '+';
    flex-shrink: 0;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--jm-grey-100);
    color: var(--jm-blue);
    display: inline-flex;
    align-items: center; justify-content: center;
    font-size: 1.4rem;
    font-weight: 400;
    transition: all 0.4s cubic-bezier(.2,.7,.2,1);
}
.jm-faq__item:hover summary::after { background: var(--jm-blue); color: #fff; }
.jm-faq__item[open] summary { color: var(--jm-blue); }
.jm-faq__item[open] summary::after {
    content: '−';
    background: var(--jm-red);
    color: #fff;
    transform: rotate(180deg);
}

.jm-faq__item p {
    padding: 0 26px 24px;
    color: var(--jm-grey-700);
    margin: 0;
    line-height: 1.75;
}
