/* ---- Header ---- */
#uvci-header {
    height: var(--h-height);
    display: flex;
    align-items: center;
    transition:
        background 0.4s,
        backdrop-filter 0.4s,
        border-bottom 0.4s,
        box-shadow 0.4s;
    border-bottom: 1px solid transparent;
}
#uvci-header.scrolled {
    background: var(--h-bg-scroll) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--h-border-scroll);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

/* Structure en 3 parties du Header (Gauche, Centre, Droite) */
#uvci-header .inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Zone Gauche (Uniquement le Logo) */
.h-left-zone {
    display: flex;
    align-items: center;
    flex: 1; /* Prend 1 part de l'espace */
}

/* Zone Centrale (Navigation) */
.h-center-zone {
    flex: 2; /* Prend 2 parts de l'espace pour forcer le centrage */
    display: flex;
    justify-content: center;
}

/* Zone Droite (Avatar / Profil) */
.h-right {
    flex: 1; /* Prend 1 part de l'espace */
    display: flex;
    align-items: center;
    justify-content: flex-end; /* AlignÃ© Ã  l'extrÃªme droite */
    gap: 10px;
    flex-shrink: 0;
}

/* ---- Logo ---- */
.h-logo {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    flex-shrink: 0;
}
.h-logo img {
    height: 40px;
    width: auto;
}
.h-logo-text {
    font-family: "Syne", sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text);
    letter-spacing: 0.04em;
    line-height: 1.2;
}
.h-logo-text span {
    display: block;
    font-size: 0.58rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    color: var(--muted);
    text-transform: uppercase;
}

/* ---- Nav desktop ---- */
.h-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.h-nav > li > a,
.h-nav > li > .h-dtoggle {
    font-family: "DM Sans", sans-serif;
    font-size: 0.92rem;
    font-weight: 400;
    color: var(--muted);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 8px;
    transition:
        color 0.2s,
        background 0.2s;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    white-space: nowrap;
}

/* ---- LIVE BADGES (Application VR / SalutAuxCouleurs) ---- */
.h-live-badge {
    display: none;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid rgba(12, 228, 107, 0.65);
    background: linear-gradient(90deg, rgba(12, 228, 107, 0.22), rgba(24, 168, 85, 0.16));
    color: #eafff2;
    font-family: "Syne", sans-serif;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 1.1px;
    line-height: 1;
    box-shadow: 0 0 14px rgba(12, 228, 107, 0.22);
    vertical-align: middle;
}

.h-live-badge--icon {
    width: 18px;
    height: 18px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    gap: 0;
}

.h-live-badge--compact {
    padding: 2px 6px;
    gap: 4px;
    font-size: 0.54rem;
    letter-spacing: 0.8px;
}

.h-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0ce46b;
    box-shadow: 0 0 0 rgba(12, 228, 107, 0.65);
    animation: hLivePulse 1s ease-out infinite;
}

.h-live-badge--compact .h-live-dot {
    width: 6px;
    height: 6px;
}

@media (max-width: 1085px) {
    .h-live-badge--compact {
        font-size: 0.5rem;
        padding: 2px 5px;
        letter-spacing: 0.6px;
    }
}

@keyframes hLivePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(12, 228, 107, 0.6);
    }
    75% {
        box-shadow: 0 0 0 8px rgba(12, 228, 107, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(12, 228, 107, 0);
    }
}

.h-live-link-active {
    color: #ffffff !important;
}

.h-nav > li > a.h-live-link-active,
.h-nav > li > .h-dtoggle.h-live-link-active,
.h-dmenu a.h-live-link-active,
.h-sb-acc summary.h-live-link-active,
.h-sb-sub a.h-live-link-active {
    background: rgba(24, 168, 85, 0.16) !important;
    box-shadow: inset 0 0 0 1px rgba(12, 228, 107, 0.22);
}
.h-nav > li > a:hover,
.h-nav > li > .h-dtoggle:hover {
    color: var(--text);
    background: rgba(0, 0, 0, 0.05);
}
.h-nav > li > a.active,
.h-nav > li > .h-dtoggle.active {
    color: var(--text);
    font-weight: 500;
    background: rgba(0, 0, 0, 0.08); /* Pour que l'Ã©tat actif soit visible */
}

/* ---- NOUVEAU : LIEN CAMPUS VR DANS LA NAVIGATION ---- */
.h-nav > li > a.nav-campus-link {
    color: var(--uvci-green) !important;
    font-family: "Syne", sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    background: transparent !important; /* EmpÃªche le fond gris par dÃ©faut au survol */
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 15px; /* Espace supplÃ©mentaire par rapport au reste du menu */
}

