:root {
    --green:        #00e676;
    --green-dark:   #00c853;
    --green-dim:    rgba(0,230,118,0.12);
    --green-glow:   rgba(0,230,118,0.3);
    --border-green: rgba(0,230,118,0.28);
    --bg:           #060910;
    --surface:      rgba(255,255,255,0.04);
    --surface-hover:rgba(255,255,255,0.08);
    --border:       rgba(255,255,255,0.08);
    --text:         #e8edf2;
    --text-muted:   #8a9bb0;
    --radius:       16px;
    --radius-sm:    10px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font-family: 'Poppins', sans-serif; overflow-x: hidden; line-height: 1.6; }
a { text-decoration: none; color: inherit; }

.btn-primary {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 12px 28px; background: var(--green); color: #060910;
    font-weight: 700; font-size: 0.9rem; border-radius: 50px;
    transition: all 0.25s; box-shadow: 0 0 20px var(--green-glow);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn-primary-sm {
    display: inline-flex; align-items: center;
    padding: 10px 20px; background: var(--green); color: #060910;
    font-weight: 700; font-size: 0.84rem; border-radius: 50px;
    transition: all 0.25s; box-shadow: 0 0 14px var(--green-glow);
}
.btn-primary-sm:hover { background: var(--green-dark); }

/* ===== HERO ===== */
.article-hero {
    position: relative;
    padding: 100px 24px 56px;
    background: linear-gradient(180deg, rgba(0,230,118,0.04) 0%, transparent 100%);
    border-bottom: 1px solid var(--border);
}
.article-hero::before {
    content: ''; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(0,230,118,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(0,230,118,0.025) 1px, transparent 1px);
    background-size: 60px 60px; pointer-events: none;
}
.article-hero-inner { position: relative; max-width: 780px; margin: 0 auto; }

.back-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.84rem; color: var(--text-muted);
    margin-bottom: 24px; transition: color 0.2s;
}
.back-link:hover { color: var(--green); }

.article-meta-top {
    display: flex; align-items: center; gap: 16px;
    flex-wrap: wrap; margin-bottom: 20px;
}
.article-tag-hero {
    padding: 4px 14px; border-radius: 50px;
    font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
}
.article-date, .article-read { font-size: 0.82rem; color: var(--text-muted); }

.article-hero-inner h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 900; color: #fff; line-height: 1.2; margin-bottom: 16px;
}
.article-resume {
    font-size: 1.05rem; color: var(--text-muted);
    line-height: 1.7; margin-bottom: 28px;
}
.article-author {
    display: flex; align-items: center; gap: 12px;
}
.author-avatar {
    width: 42px; height: 42px;
    background: var(--green); color: #060910;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 1.1rem;
    flex-shrink: 0;
}
.article-author strong { display: block; font-size: 0.9rem; color: #fff; }
.article-author span   { font-size: 0.8rem; color: var(--text-muted); }

/* ===== LAYOUT ===== */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 56px 24px 80px;
    align-items: start;
}

/* ===== CORPS ARTICLE ===== */
.article-body {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-muted);
}
.article-body p {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.85;
    color: #c8d4e0;
}
.article-body h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem; font-weight: 800; color: #fff;
    margin: 40px 0 14px; padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}
.article-body h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem; font-weight: 700; color: #fff;
    margin: 28px 0 10px;
}
.article-body ul, .article-body ol {
    margin: 16px 0 20px 20px; display: flex; flex-direction: column; gap: 8px;
}
.article-body li { font-size: 0.96rem; color: #c8d4e0; line-height: 1.6; }
.article-body strong { color: var(--text); font-weight: 600; }
.article-body em { color: var(--text-muted); font-style: italic; }
.article-body code {
    background: rgba(0,230,118,0.1); border: 1px solid rgba(0,230,118,0.2);
    color: var(--green); padding: 2px 8px; border-radius: 6px;
    font-family: 'Courier New', monospace; font-size: 0.9rem;
}

/* CTA block dans l'article */
.article-cta-block {
    margin: 40px 0 0;
    padding: 28px 32px;
    background: rgba(0,230,118,0.06);
    border: 1px solid var(--border-green);
    border-radius: var(--radius);
}
.article-cta-block h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem; font-weight: 800; color: #fff; margin-bottom: 8px;
    border: none; margin-top: 0; padding: 0;
}
.article-cta-block p {
    font-size: 0.9rem; color: var(--text-muted); margin-bottom: 16px;
}

