/* Configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



body {
    font-family: 'Open Sans', sans-serif;
    color: var(--cinza-texto);
    /* Lembrete da restrição: tudo deve caber em 100vh, mas isso será aplicado ao layout principal */
}

a {
    text-decoration: none;
    color: inherit;
}

/* NOVO: Ajuste de padding no main para compensar o header fixo */
main {
    padding-top: 83px; 
}

/* Variáveis (Replicadas aqui para estilo, mas já estão no loading.css) */
:root {
    --verde-profundo: #1A5E2E;
    --verde-ativo: #8BC34A;
    --amarelo-botao: #F7B53A; /* Cor do botão Fale Conosco */
    --cinza-texto: #333333;
    --cor-fundo-bloco: #f5f5f5; /* Cor cinza claro para os blocos placeholder */
    --cor-fundo-footer-claro: #E8E8E8; /* Cinza claro para o footer */
    --padding-horizontal: 200px; /* Variável para o padding lateral do conteúdo principal */
}

#loading-overlay {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999 !important;
    overflow: hidden;
}

/* ========================================================= */
/* ESTILOS DE HEADER (FIXO) */
/* ========================================================= */

.main-header {
    /* CORREÇÃO PARA MENU FIXO */
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    background-color: white; 
    height: 90px !important;
    overflow: visible !important;
    /* Propriedades existentes */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px var(--padding-horizontal); 
    border-bottom: 1px solid #EBEBEB; 
}

/* Estilo do Logo (Container) */
.logo {
    display: flex;
    align-items: center;
}

/* Estilo da Imagem do Logo */
.logo-img {
    height: 60px; 
    width: auto;
}




/* Container para Navegação e Botão de Contato */
.header-actions {
    display: flex;
    align-items: center;
    gap: 40px; 
}

/* Estilo da Navegação */
.main-nav {
    display: flex;
    gap: 30px; 
    font-family: 'Lato', sans-serif; 
    font-weight: 600;
    font-size: 16px;
}

.nav-item {
    position: relative;
    padding-bottom: 5px; 
    transition: color 0.3s ease;
    color: var(--cinza-texto); /* Garante a cor padrão quando não está ativo/hover */
}

/* ESTILOS ATIVOS */
.nav-item.active {
    color: var(--verde-profundo); 
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--amarelo-botao); 
    border-radius: 1px;
}

/* CORREÇÃO AQUI: Estilos de HOVER (igual ao ativo) */
.nav-item:hover {
    color: var(--verde-profundo); /* Cor do texto ao passar o mouse */
}

.nav-item:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--amarelo-botao); 
    border-radius: 1px;
}

/* Estilo do Botão "Fale Conosco" */
.btn-contact {
    background-color:#1B4229;
    color: #F3FFD6;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 16px;
    padding: 12px 25px; 
    border-radius: 5px;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Adicionado para alinhar o ícone e o texto */
    display: flex;
    align-items: center;
    gap: 8px; /* Espaçamento entre o ícone e o texto */
}

/* Estilo para o Ícone do WhatsApp no Header */
.whatsapp-icon-header {
    width: 18px; /* Tamanho fixo para o ícone */
    height: 18px;
    filter: none; 
    fill: #F3FFD6; 
    stroke: #F3FFD6; 
    color: #F3FFD6; 
}

/* ========================================================= */
/* ESTILOS DA SEÇÃO HERO SLIDER */
/* ========================================================= */

/* NOVO WRAPPER DO SLIDER (BOXED) */
.hero-slider-container {
    width: 100%;
    max-width: calc(100% - 2 * var(--padding-horizontal));
    margin: 0 auto;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* Mantém o slider na altura total, mas agora o conteúdo fica dentro do container */
.hero-slider {
    height: calc(100vh - 83px);
    position: relative;
    overflow: visible; /* Importante para não cortar as sombras do box */
}

/* AS IMAGENS AGORA RESPEITAM O BOX */
.hero-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Imagens do slide */
.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.hero-img.active {
    opacity: 1;
}

/* Gradiente aplicado dentro do box */
.hero-images::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(to right, 
        rgba(0, 0, 0, 0.5) 40%,        
        rgba(0, 0, 0, 0.15) 75%,    
        rgba(0, 0, 0, 0) 100%       
    );
}

