/*
 * DESIGN PROFISSIONAL PARA AGRONEGÓCIO
 * Paleta: Verde (natureza), Dourado (colheita), Terra (solidez)
 */

:root {
    --agro-primary: #2d5016;
    --agro-secondary: #1b3d2f;
    --agro-accent: #c9a651;
    --agro-gold: #daa520;
    --agro-terra: #8b4513;
    --agro-verde-claro: #7cb342;
    --agro-gradient: linear-gradient(135deg, #2d5016 0%, #1b3d2f 50%, #1a4d2e 100%);
}

/* ===========================
   TIPOGRAFIA PROFISSIONAL
   =========================== */
body {
    font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
    color: #2c3e50;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--agro-secondary);
    letter-spacing: -0.5px;
}

.display-1, .display-2, .display-3, .display-4 {
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

/* ===========================
   SEÇÃO HERO / BANNER
   =========================== */
.banner-section {
    position: relative;
    overflow: hidden;
}

.banner-item {
    position: relative;
}

.banner-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(29,53,87,0.7) 0%, rgba(69,123,157,0.6) 100%);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.banner-item img {
    filter: brightness(0.9) contrast(1.1);
    transition: transform 8s ease-out;
}

.banner-item:hover img {
    transform: scale(1.05);
}

/* ===========================
   CARDS MODERNOS AGRO
   =========================== */
.card-agro {
    background: #fff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    position: relative;
}

.card-agro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--agro-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card-agro:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(45,80,22,0.15);
}

.card-agro:hover::before {
    transform: scaleX(1);
}

.card-agro .card-body {
    padding: 2rem;
}

.card-agro .card-title {
    color: var(--agro-secondary);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.card-agro .card-text {
    color: #5a6c7d;
    line-height: 1.7;
}

/* ===========================
   BOTÕES PREMIUM AGRO
   =========================== */
.btn-agro-primary {
    background: var(--agro-gradient);
    color: #fff;
    border: none;
    padding: 0.9rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(45,80,22,0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-agro-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-agro-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(45,80,22,0.4);
    color: #fff;
}

.btn-agro-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-agro-secondary {
    background: transparent;
    color: var(--agro-secondary);
    border: 2px solid var(--agro-secondary);
    padding: 0.9rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-agro-secondary:hover {
    background: var(--agro-secondary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(27,61,47,0.3);
}

/* ===========================
   SEÇÕES COM BACKGROUND
   =========================== */
.section-agro {
    padding: 5rem 0;
    position: relative;
}

.section-agro-dark {
    background: linear-gradient(135deg, #1b3d2f 0%, #2d5016 100%);
    color: #fff;
}

.section-agro-light {
    background: linear-gradient(to bottom, #f8f9fa 0%, #e9ecef 100%);
}

.section-agro-verde {
    background: linear-gradient(135deg, rgba(124,179,66,0.1) 0%, rgba(45,80,22,0.1) 100%);
}

/* ===========================
   TÍTULOS DE SEÇÃO
   =========================== */
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--agro-gold);
    border-radius: 2px;
}

.section-title-center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* ===========================
   ÍCONES E BADGES
   =========================== */
.icon-box {
    width: 80px;
    height: 80px;
    background: var(--agro-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(45,80,22,0.3);
    transition: all 0.4s ease;
}

.icon-box:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(45,80,22,0.4);
}

.badge-agro {
    background: var(--agro-accent);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===========================
   ESTATÍSTICAS / CONTADORES
   =========================== */
.stats-box {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.95);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.stats-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.stats-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--agro-secondary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stats-label {
    font-size: 1rem;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===========================
   IMAGENS COM OVERLAY
   =========================== */
.img-overlay {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.img-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45,80,22,0.8) 0%, rgba(27,61,47,0.6) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.img-overlay:hover::before {
    opacity: 1;
}

.img-overlay img {
    transition: transform 0.4s ease;
}

.img-overlay:hover img {
    transform: scale(1.1);
}

/* ===========================
   LINHAS DECORATIVAS
   =========================== */
.line-agro {
    height: 3px;
    background: var(--agro-gradient);
    width: 100px;
    margin: 2rem auto;
    border-radius: 2px;
}

.line-agro-gold {
    background: linear-gradient(90deg, transparent 0%, var(--agro-gold) 50%, transparent 100%);
}

/* ===========================
   ANIMAÇÕES SUTIS
   =========================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pulse-hover:hover {
    animation: pulse 1s infinite;
}

/* ===========================
   RESPONSIVIDADE
   =========================== */
@media (max-width: 768px) {
    .section-agro {
        padding: 3rem 0;
    }
    
    .stats-number {
        font-size: 2.5rem;
    }
    
    .icon-box {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* ===========================
   SCROLL SUAVE E PARALLAX
   =========================== */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ===========================
   DESTAQUES E CITAÇÕES
   =========================== */
.quote-agro {
    padding: 2rem;
    border-left: 4px solid var(--agro-gold);
    background: rgba(45,80,22,0.05);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--agro-secondary);
    border-radius: 0 8px 8px 0;
}

.highlight-text {
    color: var(--agro-accent);
    font-weight: 700;
}

