.faq-description {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* FAQ Content */
.faq-content {
    padding: 40px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

/* Accordéon FAQ */
.faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    margin-bottom: 16px;
    background-color: white;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

/* Cache la checkbox */
.faq-toggle {
    display: none;
}

/* Style du label (question) */
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 20px;
    color: #333;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    margin: 0;
    transition: background-color 0.3s ease;
}

/* Icône container */
.faq-icon {
    position: relative;
    font-size: 20px;
    color: #E31E24;
    font-weight: bold;
    width: 20px;
    height: 20px;
}

/* Icône plus - visible par défaut */
.icon-plus {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
    transition: opacity 0.3s ease;
    width: 24px;
    height: 24px;
    background-color: #FFDDE3;
    border-radius: 50%;
    padding: 0 6px;
}

/* Icône moins - cachée par défaut */
.icon-minus {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    width: 24px;
    height: 24px;
    background-color: #FFFFFF;
    border-radius: 50%;
    padding: 0 6px;
}

/* Contenu de la réponse */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: white;
}

.answer-content {
    padding: 0 24px;
}

.answer-content p {
    margin: 0;
    padding: 20px 0;
    line-height: 1.6;
    color: #555;
}

/* État ouvert - basculer les icônes */
.faq-toggle:checked + .faq-question .icon-plus {
    opacity: 0;
}

.faq-toggle:checked + .faq-question .icon-minus {
    opacity: 1;
}

.faq-toggle:checked + .faq-question {
    background-color: #fff;
    border-bottom: none;
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 500px; /* Ajustez selon vos besoins */
}

/* NOUVEAU : Fond rouge pour la section ouverte */
.faq-toggle:checked + .faq-question {
    background-color: #900C22 !important;
    color: white !important;
}

.faq-toggle:checked ~ .faq-answer {
    background-color: #900C22;
}

/* Texte blanc pour la lisibilité sur fond rouge */
.faq-toggle:checked ~ .faq-answer .answer-content p {
    color: white !important;
}

/* Alternative : Si vous voulez que tout le .faq-item devienne rouge */
.faq-item:has(.faq-toggle:checked) {
    background-color: #900C22;
}

.faq-item:has(.faq-toggle:checked) .answer-content p {
    color: white !important;
}

.faq-item:has(.faq-toggle:checked) .faq-question {
    background-color: #900C22 !important;
    color: white !important;
}

/* Styles pour le CTA dans la FAQ */
.faq-cta {
    padding: 20px 0 10px 0;
    text-align: right;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: transparent;
    border: 2px solid white;
    border-radius: 25px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cta-button:hover {
    background-color: white;
    color: #900C22;
}

.cta-arrow {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.cta-button:hover .cta-arrow {
    transform: translateX(4px);
}

/* Empêcher le clic sur le CTA de fermer la FAQ */
.cta-button {
    pointer-events: auto;
}

.faq-cta {
    pointer-events: none;
}

.faq-cta .cta-button {
    pointer-events: auto;
    margin-right: 20px;
}
