:root {
    --bg-primary: #0a0c12;
    --bg-header: #080b10;
    --bg-card: #0f1117;
    --bg-footer: #080b10;
    --text-primary: #eef2ff;
    --text-secondary: #b0c4de;
    --accent-primary: #00c3ff;
    --accent-secondary: #8b5cf6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', 'Fira Code', monospace;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 16px;
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* HEADER */
.header {
    background: var(--bg-header);
    border-bottom: 2px solid var(--accent-primary);
    padding: 32px 0;
    margin-bottom: 48px;
}

.logo h1 {
    font-size: 2.2rem;
    margin: 0;
}

.logo h1 a {
    text-decoration: none;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.logo p {
    color: var(--text-secondary);
    margin: 8px 0 0;
}

/* MENU */
.nav {
    margin-top: 20px;
}

.menu {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu li {
    margin: 0;
}

.menu a {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 195, 255, 0.1);
    border: 1px solid rgba(0, 195, 255, 0.3);
    border-radius: 30px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.menu a:hover {
    background: var(--accent-primary);
    color: #0a0c12;
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.menu li.active a {
    background: var(--accent-primary);
    color: #0a0c12;
    border-color: var(--accent-primary);
    box-shadow: 0 0 12px rgba(0, 195, 255, 0.4);
}

/* GRILLE ARTICLES */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

/* CARTES */
.article {
    background: var(--bg-card);
    border: 1px solid rgba(0, 195, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
}

.article:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px -10px rgba(0, 195, 255, 0.3);
    border-color: var(--accent-primary);
}

.article h2 {
    margin: 0 0 12px 0;
    font-size: 1.3rem;
    line-height: 1.4;
}

.article h2 a {
    text-decoration: none;
    color: #fff;
    transition: color 0.2s;
}

.article h2 a:hover {
    color: var(--accent-primary);
}

.art-date {
    color: var(--accent-primary);
    font-size: 0.75rem;
    font-family: monospace;
    margin-bottom: 12px;
}

.art-chapo {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
}

.art-chapo img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 12px;
}

.read-more {
    display: none !important;
}

/* PAGINATION */
.pagination {
    text-align: center;
    margin: 48px 0;
}

.pagination a, .pagination span {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 4px;
    background: #0f1117;
    border: 1px solid rgba(0, 195, 255, 0.3);
    color: #eef2ff;
    text-decoration: none;
    border-radius: 8px;
}

.pagination a:hover {
    background: var(--accent-primary);
    color: #0a0c12;
}

.pagination .p_current {
    background: var(--accent-secondary);
    color: #0a0c12;
}

/* FOOTER */
.footer {
    background: var(--bg-footer);
    border-top: 1px solid rgba(0, 195, 255, 0.3);
    padding: 48px 0 24px;
    margin-top: 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--accent-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
    border-left: 3px solid var(--accent-primary);
    padding-left: 12px;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 10px;
}

.footer-list li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-list li a:hover {
    color: var(--accent-primary);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag a {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 195, 255, 0.1);
    border: 1px solid rgba(0, 195, 255, 0.2);
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 0.75rem;
    text-decoration: none;
    transition: all 0.2s;
}

.tag a:hover {
    background: var(--accent-primary);
    color: #0a0c12;
    border-color: var(--accent-primary);
}

.footer-copyright {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 195, 255, 0.2);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.footer-copyright a {
    color: var(--accent-primary);
    text-decoration: none;
}

/* SCROLLBAR */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
    border-left: 1px solid rgba(0, 195, 255, 0.2);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--accent-primary) var(--bg-primary);
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .articles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 800px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 500px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
    .logo h1 {
        font-size: 1.6rem;
    }
    .menu {
        justify-content: center;
    }
}
/* Images d'accroche redimensionnées */
.article-thumbnail {
    margin: 0 0 15px 0;
    overflow: hidden;
    border-radius: 12px;
}

.article-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.article:hover .article-img {
    transform: scale(1.03);
}
/* Bannière responsive */
.header-banner {
    margin: 20px 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 195, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 195, 255, 0.2);
}

/* Bannière responsive - taille lisible */
.header-banner {
    margin: 20px 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 195, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 195, 255, 0.2);
    max-height: 180px;
}

.header-banner img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: center 40%;
    display: block;
    transition: transform 0.3s ease;
}

.header-banner:hover img {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .header-banner {
        margin: 15px 0;
        border-radius: 12px;
        max-height: 120px;
    }
    
    .header-banner img {
        height: 120px;
    }
}
/* PAGE À PROPOS */
.about-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.about-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--accent-primary);
}

.about-header h1 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 10px;
}

.about-tagline {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.about-section {
    background: var(--bg-card);
    border: 1px solid rgba(0, 195, 255, 0.2);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.about-section:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 5px 20px rgba(0, 195, 255, 0.1);
}

.about-section h2 {
    color: var(--accent-primary);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.about-list {
    list-style: none;
    padding-left: 0;
}

.about-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 195, 255, 0.1);
}

.about-list li:last-child {
    border-bottom: none;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(0, 195, 255, 0.1);
    border: 1px solid rgba(0, 195, 255, 0.3);
    border-radius: 30px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s;
}

.social-link:hover {
    background: var(--accent-primary);
    color: #0a0c12;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .about-header h1 {
        font-size: 1.8rem;
    }
    
    .about-section {
        padding: 20px;
    }
    
    .social-links {
        justify-content: center;
    }
}