/* Conteúdo dentro do box */
.hero-content {
    position: absolute; /* CORRIGIDO para respeitar o box */
    z-index: 10;
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: var(--padding-horizontal);
    padding-right: 50px;
    background: transparent;
}

.hero-title, .hero-description {
    color: white;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-description {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 450px;
}

/* Botões */
.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-primary {
    background-color: #1B4229;
    color: #F3FFD6;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 18px;
    padding: 15px 35px;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 18px;
    padding: 15px 35px;
    border: 2px solid white;
    border-radius: 5px;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateY(-2px);
}

/* NAV DENTRO DO BOX */
.slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
    z-index: 15;
}

.nav-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: white;
}

.nav-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav-arrow svg {
    width: 20px;
    height: 20px;
    stroke: white;
}

/* THUMBNAILS DENTRO DO BOX */
.thumbnail-controller {
    position: absolute;
    bottom: 30px;
    right: 50px;
    z-index: 15;
    display: flex;
    gap: 15px;
}

.thumbnail-item {
    width: 80px;
    height: 80px;
    cursor: pointer;
    overflow: hidden;
    border-radius: 10px;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.thumbnail-item:hover {
    opacity: 0.9;
}

.thumbnail-item.active {
    opacity: 1;
    border-color: var(--amarelo-botao);
    transform: scale(1.05);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* PROGRESS BAR */
.hero-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 15px;
    background-color: #1B4229;
    overflow: hidden;
    z-index: 20;
}

.indicator-progress {
    width: 0%;
    height: 100%;
    background-color: var(--amarelo-botao);
}



/* ========================================================= */
/* ESTILOS PARA AS SEÇÕES DE CONTEÚDO (GENÉRICOS) */
/* ========================================================= */

.content-section {
    padding: 80px 0; 
    background-color: white;
}

.section-container {
    width: 100%;
    max-width: calc(100% - 2 * var(--padding-horizontal)); 
    margin: 0 auto;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 36px;
    color: var(--cinza-texto);
    margin-bottom: 30px;
    color: #1B4229;
}

/* 1. BENEFÍCIOS */

.benefits-area {
    margin-bottom: 80px;
}

.benefits-grid {
    display: flex;
    gap: 30px;
    justify-content: space-between;
}

.benefit-card {
    width: calc((100% - 60px) / 3); 
    height: 250px; 
    background-color: var(--cor-fundo-bloco);
    border-radius: 8px;
    
    opacity: 1; 
    transform: none; 
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

/* 2. NOSSA PESQUISA (Texto Esquerda 40% | Infográfico Direita 60%) */

.research-area {
    margin-top: 80px; 
    margin-bottom: 80px;
}

.research-content {
    display: flex;
    gap: 30px;
    align-items: center;
    padding-top: 30px;
}

.research-text-block {
    flex: 0 0 40%; 
    opacity: 1; 
    transform: none;
}

.research-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 28px;
    color: var(--cinza-texto);
    margin-bottom: 15px;
}

.research-description {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

.infographic-block {
    flex: 0 0 60%; 
    height: 400px;
    background-color: var(--cor-fundo-bloco);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: #999;
    
    opacity: 1; 
    transform: none; 
}

.infographic-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px; /* opcional, só se quiser arredondar igual ao layout */
}


/* 3. INFOGRÁFICO 2 (Infográfico 60% | Texto 40%) */

.infographic-section-two {
    padding: 80px 0; 
}

.infographic-content-two {
    display: flex;
    gap: 30px;
    align-items: center;
    padding-top: 30px;
}

.infographic-block-two {
    flex: 0 0 60%; 
    height: 400px;
    background-color: var(--cor-fundo-bloco);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: #999;
    
    opacity: 1;
    transform: none;
}

.infographic-text-two {
    flex: 0 0 40%; 
    
    opacity: 1;
    transform: none;
}

.infographic-text-two .research-subtitle {
    margin-bottom: 15px;
}
.infographic-text-two .research-description {
    /* Estilos herdados de .research-description */
} 


/* 4. SOBRE NÓS  */ 

.about-us-content {
    display: flex;
    justify-content: space-between;
    align-items: center;   
    gap: 50px;
}

.about-us-section {
    padding: 80px 0;
    margin-bottom: 0px; 
    align-items: center;
}

.about-us-section .section-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.card-about {
    background: #fff;
    padding: 32px 40px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-about:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* BLOCO ÚNICO DA IMAGEM — CORRIGIDO */
.about-us-image {
    flex: 0 0 40%;
    height: 280px; /* pode ajustar */
    background-color: transparent !important; /* removido fundo cinza */
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.about-us-image img {
    width: 60%;   /* diminui tamanho da logo */
    height: auto;
    object-fit: contain;
    display: block;
}

.about-us-text {
    flex: 0 0 60%; 
}

.about-us-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 36px;
    color: #1B4229;
    margin-bottom: 25px;
}

.about-us-description {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}


/* 5. CTA FINAL */

.final-cta-section {
    /* Aplicando gradiente de verde escuro */
    background: linear-gradient(to right, 
        var(--verde-profundo), 
        #144C25 
    );
    padding: 60px 0; 
}

.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center; 
    max-width: calc(100% - 2 * var(--padding-horizontal)); 
    margin: 0 auto;
}

.cta-text-content {
    max-width: 65%; 
    color: white; 
}

.cta-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 40px; 
    margin-bottom: 10px;
}

