/* CSS DA PÁGINA DE LOCAÇÃO - INTEGRADO */

/* Variáveis locais para garantir suas cores */
.locacao-scope {
    --cor-azul-principal: #243e98;
    --cor-amarelo-destaque: #e3a700;
    --cor-fundo: #f0f2f5;
    --cor-texto-branco: #ffffff;
    --cor-texto-escuro: #1c1e21;
    --cor-whatsapp-verde: #25D366;
    font-family: 'Inter', sans-serif;
    color: var(--cor-texto-escuro);
}

.locacao-scope .container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.highlight { color: #e3a700; }
.highlight-blue { color: #243e98; }

/* ================================ */
/* HERO SECTION (Ajustada para Navbar Fixa) */
/* ================================ */
.hero-section {
    position: relative;
    height: 95vh; /* Aumentei para compensar */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding: 0 20px;
    
    /* TRUQUE PARA ENCAIXAR NA NAVBAR: */
    margin-top: -90px; /* Sobe o banner pra trás da navbar */
    padding-top: 140px; /* Empurra o conteúdo pra baixo */
}

.hero-background {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: #333;
    /* INSIRA O CAMINHO CORRETO DA SUA IMAGEM DE FUNDO AQUI */
    background-image: url('../images/fundo-locacao.jpg'); 
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(36, 62, 152, 0.9); /* Azul sólido/transparente igual seu print */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem; 
}

.hero-logo {
    max-width: 180px; /* Ajustei levemente para não brigar com espaço */
    height: auto;
}

.hero-headline {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.hero-subheadline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 650px;
    opacity: 0.9;
    color: #fff;
}

/* Restante do CSS igual ao seu original */
.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.locacao-scope .btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
}
.locacao-scope .btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-cta {
    background-color: #e3a700;
    color: #1c1e21;
}

.btn-whatsapp {
    background-color: transparent;
    border-color: #ffffff;
    color: #ffffff;
}
.btn-whatsapp .icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
}

.trust-indicators {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0rem;
}
.indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.dot {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    background-color: #e3a700;
}

/* SETAS */
.scroll-down-indicators {
    position: absolute;
    bottom: 40px;
    width: 100%;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
    padding: 0 5%;
    pointer-events: none;
}

.scroll-arrow {
    width: 3.5rem; height: 3.5rem;
    color: #e3a700;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
    animation: bounce 2s infinite;
}
.left-arrow { transform: translateX(-50%); }
.right-arrow { transform: translateX(50%); }

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-15px); }
    60% { transform: translateY(-8px); }
}

/* SECTIONS */
.how-it-works-section {
    padding: 4rem 0;
    background-color: #f0f2f5;
    position: relative;
    z-index: 4;
}

.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 900; margin-bottom: 0.5rem; color: #1c1e21; }
.section-header p { font-size: 1.1rem; color: #65676b; }

.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }

.step-card {
    background-color: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    border-top: 4px solid #243e98;
    transition: transform 0.3s ease;
}
.step-card:hover { transform: translateY(-10px); }

.step-number {
    position: absolute; top: -1.5rem; left: 50%; transform: translateX(-50%);
    width: 3rem; height: 3rem;
    background-color: #243e98;
    color: #ffffff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; font-weight: 700;
    box-shadow: 0 0 0 5px #f0f2f5;
}

