﻿/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ================= BODY ================= */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(to bottom, #ffffff, #c0c0c0);
    color: #1f2937;
}

.hero {
    position: relative;
    height: 170px;
    overflow: hidden;
    background: linear-gradient(135deg, #3b0d0d, #7f1d1d);
    display: flex;
    align-items: center;
}

    /* brilho sutil */
    .hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at top right, rgba(255,255,255,.12), transparent 60%);
        z-index: 1;
    }

.hero-logo {
    position: absolute;
    right: 30px;
    bottom: 40px;
    height: 110px;
    max-width: 280px;
    object-fit: contain;
    z-index: 2;
    opacity: 0.95;
    pointer-events: none; /* não interfere em cliques */
}



/* ================= HERO OVERLAY ================= */
.hero-overlay {
    position: relative;
    z-index: 3;
    padding: 20px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    color: #fff;
    max-width: 1200px;
}

    /* ================= TÍTULO ================= */
    .hero-overlay h1 {
        font-size: 26px;
        font-weight: 900;
        line-height: 1.15;
        letter-spacing: -0.4px;
        text-align: left;
    }

    /* ================= TEXTO ================= */
    .hero-overlay p {
        font-size: 14px;
        color: #f3f4f6;
        max-width: 480px;
        line-height: 1.4;
    }

/* ================= BENEFÍCIOS ================= */
.benefits {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 4px;
}

    .benefits span {
        background: rgba(255,255,255,.14);
        padding: 5px 12px;
        border-radius: 999px;
        font-size: 12px;
        font-weight: 700;
        display: flex;
        align-items: center;
        gap: 6px;
        backdrop-filter: blur(6px);
    }


/* ================= CATÁLOGO ================= */
.catalogo {
    max-width: 1200px;
    margin: auto;
    padding: 30px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    justify-items: center;
    min-height: 80px; /* segura o espaço mesmo vazio */
}

/* ================= CARD ================= */
.card-veiculo {
    width: 100%;
    max-width: 320px;
    height: 500px;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 18px 45px rgba(0,0,0,.15);
    transition: transform .3s ease, box-shadow .3s ease;
}

    .card-veiculo:hover {
        transform: translateY(-6px);
        box-shadow: 0 30px 60px rgba(0,0,0,.2);
    }

.footer-redes a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    margin-bottom: 8px;
    font-size: 14px;
}

    .footer-redes a i {
        font-size: 16px;
    }

/* ================= IMAGEM ================= */
.card-imagens {
    width: 100%;
    height: 230px;
    background: linear-gradient(180deg, #f8fafc, #e5e7eb);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .card-imagens img {
        width: auto;
        height: 100%;
        max-width: 100%;
        object-fit: contain;
        transition: transform 0.35s ease;
    }



/* ================= CONTEÚDO ================= */
.novo-card-body {
    padding: 22px 18px 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* ================= MARCA ================= */
.badge-marca {
    align-self: center;
    background: linear-gradient(120deg, #6b0f1a, #8b1c2d);
    color: #fff;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: .4px;
}

/* ================= NOME ================= */
.novo-card-body h2 {
    font-size: 19px;
    font-weight: 800;
    color: #111827;
    text-align: center;
    margin-bottom: 10px;
    line-height: 1.3;
}
.nenhum-resultado {
    display: none; /* JS controla */
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 500;
    color: #6b7280;
    text-align: center;
}


/* ================= PREÇO ================= */
.preco-destaque {
    font-size: 28px;
    font-weight: 900;
    color: #1f2937; /* elegante, neutro */
    text-align: center;
    margin: 16px 0 26px;
}

/* ================= ÍCONES ================= */
.info-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}

.icon-box {
    background: #f9fafb;
    border-radius: 14px;
    padding: 14px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #374151;
    transition: background .3s, transform .3s;
}

    .icon-box i {
        font-size: 20px;
        color: #6b0f1a;
    }

    .icon-box:hover {
        background: #f3f4f6;
        transform: translateY(-3px);
    }

/* ================= BOTÃO ================= */
.btn-detalhes-novo {
    margin-top: auto;
    align-self: center;
    width: 88%;
    padding: 14px;
    border-radius: 12px;
    background: linear-gradient(120deg, #6b0f1a, #8b1c2d);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: .4px;
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease;
}

    .btn-detalhes-novo:hover {
        transform: scale(1.04);
        box-shadow: 0 14px 30px rgba(0,0,0,.35);
    }

/* ================= WHATSAPP FLUTUANTE ================= */
/* ================= WHATSAPP FLUTUANTE ================= */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 25px rgba(0,0,0,.3);
    z-index: 9999;
}


/* Ajuste para mobile */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 28px;
        bottom: 16px;
        right: 16px;
    }
}

