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

nav.menu {
    width: 100%;
    padding: 10px 20px;
    background: #0b0e14;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #1c2433;
}

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

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

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

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

.page-title {
    font-size: 12px;
    opacity: .7;
}

/* ===========================
   MENU 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;
    transition: .2s;
}

.menu-links li a:hover {
    color: #52a6ff;
    text-shadow: 0 0 5px #52a6ff;
}

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

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

/* 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 {
        flex-wrap: wrap;
        padding: 10px 15px;
    }

    .menu-links {
        flex-direction: column;
        width: 100%;
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        transition: max-height .4s ease, opacity .3s ease;
        background: #0b0e14;
        border-top: 1px solid #1c2433;
        padding: 0;
    }

    .menu-links.active {
        padding: 10px 0;
    }

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

    .hamburger {
        display: flex;
    }
}