/* Styles specifiques aux pages SEO Immorian */
.seo-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 80px;
    position: relative;
    z-index: 1;
}

.seo-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.seo-breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.seo-breadcrumb a:hover {
    color: #2563eb;
}

.seo-breadcrumb i {
    font-size: 10px;
    opacity: 0.5;
}

.seo-article {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 4px 20px var(--shadow-color);
}

@media (max-width: 768px) {
    .seo-article {
        padding: 30px 20px;
    }
}

.seo-article h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .seo-article h1 {
        font-size: 1.8rem;
    }
}

.seo-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.seo-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.seo-intro {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 40px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(16, 185, 129, 0.05));
    border-radius: 12px;
    border-left: 4px solid #2563eb;
}

.seo-toc {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px 30px;
    margin-bottom: 40px;
}

.seo-toc h2 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.seo-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.seo-toc li {
    margin-bottom: 10px;
}

.seo-toc a {
    color: #2563eb;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.seo-toc a:hover {
    color: #1d4ed8;
    transform: translateX(5px);
}

.seo-toc a::before {
    content: "\2192";
    opacity: 0.5;
}

.seo-section {
    margin-bottom: 45px;
}

.seo-section h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2563eb;
}

.seo-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 25px 0 15px;
}

.seo-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.seo-section ul, .seo-section ol {
    margin: 20px 0;
    padding-left: 25px;
}

.seo-section li {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.seo-highlight-box {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(16, 185, 129, 0.08));
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
}

.seo-highlight-box h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.seo-comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 14px;
    overflow-x: auto;
    display: block;
}

@media (min-width: 768px) {
    .seo-comparison-table {
        display: table;
    }
}

.seo-comparison-table th, .seo-comparison-table td {
    padding: 15px;
    text-align: left;
    border: 1px solid var(--border-color);
}

.seo-comparison-table th {
    background: var(--bg-secondary);
    font-weight: 600;
    color: var(--text-primary);
}

.seo-comparison-table td {
    color: var(--text-primary);
}

.seo-comparison-table tr:hover td {
    background: var(--bg-secondary);
}

.seo-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 14px;
}

.seo-table th, .seo-table td {
    padding: 15px;
    text-align: left;
    border: 1px solid var(--border-color);
}

.seo-table th {
    background: var(--bg-secondary);
    font-weight: 600;
    color: var(--text-primary);
}

.seo-table td {
    color: var(--text-primary);
}

.seo-faq {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
}

.seo-faq h2 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    border: none;
    padding: 0;
}

.seo-faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
}

.seo-faq-item:last-child {
    border-bottom: none;
}

.seo-faq-question {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 1rem;
}

.seo-faq-answer {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.seo-cta {
    background: linear-gradient(135deg, #2563eb, #10b981);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    margin: 50px 0 0;
    color: white;
}

.seo-cta h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.seo-cta p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 25px;
    color: white;
}

.seo-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #2563eb;
    padding: 15px 35px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.seo-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.seo-related {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.seo-related h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.seo-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.seo-related-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    text-decoration: none;
    transition: all 0.3s;
}

.seo-related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--shadow-color);
    border-color: #2563eb;
}

.seo-related-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.seo-related-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.check-icon { color: #10b981; }
.cross-icon { color: #ef4444; }
.warning-icon { color: #f59e0b; }

/* ============================================================
   RESPONSIVE ARTICLES & CONTENU
   ============================================================ */

/* Tablette */
@media (max-width: 1024px) {
    .seo-page {
        padding: 30px 20px 60px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .seo-page {
        padding: 20px 15px 50px;
    }

    .seo-breadcrumb {
        font-size: 12px;
        gap: 6px;
        margin-bottom: 20px;
    }

    .seo-meta {
        gap: 12px;
        font-size: 12px;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .seo-intro {
        font-size: 1rem;
        padding: 20px;
        margin-bottom: 30px;
    }

    .seo-toc {
        padding: 20px;
        margin-bottom: 30px;
    }

    .seo-toc a {
        font-size: 13px;
    }

    .seo-section {
        margin-bottom: 35px;
    }

    .seo-section h2 {
        font-size: 1.3rem;
    }

    .seo-section h3 {
        font-size: 1.05rem;
    }

    .seo-section p,
    .seo-section li {
        font-size: 0.95rem;
    }

    .seo-highlight-box {
        padding: 20px;
    }

    .seo-table,
    .seo-comparison-table {
        font-size: 12px;
    }

    .seo-table th, .seo-table td,
    .seo-comparison-table th, .seo-comparison-table td {
        padding: 10px 8px;
    }

    .seo-faq {
        padding: 20px;
        margin: 30px 0;
    }

    .seo-faq h2 {
        font-size: 1.2rem;
    }

    .seo-cta {
        padding: 30px 20px;
        margin: 35px 0 0;
    }

    .seo-cta h3 {
        font-size: 1.2rem;
    }

    .seo-cta-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .seo-related-grid {
        grid-template-columns: 1fr;
    }
}

/* Petit mobile */
@media (max-width: 480px) {
    .seo-page {
        padding: 15px 12px 40px;
    }

    .seo-article {
        padding: 25px 15px;
        border-radius: 12px;
    }

    .seo-article h1 {
        font-size: 1.5rem;
    }

    .seo-breadcrumb {
        font-size: 11px;
    }

    .seo-section h2 {
        font-size: 1.15rem;
    }

    .seo-table {
        font-size: 11px;
    }

    .seo-table th, .seo-table td {
        padding: 8px 6px;
    }

    .seo-cta {
        padding: 25px 15px;
        border-radius: 12px;
    }

    .seo-cta h3 {
        font-size: 1.1rem;
    }

    .seo-cta-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
    }
}
