﻿/* Topo, busca da home, marcas/modelos e rodapé como o site de anúncios antigo; a cor vem de --cor-site (DadosDoSite.Cor). */
body { font-family: Roboto, Arial, sans-serif; }
.body { min-height: calc(100vh - 140px); }

/* topo */
.site-header { height: 64px; border-bottom: 0; box-shadow: 0 0 5px 0 rgba(0, 0, 0, .5); }
.sticky-header .site-header { height: 64px !important; }
.site-logo, .sticky-header .site-logo { padding: 12px 0 10px !important; }
.site-logo img, .sticky-header .site-logo img { max-width: 275px; max-height: 40px !important; }
.top-navigation { height: 64px; }
.top-navigation > li, .sticky-header .top-navigation > li { height: 64px; line-height: 58px; padding: 0; margin-left: 40px; box-shadow: none; letter-spacing: 2px; }
.top-navigation > li:first-child { padding-right: 5px; }
.top-navigation > li:last-child { border-left: 1px solid #e8e8ea; padding: 0 0 0 20px; }
.top-navigation > li > a { font-family: 'Roboto Condensed', Roboto, sans-serif; font-weight: 400; font-size: 14px; color: #3c3c3c; }
.top-navigation > li > a:hover { color: var(--cor-site); }
.top-navigation > li.active:after { content: ''; background-color: var(--cor-site); width: calc(100% + 30px); height: 5px; display: block; position: absolute; bottom: 0; left: -15px; }
.top-navigation > li:last-child.active:after { left: 5px; width: calc(100% - 5px); }
#deactivateMenu { display: none; }
#menu-toggle { margin-top: 10px; background-color: var(--cor-site); font-size: 21px; padding: 7px 10px; }

/* páginas internas da base: o topo antigo tem 64px (a base tinha 121px) */
.contentDetalhesVeiculo { padding-top: 84px !important; }
.contentBusca { margin-top: 0; }

/* busca da home */
#banner { margin-top: 0; padding: 70px 0 150px; background: url(../images/hero-bg.jpg?v=2) center center no-repeat; background-size: cover; }
#banner #search { margin-top: 48px; border-top: 5px solid var(--cor-site); }
h2.gl-hero-text-heading:after { content: none; display: none; }
.gl-color-text, .form_search h2 > strong { color: var(--cor-site) !important; }
.form_search label { display: block; margin: 0 0 2px; font-weight: 600; font-size: 1.14em; color: #525253; min-height: 24px; }
.form_search .bootstrap-select, .form_search select { width: 100% !important; margin-bottom: 15px; }
.form_search .bootstrap-select > .btn { height: 40px; background: #fff; }
.botao-buscar { width: 100%; font-size: 18px; margin-top: 50px; font-weight: 700; letter-spacing: 1px; }

/* marcas e modelos mais pesquisados */
.title-bordered h2 { font-size: 30px; color: #252525; }
.title-bordered h2 small { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
.marcasHome a { display: block; }
.marcasHome div { padding: 3px 0; }
.marcasHome .text { margin-top: -20px; padding-bottom: 12px; }

/* Sobre */
.pagina-sobre { padding: 100px 0 !important; }
.pagina-sobre .txt { font-size: 16px; line-height: 1.6; color: #555; }
.pagina-sobre .txt h3 { margin-top: 25px; }

/* Obrigado e aviso de API fora */
.pagina-obrigado { text-align: center; padding: 160px 15px 100px; background-color: #f5f5f5; min-height: 500px; }
.pagina-obrigado h2 { margin-bottom: 10px; }
.pagina-obrigado .btn { margin-top: 25px; }

/* detalhe: loja do carro */
.dadosVendedor { background: #fff; border-radius: 8px; padding: 30px; margin-top: 20px; display: flex; align-items: flex-start; gap: 25px; }
.dadosVendedor img { width: 130px; flex: 0 0 130px; height: auto; }
.dadosVendedor-texto { flex: 1; min-width: 0; }
.dadosVendedor strong { display: block; margin-bottom: 15px; }
.dadosVendedor p { margin: 0 0 6px; }
.dadosVendedor-botoes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.dadosVendedor .telefone { float: none; margin: 0; border-color: var(--cor-site); color: var(--cor-site); }
.dadosVendedor .btn { margin: 0; }
@media only screen and (max-width: 767px) {
.dadosVendedor { flex-direction: column; gap: 15px; padding: 20px; }
.dadosVendedor img { flex: none; width: 130px; height: auto; }
}

.formPropostaVeiculo .botao-consultor { clear: both; margin-top: 10px; }
.formPropostaVeiculo .botao-consultor .btn { width: 100%; background: #128c3c !important; border-color: #128c3c !important; color: #fff; }
.formPropostaVeiculo .botao-consultor .btn:hover { background: #0e7231 !important; }
/* Detalhe: preço e proposta acompanham a rolagem logo abaixo do topo (64px). */
@media only screen and (min-width: 992px) {
.row > .coluna-proposta { position: sticky; top: 64px; }
}

/* Busca: o topo daqui tem 64px (o da base tinha 89/121); faixa de marcas e filtros encostados nele. */
@media only screen and (min-width: 768px) {
.FilterResult, .sticky-header .FilterResult { top: 64px; }
.search-filters { margin-top: 168px; }
}

/* rodapé */
.site-footer { background: #2f2f2f; color: #999; }
.site-footer a { color: #999; }
.site-footer a:hover { color: #fff; }
.site-footer-top { padding: 15px 0 0; font-size: 10px; line-height: 14px; }
.site-footer-bottom { background: #252525; padding: 20px 0 0; font-size: 12px; color: #999; }
.copyrights-right { text-align: right; }

@media only screen and (max-width: 991px) {
    .header-right { height: auto; }
    .toggle-menu { background: var(--cor-site); padding-top: 70px; }
    #deactivateMenu { display: block; position: absolute; right: 18px; top: 18px; }
    #deactivateMenu .fa { font-size: 30px; color: #fff; }
    .top-navigation > li, .top-navigation > li:last-child, .sticky-header .top-navigation > li { margin: 0; padding: 0; border: 0; height: 50px; line-height: 50px; }
    .top-navigation > li.active:after { display: none; }
}

@media only screen and (max-width: 767px) {
    .site-logo img { padding-top: 0; max-width: 220px; }
    #banner { padding: 0 0 50px; height: auto; margin-top: 0; }
    /* busca da home no celular como no site antigo: card abaixo do topo, campos um embaixo do outro */
    #banner > .container { width: 100%; margin: 0; }
    #banner #search { padding: 25px 20px; margin-top: 48px; }
    .form_search .rowInput, .form_search .col-xs-6, .form_search .col-xs-6:nth-of-type(even) { width: 100%; float: none; padding-left: 0 !important; padding-right: 0 !important; }
    .form_search .rotulo-vazio { display: none; }
    .form_search .bootstrap-select, .form_search select { margin-bottom: 20px; }
    .contentDetalhesVeiculo { padding-top: 0 !important; }
    .form_search { padding: 0 15px; }
    .form_search h2 { font-size: 35px; min-height: 0; margin-bottom: 40px; }
    .botao-buscar { margin-top: 10px; height: 52px; font-size: 18px; }
    .title-bordered h2 { font-size: 22px; white-space: normal; }
    .title-bordered h2 .line { display: none; }
    .title-bordered h2 small { position: static; }
    .marcasHome div { width: 49%; margin-right: 1%; }
    .marcasHome .text { font-size: 15px; }
    .pagina-sobre { padding: 70px 0 !important; }
    .site-footer-top { display: block; text-align: center; padding: 15px 0; }
    .copyrights-right, .copyrights-left { text-align: center; }
}
.veiculosSimilares { padding: 10px 15px 40px; }
.veiculosSimilares h3 { font-size: 22px; color: #555; margin: 0 0 20px; }
.veiculosSimilares .veiculosRelacionado { margin-bottom: 20px; }
.veiculosSimilares .divFotoBuscador img { width: 100%; height: 190px; object-fit: cover; }
.pagina-lojas { padding-bottom: 40px; }
.pagina-lojas .titulo-lojas { color: #fff; background: #8c8c8c; padding: 30px 15px; margin: 64px 0 30px; text-align: center; font-weight: 600; font-size: 30px; }
.pagina-lojas #FiltroLojas { margin: 40px 0 30px; }
.lista-lojas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 15px; }
.lista-lojas li { border: 1px solid #eee; background: #fff; text-align: center; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.lista-lojas a { display: block; color: #666; }
.lista-lojas .logo { display: flex; align-items: center; justify-content: center; height: 90px; margin: 0 15px; }
.lista-lojas .logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lista-lojas .dados { display: block; border-top: 1px solid #ccc; margin: 0 20px; padding: 5px 0 10px; font-size: 12px; line-height: 19px; min-height: 56px; }
@media only screen and (max-width: 767px) {
    .pagina-lojas .titulo-lojas { margin-top: 0; font-size: 24px; padding: 20px 15px; }
    .pagina-lojas #FiltroLojas { margin: 10px 0 20px; }
}
