/* ===========================
   RESET BÁSICO
=========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===========================
   MENU GLOBAL FIXO
=========================== */
nav.menu {
    width: 100%;
    height: 70px;
    padding: 10px 20px;

    background: #0b0e14;
    border-bottom: 2px solid #1c2433;

    display: flex;
    align-items: center;
    justify-content: space-between;

    position: fixed;
    /* 🔥 FIXO DE VERDADE */
    top: 0;
    left: 0;
    z-index: 10000;
    /* acima de tudo */

    backdrop-filter: blur(6px);
}

/* ===========================
   LOGO + TÍTULOS
=========================== */
.logo-area {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #fff;
}

.logo-img {
    width: 32px;
    height: 32px;
}

.logo-texts {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.site-title {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
}

.page-title {
    font-size: 12px;
    opacity: 0.7;
    color: #cfc4ff;
}

/* ===========================
   LINKS DESKTOP
=========================== */
.menu-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 18px;
}

.menu-links li a {
    color: #eee;
    text-decoration: none;
    font-size: 15px;
    padding: 6px 10px;
    border-radius: 6px;
    transition: 0.25s ease;
}

.menu-links li a:hover {
    color: #52a6ff;
    text-shadow: 0 0 6px #52a6ff;
    background: rgba(82, 166, 255, 0.08);
}

/* ===========================
   BOTÃO HAMBÚRGUER
=========================== */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: 0.3s ease;
}

/* Animação X */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

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

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

/* ===========================
   MENU MOBILE
=========================== */
@media (max-width: 720px) {

    nav.menu {
        padding: 10px 15px;
    }

    .hamburger {
        display: flex;
    }

    .menu-links {
        position: absolute;
        top: 70px;
        /* altura do menu */
        left: 0;
        width: 100%;

        flex-direction: column;
        background: #0b0e14;
        border-bottom: 2px solid #1c2433;

        max-height: 0;
        overflow: hidden;
        opacity: 0;

        transition: max-height 0.4s ease, opacity 0.3s ease;
    }

    .menu-links.active {
        max-height: 400px;
        opacity: 1;
    }

    .menu-links li {
        width: 100%;
        text-align: center;
        padding: 12px 0;
    }

    .menu-links li a {
        display: block;
        width: 100%;
        font-size: 16px;
    }
}