.cta-description {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    line-height: 1.5;
    opacity: 0.8; 
}

.btn-cta-final {
    background-color: var(--amarelo-botao);
    color: white;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 18px;
    padding: 18px 40px; 
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-cta-final:hover {
    background-color: #C28E4D; /* Amarelo Dourado Escuro no hover */
    transform: translateY(-2px);
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    padding: 15px;
    border-radius: 6px;
    border: none;
    width: 260px;
    font-size: 16px;
    outline: none;
}

.newsletter-form button {
    background-color: var(--amarelo-botao);
    color: white;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 16px;
    padding: 15px 25px;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    transition: 0.3s;
}

.newsletter-form button:hover {
    background-color: #c28e4d;
}

/* 6. SEÇÃO CONTATO */

.contact-section {
    padding: 80px 0;
}

.contact-content {
    display: flex;
    gap: 50px;
    padding-top: 30px;
    align-items: flex-start; 
}

.contact-form {
    flex: 0 0 45%; 
}

/* Campos de Input e Textarea */
.input-group {
    position: relative;
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
}

.input-icon {
    position: absolute;
    top: 15px; 
    left: 15px;
    width: 20px;
    height: 20px;
    color: #999;
    transition: color 0.3s;
    z-index: 2;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 15px 15px 15px 45px; 
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
    resize: none; 
}

.form-textarea {
    height: 250px; /* Altura ajustada para 250px (sua última alteração) */
    padding-top: 15px;
}

/* Foco e Validação */
.input-group:focus-within .input-icon {
    color: var(--verde-profundo);
}

.input-group.error .form-input,
.input-group.error .form-textarea {
    border-color: #E53935; 
}

.input-group.success .form-input,
.input-group.success .form-textarea {
    border-color: var(--verde-ativo); 
}

.error-message {
    position: absolute;
    bottom: -20px;
    left: 0;
    color: #E53935;
    font-size: 13px;
    font-weight: 600;
    margin-top: 5px;
    display: none; 
}

.input-group.error .error-message {
    display: block;
}

/* Contador de Caracteres */
.message-group {
    position: relative;
}

.char-count {
    position: absolute;
    bottom: 5px;
    right: 15px;
    font-size: 12px;
    color: #999;
}

.message-group.error .char-count {
    color: #E53935;
}

/* Botão de Envio e Ações */
.form-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.btn-submit {
    background-color: #1B4229;
    color: #F3FFD6;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 18px;
    padding: 15px 35px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}


/* BLOCO VISUAL DO CONTATO (AGORA COM A IMAGEM) */
.contact-visual-placeholder {
    flex: 1; 
    min-height: 400px; /* GARANTE QUE O BLOCO APAREÇA */
    border-radius: 8px;
    
    background-image: url("../IMG/imgcontato.webp"); /* troque pelo seu caminho se necessário */
    background-size: cover;       /* imagem cobre 100% da área */
    background-position: center;  /* centraliza */
    background-repeat: no-repeat; /* impede repetição */
}

/* Mensagem de Status (Sucesso/Erro Global) */
.status-message {
    font-size: 16px;
    font-weight: 600;
}

.status-message.success {
    color: var(--verde-ativo);
}

.status-message.error {
    color: #E53935;
}


/* 7. RODAPÉ (FOOTER) */

.main-footer {
    margin-top: 50px; 
    width: 100%;
}

/* Parte Superior (Fundo Claro) */
.footer-content-top {
    background-color: var(--cor-fundo-footer-claro); /* #E8E8E8 */
    padding: 40px 0;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-end; 
}

/* Estilo do Logo/Marca no Footer */
.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.footer-logo-img {
    height: 60px; 
    width: auto;
    margin-right: 10px;
}

.footer-brand-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 24px;
    color: var(--verde-profundo); 
    letter-spacing: -0.5px;
}

