/* Site 13 - camada visual moderna.
   Carrega por ultimo: mantem a estrutura e as secoes, so refina o visual.
   Sem brilho colorido: so sombra neutra e o halo de foco dos campos. */

:root {
  --red: #fbbf05;
  --red-dark: #fbbf05;
  --ink: #212731;
  --ink-2: #2b2b2b;
  --muted: #5f6368;
  --line: #e3e3e3;
  --bg-soft: #f4f4f5;
  --radius: 10px;
  --topbar-h: 40px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 6px 18px rgba(0, 0, 0, .08);
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { color: var(--ink-2); -webkit-font-smoothing: antialiased; }
a { transition: color .15s ease, background-color .15s ease, border-color .15s ease; }
img { max-width: 100%; }

/* ---------- topo ---------- */
.top-bar {
  height: var(--topbar-h);
  padding: 0;
  display: flex;
  align-items: center;
  background: var(--red);
}
.top-bar .container, .top-bar .row { width: 100%; }
.top-bar .row { display: flex; align-items: center; }
.top-bar p { margin: 0; line-height: 1; font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.top-bar .social { display: flex; justify-content: flex-end; gap: 4px; }
.top-bar .social a { margin: 0; width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }
.top-bar .social a:hover { background: rgba(0, 0, 0, .25); }
.top-bar .social a:hover i { color: #fff; }

.page-header,
.onepage .page-header,
.sticky.page-header,
.sticky-header .page-header.sticky {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  background: var(--ink) !important;
  padding: 10px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}
.page-header .row { display: flex; align-items: center; margin-top: 0 !important; }
.page-header .logo { margin: 0; float: none; }
.page-header .logo a { display: block; line-height: 0; }
.page-header .logo img { height: 60px; width: auto; display: block; }
.page-header .main-nav { float: none; }
.main-menu { float: right; }
.main-menu > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1;
  border-radius: 6px;
}
.main-menu > li > a:hover,
.main-menu > li.active > a { background: rgba(255, 255, 255, .1); color: #fff; }
.main-menu > li.active > a { box-shadow: inset 0 -3px 0 var(--red); border-radius: 6px 6px 0 0; }

/* ---------- hero: cabe na primeira dobra do notebook ---------- */
#home.home-slider, .home-slider {
  margin-top: 0 !important;
  min-height: 0 !important;
  height: clamp(320px, calc(100svh - var(--topbar-h) - 80px), 640px) !important;
  overflow: hidden;
  background: var(--ink);
  padding: 0 !important;
}
.home-slider .flexslider,
.home-slider .flexslider .slides,
.home-slider .flexslider .slides > li { height: 100% !important; min-height: 0 !important; }
.home-slider .flexslider, .home-slider .flexslider .slides { margin: 0 !important; }  /* o li precisa do margin-right:-100% do fade */
.home-slider .flexslider { border: 0; background: var(--ink); }
.home-slider .flexslider .slides img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-slider .flexslider .slides > li { position: relative; }
.home-slider .flexslider .slides > li::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .25) 55%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}
.home-slider .flex-caption {
  z-index: 2;
  animation: none !important;
  left: max(24px, calc((100% - 1170px) / 2 + 15px)) !important;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  max-width: min(560px, 90%);
  padding: 0;
  margin: 0;
  background: none;
  text-align: left;
}
.home-slider .flex-caption h3 { font-size: clamp(28px, 3.4vw, 46px); line-height: 1.1; font-weight: 700; margin: 0 0 12px; color: #fff; text-shadow: none; }
.home-slider .flex-caption p { font-size: clamp(14px, 1.3vw, 18px); line-height: 1.45; margin: 0 0 22px; color: #f1f1f1; text-shadow: none; }
.home-slider .flex-control-nav { z-index: 3; }

/* ---------- botoes (chapados, sem sombra colorida) ---------- */
.btn-main, .btn-primary, .btn-car, .btn-main3 {
  box-shadow: none !important;
  text-shadow: none !important;
}
.btn-main.btn-primary, .btn-primary#submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  line-height: 1;
  padding: 0 26px;
}
.btn-main.btn-primary span { line-height: 1; }
.btn-primary { background-color: var(--red); border-color: var(--red); }
.btn-primary:hover, .btn-primary:focus, .btn-primary:active { background-color: var(--red-dark) !important; border-color: var(--red-dark) !important; }
.uppercase { letter-spacing: .04em; }

/* ---------- titulos de secao ---------- */
.section { padding-top: 64px; padding-bottom: 64px; }
.section-header { margin-bottom: 28px; }
.heading-wrap { margin-bottom: 8px; }
.section-header .heading { display: inline-flex; align-items: center; justify-content: center; height: 60px; padding: 0 24px; line-height: 1; max-width: 100%; }
.section-header .heading span { display: block; line-height: 1; padding: 1px 0 0; }
.section-lead, .section-header > p { color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 640px; margin: 14px auto 0; text-align: center; }
.about-lead { text-align: center; color: var(--ink-2); font-size: 17px; line-height: 1.7; margin-bottom: 34px; }
.about-lead p { margin: 0 0 12px; }

/* ---------- cards de veiculos ---------- */
.portfolio-item {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.portfolio-item:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(0, 0, 0, .1), 0 12px 26px rgba(0, 0, 0, .14); }
.portfolio-item .item-thumbnail { position: relative; overflow: hidden; }
.portfolio-item .item-thumbnail img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; display: block; }
.portfolio-item .car-title {
  position: static;
  margin: 0;
  padding: 12px 14px 2px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}
