/* ── Accordéon FAQ MSC (front) ─────────────────────────────────────────────── */
/* Palette neutre noir/gris/blanc — passe partout sur n'importe quel thème */

.msc-faq-accordion {
    margin: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 100%;
}

.msc-faq-item {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
}

.msc-faq-item:hover {
    border-color: #9CA3AF;
}

.msc-faq-item.is-open {
    border-color: #1F2937;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.msc-faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 18px 22px;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 16px;
    font-weight: 600;
    color: #1F2937;
    line-height: 1.4;
    font-family: inherit;
    transition: background .15s;
}

.msc-faq-question:hover {
    background: #F9FAFB;
}

.msc-faq-question:focus-visible {
    outline: 2px solid #4B5563;
    outline-offset: -2px;
}

.msc-faq-question-text {
    flex: 1;
}

.msc-faq-question-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #F3F4F6;
    color: #4B5563;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    transition: background .2s, color .2s, transform .25s ease;
}

.msc-faq-item.is-open .msc-faq-question-icon {
    background: #1F2937;
    color: #ffffff;
    transform: rotate(45deg);
}

.msc-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .25s ease;
    padding: 0 22px;
    color: #4B5563;
    font-size: 15px;
    line-height: 1.65;
}

.msc-faq-item.is-open .msc-faq-answer {
    max-height: 1500px;
    padding: 0 22px 20px 22px;
}

.msc-faq-answer p {
    margin: 0 0 12px 0;
}

.msc-faq-answer p:last-child {
    margin-bottom: 0;
}

.msc-faq-answer ul,
.msc-faq-answer ol {
    margin: 0 0 12px 0;
    padding-left: 22px;
}

.msc-faq-answer ul li,
.msc-faq-answer ol li {
    margin-bottom: 6px;
}

.msc-faq-answer strong {
    color: #1F2937;
}

.msc-faq-answer a {
    color: #1F2937;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.msc-faq-answer a:hover {
    color: #6B7280;
}

@media (max-width: 640px) {
    .msc-faq-question {
        padding: 14px 16px;
        font-size: 15px;
    }
    .msc-faq-answer,
    .msc-faq-item.is-open .msc-faq-answer {
        padding-left: 16px;
        padding-right: 16px;
    }
}
