/* âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   Playmoweb FAQ GEO â Styles
   Design system : DM Sans, rgb(22,23,55), rgb(246,246,243)
   S'intÃ¨gre au thÃ¨me Playmoweb (Atelier Asap)
   âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */

.faq-section {
    padding: 80px 0;
    background-color: rgb(246, 246, 243);
}

.faq-section .faq-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ââ Overtitle ââ */
.faq-section .overtitle {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    color: rgb(22, 23, 55);
    margin-bottom: 8px;
    text-align: center;
}

/* ââ Heading ââ */
.faq-section .faq-heading {
    font-family: 'DMSans', 'DM Sans', sans-serif;
    font-size: 45px;
    font-weight: 400;
    line-height: 1.15;
    color: rgb(22, 23, 55);
    margin-bottom: 48px;
    text-align: center;
}

.faq-section .faq-heading strong {
    font-weight: 700;
}

/* ââ Accordion (details/summary) ââ */
.faq-section details {
    border-bottom: 1px solid rgba(22, 23, 55, 0.12);
}

.faq-section details:first-of-type {
    border-top: 1px solid rgba(22, 23, 55, 0.12);
}

.faq-section summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    font-family: 'DMSans', 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: rgb(22, 23, 55);
    cursor: pointer;
    list-style: none;
    line-height: 1.4;
    user-select: none;
    transition: color 0.2s ease;
}

.faq-section summary:hover {
    color: rgba(22, 23, 55, 0.7);
}

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

.faq-section summary::marker {
    content: '';
}

/* ââ IcÃ´ne + / â ââ */
.faq-section summary::after {
    content: '+';
    font-size: 26px;
    font-weight: 300;
    flex-shrink: 0;
    margin-left: 20px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.faq-section details[open] summary::after {
    content: '\2212'; /* â */
}

.faq-section details[open] summary {
    padding-bottom: 8px;
}

/* ââ RÃ©ponse ââ */
.faq-section .faq-answer {
    padding: 0 0 24px 0;
    font-family: 'DMSans', 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: rgba(22, 23, 55, 0.7);
    max-width: 820px;
}

.faq-section .faq-answer strong {
    color: rgb(22, 23, 55);
    font-weight: 600;
}

/* ââ CTA en bas de la FAQ ââ */
.faq-section .faq-cta {
    text-align: center;
    margin-top: 56px;
}

.faq-section .faq-cta p {
    font-family: 'DMSans', 'DM Sans', sans-serif;
    font-size: 16px;
    margin-bottom: 20px;
    color: rgba(22, 23, 55, 0.7);
}

/* Le bouton utilise la classe btn--primary du thÃ¨me.
   Ces styles ne s'appliquent que si le thÃ¨me ne charge pas ses propres styles btn. */
.faq-section .btn.btn--primary {
    display: inline-block;
    font-family: 'DMSans', 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background-color: rgb(22, 23, 55);
    padding: 18px 36px;
    border-radius: 33px;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.faq-section .btn.btn--primary:hover {
    background-color: rgba(22, 23, 55, 0.85);
    transform: translateY(-1px);
}

/* ââ Responsive ââ */
@media (max-width: 768px) {
    .faq-section {
        padding: 48px 0;
    }

    .faq-section .faq-heading {
        font-size: 28px;
        margin-bottom: 32px;
    }

    .faq-section summary {
        font-size: 16px;
        padding: 18px 0;
    }

    .faq-section .faq-answer {
        font-size: 15px;
    }

    .faq-section .faq-cta {
        margin-top: 40px;
    }
}

@media (max-width: 480px) {
    .faq-section .faq-heading {
        font-size: 24px;
    }

    .faq-section summary {
        font-size: 15px;
    }
}
