/* =========================================
   LANDING PAGE (LP) - DESIGN CORRIGIDO
   ========================================= */

/* RESET */
body.lp-page { padding-top: 0 !important; }

/* HERO */
.lp-hero {
    position: relative;
    padding: 60px 0 100px;
    background-image: url('../img/background-toro.png');
    background-size: cover;
    background-position: center;
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.lp-hero .hero-overlay {
    background: linear-gradient(135deg, rgba(5, 40, 37, 0.96) 0%, rgba(31, 167, 80, 0.9) 100%);
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}

.lp-hero-center {
    position: relative; z-index: 2; max-width: 900px; margin: 0 auto;
}

/* CORREÇÃO: LOGO CENTRALIZADA */
.hero-logo {
    max-width: 220px; /* Maior */
    filter: brightness(0) invert(1);
    margin: 0 auto 40px auto; /* Centraliza */
    display: block;
}

.tag-destaque {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    color: #4ff18c;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 25px;
    border: 1px solid rgba(79, 241, 140, 0.4);
}

.lp-hero-center h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 25px;
}

.lp-hero-center p {
    font-size: 1.4rem;
    line-height: 1.6;
    opacity: 0.95;
    margin-bottom: 40px;
    font-weight: 500;
}

/* BOTÃO WHATSAPP GIGANTE */
.btn-whatsapp-giant {
    display: inline-flex; align-items: center; justify-content: center; gap: 15px;
    background-color: #25d366; color: white;
    padding: 22px 60px; border-radius: 50px;
    font-weight: 800; text-transform: uppercase; font-size: 1.2rem;
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.3);
    transition: 0.3s; width: 100%; max-width: 500px;
    text-decoration: none;
    animation: pulsar 2s infinite;
}
.btn-whatsapp-giant:hover {
    background-color: #1ebc57; transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(37, 211, 102, 0.5);
}
.btn-whatsapp-giant i { font-size: 1.8rem; }

/* CORREÇÃO: TÍTULOS H2 E H3 COM ESTILO */
.section-title { margin-bottom: 60px; text-align: center; }

.section-title h3 {
    color: var(--color-primary);
    font-size: 1.2rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    display: block;
}

.section-title h2 {
    font-size: 3.2rem;
    color: #333;
    line-height: 1.1;
    font-weight: 800;
    margin: 0;
}

/* CARDS DE VANTAGENS (Conteúdo Rico) */
.section-bg { background-color: #f9f9f9; }

.grid-cards-lp {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; margin-bottom: 50px;
}

.lp-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    text-align: left;
    height: 100%; /* Altura igual */
}

.icon-box-lp {
    width: 70px; height: 70px;
    background: rgba(31, 167, 80, 0.1); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 25px;
}
.icon-box-lp i { font-size: 30px; color: var(--color-primary); }

