/* ===================================
   FAQ PAGE CSS
   =================================== */

/* Note: Base styles (navbar, footer, global) are in base.css */
/* ===================================
   MODE SOMBRE
   =================================== */

/* Global Dark Mode styles moved to base.css */

/* STYLES SPECIFIQUES FAQ */

.seo-content {
    padding: 4rem 0;
    background: var(--bg-primary);
}

/* Hero Section adjustment for fixed navbar */
.hero {
    padding-top: 160px;
}

/* Premium Page Header Style */
.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-top: 0;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
}


/* FAQ Container */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* FAQ Items */
.faq-item {
    margin-bottom: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.faq-question {
    padding: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-primary);
}

.faq-question:after {
    content: "+";
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    font-weight: 300;
}

.faq-item.active .faq-question:after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Call to Action */
.cta-section {
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 16px;
    text-align: center;
    color: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.cta-section h2 {
    color: white;
    margin-top: 0;
    font-size: 2.2rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    color: white;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Specific button styles for CTA section to stand out against gradient */
.cta-section a.btn {
    text-decoration: none !important;
    /* Force remove underline */
}

.cta-section .btn-primary,
.cta-section .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-section .btn-primary:hover,
.cta-section .btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    /* Orange text on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}


.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding-top: 120px;
    }

    .seo-content {
        padding: 2rem 0;
    }

    .cta-section {
        padding: 2rem 1.5rem;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
    }
}

/* Dark Mode */
body.dark-mode .faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

body.dark-mode .faq-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
    border-color: var(--primary-color);
}

body.dark-mode .faq-question:hover {
    background: rgba(255, 255, 255, 0.03);
}