* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== NAVBAR ===== */
nav {
    display: flex;
    justify-content: flex-end; /* nav fica à direita em desktops */
    align-items: center;
    background: black;
    padding: 0 5%;
    height: 10vh;
    position: relative;
    top: 0;
}

.navegacao {
    list-style: none;
    display: flex;
    font-family: Arial, Helvetica, sans-serif;
}

.navegacao li {
    letter-spacing: 2px;
    margin-left: 20px;
}

.responsivo {
    display: none;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 1000;
}

.responsivo div {
    width: 30px;
    height: 3px;
    background: white;
    margin: 6px;
    transition: 0.3s;
}

/* ===== LINKS ===== */
.links, .link {
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

.link:hover, .links:hover {
    color: purple;
}

/* ===== CONTEÚDO PRINCIPAL ===== */
h1 {
    text-align: center;
    font-size: 4rem;
    font-family: Arial, Helvetica, sans-serif;
    margin-top: 10%;
    color: white;
}

.botoes {
    text-align: center;
    margin-top: 2%;
}

button {
    padding: 10px 20px;
    border-radius: 20px;
    border: 2px solid white;
    background: #4fc455;
    margin: 10px;
    cursor: pointer;
}

button:hover {
    opacity: 0.9;
}

.a, .b {
    text-decoration: none;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
}

.premium {
    background: black;
}

/* ===== BACKGROUND ===== */
body {
    background: linear-gradient(90deg, #444,#000);
    min-height: 100vh;
}

.header-container {
    display: flex;
    justify-content: space-between; /* logo à esquerda, nav à direita */
    align-items: center; /* alinha verticalmente */
    padding: 0 5%;
    background: black;
    height: 10vh;
}

/* ===== LOGO ===== */
.imagem img {
    max-width: 150px;
    transition: .5s ease-in-out;
}

.imagem img:hover {
    transform: scale(1.1);
}

/* ===== MEDIA QUERIES ===== */

/* CELULARES até 600px */
@media (max-width: 600px) {
    .navegacao {
        position: fixed;
        top: 0;
        right: -100%;
        background: black;
        width: 60%;
        height: 100vh;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 60px;
        transition: right 0.3s ease-in-out;
    }

    .navegacao li {
        margin: 20px 0;
    }

    .responsivo {
        display: block;
    }

    h1 {
        font-size: 2rem;
        margin-top: 20%;
        padding: 0 10px;
    }

    button {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

/* TABLETS 601px até 900px */
@media (min-width: 601px) and (max-width: 900px) {
    nav {
        justify-content: flex-end; /* botão hambúrguer no canto direito */
    }

    .responsivo {
        display: block;
    }

    h1 {
        font-size: 3rem;
    }

    button {
        padding: 10px 18px;
        font-size: 1rem;
    }
}

/* NOTEBOOKS 901px até 1200px */
@media (min-width: 901px) and (max-width: 1200px) {
    nav {
        justify-content: flex-end;
    }

    h1 {
        font-size: 3.5rem;
    }
}

/* DESKTOPS acima de 1200px */
@media (min-width: 1201px) {
    nav {
        justify-content: flex-end;
    }

    h1 {
        font-size: 5rem;
    }
}

/* ===== CLASSE PARA ABRIR MENU ===== */
.navegacao.ativa {
    right: 0;
}
