.top-nav {
    border-radius: 0 0 10px 10px;

    background: var(--card-background);
    border-bottom: 1px solid var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-inner {
    width: min(1200px, 90%);
    margin: 0 auto;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    width:auto;
    height:55px;
    display: block;
}

/* Desktop */

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.desktop-nav a {
    color: var(--text-emphasis);
    text-decoration: none;
    font-weight: 500;
    transition: .3s;
    position: relative;
}

.desktop-nav a:hover {
    color: var(--primary-color);
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;

    width: 0;
    height: 2px;

    background: var(--primary-color);

    transition: .3s;
}

.desktop-nav a:hover::after {
    width: 100%;
}

/* Botão Hambúrguer */

.mobile-menu-toggle {
    display: none;

    background: none;
    border: none;

    color: var(--text-emphasis);

    font-size: 2rem;

    cursor: pointer;
}

/* Menu Mobile */

.mobile-nav {
    display: none;

    position: absolute;

    top: 82px;
    right: 0;

    min-width: 300px;

    background: var(--card-background);
    border-radius: 10px;
    margin: 20px;
    border: 1px solid var(--primary-color);
}

.mobile-nav.active {
    display: flex;
    flex-direction: column;
}

.mobile-nav a {
    padding: 18px 5%;
    color: var(--text-emphasis);
    text-decoration: none;
    transition: .3s;
    border-radius: 10px;
}

.mobile-nav a:hover {
    background: var(--card-background);
    color: var(--primary-color);
}

/* Responsivo */

@media (max-width: 768px) {

    .desktop-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }
}