body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: white;
    color: #333;
}

a { text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
    display: flex;
    gap: 20px;
    padding: 20px 5%;
    min-height: calc(100vh - 200px);
}

.col-left, .col-right { 
    width: 25%; 
    flex-shrink: 0;
}

.col-center { 
    width: 50%; 
    flex-shrink: 0;
}

.sidebar-box {
    background: #f9f9f9;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.article-item {
    margin-bottom: 25px;
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    gap: 15px;
}

.article-item img {
    width: 150px;
    height: 120px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 4px;
}

.category {
    color: #27ae60;
    font-weight: bold;
    font-size: 0.9em;
}

.title {
    color: #e74c3c;
    margin: 5px 0;
    font-size: 1.1em;
}

.excerpt {
    color: #555;
    line-height: 1.5;
    font-size: 0.95em;
}

.date {
    color: #999;
    font-size: 0.8em;
    margin-top: 5px;
}

h2, h3 {
    border-bottom: 2px solid;
    padding-bottom: 10px;
    margin-top: 30px;
    margin-bottom: 15px;
}

h2 { color: #27ae60; border-color: #27ae60; }
h3 { color: #e74c3c; border-color: #e74c3c; }

/* Pour empêcher le footer de monter */
footer {
    clear: both;
    position: relative;
    top: 0;
}

/* ===== PAGE ARTICLES - LAYOUT GÉNÉRAL ===== */
.articles-page-container {
    display: flex;
    gap: 30px;
    padding: 30px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.articles-main {
    flex: 3;
}

.page-title {
    color: #27ae60;
    text-align: center;
    border-bottom: 3px solid #e74c3c;
    padding-bottom: 15px;
    margin-bottom: 30px;
    font-size: 32px;
}

/* ===== GRILLE D'ARTICLES ===== */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.article-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.article-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-bottom: 3px solid #e74c3c;
}

.card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.category {
    background: #27ae60;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    width: fit-content;
    margin-bottom: 12px;
}

.title {
    color: #333;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 50px;
}

.excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.read-more {
    color: #e74c3c;
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
    font-size: 14px;
}

.read-more:hover {
    gap: 10px;
}

/* ===== SIDEBAR ===== */
.articles-sidebar {
    flex: 1;
    min-width: 350px;
}

.sidebar-box {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 25px;
}

.sidebar-box h3 {
    color: #e74c3c;
    border-bottom: 3px solid #e74c3c;
    padding-bottom: 12px;
    margin-bottom: 20px;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: bold;
}

/* ===== FIL D'ACTUALITÉ ===== */
.fil-actualite {
    min-height: 700px;
}

.actualite-item {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.actualite-item:last-of-type {
    border-bottom: none;
}

.actualite-time {
    color: #999;
    font-size: 12px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-live {
    color: #e74c3c;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.status-normal {
    color: #27ae60;
    font-weight: bold;
}

.actualite-text {
    color: #333;
    font-size: 14px;
    line-height: 1.7;
}

.actualite-text strong {
    color: #e74c3c;
}

.voir-plus {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid #f0f0f0;
}

.voir-plus-link {
    color: #27ae60;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: color 0.3s;
}

.voir-plus-link:hover {
    color: #229954;
}

/* ===== STATISTIQUES ===== */
.statistiques-box h3 {
    color: #27ae60;
    border-bottom-color: #27ae60;
}

.stats-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s;
    border-left: 4px solid transparent;
}

.stat-item:hover {
    background: #e9ecef;
    border-left-color: #27ae60;
    transform: translateX(5px);
}

.stat-icon {
    font-size: 32px;
    min-width: 40px;
    text-align: center;
}

.stat-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-label {
    color: #666;
    font-size: 13px;
}

.stat-value {
    color: #333;
    font-size: 20px;
    font-weight: bold;
}

.stat-green {
    color: #27ae60;
}

.stat-red {
    color: #e74c3c;
}

.derniere-maj {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid #f0f0f0;
}

.derniere-maj small {
    color: #999;
    font-size: 12px;
}

/* ===== MESSAGE AUCUN ARTICLE ===== */
.no-articles {
    text-align: center;
    color: #999;
    padding: 60px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.no-articles-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.no-articles h2 {
    color: #333;
    margin-bottom: 10px;
}

.no-articles p {
    color: #666;
    font-size: 16px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 968px) {
    .articles-page-container {
        flex-direction: column;
    }

    .articles-sidebar {
        min-width: 100%;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .page-title {
        font-size: 24px;
    }

    .articles-page-container {
        padding: 20px 3%;
    }

    .sidebar-box {
        padding: 20px;
    }

    .article-card img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .stat-item {
        padding: 12px;
    }

    .stat-icon {
        font-size: 24px;
        min-width: 30px;
    }

    .stat-value {
        font-size: 18px;
    }
}
.banniere {
    width: 100%;
    height: 300px;                    /* augmenter ici */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* =========================================================
   RESPONSIVE MOBILE UNIQUEMENT — DESKTOP INCHANGÉ
========================================================= */

/* Overlay mobile */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    z-index: 90;
}

.menu-overlay.show {
    display: block;
}

/* Close button (caché par défaut) */
.close-btn {
    display: none !important;
}

/* ===== TABLETTE (max 992px) ===== */
@media (max-width: 992px) {
    .header-banners-inline {
        order: 3 !important;
        width: 100% !important;
        margin-left: 0 !important;
    }

    .container {
        flex-direction: column !important;
    }

    .col-left, .col-center, .col-right {
        width: 100% !important;
    }
}

/* ===== MOBILE (max 768px) ===== */
@media (max-width: 768px) {
    
    /* === BURGER VISIBLE === */
    .burger-menu {
        display: block !important;
    }

    /* === LOGO RÉDUIT === */
    header img[alt="Isomo.com"] {
        height: 60px !important;
    }

    header span {
        font-size: 18px !important;
    }

    /* === BANNIÈRES EN COLONNE === */
    .header-banners-inline {
        flex-direction: column !important;
        width: 100% !important;
        order: 3 !important;
        margin-left: 0 !important;
        gap: 5px !important;
    }

    .header-banners-inline > div {
        width: 100% !important;
        height: 120px !important;
    }

    /* === RÉSEAUX SOCIAUX CENTRÉS === */
    .header-socials-inline {
        justify-content: center !important;
        width: 100% !important;
        order: 2 !important;
    }

    .header-socials-inline img {
        height: 25px !important;
    }

    /* === MENU POPUP LATÉRAL === */
    .main-nav-inline {
        position: fixed !important;
        top: 0 !important;
        right: -280px !important;
        width: 280px !important;
        height: 100vh !important;
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
        padding: 60px 0 0 0 !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        gap: 0 !important;
        transition: right 0.4s ease !important;
        z-index: 100 !important;
        box-shadow: -5px 0 15px rgba(0,0,0,0.3) !important;
    }

    .main-nav-inline.open {
        right: 0 !important;
    }

    .main-nav-inline a {
        padding: 18px 25px !important;
        font-size: 16px !important;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
        transition: background 0.3s !important;
        width: 100% !important;
        text-align: left !important;
    }

    .main-nav-inline a:hover {
        background: rgba(255,255,255,0.1) !important;
        text-decoration: none !important;
    }

    /* === BOUTON FERMER === */
    .close-btn {
        display: block !important;
        position: absolute !important;
        top: 15px !important;
        right: 20px !important;
        font-size: 28px !important;
        cursor: pointer !important;
        color: white !important;
        transition: transform 0.3s !important;
    }

    .close-btn:hover {
        transform: rotate(90deg) !important;
    }

    /* === CONTENU MOBILE === */
    .container {
        padding: 15px 3% !important;
        gap: 15px !important;
    }

    .article-item {
        flex-direction: column !important;
    }

    .article-item img {
        width: 100% !important;
        max-height: 200px !important;
        object-fit: cover !important;
    }

    .sidebar-box {
        padding: 15px !important;
    }
}

/* ===== TRÈS PETIT MOBILE (max 480px) ===== */
@media (max-width: 480px) {
    
    header img[alt="Isomo.com"] {
        height: 50px !important;
    }

    header span {
        font-size: 16px !important;
    }

    .header-banners-inline > div {
        height: 100px !important;
    }

    .featured-title {
        font-size: 22px !important;
    }

    .title {
        font-size: 16px !important;
    }

    .main-nav-inline {
        width: 260px !important;
        right: -260px !important;
    }
}