/* (2026-11-14) carros-pro: catálogo de carros mais profissional (cartão único, busca, página do carro) */

/* ---------- cartões ---------- */
.cp-card .pcv2-price { font-size: 18px; font-weight: 800; }
.cp-card .pcv2-price small, .cp-card .pcv2-id { display: none !important; }
.cp-card .pcv2-body h5 { min-height: 0; margin-bottom: 4px; }
.cp-card .cp-sub { margin: 0 0 10px; font-size: 13px; color: #6b7280; }
.cp-card .cp-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; font-size: 13px; color: #374151; }
.cp-card .cp-stats span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-card .cp-stats i { width: 16px; color: #9ca3af; }
.cp-card .cp-ver { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 700; color: #c9a227; text-transform: uppercase; letter-spacing: .03em; }
.cp-card .cp-ver:hover { color: #111; }
.cp-selo-vendido { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-12deg); background: #dc2626; color: #fff; font-weight: 900; letter-spacing: .12em; padding: 6px 18px; border-radius: 4px; font-size: 16px; box-shadow: 0 6px 16px rgba(0,0,0,.3); }
.cp-vendido .pcv2-media { filter: grayscale(.7); }
.property-filter { row-gap: 26px; }
.property-filter > [class*="col-"] { display: flex; }
.property-filter > [class*="col-"] > .property-card-v2 { width: 100%; }

/* ---------- busca ---------- */
.cp-form { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cp-form .sm-width, .cp-form .nice-select { width: 100% !important; margin: 0 !important; }
.cp-form .search-btn { grid-column: span 4; height: 50px; font-weight: 800; letter-spacing: .04em; }
@media (max-width: 991px) { .cp-form { grid-template-columns: 1fr 1fr; } .cp-form .search-btn { grid-column: span 2; } }
@media (max-width: 575px) { .cp-form { grid-template-columns: 1fr; } .cp-form .search-btn { grid-column: span 1; } }
.cp-filtros-ativos { display: flex; flex-wrap: wrap; gap: 8px; margin: -10px 0 24px; }
.cp-filtros-ativos span { background: #f3f4f6; border-radius: 20px; padding: 5px 12px; font-size: 13px; color: #374151; }
.cp-filtros-ativos a { font-size: 13px; font-weight: 700; color: #c9a227; align-self: center; }
.cp-vazio { padding: 30px; text-align: center; color: #6b7280; width: 100%; }

/* ---------- página do carro ---------- */
.pd-hero-info .cp-linha { margin: 4px 0 0; color: #6b7280; font-size: 14px; }
.cp-opcionais { display: flex; flex-wrap: wrap; gap: 8px; }
.cp-opcionais span { display: inline-flex; align-items: center; gap: 6px; background: #f3f4f6; border-radius: 20px; padding: 7px 13px; font-size: 13px; color: #1f2937; }
.cp-opcionais i { color: #16a34a; }
.cp-preco-box { border: 1px solid #ececec; border-radius: 12px; padding: 18px; margin-bottom: 26px; background: #fff; }
.cp-preco-box .cp-preco { font-size: 30px; font-weight: 900; color: #111; line-height: 1.1; }
.cp-preco-box .cp-parcela { margin-top: 6px; color: #374151; font-size: 14px; }
.cp-preco-box .cp-parcela b { color: #111; }
.cp-preco-box .cp-troca { margin-top: 10px; font-size: 13px; color: #16a34a; font-weight: 700; }
.cp-preco-box .site-btn { width: 100%; margin-top: 14px; text-align: center; }
.cp-preco-box .cp-btn-2 { display: block; margin-top: 8px; text-align: center; font-weight: 700; font-size: 13px; color: #111; text-decoration: underline; }
.cp-sim { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0 6px; }
.cp-sim label { display: block; font-size: 12px; color: #6b7280; margin-bottom: 3px; }
.cp-sim input, .cp-sim select { width: 100%; height: 40px; border: 1px solid #e5e7eb; border-radius: 8px; padding: 0 10px; font-size: 14px; }
.cp-sim-res { background: #f9fafb; border-radius: 8px; padding: 10px 12px; font-size: 14px; margin-top: 6px; }
.cp-sim-res b { font-size: 18px; }
.cp-aviso { font-size: 11px; color: #9ca3af; margin-top: 6px; }
.cp-loja { display: flex; align-items: center; gap: 14px; }
.cp-loja img { width: 72px; height: 72px; object-fit: contain; border-radius: 12px; background: #111; padding: 6px; }
.cp-loja h6 { margin: 0 0 4px; font-weight: 800; }
.cp-loja span { font-size: 13px; color: #6b7280; }
.pd-hero-media .cp-selo-vendido { font-size: 24px; }
.review-form .rating { display: none !important; }

/* ---------- geral ---------- */
.ht-info li:empty, .om-widget li:empty { display: none; }
@media (max-width: 767px) { .pcv2-price { font-size: 16px !important; } }

/* (2026-11-14) carros-pro: o tema forçava 5 cards por linha (ficavam estreitos e cortavam km/câmbio).
   3 por linha em telas comuns e 4 em telas largas. */
@media (min-width: 992px) {
  .latest-property-section .property-filter { padding-right: 0; }
  #ultimos-imoveis .property-filter > div, #destaques-vendas .property-filter > div,
  #destaques-aluguel .property-filter > div, #catalogo-imoveis .property-filter > div,
  #lista-imoveis-grid .property-filter > div { flex: 0 0 33.3333%; max-width: 33.3333%; }
}
@media (min-width: 1400px) {
  #ultimos-imoveis .property-filter > div, #destaques-vendas .property-filter > div,
  #destaques-aluguel .property-filter > div, #catalogo-imoveis .property-filter > div,
  #lista-imoveis-grid .property-filter > div { flex: 0 0 25%; max-width: 25%; }
}
.cp-mob-preco { background: #fff; border-radius: 14px; box-shadow: 0 6px 24px rgba(0,0,0,.08); padding: 18px 20px; margin: 16px 0 6px; }
.cp-mob-preco .pd-whatsapp-btn { display: block; text-align: center; margin-top: 12px; }
.cp-mob-preco .cp-btn-2 { display: block; text-align: center; margin-top: 8px; }
#cpSimulacao { scroll-margin-top: 20px; }
.cp-mob-preco .cp-preco { font-size: 26px; font-weight: 800; color: #111; line-height: 1.2; margin-bottom: 4px; }
.cp-mob-preco .cp-parcela { font-size: 14px; color: #374151; }
.cp-mob-preco .cp-btn-2 { color: #111; font-weight: 700; font-size: 13px; text-decoration: underline; }

/* (2026-11-16) home-proporcao: logo do rodapé tinha width:300px no próprio HTML */
.fs-about .fs-logo img { width: 170px !important; }
@media (max-width: 767px) { .fs-about .fs-logo img { width: 140px !important; } }

/* (2026-11-16) rodape-compacto: rodapé enxuto no celular (antes ocupava quase 2 telas) */
@media (max-width: 767px) {
  .footer-section { padding-top: 28px; }
  .footer-section .row > [class*="col-"] { flex: 0 0 100%; max-width: 100%; }
  .footer-section .row > [class*="col-"]:nth-child(2) { display: none; }
  .fs-about { margin-bottom: 18px; text-align: center; }
  .fs-about .fs-logo { margin-bottom: 10px; }
  .fs-about .fs-logo img { width: 96px !important; }
  .fs-about p { font-size: 13px; line-height: 20px; margin: 0 auto 12px; max-width: 320px; }
  .fs-about .fs-social a { width: 36px; height: 36px; line-height: 36px; }
  .fs-widget { margin-bottom: 18px; }
  .fs-widget h5 { font-size: 13px; letter-spacing: .06em; margin-bottom: 10px; text-align: center; }
  .footer-section .row > [class*="col-"]:nth-child(3) .fs-widget h5 { display: none; }
  .footer-section .row > [class*="col-"]:nth-child(3) .fs-widget ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; }
  .footer-section .row > [class*="col-"]:nth-child(3) .fs-widget ul li + li:before { content: "•"; color: rgba(255, 255, 255, .35); margin: 0 10px; }
  .footer-section .row > [class*="col-"]:nth-child(3) .fs-widget ul li a { line-height: 24px; }
  .fs-widget > p { display: none; }
  .fs-widget .subscribe-form { display: flex; gap: 8px; max-width: 360px; margin: 0 auto; }
  .fs-widget .subscribe-form input { flex: 1; min-width: 0; height: 44px; padding-left: 14px; margin: 0; }
  .fs-widget .subscribe-form button, .fs-widget .subscribe-form .site-btn { position: static; flex: 0 0 auto; height: 44px; padding: 0 18px; margin: 0; line-height: 44px; }
  .copyright-text { font-size: 12px; letter-spacing: 0; padding: 12px 64px 14px 0; text-align: left; }
  .copyright-text { opacity: 1; }
  .copyright-text p { margin: 0; font-size: 12px; color: rgba(255, 255, 255, .55); }
}
/* rodape-compacto (2): no celular o "voltar ao topo" cobria o botão Buscar; vai para o canto esquerdo, na linha do WhatsApp */
.back-to-top:hover { background: #D4AF37; color: #111; }
@media (max-width: 767px) {
  .back-to-top { left: 16px; right: auto; bottom: 18px; }
  .copyright-text { padding: 12px 60px 14px; text-align: center; }
}
/* (2026-11-16) rodape-sem-menu: pedido do Evanes, o menu (Contatos/Carros/Sobre/Início) não aparece no rodapé; já está no topo */
.footer-section .row > [class*="col-"]:nth-child(2),
.footer-section .row > [class*="col-"]:nth-child(3) { display: none !important; }
@media (min-width: 768px) { .footer-section .row > [class*="col-"]:nth-child(4) { margin-left: auto; } }
@media (max-width: 767px) { .copyright-text { padding-left: 78px; padding-right: 78px; } }
/* (2026-11-16) rodape-sem-busca-mobile: pedido do Evanes, "Buscar pelo código" some no celular (continua no PC) */
@media (max-width: 767px) {
  .footer-section .row > [class*="col-"]:nth-child(4) { display: none !important; }
  .footer-section .fs-about { margin-bottom: 4px; }
}
/* (2026-11-16) rodape-sem-icone-mobile: pedido do Evanes, sem o ícone do WhatsApp no rodapé do celular (já existe o botão flutuante) */
@media (max-width: 767px) { .footer-section .fs-about .fs-social { display: none; } .footer-section .fs-about p { margin-bottom: 0; } }
