.faq-header {
    padding-top: 120px;
    text-align: center;
    margin-bottom: 3rem;
    background-color: var(--secondary-color);
    padding: 120px 2rem 3rem;
}

.faq-header h1 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem var(--spacing-unit);
}

.faq-category {
    margin-bottom: 3rem;
}

.faq-category h2 {
    color: var(--accent-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: var(--primary-color);
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: var(--secondary-color);

}

.arrow {
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.faq-question.active .arrow {
    transform: rotate(-135deg);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: var(--primary-color);
}

.faq-answer.active {
    padding: 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    margin-bottom: 1rem;
}

.faq-answer ul,
.faq-answer ol {
    padding-left: 1.5rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

.contact-cta {
    text-align: center;
    padding: 4rem var(--spacing-unit);
    background-color: var(--secondary-color);
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.contact-cta h2 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.contact-cta p {
    margin-bottom: 2rem;
}

/* Ajout des styles pour le bouton Nous Contacter */
.contact-cta .btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-cta .btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.contact-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-cta .btn-primary:hover::before {
    width: 800px;
    height: 800px;
}

/* Mode sombre pour les boutons primaires */
[data-theme="dark"] .contact-cta .btn-primary::before {
    background: rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .faq-content {
        padding: 1rem;
    }

    .faq-item {
        padding: 1rem;
    }
}

.inline-link {
    color: var(--accent-color);
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.inline-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 50%;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
    transform: translateX(-50%);
}

.inline-link:hover {
    opacity: 0.8;
}

.inline-link:hover::after {
    width: 100%;
}

/* Pour assurer que le lien est bien visible dans la liste */
.faq-answer ul li a {
    display: inline;
} 