 *{box-sizing:border-box}
        body{
            margin:0;
            font-family:Arial, Helvetica, sans-serif;
            background:#f3f5f7;
            color:#222;
        }
        a{text-decoration:none;color:inherit}
        .container{
            width:min(1400px, calc(100% - 30px));
            margin:0 auto;
        }

        .topbar{
            background:#111827;
            color:#fff;
            padding:18px 0;
            box-shadow:0 2px 12px rgba(0,0,0,.10);
        }
        .topbar-wrap{
            display:flex;
            align-items:center;
            justify-content:space-between;
            gap:20px;
            flex-wrap:wrap;
        }
        .logo-area{
            display:flex;
            align-items:center;
            gap:14px;
        }
        .logo-box{
            width:52px;
            height:52px;
            border-radius:14px;
            background:linear-gradient(135deg,#0ea5e9,#2563eb);
            display:flex;
            align-items:center;
            justify-content:center;
            font-size:22px;
            font-weight:bold;
            color:#fff;
            box-shadow:0 8px 24px rgba(37,99,235,.25);
        }
        .brand-title{
            font-size:28px;
            font-weight:800;
            line-height:1;
            margin:0;
        }
        .brand-sub{
            font-size:13px;
            color:#cbd5e1;
            margin-top:5px;
        }
        .top-actions{
            display:flex;
            align-items:center;
            gap:10px;
            flex-wrap:wrap;
        }
        .btn-top{
            padding:11px 16px;
            border-radius:12px;
            font-size:14px;
            font-weight:700;
            border:1px solid rgba(255,255,255,.15);
            color:#fff;
            background:rgba(255,255,255,.06);
        }
        .btn-top.primary{
            background:#22c55e;
            border-color:#22c55e;
        }

        .hero{
            padding:28px 0 18px;
        }
        .hero-box{
            background:linear-gradient(135deg,#ffffff,#f8fafc);
            border-radius:22px;
            padding:28px;
            box-shadow:0 10px 30px rgba(15,23,42,.06);
            border:1px solid #e5e7eb;
        }
        .hero h1{
            margin:0 0 8px;
            font-size:34px;
            line-height:1.1;
            color:#111827;
        }
        .hero p{
            margin:0;
            font-size:16px;
            color:#6b7280;
        }
        .hero-badge{
            display:inline-block;
            margin-top:14px;
            padding:9px 14px;
            border-radius:999px;
            background:#eff6ff;
            color:#1d4ed8;
            font-size:13px;
            font-weight:700;
        }

        .filtros{
            margin-top:22px;
            background:#fff;
            border-radius:22px;
            padding:20px;
            box-shadow:0 10px 30px rgba(15,23,42,.05);
            border:1px solid #e5e7eb;
        }
        .filtros-grid{
            display:grid;
            grid-template-columns:2fr 1fr 1fr 1fr 1fr 1fr 1fr;
            gap:12px;
        }
        .field label{
            display:block;
            font-size:13px;
            font-weight:700;
            color:#374151;
            margin-bottom:6px;
        }
        .field input,
        .field select{
            width:100%;
            height:46px;
            border:1px solid #d1d5db;
            border-radius:12px;
            padding:0 14px;
            font-size:14px;
            outline:none;
            background:#fff;
        }
        .field input:focus,
        .field select:focus{
            border-color:#2563eb;
            box-shadow:0 0 0 4px rgba(37,99,235,.08);
        }

        .filtros-acoes{
            display:flex;
            gap:10px;
            margin-top:14px;
            flex-wrap:wrap;
        }
        .btn{
            display:inline-flex;
            align-items:center;
            justify-content:center;
            height:46px;
            padding:0 18px;
            border-radius:12px;
            font-weight:700;
            border:none;
            cursor:pointer;
            font-size:14px;
        }
        .btn-buscar{
            background:#2563eb;
            color:#fff;
        }
        .btn-limpar{
            background:#eef2f7;
            color:#111827;
        }

        .section-head{
            display:flex;
            justify-content:space-between;
            align-items:center;
            gap:15px;
            margin:28px 0 16px;
            flex-wrap:wrap;
        }
        .section-head h2{
            margin:0;
            font-size:26px;
            color:#111827;
        }
        .result-count{
            font-size:14px;
            color:#6b7280;
            font-weight:700;
        }

        .grid-cards{
            display:grid;
            grid-template-columns:repeat(4, 1fr);
            gap:18px;
            padding-bottom:40px;
        }

        .card{
            background:#fff;
            border-radius:20px;
            overflow:hidden;
            border:1px solid #e5e7eb;
            box-shadow:0 8px 24px rgba(15,23,42,.05);
            transition:.18s ease;
        }
        .card:hover{
            transform:translateY(-3px);
            box-shadow:0 16px 34px rgba(15,23,42,.10);
        }
        .card-img{
            position:relative;
            height:220px;
            background:#e5e7eb;
            overflow:hidden;
        }
        .card-img img{
            width:100%;
            height:100%;
            object-fit:cover;
            display:block;
        }
        .badge-destaque{
            position:absolute;
            top:12px;
            left:12px;
            background:#111827;
            color:#fff;
            font-size:12px;
            font-weight:800;
            padding:7px 11px;
            border-radius:999px;
        }
        .badge-loja{
            position:absolute;
            right:12px;
            bottom:12px;
            background:rgba(255,255,255,.95);
            color:#111827;
            font-size:12px;
            font-weight:800;
            padding:7px 11px;
            border-radius:999px;
        }
        .card-body{
            padding:16px;
        }
        .card-title{
            font-size:20px;
            font-weight:800;
            line-height:1.25;
            color:#111827;
            margin:0 0 10px;
            min-height:50px;
        }
        .card-price{
            font-size:28px;
            font-weight:900;
            color:#0f172a;
            margin-bottom:12px;
        }
        .specs{
            display:grid;
            grid-template-columns:repeat(2, 1fr);
            gap:10px;
            margin-bottom:14px;
        }
        .spec{
            background:#f8fafc;
            border:1px solid #edf2f7;
            border-radius:12px;
            padding:10px 12px;
        }
        .spec small{
            display:block;
            font-size:11px;
            color:#6b7280;
            font-weight:700;
            margin-bottom:3px;
            text-transform:uppercase;
        }
        .spec strong{
            font-size:14px;
            color:#111827;
        }
        .card-location{
            display:flex;
            align-items:center;
            justify-content:space-between;
            gap:10px;
            padding-top:12px;
            border-top:1px solid #eef2f7;
            margin-top:8px;
            font-size:14px;
            color:#6b7280;
            font-weight:700;
        }
        .card-actions{
            display:flex;
            gap:10px;
            margin-top:14px;
        }
        .btn-whats{
            flex:1;
            height:46px;
            border-radius:12px;
            background:#22c55e;
            color:#fff;
            font-weight:800;
            display:flex;
            align-items:center;
            justify-content:center;
        }
        .btn-view{
            width:48px;
            height:46px;
            border-radius:12px;
            background:#eef2ff;
            color:#1d4ed8;
            font-weight:900;
            display:flex;
            align-items:center;
            justify-content:center;
        }

        .empty{
            background:#fff;
            border:1px solid #e5e7eb;
            border-radius:20px;
            padding:40px 24px;
            text-align:center;
            color:#6b7280;
            box-shadow:0 8px 24px rgba(15,23,42,.05);
        }

        .footer{
            background:#111827;
            color:#cbd5e1;
            padding:22px 0;
            margin-top:10px;
        }
        .footer-wrap{
            display:flex;
            justify-content:space-between;
            gap:15px;
            flex-wrap:wrap;
            font-size:14px;
        }

        @media (max-width: 1200px){
            .filtros-grid{
                grid-template-columns:repeat(3, 1fr);
            }
            .grid-cards{
                grid-template-columns:repeat(3, 1fr);
            }
        }

        @media (max-width: 860px){
            .hero h1{
                font-size:28px;
            }
            .filtros-grid{
                grid-template-columns:repeat(2, 1fr);
            }
            .grid-cards{
                grid-template-columns:repeat(2, 1fr);
            }
        }

        @media (max-width: 560px){
            .container{
                width:min(100% - 20px, 1400px);
            }
            .brand-title{
                font-size:24px;
            }
            .hero-box,
            .filtros{
                padding:16px;
                border-radius:18px;
            }
            .filtros-grid{
                grid-template-columns:1fr;
            }
            .grid-cards{
                grid-template-columns:1fr;
            }
            .card-title{
                min-height:auto;
            }
        }
		
		
        .logo-img {
            width: 56px;
            height: 56px;
            object-fit: contain;
            border-radius: 12px;
            background: #fff;
            padding: 4px;
        }
		.link-img-veiculo {
			display: block;
			width: 100%;
			height: 100%;
		}

		.link-img-veiculo img {
			cursor: pointer;
		}	
		

body {
    background: #f5f7fb;
}

.topbar {
    background: #111827;
    color: #fff;
    padding: 16px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.topbar a {
    text-decoration: none;
}

.card-box {
    border: 0;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.foto-principal {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid #ddd;
    background: #fff;
}

.foto-thumb {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid transparent;
    cursor: pointer;
    background: #fff;
}

.foto-thumb:hover,
.foto-thumb.ativa {
    border-color: #0d6efd;
}

.titulo-veiculo {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.15;
}

.subtitulo-veiculo {
    color: #6c757d;
    font-size: 15px;
}

.preco-veiculo {
    font-size: 36px;
    font-weight: 800;
    color: #198754;
    line-height: 1;
}

.spec-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    padding: 14px;
    text-align: center;
    height: 100%;
}

.spec-label {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 6px;
}

.spec-value {
    font-size: 18px;
    font-weight: 700;
}

.descricao-veiculo {
    white-space: pre-line;
    line-height: 1.6;
}

.video-veiculo-area {
    margin-top: 18px;
}

.video-veiculo-titulo {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #111827;
}

.video-veiculo-box {
    width: 100%;
    overflow: hidden;
    border-radius: 14px;
    background: #000;
    border: 1px solid #e5e7eb;
}

.video-veiculo-box video {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    background: #000;
}

.footer-site {
    margin-top: 40px;
    background: #111827;
    color: rgba(255,255,255,0.85);
    padding: 28px 0;
}

.footer-site a {
    color: #fff;
    text-decoration: none;
}

@media (max-width: 991px) {
    .foto-principal {
        height: 360px;
    }
}

@media (max-width: 576px) {
    .foto-principal {
        height: 250px;
    }

    .foto-thumb {
        height: 80px;
    }

    .titulo-veiculo {
        font-size: 24px;
    }

    .preco-veiculo {
        font-size: 30px;
    }

    .video-veiculo-area {
        margin-top: 16px;
    }
}		



body {
    background: #f5f7fb;
}

.topbar {
    background: #111827;
    color: #fff;
    padding: 16px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
}

.card-box {
    border: 0;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.foto-preview {
    width: 100%;
    max-width: 220px;
    border-radius: 12px;
    border: 1px solid #ddd;
    object-fit: cover;
}

.foto-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 12px;
    background: #fff;
}

.video-preview-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 14px;
    background: #fff;
}

.video-preview-box {
    width: 100%;
    max-width: 520px;
    background: #000;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.video-preview-box video {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    background: #000;
}



/* =========================================================
   MODAL WHATSAPP / CRM LEAD - AUTOLOJA
   ========================================================= */

.modal-whatsapp-bg {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.68);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    z-index: 99999;
}

.modal-whatsapp {
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    border-radius: 22px;
    padding: 26px;
    position: relative;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
    animation: modalWhatsappShow 0.18s ease-out;
}

@keyframes modalWhatsappShow {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-whatsapp-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #f3f4f6;
    color: #111827;
    font-size: 25px;
    line-height: 36px;
    cursor: pointer;
    transition: 0.18s;
}

.modal-whatsapp-close:hover {
    background: #e5e7eb;
}

.modal-whatsapp h2 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 800;
    color: #111827;
}

