    :root { 
        --primary: #007bff; 
        --glass: rgba(255, 255, 255, 0.03);
        --glass-border: rgba(255, 255, 255, 0.08);
        --bg-dark: #080b10;
    }
    
    body { 
        background: var(--bg-dark) !important; 
        color: #fff !important; 
        font-family: 'Inter', sans-serif;
    }

    /* --- EFFET CURSEUR --- */
    /* html, body, a, button, .page-link, input { cursor: none !important; } */
    .cursor-dot, .cursor-outline {
        z-index: 9999 !important; pointer-events: none; position: fixed; border-radius: 50%; transform: translate(-50%, -50%);
    }
    .cursor-dot { width: 8px; height: 8px; background-color: var(--primary); }
    .cursor-outline { width: 30px; height: 30px; border: 2px solid var(--primary); transition: width 0.3s, height 0.3s; }

    /* --- STRUCTURE BENTO GRID --- */
    .bento-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .bento-item {
        background: var(--glass);
        backdrop-filter: blur(10px);
        border: 1px solid var(--glass-border);
        border-radius: 24px;
        overflow: hidden;
        transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .bento-item:hover {
        transform: translateY(-5px);
        border-color: rgba(0, 123, 255, 0.3);
        background: rgba(255, 255, 255, 0.05);
        box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    }

    /* Article Star (Prend 2 colonnes) */
    .bento-featured {
        grid-column: span 2;
        flex-direction: row;
    }

    .bento-featured .img-container { width: 50%; height: 100%; }
    .bento-featured .card-body { width: 50%; display: flex; flex-direction: column; justify-content: center; }

    /* Articles normaux */
    .img-container { height: 200px; overflow: hidden; position: relative; }
    .blog-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; opacity: 0.8; }
    .bento-item:hover .blog-img { transform: scale(1.05); opacity: 1; }

    .card-body { padding: 24px; }
    .badge-cat {
        background: rgba(0, 123, 255, 0.15);
        color: var(--primary);
        font-weight: 600;
        font-size: 0.75rem;
        padding: 6px 12px;
        border-radius: 10px;
        width: fit-content;
    }

    /* --- PAGINATION --- */
    .pagination .page-link {
        background: var(--glass);
        border: 1px solid var(--glass-border);
        color: #fff;
        margin: 0 5px;
        border-radius: 12px;
        transition: 0.3s;
        padding: 10px 18px;
    }
    .pagination .page-link:hover, .pagination .active .page-link {
        background: var(--primary);
        border-color: var(--primary);
        color: #fff;
    }
    .pagination .disabled .page-link {
        opacity: 0.2;
        color: rgba(255,255,255,0.5);
    }

    /* Responsive */
    @media (max-width: 992px) {
        .bento-grid { grid-template-columns: repeat(2, 1fr); }
        .bento-featured { grid-column: span 2; }
    }
    @media (max-width: 768px) {
        .bento-grid { grid-template-columns: 1fr; }
        .bento-featured { grid-column: span 1; flex-direction: column; }
        .bento-featured .img-container, .bento-featured .card-body { width: 100%; }
    }
    .search-input {
    border-radius: 16px 0 0 16px; 
    background: rgba(255,255,255,0.03) !important; 
    border: 1px solid var(--glass-border) !important;
}


/* --- TAILLE DU LOGO DANS LA NAVBAR --- */
.nav-logo {
    height: 40px; /* C'est la hauteur standard idéale pour une barre de navigation */
    width: auto;   /* Permet de garder les proportions de votre logo sans le déformer */
    max-width: 100%; /* Évite que l'image ne dépasse sur les petits écrans de téléphone */
    object-fit: contain; /* S'assure que l'image s'intègre parfaitement dans son cadre */
}

/* Ajustement pour les petits écrans (Smartphones) */
@media (max-width: 768px) {
    .nav-logo {
        height: 32px; /* Un tout petit peu plus petit sur mobile pour gagner de la place */
    }
}

/* --- FIXE POUR LA NAVBAR FLOTTANTE --- */
.glass-nav {
    background: rgba(8, 11, 16, 0.95) !important; /* Fond très sombre (la couleur de votre site) presque opaque */
    backdrop-filter: blur(10px); /* Flou artistique pour un effet premium */
    border-bottom: 1px solid var(--glass-border);
}

/* On ajoute une marge externe en haut du site pour que la barre fixe ne cache pas le titre */
main.container {
    margin-top: 100px !important;
}

/* --- FIL D'ARIANE COLLÉ SOUS LA NAVBAR --- */
.sticky-breadcrumb {
    position: -webkit-sticky; /* Pour la compatibilité Safari */
    position: sticky;
    top: 75px; /* S'ajuste pile sous la barre de navigation principale */
    z-index: 1010; /* Doit être au-dessus du reste du contenu mais sous le menu principal */
    background: rgba(8, 11, 16, 0.95); /* Fond identique à la navbar */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 30px; /* Espace pour séparer proprement le fil du titre de l'article */
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.3) !important; /* Couleur du séparateur '/' plus discrète */
}

/* On ajuste aussi légèrement la marge du haut du texte principal pour équilibrer */
main.container {
    margin-top: 10px !important; 
}


html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}


/* --- STYLES POUR LES RECTANGLES TECHNOLOGIES (un par un) --- */

.tech-rectangle { 
    background: var(--glass); 
    border: 1px solid var(--glass-border); 
    padding: 2.5rem; 
    border-radius: 30px; 
    margin-bottom: 2rem; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

/* Effet de survol : bordure colorée et léger décalage */
.tech-rectangle:hover { 
    border-color: var(--primary); 
    transform: translateX(12px);
    background: rgba(255, 255, 255, 0.05);
}

/* Conteneur de l'icône */
.tech-icon-box { 
    width: 85px; 
    height: 85px; 
    background: rgba(0, 123, 255, 0.1); 
    border: 1px solid rgba(0, 123, 255, 0.2);
    border-radius: 22px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 2.4rem; 
    color: var(--primary); 
    flex-shrink: 0;
    transition: 0.3s;
}

.tech-rectangle:hover .tech-icon-box {
    background: var(--primary);
    color: #fff;
    transform: rotate(-5deg) scale(1.1);
}

/* Titres et textes à l'intérieur des rectangles */
.tech-rectangle h4 {
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 0.75rem;
}

.tech-rectangle p.small {
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-bottom: 0;
}

/* --- RESPONSIVE : EMPILAGE SUR MOBILE --- */
@media (max-width: 768px) {
    .tech-rectangle { 
        flex-direction: column; 
        text-align: center; 
        padding: 2rem; 
        gap: 1.5rem;
    }
    
    .tech-rectangle:hover {
        transform: translateY(-8px); /* Sur mobile on monte au lieu d'aller à droite */
    }

    .tech-icon-box {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
}