/* blog.css - Style pour la page Blog */

body {
    font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(120deg, #f8fafc 0%, #e0e7ff 100%);
}

.blog-hero {
    background: linear-gradient(120deg, #e0e7ff 0%, #f8fafc 100%);
    padding-bottom: 3rem;
}

.blog-hero h1 {
    font-weight: 700;
    color: #2563eb;
    font-size: 3rem;
    letter-spacing: 1px;
    text-shadow: 0 2px 12px #4f8cff20;
    margin-bottom: 1.5rem;
}

.blog-hero .lead {
    font-size: 1.35rem;
    color: #374151;
    font-weight: 400;
    margin-bottom: 2.5rem;
}

.blog-articles {
    background: linear-gradient(120deg, #f8fafc 0%, #e0e7ff 100%);
}

.blog-article {
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.article-title {
    font-weight: 700;
    color: #2563eb;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    gap: 2rem;
    color: #6b7280;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.article-meta span {
    display: flex;
    align-items: center;
}

.article-content {
    line-height: 1.8;
    color: #374151;
}

.article-content .lead {
    font-size: 1.2rem;
    color: #4b5563;
    font-weight: 500;
}

.section-title {
    font-weight: 600;
    color: #1f2937;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.feature-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.1rem;
}

.article-cta {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e5e7eb;
    text-align: center;
}

/* Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-title {
    font-weight: 600;
    color: #2563eb;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.sidebar-article .card {
    border-radius: 1rem;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.sidebar-article .card:hover {
    transform: translateY(-4px);
}

.sidebar-article .card-title {
    font-weight: 600;
    color: #2563eb;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.sidebar-newsletter .card {
    border-radius: 1rem;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #2563eb 0%, #4f8cff 100%);
    color: white;
}

.sidebar-newsletter .card-title {
    color: white;
    font-weight: 600;
}

.sidebar-newsletter .card-text {
    color: rgba(255, 255, 255, 0.9);
}

/* FAQ Section */
.faq-section {
    background: linear-gradient(120deg, #e0e7ff 0%, #f8fafc 100%) !important;
}

.faq-section h2 {
    font-weight: 700;
    color: #2563eb;
    font-size: 2.5rem;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px #4f8cff20;
}

.accordion-item {
    border: none;
    border-radius: 1rem !important;
    margin-bottom: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.accordion-button {
    background: linear-gradient(135deg, #2563eb 0%, #4f8cff 100%);
    color: white;
    font-weight: 600;
    border: none;
    padding: 1.5rem;
    font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-button::after {
    filter: brightness(0) invert(1);
}

.accordion-body {
    padding: 1.5rem;
    background: white;
    color: #374151;
    line-height: 1.6;
}

/* Modal */
.modal-content {
    border-radius: 1.5rem;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background: linear-gradient(135deg, #2563eb 0%, #4f8cff 100%);
    color: white;
    border-bottom: none;
    border-radius: 1.5rem 1.5rem 0 0;
}

.modal-title {
    font-weight: 600;
    color: white;
}

.btn-close {
    filter: brightness(0) invert(1);
}

.modal-body {
    padding: 2rem;
    line-height: 1.8;
}

.modal-body h4 {
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 1rem;
}

.modal-body ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.modal-body li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Responsive design */
@media (max-width: 991px) {
    .blog-hero h1 {
        font-size: 2.5rem;
    }
    
    .article-title {
        font-size: 1.8rem;
    }
    
    .blog-article {
        padding: 2rem;
    }
    
    .blog-sidebar {
        position: static;
        margin-top: 2rem;
    }
}

@media (max-width: 767px) {
    .blog-hero h1 {
        font-size: 2rem;
    }
    
    .article-title {
        font-size: 1.6rem;
    }
    
    .blog-article {
        padding: 1.5rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .faq-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 575px) {
    .blog-hero h1 {
        font-size: 1.8rem;
    }
    
    .article-title {
        font-size: 1.4rem;
    }
    
    .blog-article {
        padding: 1.25rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
}