.lp-card h3 { font-size: 1.5rem; margin-bottom: 15px; color: #222; font-weight: 700; }
.lp-card p { color: #666; line-height: 1.6; font-size: 1.05rem; }

/* FROTA (IMAGENS GRANDES) */
.grid-cars-lp {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; margin-bottom: 50px;
}

/* CARD DO CARRO (Estático e Robusto) */
.lp-car-card {
    background: white; 
    border-radius: 20px;
    overflow: hidden; 
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative; /* Necessário para o badge absoluto funcionar */
    transition: border-color 0.3s ease; /* Transição só na cor da borda */
}

/* HOVER: Apenas muda a cor da borda (SEM PULO) */
.lp-car-card:hover { 
    transform: none !important; /* Garante que não se mova */
    border-color: var(--color-primary); 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); /* Mantém sombra estável */
}

/* CORREÇÃO: ESPAÇO DA IMAGEM (MAIOR) */
.lp-car-img {
    width: 100%; 
    height: 380px; /* AUMENTADO DE 220px PARA 320px */
    background: white;
    display: flex; align-items: center; justify-content: center;
    padding: 0; /* Zero padding para maximizar */
    border-bottom: 1px solid #f5f5f5;
    overflow: hidden; /* Garante que não vaze se for muito grande */
}

.lp-car-img img {
    width: 100%; 
    height: 100%;
    object-fit: contain; /* Garante o carro inteiro */
    max-width: none; /* Remove travas de largura */
    transform: scale(1.10); /* Zoom de 15% para preencher bem */
    transition: transform 0.5s ease;
}

.lp-car-info { padding: 30px; text-align: center; }
.lp-car-info h3 { color: var(--color-primary); font-size: 1.6rem; margin-bottom: 10px; font-weight: 800; }
.lp-car-info p { font-size: 1.1rem; color: #666; }

/* CTA FAIXA */
.cta-section-wrapper { text-align: center; margin-top: 30px; }

.btn-lp-secondary {
    display: inline-flex; align-items: center; gap: 10px;
    background: white; color: var(--color-primary);
    border: 2px solid var(--color-primary);
    padding: 15px 40px; border-radius: 50px;
    font-weight: 700; text-transform: uppercase; font-size: 1rem;
    transition: 0.3s; text-decoration: none;
}
.btn-lp-secondary:hover {
    background: var(--color-primary); color: white;
    box-shadow: 0 10px 20px rgba(31, 167, 80, 0.2);
}

.lp-cta-bar {
    background: linear-gradient(rgba(5, 40, 37, 0.9), rgba(5, 40, 37, 0.9)), url('../img/background-toro.png');
    background-size: cover; padding: 100px 0; text-align: center; color: white;
}
.cta-bar-content h2 { font-size: 3rem; margin-bottom: 15px; font-weight: 800; }
.cta-bar-content p { font-size: 1.3rem; margin-bottom: 40px; opacity: 0.9; }

.btn-whatsapp-lp {
    display: inline-flex; align-items: center; gap: 15px;
    background: white; color: var(--color-primary);
    padding: 18px 50px; border-radius: 50px;
    font-weight: 800; text-transform: uppercase; font-size: 1.2rem;
    transition: 0.3s;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.btn-whatsapp-lp:hover { background: var(--color-accent); color: white; transform: translateY(-5px); }

/* FOOTER */
.lp-footer {
    background-color: #031f1d; padding: 60px 0; text-align: center; color: #888; font-size: 0.9rem;
    display: flex; flex-direction: column; align-items: center;
}
.lp-footer img { display: block; margin: 0 auto 25px auto; }

/* RESPONSIVO */
/* RESPONSIVO */
@media (max-width: 991px) {
    .lp-hero { padding-top: 40px; }
    .lp-hero-center h1 { font-size: 2.5rem; }
    .btn-whatsapp-giant { padding: 18px 20px; font-size: 1rem; }
    .section-title h2 { font-size: 2.2rem; }
    .lp-car-img { 
        height: 320px; /* AUMENTADO */
        padding: 0;
    }

    .lp-car-img img {
        transform: scale(1.20);
    }
}

@media (max-width: 768px) {
    .lp-car-img { 
        height: 330px !important; /* BEM MAIOR - mais vertical */
        padding: 0 !important;
        background: white;
    }

    .lp-car-img img {
        width: 100% !important;
        height: 100% !important;
        object-position: center;
        transform: scale(1.15) !important;
    }
}

/* =========================================
   ETIQUETAS DOS CARROS (CORREÇÃO DE VISIBILIDADE)
   ========================================= */

/* ETIQUETA DE PREÇO (Sempre Visível) */
.price-badge {
    position: absolute;
    top: 15px;
    right: 15px; /* Canto Direito */
    
    background-color: var(--color-primary);
    color: white;
    
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    
    z-index: 99; /* Z-index alto para ficar acima da imagem */
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border: 2px solid white;
    letter-spacing: 0.5px;

    /* FORÇAR VISIBILIDADE */
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Garante que o hover NÃO afete a visibilidade, apenas cor (opcional) */
.lp-car-card:hover .price-badge {
    background-color: #1a8e42; /* Apenas escurece um pouco o verde */
    opacity: 1 !important;
}
/* =========================================
   FROTA COMPLETA (vem da locacao.html, ver js/lp-frota.js)
   ========================================= */
/* na LP não há menu fixo: a barra de busca/filtros gruda no topo da tela */
.lp-fleet-controls {
    top: 0;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 10px 15px;
    margin-bottom: 30px;
}
.lp-frota .grid-cars { text-align: left; }
.lp-frota .car-img-box img { display: block; margin: 0 auto; }
@media (max-width: 768px) {
    .lp-fleet-controls { border-radius: 12px; padding: 8px 10px; }
}

/* endereços das duas unidades no rodapé da LP */
.lp-unidades {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    line-height: 1.6;
}
.lp-unidades strong { color: #fff; }
