/* ==========================================================================
   SCROLLBAR CUSTOMIZADA (EXCLUSIVA DA PÁGINA AGRO)
   ========================================================================== */
.scroll-agro::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.scroll-agro::-webkit-scrollbar-track {
    background: var(--cor-fundo);
}

.scroll-agro::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #001a00 0%, #004d00 50%, #001a00 100%);
    border-radius: 10px;
}

.scroll-agro::-webkit-scrollbar-thumb:hover {
    background: #d4af37; /* Dourado/Ouro ao passar o mouse */
}

.scroll-agro {
    scrollbar-width: thin;
    scrollbar-color: #004d00 var(--cor-fundo);
}

/* ==========================================================================
   CLIMA DE SOLIDEZ E TERRA (BACKGROUNDS VERDE ESCURO)
   ========================================================================== */
.bg-glow-agro-1, .bg-glow-agro-2 {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    opacity: 0.35;
    pointer-events: none;
    animation: pulsarAgro 5s infinite alternate;
}
.bg-glow-agro-1 { width: 450px; height: 450px; background: #003300; top: -150px; left: -100px; }
.bg-glow-agro-2 { width: 350px; height: 350px; background: #001a00; bottom: -50px; right: -50px; }

@keyframes pulsarAgro {
    0% { opacity: 0.2; transform: scale(0.95); }
    100% { opacity: 0.4; transform: scale(1.05); }
}

/* ==========================================================================
   HERO SECTION (A PRIMEIRA DOBRA PATRIMONIAL)
   ========================================================================== */
.hero-urgencia {
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: clamp(3rem, 6vw, 5rem) 5%;
    position: relative;
    z-index: 2;
}

.hero-urgencia-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Badge Agro */
.badge-agro {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(46, 139, 87, 0.1);
    border: 1px solid rgba(46, 139, 87, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    color: #4caf50;
    text-transform: uppercase;
}

.ponto-pulsante-verde {
    width: 10px; height: 10px; background: #00ff00; border-radius: 50%;
    box-shadow: 0 0 12px #00ff00; animation: pulsarRapidoVerde 1.5s infinite alternate;
}
@keyframes pulsarRapidoVerde {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 20px #00ff00; }
}

.titulo-display-urgencia {
    font-size: clamp(2.8rem, 7vw, 5rem); 
    line-height: 1.05;
    margin-bottom: 1.5rem;
    font-weight: 900;
    letter-spacing: -2px;
}

/* Degradê Ouro/Verde no Título */
.texto-ouro-verde-fluido {
    background: linear-gradient(to right, #d4af37, #2e8b57, #d4af37);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: fluirGradiente 5s linear infinite;
}

.subtitulo-urgencia {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #c0c0c0;
    max-width: 90%;
    margin-bottom: 2.5rem;
    font-weight: 300;
    line-height: 1.6;
}
.subtitulo-urgencia strong { color: #fff; font-weight: 700; }

/* Botão Agro (Verde Escuro e Imponente) */
.btn-alerta-agro {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    background: #004d00;
    color: #fff;
    border: 2px solid #006600;
    padding: clamp(14px, 3vw, 18px) clamp(24px, 5vw, 36px);
    border-radius: 8px;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-family: var(--fonte-principal);
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 51, 0, 0.5);
    width: clamp(250px, 100%, 400px);
}
.btn-alerta-agro:hover {
    background: #006600;
    transform: translateY(-3px);
    border-color: #2e8b57;
    box-shadow: 0 15px 40px rgba(0, 102, 0, 0.6);
}

/* Indicadores de Confiança (Gatilhos) */
.trust-indicators {
    display: flex; gap: clamp(1rem, 2vw, 1.5rem); margin-top: 1.5rem; flex-wrap: wrap;
}
.trust-item {
    display: flex; align-items: center; gap: 6px;
    font-size: clamp(0.8rem, 1.5vw, 0.9rem); color: #a0a0a0; font-weight: 700;
}
.trust-item svg { color: #4caf50; }

/* ==========================================================================
   IMAGEM HERO (TRAVADA E RESPONSIVA)
   ========================================================================== */
.hero-imagem-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.moldura-glass-agro {
    position: relative; padding: 10px;
    background: rgba(0, 20, 0, 0.4); backdrop-filter: blur(15px);
    border-radius: 16px; border: 1px solid rgba(46, 139, 87, 0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    width: 100%;
    max-width: 480px; /* Trava no PC */
    margin: 0 auto;
}

.foto-perfil-vanguarda {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    filter: contrast(1.1) brightness(0.9);
}

.borda-animada-agro {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 16px; border: 2px solid transparent;
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.8), transparent, rgba(46, 139, 87, 0.2)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out; mask-composite: exclude;
    pointer-events: none;
}

/* ==========================================================================
   FRENTES DE COMBATE (CARDS DE SERVIÇO)
   ========================================================================== */
.frentes-combate { padding: clamp(4rem, 8vw, 6rem) 5%; position: relative; z-index: 2; background: rgba(0,0,0,0.4); border-top: 1px solid rgba(255,255,255,0.02); }
.cabecalho-secao-menor { text-align: center; margin-bottom: clamp(3rem, 6vw, 4rem); }
.titulo-secao-menor { font-size: clamp(2rem, 5vw, 2.5rem); font-weight: 900; margin-bottom: 0.5rem; }
.desc-secao { color: #a0a0a0; font-size: clamp(1rem, 2vw, 1.1rem); }

.grid-cards-frentes {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto;
}

.card-glass-frente {
    background: rgba(10, 15, 10, 0.8); border: 1px solid rgba(255, 255, 255, 0.05);
    padding: clamp(2rem, 4vw, 2.5rem); border-radius: 12px; transition: transform 0.3s, border-color 0.3s;
}
.card-glass-frente:hover { transform: translateY(-5px); border-color: rgba(46, 139, 87, 0.3); }

/* Card Destaque Verde */
.destaque-verde { border-color: rgba(46, 139, 87, 0.4); background: rgba(5, 25, 10, 0.6); }

.frente-header { display: flex; align-items: center; gap: 15px; margin-bottom: 1.5rem; }
.frente-icone-agro {
    background: rgba(46, 139, 87, 0.1); color: #4caf50; padding: 12px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center; border: 1px solid rgba(46, 139, 87, 0.2);
}
.card-glass-frente h3 { font-size: clamp(1.2rem, 2.5vw, 1.4rem); font-weight: 700; }
.frente-desc { color: #c0c0c0; font-size: clamp(0.9rem, 2vw, 1rem); line-height: 1.6; }

/* ==========================================================================
   MODAL INJETADO VIA JS (ESTILOS AGRO)
   ========================================================================== */
.modal-oculto { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); backdrop-filter: blur(8px); }
.modal-visivel { display: flex; align-items: center; justify-content: center; padding: 1rem; }
.modal-conteudo-agro {
    background: #0a0f0a; border: 1px solid #2e8b57; padding: clamp(1.5rem, 5vw, 2.5rem);
    border-radius: 12px; width: 100%; max-width: 450px; text-align: center; box-shadow: 0 20px 50px rgba(0, 51, 0, 0.5);
}
.modal-conteudo-agro h3 { color: #4caf50; font-size: 1.5rem; margin-bottom: 1rem; font-weight: 900; }
.modal-conteudo-agro p { color: #d0d0d0; margin-bottom: 1.5rem; font-size: 0.95rem; line-height: 1.5; }
.modal-botoes { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-voltar, .btn-avancar { flex: 1 1 100%; padding: 14px; border-radius: 6px; font-family: inherit; font-weight: bold; cursor: pointer; border: none; font-size: 1rem; transition: 0.3s; }
.btn-voltar { background: transparent; color: #a0a0a0; border: 1px solid #333; }
.btn-voltar:hover { background: rgba(255,255,255,0.05); }
.btn-avancar { background: #004d00; color: #fff; }
.btn-avancar:hover { background: #006600; }

/* ==========================================================================
   RESPONSIVIDADE EXTREMA CIRÚRGICA (MOBILE E TABLET)
   ========================================================================== */
@media (max-width: 992px) {
    .hero-urgencia-grid { 
        grid-template-columns: 1fr; 
        text-align: center; 
        gap: 3rem; 
    }
    
    .hero-texto-wrapper { order: 1; }
    
    .hero-imagem-wrapper { 
        order: 2; 
        margin-top: 1rem; 
    }
    
    .moldura-glass-agro {
        max-width: 350px; /* Reduz a imagem no celular */
    }

    .badge-agro, .trust-indicators { 
        justify-content: center; 
    }
    
    .btn-alerta-agro { 
        margin: 0 auto; 
        width: 100%; 
        max-width: 350px; /* Alinha perfeitamente com a largura da imagem */
    }
}

@media (max-width: 480px) {
    .titulo-display-urgencia {
        font-size: clamp(2.2rem, 8vw, 2.8rem); 
    }
    
    .trust-indicators {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
}