/* ══ LOGIMAAX TECHNOLOGIES — blog.css ══
   Blogue — Perspectives & Insights
   Extrait et optimisé depuis blog.html
   ══════════════════════════════════════════════════ */
:root {
            --primary-dark: #0a1929;
            --primary-blue: #1e3a5f;
            --accent-blue: #2196F3;
            --light-blue: #4FC3F7;
            --text-dark: #1a1a1a;
            --text-light: #666666;
            --bg-light: #f5f7fa;
            --bg-white: #ffffff;
            --border-light: #e0e6ed;
            --tag-bg: #e8f4fd;
            --tag-color: #1565C0;
        }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: 'Open Sans', sans-serif; color: var(--text-dark); background: var(--bg-white); line-height: 1.6; }
        h1, h2, h3, h4, h5 { font-family: 'Montserrat', sans-serif; font-weight: 600; line-height: 1.3; }

        /* ── HEADER ── */
        .header {
            position: fixed; top: 0; width: 100%;
            background: rgba(255,255,255,0.98);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid var(--border-light);
            z-index: 1000;
        }
        .header-container {
            max-width: 1400px; margin: 0 auto;
            padding: 1rem 3rem;
            display: flex; justify-content: space-between; align-items: center;
        }
        .logo { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
        .logo-icon {
            width: 42px; height: 42px;
            background: linear-gradient(135deg, var(--accent-blue), var(--light-blue));
            border-radius: 9px; display: flex; align-items: center;
            justify-content: center; font-weight: 700; color: white; font-size: 1.2rem;
        }
        .logo-text { font-size: 1.5rem; font-weight: 700; color: var(--primary-dark); font-family: 'Montserrat', sans-serif; }
        .nav-menu { display: flex; gap: 3rem; list-style: none; align-items: center; }
        .nav-menu a { color: var(--text-dark); text-decoration: none; font-weight: 500; font-size: .95rem; transition: color .3s; }
        .nav-menu a:hover, .nav-menu a.active { color: var(--accent-blue); }
        .lang-switcher { display: flex; gap: .3rem; margin-left: 2rem; padding-left: 2rem; border-left: 1px solid var(--border-light); }
        .lang-btn {
            padding: .35rem .85rem; border: 1px solid var(--border-light);
            background: transparent; cursor: pointer; font-weight: 600;
            font-size: .85rem; border-radius: 4px; color: var(--text-light);
            font-family: 'Montserrat', sans-serif; transition: all .3s;
        }
        .lang-btn.active { background: var(--accent-blue); color: white; border-color: var(--accent-blue); }

        /* ── HERO BLOG ── */
        .blog-hero {
            margin-top: 73px;
            height: 600px;
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            background:
                linear-gradient(to right, rgba(5,10,20,0.65), rgba(5,10,20,0.30)),
                url("../images/hero-blog_h35-01_flou.png") center center / cover no-repeat;
        }
        .blog-hero-inner {
            max-width: 1400px; margin: 0 auto;
            position: relative; z-index: 1;
        }
        .breadcrumb { display: flex; gap: .5rem; align-items: center; margin-bottom: 1.5rem; }
        .breadcrumb a { color: rgba(255,255,255,.6); text-decoration: none; font-size: .9rem; }
        .breadcrumb a:hover { color: var(--light-blue); }
        .breadcrumb span { color: rgba(255,255,255,.4); font-size: .9rem; }
        .blog-hero h1 { font-size: 3rem; color: white; margin-bottom: 1rem; }
        .blog-hero p { font-size: 1.15rem; color: rgba(255,255,255,.85); max-width: 600px; line-height: 1.8; }

        /* ── SEARCH + FILTER BAR ── */
        .filter-bar {
            background: white;
            border-bottom: 1px solid var(--border-light);
            position: sticky; top: 73px; z-index: 99;
            box-shadow: 0 2px 10px rgba(0,0,0,.06);
        }
        .filter-bar-inner {
            max-width: 1400px; margin: 0 auto;
            padding: .9rem 3rem;
            display: flex; justify-content: space-between; align-items: center; gap: 2rem;
        }
        .category-tabs { display: flex; gap: .5rem; flex-wrap: wrap; }
        .cat-tab {
            padding: .45rem 1.1rem; border: 1px solid var(--border-light);
            background: transparent; cursor: pointer; font-size: .85rem;
            font-weight: 600; border-radius: 20px; color: var(--text-light);
            font-family: 'Montserrat', sans-serif; transition: all .25s; white-space: nowrap;
        }
        .cat-tab:hover { border-color: var(--accent-blue); color: var(--accent-blue); }
        .cat-tab.active { background: var(--accent-blue); color: white; border-color: var(--accent-blue); }
        .search-box { display: flex; align-items: center; gap: .5rem; }
        .search-input {
            padding: .5rem 1rem; border: 1px solid var(--border-light);
            border-radius: 20px; font-size: .9rem; width: 240px;
            font-family: 'Open Sans', sans-serif; outline: none; transition: border .3s;
        }
        .search-input:focus { border-color: var(--accent-blue); }
        .search-btn {
            padding: .5rem 1.2rem; background: var(--accent-blue);
            border: none; border-radius: 20px; color: white;
            cursor: pointer; font-size: .85rem; font-weight: 600;
            font-family: 'Montserrat', sans-serif; transition: background .3s;
        }
        .search-btn:hover { background: #1976D2; }

        /* ── FEATURED ARTICLE ── */
        .featured-section {
            background: var(--bg-light); padding: 4rem 3rem 0;
        }
        .featured-inner { max-width: 1400px; margin: 0 auto; }
        .section-label {
            font-size: .8rem; font-weight: 700; letter-spacing: 2px;
            text-transform: uppercase; color: var(--accent-blue);
            margin-bottom: 1.2rem;
        }
        .featured-card {
            display: grid; grid-template-columns: 1.4fr 1fr;
            gap: 0; border-radius: 16px; overflow: hidden;
            border: 1px solid var(--border-light);
            background: white; margin-bottom: 3rem;
            transition: box-shadow .3s;
        }
        .featured-card:hover { box-shadow: 0 20px 50px rgba(0,0,0,.12); }
        .featured-image {
            background: linear-gradient(135deg, #0a1929 0%, #1e3a5f 60%, #2196F3 100%);
            min-height: 400px; position: relative; overflow: hidden;
            display: flex; align-items: flex-end;
        }
        .featured-image-overlay {
            position: absolute; inset: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 500"><defs><pattern id="p" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1.5" fill="rgba(255,255,255,0.07)"/></pattern></defs><rect width="800" height="500" fill="url(%23p)"/></svg>');
        }
        .featured-category-badge {
            position: absolute; top: 1.5rem; left: 1.5rem;
            background: var(--accent-blue); color: white;
            padding: .4rem 1rem; border-radius: 20px;
            font-size: .8rem; font-weight: 700;
            font-family: 'Montserrat', sans-serif; letter-spacing: .5px;
        }
        .featured-icon {
            position: absolute; inset: 0;
            display: flex; align-items: center; justify-content: center;
            font-size: 8rem; opacity: .15;
        }
        .featured-content { padding: 3rem; display: flex; flex-direction: column; justify-content: center; }
        .featured-meta { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
        .meta-date { font-size: .85rem; color: var(--text-light); }
        .meta-read { font-size: .85rem; color: var(--text-light); }
        .featured-content h2 { font-size: 2rem; color: var(--primary-dark); margin-bottom: 1rem; line-height: 1.3; }
        .featured-content p { color: var(--text-light); line-height: 1.85; font-size: 1rem; margin-bottom: 1.5rem; }
        .article-tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
        .tag {
            padding: .3rem .8rem; background: var(--tag-bg);
            color: var(--tag-color); border-radius: 20px;
            font-size: .8rem; font-weight: 600;
        }
        .read-more {
            display: inline-flex; align-items: center; gap: .5rem;
            color: var(--accent-blue); text-decoration: none;
            font-weight: 700; font-size: .95rem;
            font-family: 'Montserrat', sans-serif; transition: gap .3s;
        }
        .read-more:hover { gap: .9rem; }
        .read-more .arrow { transition: transform .3s; }
        .read-more:hover .arrow { transform: translateX(4px); }

        /* ── ARTICLES GRID ── */
        .articles-section { padding: 3rem 3rem 5rem; background: var(--bg-light); }
        .articles-inner { max-width: 1400px; margin: 0 auto; }
        .articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

        .article-card {
            background: white; border-radius: 14px;
            border: 1px solid var(--border-light);
            overflow: hidden; transition: all .35s ease;
            display: flex; flex-direction: column;
        }
        .article-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.1); border-color: #b8d4f0; }
        .article-thumb {
            height: 190px; position: relative; overflow: hidden;
            display: flex; align-items: center; justify-content: center;
        }
        .thumb-1 { background: linear-gradient(135deg, #0a1929, #1e3a5f); }
        .thumb-2 { background: linear-gradient(135deg, #1e3a5f, #2196F3); }
        .thumb-3 { background: linear-gradient(135deg, #0d47a1, #42a5f5); }
        .thumb-4 { background: linear-gradient(135deg, #01579b, #0288d1); }
        .thumb-5 { background: linear-gradient(135deg, #006064, #00838f); }
        .thumb-6 { background: linear-gradient(135deg, #1a237e, #3949ab); }
        .thumb-icon { font-size: 4rem; opacity: .3; }
        .thumb-badge {
            position: absolute; top: 1rem; left: 1rem;
            background: rgba(255,255,255,.15); backdrop-filter: blur(6px);
            color: white; padding: .3rem .8rem; border-radius: 20px;
            font-size: .75rem; font-weight: 700; font-family: 'Montserrat', sans-serif;
            border: 1px solid rgba(255,255,255,.2);
        }
        .article-body { padding: 1.8rem; flex: 1; display: flex; flex-direction: column; }
        .article-meta { display: flex; gap: 1rem; margin-bottom: .8rem; }
        .article-meta span { font-size: .8rem; color: var(--text-light); }
        .article-card h3 { font-size: 1.15rem; color: var(--primary-dark); margin-bottom: .8rem; line-height: 1.4; }
        .article-card p { color: var(--text-light); font-size: .9rem; line-height: 1.75; margin-bottom: 1.2rem; flex: 1; }
        .article-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
        .article-tags-mini { display: flex; gap: .4rem; }
        .tag-mini { padding: .2rem .6rem; background: var(--tag-bg); color: var(--tag-color); border-radius: 20px; font-size: .75rem; font-weight: 600; }
        .card-read-more { color: var(--accent-blue); text-decoration: none; font-weight: 700; font-size: .85rem; font-family: 'Montserrat', sans-serif; }
        .card-read-more:hover { text-decoration: underline; }

        /* ── PAGINATION ── */
        .pagination { display: flex; justify-content: center; gap: .5rem; padding: 3rem 0 1rem; }
        .page-btn {
            width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
            border: 1px solid var(--border-light); background: white; cursor: pointer;
            border-radius: 8px; font-size: .9rem; font-weight: 600;
            font-family: 'Montserrat', sans-serif; color: var(--text-light); transition: all .25s;
        }
        .page-btn:hover { border-color: var(--accent-blue); color: var(--accent-blue); }
        .page-btn.active { background: var(--accent-blue); color: white; border-color: var(--accent-blue); }
        .page-btn.ellipsis { border: none; background: none; cursor: default; }

        /* ── NEWSLETTER CTA ── */
        .newsletter-section {
            padding: 5rem 3rem;
            background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
            position: relative; overflow: hidden;
        }
        .newsletter-section::before {
            content: ''; position: absolute; inset: 0;
            background: radial-gradient(circle at 30% 50%, rgba(33,150,243,.15) 0%, transparent 55%);
        }
        .newsletter-inner { max-width: 700px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
        .newsletter-inner h2 { font-size: 2.2rem; color: white; margin-bottom: 1rem; }
        .newsletter-inner p { color: rgba(255,255,255,.85); margin-bottom: 2rem; font-size: 1.05rem; }
        .nl-form { display: flex; gap: .7rem; max-width: 480px; margin: 0 auto; }
        .nl-input {
            flex: 1; padding: .9rem 1.3rem; border: 1px solid rgba(255,255,255,.25);
            background: rgba(255,255,255,.08); border-radius: 8px; color: white;
            font-family: 'Open Sans', sans-serif; font-size: .95rem; outline: none;
        }
        .nl-input::placeholder { color: rgba(255,255,255,.5); }
        .nl-input:focus { border-color: var(--accent-blue); }
        .nl-btn {
            padding: .9rem 1.8rem; background: var(--accent-blue); border: none;
            border-radius: 8px; color: white; font-weight: 700; cursor: pointer;
            font-family: 'Montserrat', sans-serif; font-size: .9rem; white-space: nowrap;
            transition: background .3s;
        }
        .nl-btn:hover { background: #1976D2; }

        /* ── FOOTER ── */
        .footer { background: var(--primary-dark); color: white; padding: 3rem 3rem 2rem; }
        .footer-inner { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
        .footer-logo { font-size: 1.4rem; font-weight: 700; font-family: 'Montserrat', sans-serif; }
        .footer-links { display: flex; gap: 2rem; }
        .footer-links a { color: rgba(255,255,255,.6); text-decoration: none; font-size: .9rem; transition: color .3s; }
        .footer-links a:hover { color: var(--accent-blue); }
        .footer-copy { color: rgba(255,255,255,.4); font-size: .85rem; margin-top: 1.5rem; text-align: center; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08); }

        /* ── LANGUAGE TOGGLE ── */
        
/* ══ FOOTER STANDARD ══ */
.footer-logo-img { display: block; margin-bottom: 1rem; }
.footer-main {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem; margin-bottom: 3rem; padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand p { color: rgba(255,255,255,.7); line-height: 1.8; font-size: .9rem; }
.footer-section h4 { font-size: 1.1rem; margin-bottom: 1.5rem; }
.footer-links-list { list-style: none; }
.footer-links-list li { margin-bottom: .8rem; }
.footer-links-list a { color: rgba(255,255,255,.7); text-decoration: none; font-size: .9rem; }
.footer-links-list a:hover { color: var(--accent-blue); }
.footer-section .newsletter-form { display: flex; gap: .5rem; margin-top: 1rem; }
.footer-section .newsletter-input {
    flex: 1; padding: .9rem 1.2rem;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.05); border-radius: 6px; color: white;
    font-family: 'Open Sans', sans-serif;
}
.footer-section .newsletter-btn {
    padding: .9rem 1.5rem; background: var(--accent-blue);
    border: none; border-radius: 6px; color: white; font-weight: 600; cursor: pointer;
}
.footer-bottom-bar {
    display: flex; align-items: center; padding-top: 2rem;
    color: rgba(255,255,255,.5); font-size: .85rem;
}
.nl-confirm { color: var(--light-blue); font-size: .85rem; margin: .5rem 0 0; }
.nl-confirm-blog { color: var(--light-blue); font-size: 1rem; text-align: center; margin: .5rem 0 0; }

/* ══ BANNIÈRE COOKIES ══ */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0;
    z-index: 9999;
    background: var(--primary-dark);
    border-top: 2px solid var(--accent-blue);
    padding: 1rem 1.5rem;
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; flex-wrap: wrap;
    transform: translateY(100%);
    transition: transform 0.35s ease;
    visibility: hidden;
}
#cookie-banner.visible { transform: translateY(0); visibility: visible; }
.cookie-text {
    flex: 1; font-family: 'Open Sans', sans-serif;
    font-size: .85rem; color: rgba(255,255,255,.75); line-height: 1.55;
}
.cookie-text a { color: var(--light-blue); text-decoration: underline; }
.cookie-actions { display: flex; gap: .6rem; flex-shrink: 0; }
#cookie-accept, #cookie-refuse {
    font-family: 'Montserrat', sans-serif; font-size: .82rem; font-weight: 600;
    padding: .5rem 1.1rem; border-radius: 4px; border: none; cursor: pointer; transition: opacity .2s;
}
#cookie-accept { background: var(--accent-blue); color: #fff; }
#cookie-refuse { background: transparent; color: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.2); }
#cookie-accept:hover { opacity: .85; }
#cookie-refuse:hover { opacity: .75; }
@media (max-width: 600px) { #cookie-banner { flex-direction: column; align-items: flex-start; } }

.lang-content { display: none; }
        .lang-content.active { display: block; }
        .lang-inline { display: none; }
        .lang-inline.active { display: inline; }
        .lang-flex { display: none; }
        .lang-flex.active { display: flex; }
.section-label.lang-inline.active { display: inline-block; }
.cat-tab .lang-inline.active      { display: inline; }
.nl-btn.lang-inline.active        { display: inline-block; }
.footer-section .lang-content.active { display: block; }


        /* ── ANIMATIONS ── */
        @keyframes fadeIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
        .article-card { animation: fadeIn .5s ease both; }
        .article-card:nth-child(1) { animation-delay: .05s; }
        .article-card:nth-child(2) { animation-delay: .1s; }
        .article-card:nth-child(3) { animation-delay: .15s; }
        .article-card:nth-child(4) { animation-delay: .2s; }
        .article-card:nth-child(5) { animation-delay: .25s; }
        .article-card:nth-child(6) { animation-delay: .3s; }

        /* ── RESPONSIVE ── */
        @media (max-width: 900px) {
            .nav-menu { display: none; }
            .header-container, .blog-hero, .filter-bar-inner, .featured-section,
            .articles-section, .newsletter-section, .footer { padding-left: 1.5rem; padding-right: 1.5rem; }
            .featured-card { grid-template-columns: 1fr; }
            .featured-image { min-height: 220px; }
            .articles-grid { grid-template-columns: 1fr; }
            .blog-hero h1 { font-size: 2rem; }
            .filter-bar-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
            .nl-form { flex-direction: column; }
            .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
        }
        @media (min-width: 901px) and (max-width: 1200px) {
            .articles-grid { grid-template-columns: repeat(2, 1fr); }
        }
