.faq-page {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-header h1 {
    margin-bottom: 15px;
    color: #333;
}

.city-name {
    color: #022447 ; /* à adapter selon votre charte graphique */
}

.faq-intro {
    max-width: 800px;
    margin: 0 auto;
    color: #666;
    line-height: 1.6;
}

.faq-intro a {
    color: #022447 ; /* à adapter selon votre charte graphique */
    text-decoration: none;
    transition: color 0.3s ease;
}

.faq-intro a:hover {
    text-decoration: underline;
}

/* Search Bar */
.faq-search {
    max-width: 600px;
    margin: 0 auto 40px;
}

.search-form {
    display: flex;
    position: relative;
}

.search-form input {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.search-form input:focus {
    outline: none;
    border-color: #022447 ; /* à adapter selon votre charte graphique */
    box-shadow: 0 3px 15px rgba(0,123,255,0.15);
}

.search-form button {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    width: 50px;
    border: none;
    background-color: #022447 ; /* à adapter selon votre charte graphique */
    color: white;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-form button:hover {
    background-color: #0056b3; /* à adapter selon votre charte graphique */
}

/* Categories */
.faq-categories {
    margin-bottom: 40px;
    text-align: center;
}

.faq-categories h2 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.5rem;
}

.category-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.category-btn {
    padding: 10px 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 50px;
    color: #555;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.category-btn:hover,
.category-btn.active {
    background-color: #022447 ; /* à adapter selon votre charte graphique */
    border-color: #022447 ; /* à adapter selon votre charte graphique */
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* FAQ Sections */
.faq-section {
    margin-bottom: 60px;
    padding-top: 20px;
}

.section-title {
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
    color: #333;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.faq-question {
    position: relative;
    padding: 20px 50px 20px 20px;
    font-weight: 600;
    cursor: pointer;
    color: #333;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f0f7ff; /* à adapter selon votre charte graphique */
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #022447 ; /* à adapter selon votre charte graphique */
    transition: transform 0.3s ease;
}

details[open] .faq-question::after {
    content: '−';
}

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

.faq-answer p {
    margin-top: 0;
    margin-bottom: 15px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul,
.faq-answer ol {
    margin: 15px 0;
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 8px;
}

.faq-answer a {
    color: #022447 ; /* à adapter selon votre charte graphique */
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* Effet d'animation lors de l'ouverture */
details[open] .faq-answer {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* CTA Section */
.faq-cta {
    text-align: center;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    max-width: 900px;
    margin: 0 auto;
}

.faq-cta h2 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

.faq-cta p {
    margin-bottom: 25px;
    color: #666;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.btn i {
    margin-right: 10px;
}

.btn-primary {
    background-color: #022447 ; /* à adapter selon votre charte graphique */
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3; /* à adapter selon votre charte graphique */
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-secondary {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    color: #333;
}

.btn-secondary:hover {
    background-color: #e9ecef;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-page {
        padding: 60px 20px;
    }
    
    .category-nav {
        flex-direction: column;
        gap: 10px;
    }
    
    .category-btn {
        width: 100%;
    }
    
    .faq-question {
        padding: 15px 40px 15px 15px;
        font-size: 0.95rem;
    }
    
    .faq-answer {
        padding: 0 15px 15px;
        font-size: 0.9rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
}