/* assets/css/faq.css - FAQ Page avec design identique à women.css */

:root {
    --mauve: #B79AC5;
    --mauve-dark: #9B7BAA;
    --mauve-light: #E6D9F2;
    --noir: #1A1A1A;
    --or: #D4AF8C;
    --blanc-casse: #F9F7F5;
    --gris: #3E3E3E;
    --gris-light: #F5F5F5;
    --rose-pale: #FCE4EC;
    --charcoal: #2C2C2C;
    --success: #4CAF50;
    --danger: #F44336;
    --warning: #FFC107;
    --font-titre: 'Playfair Display', serif;
    --font-texte: 'Montserrat', sans-serif;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* ----- RESET SUPPLEMENTAIRE POUR MOBILE (comme men.css/women.css) ----- */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.faq-page {
    padding: 60px 0 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
    box-sizing: border-box;
}

/* En-tête de la page */
.page-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 0;
}

.page-header h1 {
    font-family: var(--font-titre);
    font-size: 3rem;
    font-weight: 700;
    color: var(--noir);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.page-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--mauve), var(--mauve-dark));
    border-radius: 2px;
}

.page-header p {
    font-family: var(--font-texte);
    font-size: 1.1rem;
    color: var(--gris);
    max-width: 600px;
    margin: 20px auto 0;
}

/* Grille FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

/* Catégories FAQ */
.faq-category {
    margin-bottom: 40px;
}

.category-title {
    font-family: var(--font-titre);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--noir);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--mauve-light);
}

/* Cartes FAQ */
.faq-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.faq-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, white, var(--blanc-casse));
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.faq-card.active .faq-question {
    border-bottom-color: var(--mauve-light);
    background: linear-gradient(135deg, var(--blanc-casse), white);
}

.faq-question h3 {
    font-family: var(--font-titre);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--noir);
    margin: 0;
    flex: 1;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--mauve);
    transition: transform 0.3s ease;
    margin-left: 15px;
}

.faq-card.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.faq-card.active .faq-answer {
    padding: 20px 25px;
    max-height: 500px;
}

.faq-answer p {
    font-family: var(--font-texte);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gris);
    margin-bottom: 15px;
}

.faq-answer ul, .faq-answer ol {
    margin: 10px 0 10px 20px;
    font-family: var(--font-texte);
    color: var(--gris);
    line-height: 1.8;
}

.faq-answer li {
    margin-bottom: 8px;
}

.faq-answer strong {
    color: var(--mauve-dark);
    font-weight: 600;
}

/* Section "Vous n'avez pas trouvé ?" */
.contact-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--radius-xl);
    padding: 50px;
    margin: 50px 0;
    text-align: center;
    color: white;
    box-shadow: var(--shadow-lg);
}

.contact-section h2 {
    font-family: var(--font-titre);
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.contact-section p {
    font-family: var(--font-texte);
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: white;
    color: var(--mauve-dark);
    text-decoration: none;
    border-radius: 40px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: var(--font-texte);
    border: 2px solid transparent;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    background: transparent;
    color: white;
    border-color: white;
}

.contact-btn i {
    font-size: 1.2rem;
}

/* Section retour */
.back-section {
    text-align: center;
    margin: 40px 0 60px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: white;
    color: var(--noir);
    text-decoration: none;
    border-radius: 40px;
    font-weight: 600;
    border: 2px solid var(--mauve);
    transition: all 0.3s ease;
    font-family: var(--font-texte);
}

.back-btn:hover {
    background: var(--mauve);
    color: white;
    transform: translateX(-5px);
}

.back-btn i {
    font-size: 1.1rem;
}

/* =========================================== */
/* ===== FOOTER IDENTIQUE À WOMEN.CSS ===== */
/* =========================================== */
.site-footer {
    background-color: var(--noir);
    color: var(--blanc-casse);
    padding: 60px 0 30px;
    font-family: var(--font-texte);
    margin-top: 60px;
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-family: var(--font-titre);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.95rem;
    font-family: var(--font-texte);
}

.footer-col a:hover {
    color: var(--mauve);
}

.footer-logo {
    font-family: var(--font-titre);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: inline-block;
    color: white;
}

.footer-contact p {
    margin: 5px 0;
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    font-family: var(--font-texte);
}

.payment-icons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    font-size: 2rem;
    color: rgba(255,255,255,0.6);
}

.payment-icons i {
    transition: color 0.2s;
}

.payment-icons i:hover {
    color: var(--mauve);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    font-family: var(--font-texte);
}

/* =========================================== */
/* ===== RESPONSIVE DESIGN (comme women.css) ===== */
/* =========================================== */

@media (max-width: 1024px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    /* Conteneur principal – mêmes règles que women.css */
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .page-header {
        padding: 30px 0;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
        padding: 0 15px;
    }

    .category-title {
        font-size: 1.5rem;
    }

    .faq-question {
        padding: 15px 20px;
    }

    .faq-question h3 {
        font-size: 1.1rem;
    }

    .faq-card.active .faq-answer {
        padding: 15px 20px;
    }

    .contact-section {
        padding: 40px 20px;
    }

    .contact-section h2 {
        font-size: 1.8rem;
    }

    .contact-section p {
        font-size: 1rem;
    }

    .contact-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .contact-btn {
        width: 100%;
        justify-content: center;
    }

    /* ----- FOOTER (IDENTIQUE À WOMEN.CSS 768px) ----- */
    .site-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .payment-icons {
        font-size: 1.8rem;
        gap: 12px;
        flex-wrap: wrap;
    }
    
    .footer-col ul {
        margin-bottom: 10px;
    }
    
    .footer-col h4 {
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 1.8rem;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-answer p, 
    .faq-answer li {
        font-size: 0.95rem;
    }

    .contact-section h2 {
        font-size: 1.5rem;
    }

    .back-btn {
        width: 100%;
        justify-content: center;
    }

    /* ----- FOOTER (IDENTIQUE À WOMEN.CSS 576px) ----- */
    .payment-icons {
        font-size: 1.6rem;
        gap: 10px;
    }
    
    .footer-contact p {
        font-size: 0.8rem;
    }
}

@media (max-width: 400px) {
    .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .faq-question {
        padding: 12px 15px;
    }

    .faq-question h3 {
        font-size: 0.95rem;
    }

    .faq-toggle {
        font-size: 1.2rem;
    }

    /* ----- FOOTER – très petits écrans (IDENTIQUE À WOMEN.CSS) ----- */
    .payment-icons {
        font-size: 1.4rem;
    }
}

/* Animation pour l'ouverture des FAQs */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-card.active .faq-answer {
    animation: slideDown 0.3s ease forwards;
}