/* IcÃ´ne avec effet nÃ©on vert */
.h-nav > li > a.nav-campus-link i {
    font-size: 1.2rem;
    filter: drop-shadow(0 0 6px rgba(24, 168, 85, 0.8));
}

/* Le trait soulignÃ© vert lumineux */
.h-nav > li > a.nav-campus-link::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 14px;
    right: 14px;
    height: 2px;
    background-color: var(--uvci-green);
    box-shadow: 0 0 10px rgba(24, 168, 85, 0.6);
    transition: all 0.3s ease;
}

/* Animation au survol */
.h-nav > li > a.nav-campus-link:hover {
    color: #1edd69 !important;
}
.h-nav > li > a.nav-campus-link:hover i {
    filter: drop-shadow(0 0 10px rgba(30, 221, 105, 1));
}
.h-nav > li > a.nav-campus-link:hover::after {
    background-color: #1edd69;
    box-shadow: 0 0 15px rgba(30, 221, 105, 0.9);
}

/* Dropdown Menu */
.h-dropdown {
    position: relative;
}
.h-dtoggle .chev {
    width: 11px;
    height: 11px;
    opacity: 0.4;
    transition:
        transform 0.25s,
        opacity 0.25s;
}
.h-dropdown:hover .chev {
    transform: rotate(180deg);
    opacity: 1;
}
.h-dmenu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 8px;
    min-width: 215px;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.2s,
        transform 0.2s,
        visibility 0.2s;
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.55);
}
.h-dropdown:hover .h-dmenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.h-dmenu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    font-family: "DM Sans", sans-serif;
    font-size: 0.88rem;
    color: var(--muted);
    text-decoration: none;
    transition:
        color 0.2s,
        background 0.2s;
}
.h-dmenu a:hover,
.h-dmenu a.active {
    color: var(--text);
    background: rgba(124, 92, 252, 0.14);
}
.h-dmenu .di {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    background: rgba(124, 92, 252, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
    font-size: 0.78rem;
    flex-shrink: 0;
}

.h-sep {
    width: 1px;
    height: 20px;
    background: rgba(0, 0, 0, 0.1);
}

/* ---- MON AVATAR desktop ---- */
.h-av-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 16px 7px 7px;
    border-radius: 100px;
    background: rgba(0, 229, 160, 0.07);
    border: 1px solid rgba(0, 229, 160, 0.26);
    text-decoration: none;
    font-family: "Syne", sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--av);
    letter-spacing: 0.02em;
    transition:
        background 0.3s,
        border-color 0.3s,
        box-shadow 0.3s,
        transform 0.2s;
    box-shadow: 0 0 14px var(--av-glow);
    white-space: nowrap;
    overflow: hidden;
    flex-shrink: 0;
}
.h-av-btn .av-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(0, 229, 160, 0.12);
    border: 1px solid rgba(0, 229, 160, 0.26);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition:
        background 0.3s,
        border-color 0.3s;
}

.h-av-btn .av-circle img,
.h-sb-av .sav-c img,
.h-av-icon-mobile img {
    display: block;
}

.h-avatar-personalized .av-circle,
.h-avatar-personalized .sav-c,
.h-av-icon-mobile.h-avatar-personalized {
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.28), 0 0 18px rgba(16, 185, 129, 0.22);
    border-color: rgba(16, 185, 129, 0.7);
}

.h-avatar-personalized .av-circle::after,
.h-avatar-personalized .sav-c::after,
.h-av-icon-mobile.h-avatar-personalized::after {
    content: "";
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    border: 1.5px solid rgba(5, 8, 16, 0.95);
    box-shadow: 0 0 0 rgba(16, 185, 129, 0.55);
    animation: hAvatarDotPulse 1.5s ease-out infinite;
}

