*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background: #fff;
    color: #000;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
}

.scroll-line {
    position: fixed;
    right: 0;
    top: 0;
    width: 1px;
    height: 100%;
    background: #000;
    z-index: 100;
}

.scroll-bar {
    position: fixed;
    top: 50px;
    right: 20px;
    height: 87vh;
    border-radius: 10px;
}

.progress-bar {
    width: 0.25rem;
    height: 0;
    background-color: #000;
    border-radius: 10px;
    transition: height 0.2s ease;
}

.star-icon {
    position: absolute;
    width: 1rem;
    height: 1rem;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    transition: top 0.2s ease;
    cursor: pointer;
    user-select: none;
}

/* Header article */
.article-header {
    max-width: 780px;
    margin: 0 auto;
    padding: 60px 24px 40px;
}

.back-link {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #000;
    text-decoration: none;
    margin-bottom: 32px;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.back-link:hover { opacity: 1; }

.article-cats {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.cat-tag {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1px solid #000;
    border-radius: 999px;
    padding: 2px 10px;
    opacity: 0.5;
}

.article-header h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.article-date {
    font-size: 0.75rem;
    font-weight: 300;
    opacity: 0.4;
    letter-spacing: 0.05em;
}

/* Image principale */
.article-thumbnail {
    max-width: 780px;
    margin: 0 auto 48px;
    padding: 0 24px;
}

.article-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

/* Corps de l'article */
.article-body {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 24px 80px;
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.85;
    color: #111;
}

.article-body p {
    margin-bottom: 24px;
}

/* Footer */
footer {
    max-width: 780px;
    margin: 0 auto;
    padding: 32px 24px;
    border-top: 1px solid #eee;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    opacity: 0.3;
}

/* Responsive */
@media (max-width: 768px) {
    .article-header, .article-thumbnail, .article-body, footer {
        padding-left: 6%;
        padding-right: 6%;
    }
}

.edit-link {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #000;
    text-decoration: none;
    opacity: 0.4;
    margin-left: 16px;
    transition: opacity 0.2s;
}

.edit-link:hover { opacity: 1; }