/* ================= FOOTER ================= */
/* ================= FOOTER ================= */
.footer {
    margin-top: 60px;
    background: linear-gradient(120deg, #b32641, #691522 40%, #2b0710);
    color: #fff;
    padding: 50px 20px 25px;
    text-align: center;
}

/* Container principal */
.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    justify-items: center; /* CENTRALIZA as colunas */
}

/* Coluna individual */
.footer-col {
    display: flex;
    flex-direction: column;
    align-items: center; /* CENTRALIZA tudo */
    text-align: center;
    gap: 6px;
}

/* Títulos */
.footer h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Textos e links */
.footer p,
.footer a {
    font-size: 14px;
    color: #e5e7eb;
    text-decoration: none;
}

    /* Hover */
    .footer a:hover {
        color: #fca5a5;
    }

/* Redes sociais */
.footer-redes {
    display: flex;
    flex-direction: column; /* ícones em coluna */
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

    .footer-redes a {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
    }

/* Rodapé inferior */
.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 13px;
    color: #9ca3af;
}



/* ================= FOOTER MOBILE CENTRALIZADO ================= */
@media (max-width: 768px) {

    .footer {
        text-align: center;
        padding: 40px 16px 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 6px;
    }

    .footer h4,
    .footer p,
    .footer a,
    .footer li {
        text-align: center;
    }

    .footer p {
        background: rgba(255,255,255,0.08);
        padding: 8px 14px;
        border-radius: 999px;
        width: fit-content;
        margin: 4px auto;
    }

    .footer ul {
        padding: 0;
        margin: 0;
        list-style: none;
    }

        .footer ul li {
            margin: 6px 0;
        }

    .footer-redes {
        display: flex;
        gap: 12px;
        justify-content: center;
    }

        .footer-redes a {
            padding: 8px 14px;
            border-radius: 999px;
            background: rgba(255,255,255,0.1);
            font-size: 14px;
        }
}

/* ================= FILTROS ================= */
.filtros-modernos {
    max-width: 1200px;
    margin: 20px auto 30px !important;
    background: linear-gradient(#eef3f8, #dce4ec) padding-box, linear-gradient(135deg, #7f1d1d, #dc2626, #991b1b) border-box;
    border: 2px solid transparent;
    padding: 14px 18px !important;
    border-radius: 15px !important;
    box-shadow: 0 18px 45px rgba(0,0,0,.12);
    display: flex;
    flex-direction: column;
    gap: 10px !important;
}

.busca-topo {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 999px;
    padding: 10px 16px !important;
    gap: 10px !important;
    border: 1px solid #e5e7eb;
}

    .busca-topo .icone {
        font-size: 16px;
        color: #dc2626;
    }

    .busca-topo input {
        border: none;
        outline: none;
        width: 100%;
        font-size: 14px !important;
    }

.linha-filtros {
    display: flex;
    align-items: center;
    gap: 10px !important;
    flex-wrap: wrap;
}

.label-filtro {
    font-size: 12px !important;
    font-weight: 700;
}

.linha-filtros select {
    min-width: 130px !important;
    padding: 8px 14px !important;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    font-size: 13px !important;
    flex: 1;
}

/* ================= RESPONSIVO ================= */
@media (max-width: 768px) {
    .catalogo {
        gap: 24px;
    }

    .hero {
        min-height: auto;
    }

    .hero-logo {
        height: 80px;
        max-width: 200px;
        right: 16px;
        bottom: 90px;
        opacity: 0.9;
    }

    .hero-overlay {
        padding: 18px 12px 22px;
        gap: 6px;
    }

        .hero-overlay h1 {
            font-size: 20px;
            line-height: 1.25;
            text-align: left; /* empurra para a esquerda */
        }


        .hero-overlay p {
            font-size: 13px;
            line-height: 1.4;
            text-align: center;
        }

    .benefits {
        gap: 6px;
        justify-content: center;
    }

        .benefits span {
            font-size: 11px;
            padding: 5px 10px;
        }
}

/* ================= MOBILE PEQUENO ================= */
@media (max-width: 480px) {

    .hero-overlay h1 {
        font-size: 18px;
    }

    .hero-overlay p {
        font-size: 12px;
    }
}
