* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: #333;
    color: #ffffff;
}

header {
    background-color: #222;
    padding: 20px 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    max-height: 60px;
    width: auto;
    transition: all 0.3 ease;
}

.logo:hover {
    transform: scale(1.2);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #00e0ff;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a:focus {
    outline: none;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #fff;
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* MENU TOGGLE - ESCONDIDO NO DESKTOP */
.menu-toggle {
    display: none !important;
    background: none;
    border: none;
    color: #00e0ff;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    margin: 0;
    transition: none;
}

.menu-toggle:hover {
    color: #00e0ff;
}

/* RESPONSIVIDADE MOBILE */
@media (max-width: 768px) {
    nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
        width: 100%;
    }

    .logo {
        max-height: 50px;
        flex-shrink: 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        display: none;
        gap: 15px;
        margin-top: 10px;
        position: absolute;
        top: 70px;
        left: 0;
        background-color: #222;
        padding: 20px;
        z-index: 99;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a:focus {
        outline: none;
    }

    /* MOSTRA MENU TOGGLE NO MOBILE */
    .menu-toggle {
        display: block !important;
        cursor: pointer;
        font-size: 24px;
        color: #00e0ff;
        background: none;
        border: none;
        margin: 0;
        padding: 0;
        flex-shrink: 0;
        outline: none;
    }

    .menu-toggle:hover {
        color: #ffffff;
        background-color: transparent;
    }

    .menu-toggle:focus {
        outline: none;
    }
}

@media (max-width: 480px) {
    header {
        padding: 15px 20px;
    }

    .nav-links {
        gap: 10px;
    }

    .nav-links a {
        font-size: 16px;
    }
}
