:root {
    --primary: #2ecc71;
    --primary-dark: #27ae60;
    --text-main: #f5f5f5;
    --glass-bg: rgba(15, 17, 21, 0.85);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
html { scroll-behavior: smooth; }

body { 
    /* Ajuste do fundo agro para todo o site */
    background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.85)), 
                      url('Img/fundo-agro.jpg.jpeg'); 
    background-size: cover; 
    background-position: center; 
    background-attachment: fixed;
    background-color: #000;
    color: var(--text-main); 
    line-height: 1.6;
}

/* --- BARRA SUPERIOR E NAVBAR --- */
.top-bar { background: var(--primary); color: #000; padding: 8px 5%; font-weight: 700; display: flex; justify-content: space-between; font-size: 0.85rem; }

header {
    background: rgba(0, 0, 0, 0.95); height: 80px; padding: 0 5%; display: flex; justify-content: space-between; align-items: center;
    border-bottom: 2px solid var(--primary); position: sticky; top: 0; z-index: 100;
}

.logo { position: relative; width: 250px; height: 80px; display: flex; align-items: center; }
.logo img { height: 140px !important; position: absolute; transform: translateY(-50%); top: 50%; left: -40px; filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.5)); transition: 0.3s; z-index: 999; }
.logo img:hover { transform: translateY(-50%) scale(1.05); }