.modal-whatsapp p {
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.45;
    color: #6b7280;
}

.campo-lead {
    margin-bottom: 15px;
}

.campo-lead label {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 800;
    color: #374151;
}

.campo-lead input {
    width: 100%;
    height: 48px;
    border: 1px solid #d1d5db;
    border-radius: 13px;
    padding: 0 14px;
    font-size: 15px;
    color: #111827;
    outline: none;
    background: #fff;
}

.campo-lead input:focus {
    border-color: #16a34a;
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.14);
}

.btn-confirmar-whatsapp {
    width: 100%;
    min-height: 50px;
    border: none;
    border-radius: 14px;
    background: #16a34a;
    color: #ffffff;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    transition: 0.18s;
    margin-top: 4px;
}

.btn-confirmar-whatsapp:hover {
    background: #15803d;
    transform: translateY(-1px);
}

.btn-confirmar-whatsapp:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 520px) {
    .modal-whatsapp-bg {
        padding: 14px;
        align-items: flex-end;
    }

    .modal-whatsapp {
        max-width: 100%;
        border-radius: 22px 22px 0 0;
        padding: 22px 20px;
    }

    .modal-whatsapp h2 {
        font-size: 21px;
    }

    .modal-whatsapp p {
        font-size: 13px;
    }

    .campo-lead input {
        height: 48px;
        font-size: 16px;
    }
}


