/* ============================================================
   PAGE FAQ — CSS SPÉCIFIQUE
   Thème Neptune — Alexandra Roiret
   ============================================================ */

:root {
    --faq-violet: #3e3952;
    --faq-violet-clair: #cfc8df;
    --faq-rose: #dfced4;
    --faq-gold: #cfc8df;
    --faq-noir: #12101b;
    --faq-blanc: #fbfbfb;
    --faq-bg: #e9eaf1;
    --faq-border: rgba(62, 57, 82, 0.15);
}

/* ============================================================
   HERO — Identique au pattern Neptune existant
   ============================================================ */
.faq-hero-subtitle {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.375rem;
    line-height: 1.5;
    color: var(--faq-violet-clair);
    margin-top: 0.5rem;
}

@media (max-width: 700px) {
    .faq-hero-subtitle {
        font-size: 1.125rem;
    }
}

/* ============================================================
   CATÉGORIES FAQ — Filtrage par onglets
   ============================================================ */
.faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.faq-cat-btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.6rem 1.25rem;
    border-radius: 2rem;
    border: 1px solid var(--faq-border);
    background: transparent;
    color: var(--faq-noir);
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.01em;
}

.faq-cat-btn:hover {
    border-color: var(--faq-violet);
    color: var(--faq-violet);
}

.faq-cat-btn.active {
    background: var(--faq-violet);
    color: var(--faq-bg);
    border-color: var(--faq-violet);
}

@media (max-width: 500px) {
    .faq-categories {
        gap: 0.5rem;
    }
    .faq-cat-btn {
        font-size: 0.8125rem;
        padding: 0.5rem 1rem;
    }
}

/* ============================================================
   BLOCS FAQ — Override du pattern Neptune .faq
   Utilise la structure native : .faq .grid div avec h2 + p
   ============================================================ */

/* Bordure dorée au lieu de la bordure grise par défaut */
.faq .grid div:not(:last-of-type) {
    border-bottom: 1px solid var(--faq-border);
}

/* Numéro de question */
.faq-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--faq-violet);
    color: var(--faq-bg);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.8125rem;
    flex-shrink: 0;
    margin-bottom: 0.5rem;
}

/* Badge catégorie dans la question */
.faq-cat-badge {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    background: var(--faq-violet-clair);
    color: var(--faq-violet);
    margin-bottom: 0.75rem;
}

/* Réponses : améliorer la lisibilité */
.faq .grid div p {
    font-size: 1.05rem;
    line-height: 1.75;
}

.faq .grid div p a {
    color: var(--faq-violet);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: var(--faq-violet-clair);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.3s ease;
}

.faq .grid div p a:hover {
    text-decoration-color: var(--faq-gold);
}

/* ============================================================
   CTA SECTION FAQ
   ============================================================ */
.faq-cta-section {
    text-align: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.faq-cta-section .container.grid {
    justify-items: center;
}

.faq-cta-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.25rem;
    color: var(--faq-violet);
    margin-bottom: 1.5rem;
    max-width: 36rem;
}

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

.faq-cta-buttons .btn,
.faq-cta-buttons .btn-secondary {
    display: inline-block;
    min-width: 260px;
    text-align: center;
}

@media (max-width: 700px) {
    .faq-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .faq-cta-buttons .btn,
    .faq-cta-buttons .btn-secondary {
        min-width: auto;
        width: 100%;
        max-width: 320px;
    }
}
