* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Encode Sans', sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Navbar (Header) */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8); /* Fundo branco semitransparente */
    backdrop-filter: blur(8px); /* Efeito fosco */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between; /*Espaço igual entre logo e menu*/
    align-items: center;
    padding: 0.4rem 0;
}

.navbar .logo {
    display: flex;
    align-items: center;
}

.navbar .logo img {
    height: 50px;
}

/*Navbar menu*/
.navbar .menu {
    display: flex;
    gap: 2rem; /*Espaço entre os itens do menu*/
    align-items: center; /*Todos os itens alinhados no centro*/
}

.navbar .menu li {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    position: relative;
}

/* Alinhamento do link dentro do menu */
.navbar .menu li a {
    color: #135caa;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: background 0.3s, color 0.3s;
    border-radius: 5px;
}

/* Ajuste do item PRODUTOS (dropdown) */
.navbar .menu .dropdown {
    display: flex;
    align-items: center; /* Alinha o dropdown ao centro */
    justify-content: center;
}


/* Verificar se há algum alinhamento adicional ao item PRODUTOS especificamente */
.navbar .menu li:nth-child(5) a { /* Ajuste para o item PRODUTOS */
    margin-top: 0;
    margin-bottom: 0;
}

.navbar .menu li a:hover {
    background: #09426883;
    color: #fff;
}

/* Estilo do submenu */
.submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: none; /* Esconde por padrão */
    position: absolute;
    background-color: rgba(252, 254, 255, 0.856); /* Fundo branco semitransparente */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra suave */
    border-radius: 8px; /* Bordas arredondadas */
    top: 100%; /* Posiciona abaixo do item "Produtos" */
    left: 0;
    min-width: 180px; /* Largura mínima para o submenu */
    padding: 10px 0;
    z-index: 1000; /* Garantir que fique sobre outros elementos */
    text-align: left;
}

/* Estilo para cada item do submenu */
.submenu li {
    margin: 0;
    font-size: 8px;
    text-align: left;
}

.submenu li a {
    display: block;
    padding: 8px 15px;
    color: #fff; /* Texto branco */
    text-decoration: none;
    font-size: 16px; /* Tamanho da fonte um pouco menor que o menu principal */
    font-weight: 500;
    transition: background-color 0.3s ease;
    text-align: left;
}

/* Efeito de hover nos itens do submenu */
.submenu li a:hover {
    background-color: rgba(103, 169, 255, 0.63); /* Fundo sutil ao passar o mouse */
    border-radius: 4px; /* Bordas arredondadas no hover */
    backdrop-filter: blur(8px); /* Efeito fosco */
}

/* Estilo para o dropdown */
.dropdown {
    position: relative;
    margin-top: 15px;
    margin: 0;
    padding: 0;
}

.dropdown .dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px; /* Tamanho da fonte do item principal */
    color: #000; /* Cor do texto do item principal */
}

/* Estilo da seta (ícone de flecha) */
.dropdown .arrow {
    font-size: 12px;
    margin-left: 5px;
    transition: transform 0.3s;
}

/* Quando o dropdown estiver aberto */
.dropdown.open .arrow {
    transform: rotate(180deg); /* Gira a seta */
}

.dropdown.open .submenu {
    display: block; /* Mostra o submenu */
}


/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0056b3, #007bff); /* Degradê azul */
    color: #fff;
    text-align: center;
    padding: 4rem 1rem;
}

.hero h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero .btn {
    background-color: #11396d;
    color: #fff;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.hero .btn:hover {
    background-color: #0082d9;
}

/* Hero Image Section */
.empresa-imagem {
    position: relative;
    background: url('assets/img/fabrica.png') center/cover no-repeat;
    height: 300px; /* Definindo uma altura fixa para a imagem de fundo */
    margin-top: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 2rem;
}

.empresa-imagem .overlay {
    background-color: rgba(34, 116, 224, 0.87); /* Sobreposição */
    backdrop-filter: blur(4px);
    color: #fff;
    padding: 2rem;
    text-align: center;
    border-radius: 8px;
}