.h-avatar-personalized .av-circle,
.h-avatar-personalized .sav-c,
.h-av-icon-mobile.h-avatar-personalized {
    position: relative;
}
.h-av-btn .av-circle svg {
    width: 16px;
    height: 16px;
    color: var(--av);
}
.h-av-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 229, 160, 0.16),
        transparent
    );
    transform: skewX(-15deg);
    pointer-events: none;
    animation: avshine 3.2s ease-in-out infinite;
}
@keyframes avshine {
    0% {
        left: -60%;
        opacity: 0;
    }
    15%,
    85% {
        opacity: 1;
    }
    100% {
        left: 130%;
        opacity: 0;
    }
}
.h-av-btn::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 100px;
    border: 1px solid rgba(0, 229, 160, 0.14);
    pointer-events: none;
    animation: avpulse 2.8s ease-in-out infinite;
}
@keyframes avpulse {
    0%,
    100% {
        opacity: 0.25;
        transform: scale(1);
    }
    50% {
        opacity: 0.85;
        transform: scale(1.04);
    }
}
.h-av-btn:hover {
    background: rgba(0, 229, 160, 0.14);
    border-color: rgba(0, 229, 160, 0.55);
    box-shadow:
        0 0 26px var(--av-glow),
        0 0 50px rgba(0, 229, 160, 0.1);
    transform: translateY(-1px);
    color: var(--av);
}
.h-av-btn:hover .av-circle {
    background: rgba(0, 229, 160, 0.22);
    border-color: rgba(0, 229, 160, 0.5);
}

/* Auth buttons */
.h-login {
    font-family: "DM Sans", sans-serif;
    font-size: 0.9rem;
    color: var(--muted);
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 8px;
    transition:
        color 0.2s,
        background 0.2s;
}
.h-login:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.h-login.active {
    color: #fff;
    background: rgba(124, 92, 252, 0.16);
    box-shadow: inset 0 0 0 1px rgba(169, 139, 255, 0.35);
}
.h-signup {
    font-family: "DM Sans", sans-serif;
    font-size: 0.87rem;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    padding: 9px 21px;
    border-radius: 100px;
    background: var(--accent);
    box-shadow: 0 4px 18px rgba(124, 92, 252, 0.35);
    transition:
        background 0.2s,
        transform 0.15s,
        box-shadow 0.2s;
}
.h-signup:hover {
    background: #6a4ae8;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(124, 92, 252, 0.5);
    color: #fff;
}

/* Initiales utilisateur */
.h-user {
    position: relative;
    display: inline-block;
}
.h-user-trigger {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}
.h-user-init {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Syne", sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition:
        border-color 0.2s,
        transform 0.2s;
}
.h-user:hover .h-user-init,
.h-user-trigger:hover .h-user-init {
    border-color: var(--accent-light);
    transform: scale(1.05);
}
.h-user-drop {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: rgba(11, 6, 22, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 8px;
    min-width: 170px;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.2s,
        transform 0.2s;
    transform: translateY(-5px);
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.5);
}
.h-user.open .h-user-drop {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.h-logout-form {
    margin: 0;
    width: 100%;
}

.h-logout-form--dropdown {
    display: block;
}

.h-user-drop a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 13px;
    border-radius: 8px;
    font-family: "DM Sans", sans-serif;
    font-size: 0.87rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.25s ease;
}

.h-user-drop .h-drop-logout {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    padding: 10px 13px;
    border-radius: 8px;
    font-family: "DM Sans", sans-serif;
    font-size: 0.87rem;
    text-align: left;
    text-decoration: none;
    transition: all 0.25s ease;
    background: transparent;
    border: none;
    box-shadow: none;
    cursor: pointer;
}

.h-drop-profile:hover {
    background: rgba(124, 92, 252, 0.15);
    color: var(--accent-light) !important;
}

.h-drop-logout {
    color: #ff6b6b !important;
}

.h-drop-logout:hover {
    background: #ff4747;
    color: #fff !important;
}

