/* =====================================================
   FAQ PAGE - Lush Sphere
===================================================== */

.faq-page {
    width: 100%;
    background: #ffffff;
}

/* HERO */
.faq-hero {
    background: #F5F3EE;
    padding: 230px 40px 80px;
    text-align: center;
}

.faq-hero-title {
    font-family: 'El Messiri', serif;
    font-size: 48px;
    font-weight: 500;
    color: #123524;
    margin: 0;
}

/* WRAPPER */
.faq-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px;
    display: flex;
    gap: 0;
    align-items: stretch;
}

/* =====================================================
   SIDEBAR
===================================================== */

.faq-sidebar {
    width: 280px;
    flex-shrink: 0;
    padding-right: 40px;
    margin-right: 60px;
    border-right: 1px solid #D4D4D4;
}

.faq-nav-sticky {
    position: sticky;
    top: 160px;
}

.faq-sidebar-title {
    font-family: 'El Messiri', serif;
    font-size: 28px;
    font-weight: 500;
    color: #123524;
    margin: 0 0 24px 0;
    text-align: left;
}

.faq-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Underline animé */
.faq-nav-item {
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #2B2B2B;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.faq-nav-label {
    display: inline-block;
    position: relative;
    padding-bottom: 4px;
}

.faq-nav-label::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: #123524;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-nav-item:hover .faq-nav-label::after,
.faq-nav-item.active .faq-nav-label::after {
    transform: scaleX(1);
}

.faq-nav-item:hover {
    color: #123524;
}

.faq-nav-item.active {
    font-weight: 600;
    color: #123524;
}


/* =====================================================
   CONTENU
===================================================== */

.faq-section {
    display: none;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.faq-section--active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}


.faq-section-title {
    font-family: 'El Messiri', serif;
    font-size: 32px;
    font-weight: 500;
    color: #123524;
    margin: 0 0 40px 0;
    padding-bottom: 16px;
    border-bottom: 1px solid #D4D4D4;
}

/* Items Q&R — cascade */
.faq-item {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #F0F0F0;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-section--active .faq-item {
    opacity: 1;
    transform: translateY(0);
}

.faq-section--active .faq-item:nth-child(1) { transition-delay: 0.05s; }
.faq-section--active .faq-item:nth-child(2) { transition-delay: 0.10s; }
.faq-section--active .faq-item:nth-child(3) { transition-delay: 0.15s; }
.faq-section--active .faq-item:nth-child(4) { transition-delay: 0.20s; }
.faq-section--active .faq-item:nth-child(5) { transition-delay: 0.25s; }
.faq-section--active .faq-item:nth-child(6) { transition-delay: 0.30s; }

.faq-question {
    font-family: 'El Messiri', serif;
    font-size: 22px;
    font-weight: 500;
    color: #123524;
    margin: 0 0 16px 0;
    line-height: 1.4;
}

.faq-answer {
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #555555;
}

.faq-answer p {
    margin: 0 0 12px 0;
    line-height: 35px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer a {
    color: #6B7345;
    font-weight: 600;
    text-decoration: none;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.faq-answer a:hover {
    color: #123524;
}

.faq-answer strong {
    color: #123524;
    font-weight: 600;
}

.faq-answer a[href^="mailto"],
.faq-answer a[href^="tel"] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 700;
    color: #123524;
}

.faq-answer ul {
    margin: 12px 0;
    padding-left: 20px;
}

.faq-answer li {
    font-size: 18px;
    margin-bottom: 6px;
    list-style: disc;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 768px) {

    .faq-wrapper {
        flex-direction: column;
        gap: 40px;
        align-items: flex-start;
    }

    .faq-sidebar {
        width: 100%;
        padding-right: 0;
        margin-right: 0;
        border-right: none;
        border-bottom: 1px solid #D4D4D4;
        padding-bottom: 24px;
    }

    .faq-sidebar-title {
        padding: 0;
    }

    .faq-nav-sticky {
        position: static;
    }

    .faq-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }

    .faq-nav-item {
        padding: 6px 14px;
        border: 1px solid #D4D4D4;
        border-radius: 20px;
        font-size: 14px;
    }

    .faq-nav-item::after {
        display: none;
    }

    .faq-nav-item.active {
        background: #123524;
        color: #ffffff;
        border-color: #123524;
    }

    .faq-section {
        position: relative;
    }

    .faq-nav-label::after {
        display: none;
    }

    .faq-nav-label {
        padding-bottom: 0;
    }

    .faq-section-title {
       display: none;
    }
}
