/* ==========================================================================
   1. CONFIGURAÇÕES GERAIS E CORES BASE
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
}

/* ==========================================================================
   2. CABEÇALHO E DISTRIBUIÇÃO EM 3 BLOCOS (FLEXBOX)
   ========================================================================== */
header {
    background-color: #ffffff;
    border-bottom: 3px solid #002d54; /* Azul Marinho da Logo */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1400px; /* Espaço expandido para acomodar os 3 blocos com elegância */
    margin: 0 auto;
    display: flex;
    justify-content: space-between; /* Esquerda, Centro e Direita */
    align-items: center;
    padding: 12px 20px;
}

/* Bloco Esquerda: Logomarca */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex: 1;
}

.logo-img {
    max-height: 65px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.02);
}

/* ==========================================================================
   3. MENU CENTRALIZADO E DROPDOWN (100% SEGURO)
   ========================================================================== */
.nav-menu-centro {
    display: flex;
    justify-content: center;
    flex: 2; /* Dá mais peso para o menu se manter centralizado */
}

.menu {
    display: flex;
    list-style: none;
}

.menu > li {
    position: relative;
}

.menu a {
    display: block;
    padding: 10px 18px;
    color: #002d54;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.menu > li > a:hover {
    background-color: #002d54;
    color: #ffffff;
    border-radius: 4px;
}

/* Submenu Dropdown Centralizado */
.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-top: 3px solid #002d54;
    list-style: none;
    width: 180px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.dropdown a {
    padding: 12px 20px;
    font-weight: normal;
    font-size: 15px;
    color: #002d54;
    border-bottom: 1px solid #f1f5f9;
    text-align: left;
}

.dropdown a:hover {
    background-color: #f8fafc;
    color: #002d54;
    padding-left: 25px;
}

.menu li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   4. BLOCO DE CONTATOS (DIREITA - ALINHAMENTO COM IMAGENS LOCAIS)
   ========================================================================== */
.contatos-topo {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px; /* Espaço simétrico entre os elementos */
    flex: 1;
}

.icone-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* Trava absoluta nas dimensões dos arquivos de imagem - Impossível deformar */
.img-contato-topo {
    width: 24px;
    height: 24px;
    max-width: 24px;
    max-height: 24px;
    display: block;
    object-fit: contain; /* Garante que a imagem mantenha sua proporção perfeita original */
    transition: transform 0.2s ease;
}

.icone-link:hover .img-contato-topo {
    transform: scale(1.08);
}

/* Link estrutural do telefone (Garante o ícone e o texto na mesma linha de centro) */
.telefone-topo-link {
    display: inline-flex;
    align-items: center; 
    justify-content: center;
    gap: 8px; /* Espaçamento ideal entre a imagem do fone e o texto */
    text-decoration: none;
}

/* Ajuste proporcional do tamanho do ícone do fone ao lado do número */
.fone-mini {
    width: 22px;
    height: 22px;
    max-width: 22px;
    max-height: 22px;
}

.num-texto {
    font-size: 16px;
    font-weight: bold;
    color: #002d54;
    line-height: 1; /* Alinha o centro da fonte perfeitamente com o meio da imagem */
    display: inline-block;
    transition: color 0.3s ease;
}

.telefone-topo-link:hover .num-texto {
    color: #004075;
}

.telefone-topo-link:hover .fone-mini {
    transform: scale(1.05);
}

/* ==========================================================================
   5. BANNER PRINCIPAL (IMAGEM SEM CORTE)
   ========================================================================== */
.hero {
    position: relative;
    background-image: url('imagens/image_945526.jpg');
    background-size: cover; /* Faz a imagem preencher toda a largura */
    background-position: center 30%; /* Move o corte ligeiramente para baixo */
    background-repeat: no-repeat;
    width: 100%;
    min-height: 700px; /* Ajuste aqui a altura desejada */
}

/* ==========================================================================
   6. VITRINES DE PRODUTOS E BOTÕES (GRID ALINHADO HORIZONTAL)
   ========================================================================== */
.catalogos-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

.catalogos-section h2 {
    color: #002d54;
    font-size: 28px;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Força as 4 caixas a ficarem exatamente lado a lado na mesma linha */
.grid-produtos-pescados {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

/* Caixas individuais flexíveis */
.produto-item {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1;
    min-width: 0;
    max-width: 280px;
}

.produto-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 29, 84, 0.1);
    border-color: #002d54;
}

/* Trava a proporção perfeita solicitada de 265x199 */
.img-container-fixo {
    width: 100%;
    aspect-ratio: 265 / 199;
    overflow: hidden;
    border-radius: 4px;
    background-color: #f8fafc;
    margin: 0 auto 15px auto;
}

.produto-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.produto-nome {
    color: #002d54;
    font-size: 15px;
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
}