/* ---- MOBILE â€” barre droite groupÃ©e ---- */
.h-mobile-right {
    display: none;
    align-items: center;
    gap: 8px;
}
.h-av-icon-mobile {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 229, 160, 0.08);
    border: 1px solid rgba(0, 229, 160, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 0 12px var(--av-glow);
    transition:
        background 0.3s,
        border-color 0.3s,
        box-shadow 0.3s;
    flex-shrink: 0;
}
.h-av-icon-mobile::before {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid rgba(0, 229, 160, 0.13);
    pointer-events: none;
    animation: avpulse 2.8s ease-in-out infinite;
}
.h-av-icon-mobile svg {
    width: 18px;
    height: 18px;
    color: var(--av);
}
.h-av-icon-mobile:hover {
    background: rgba(0, 229, 160, 0.18);
    border-color: rgba(0, 229, 160, 0.55);
    box-shadow: 0 0 20px var(--av-glow);
}
.h-hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    border-radius: 8px;
    transition: background 0.2s;
    flex-shrink: 0;
}
.h-hamburger:hover {
    background: rgba(255, 255, 255, 0.07);
}
.h-hamburger span {
    display: block;
    height: 1.5px;
    background: #fff;
    border-radius: 2px;
    transition:
        transform 0.3s,
        opacity 0.3s;
}
.h-hamburger span:nth-child(1) {
    width: 22px;
}
.h-hamburger span:nth-child(2) {
    width: 16px;
}
.h-hamburger span:nth-child(3) {
    width: 22px;
}
.h-hamburger.open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}
.h-hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.h-hamburger.open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ---- SIDEBAR ---- */
.h-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.3s,
        visibility 0.3s;
}
.h-overlay.open {
    opacity: 1;
    visibility: visible;
}
.h-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: var(--sidebar-w);
    max-width: 86vw;
    height: 100vh;
    background: var(--sidebar-bg);
    z-index: 10001;
    transform: translateX(100%);
    transition: transform 0.36s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.h-sidebar::-webkit-scrollbar {
    display: none;
}
.h-sidebar.open {
    transform: translateX(0);
}
.h-sb-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}
.h-sb-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.h-sb-logo img {
    height: 34px;
}
.h-sb-logo span {
    font-family: "Syne", sans-serif;
    font-weight: 700;
    font-size: 0.94rem;
    color: #fff;
    letter-spacing: 0.03em;
}
.h-sb-close {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    transition:
        background 0.2s,
        color 0.2s;
}
.h-sb-close:hover {
    background: rgba(255, 255, 255, 0.11);
    color: #fff;
}
.h-sb-body {
    flex: 1 0 auto;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.h-sb-cat {
    font-family: "DM Sans", sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.2);
    padding: 12px 14px 5px;
}
.h-sb-lk {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    font-family: "DM Sans", sans-serif;
    font-size: 0.94rem;
    color: var(--muted);
    text-decoration: none;
    transition:
        color 0.2s,
        background 0.2s;
}
.h-sb-lk:hover,
.h-sb-lk.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}
.h-sb-lk .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    flex-shrink: 0;
    transition: background 0.2s;
}
.h-sb-lk:hover .dot,
.h-sb-lk.active .dot {
    background: var(--accent);
}
.h-sb-acc summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    font-family: "DM Sans", sans-serif;
    font-size: 0.94rem;
    color: var(--muted);
    cursor: pointer;
    list-style: none;
    transition:
        color 0.2s,
        background 0.2s;
}
.h-sb-acc summary::-webkit-details-marker {
    display: none;
}
.h-sb-acc summary:hover,
.h-sb-acc summary.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}
.h-sb-acc[open] summary {
    color: #fff;
}
.sbchev {
    margin-left: auto;
    opacity: 0.35;
    transition: transform 0.25s;
}
.h-sb-acc[open] .sbchev {
    transform: rotate(180deg);
}
.h-sb-sub {
    padding: 3px 0 4px 32px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.h-sb-sub a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    font-family: "DM Sans", sans-serif;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.38);
    text-decoration: none;
    transition:
        color 0.2s,
        background 0.2s;
}
.h-sb-sub a:hover,
.h-sb-sub a.active {
    color: #fff;
    background: rgba(124, 92, 252, 0.1);
}
.h-sb-sub .si {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(124, 92, 252, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
    font-size: 0.75rem;
    flex-shrink: 0;
}
.h-sb-div {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 8px 0;
}

.h-sb-av {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(0, 229, 160, 0.07);
    border: 1px solid rgba(0, 229, 160, 0.2);
    text-decoration: none;
    font-family: "Syne", sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--av);
    position: relative;
    overflow: hidden;
    transition:
        background 0.3s,
        border-color 0.3s;
    margin-top: 6px;
}
.h-sb-av::after {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 229, 160, 0.14),
        transparent
    );
    transform: skewX(-15deg);
    pointer-events: none;
    animation: avshine 3.2s ease-in-out infinite;
}
.h-sb-av .sav-c {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 229, 160, 0.12);
    border: 1px solid rgba(0, 229, 160, 0.26);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.h-sb-av .sav-c svg {
    width: 19px;
    height: 19px;
    color: var(--av);
}
.h-sb-av:hover {
    background: rgba(0, 229, 160, 0.13);
    border-color: rgba(0, 229, 160, 0.42);
    color: var(--av);
}
.sav-desc {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.sav-desc small {
    font-family: "DM Sans", sans-serif;
    font-size: 0.7rem;
    color: rgba(0, 229, 160, 0.55);
}

.h-sb-foot {
    padding: 18px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}
.h-sb-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.h-sb-user .su-av {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Syne", sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    color: #fff;
    flex-shrink: 0;
}
.h-sb-user .su-email {
    font-family: "DM Sans", sans-serif;
    font-size: 0.8rem;
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.h-sb-logout {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 11px 14px;
    border-radius: 10px;
    font-family: "DM Sans", sans-serif;
    font-size: 0.87rem;
    color: #ff6b6b;
    text-decoration: none;
    text-align: left;
    border: 1px solid rgba(255, 107, 107, 0.18);
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    transition: background 0.2s;
}
.h-sb-logout:hover {
    background: rgba(255, 107, 107, 0.09);
    color: #ff6b6b;
}
.h-sb-login {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 10px;
    font-family: "DM Sans", sans-serif;
    font-size: 0.92rem;
    color: var(--muted);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition:
        color 0.2s,
        border-color 0.2s,
        background 0.2s;
}
.h-sb-login:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.04);
}

