* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    
}

h3 {
    margin: 1rem;
}

header {
    background: #005f73;
    color: #fff;
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.logo-mobile {
    display: none;
}

.logo img {
    height: 80px; /* Ajuste a altura conforme necessário */
    width: auto;
    display: block; /* Para centralizar a imagem no link */
}

nav a {
    color: #edf6f9;
    text-decoration: none;
    border-radius: 1rem;
    transition: background-color 0.5s;
    
}

.nav-container a {
    padding: 10px 15px; /* Ajuste o espaçamento conforme necessário */
}

.centered-items {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 3; /* Faz com que este elemento ocupe o espaço disponível */
    transition: all 0.3s ease;
}

.contact {
    display: flex;
    flex-direction: column; /* Coloca ícones em coluna */
    padding-right: 2rem; /* Espaçamento à esquerda para não colar na borda */
}

.nav-container .whatsapp-link {
    margin-right: auto; /* Ajusta conforme necessário */
}

nav a:not(.logo):hover {
    background-color: #02c39a;
}

/* Estilo específico para o ícone do WhatsApp e do Telefone */
.whatsapp-link, .phone-link {
    margin-left: auto;
    color: #fff; /* Cor do ícone */
    font-size: 1.5rem;
}

.whatsapp-link {
    font-size: 2rem;
}

/* Estilo específico para o ícone do WhatsApp e do Telefone */

.whatsapp-link, .phone-link {
    color: #fff;
}

.whatsapp-link {
    font-size: 2rem;
}

.phone-link {
    font-size: 1.5rem;
}

.about-us {
    background: #2b2d42;
    color: #edf6f9;
    margin: 1rem;
    padding: 1rem;
    text-align: center;
}


.product-section {
    text-align: center;
    margin: 2rem;
}

.product-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: justify;
    background: #fff;
    border: 1px solid #ddd;
    margin: 1rem;
    padding: 1rem;
    width: 25%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.product-image {
    display: flex;
    justify-content: space-between; /* Centraliza horizontalmente */
    text-align: center;
    flex-direction: column;
    align-items: center;
    min-height: fit-content;
}

.main-image {
    max-width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    transition: opacity 0.3s;
    margin-bottom: 1rem;
    
}

.description {
    margin: 1rem;
}

.product-card:hover {
    transform: translateY(-5px);
}

.cta-button {
    display: inline-block;
    background-color: #005f73;
    color: #ffffff;
    padding: 1rem 1rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.2s;
}

.cta-button:hover,
.cta-button:focus {
    color: #ffffff;
    transform: translateY(-2px);
    /* Efeito de "levantar" ao passar o mouse */
    text-decoration: none;
    /* Garante que o texto permaneça sem sublinhado */
}


footer {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: stretch;
    text-align: center;
    background: #005f73;
    color: #fff;
    padding: 1rem;
}

.footer-left, .footer-center, .footer-right {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    margin: 1rem;
}


.footer-left {
    
    flex-direction: row;
    justify-content: space-evenly;

}

.phone-link-footer, .whatsapp-link-footer {
    display: flex;
    align-items: center;
    color: #fff; /* Cor do ícone */
}



.phone-link-footer {
    font-size: 1.5rem;
}

.whatsapp-link-footer {
    font-size: 2rem;
}

/* Ajustes para garantir que os links fiquem alinhados e atraentes */
.footer-left a, .footer-center ,.footer-right a {
    color: inherit; /* Opção para manter a cor dos ícones consistente com o texto do footer */
}

#politica-privacidade {
    text-decoration: underline;
    color: white;
}

/* Botão voltar ao topo */

#backToTopButton {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #005f73;
    /* Cor de fundo */
    color: white;
    /* Ícone e texto em branco */
    border-radius: 50px;
    /* Formato circular */
    border-color: #02c39a;
    border-style: solid;
    border-width: 5px;
    width: auto;
    /* Largura */
    height: 50px;
    /* Altura */
    cursor: pointer;
    display: none;
    /* Escondido por padrão */
    align-items: center;
    justify-content: center;
    z-index: 1000;
    /* Garante que fique acima de outros conteúdos */
    padding: 1rem;
    overflow: visible;
    /* Permite que o texto "Voltar" saia dos limites do botão */
}

#backToTopButton i {
    margin-right: 10px;
    /* Espaço entre ícone e texto */
}



/* Responsividade para o <header> */