/* Informações da Marca (Logo + Descrição) */
.footer-brand-info {
    flex: 0 0 45%; 
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    max-width: 80%;
}

/* Coluna de Links (Vazia no design, mas mantém o espaço) */
.footer-links {
    flex: 1; 
}

/* Copyright */
.footer-copyright {
    text-align: right;
    font-size: 14px;
    color: #666;
    font-weight: 600;
    white-space: nowrap; 
}

/* Faixa Inferior (Fundo Escuro) - ESTILOS LGPD AQUI */
.footer-bottom-band {
    background-color: var(--verde-profundo); /* #1A5E2E */
    padding: 15px 0; 
    height: auto; 
}

/* Container que envolve os links para alinhar esq/dir (usa a largura do .section-container) */
.footer-links-container {
    display: flex;
    justify-content: space-between; /* Alinha a esquerda e a direita nas extremidades */
    align-items: center;
    width: 100%;
    /* Garante que o padding lateral seja aplicado aqui, assumindo que .section-container está dentro. */
    /* Como o HTML usa .section-container *dentro* da banda, o .section-container já fará o espaçamento. */
}

/* Container dos links do lado esquerdo (Privacidade e Termos) */
.footer-links-left {
    display: flex;
    gap: 30px; /* Espaçamento entre os links da esquerda */
}

/* Estilo para todos os links do rodapé na barra inferior */
.footer-link {
    color: white; /* Cor do link branco */
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 1;
    text-decoration: underline;
}


/* 8. WIDGET WHATSAPP */

.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 100px; 
    z-index: 1000;
    /* Estilos iniciais para esconder o widget no topo da página */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px); 
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
}

/* Estilo para mostrar o widget quando a classe 'show' é adicionada pelo JS */
.whatsapp-widget.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-icon-btn {
    width: 55px;
    height: 55px;
    background-color: #25D366; 
    color: white; 
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-icon-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.35);
}

.whatsapp-icon-btn svg {
    /* Garante que o SVG seja branco e visível */
    width: 28px;
    height: 28px;
    fill: currentColor; 
    stroke: none; 
}

