/* =========================================================
   VARIÁVEIS E RESET BÁSICO (PRETO E DOURADO)
========================================================= */
:root {
    --cor-primaria: #111111; 
    --cor-texto: #333333;
    --cor-fundo: #fbfbfb; 
    --cor-branco: #ffffff;
    --cor-destaque: #D4AF37; 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
}

body {
    font-family: 'Inter Tight', sans-serif;
    color: var(--cor-texto);
    background-color: var(--cor-fundo);
    line-height: 1.6;
    overflow-x: hidden; 
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================================
   CABEÇALHO E MENU
========================================================= */
.cabecalho {
    background-color: var(--cor-branco);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky; 
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px; 
}

.logo a {
    text-decoration: none;
    color: var(--cor-primaria);
    font-size: 24px;
}

.menu ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.menu a {
    text-decoration: none;
    color: var(--cor-texto);
    font-weight: 600;
    transition: color 0.3s;
}

.menu a:hover {
    color: var(--cor-destaque);
}

/* Cor verde específica para o link de Agronegócio */
.menu a.link-verde {
    color: #4CAF50; /* Verde escuro elegante */
}

.menu a.link-verde:hover {
    color: #2E7D32; /* Verde ainda mais escuro no hover */
}

/* =========================================================
   SEÇÕES GERAIS E BANNER (HERO)
========================================================= */
section {
    padding: 80px 0;
}

.espacamento-secao {
    padding: 40px 20px;
}

.espacamento-extra {
    margin-top: 40px;
    margin-bottom: 80px; 
}

.titulo-centralizado {
    text-align: center;
    font-size: 2.2rem;
    color: var(--cor-primaria);
    margin-bottom: 30px;
}

.hero {
    background-image: linear-gradient(rgba(17, 17, 17, 0.6), rgba(17, 17, 17, 0.6)), url('foto1.jpg');
    background-size: cover; 
    background-position: center center; 
    background-repeat: no-repeat;
    color: var(--cor-branco);
    text-align: center;
    padding: 220px 20px; 
}

/* --- EFEITO DO TÍTULO NO BANNER --- */
#titulo-banner {
    font-size: 3.6rem; 
    display: inline-block;
    transition: transform 0.4s ease, text-shadow 0.4s ease; 
    cursor: default;
}

.destaque-agora {
    display: inline-block;
    transition: all 0.4s ease;
    color: inherit; 
}

.efeito-destaque-js {
    transform: scale(1.03); 
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.9); 
}

.efeito-destaque-js .destaque-agora {
    color: var(--cor-destaque); 
    text-shadow: 0 0 15px var(--cor-destaque); 
    transform: scale(1.1) rotate(-2deg); 
}

/* =========================================================
   QUEM SOMOS
========================================================= */
.sobre-nos {
    background-color: var(--cor-primaria);
    color: var(--cor-branco);
    padding-bottom: 40px; 
}

.sobre-nos h2 {
    margin-bottom: 20px;
    font-size: 2rem;
    color: var(--cor-branco); 
}

.texto-sobre p {
    font-size: 1.2rem;
    line-height: 1.8;
}

/* =========================================================
   ESTATÍSTICAS (CARROSSEL COM FUNDO DOURADO)
========================================================= */
.numeros-destaque {
    background-color: var(--cor-destaque);
    color: var(--cor-primaria);
    padding: 20px 0;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 5px 15px rgba(0,0,0,0.1);
}

.carrossel-track {
    display: flex;
    width: max-content;
    animation: scrollCarrossel 25s linear infinite;
}

.numeros-destaque:hover .carrossel-track {
    animation-play-state: paused;
}

.item-numero {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 50px;
}

.item-numero h2 {
    font-size: 2.8rem;
    margin: 0;
    color: var(--cor-primaria);
    white-space: nowrap;
}

.item-numero p {
    font-size: 1.1rem;
    line-height: 1.2;
    margin: 0;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0.9;
    color: var(--cor-primaria);
}