/* Ajuste do bloco da loja no subdomínio */
.loja-box-mobile {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 18px;
}

.loja-endereco-card {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 14px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(226,232,240,0.9);
    border-radius: 16px;
    color: #111827;
}

.loja-endereco-card.vazio {
    background: #fff7ed;
    border-color: #fed7aa;
}

.loja-endereco-icone {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 12px;
    background: #f97316;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.loja-endereco-texto {
    display: flex;
    flex-direction: column;
    gap: 3px;
    line-height: 1.35;
}

.loja-endereco-texto strong {
    font-size: 14px;
    color: #111827;
}

.loja-endereco-texto span {
    font-size: 14px;
    color: #374151;
}

/* No subdomínio da loja, filtro simples */
.filtros-loja {
    margin-top: 22px;
}

.filtros-grid-loja {
    grid-template-columns: 1fr !important;
}

.field-busca-loja input {
    min-height: 48px;
    font-size: 16px;
}

.filtros-acoes-loja {
    justify-content: flex-start;
}

/* Mobile */
@media (max-width: 768px) {
    .loja-box-mobile {
        flex-direction: column;
        gap: 14px;
    }

    .loja-localizacao-acoes {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .loja-localizacao-acoes .btn-localizacao {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .loja-endereco-card {
        padding: 12px;
        border-radius: 14px;
    }

    .loja-endereco-texto span {
        font-size: 13px;
    }

    .filtros-acoes-loja {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .filtros-acoes-loja .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding-left: 10px;
        padding-right: 10px;
    }
}



.loja-endereco-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.loja-endereco-link:hover .loja-endereco-card,
.loja-endereco-link:focus .loja-endereco-card {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.loja-endereco-card {
    transition: all 0.18s ease;
    cursor: pointer;
}

.loja-endereco-acao {
    margin-top: 6px;
    font-size: 12px;
    color: #f97316;
    font-weight: 600;
}


.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-logo img {
    max-height: 64px;
    max-width: 220px;
    object-fit: contain;
    display: block;
}

@media (max-width: 768px) {
    .site-logo img {
        max-height: 52px;
        max-width: 180px;
    }
}







/* =========================================================
   Cadastro da Loja - AutoLoja
   ========================================================= */

.pagina-cadastro-loja {
    background: #f5f7fb;
}

.pagina-cadastro-loja .box-cadastro {
    max-width: 940px;
    margin: 40px auto;
}

.pagina-cadastro-loja .card-cadastro {
    border: 0;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
}

.pagina-cadastro-loja .topo-cadastro {
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    color: #fff;
    border-radius: 18px 18px 0 0;
    padding: 28px;
}

.pagina-cadastro-loja .subdominio-preview {
    font-size: 14px;
    color: #6c757d;
}

.pagina-cadastro-loja .cnpj-status {
    font-size: 13px;
    margin-top: 6px;
    min-height: 18px;
}

.pagina-cadastro-loja .logo-preview {
    width: 120px;
    height: 120px;
    border-radius: 14px;
    border: 1px dashed #ced4da;
    background: #fff;
    object-fit: contain;
    padding: 8px;
}

/* =========================================================
   Bloco WhatsApp - Ajuda no cadastro
   ========================================================= */

.pagina-cadastro-loja .whatsapp-ajuda {
    position: relative;
    overflow: hidden;
    margin-top: 26px;
    padding: 24px;
    border-radius: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f3fff7 100%);
    border: 1px solid #d6f5df;
    box-shadow: 0 14px 35px rgba(18, 135, 72, 0.12);
}

.pagina-cadastro-loja .whatsapp-ajuda::before {
    content: '';
    position: absolute;
    right: -30px;
    top: -30px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.10);
}

.pagina-cadastro-loja .whatsapp-ajuda::after {
    content: '';
    position: absolute;
    left: -25px;
    bottom: -25px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.08);
}