/* Container e estilos dos botões "Ver mais" */
.ver-mais-container {
    margin-top: 40px;
}

.btn-ver-mais {
    display: inline-block;
    background-color: #002d54;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    padding: 12px 35px;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-ver-mais:hover {
    background-color: #004075;
    transform: translateY(-2px);
}

/* ==========================================================================
   7. TRANSIÇÕES, BANNER INTERMEDIÁRIO E FAIXA CINZA
   ========================================================================== */

/* Banner Intermediário com Imagem de Fundo */
.banner-intermediario {
    position: relative;
    background-image: url('imagens/br-oriental.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    padding: 70px 20px;
    text-align: center;
    width: 100%;
    border-top: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}

.banner-inter-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 29, 84, 0.65); /* Película protetora escura */
    z-index: 1;
}

.banner-inter-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.banner-inter-content h2 {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.banner-inter-content p {
    font-size: 16px;
    color: #e2e8f0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

/* Faixa de fundo alternada (Cinza) para a seção Oriental */
.bg-oriental-container {
    background-color: #f8fafc;
    width: 100%;
    padding: 60px 0;
    border-bottom: 1px solid #e2e8f0;
}

.oriental-section {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* ==========================================================================
   9. SEÇÃO INSTITUCIONAL: QUEM SOMOS
   ========================================================================== */
.quem-somos-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.quem-somos-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px; /* Distanciamento premium entre texto e imagem */
    margin-bottom: 50px;
}

/* Lado Esquerdo: Textos */
.quem-somos-conteudo {
    flex: 1.2; /* Dá um pouco mais de espaço para o texto respirar */
}

.quem-somos-conteudo h2 {
    color: #002d54;
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.quem-somos-conteudo .linha-foco {
    font-size: 18px;
    font-weight: bold;
    color: #004075;
    margin-bottom: 20px;
}

.quem-somos-conteudo p {
    font-size: 16px;
    color: #4a5568;
    margin-bottom: 15px;
    text-align: justify;
}

/* Lado Direito: Imagem */
.quem-somos-imagem {
    flex: 0.8;
    display: flex;
    justify-content: center;
}

.img-institucional {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 29, 84, 0.1); /* Sombra leve e elegante */
    object-fit: cover;
}

/* Linha de Destaques (Pilares) abaixo */
.pilares-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 60px;
    border-top: 1px solid #e2e8f0;
    padding-top: 40px;
}

.pilar-item {
    flex: 1;
    text-align: center;
    padding: 25px 20px;
    background-color: #f8fafc;
    border-radius: 6px;
    border-bottom: 3px solid #002d54; /* Detalhe com o azul da marca */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Container redondo para organizar a foto do pilar */
.pilar-foto-wrapper {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.img-pilar {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Mantém as proporções perfeitas dos novos ícones */
}

.pilar-item h3 {
    color: #002d54;
    font-size: 18px;
    margin-bottom: 10px;
}

.pilar-item p {
    font-size: 14px;
    color: #64748b;
}

/* ==========================================================================
   11. SEÇÃO DE RODAPÉ (FOOTER - NOVO)
   ========================================================================== */
.rodape-principal {
    background-color: #001d3d; /* Azul ultra-escuro elegante */
    color: #e2e8f0;
    padding: 60px 20px 20px 20px;
    margin-top: 100px;
    border-top: 4px solid #002d54;
}

.rodape-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.rodape-coluna {
    flex: 1;
    min-width: 250px; /* Impede que quebre feio em telas médias */
}

/* Subtítulos internos do rodapé */
.rodape-coluna h3 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 8px;
}

/* Pequena linha decorativa abaixo dos títulos do rodapé */
.rodape-coluna h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #004075;
}

/* Estilos específicos da Coluna 1: Logo e Descrição */
.rodape-logo {
    max-height: 50px;
    width: auto;
    margin-bottom: 20px;
    background-color: #ffffff; /* Fundo branco sutil caso a logo seja escura */
    padding: 5px;
    border-radius: 4px;
}

.rodape-descricao {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 20px;
}

.rodape-redes {
    display: flex;
    gap: 12px;
}

.rodape-redes a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #ffffff;
    border-radius: 50%;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.rodape-redes a img {
    width: 18px;
    height: 18px;
}

.rodape-redes a:hover {
    transform: translateY(-3px);
    background-color: #cbd5e1;
}

/* Estilos da Coluna 2: Lojas e Endereços */
.loja-item-rodape {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.pino-mapa {
    font-size: 16px;
    margin-top: 2px;
}

.loja-item-rodape p {
    color: #cbd5e1;
}

.link-fone-rodape {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 4px;
    transition: color 0.2s ease;
}

.link-fone-rodape:hover {
    color: #cbd5e1;
}

/* Estilos da Coluna 3: Links rápidos */
.links-rodape-lista {
    list-style: none;
}

.links-rodape-lista li {
    margin-bottom: 12px;
}

.links-rodape-lista a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.links-rodape-lista a:hover {
    color: #ffffff;
    padding-left: 5px;
}

/* Estilos da Coluna 4: Atendimento */
.txt-atendimento {
    font-size: 14px;
    color: #cbd5e1;
    margin-bottom: 15px;
}

.txt-atendimento strong {
    color: #ffffff;
}

.txt-atendimento-obs {
    font-size: 12px;
    color: #64748b;
    margin-top: 20px;
}

/* Faixa de Direitos Autorais inferior */
.rodape-direitos {
    max-width: 1200px;
    margin: 40px auto 0 auto;
    padding-top: 20px;
    border-top: 1px solid #002d54;
    text-align: center;
    font-size: 13px;
    color: #64748b;
}

/* ==========================================================================
   12. OTIMIZAÇÃO RESPONSIVA NATIVA (CELULAR / MOBILE)
   ========================================================================== */
@media (max-width: 768px) {
    /* Menu e Topo reordenados para telas pequenas */
    .nav-container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .nav-menu-centro {
        width: 100%;
    }

    .menu {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .menu a {
        padding: 8px 12px;
        font-size: 14px;
    }

    /* Dropdown adaptado para celular */
    .dropdown {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background-color: #f8fafc;
        display: none;
    }

    .menu li:hover .dropdown {
        display: block;
    }

    /* Alinhamento de contatos centralizados na parte baixa do topo */
    .contatos-topo {
        width: 100%;
        justify-content: center;
        border-top: 1px solid #e2e8f0;
        padding-top: 12px;
        gap: 15px;
    }

    /* Redução dos Banners no celular para melhor encaixe */
    .hero {
        padding: 60px 15px;
        min-height: 300px;
    }

    .hero h1 {
        font-size: 26px;
        margin-bottom: 12px;
    }

    .hero p {
        font-size: 15px;
    }

    .banner-intermediario {
        padding: 40px 15px;
    }
    
    .banner-inter-content h2 {
        font-size: 19px;
    }

    /* Vitrines no celular mudam de Linha para Coluna (Empilhamento) */
    .grid-produtos-pescados {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .produto-item {
        width: 100%;
        max-width: 289px; /* Mantém os cards proporcionais em telas verticais */
    }

    /* Ajuste Responsivo do Quem Somos (Empilha no celular) */
    .quem-somos-container {
        flex-direction: column;
        gap: 30px;
    }

    .quem-somos-imagem {
        width: 100%;
    }

    .img-institucional {
        max-width: 100%;
    }

    .pilares-container {
        flex-direction: column;
        gap: 20px;
        margin-top: 40px;
    }

    /* Ajustes do rodapé no mobile */
    .rodape-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .rodape-coluna {
        text-align: center;
    }

    .rodape-coluna h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .rodape-redes {
        justify-content: center;
    }

    .loja-item-rodape {
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }
}

/* Refinamento da página de Trabalhe Conosco */
.pagina-trabalhe {
    max-width: 800px;
    margin: 80px auto;
    padding: 20px;
    text-align: center;
}

.titulo-destaque { color: #002d54; font-size: 36px; margin-bottom: 20px; text-transform: uppercase; }
.subtitulo-texto { font-size: 18px; color: #4a5568; margin-bottom: 40px; line-height: 1.5; }

.box-contato {
    background-color: #ffffff;
    padding: 50px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 45, 84, 0.08); /* Sombra suave para destacar o box */
}

.subtitulo-destaque { color: #002d54; margin-bottom: 15px; font-size: 22px; }

.btn-email {
    display: inline-block;
    background-color: #002d54;
    color: #ffffff;
    padding: 18px 40px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    font-size: 20px;
    margin: 25px 0;
    transition: all 0.3s ease;
}

.btn-email:hover { background-color: #004075; transform: translateY(-2px); }
.obs-texto { font-size: 15px; color: #64748b; margin-top: 15px; border-top: 1px solid #edf2f7; padding-top: 15px; }

#quem-somos {
    /* Isso cria uma "margem invisível" que o navegador respeita ao pular para a seção */
    scroll-margin-top: 100px; 
}

.pagina-contatos { max-width: 1000px; margin: 60px auto; padding: 20px; text-align: center; }
.contatos-grid { display: flex; justify-content: space-around; gap: 40px; margin-bottom: 50px; flex-wrap: wrap; }
.box-info { background: #f8fafc; padding: 30px; border-radius: 8px; flex: 1; min-width: 300px; text-align: left; }
.box-info h3 { color: #002d54; margin-bottom: 15px; }
.box-info p { margin-bottom: 10px; }
.mapa-container { margin-top: 30px; }
.mapa-container h3 { margin-bottom: 20px; }