.h-sb-login.active {
    color: #fff;
    border-color: rgba(169, 139, 255, 0.55);
    background: rgba(124, 92, 252, 0.15);
    box-shadow: inset 0 0 0 1px rgba(169, 139, 255, 0.25);
}
.h-sb-signup {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 10px;
    font-family: "DM Sans", sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    background: var(--accent);
    box-shadow: 0 4px 18px rgba(124, 92, 252, 0.28);
    transition: background 0.2s;
}
.h-sb-signup:hover {
    background: #6a4ae8;
    color: #fff;
}

/* ---- Responsive ---- */
@media (max-width: 1085px) {
    .h-nav,
    .h-right {
        display: none !important;
    }
    .h-center-zone {
        display: none !important;
    } /* Masque le centre pour laisser place au hamburger */
    .h-left-zone {
        flex: auto;
        gap: 0;
    }
    .h-mobile-right {
        display: flex !important;
        margin-left: auto;
    }
    #uvci-header .inner {
        padding: 0 18px;
    }
}
@media (min-width: 1085px) {
    .h-mobile-right {
        display: none !important;
    }
}
@media (max-width: 310px) {
    .h-logo-text {
        display: none !important;
    }
}
<<<<<<< HEAD

@keyframes hAvatarDotPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.58);
    }
    75% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
=======
/* ---- Lien Administration (header desktop) - tres en evidence ---- */
.h-nav .h-admin-link {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 9px 18px !important;
    border-radius: 999px;
    background: linear-gradient(135deg, #8e1582 0%, #7c5cfc 100%);
    color: #ffffff !important;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow:
        0 8px 22px rgba(142, 21, 130, 0.45),
        0 0 0 1px rgba(168, 85, 247, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    overflow: visible;
}
.h-nav .h-admin-link::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.5), rgba(217, 70, 239, 0.35));
    filter: blur(12px);
    z-index: -1;
    opacity: 0.75;
    transition: opacity 0.2s;
}
.h-nav .h-admin-link i { font-size: 13px; }
.h-nav .h-admin-link:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #a855f7 0%, #d946ef 100%);
    box-shadow:
        0 14px 32px rgba(168, 85, 247, 0.55),
        0 0 0 1px rgba(217, 70, 239, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    color: #ffffff !important;
}
.h-nav .h-admin-link:hover::before { opacity: 1; }
.h-nav .h-admin-link.active {
    background: linear-gradient(135deg, #d946ef 0%, #8e1582 100%);
    box-shadow:
        0 12px 28px rgba(217, 70, 239, 0.55),
        0 0 0 1px rgba(217, 70, 239, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* Sidebar mobile : lien admin tres distinct */
.h-sb-lk-admin {
    margin-top: 14px;
    padding: 12px 14px !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #8e1582 0%, #7c5cfc 100%) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    box-shadow:
        0 8px 22px rgba(142, 21, 130, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.h-sb-lk-admin .dot { background: rgba(255, 255, 255, 0.95) !important; }
.h-sb-lk-admin:hover,
.h-sb-lk-admin.active {
    background: linear-gradient(135deg, #a855f7 0%, #d946ef 100%) !important;
    color: #ffffff !important;
    box-shadow:
        0 10px 26px rgba(168, 85, 247, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
>>>>>>> 100c74a (Finalisation du dashboard)
}