.portfolio-item .car-meta {
  margin: 0;
  padding: 0 14px 14px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
.portfolio-item .car-meta b { color: var(--red); font-size: 16px; white-space: nowrap; }
.portfolio-item .item-hover .btn-car {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  line-height: 1;
  padding: 0 22px;
}

/* ---------- sobre / servicos ---------- */
#about { background: var(--bg-soft) !important; }
.nav-tabs { border-bottom: 0; }
.nav-tabs > li > a { border-radius: var(--radius); }
.tab-content img { border-radius: var(--radius); }
.service-item article { padding: 18px 12px; }
.service-item h4 { margin-top: 12px; }
.service-paragrafo { color: var(--muted); line-height: 1.6; }

/* ---------- contato ---------- */
#contact { background: var(--bg-soft) !important; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  background: #fff;
  border: 1px solid #cfcfcf;
  border-radius: 6px;
  min-height: 46px;
  padding: 10px 14px;
  color: var(--ink);
  font-size: 15px;
  box-shadow: none;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus,
.form-control:focus {
  outline: none;
  border-color: var(--red-dark);
  box-shadow: 0 0 0 3px rgba(205, 29, 31, .22);
}
.contact-visit { font-size: 18px; font-weight: 700; color: var(--red); margin: 0 0 12px; }
.contact-paragrafo { line-height: 1.8; }
.contact-social { margin-top: 18px; display: flex; gap: 10px; }
.contact-social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: #fff;
}
.contact-social a:hover { background: var(--red); color: #fff; }
.contact-map { margin-top: 36px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); line-height: 0; }
.contact-map iframe { width: 100%; height: 340px; border: 0; }
.page-img { display: block; min-height: 0; height: 90px; margin-top: 0 !important; padding: 0 !important; }

/* ---------- whatsapp ---------- */
.whats { position: fixed; right: 20px; bottom: 20px; z-index: 1000; display: block; line-height: 0; }
.whats img { width: 60px; height: 60px; border-radius: 50%; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }

/* ---------- rodape ---------- */
.section-footer { padding: 18px 0; }
.page-footer .copyright { line-height: 1.4; }

/* ---------- foco visivel ---------- */
a:focus-visible, button:focus-visible { outline: 3px solid rgba(205, 29, 31, .45); outline-offset: 2px; }

/* ---------- celular ---------- */
@media (max-width: 991px) {
  :root { --topbar-h: 40px; }
  html .home-slider, #home.home-slider { display: block !important; height: clamp(220px, 46vw, 380px) !important; }
  .home-slider .flex-caption { display: block !important; left: 20px; right: 20px; max-width: none; }
  .home-slider .flex-caption p { display: none; }
  .home-slider .flex-caption h3 { font-size: 24px; margin-bottom: 14px; }
  .page-header .logo { margin: 0 !important; display: block; max-width: none; max-height: none; }
  .page-header .row { flex-wrap: wrap; }
  .page-header .logo img { height: 46px; }
  .section { padding-top: 44px; padding-bottom: 44px; }
}
@media (max-width: 767px) {
  .top-bar .col-sm-7 { width: 60%; }
  .top-bar .col-sm-5 { width: 40%; }
  .top-bar p { font-size: 12px; }
  .page-header .col-sm-12 { width: 100%; }
  #mobile-menu { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); }
  .page-header .row { position: relative; }
  .contact-map iframe { height: 260px; }
}
@media (max-width: 651px) {
  html .home-slider, #home.home-slider { display: block !important; height: clamp(200px, 56vw, 300px) !important; }
}

/* icone do menu do celular (a fonte antiga so existia em EOT) */
.dl-menuwrapper button.dl-trigger { width: 44px; height: 44px; border-radius: 6px; position: relative; padding: 0; background: var(--red); }
.dl-menuwrapper button.dl-trigger i { display: none; }
.dl-menuwrapper button.dl-trigger::before {
  content: "";
  position: absolute;
  left: 12px; right: 12px; top: 14px;
  height: 3px;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 8px 0 #fff, 0 16px 0 #fff;
}
.dl-menuwrapper button.dl-trigger:hover { background: var(--red-dark); }
@media (max-width: 991px) {
  .home-slider .flex-caption { animation: none !important; left: 20px !important; top: 50% !important; margin: 0 !important; }
}
@media (max-width: 991px) {
  .dl-menuwrapper .dl-menu { left: auto !important; right: 0; width: 220px; border-radius: 8px; overflow: hidden; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
}

/* Seta do select com respiro a direita (QA 09/11/2026, M12) */
select.form-control {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23555' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 8px;
}
select.form-control::-ms-expand { display: none; }
.select2-container--default .select2-selection--single .select2-selection__rendered { padding-right: 36px; }
.select2-container--default .select2-selection--single .select2-selection__arrow { right: 10px; }

/* Linhas decorativas do botao "topo" passavam 8 px da tela em 1536 (QA 09/11/2026, M11) */
.section-footer { overflow-x: clip; }