.pagina-cadastro-loja .whatsapp-ajuda-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    flex-wrap: wrap;
}

.pagina-cadastro-loja .whatsapp-ajuda-info {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1 1 520px;
    min-width: 280px;
}

.pagina-cadastro-loja .whatsapp-icone-balao {
    width: 78px;
    height: 78px;
    min-width: 78px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366 0%, #1faa52 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 10px 24px rgba(37, 211, 102, 0.32),
        inset 0 2px 8px rgba(255, 255, 255, 0.22);
}

.pagina-cadastro-loja .whatsapp-icone-balao svg {
    width: 38px;
    height: 38px;
    fill: #fff;
}

.pagina-cadastro-loja .whatsapp-ajuda-texto strong {
    display: block;
    color: #0f5132;
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 6px;
}

.pagina-cadastro-loja .whatsapp-ajuda-texto p {
    margin: 0;
    color: #2f5d43;
    font-size: 15px;
    line-height: 1.55;
}

.pagina-cadastro-loja .whatsapp-ajuda-texto .numero-whats {
    display: inline-block;
    margin-top: 8px;
    font-weight: 800;
    color: #128c4a;
    font-size: 17px;
}

.pagina-cadastro-loja .whatsapp-ajuda-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.pagina-cadastro-loja .btn-whatsapp-ajuda {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #25d366 0%, #1faa52 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    white-space: nowrap;
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.28);
    transition: all 0.18s ease;
}

.pagina-cadastro-loja .btn-whatsapp-ajuda:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(37, 211, 102, 0.35);
}

.pagina-cadastro-loja .btn-whatsapp-ajuda svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}

@media (max-width: 768px) {
    .pagina-cadastro-loja .box-cadastro {
        margin: 22px auto;
    }

    .pagina-cadastro-loja .whatsapp-ajuda {
        padding: 20px 16px;
    }

    .pagina-cadastro-loja .whatsapp-ajuda-info {
        align-items: flex-start;
    }

    .pagina-cadastro-loja .whatsapp-icone-balao {
        width: 64px;
        height: 64px;
        min-width: 64px;
    }

    .pagina-cadastro-loja .whatsapp-icone-balao svg {
        width: 30px;
        height: 30px;
    }

    .pagina-cadastro-loja .whatsapp-ajuda-texto strong {
        font-size: 18px;
    }

    .pagina-cadastro-loja .btn-whatsapp-ajuda {
        width: 100%;
        justify-content: center;
    }

    .pagina-cadastro-loja .whatsapp-ajuda-cta {
        width: 100%;
    }
}