/* POPUP DO CHAT */
.whatsapp-chat-popup {
    position: absolute;
    bottom: 75px; 
    right: 0;
    width: 280px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.whatsapp-chat-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.popup-header {
    background-color: var(--verde-profundo);
    color: white;
    padding: 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    border-radius: 10px 10px 0 0;
}

.popup-body {
    padding: 15px;
    font-size: 14px;
    color: var(--cinza-texto);
}

.popup-body p {
    line-height: 1.5;
}

.popup-footer {
    padding: 15px;
    text-align: center;
    border-top: 1px solid #eee;
}

.btn-chat-now {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px;
    background-color: #25D366; 
    color: white;
    font-weight: 700;
    border-radius: 5px;
    transition: background-color 0.2s ease;
}

.btn-chat-now:hover {
    background-color: #1DA851;
}

.btn-chat-now svg {
    width: 18px;
    height: 18px;
    margin-right: 8px;
}


/* 9. ESTILOS DO BOTÃO BACK TO TOP */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px; 
    height: 55px; 
    background-color: var(--verde-profundo); 
    color: white; 
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25); 
    z-index: 1000; 
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px); 
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease; 
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: #164f26; 
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.35); 
    transform: translateY(-2px); 
}

.back-to-top svg {
    width: 24px; 
    height: 24px;
    stroke: currentColor; 
    stroke-width: 2.5; 
}

/* ================================
   SEÇÃO PESQUISAS — LAYOUT
================================ */


.pesquisas-section {
    padding: 80px 0;
}

/* título */
.pesquisas-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 40px;
    margin-bottom: 40px;
    color: #1B4229;
}

/* ===========================================================
   GRID — 3 CARDS EM CIMA / 2 CARDS EMBAIXO
=========================================================== */

.pesquisas-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 35px;
}

.pesquisa-card:nth-child(-n+3) {
    grid-column: span 4;   /* 4+4+4 = 12 */
}

.pesquisa-large {
    grid-column: span 4;   /* 6+6 = 12 */
}

/* ===========================================================
   CARD BASE
=========================================================== */

.pesquisa-card {
    position: relative;
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 4px 20px rgba(0,0,0,0.06);
    transition: 0.4s ease;
}

/* Ajuste da altura se quiser aumentar */
.pesquisa-card {
    min-height: 280px;
}

/* ===========================================================
   SEMICÍRCULO VERDE CLARO (CÍRCULO GRANDE)
=========================================================== */

.circle-bg {
    position: absolute;
    top: -90px;      /* sobe mais para não encostar no texto */
    left: -90px;     /* afasta da área do texto */
    width: 140px;    /* tamanho reduzido */
    height: 140px;
    background: #92BE22;
    border-radius: 50%;
    transition: 0.45s ease;
    z-index: 1;
}

.pesquisa-card:hover .circle-bg {
    transform: scale(2.6);
}

/* ===========================================================
   CÍRCULO VERDE ESCURO (APARECE NO HOVER)
=========================================================== */

.circle-icon {
    position: absolute;
    top: 15px;
    left: 35px;
    width: 60px;
    height: 60px;
    background: #1B4229;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.2);
    transition: 0.45s ease;
    z-index: 2;
}

.pesquisa-card:hover .circle-icon {
    opacity: 1;
    transform: scale(1);
}

/* ÍCONE SVG DENTRO DO CÍRCULO ESCURO */
.circle-icon img {
    width: 26px;
    height: 26px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ===========================================================
   TEXTOS
=========================================================== */

.pesquisa-card h3,
.pesquisa-card p {
    position: relative;
    z-index: 10;
    color: #1B4229;
}

.pesquisa-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
    margin-top: 40px; /* afastado do círculo */
}

.pesquisa-card p {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.6;
}

/* hover muda o fundo inteiro */
.pesquisa-card:hover {
    background: #92BE22;
}

/* ===========================================================
   RESPONSIVO
=========================================================== */

