/*
nav {
    display: table;
    width: 100%;
    padding: 15px;
    border: 1px #333 solid;
    border-radius: 30px;
    margin-bottom: 60px;
}

nav .button {
    padding: 10px 20px;
    margin: 0 5px;
}

nav a {
    color: #ddd;
    margin: 0 15px;
    cursor: pointer;
}

nav a:hover {
    text-decoration: none;
    color: #fff;
}*/




nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 15px;
    border: 1px #333 solid;
    border-radius: 30px;
    margin-bottom: 60px;
    flex-wrap: wrap; /* permite quebrar linhas no celular */
}

/* ==========================
    Columns: left / center / right
   ========================== */
.nav-left,
.nav-center,
.nav-right {
    display: flex;
    align-items: center;
}

/* Centralizar o menu */
.nav-center {
    flex: 1;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
}

nav a {
    color: #ddd;
    margin: 0 15px;
    cursor: pointer;
}

nav a:hover {
    text-decoration: none;
    color: #fff;
}

.button {
    padding: 10px 20px;
    margin: 0 5px;
}

#logo {
    height: 38px; /* ajuste livre */
    margin-right: 10px;
}

#brand {
    font-size: 20px;
    color: #ddd;
}

/* ========================================
   🔥 RESPONSIVIDADE (mobile)
   ======================================== */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        text-align: center;
        gap: 20px;
/*        margin-left: 0;
        margin-right: 0;*/
        border: none;
    }

    .nav-left, .nav-center, .nav-right {
        justify-content: center;
    }
}