.empresa-imagem h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.empresa-imagem p {
    font-size: 1.2rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

/* Sobre Section */
.sobre {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-top: 2rem;
}

.sobre .container {
    margin-bottom: 2rem;
}

.sobre h2 {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: left;
    color: #135caa;
}

.sobre p {
    display: block;
    flex: 2;
    text-align: left;
    line-height: 1.5;
    color: #555;
}

/* Cards section */

.valores {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Organização em colunas */
    gap: 1.5rem; /* Espaçamento entre os cards */
    margin-top: 2rem;
}

.card {
    background-color: #f1f1f1; /* Cor do fundo */
    border-radius: 8px;
    padding: 1.5rem; /* Espaçamento interno */
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.card h3 {
    font-size: 1.5rem;
    color: #2576cc;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.card img {
    width: 48px;
    height: 48px;
}

.card p {
    color: #555;
    font-size: 1rem;
    line-height: 1.2;
}

/* Estilo para o botão hamburguer */
.hamburguer-menu {
    display: none;
    font-size: 30px;
    cursor: pointer;
}

/* Responsividade */
@media (max-width: 768px) {    
    .navbar .menu {
        display: none; /* Esconde menu em telas pequenas */
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        background-color: #fffffff8;
        backdrop-filter: blur(8px);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 0.5rem 0;
        border-radius: 0 0 8px 8px;
    }

    .navbar .menu.open {
        display: flex; /* Exibe o menu em telas pequenas */
    }

    .navbar .hamburguer-menu {
        display: block; /* Exibe o botão hamburguer */
        color: #0056b3;
    }

    .navbar .logo {
        margin: 0 auto;
    }
    
    /* Sobre section */
    .sobre {
        flex-direction: column;
    }

    .sobre-conteudo p {
        text-align: justify;
    }

    /* Hero section */
    .hero {
        padding: 2rem 1rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    /* Valores */
    .valores {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .card {
        padding: 1rem;
    }

    .card h3 {
        font-size: 1.3rem;
    }

    .card p {
        font-size: 0.9rem;
    }

    .card img {
        width: 38px;
        height: 38px;
    }

    /* Footer */
    .footer {
        align-items: center;
        text-align: center;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        width: 100%;
        margin-bottom: 10px;
    }

    .footer-icons {
        display: flex;
        justify-content: center;
    }

    .footer-icons a i {
        font-size: 28px;
    }

    .footer-rights {
        font-size: 0.7em;
    }
}

/* Footer */
.footer {
    margin-top: 10%;
    background-color: #0059ac;
    color: #fff;
    padding: 20px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
}

/* Sections do Footer */
.footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 80px;
}

.footer-section:first-child {
    flex: 1.3;
}

.footer-title img {
    max-width: 200px; /* Tamanho da Logo */
}

.footer-description {
    line-height: 1.5; /* Espaçamento entre linhas */
    margin: 10px 0 0;
}

.footer-list {
    list-style: none;
    padding: 0; /* Espaçamento interno */
    margin: 0; /* Espaçamento Externo */
}

.footer-title {
    margin-bottom: 20px;
}

.footer-list li {
    margin-bottom: 25px; /* Espaçamento entre os itens*/
    
}

.footer-link {
    color: white; /* Cor dos links */
    text-decoration: none; /* Sem sublinhado */
    font-size: 1rem;
}

.footer-link:hover {
    text-decoration: underline;
    color: #eeeeeee8;
}

.footer-contact {
    color: white;
    text-decoration: none;
}

.footer-contact:hover {
    text-decoration: underline;
    color: #eeeeeee8;
}

.footer-icons {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.footer-icons i {
    font-size: 20px;
}

.footer-contact {
    color: white;
    text-decoration: none;
}

.footer-contact:hover {
    text-decoration: underline;
    color: #eeeeeee8;
}

/* Rodapé inferior */
.footer-bottom {
    text-align: center;
    justify-content: center;
    font-size: 0.8em; 
    align-items: center;
}

.footer-privacy {
    
    text-align: center;
    background-color: #0082d9;
    margin-top: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 20px;
}

.footer-privacy:hover {
    text-decoration: underline;
    color: #eeeeeee8;
}

/* Pop-up aviso de privacidade */
.swal2-popup {
    border-radius: 10px;
    background-color: #f9f9f9;
   
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.swal2-title {
    color: #004085; /* Cor do título */
    font-weight: bold;
}

.swal2-confirm {
    background-color: #007bff !important;
    color: #fff !important;
    border-radius: 18px;
    padding: 8px 16px;
}
