/* 🔹 MENU PRINCIPAL */
.menu {
    background: linear-gradient(160deg,
            rgba(205, 64, 109, 0.801),
            rgba(69, 36, 190, 0.9),
            rgba(71, 125, 226, 0.8),
            rgba(13, 13, 13, 0.8));
    padding: 0 1rem;
    /* Ajuste do espaçamento */
    border-radius: 10px;
    width:100%;
    z-index: 99;

    display: flex;
    align-items: center;
    /* Alinha os itens verticalmente */
    justify-content: space-between;
    /* Empurra o botão para a direita */
    position: sticky;
    top: 1rem;
}

.logo {
    width: 10rem;
    height: 3rem;
    object-fit: cover;
}

/* 🔹 MENU NORMAL */
.menu nav {
    display: flex;
    align-items: center;
    /* Alinha os itens ao centro */
    gap: 10px;
    /* Ajusta o espaçamento entre os itens */
    width: 100%;
    /* Garante que ocupe todo o espaço */
    justify-content: flex-end;
}


/* 🔹 ESTILO DOS LINKS */
.menu a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 10px;
    transition: 0.3s;
}

.menu a:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* 🔹 BOTÃO MENU (HAMBÚRGUER) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
    position: absolute;
    right: 20px;
    /* Posiciona o botão no canto direito */
    top: 50%;
    transform: translateY(-50%);
}

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: transform .3s;
}

    .whatsapp-float:hover {
        transform: scale(1.12);
    }

.whatsapp-icon {
    width: 34px;
    height: 34px;
}


/* 🔹 MEDIA QUERY PARA TELA PEQUENA */
@media (max-width: 768px) {
    .menu {
        width: 90%;
        height: 50px;
        /* Mantém a altura correta */
        text-align: left;
        padding: 10px;
        display: flex;
        justify-content: space-between;
    }

    .menu nav {
        display: none;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.9);
        position: absolute;
        top: 60px;
        right: 10px;
        /* Ajuste para o lado direito */
        width: 50%;
        text-align: center;
        padding: 10px;
        border-radius: 10px;
    }

    .menu nav a {
        display: block;
        padding: 10px;
    }

    .menu-toggle {
        display: block;
        /* Mostra o botão ☰ */
    }

    .menu.active nav {
        display: flex;
    }
}