/* ── Accord FAQ Accordion Widget ── */

.afaq-wrap { width: 100%; }

.afaq-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e5df;
}
.afaq-eyebrow {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .44em;
    text-transform: uppercase;
    color: #65884E;
    margin-bottom: 6px;
}
.afaq-title {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #1a1f18;
    line-height: 1.1;
    margin: 0;
}

.afaq-list { border-top: 1px solid #e2e5df; }

/* Item — contient l'effet lift */
.afaq-item {
    border-bottom: 1px solid #e2e5df;
    overflow: visible; /* visible pour que l'ombre ne soit pas coupée */
    position: relative;
    z-index: 0;
    transition:
        transform 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        z-index 0s;
}

/* Effet lift au survol — élévation de la question */
.afaq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    z-index: 2;
    border-bottom-color: transparent;
}

/* Item ouvert — légère élévation maintenue */
.afaq-item.afaq-open {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(101, 136, 78, 0.1);
    z-index: 1;
    border-bottom-color: #e2e5df;
}

.afaq-btn {
    width: 100%;
    background: none;
    border: none;
    border-radius: 0;
    cursor: pointer;
    padding: 14px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    font-family: inherit;
}
.afaq-btn:focus-visible { outline: 2px solid #65884E; outline-offset: 2px; }

.afaq-question {
    flex: 1;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .03em;
    color: #1a1f18;
    line-height: 1.45;
    transition: color 0.22s ease;
}
.afaq-item:hover .afaq-question    { color: #65884E; }
.afaq-item.afaq-open .afaq-question { color: #65884E; }

.afaq-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border: 1px solid #e2e5df;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #65884E;
    transition: background-color .22s ease, border-color .22s ease, color .22s ease;
}
.afaq-icon--left { order: -1; }
.afaq-item.afaq-open .afaq-icon {
    background-color: #65884E;
    border-color: #65884E;
    color: #fff;
}

.afaq-ico-open   { display: none; }
.afaq-ico-closed { display: flex; }
.afaq-item.afaq-open .afaq-ico-open   { display: flex; }
.afaq-item.afaq-open .afaq-ico-closed { display: none; }

.afaq-body { display: none; }
.afaq-answer {
    padding: 0 0 16px;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.9;
    color: #5a5e57;
}
.afaq-answer p { margin-bottom: .6em; }
.afaq-answer p:last-child { margin-bottom: 0; }
.afaq-answer strong { font-weight: 700; color: #1a1f18; }
.afaq-answer a { color: #65884E; }
