/* --- CONFIGURAÇÕES GLOBAIS --- */
:root {
    --fundo-preto: #050505;
    --texto-branco: #E0E0E0;
    --texto-titulo: #FFFFFF;
    --verde-neon: #39FF14; /* Um verde neon mais profissional */
    --fundo-card: #1A1A1A;
    --borda-card: #2A2A2A;
    --fosco-bg: rgba(0, 0, 0, 0.7); /* Fundo semi-transparente para o card fosco */
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--fundo-preto);
    font-family: 'Poppins', sans-serif;
    color: var(--texto-branco);
    line-height: 1.7;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
}

/* --- TIPOGRAFIA --- */
h1, h2, h3 {
    color: var(--texto-titulo);
    font-weight: 600;
    line-height: 1.3;
}
h4 {
    color: var(--texto-titulo);
    font-weight: 600;
}


h1 {
    font-size: 3.5rem; /* 56px */
    margin-bottom: 20px;
}

h2 {
    font-size: 2.5rem; /* 40px */
    margin-bottom: 20px;
    text-align: center;
}

p {
    font-size: 1.1rem; /* 17.6px */
    margin-bottom: 20px;
    font-weight: 300;
}

a {
    color: var(--verde-neon);
    text-decoration: none;
    transition: color 0.3s ease;
}

/* --- NAVEGAÇÃO --- */
.navbar {
    background: rgba(5, 5, 5, 0.8); /* Fundo semi-transparente */
    backdrop-filter: blur(10px); /* Efeito de vidro fosco */
    border-bottom: 1px solid var(--borda-card);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex; 
    align-items: center; /* Alinha a imagem e o texto verticalmente */
    height: 100%;
    gap: 12px; /* Adiciona um espaço entre a imagem e o texto */
}

.logo img {
    height: 40px; /* Ajuste a altura da logo conforme necessário */
    width: auto; 
    max-width: 180px;
}

/* NOVO ESTILO PARA O TEXTO AO LADO DA LOGO */
.logo span {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--texto-titulo);
    white-space: nowrap; /* Evita que o nome quebre a linha */
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--texto-branco);
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--verde-neon); /* Verde neon SÓ no hover */
}

/* --- SEÇÃO HERÓI --- */
.hero {
    padding: 180px 0 120px 0;
    text-align: center;
    min-height: 80vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: url('agro-background.jpg') no-repeat center center/cover; 
}

.hero::before { /* Overlay escuro sobre a imagem */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75); /* Um pouco mais escuro para maior contraste */
    z-index: 1;
}

.hero-content-card { /* O CARD FOSCO ATUALIZADO (sem borda neon) */
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.6); /* Mais transparente */
    backdrop-filter: blur(12px); /* Efeito fosco/borrado mais intenso */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Borda muito sutil (branco suave) */
    border-radius: 12px;
    padding: 50px 40px;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content-card h1 {
    font-size: 3.2rem;
    color: var(--texto-titulo);
}

.hero-content-card p {
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 30px auto;
    font-weight: 300;
    color: var(--texto-branco);
}

/* O Verde Neon Estratégico */
.highlight-green {
    color: var(--verde-neon);
}

/* O Botão (CTA) */
.cta-button {
    background: var(--verde-neon);
    color: #000;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 15px 35px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(57, 255, 20, 0.2);
    color: #000;
}

/* --- SEÇÃO SOBRE --- */
.section-sobre {
    padding: 100px 0;
    background: var(--fundo-preto);
}

.section-sobre .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.split {
    flex: 1;
}

.placeholder-image {
    width: 100%;
    height: 350px;
    background-color: var(--fundo-card);
    border: 1px solid var(--borda-card);
    border-radius: 12px;
    background-size: cover;
    background-position: center;
}

/* --- SEÇÃO IMPACTO (NÚMEROS) --- */
.section-numeros {
    background-color: var(--fundo-card);
    padding: 80px 0;
    border-top: 1px solid var(--borda-card);
    border-bottom: 1px solid var(--borda-card);
}

.numeros-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.numero-item {
    text-align: center;
}

.numero-item h2 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--verde-neon);
    margin-bottom: 5px;
}

.numero-item p {
    font-size: 1.1rem;
    color: var(--texto-branco);
    margin: 0;
}

