/* Header fixo no topo */
.top-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    z-index: 1000;

    /* gradiente do azul marinho no topo para transparente na base */
    background: linear-gradient(to bottom, rgba(0,0,70,0.8) 0%, rgba(0,0,70,0) 100%);

    transition: top 0.5s ease, opacity 0.5s ease, background 0.3s ease;
    opacity: 1;

    box-shadow: none; /* remove linha */
}






/* Container dos botões com flex para distribuir igualmente */
.top-menu nav {
    display: flex;
    width: 100%;
    max-width: 1200px; /* opcional, para centralizar em telas grandes */
}

.menu-btn {
    flex: 1;
    margin: 0 5px;
    background: rgba(255, 255, 255, 0.1); /* leve transparência */
    border: none;
    color: white;
    padding: 10px 0;
    font-size: 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.menu-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #1E90FF;
    box-shadow: 0 0 15px 3px #1E90FF88;
}



/* Efeito de brilho ao passar o mouse */
.menu-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 60%);
    transform: scale(0);
    transition: transform 0.5s ease;
}



/* Hover na cor da letra e borda + brilho */
.menu-btn:hover {
    color: #1E90FF; /* azul para a letra */
    border-color: #1E90FF; /* azul para a borda */
    box-shadow: 0 0 15px 3px #1E90FF88; /* brilho azul */
}

html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 50px; /* altura do header fixo */
}

/* MOBILE — telas até 600px */
@media (max-width: 600px) {
    .top-menu {
        height: 90px; /* aumenta o menu */
    }

    .top-menu nav {
        gap: 6px; /* espaçamento mais confortável */
    }

    .menu-btn {
        padding: 16px 0;  /* botão mais alto */
        font-size: 18px;  /* texto maior */
        border-radius: 12px;
        margin: 0 3px; /* reduz margem lateral */
    }
}





