body {
    font-family: "Share Tech Mono", monospace;
    background-color: #0A0C0F;
    color: #00D4FF;
    margin: 0;
    padding: 0;
}
/* ── NAV ── */
nav {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: 0;
    padding: 18px 25px 15px;
    position: relative;
}

#logo {
    font-size: 1.5em;
    font-weight: bold;
    color: #00D4FF;
    text-decoration: none;
    white-space: nowrap;
}
#logo:hover {
    color: #05a6c6;
}

ul {
    list-style-type: none;
    display: flex;
    margin: 0;
    padding: 0;
}
ul li {
    margin-left: 15px;
}

ul a {
    color: #6a6d71;
    text-decoration: none;
}
ul a:hover {
    color: #8a8d92;
    text-decoration: underline;
}

#on {
    color: #00D4FF;
}
#on:hover {
    color: #05a6c6;
    text-decoration: underline;
}

/* ── HAMBURGER ── */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 100;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #00D4FF;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
    transform-origin: center;
}

/* État actif → croix */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    nav {
        flex-wrap: wrap;
        padding: 15px 20px;
    }

    .hamburger {
        display: flex;
    }

    ul {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 15px;
        border-top: 1px solid #575b5b;
        padding-top: 10px;
    }

    ul.open {
        display: flex;
    }

    ul li {
        margin-left: 0;
        padding: 10px 0;
        border-bottom: 1px solid #1a1d20;
    }

    ul li:last-child {
        border-bottom: none;
    }
}

@media (max-width: 400px) {
    #logo {
        font-size: 1.2em;
    }
}