/* --- SEÇÃO PILARES (Estilo dos Cards) --- */
.section-pilares {
    padding: 100px 0;
    background-color: var(--fundo-preto);
}

.pilares-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.card {
    background: var(--fundo-card);
    border: 1px solid var(--borda-card);
    padding: 30px;
    border-radius: 12px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--verde-neon);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--texto-titulo);
}

/* ====================================
  ESTILOS DA SEÇÃO AGROLÍDERES
  ====================================
*/
.section-agrolideres {
    padding: 100px 0;
    background-color: var(--fundo-preto);
    border-top: 1px solid var(--borda-card);
}

.agrolideres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.lider-card {
    background: var(--fundo-card);
    border: 1px solid var(--borda-card);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lider-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(57, 255, 20, 0.1); /* Brilho neon sutil no card do líder */
}

/* 1. O CÍRCULO (AGORA UM CONTÊINER) */
.lider-foto {
    width: 120px;
    height: 120px;
    border-radius: 50%; /* Continua fazendo o círculo */
    margin: 0 auto 20px auto;
    border: 3px solid var(--verde-neon);
    overflow: hidden; /* IMPORTANTE: Corta a imagem no formato do círculo */
    
    /* Removemos todas as propriedades de 'background-image' */
}

/* 2. A IMAGEM DENTRO DO CÍRCULO */
.lider-foto img {
    width: 100%;
    height: 100%;
    
    /* Cobre o espaço, mantendo a proporção */
    object-fit: cover; 
    
    /* Ajuste de foco para o rosto:
       (50% = centro horizontal, 20% = perto do topo vertical)
       Experimente 10% ou 30% se o rosto não estiver certo
    */
    object-position: 50% 20%; 
}

.lider-card h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--texto-titulo);
}

.lider-info {
    font-size: 0.9rem;
    color: var(--verde-neon);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block; /* Para ficar abaixo do nome */
    margin-bottom: 15px;
}

.lider-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--texto-branco);
}

.lider-card p {
    font-size: 1rem;
    font-weight: 300;
    color: var(--texto-branco);
    margin-bottom: 0; /* Garante que não há margem extra */
}

/* ****** NOVO ESTILO DO BOTÃO DO LÍDER ****** */
.lider-button {
    display: inline-block; /* Para permitir padding e margin */
    margin-top: 25px; /* Espaço entre a descrição e o botão */
    padding: 10px 30px;
    border: 1px solid var(--verde-neon);
    color: var(--verde-neon);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.lider-button:hover {
    background-color: var(--verde-neon);
    color: var(--fundo-preto); /* Inverte as cores */
    box-shadow: 0 5px 15px rgba(57, 255, 20, 0.2);
    transform: translateY(-2px);
}
/* ====================================
  FIM DOS NOVOS ESTILOS
  ====================================
*/


/* --- SEÇÃO CONTATO (Formulário) --- */
.section-contato {
    padding: 100px 0;
    background: var(--fundo-card);
    border-top: 1px solid var(--borda-card);
}

.section-contato h2, .section-contato p {
    text-align: center;
}

.section-contato p {
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    display: grid;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    padding: 18px;
    background: var(--fundo-preto);
    border: 1px solid var(--borda-card);
    border-radius: 8px;
    color: var(--texto-branco);
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--verde-neon);
}

.contact-form .cta-button {
    justify-self: center;
    border-radius: 8px;
}

/* --- RODAPÉ --- */
.footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--borda-card);
    background: var(--fundo-preto);
    color: #888;
}

/* --- RESPONSIVIDADE (Ajustes para Celular) --- */
@media (max-width: 900px) {
    .numeros-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .navbar .container { flex-direction: column; gap: 10px; }
    .nav-links { padding-top: 10px; }

    .hero { padding: 140px 0 80px 0; }
    .hero-content-card { padding: 30px 20px; }
    .hero-content-card h1 { font-size: 2.5rem; }
    .hero-content-card p { font-size: 1rem; }
    
    .section-sobre .container { flex-direction: column; }
    .split { width: 100%; }
    .placeholder-image { height: 250px; }

    .numero-item h2 { font-size: 2.8rem; }
    
    .agrolideres-grid {
        grid-template-columns: 1fr; /* 1 coluna no celular */
    }
}

@media (max-width: 480px) {
    .numeros-grid {
        grid-template-columns: 1fr;
    }
}