/* ========================================
   STYLES - PAGE ARTICLE
   ======================================== */

.article-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* ARTICLE */
.article-content {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 3rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* HEADER ARTICLE */
.article-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e2e8f0;
}

.article-category {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #fef3c7;
    color: #92400e;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.article-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    color: #64748b;
    font-size: 0.875rem;
}

/* SOMMAIRE */
.article-toc {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.article-toc h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 1rem;
}

.article-toc nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.article-toc a {
    color: #2563eb;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.article-toc a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* SECTIONS */
.article-section {
    margin-bottom: 3rem;
}

.article-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
    padding-top: 1rem;
}

.article-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a202c;
    margin: 1.5rem 0 1rem;
}

.article-section h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.article-section p {
    color: #334155;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.article-section ul,
.article-section ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
    color: #334155;
}

.article-section li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

/* ALERTES */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid;
}

.alert strong {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.alert p {
    margin: 0;
    font-size: 0.875rem;
}

.alert-warning {
    background: #fffbeb;
    border-color: #f59e0b;
    color: #92400e;
}

.alert-success {
    background: #f0fdf4;
    border-color: #10b981;
    color: #065f46;
}

.alert-info {
    background: #eff6ff;
    border-color: #3b82f6;
    color: #1e40af;
}

/* ÉTAPES */
.steps-list {
    margin: 2rem 0;
}

.step-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 0.75rem;
    border: 2px solid #e2e8f0;
}

.step-number {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: #2563eb;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #64748b;
    margin: 0;
    font-size: 0.875rem;
}

/* CTA BOX */
.cta-box {
    background: linear-gradient(135deg, #dbeafe 0%, #f0f9ff 100%);
    border: 2px solid #93c5fd;
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
}

.cta-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.cta-box p {
    color: #334155;
    margin-bottom: 1.5rem;
}

.btn-create-ticket {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #2563eb;
    color: #ffffff;
    padding: 0.875rem 1.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-create-ticket:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

/* FEEDBACK */
.article-feedback {
    background: #f8fafc;
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    margin-top: 3rem;
}

.article-feedback h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 1.5rem;
}

.feedback-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-feedback {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border: 2px solid #e2e8f0;
    background: #ffffff;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-feedback:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.btn-feedback.positive:hover {
    border-color: #10b981;
    background: #f0fdf4;
}

.btn-feedback.negative:hover {
    border-color: #ef4444;
    background: #fef2f2;
}

.btn-feedback span:first-child {
    font-size: 1.5rem;
}

/* SIDEBAR */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.sidebar-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 1rem;
}

.related-article {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    text-decoration: none;
    color: #334155;
    font-size: 0.875rem;
    transition: all 0.2s;
    margin-bottom: 0.5rem;
}

.related-article:last-child {
    margin-bottom: 0;
}

.related-article:hover {
    background: #f8fafc;
    color: #2563eb;
}

.btn-contact-urgence {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem;
    background: #ef4444;
    color: #ffffff;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-contact-urgence:hover {
    background: #dc2626;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .article-container {
        grid-template-columns: 1fr;
    }

    .article-content {
        padding: 2rem;
    }

    .article-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .article-content {
        padding: 1.5rem;
    }

    .article-header h1 {
        font-size: 1.75rem;
    }

    .step-item {
        flex-direction: column;
        gap: 1rem;
    }

    .feedback-buttons {
        flex-direction: column;
    }

    .btn-feedback {
        width: 100%;
        justify-content: center;
    }
}