/* Ícone do Menu de Hambúrguer */
.menu-toggle {
    display: none;
    cursor: pointer;
    color: #fff;
    font-size: 2rem; /* Ajuste o tamanho conforme necessário */
}


/* Mostra o ícone do menu de hambúrguer e esconde os itens do menu em dispositivos móveis */
@media (max-width: 480px) {


    .menu-toggle {
        display: block;
        text-align: center;
        margin-left: 1rem;
        order: 0;
        padding-right: 1rem;
    }

    .centered-items {
    display: flex;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: opacity 0.5s ease, max-height 0.5s ease;
        flex-shrink: 10;
        
    }

    .centered-items.is-active {
        display: flex;
        max-height: 300px; /* Ajuste conforme necessário para acomodar o conteúdo */
        opacity: 1;
        flex-shrink: 0;
        order: 2
    }

    /* Estilização dos links dentro do menu para garantir um visual uniforme e centralizado */
    .centered-items.is-active a {
      
        flex-direction: column;
        align-items: center; /* Centraliza os itens no container */
        width: 100%; /* Faz com que os links ocupem a largura total */
        text-align: center; /* Centraliza o texto dos links */
        margin: 5px 0; /* Adiciona uma margem entre os links */
        opacity: 1;
        max-height: 500px; /* Ajuste conforme a necessidade de espaço dos seus itens */
    }


    .nav-container {
        display: flex;
        flex-direction: row; /* Mantém os itens em linha */
        justify-content: space-between; /* Espaça os elementos entre si */
        align-items: center; /* Centraliza os itens verticalmente */
        
    }


    .nav-container .centered-items.is-active {
        display: flex;
        flex-direction: column;
        align-items: center; /* Centraliza os itens no menu */
        width: 8rem; /* Faz com que os itens ocupem a largura total */
        padding: 1rem 0; /* Adiciona um pouco de espaço vertical */
        gap: 10px; /* Espaçamento entre itens */
    }

    .nav-container a {
        width: 100%; /* Faz com que os links ocupem a largura total */
        text-align: center; /* Centraliza o texto dos links */
        margin: 5px 0; /* Adiciona espaço entre os links */
        padding: 10px; /* Aumenta o padding para uma melhor tocabilidade */
        border-radius: 0; /* Remove o border-radius para um visual mais limpo */
    }

    .logo-mobile {
        order: 1; /* Posiciona no centro */
        flex-grow: 1; /* Permite que cresça para centralizar */
        display: flex;
        justify-content: center; /* Centraliza o conteúdo */
    }

    .logo-mobile img {
        margin: 0 auto; /* Ajusta a margem para centralizar e adicionar espaço acima e abaixo */
        height: 100px; /* Ajusta a altura conforme necessário */
    }

    .logo {
        display: none;
        text-align: center;
    }

    .contact {
        order: 2; /* Posiciona à esquerda */
        display: flex;
        flex-direction: column; /* Coloca ícones em coluna */
        align-items: flex-start; /* Alinha ícones à esquerda */
        padding-right: 2rem; /* Espaçamento à esquerda para não colar na borda */
    }

}

/* Resposividade para a <main> */


@media (max-width: 1024px) {


    .product-card {

        justify-content: space-between;
        min-width: 45%;
 

    }
}


@media (max-width: 768px) {

    .product-section {

        margin: 0;
    }

    .product-container {

        justify-content: space-around;
        margin: 0.5rem;
    }

    .product-card {

        justify-content: space-between;
    
    }

    .product-image .main-image{
        width: 100%; /* Ajusta a largura da imagem para se adequar ao contêiner */
        height: auto; /* Mantém a proporção da imagem */
    }
}


@media (max-width: 480px) {

    .about-us {

        padding: 1rem;

    }



    .product-card {

        width: 100%;
        min-width: 45%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;

    }

}

/* Responsividade para o <footer> */


@media (max-width: 768px) {
    footer {
        flex-direction: column;
        /* Muda para layout em coluna para telas menores */
        padding: 0.5rem;
        /* Ajusta o padding para criar mais espaço */
    }

    .footer-left,
    .footer-center,
    .footer-right {
        margin-bottom: 1rem;
        /* Adiciona espaço entre os blocos de conteúdo */
        text-align: center;
        /* Centraliza o conteúdo */
    }

    .footer-left {
        text-align: left;
    
    }

}