/* --- GERAL / CORES --- */
:root {
    --verde-logo: #016A4A;
    --azul-logo: #003B79;
    --vermelho-logo: #D3222A;
    --amarelo-logo: #FFC72C;
    --branco: #FFFFFF;
    --cinza-fundo: #F4F6F5;
    --cinza-texto: #333333;
    --cinza-borda: #E0E0E0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--branco); color: var(--cinza-texto); line-height: 1.6;
}
.container { max-width: 1440px; margin: 0 auto; padding: 0 50px; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin-bottom: 20px; font-weight: 700; }
h2 { color: #0B7347; font-size: 2.5em; text-align: center; }
section { padding: 80px 0; }

/* --- BOTÕES --- */
.button {
    display: inline-block; background-color: #0B7347; color: var(--branco);
    padding: 12px 28px; text-decoration: none; font-weight: 600; border-radius: 8px;
    font-size: 1.1em; transition: transform 0.2s ease, background-color 0.2s ease;
    border: none; cursor: pointer;
}
.button:hover { background-color: #015038; transform: scale(1.03); }

/* --- BOTÃO CTA --- */
.button.cta { background-color: #0B7347; }
.button.cta:hover { background-color: #015038; }

/* --- TOP BAR --- */
.top-bar { background-color: #0B7347; padding: 8px 0; font-size: 0.9em; }
.top-bar-nav ul { list-style: none; display: flex; justify-content: flex-end; gap: 25px; margin: 0; padding: 0; }
.top-bar-nav a { color: var(--branco); text-decoration: none; font-weight: 500; transition: opacity 0.3s ease; }
.top-bar-nav a:hover { opacity: 0.8; }

/* --- HEADER & MENU --- */
.header {
    background-color: var(--branco); padding: 15px 0; position: sticky;
    top: 0; z-index: 1000; box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { max-width: 140px; height: auto; }

.nav-search-group {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
    justify-content: flex-end;
}

.nav-links { list-style: none; display: flex; align-items: center; margin: 0; }
.nav-links li { margin-left: 30px; }
.nav-links a {
    color: var(--cinza-texto); text-decoration: none; font-weight: 600;
    font-size: 1.05em; transition: color 0.3s ease; position: relative;
    padding-bottom: 5px; white-space: nowrap;
}
.nav-links a:hover { color: #0B7347; }
.nav-links a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background-color: #0B7347; transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }

/* --- RODAPÉ ESTILO FINAL (Centralizado no PC, Alinhamento Ícone/Texto Corrigido) --- */
.footer {
    background-color: #0B7347; 
    color: #fff;
    padding: 60px 0 30px 0;
    text-align: center; 
}

.header-flex {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: flex-start;
}

.footer h3 {
    color: #FFC72C;
    font-size: 1.4em;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    
    display: inline-block;
    padding-bottom: 8px;
    border-bottom: 3px solid #ffffff;
}

/* 1. ESTILO DO TEXTO COM ÍCONE */
.footer p, 
.footer a {
    display: flex; 
    align-items: center; 
    justify-content: center;
    margin-bottom: 12px;
    font-size: 1em;
    color: #e6f7f2;
    text-decoration: none;
    gap: 8px; 
}

.footer a:hover {
    color: #007bff !important; 
}

/* 2. ESTILO SÓ DO ÍCONE */
.footer i {
    margin-right: 0; 
    width: 20px;
    text-align: center;
    color: #ffffff;
}

/* 3. REGRAS DE LAYOUT (Flex) */
.footer .header-flex > div {
    display: flex;
    flex-direction: column;
    align-items: center; 
    flex: 1;
}

/* Garante que o ponto (bullet point) seja removido das listas */
.social-links, .social-links-footer { 
    list-style: none; 
    padding: 0;
    margin: 0;
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.15);
    text-align: center;
    font-size: 0.85em;
    color: #ccc;
}

/* --- BOTÃO "VER DETALHES" (VERDE SÓLIDO) --- */
.product-card-link .button {
    background-color: #0B7347;
    color: var(--branco);
    border: none;
    transition: background-color 0.2s ease;
}

.product-card-link:hover .button {
    background-color: #015038; 
}

/* --- BOTÃO WHATSAPP FIXO --- */
.whatsapp-sticky-button {
    position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2); z-index: 1001; transition: transform 0.2s ease;
}
.whatsapp-sticky-button:hover { transform: scale(1.1); }
.whatsapp-sticky-button img { width: 60px; height: 60px; border-radius: 50%; }

/* --- MOBILE (CELULAR) - MANTÉM A CENTRALIZAÇÃO --- */
@media (max-width: 768px) {
    .header-flex {
        flex-direction: column; 
        align-items: center; 
        gap: 30px; 
    }
    
    .footer {
        padding: 50px 20px;
    }

}