.nav-links a { color: #fff; text-decoration: none; margin: 0 12px; font-weight: 600; transition: 0.3s; font-size: 0.95rem; }
.nav-links a:hover { color: var(--primary); }

/* --- HERO --- */
.hero { height: 85vh; display: flex; align-items: flex-start; padding: 100px 5% 0 5%; }
.hero-content h1 { font-size: 3.5rem; line-height: 1.2; font-weight: 900; margin-bottom: 45px; }
.hero-content span { color: var(--primary); text-transform: uppercase; }
.hero-list { list-style: none; margin-bottom: 40px; }
.hero-list li { margin-bottom: 12px; font-size: 1.1rem; display: flex; align-items: center; }
.hero-list li::before { content: '✔ '; color: var(--primary); font-weight: bold; margin-right: 10px; }

/* --- CATEGORIAS --- */
.categories { padding: 60px 5%; text-align: center; }
.grid-categories { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.cat-card { height: 280px; border-radius: 15px; background-size: cover; background-position: center; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, 0.1); transition: 0.4s; cursor: pointer; }
.cat-card:hover { transform: translateY(-10px); border-color: var(--primary); }
.cat-overlay { position: relative; width: 100%; background: rgba(46, 204, 113, 0.9); backdrop-filter: blur(8px); padding: 15px 0; z-index: 2; border-top: 1px solid rgba(255, 255, 255, 0.3); border-bottom: 1px solid rgba(255, 255, 255, 0.3); color: #000; }
.cat-overlay h3 { font-size: 1.5rem; font-weight: 900; }

/* --- SEÇÃO SOBRE NÓS (MVV) --- */
.about-section { padding: 100px 5%; text-align: center; }
.section-title { color: var(--primary); font-size: 2.8rem; font-weight: 900; margin-bottom: 30px; text-transform: uppercase; }
.about-text { max-width: 900px; margin: 0 auto 50px; font-size: 1.2rem; color: #ccc; }

.mvv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; max-width: 1100px; margin: 0 auto; }
.mvv-card { background: rgba(255, 255, 255, 0.05); padding: 40px 20px; border-radius: 15px; border-bottom: 4px solid var(--primary); transition: 0.3s; backdrop-filter: blur(10px); }
.mvv-card:hover { transform: translateY(-10px); background: rgba(255, 255, 255, 0.08); }
.mvv-card h3 { color: var(--primary); margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; }
.mvv-card p { font-size: 1rem; color: #eee; }

/* --- BANNER DE AUTORIDADE --- */
.banner-section {
    width: 100%; min-height: 500px;
    background-image: linear-gradient(90deg, rgba(0,0,0,0.95) 30%, rgba(0,0,0,0.4) 100%), 
                      url('https://images.unsplash.com/photo-1530507629858-e4977d30e9e0?q=80&w=1920&auto=format&fit=crop');
    background-size: cover; background-position: center; background-attachment: fixed;
    margin: 80px 0; display: flex; align-items: center; padding: 0 8%;
    border-top: 2px solid var(--primary); border-bottom: 2px solid var(--primary);
}
.banner-content { max-width: 700px; }
.badge { background: var(--primary); color: #000; padding: 5px 15px; border-radius: 50px; font-weight: 900; font-size: 0.8rem; text-transform: uppercase; display: inline-block; margin-bottom: 25px; }
.banner-content h2 { font-size: 3.2rem; font-weight: 900; margin-bottom: 20px; line-height: 1.1; }
.banner-content p { font-size: 1.25rem; color: #ccc; margin-bottom: 40px; }
.banner-actions { display: flex; gap: 20px; flex-wrap: wrap; }

/* --- SEÇÃO CONTATO --- */
.contact-section { padding: 100px 5%; text-align: center; background: rgba(0,0,0,0.4); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; max-width: 1100px; margin: 50px auto 0; }

.contact-item {
    background: rgba(255, 255, 255, 0.03); /* Bem sutil */
    backdrop-filter: blur(12px); /* O segredo do visual profissional */
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1); /* Borda de "vidro" */
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-item:hover {
    border-color: var(--primary); /* Brilha no hover */
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.contact-label { display: block; color: var(--primary); font-weight: 900; text-transform: uppercase; font-size: 0.85rem; margin-bottom: 15px; }
.contact-label i { margin-right: 8px; font-size: 1rem; }
.contact-value { color: #fff; font-size: 1.15rem; font-weight: 700; text-decoration: none; display: block; margin-bottom: 8px; transition: 0.3s; }
.contact-value:hover { color: var(--primary); }

/* --- BOTÕES --- */
.btn-primary-banner { background: var(--primary); color: #000; padding: 20px 35px; border-radius: 8px; text-decoration: none; font-weight: 900; transition: 0.3s; box-shadow: 0 10px 20px rgba(46, 204, 113, 0.3); }
.btn-secondary-banner { background: transparent; color: #fff; padding: 20px 35px; border-radius: 8px; text-decoration: none; font-weight: 900; border: 2px solid #fff; transition: 0.3s; }
.btn-whatsapp { background: var(--primary); color: #000; padding: 14px 28px; border-radius: 8px; font-weight: 800; text-decoration: none; display: inline-block; transition: 0.3s; text-transform: uppercase; }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); padding: 12px 24px; border-radius: 8px; text-decoration: none; font-weight: 800; transition: 0.3s; }

/* --- ANIMAÇÕES E FOOTER COM REDES SOCIAIS --- */
.fade-up { opacity: 0; transform: translateY(30px); transition: 0.8s all ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

footer { background: rgba(0,0,0,0.95); padding: 50px 20px; text-align: center; border-top: 3px solid var(--primary); }
.social-links { margin-bottom: 25px; display: flex; justify-content: center; gap: 20px; }
.social-links a { color: #fff; font-size: 1.5rem; width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(46, 204, 113, 0.2); transition: all 0.3s ease; text-decoration: none; }
.social-links a:hover { background: var(--primary); color: #000; transform: translateY(-5px); box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4); }
.copyright { color: #888; font-size: 0.9rem; letter-spacing: 1px; }

/* --- RESPONSIVIDADE --- */
@media (max-width: 1024px) {
    .nav-links { display: none; } /* Oculta menu longo em tablets/mobile */
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .banner-content h2 { font-size: 2.2rem; }
    .banner-section { text-align: center; padding: 40px 5%; justify-content: center; background-attachment: scroll; }
    .banner-actions { justify-content: center; }
    .section-title { font-size: 2.2rem; }
}