/* --- MENU CYBERPUNK NEON (UPDATED FOR NO-WRAP) --- */

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: 80px;
}

/* 3 zones flex ajustées pour donner plus de place au centre */
.nav-left {
    flex: 0 0 180px;
}

.nav-center {
    flex: 2;
    display: flex;
    justify-content: center;
}

.nav-right {
    flex: 0 0 180px;
    display: flex;
    justify-content: flex-end;
}

/* Logo Orcidia */
nav img.logo-orcidia {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 6px #00e5ff);
    transition: 0.3s ease;
    animation: neonBlink 2s infinite ease-in-out;
}

nav img.logo-orcidia:hover {
    filter: drop-shadow(0 0 10px #00e5ff);
    transform: scale(1.05);
}

@keyframes neonBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Liens */
.nav-center ul {
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.nav-center li {
    list-style: none;
}

nav a {
    position: relative;
    color: #00e5ff;
    text-decoration: none;
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 8px 0;
    opacity: .75;
    transition: .25s ease;
    text-shadow: 0 0 6px rgba(0, 229, 255, 0.4);
    white-space: nowrap;
}

nav a:hover {
    opacity: 1;
    text-shadow:
        0 0 12px rgba(0, 229, 255, 0.9),
        0 0 20px rgba(0, 229, 255, 0.6);
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: #0094ff;
    box-shadow:
        0 0 10px rgba(0,148,255,0.8),
        0 0 20px rgba(0,148,255,0.6);
    opacity: .9;
    transition: width .3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* CONTACT */
.btn-contact {
    padding: 6px 16px;
    border: 1px solid #0094ff;
    border-radius: 3px;
    color: #0094ff;
    font-weight: 600;
    font-size: 0.7rem;
    text-shadow:
        0 0 18px rgba(0,148,255,1),
        0 0 35px rgba(0,148,255,0.9);
    box-shadow:
        0 0 20px rgba(0,148,255,0.8),
        inset 0 0 12px rgba(0,148,255,0.4);
    transition: .3s ease;
    animation: neonPulseStrong 2.5s ease-in-out infinite;
    white-space: nowrap;
    line-height: 1.2;
}

.btn-contact:hover {
    background: #0094ff;
    color: #000;
    box-shadow:
        0 0 40px rgba(0,148,255,1),
        inset 0 0 16px rgba(255,255,255,0.7);
}

/* Animation néon forte */
@keyframes neonPulseStrong {
    0%, 100% {
        text-shadow: 0 0 14px rgba(0,148,255,0.8), 0 0 28px rgba(0,148,255,0.5);
        box-shadow: 0 0 12px rgba(0,148,255,0.4), inset 0 0 6px rgba(0,148,255,0.3);
    }
    50% {
        text-shadow: 0 0 26px rgba(0,148,255,1), 0 0 50px rgba(0,148,255,0.9);
        box-shadow: 0 0 30px rgba(0,148,255,1), inset 0 0 14px rgba(0,148,255,0.7);
    }
}

/* --- BURGER MOBILE --- */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.burger span {
    width: 28px;
    height: 3px;
    background: #0094ff;
    box-shadow: 0 0 8px rgba(0,148,255,0.8);
    border-radius: 2px;
    transition: 0.3s ease;
}

.burger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- MOBILE FIX --- */
@media (max-width: 768px) {

    nav img.logo-orcidia {
        height: 25px !important;
    }

    header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: #000 !important;
        padding: 12px 5% !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        z-index: 9999 !important;
    }

    .burger {
        display: flex !important;
        position: absolute;
        right: 20px;
        top: 15px;
        z-index: 1100;
    }

    nav {
        display: none !important;
        position: fixed !important;
        top: 70px !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: #000 !important;
        flex-direction: column !important;
        width: 100% !important;
        padding: 20px 5% !important;   /* ← RÉDUIT */
        gap: 12px !important;          /* ← RÉDUIT */
        overflow-y: auto !important;
        z-index: 9998 !important;
    }

    nav.open {
        display: flex !important;
    }

    .nav-center ul {
        flex-direction: column !important;
        gap: 12px !important;          /* ← RÉDUIT */
        margin: 0 !important;
        padding: 0 !important;
    }

    .nav-right {
        display: flex !important;
        justify-content: center !important;
        width: auto !important;        /* ← FIX */
    }

    .btn-contact {
        align-self: center !important; /* ← FIX */
        padding: 8px 18px !important;
        font-size: 0.75rem !important;
        width: auto !important;
        height: auto !important;
        margin-top: 10px !important;
    }
}