/* ==========================================================================
   ActuFutur — Style Page Article
   ========================================================================== */

/* Header compact */
.masthead-compact {
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--rule-gray);
}

.masthead-compact .masthead-title {
    font-size: 2rem;
}

.masthead-link {
    text-decoration: none;
}

/* Fil d'Ariane */
.breadcrumb {
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem 2rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.05em;
}

.breadcrumb a {
    color: var(--voix-factuel);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--accent-copper);
}

.breadcrumb .separator {
    margin: 0 0.5rem;
    color: var(--rule-gray);
}

.breadcrumb .current {
    color: var(--ink-black);
}

/* Article complet */
.article-full {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.article-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--rule-gray);
}

.article-titre {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.15;
    margin: 1rem 0 1.5rem;
    color: var(--ink-black);
}

.article-chapeau {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--voix-factuel);
    margin: 0 0 1.5rem;
}

.article-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--voix-factuel);
}

.article-info .auteur {
    font-weight: 400;
}

.article-info .lecture {
    opacity: 0.7;
}

/* Indicateur de mise à jour */
.article-update-notice {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--paper-white) 0%, rgba(184, 115, 51, 0.08) 100%);
    border-left: 3px solid var(--accent-copper);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.03em;
    color: var(--voix-factuel);
}

.article-update-notice::before {
    content: '↻';
    font-size: 0.9rem;
    color: var(--accent-copper);
}

.article-update-notice time {
    font-weight: 500;
    color: var(--accent-copper);
}

/* Corps de l'article */
.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-body p {
    margin: 0 0 1.5rem;
    text-align: justify;
    hyphens: auto;
}

.article-body .premier-paragraphe {
    font-size: 1.15rem;
}

.article-body h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    margin: 3rem 0 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--rule-gray);
    color: var(--ink-black);
}

.article-body h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
}

/* Blockquote */
.article-body blockquote {
    margin: 2.5rem 0;
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, var(--paper-white) 0%, var(--paper-cream) 100%);
    border-left: 4px solid var(--accent-gold);
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--voix-factuel);
    position: relative;
}

.article-body blockquote::before {
    content: '"';
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    font-size: 4rem;
    color: var(--accent-gold);
    opacity: 0.3;
    font-family: var(--font-display);
    line-height: 1;
}

.article-body blockquote cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.85rem;
    font-style: normal;
    font-family: var(--font-mono);
    letter-spacing: 0.05em;
    color: var(--voix-nostalgique);
}

/* Encadré statistique */
.encadre-stat {
    float: right;
    width: 280px;
    margin: 0 0 1.5rem 2rem;
    padding: 1.5rem;
    background: var(--ink-black);
    color: var(--paper-cream);
}

.encadre-stat h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    margin: 0 0 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    color: var(--accent-gold);
}

.encadre-stat ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.encadre-stat li {
    font-size: 0.85rem;
    padding: 0.4rem 0;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
}

.encadre-stat li:last-child {
    border-bottom: none;
}

.encadre-stat strong {
    color: var(--accent-gold);
    font-weight: 400;
}

/* Footer article */
.article-footer-full {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 3px double var(--ink-black);
}

.source-box {
    background: var(--paper-white);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--rule-gray);
}

.source-box h4 {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 0.75rem;
    color: var(--voix-factuel);
}

.source-box p {
    font-size: 0.9rem;
    margin: 0;
    color: var(--voix-factuel);
    line-height: 1.6;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    padding: 0.3rem 0.8rem;
    background: var(--paper-white);
    border: 1px solid var(--rule-gray);
    color: var(--voix-factuel);
    transition: all 0.2s ease;
    cursor: pointer;
}

.tag:hover {
    border-color: var(--accent-copper);
    color: var(--accent-copper);
}

.share-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--voix-factuel);
}

.share-label {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.8;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: var(--ink-black);
    color: var(--paper-cream);
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.share-btn svg {
    width: 18px;
    height: 18px;
}

/* Couleurs spécifiques par plateforme */
.share-btn.share-twitter:hover {
    background: #000000;
    border-color: #333;
}

.share-btn.share-facebook:hover {
    background: #1877f2;
}

.share-btn.share-linkedin:hover {
    background: #0a66c2;
}

.share-btn.share-whatsapp:hover {
    background: #25d366;
}

.share-btn.share-email:hover {
    background: var(--accent-copper);
}

.share-btn.share-copy:hover {
    background: var(--accent-gold);
    color: var(--ink-black);
}

/* Notification de copie */
.copy-notification {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--ink-black);
    color: var(--paper-cream);
    padding: 1rem 2rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    border-left: 3px solid var(--accent-gold);
}

.copy-notification.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.copy-notification.error {
    border-left-color: var(--voix-provocateur);
}

/* Articles liés */
.articles-lies {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--rule-gray);
}

.articles-lies h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    text-align: center;
    margin: 0 0 2rem;
    letter-spacing: 0.05em;
}

.lies-grille {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.lie-item {
    padding: 1.25rem;
    background: var(--paper-white);
    border: 1px solid var(--rule-gray);
    transition: all 0.3s ease;
    cursor: pointer;
}

.lie-item:hover {
    border-color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.lie-item time {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--accent-copper);
    letter-spacing: 0.05em;
}

.lie-item h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0.5rem 0 0;
    color: var(--ink-black);
}

/* Responsive */
@media (max-width: 768px) {
    .article-full {
        padding: 1rem;
    }
    
    .article-titre {
        font-size: 2rem;
    }
    
    .article-chapeau {
        font-size: 1.1rem;
    }
    
    .article-body {
        font-size: 1rem;
    }
    
    .encadre-stat {
        float: none;
        width: 100%;
        margin: 2rem 0;
    }
    
    .lies-grille {
        grid-template-columns: 1fr;
    }
    
    .article-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}
