/* =========================================
   1. VARIÁVEIS E CORES (Agro Tech Palette)
   ========================================= */
:root {
    --primary-green: #1B4D3E;   /* Verde Amazônia Profundo */
    --accent-red: #BE2A2A;      /* Vermelho Café Maduro (Destaque/Urgência) */
    --accent-gold: #D4AF37;     /* Dourado (Valor/Premium) */
    
    --bg-light: #F4F7F6;        /* Cinza Gelo Suave (Fundo Geral) */
    --bg-white: #ffffff;
    
    --text-dark: #222222;
    --text-gray: #555555;
    
    /* Sombras e Efeitos */
    --shadow-sm: 0 5px 15px rgba(0,0,0,0.05);
    --shadow-lg: 0 15px 40px rgba(27, 77, 62, 0.15);
    
    /* Gradientes */
    --gradient-green: linear-gradient(135deg, #1B4D3E 0%, #2E7D32 100%);
    --gradient-red: linear-gradient(135deg, #BE2A2A 0%, #E53935 100%);
    
    --transition: all 0.3s ease;
}

/* =========================================
   2. RESET E GERAL
   ========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden; /* Evita rolagem horizontal indesejada */
    line-height: 1.6;
}

h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; font-weight: 800; }
a { text-decoration: none; }
ul { list-style: none; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.text-center { text-align: center; }

/* Utilitários de Margem */
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mt-20 { margin-top: 20px; }
.max-600 { max-width: 600px; margin: 0 auto; }

/* =========================================
   3. HERO SECTION (CABEÇALHO COMPACTO)
   ========================================= */
.hero-section {
    min-height: auto; /* Remove altura de tela cheia para ser compacto no mobile */
    padding-top: 80px;
    padding-bottom: 120px; /* Espaço para as ondas */
    background: url('https://images.unsplash.com/photo-1511537632536-974c2056447b?q=80&w=1920') center/cover no-repeat fixed;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Gradiente verde escuro para legibilidade */
    background: linear-gradient(to bottom, rgba(27, 77, 62, 0.95), rgba(27, 77, 62, 0.85));
    z-index: 1;
}

.hero-content { 
    position: relative; 
    z-index: 10; /* Garante que o texto fique acima das ondas */
    max-width: 900px; 
    width: 100%;
}

/* LOGO FLUTUANTE (LIMPA) */
.logo-wrapper {
    margin-bottom: 15px;
    animation: float 6s ease-in-out infinite; /* Flutuação suave */
}

.hero-logo {
    width: 140px;
    height: auto;
    object-fit: contain;
    background: transparent;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.4)); /* Sombra para destacar do fundo */
}