/* ===== SIDEBAR ===== */
.article-sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 22px 20px;
}
.sidebar-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 14px;
}
.sidebar-cta { background: rgba(0,230,118,0.05); border-color: var(--border-green); }
.sidebar-cta p { font-size: 0.86rem; color: var(--text-muted); margin-bottom: 14px; }

/* Boutons partage */
.share-buttons { display: flex; flex-direction: column; gap: 8px; }
.share-btn {
    padding: 9px 16px; border-radius: var(--radius-sm);
    font-size: 0.84rem; font-weight: 600; text-align: center;
    border: 1px solid var(--border); color: var(--text-muted);
    transition: all 0.2s;
}
.share-btn:hover { color: #fff; }
.share-fb:hover { background: rgba(24,119,242,0.2); border-color: rgba(24,119,242,0.4); }
.share-li:hover { background: rgba(0,119,181,0.2); border-color: rgba(0,119,181,0.4); }
.share-wa:hover { background: rgba(37,211,102,0.2); border-color: rgba(37,211,102,0.4); }

/* Autres articles sidebar */
.sidebar-articles { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.sidebar-articles li a {
    display: flex; flex-direction: column; gap: 2px;
    font-size: 0.84rem; color: var(--text-muted); transition: color 0.2s; line-height: 1.4;
}
.sidebar-articles li a:hover { color: var(--text); }
.sidebar-article-tag { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }

/* ===== NAVIGATION PREV/NEXT ===== */
.article-nav {
    display: flex; justify-content: space-between; gap: 20px;
    max-width: 1100px; margin: 0 auto;
    padding: 0 24px 80px; flex-wrap: wrap;
}
.article-nav-btn {
    display: flex; flex-direction: column; gap: 4px;
    padding: 20px 24px; background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--radius);
    max-width: 420px; flex: 1; transition: all 0.25s;
}
.article-nav-btn:hover { border-color: var(--border-green); background: var(--surface-hover); }
.article-nav-right { text-align: right; }
.nav-dir { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.nav-title { font-size: 0.92rem; font-weight: 600; color: var(--text); line-height: 1.4; }

/* ===== FOOTER ===== */
.footer-futuriste { background: #03050a; border-top: 1px solid var(--border); padding: 64px 24px 32px; color: var(--text); }
.footer-futuriste .container { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--border); margin-bottom: 32px; }
.footer-brand .footer-logo { font-family: 'Montserrat', sans-serif; font-size: 1.4rem; font-weight: 900; color: var(--green); letter-spacing: 1px; display: block; margin-bottom: 12px; }
.footer-brand p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; max-width: 240px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: all 0.2s; color: var(--text-muted); }
.footer-social a:hover { border-color: var(--border-green); background: var(--green-dim); color: var(--green); }
.footer-col h5 { font-family: 'Montserrat', sans-serif; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 0.9rem; color: var(--text-muted); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--green); }
.footer-newsletter p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 14px; }
.newsletter-form { display: flex; flex-direction: column; gap: 10px; }
.newsletter-form input { padding: 11px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text); font-size: 0.88rem; font-family: 'Poppins', sans-serif; outline: none; transition: border-color 0.2s; }
.newsletter-form input:focus { border-color: var(--border-green); }
.newsletter-form input::placeholder { color: var(--text-muted); }
.newsletter-form button { padding: 11px; background: var(--green); color: #060910; border: none; border-radius: var(--radius-sm); font-size: 0.88rem; font-weight: 700; cursor: pointer; font-family: 'Poppins', sans-serif; }
.newsletter-form button:hover { background: var(--green-dark); }
.footer-bottom { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; font-size: 0.82rem; color: var(--text-muted); flex-wrap: wrap; gap: 12px; }
.footer-bottom a { color: var(--text-muted); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--green); }
.footer-bottom-links { display: flex; align-items: center; gap: 10px; }
.footer-bottom-links .sep { color: var(--border); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .article-layout { grid-template-columns: 1fr; gap: 32px; }
    .article-sidebar { order: -1; }
    .share-buttons { flex-direction: row; flex-wrap: wrap; }
    .share-btn { flex: 1; }
    .footer-futuriste .container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .article-hero { padding: 90px 16px 40px; }
    .article-layout { padding: 32px 16px 48px; }
    .article-nav { padding: 0 16px 48px; flex-direction: column; }
    .article-nav-btn { max-width: 100%; }
    .article-nav-right { text-align: left; }
    .footer-futuriste .container { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}