/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Barra de navegação */
.navbar {
    color: black;
    position: fixed;
    width: 100%;
    padding: 0;
    display: flex;
    justify-content: center;
    background: #0c2cca; /* transparente */
    backdrop-filter: blur(10px); /* efeito blur */
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    flex-direction: row;
    box-shadow: 0 10px 0 #008EDC; /* segunda linha fina */
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav .texto{
    color: #fff;
    text-decoration: none;
    font-size: 4.5vh;
    font-weight: 500;
}

.navbar a {
    text-decoration: none;
}

.navbar .menu {
    list-style: none;
    float: right;
    margin-right: 0px;
}

.navbar .menu li {
    display: inline;
    margin: 0px;
    color: #fff;
}

.navbar .menu a {
    color: #fff;
    text-decoration: none;
    font-size: 2.1vh;
    font-weight: 400;
    padding: 1.7vh 1vw;
    transition: background 0s;
}

.navbar .menu a:hover {
    background: #008EDC;
    color: #fff;
    border-radius: 8px;
}

/* Título */
.titulo_efeito {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    padding-top: 10vh;
    color: rgb(59, 59, 59);
}

/* Produtos */
.container_produtos {
    padding-top: 80px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.produto {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    width: 250px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.produto img {
    width: 100%;
    border-radius: 10px;
}
.produto h3 {
    margin: 10px;
    margin-bottom: 0px;
    line-height: 1.5em;         /* Altura de uma linha */
    min-height: 3em;            /* 2 linhas x 1.5em */
}
.produto p {
    font-size: 16px;
    font-weight: 500;
    color: rgb(102, 102, 102);
}

.botao-whatsapp {
    display: inline-flex;
    align-items: center;
    background-color: #2AB318;
    color: white;
    margin-top: 20px;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    gap: 8px;
}

/* Seção Fim */
.fim {
    height: 20vh;
}

/* Estilo para o botão sanduíche */
.menu-toggle {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

/* Oculta o menu por padrão em telas menores */
.menu {
    display: flex;
    list-style: none;
}

/* Responsividade para telas menores */
@media (max-width: 768px) {
    /* Desativa a rolagem lateral */
    body, html {
        overflow-x: hidden; /* Impede a rolagem horizontal */
    }

    /* Garante que os elementos não ultrapassem a largura da tela */
    * {
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Ajusta a barra de navegação */
    .navbar {
        display: flex;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .container {
        display: flex;
        justify-content: right;
        align-items: center;
        /* gap: 3vh; */
    }

    .navbar .logo {
        margin-right: 5vw;
        font-size: 6vw;
        align-items: center;
    }

    .navbar .logo img{
        display: none;
    }

    .navbar .menu {
        float: none;
        margin: 0;
        padding: 0;
    }

    .navbar .menu li {
        display: block;
        margin: 1vh 0;
    }

    .menu {
        display: none; /* Oculta o menu */
        flex-direction: column;
        background: #db3232e5;
        position: absolute;
        top: 100%;
        right: 0;
        width: 50%;
        text-align: center;
        z-index: 1000;
    }

    .menu li {
        margin: 1vh 0;
    }

    .menu a {
        color: #fff;
        padding: 1vh;
        display: block;
    }

    .menu-toggle {
        display: flex; /* Exibe o botão sanduíche */
    }

    .menu.show {
        display: flex; /* Mostra o menu ao clicar no botão */
    }

    /* Ajustando produtos */
    .titulo_efeito {
        display: flex;
        justify-content: left;
        align-items: center;
        text-align: left;
        padding: 0;
        padding-top: 10vh;
        margin: 2vh;
        font-size: 3vh;
        max-width: 70vw;
    }

    .container_produtos {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .container_produtos .produto img {
        width: 40vw;
        height: auto;
    }
}