/* HEADER BASE */
.ng-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.ng-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */
.ng-logo {
    font-weight: 700;
    font-size: 42px;
}
.ng-logo .no { color: #0d84d9; }
.ng-logo .grupo { color: #ff7a00; }

/* MENU DESKTOP */
.ng-menu {
    display: flex;
    gap: 20px;
}
.ng-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
}

/* BOTÃO HAMBÚRGUER */
.ng-burger {
    display: none; /* só aparece no mobile */
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}
.ng-burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    border-radius: 2px;
}

/* BARRA INFERIOR */
.ng-bar {
    height: 4px;
    background: linear-gradient(to right, #ff7a00 50%, #0d84d9 50%);
}

/* MENU MOBILE LATERAL */
.ng-mobile-menu {
    position: fixed;
    top: 0;
    left: -260px; /* escondido */
    width: 260px;
    height: 100%;
    background: #fff;
    box-shadow: 2px 0 10px rgba(0,0,0,.2);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: left 0.3s ease;
    z-index: 2000;
}
.ng-mobile-menu a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    font-weight: 500;
}
.ng-mobile-header {
    display: flex;
    justify-content: flex-end;
}
.ng-mobile-close {
    font-size: 28px;
    cursor: pointer;
}

/* OVERLAY */
.ng-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,.5);
    display: none;
    z-index: 1500;
}

/* ESTILOS MOBILE */
@media (max-width: 900px) {
    .ng-container {
        padding: 12px 14px;
    }

    .ng-logo {
        font-size: 42px; /* mantém grande no mobile */
    }

    .ng-menu {
        display: none; /* esconde menu desktop */
    }

    .ng-burger {
        display: flex; /* mostra hambúrguer */
    }
}

/* CLASSES QUE O JS USA */
.ng-mobile-menu.open {
    left: 0; /* desliza para dentro */
}
.ng-overlay.show {
    display: block; /* mostra overlay */
}