.badge {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(5px);
    padding: 5px 15px;
    border-radius: 50px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    margin-bottom: 15px;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-content h1 { 
    font-size: 2.5rem; 
    line-height: 1.2; 
    margin-bottom: 15px; 
}
.text-highlight { color: var(--accent-gold); }

.hero-content p { 
    font-size: 1.1rem; 
    margin-bottom: 30px; 
    opacity: 0.95; 
    max-width: 700px;
    margin-left: auto; 
    margin-right: auto;
}

.hero-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

/* Onda Decorativa no Rodapé do Header */
.hero-waves {
    position: absolute; bottom: 0; left: 0; width: 100%; 
    z-index: 1; /* Atrás do conteúdo */
    pointer-events: none; /* Permite clicar através da onda */
}

/* =========================================
   4. BOTÕES (ESTILOS GERAIS)
   ========================================= */
.btn {
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    display: flex; align-items: center; gap: 10px;
    transition: var(--transition);
    font-size: 1rem; cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Botão Principal (Vermelho/Degradê) */
.btn-primary {
    background: var(--gradient-red);
    color: white; border: none;
    box-shadow: 0 10px 20px rgba(190, 42, 42, 0.3);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(190, 42, 42, 0.5); }

/* Botão Secundário (Sólido Branco para contraste) */
.btn-outline {
    background-color: #ffffff;
    border: 2px solid #ffffff;
    color: var(--primary-green);
    font-weight: 800;
}
.btn-outline:hover {
    background-color: transparent;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.btn-full { width: 100%; justify-content: center; background: var(--primary-green); color: white; border: none; }
.btn-full:hover { background: #143d30; }

/* =========================================
   5. QUIZ INTERATIVO (APP STYLE)
   ========================================= */
.bg-light { background-color: var(--bg-light); }

.subtitle { color: var(--text-gray); font-style: italic; margin-top: 5px; }
.mini-title { text-transform: uppercase; font-weight: 700; letter-spacing: 1px; font-size: 0.9rem; }
.mini-title.red { color: var(--accent-red); }

.quiz-container {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

/* Barra de Progresso */
.progress-bar {
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: var(--accent-red);
    width: 0%;
    transition: width 0.3s ease;
}

/* Cartão da Pergunta */
.quiz-card {
    background: white;
    padding: 40px 30px;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.icon-area {
    width: 80px; height: 80px;
    background: #FFF5F5; /* Vermelho bem claro */
    color: var(--accent-red);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.5rem;
}
.result-icon { background: #E8F5E9; color: var(--primary-green); }

.quiz-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.4;
    min-height: 60px;
}

/* Botões do Quiz (Sim/Não) */
.quiz-buttons { display: flex; gap: 15px; justify-content: center; }

.btn-quiz {
    flex: 1;
    padding: 15px;
    border-radius: 15px;
    border: 2px solid transparent;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    transition: 0.2s;
}
.btn-quiz.no { background: white; border-color: #ddd; color: #777; }
.btn-quiz.yes {
    background: var(--accent-red);
    color: white;
    box-shadow: 0 5px 15px rgba(190, 42, 42, 0.3);
}
.btn-quiz:active { transform: scale(0.95); }

/* Animação de slide do cartão */
.slide-in-right { animation: slideIn 0.4s forwards; }
@keyframes slideIn {
    from { transform: translateX(50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.hidden { display: none; }

/* Box de Veredito no Resultado */
.verdict-box {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    font-size: 0.95rem;
}
.verdict-box strong { color: var(--accent-red); }

/* =========================================
   6. SOLUÇÃO & MOVIMENTO (VISUAL)
   ========================================= */
.bg-white { background-color: white; }
.row-split { display: flex; flex-wrap: wrap; gap: 50px; align-items: center; }
.col-text { flex: 1; min-width: 300px; }
.col-visual { flex: 1; min-width: 300px; }

.pill { background: var(--primary-green); color: white; padding: 5px 15px; border-radius: 50px; font-size: 0.8rem; text-transform: uppercase; }
.text-gradient { background: var(--gradient-green); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.lead { font-size: 1.2rem; font-weight: bold; margin: 20px 0; color: var(--primary-green); }

.feature-list { margin-top: 20px; }
.feature-list li { margin-bottom: 10px; display: flex; align-items: center; gap: 10px; font-weight: 600; }
.text-green { color: var(--primary-green); font-size: 1.2rem; }

/* Card "O que está acontecendo" */
.movement-card {
    background: linear-gradient(135deg, #fdfbf7 0%, #fff 100%);
    border: 2px solid var(--accent-gold);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}
.movement-card h3 { color: var(--primary-green); margin-bottom: 10px; }
.sparkle-list li { margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.sparkle-list i { color: var(--accent-gold); }

/* =========================================
   7. REASSURANCE (Não faça sozinho)
   ========================================= */
.bg-green-dark { background-color: var(--primary-green); }
.text-white { color: white; }
.text-gold { color: var(--accent-gold); }
.icon-large { font-size: 4rem; color: var(--accent-gold); margin-bottom: 20px; }

/* =========================================
   8. TIMELINE RAMPA (Linha do Tempo)
   ========================================= */
.timeline { position: relative; max-width: 800px; margin: 60px auto 0; }

/* Linha Central */
.timeline::after {
    content: ''; position: absolute; width: 4px; background-color: #ddd;
    top: 0; bottom: 0; left: 50%; margin-left: -2px; border-radius: 2px;
}

.timeline-item { 
    padding: 10px 40px; 
    position: relative; 
    width: 50%; 
    box-sizing: border-box; 
    margin-bottom: 30px; 
}
.timeline-item.left { left: 0; text-align: right; }
.timeline-item.right { left: 50%; text-align: left; }

.timeline-item .content {
    padding: 20px; background: white; border-radius: 15px;
    box-shadow: var(--shadow-sm); border: 1px solid #eee;
    transition: var(--transition);
}
.timeline-item:hover .content { transform: scale(1.03); border-color: var(--primary-green); }

/* Bolinha Central */
.timeline-item::after {
    content: ''; position: absolute; width: 20px; height: 20px;
    right: -10px; background-color: var(--accent-gold);
    border: 4px solid white; top: 25px; border-radius: 50%; z-index: 1;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}
.timeline-item.right::after { left: -10px; }

.step-number { font-size: 2rem; opacity: 0.1; font-weight: 800; display: block; line-height: 1; margin-bottom: 5px; }

/* =========================================
   9. CTA FINAL & FORM
   ========================================= */
.cta-section { padding: 80px 20px; background: linear-gradient(to bottom, var(--bg-light), #e0e8e5); }

.cta-card {
    background: white; border-radius: 30px; box-shadow: var(--shadow-lg);
    display: flex; overflow: hidden; flex-wrap: wrap;
}

.cta-text { flex: 1; padding: 50px; background: var(--primary-green); color: white; min-width: 300px; }
.cta-form-wrapper { flex: 1; padding: 50px; min-width: 300px; }

.fire-badge { 
    background: var(--accent-red); color: white; display: inline-block; 
    padding: 5px 15px; border-radius: 20px; font-weight: bold; font-size: 0.8rem; margin-bottom: 20px; 
}

.benefits-box { background: rgba(255,255,255,0.1); padding: 20px; border-radius: 10px; margin-top: 30px; }
.benefits-box ul { list-style: disc; margin-left: 20px; margin-top: 10px; }

/* Inputs do Form */
.input-group { position: relative; margin-bottom: 15px; }
.input-group i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #999; }
.input-group input {
    width: 100%; padding: 15px 15px 15px 45px;
    border: 2px solid #eee; border-radius: 10px; outline: none; transition: var(--transition);
}
.input-group input:focus { border-color: var(--primary-green); }

.secondary-action { text-align: center; margin-top: 15px; font-size: 0.9rem; }
.secondary-action a { color: var(--text-gray); text-decoration: underline; }

/* =========================================
   10. FOOTER & WHATSAPP
   ========================================= */
.whatsapp-float {
    position: fixed; bottom: 30px; right: 30px;
    background: #25D366; color: white;
    width: 60px; height: 60px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px; box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
    z-index: 100; transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); }

footer { background: #111; color: #888; text-align: center; padding: 40px 20px; }

/* =========================================
   11. ANIMAÇÕES
   ========================================= */
.fade-up { opacity: 0; transform: translateY(30px); animation: fadeInUp 1s forwards; }
.fade-down { opacity: 0; transform: translateY(-30px); animation: fadeInUp 1s forwards; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.reveal { opacity: 0; transform: translateY(50px); transition: all 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* =========================================
   12. RESPONSIVIDADE (MOBILE OPTIMIZATION)
   ========================================= */
@media (max-width: 768px) {
    
    /* Ajustes Hero Mobile */
    .hero-section { padding-top: 40px; padding-bottom: 80px; }
    .hero-logo { width: 100px; }
    .hero-content h1 { font-size: 1.8rem; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .btn { width: 100%; justify-content: center; }

    /* Ajustes Quiz Mobile */
    .quiz-card { padding: 30px 20px; }
    .icon-area { width: 60px; height: 60px; font-size: 1.8rem; }
    .quiz-card h3 { font-size: 1.2rem; margin-bottom: 20px; }

    /* Ajustes Timeline Mobile (Vertical Checklist) */
    .timeline { margin-top: 40px; }
    .timeline::after { left: 20px; } /* Linha vai para a esquerda */
    
    .timeline-item { 
        width: 100%; 
        padding-left: 60px; /* Espaço para bolinha */
        padding-right: 0; 
        text-align: left !important; 
        margin-bottom: 20px; 
    }
    
    .timeline-item.left, 
    .timeline-item.right { left: 0; }
    
    .timeline-item::after { left: 10px !important; right: auto; } /* Bolinha na esquerda */

    /* Ajustes CTA/Form Mobile */
    .cta-card { flex-direction: column; }
    .cta-text, .cta-form-wrapper { padding: 30px 20px; }
    .icon-large { font-size: 3rem; }
}

/* ESTILOS DO MAPA */
.map-container {
    width: 100%;
    height: 450px; /* <--- ISSO É CRUCIAL. Sem altura, o mapa some. */
    background: #e0e0e0; /* Cor de fundo para ver se a caixa existe */
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid white;
    z-index: 1;
}

/* Estilo do Pino no Mapa */
.custom-pin {
    background-color: #1B4D3E;
    border: 2px solid white;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}