@media (max-width: 1100px) {

    .pesquisas-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pesquisa-card:nth-child(-n+3),
    .pesquisa-large {
        grid-column: span 2 !important;
    }
}

@media (max-width: 700px) {

    .pesquisas-grid {
        display: block;
    }

    .pesquisa-card {
        width: 100%;
        margin-bottom: 30px;
    }

    /* Remove animação no mobile */
    .circle-bg,
    .circle-icon {
        display: none;
    }
}


/* BOTÃO DENTRO DOS CARDS */
.btn-pesquisa {
      display: inline-block;
    background-color: #0f3d22;
    color: white;
    padding: 10px 25px;
    border-radius: 6px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: 0.3s ease;
    margin-top: 20px;
    position: relative;
    z-index: 10; /* impede sombra atrás */
}

.btn-pesquisa:hover {
    background: #16361f;
    transform: translateY(-2px);
}


/* Tela que entra da direita → esquerda */
.overlay-slide {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: #0f3d22;
    z-index: 9999;
    animation: slideIn 0.6s forwards ease-in-out;
}

/* Tela que entra da esquerda → direita (voltar) */
.overlay-slide-back {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #0f3d22;
    z-index: 9999;
    animation: slideBack 0.6s forwards ease-in-out;
}

@keyframes slideIn {
    from { right: -100%; }
    to { right: 0; }
}

@keyframes slideBack {
    from { left: -100%; }
    to { left: 0; }
}







/* ============================= */
/* BLOQUEAR SCROLL LATERAL MOBILE */
/* ============================= */
@media (max-width: 600px) {
    html, body {
        overflow-x: hidden !important;
        max-width: 100% !important;
    }
}


/* ============================= */
/* MENU HAMBÚRGUER — MOBILE */
/* ============================= */
.menu-toggle {
    background: transparent;
    border: none;
    display: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle img {
    width: 32px;
    height: 32px;
}

/* MOBILE NAV */
.mobile-nav-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: #ffffff;
    padding: 40px 20px;
    transition: right .3s ease;
    box-shadow: -4px 0 12px rgba(0,0,0,.22);
    z-index: 9999;

    /* 👇 chave da correção: quando fechado, não intercepta clique/hover */
    pointer-events: none;
}

.mobile-nav-container.active {
    right: 0;

    /* 👇 quando aberto, volta a receber os cliques normalmente */
    pointer-events: auto;
}

.mobile-only {
    display: none;
}

.desktop-only {
    display: flex;
}

/* DESKTOP SOME NO MOBILE */
@media (max-width: 600px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    .menu-toggle {
        display: block;
    }
}

/* ITENS DO MENU DESKTOP (mantém como está) */
.main-nav .nav-item {
    display: block;
    font-size: 20px;
    color: #333;
    padding: 10px 0;
}


/* DESKTOP SOME NO MOBILE */
@media (max-width: 600px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    .menu-toggle {
        display: block;
    }
}

/* ITENS DO MENU */
.main-nav .nav-item {
    display: block;
    font-size: 20px;
    color: #333;
    padding: 10px 0;
}

/* ============================================
   CORREÇÃO FINAL DO HEADER NO MOBILE (ATÉ 600px)
   ============================================ */
@media (max-width: 600px) {

    /* Reduz o padding lateral absurdo (200px → 16px) */
    .main-header {
        padding: 12px 16px !important;
        height: 70px !important;
        display: flex !important;
        justify-content: space-between;
        align-items: center;
    }

    /* Ajusta tamanho da logo */
    .logo-img {
        height: 48px !important;
        width: auto !important;
    }

    /* Ajusta tamanho do ícone hambúrguer */
    .menu-toggle img {
        width: 28px !important;
        height: 28px !important;
    }

    /* Evita que o padding do main crie espaço no topo */
    main {
        padding-top: 64px !important;
    }

    /* Elimina QUALQUER margem fantasma entre header e hero */
    header, .main-header, main, section:first-of-type {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}


