/* =========================================
   Style spécifique — article-ebook-ia.html
   Compatible avec assets/css/style.css
   ========================================= */

.article-page {
    min-height: calc(100vh - 90px);
    padding: 120px 0 80px;
    background: var(--bg, #0b0b0f);
}

.article-container {
    width: min(920px, calc(100% - 32px));
    margin: 0 auto;
}

.article-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    color: rgba(255,255,255,.6);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 600;
    transition: gap .25s ease, color .25s ease;
}

.article-back:hover {
    color: var(--accent, #d9b26f);
    gap: 12px;
}

.article-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 7px 14px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 999px;
    background: rgba(255,255,255,.04);
    color: var(--accent, #d9b26f);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .02em;
}

.article-title {
    max-width: 860px;
    margin: 0 0 34px;
    color: var(--white, #fff);
    font-size: clamp(2.2rem, 5vw, 4.4rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -.035em;
}

.article-content {
    max-width: 820px;
    margin: 0 auto;
    padding: 38px 42px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 24px;
    background: rgba(255,255,255,.035);
    box-shadow: 0 20px 60px rgba(0,0,0,.18);
    color: rgba(255,255,255,.84);
    font-size: 1.05rem;
    line-height: 1.9;
}

.article-content p {
    margin: 0 0 1.35rem;
}

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

.article-content h2 {
    margin: 2.3rem 0 1rem;
    color: var(--white, #fff);
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    line-height: 1.25;
    font-weight: 700;
}

.article-content h2:first-child {
    margin-top: 0;
}

.article-content a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent, #d9b26f);
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

.article-content a::after {
    content: '\2192';
    font-size: 1.1rem;
}

.article-content a:hover {
    color: var(--white, #fff);
    transform: translateX(2px);
}

@media (max-width: 768px) {
    .article-page {
        padding: 100px 0 55px;
    }

    .article-container {
        width: min(100% - 22px, 720px);
    }

    .article-title {
        margin-bottom: 24px;
        font-size: clamp(2rem, 9vw, 3rem);
    }

    .article-content {
        padding: 26px 22px;
        border-radius: 18px;
        font-size: .98rem;
        line-height: 1.8;
    }
}

@media (max-width: 480px) {
    .article-page {
        padding-top: 88px;
    }

    .article-meta {
        font-size: .72rem;
        padding: 6px 11px;
    }

    .article-title {
        font-size: 1.9rem;
    }

    .article-content {
        padding: 22px 17px;
        border-radius: 15px;
        font-size: .93rem;
    }

    .article-content h2 {
        font-size: 1.28rem;
    }
}