@keyframes scrollCarrossel {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

/* =========================================================
   PASSO A PASSO (CAIXAS COM ALTURAS IGUAIS)
========================================================= */
.flex-passos {
    display: flex;
    align-items: stretch; /* Garante que todas as caixas estiquem até a altura da maior */
    justify-content: space-between;
    gap: 15px; 
}

.passo {
    background-color: var(--cor-branco);
    padding: 30px 20px;
    border-radius: 8px; 
    border: 1px solid #e1e4e8;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); 
    flex: 1; 
    
    /* Configura o interior da caixa para que os textos continuem centralizados verticalmente */
    display: flex;
    flex-direction: column;
    justify-content: center;
    
    text-align: center;
    transition: all 0.3s ease; 
}

.passo .numero {
    font-size: 3rem;
    font-weight: bold;
    color: var(--cor-destaque);
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.passo p {
    font-weight: 500;
    transition: color 0.3s ease;
}

.passo:hover {
    background-color: var(--cor-primaria); 
}

.passo:hover .numero {
    color: var(--cor-destaque); 
}
.passo:hover p {
    color: var(--cor-branco);
}

.seta {
    /* Mantém as setas verticalmente e horizontalmente no centro do espaço delas */
    display: flex;
    align-items: center;
    justify-content: center;
    
    font-size: 2.5rem;
    color: var(--cor-destaque); 
    font-weight: bold;
}

/* =========================================================
   6 MOTIVOS (VANTAGENS)
========================================================= */
.grid-vantagens {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.lista-vantagens li {
    background-color: var(--cor-branco);
    padding: 25px 20px;
    border-left: 5px solid var(--cor-destaque);
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    font-size: 1.05rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lista-vantagens li strong {
    display: block;
    margin-bottom: 8px;
    color: var(--cor-primaria);
    font-size: 1.15rem;
}

.lista-vantagens li:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

/* =========================================================
   COMPARATIVO (FINANCIAMENTO X CONSÓRCIO)
========================================================= */
.subtitulo-comparativo {
    text-align: center;
    color: var(--cor-destaque);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 40px;
    margin-top: -15px;
}

.cards-comparativo {
    display: flex;
    gap: 30px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.card-preco {
    background-color: var(--cor-branco);
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    flex: 1;
}

.card-preco h3 {
    font-size: 1.6rem;
    color: var(--cor-primaria);
    margin-bottom: 10px;
}

.linha-separadora {
    height: 3px;
    width: 40px;
    background-color: var(--cor-destaque); 
    margin-bottom: 25px;
}

.card-preco ul {
    list-style: none;
    margin-bottom: 10px;
}

.card-preco ul li {
    margin-bottom: 18px;
    font-size: 1.05rem;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 8px;
}

.card-preco ul li:last-child {
    border-bottom: none;
}

.letras-miudas {
    max-width: 900px;
    margin: 30px auto 0 auto;
    text-align: center;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
}

/* =========================================================
   DEPOIMENTOS (CARROSSEL COM SETAS)
========================================================= */
.depoimentos-section {
    text-align: center;
}

.depoimentos-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--cor-branco);
    padding: 40px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
}

.depoimentos-viewport {
    overflow: hidden;
    width: 100%;
}

.depoimentos-track {
    display: flex;
    list-style: none;
    transition: transform 0.5s ease-in-out;
    margin: 0;
    padding: 0;
}

.depoimento-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 0 20px;
}

.depoimento-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.depoimento-texto {
    font-size: 1.25rem;
    font-style: italic;
    color: #555;
    line-height: 1.6;
}

.depoimento-autor {
    font-size: 1.15rem;
    color: var(--cor-destaque); 
    font-weight: 700;
}

.btn-seta {
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--cor-primaria);
    cursor: pointer;
    transition: color 0.3s, transform 0.2s;
    padding: 10px;
}

.btn-seta:hover {
    color: var(--cor-destaque);
    transform: scale(1.1);
}

/* =========================================================
   ÁREAS DE ATUAÇÃO
========================================================= */
.grid-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card-area {
    background-color: var(--cor-branco);
    padding: 40px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-bottom: 5px solid var(--cor-destaque);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-area:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.icone-area {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: inline-block;
}

.card-area h3 {
    color: var(--cor-primaria);
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.card-area p {
    color: var(--cor-texto);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* =========================================================
   BOTÕES GERAIS DE AÇÃO (CTAs)
========================================================= */
.btn-cta {
    display: inline-block;
    text-align: center;
    box-sizing: border-box;
    background-color: var(--cor-destaque);
    color: var(--cor-primaria);
    font-size: 1.2rem;
    font-weight: 700;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    border: 2px solid var(--cor-destaque);
}

.btn-cta:hover {
    background-color: transparent;
    color: var(--cor-destaque);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(212, 175, 55, 0.4);
}

/* =========================================================
   FORMULÁRIO DE CONTATO 
========================================================= */
.secao-contato {
    text-align: center;
}

.form-container {
    max-width: 650px;
    margin: 0 auto;
    background-color: var(--cor-branco);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    text-align: left;
}

.grupo-input {
    margin-bottom: 20px;
}

.grupo-input label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--cor-primaria);
    font-size: 1.05rem;
}

.grupo-input input,
.grupo-input select,
.grupo-input textarea {
    display: block;
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background-color: #f9f9f9;
    color: var(--cor-texto);
    transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
}

.grupo-input select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23333" viewBox="0 0 16 16"><path d="M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

.grupo-input input:focus,
.grupo-input select:focus,
.grupo-input textarea:focus {
    outline: none;
    border-color: var(--cor-destaque);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
    background-color: var(--cor-branco);
}

.btn-enviar {
    display: block;
    width: 100%;
    cursor: pointer;
    border: none;
    margin-top: 20px;
    text-align: center;
}

/* =========================================================
   RODAPÉ
========================================================= */
.rodape {
    background-color: var(--cor-primaria);
    color: var(--cor-branco);
    padding: 60px 0 20px;
}

.grid-rodape {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.contato-rodape h3 {
    margin-bottom: 15px;
}

.text-center {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

/* =========================================================
   BOTÃO FLUTUANTE DO WHATSAPP (CANTO DIREITO)
========================================================= */
.whatsapp-flutuante {
    position: fixed;
    bottom: 30px;
    right: 30px; /* Mantido no lado direito */
    background-color: #25d366; 
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 15px rgba(0,0,0,0.3);
    z-index: 9999; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-flutuante:hover {
    transform: scale(1.1);
    box-shadow: 0px 6px 18px rgba(0,0,0,0.4);
    color: white;
}

/* =========================================================
   RESPONSIVIDADE GERAL (Telas de Celular e Tablets)
========================================================= */
@media (max-width: 900px) {
    .flex-passos {
        flex-direction: column; 
    }
    
    .passo {
        width: 100%;
    }
    
    .seta {
        transform: rotate(90deg); 
        margin: 15px 0;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
    }
    
    .menu ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 140px 20px; 
    }
    
    #titulo-banner {
        font-size: 2.2rem; 
    }

    .titulo-centralizado {
        font-size: 1.8rem;
    }

    .item-numero h2 {
        font-size: 2rem;
    }
    .item-numero p {
        font-size: 0.95rem;
    }
    .item-numero {
        padding: 0 30px;
    }

    .depoimentos-container {
        padding: 30px 10px;
    }
    .depoimento-texto {
        font-size: 1.05rem;
    }
    .btn-seta {
        font-size: 1.8rem;
    }

    /* Correção do botão para o Celular */
    .btn-cta {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 320px; 
        margin: 20px auto 0 auto;
        padding: 15px 20px;
        line-height: 1.4; 
        white-space: normal;
    }

    /* Responsividade do Formulário */
    .form-container {
        padding: 25px 20px;
    }

    /* Ajuste do WhatsApp no lado Direito no mobile também */
    .whatsapp-flutuante {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    .whatsapp-flutuante svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 700px) {
    .cards-comparativo {
        flex-direction: column;
    }
}