/* ============================================
   PAGE FAQ
   ============================================ */

.faq-section {
    padding: 80px 0 100px;
}

.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Question / Réponse */
.faq-item {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 28px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Oswald', sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent);
}

.faq-chevron {
    flex-shrink: 0;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 1200px;
    padding: 0 28px 24px;
}

.faq-answer p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
}

/* Espacement entre paragraphes d'une réponse multi-paragraphes */
.faq-answer p + p {
    margin-top: 14px;
}

.faq-answer a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* Bordure accent sur l'item actif */
.faq-item.active {
    border-left: 4px solid var(--accent);
}

/* CTA Section */
.faq-cta {
    padding: 80px 0;
    background: #1a1a1a;
    text-align: center;
}

.faq-cta-content h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 16px;
}

.faq-cta-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.faq-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.faq-cta .btn-outline-dark {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.faq-cta .btn-outline-dark:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0 80px;
    }

    .faq-question {
        font-size: 1.05rem;
        padding: 20px 20px;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }

    .faq-cta-content h2 {
        font-size: 1.7rem;
    }
}
