/******************HEADER****************/

nav a {
    display: inline-block; /* OBLIGATOIRE pour ::after */
    position: relative;
    color: var(--text-muted);
    margin-left: 20px;
    text-decoration: none;
}


nav a:hover {
    color: var(--accent);
}



nav a.active {
    color: var(--accent) !important;
    text-shadow:
        0 0 6px rgba(31,139,255,0.9),
        0 0 14px rgba(31,139,255,0.8),
        0 0 24px rgba(31,139,255,0.6);
}


nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 3px;
    background: var(--accent);
    box-shadow:
        0 0 8px rgba(31,139,255,0.9),
        0 0 16px rgba(31,139,255,0.7);
}



/* Avatar header */

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 100px;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
}


.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand {
    transition: transform 0.25s ease;
    animation: avatarPop 0.6s ease-out;
}

.brand:hover {
    transform: scale(1.08) rotate(10deg);
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    animation: avatarPop 0.6s ease-out;
}

.avatar {
    transition: transform 0.25s ease;
}
.avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 0 12px rgba(0, 153, 255, 0.7);
}


@keyframes avatarPop {
    0% {
        transform: scale(0.2);
        opacity: 0;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