.step-icon { margin-bottom: 1rem; }
.step-icon .icon { width: 3rem; height: 3rem; color: #243e98; }
.step-card h3 { font-size: 1.4rem; margin-bottom: 0.5rem; color: #1c1e21; }
.step-card p { color: #65676b; line-height: 1.6; }

.benefits-section { padding: 6rem 0; background-color: #ffffff; }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; }

.benefit-card {
    text-align: center;
    background-color: #f0f2f5;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}
.benefit-icon { margin-bottom: 1rem; }
.benefit-icon .icon { width: 3.5rem; height: 3.5rem; color: #243e98; }
.benefit-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; color: #1c1e21; }
.benefit-card p { color: #65676b; line-height: 1.6; }

.final-cta-section {
    background-color: #243e98;
    color: #ffffff;
    padding: 5rem 0;
    text-align: center;
}
.final-cta-section h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 900; margin-bottom: 1rem; color: #fff; }
.final-cta-section p { max-width: 600px; margin: 0 auto 2rem auto; font-size: 1.1rem; opacity: 0.9; color: #fff; }
.contact-info { margin-top: 2rem; opacity: 0.8; }

/* FIXADOS */
.fixed-buttons {
    position: fixed; bottom: 20px; right: 20px; z-index: 1000;
    display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.btn-fixed {
    padding: 12px 20px; border-radius: 50px; text-decoration: none;
    font-weight: 700; font-size: 1rem; display: flex; align-items: center; justify-content: center;
    color: #ffffff; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}
.btn-fixed:hover { transform: scale(1.05); }
.btn-alugue { background-color: #e3a700; color: #1c1e21; }
.btn-whatsapp-icon { background-color: #25D366; width: 60px; height: 60px; border-radius: 50%; padding: 0; }
.btn-whatsapp-icon .icon { width: 32px; height: 32px; }

/* MODAL */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex; align-items: center; justify-content: center;
    z-index: 2000; opacity: 0; visibility: hidden;
    transition: opacity 0.3s ease;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content {
    background-color: #ffffff; padding: 2rem; border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); width: 90%; max-width: 500px;
    position: relative; transform: scale(0.9); transition: transform 0.3s ease;
    text-align: left;
}
.modal-overlay.active .modal-content { transform: scale(1); }
.modal-content h2 { color: #243e98; margin-bottom: 0.5rem; text-align: center; }
.modal-content p { text-align: center; color: #65676b; margin-bottom: 1.5rem; }
.close-modal-btn { position: absolute; top: 10px; right: 15px; background: none; border: none; font-size: 2rem; color: #aaa; cursor: pointer; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 700; color: #1c1e21; }
.form-group input { width: 100%; padding: 0.8rem; border: 2px solid #ddd; border-radius: 8px; font-size: 1rem; }
#rental-form .btn { width: 100%; margin-top: 1rem; }

/* RESPONSIVIDADE */
@media (max-width: 768px) {
    .hero-logo { max-width: 200px; }
    .how-it-works-section, .benefits-section { padding: 4rem 0; }
    .steps-grid, .benefits-grid { gap: 3rem 1.5rem; }
    .btn-alugue { display: none; }
    .scroll-down-indicators { bottom: -20px; }
    
    .hero-section {
        padding-top: 120px; /* Ajuste para mobile se necessário */
    }
}
@media (max-width: 480px) {
    .button-group { flex-direction: column; width: 100%; padding: 0 1rem; }
    .btn { width: 100%; }
    .hero-headline { font-size: 2.2rem; }
    .scroll-down-indicators { display: none; }
}

/* Ajuste da Logo em Imagem */
/* AJUSTE DO TAMANHO DA LOGO */
.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    max-height: 160px; /* Atualizado para o tamanho que ficou bom */
    width: auto;      
    object-fit: contain;
    margin-top: 0; 
}


/* =========================================
   MENU MOBILE (Fazer aparecer ao clicar)
   ========================================= */

@media(max-width: 768px) {
    /* Estado ATIVO (Quando clica no botão) */
    .nav-menu.active {
        display: flex !important; /* Força o aparecimento */
        flex-direction: column;
        position: fixed; /* Fixa na tela */
        top: 90px;       /* Logo abaixo da barra amarela */
        left: 0;
        width: 100%;
        background-color: var(--primary-blue);
        padding: 20px 0;
        border-top: 1px solid rgba(255,255,255,0.1);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
        z-index: 9999;
    }

    /* Estilo dos links dentro do menu aberto */
    .nav-menu.active li {
        width: 100%;
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .nav-menu.active li a {
        font-size: 1.1rem;
        display: block;
    }

    /* Mostra o dropdown (itens filhos) no mobile se quiser */
    .nav-menu.active .dropdown-content {
        position: relative;
        box-shadow: none;
        top: 0;
        background: rgba(0,0,0,0.2); /* Fundo um pouco mais escuro */
    }
    
    /* Botão "Entrar em Contato" dentro do menu móvel */
    .header-actions.active {
        display: flex !important;
        justify-content: center;
        position: fixed;
        bottom: 20px; /* Fica no rodapé da tela ou abaixo do menu */
        left: 0;
        width: 100%;
        z-index: 10000;
        pointer-events: none; /* Deixa clicar através se não for botão */
    }
    
    /* Ajuste para o botão ficar clicável */
    .header-actions.active .btn-header {
        pointer-events: all;
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    }
}

/* ==================================================
   CORREÇÃO FINAL: RESPONSIVIDADE CELULAR (Cole no final do arquivo)
   ================================================== */

/* ==================================================
   CORREÇÃO FINAL V2: BANNERS E BOTÕES VISÍVEIS
   (Substitua o bloco @media do final do arquivo por este)
   ================================================== */

/* ==================================================
   CORREÇÃO FINAL V3: BOTÕES LADO A LADO NO MOBILE
   (Substitua o bloco @media do final dos arquivos .css)
   ================================================== */

/* ==================================================
   CORREÇÃO FINAL (BOTÕES E ÍCONES) - MOBILE
   Substitua o último @media do arquivo por este
   ================================================== */

/* ==================================================
   CORREÇÃO FINAL LOCAÇÃO (ALTURA MENOR + BOTÕES)
   ================================================== */

@media (max-width: 768px) {
    /* 1. Altura Reduzida para mostrar scroll */
    .hero-section {
        height: auto !important; 
        /* Mudei para 60vh para liberar espaço embaixo */
        min-height: 60vh !important; 
        
        padding-top: 130px !important; 
        padding-bottom: 30px !important; 
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: center !important;
    }

    .hero-logo {
        max-width: 120px !important;
        margin-bottom: 10px !important;
    }

    .hero-headline {
        font-size: 1.8rem !important;
        line-height: 1.1 !important;
        margin-bottom: 10px !important;
    }

    .hero-subheadline {
        font-size: 0.9rem !important;
        margin-bottom: 20px !important;
    }
    
    /* 2. Botões Lado a Lado */
    .button-group {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center;
        gap: 8px !important;
        width: 100%;
        padding: 0 10px;
    }
    
    .locacao-scope .btn {
        width: 50% !important;
        padding: 10px 4px !important;
        font-size: 0.75rem !important; /* Aqui cabe um pouco maior */
        white-space: nowrap !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        border-radius: 8px !important;
    }

    /* 3. Ícone SVG */
    .btn .icon, .btn svg {
        display: inline-block !important;
        width: 16px !important;
        height: 16px !important;
        min-width: 16px !important; /* Essencial para não sumir */
        margin-right: 5px !important;
    }

    .scroll-down-indicators {
        bottom: 10px !important;
    }
}