:root {
    --deep-blue: #0a192f;
    --hydro-cyan: #0dcaf0;
}

body { font-family: 'Open Sans', sans-serif; background: #f8f9fa; }
h1 { font-family: 'Montserrat', sans-serif; }

/* Header spécifique Glossaire */
.glossaire-header {
    height: 35vh;
    background: linear-gradient(rgba(10, 25, 47, 0.9), rgba(10, 25, 47, 0.9)), 
                url('https://images.unsplash.com/photo-1451187530220-4c2a42d98716?auto=format&fit=crop&w=1600&q=80') center/cover;
}

.card-img-top{
    width: 75px;      /* Votre taille */
    height: 75px;
    border-radius: 50%; /* Transforme le carré de l'image en cercle */
    object-fit: cover;  /* S'assure que le logo est bien centré */
}


/* Style des items du glossaire */
.glossary-item {
    transition: all 0.3s ease;
    border-left-width: 8px !important; /* Accentue le trait bleu */
}

.glossary-item:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
}

.glossary-item strong {
    color: var(--deep-blue);
    font-size: 1.1rem;
    display: inline-block;
    margin-right: 5px;
}

/* Navigation & Footer (Cohérence site) */
.custom-nav {
    background: rgba(10, 25, 47, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

#dynamic-footer {
    position: fixed;
    bottom: -100px; /* Caché par défaut */
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(10, 25, 47, 0.98); /* Bleu très profond */
    backdrop-filter: blur(15px);
    border-top: 2px solid #0dcaf0; /* La ligne cyan du visuel */
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 2000;
}

.texte_footer {
    color: #f0f2f5;
}

/* Classe ajoutée par le JavaScript au scroll */
#dynamic-footer.visible {
    bottom: 0;
}

.f-link {
    color: white;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 0.6;
    transition: 0.3s;
}

.f-link:hover {
    opacity: 1;
    color: #0dcaf0;
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

/* --- RESPONSIVE GLOSSAIRE --- */
@media (max-width: 768px) {
    .glossaire-header {
        height: auto;
        padding: 120px 0 60px 0;
    }

    .display-3 {
        font-size: 2.2rem;
    }
    
    .glossary-item {
        padding: 1.5rem !important; /* Réduire un peu le padding */
    }
    
    .glossary-item strong {
        display: block; /* Mettre le terme au dessus de la définition */
        margin-bottom: 5px;
    }
}