/* =====================================================================
   tabelacarros.css — sistema visual unificado (2026-09)
   Tokens, base, cabeçalho/rodapé e componentes "tc-*".
   Carregado depois de legado.css; onde houver conflito, este vence.
   ===================================================================== */

:root {
  --tc-azul: #1f3a8b;
  --tc-azul-escuro: #162c6e;
  --tc-navy: #24366b;
  --tc-azul-claro: #edf1fb;
  --tc-azul-borda: #c9d4f0;
  --tc-verde: #32cb71;
  --tc-verde-escuro: #1f9d55;
  --tc-verde-claro: #e6f8ee;
  --tc-pos: #178a48;
  --tc-pos-bg: #e6f6ec;
  --tc-neg: #d33a2c;
  --tc-neg-bg: #fdecea;
  --tc-neutro: #6f7a8c;
  --tc-neutro-bg: #eef1f6;
  --tc-texto: #1d2433;
  --tc-texto-2: #4b5566;
  --tc-texto-3: #6f7a8c;
  --tc-borda: #e3e7ef;
  --tc-borda-2: #d3d9e4;
  --tc-fundo: #f5f7fb;
  --tc-fundo-2: #fafbfd;
  --tc-branco: #fff;
  --tc-radius: 12px;
  --tc-radius-sm: 8px;
  --tc-sombra: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .06);
  --tc-sombra-hover: 0 10px 24px rgba(16, 24, 40, .10);
  --tc-fonte: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --tc-container: 1170px;
  --tc-topo-altura: 64px;
  --tc-topo-altura-mobile: 112px;
}

/* ---------- Base ---------- */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--tc-topo-altura) + 12px); }
body {
  margin: 0;
  font-family: var(--tc-fonte);
  color: var(--tc-texto);
  background: var(--tc-branco);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body, h1, h2, h3, h4, p, li, td, th, input, select, button { font-family: var(--tc-fonte); }
a { color: var(--tc-azul); text-decoration: none; }
a:hover { color: var(--tc-azul-escuro); }
img { border: 0; }
:focus-visible { outline: 2px solid var(--tc-verde); outline-offset: 2px; }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; white-space: nowrap; }

/* Contêiner de conteúdo (compatível com o legado) */
.conteudo, .conteudo_principal { width: 100%; max-width: var(--tc-container); margin: 0 auto; clear: both; }
.conteudo { margin-top: 0; }
.conteudo_pagina { max-width: var(--tc-container); width: 100%; float: none; margin: 0 auto; }
@media (max-width: 1210px) {
  .conteudo, .conteudo_principal { padding: 0 20px; box-sizing: border-box; }
  .conteudo_pagina { width: 100%; }
}
@media (max-width: 560px) {
  .conteudo, .conteudo_principal { padding: 0 16px; }
}

/* ---------- Migalha de pão (global) ---------- */
.migalha_de_pao { font-size: 13px; color: var(--tc-texto-3); margin: 14px 0 18px; height: auto; line-height: 1.5; clear: both; position: relative; }
.migalha_de_pao a { color: var(--tc-texto-2); text-decoration: none; font-size: 13px; height: auto; }
.migalha_de_pao a:hover { color: var(--tc-azul); text-decoration: underline; }
ol.tc-migalha { list-style: none; margin: 14px 0 18px; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font-size: 13px; color: var(--tc-texto-3); }
ol.tc-migalha li { display: inline-flex; align-items: center; }
ol.tc-migalha li + li::before { content: "›"; margin: 0 8px; color: var(--tc-borda-2); font-size: 15px; }
ol.tc-migalha a { color: var(--tc-texto-2); }
ol.tc-migalha a:hover { color: var(--tc-azul); text-decoration: underline; }
ol.tc-migalha li[aria-current] { color: var(--tc-texto); font-weight: 600; }

/* =====================================================================
   CABEÇALHO
   ===================================================================== */
.tc-topo {
  position: sticky; top: 0; z-index: 500;
  background: var(--tc-branco);
  border-bottom: 1px solid var(--tc-borda);
  box-shadow: 0 1px 0 rgba(16, 24, 40, .02);
}
.tc-topo__meio {
  max-width: var(--tc-container); margin: 0 auto; padding: 0 20px; box-sizing: border-box;
  display: grid; align-items: center; column-gap: 28px;
  grid-template-columns: auto 1fr minmax(260px, 340px);
  grid-template-areas: "logo nav busca";
  height: var(--tc-topo-altura);
}
.menu-toggle { grid-area: toggle; display: none; width: 40px; height: 40px; position: relative; margin: 0; float: none; border-radius: var(--tc-radius-sm); }
.menu-toggle:hover { background: var(--tc-fundo); }
.menu-toggle span { position: absolute; top: 50%; left: 8px; width: 24px; height: 2.5px; margin-top: -1px; background: var(--tc-azul); border-radius: 2px; transition: background-color .2s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 24px; height: 2.5px; background: var(--tc-azul); border-radius: 2px; transition: transform .2s, margin .2s; }
.menu-toggle span::before { margin-top: -8px; }
.menu-toggle span::after { margin-top: 8px; }
.menu-toggle.menu-toggle-active span { background: transparent; }
.menu-toggle.menu-toggle-active span::before { margin-top: 0; transform: rotate(45deg); }
.menu-toggle.menu-toggle-active span::after { margin-top: 0; transform: rotate(-45deg); }

.tc-topo__logo { grid-area: logo; display: flex; align-items: center; padding: 0; margin: 0; width: auto; float: none; }
.tc-topo__logo img { width: 208px; height: 30px; display: block; }

nav.primary-navigation { grid-area: nav; margin: 0; padding: 0; display: block; font-size: 15px; z-index: 20; }
nav.primary-navigation > ul { margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; list-style: none; }
nav.primary-navigation > ul > li { position: relative; list-style: none; margin: 0; padding: 0; display: block; text-align: left; font-weight: 700; }
nav.primary-navigation > ul > li > a {
  display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 12px; border-radius: var(--tc-radius-sm);
  color: var(--tc-texto); font-weight: 600; font-size: 14.5px; white-space: nowrap;
}
nav.primary-navigation > ul > li > a .menu-icon { width: 18px; height: 18px; margin: 0; opacity: .85; }
nav.primary-navigation > ul > li > a::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .5; margin-left: 2px; }
nav.primary-navigation > ul > li:hover > a, nav.primary-navigation > ul > li > a:hover { background: var(--tc-azul-claro); color: var(--tc-azul); }
nav.primary-navigation ul li ul {
  visibility: hidden; opacity: 0; position: absolute; left: 0; top: calc(100% + 6px); display: block;
  min-width: 260px; margin: 0; padding: 8px; list-style: none; text-align: left;
  background: var(--tc-branco); border: 1px solid var(--tc-borda); border-radius: 10px; box-shadow: var(--tc-sombra-hover);
  transform: translateY(6px); transition: opacity .15s, transform .15s, visibility 0s .15s;
}
nav.primary-navigation ul li ul::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
nav.primary-navigation ul li:hover > ul, nav.primary-navigation ul li:focus-within > ul { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; padding-top: 8px; box-shadow: var(--tc-sombra-hover); }
nav.primary-navigation ul li ul li { margin: 0; padding: 0; width: 100%; clear: both; border: 0; text-align: left; }
nav.primary-navigation ul li ul li a { display: block; padding: 9px 12px; border-radius: 6px; font-size: 14px; font-weight: 500; color: var(--tc-texto-2); border-left: 0; transition: background .12s, color .12s; }
nav.primary-navigation ul li ul li a:hover { background: var(--tc-azul-claro); color: var(--tc-azul); padding-left: 12px; border-left: 0; }

.tc-topo__busca { grid-area: busca; position: relative; width: 100%; float: none; text-align: left; }
.tc-topo__busca .section, .tc-topo__busca #the-basics, .tc-topo__busca .input-wrapper, .tc-topo__busca .twitter-typeahead { display: block; width: 100%; }
.tc-topo__busca .typeahead, .tc-topo__busca input.typeahead {
  width: 100%; height: 42px; margin: 0; padding: 0 40px 0 14px; box-sizing: border-box;
  border: 1px solid var(--tc-borda-2); border-radius: 999px; background: var(--tc-fundo);
  font: 500 14px/42px var(--tc-fonte); color: var(--tc-texto); text-indent: 0; box-shadow: none; -webkit-appearance: none; appearance: none;
}
.tc-topo__busca .typeahead::placeholder { color: var(--tc-texto-3); }
.tc-topo__busca .typeahead:focus { outline: 0; background: var(--tc-branco); border-color: var(--tc-azul); box-shadow: 0 0 0 3px rgba(31, 58, 139, .12); }
.tc-topo__busca::after {
  content: ""; position: absolute; right: 15px; top: 13px; width: 16px; height: 16px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f7a8c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat center / 16px;
}
.tc-topo__busca .loading-icon { top: 21px; left: auto; right: 44px; margin: -12px 0 0; }
.tc-topo__busca .input-wrapper { position: relative; }

/* Sugestões da busca */
.tt-menu, .tc-topo__busca .tt-menu {
  display: block; width: 100%; margin-top: 6px; background: var(--tc-branco);
  border: 1px solid var(--tc-borda) !important; border-radius: 12px; box-shadow: var(--tc-sombra-hover);
  overflow: hidden; max-height: 70vh; overflow-y: auto; text-align: left;
}
.tt-suggestion { padding: 0; font-size: 15px; line-height: 1.3; }
.man-section { position: relative; height: auto; padding: 0; border-bottom: 1px solid var(--tc-borda); font-family: var(--tc-fonte); text-align: left; }
.man-section:last-child { border-bottom: 0; }
.man-section a { display: block; }
.man-section .link_pesquisa { display: flex; align-items: center; gap: 12px; height: auto; width: auto; padding: 10px 14px; }
.man-section .image-section { float: none; display: flex; align-items: center; justify-content: center; width: 76px; height: 50px; flex: none; margin: 0; }
.man-section .image-section img { display: block; max-width: 76px; max-height: 50px; margin: 0; }
.man-section .description-section { float: none; min-width: 0; }
.man-section .description-section h1 { margin: 0; font-size: 15px; font-weight: 700; color: var(--tc-texto); float: none; line-height: 1.25; }
.man-section .description-section p { margin: 2px 0 0; font-size: 12.5px; color: var(--tc-texto-3); line-height: 1.3; }
.man-section .description-section span { font-size: 12.5px; color: var(--tc-texto-2); }
.man-section .description-section span b { color: var(--tc-azul); }
.man-section:hover, .is-active.man-section { border: 0; border-bottom: 1px solid var(--tc-borda); background: var(--tc-azul-claro); color: inherit; }
.is-active h1, .description-section h1:hover { color: var(--tc-azul); }
.empty-message { color: var(--tc-texto-3); text-align: center; padding: 14px; font-size: 14px; }

/* Menu lateral (mobile) */
.box_menu_celular { position: fixed; inset: 0; z-index: 400; display: none; width: 100%; height: 100%; padding-top: var(--tc-topo-altura-mobile); box-sizing: border-box; background: var(--tc-branco); }
.sidenav { position: static; height: 100%; width: 100%; overflow-y: auto; overflow-x: hidden; padding: 8px 0 160px; box-sizing: border-box; background: var(--tc-branco); }
.dropdown-btn, .sidenav a { font-family: var(--tc-fonte); font-weight: 700; color: var(--tc-texto); font-size: 15px; padding: 14px 20px; display: block; width: 100%; text-align: left; border: 0; background: none; cursor: pointer; box-sizing: border-box; }
.dropdown-btn { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--tc-borda); }
.dropdown-btn .menu-icon { width: 20px; height: 20px; margin: 0; }
.dropdown-btn i { margin-left: auto; font-size: 12px; color: var(--tc-texto-3); transition: transform .2s; }
.dropdown-btn.active { color: var(--tc-azul); }
.dropdown-btn.active i { transform: rotate(180deg); }
.dropdown-container { display: none; padding: 6px 0 10px 0; background: var(--tc-fundo-2); border-bottom: 1px solid var(--tc-borda); }
.dropdown-container a { padding: 10px 20px 10px 50px; font-weight: 500; font-size: 14.5px; color: var(--tc-texto-2); }
.dropdown-container a:hover { color: var(--tc-azul); background: var(--tc-azul-claro); }
.sep_link_menu { display: none; }
.menu_box_scroll { height: 60px; }

@media (max-width: 991px) {
  .tc-topo__meio {
    grid-template-columns: 40px 1fr; column-gap: 12px; row-gap: 0;
    grid-template-areas: "toggle logo" "busca busca";
    height: var(--tc-topo-altura-mobile); padding: 0 16px;
    align-content: center;
  }
  .menu-toggle { display: block; }
  .tc-topo__logo { justify-content: flex-start; height: 56px; }
  .tc-topo__logo img { width: 196px; height: 28px; }
  nav.primary-navigation { display: none; }
  .tc-topo__busca { padding-bottom: 12px; }
  .tc-topo__busca::after { top: 13px; }
  html { scroll-padding-top: calc(var(--tc-topo-altura-mobile) + 12px); }
}

/* =====================================================================
   HERO (home)
   ===================================================================== */
.tc-hero {
  position: relative; text-align: center; color: var(--tc-branco);
  background: var(--tc-navy) url("../imagens/fundo_banner_tabela_carros.webp") center / cover no-repeat;
  padding: 52px 20px 96px; box-sizing: border-box;
}
.tc-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36, 54, 107, .55), rgba(36, 54, 107, .35)); }
.tc-hero > * { position: relative; }
.tc-hero h1 { margin: 0; color: var(--tc-branco); font-size: 44px; font-weight: 800; line-height: 1.1; letter-spacing: -.01em; clear: none; padding: 0; text-align: center; }
.tc-hero h2 { margin: 12px 0 0; color: #7fe3a8; font-size: 20px; font-weight: 600; line-height: 1.3; text-align: center; }
.tc-hero__form { display: grid; grid-template-columns: 1fr 1.15fr 1.7fr 1fr; gap: 12px; max-width: 1040px; margin: 30px auto 0; }
.tc-select { position: relative; display: block; width: auto; height: auto; margin: 0; float: none; line-height: normal; overflow: visible; }
.tc-select::after { content: none; }
.tc-select select {
  width: 100%; height: 50px; padding: 0 42px 0 16px; margin: 0; box-sizing: border-box;
  border: 1px solid transparent; border-radius: 10px; background: var(--tc-branco); color: var(--tc-texto);
  font: 600 14.5px var(--tc-fonte); cursor: pointer; -webkit-appearance: none; appearance: none; box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f3a8b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; transform: none; transition: box-shadow .15s, background-color .15s;
}
.tc-select select:hover { box-shadow: 0 3px 10px rgba(0, 0, 0, .18); }
.tc-select select:focus { outline: 0; border-color: var(--tc-verde); box-shadow: 0 0 0 3px rgba(50, 203, 113, .35); }
.tc-select select:disabled { background-color: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .75); cursor: not-allowed; box-shadow: none; transform: none; border-color: rgba(255, 255, 255, .18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' opacity='.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.tc-select select option { color: var(--tc-texto); background: var(--tc-branco); font-weight: 500; }
@media (max-width: 991px) {
  .tc-hero { padding: 40px 20px 88px; }
  .tc-hero h1 { font-size: 36px; }
  .tc-hero h2 { font-size: 17px; }
  .tc-hero__form { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .tc-hero { padding: 32px 16px 80px; }
  .tc-hero h1 { font-size: 32px; }
  .tc-hero h2 { font-size: 16px; }
  .tc-hero__form { grid-template-columns: 1fr; gap: 10px; margin-top: 22px; }
}

/* =====================================================================
   COMPONENTES
   ===================================================================== */
.tc-pag { color: var(--tc-texto); font-size: 15px; line-height: 1.55; }
.tc-pag p { color: var(--tc-texto-2); font-size: 15px; line-height: 1.6; }
.tc-pag h1, .tc-pag h2, .tc-pag h3 { clear: none; }

/* Título de seção */
.tc-secao { margin-top: 48px; clear: both; }
.tc-secao--compacta { margin-top: 32px; }
.tc-secao__cab { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 18px; }
.tc-secao__titulo { position: relative; margin: 0; padding-left: 16px; font-size: 24px; font-weight: 800; line-height: 1.2; color: var(--tc-azul); text-align: left; }
.tc-secao__titulo::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 5px; border-radius: 5px; background: var(--tc-verde); }
.tc-secao__titulo a { color: inherit; }
.tc-secao__sub { margin: 6px 0 0 16px; font-size: 14px; color: var(--tc-texto-3); font-weight: 500; }
.tc-secao__link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--tc-azul); white-space: nowrap; padding-bottom: 3px; }
.tc-secao__link::after { content: "→"; font-size: 16px; transition: transform .15s; }
.tc-secao__link:hover::after { transform: translateX(3px); }
@media (max-width: 560px) {
  .tc-secao { margin-top: 36px; }
  .tc-secao__titulo { font-size: 21px; }
  .tc-secao__cab { align-items: flex-start; flex-direction: column; gap: 6px; }
}

/* Card */
.tc-card { background: var(--tc-branco); border: 1px solid var(--tc-borda); border-radius: var(--tc-radius); box-shadow: var(--tc-sombra); box-sizing: border-box; }
.tc-card__cab { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--tc-borda); font-weight: 700; font-size: 15px; color: var(--tc-texto); }
.tc-card__cab h2, .tc-card__cab h3 { margin: 0; font-size: 15px; font-weight: 700; color: var(--tc-texto); text-align: left; line-height: 1.3; }
.tc-card__cab .tc-icone { color: var(--tc-azul); }
.tc-card__cab-acoes { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.tc-card__corpo { padding: 18px; }
.tc-card__rodape { padding: 12px 18px 16px; border-top: 1px solid var(--tc-borda); }
.tc-icone { width: 20px; height: 20px; flex: none; display: inline-block; vertical-align: middle; }
@media (max-width: 560px) {
  .tc-card__cab { padding: 12px 14px; flex-wrap: wrap; }
  .tc-card__corpo { padding: 14px; }
  .tc-card__rodape { padding: 12px 14px 14px; }
}

/* Botões */
.tc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: var(--tc-radius-sm); box-sizing: border-box;
  font: 600 14px/1 var(--tc-fonte); border: 1px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s;
}
.tc-btn:hover { text-decoration: none; }
.tc-btn--primario { background: var(--tc-azul); color: var(--tc-branco); }
.tc-btn--primario:hover { background: var(--tc-azul-escuro); color: var(--tc-branco); box-shadow: 0 6px 16px rgba(31, 58, 139, .25); }
.tc-btn--contorno { background: var(--tc-branco); border-color: var(--tc-borda-2); color: var(--tc-azul); }
.tc-btn--contorno:hover { background: var(--tc-azul-claro); border-color: var(--tc-azul); color: var(--tc-azul); }
.tc-btn--verde { background: var(--tc-verde-escuro); color: var(--tc-branco); }
.tc-btn--verde:hover { background: #18804a; color: var(--tc-branco); }
.tc-btn--bloco { width: 100%; }
.tc-btn--pequeno { height: 34px; padding: 0 12px; font-size: 13px; }
.tc-btn img, .tc-btn svg { width: 22px; height: 22px; flex: none; }

/* Chips */
.tc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tc-chip { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--tc-borda-2); background: var(--tc-branco); color: var(--tc-azul); font-size: 14px; font-weight: 600; white-space: nowrap; box-sizing: border-box; transition: background-color .12s, border-color .12s; }
.tc-chip:hover { background: var(--tc-azul-claro); border-color: var(--tc-azul); color: var(--tc-azul); }
.tc-chip--ativo, .tc-chip--ativo:hover { background: var(--tc-azul); border-color: var(--tc-azul); color: var(--tc-branco); }
.tc-chip--pequeno { height: 32px; padding: 0 12px; font-size: 13px; }

/* Pílula de variação */
.tc-var { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; line-height: 1.3; font-variant-numeric: tabular-nums; }
.tc-var::before { content: ""; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; flex: none; }
.tc-var--pos { color: var(--tc-pos); background: var(--tc-pos-bg); }
.tc-var--pos::before { border-bottom: 6px solid currentColor; }
.tc-var--neg { color: var(--tc-neg); background: var(--tc-neg-bg); }
.tc-var--neg::before { border-top: 6px solid currentColor; }
.tc-var--neutro { color: var(--tc-neutro); background: var(--tc-neutro-bg); }
.tc-var--neutro::before { display: none; }
.tc-var--grande { font-size: 22px; padding: 6px 14px; }
.tc-var--grande::before { border-left-width: 6px; border-right-width: 6px; }
.tc-var--grande.tc-var--pos::before { border-bottom-width: 9px; }
.tc-var--grande.tc-var--neg::before { border-top-width: 9px; }
.tc-var--mini { font-size: 11px; font-weight: 700; padding: 1px 6px; gap: 3px; }
.tc-var--mini::before { border-left-width: 3px; border-right-width: 3px; }
.tc-var--mini.tc-var--pos::before { border-bottom-width: 5px; }
.tc-var--mini.tc-var--neg::before { border-top-width: 5px; }
.tc-var--texto { background: none; padding: 0; }

/* Tiles KPI (estilo investidor10) */
.tc-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tc-kpi { background: var(--tc-branco); border: 1px solid var(--tc-borda); border-radius: 10px; overflow: hidden; box-shadow: var(--tc-sombra); }
.tc-kpi__rotulo { background: var(--tc-navy); color: var(--tc-branco); font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; padding: 8px 12px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-kpi__valor { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; min-height: 62px; padding: 10px 12px; text-align: center; font-size: 21px; font-weight: 800; color: var(--tc-texto); font-variant-numeric: tabular-nums; line-height: 1.15; }
.tc-kpi__valor small { display: block; width: 100%; font-size: 12px; font-weight: 500; color: var(--tc-texto-3); }
.tc-kpi--destaque .tc-kpi__rotulo { background: var(--tc-azul); }
.tc-kpi--destaque .tc-kpi__valor { color: var(--tc-azul); font-size: 26px; }
/* Quantidade de tiles varia (nem toda marca tem 0km/seminovo): preenche a linha sozinho */
.tc-kpis--auto { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.tc-kpis--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.tc-kpis--6 .tc-kpi__valor { min-height: 56px; }
.tc-kpis--6 .tc-var { font-size: 15px; padding: 4px 11px; }
@media (max-width: 991px) { .tc-kpis--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .tc-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .tc-kpis--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .tc-kpi__valor { font-size: 19px; min-height: 58px; } .tc-kpi--destaque .tc-kpi__valor { font-size: 23px; } .tc-kpis--6 .tc-kpi__rotulo { font-size: 10px; padding: 7px 6px; } .tc-kpis--6 .tc-var { font-size: 13.5px; padding: 3px 8px; } }

/* Tabelas */
.tc-tabela { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; color: var(--tc-texto); }
.tc-tabela th { text-align: left; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--tc-texto-3); background: var(--tc-fundo); padding: 11px 14px; border-bottom: 1px solid var(--tc-borda); white-space: nowrap; height: auto; border-top: 0; text-indent: 0; }
.tc-tabela td { padding: 12px 14px; border-bottom: 1px solid var(--tc-borda); vertical-align: middle; color: var(--tc-texto); text-align: left; background: transparent; text-indent: 0; height: auto; border-left: 0; border-right: 0; }
.tc-tabela tbody tr:last-child td { border-bottom: 0; }
.tc-tabela tbody tr:hover td { background: var(--tc-fundo-2); }
.tc-tabela .num, .tc-tabela th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tc-tabela .centro, .tc-tabela th.centro { text-align: center; }
.tc-tabela .forte { font-weight: 700; }
.tc-tabela .discreto { color: var(--tc-texto-3); font-size: 13px; }
.tc-tabela--links tbody tr { cursor: pointer; }
.tc-tabela--links tbody tr:hover td { background: var(--tc-azul-claro); }
.tc-tabela a.tc-tabela__link { color: var(--tc-azul); font-weight: 600; }
.tc-tabela a.tc-tabela__link:hover { text-decoration: underline; }
.tc-tabela .tc-tabela__seta { color: var(--tc-borda-2); font-size: 18px; line-height: 1; }
.tc-tabela--links tbody tr:hover .tc-tabela__seta { color: var(--tc-azul); }
.tc-card > .tc-tabela, .tc-card > .table-wrapper > .tc-tabela { border-radius: var(--tc-radius); overflow: hidden; }
.tc-card > .tc-tabela thead th:first-child { border-top-left-radius: var(--tc-radius); }
.tc-card > .tc-tabela thead th:last-child { border-top-right-radius: var(--tc-radius); }
.tc-tabela-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--tc-radius); }
@media (max-width: 640px) {
  .tc-tabela th, .tc-tabela td { padding: 10px 10px; font-size: 13.5px; }
  /* histórico do veículo: esconde a variação em R$ (fica a %) */
  .tabela-historico th:nth-child(3), .tabela-historico td:nth-child(3) { display: none; }
  /* anos do modelo: some o botão, a linha inteira já é clicável */
  /* No celular cabem so Ano, Valor e Variacao: a contagem de versoes e o botao saem
     (a linha inteira ja e clicavel, e o ano e link) */
  .tc-anos-modelos .tc-tabela th:nth-child(4), .tc-anos-modelos .tc-tabela td:nth-child(4),
  .tc-anos-modelos .tc-tabela th:nth-child(5), .tc-anos-modelos .tc-tabela td:nth-child(5) { display: none; }
  .tc-th-longo { display: none; } /* "Variação no mês" -> "Variação": a coluna nao cabe inteira no celular */
  .tc-anos-modelos .tc-tabela td:first-child { white-space: nowrap; }
  .tc-anos-modelos .tc-faixa-valor { display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1.4; }
  .tc-anos-modelos .tc-faixa-valor .tc-seta-faixa { display: none; }
  .tc-anos-modelos .tc-faixa-valor b:last-child::before { content: "até "; font-size: 11px; font-weight: 500; color: var(--tc-texto-3); }
}

/* Ficha (lista de definição) */
.tc-ficha { margin: 0; padding: 0; }
.tc-ficha__item { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--tc-borda); font-size: 14px; }
.tc-ficha__item:last-child { border-bottom: 0; }
.tc-ficha__item dt { color: var(--tc-texto-3); font-weight: 600; flex: none; }
.tc-ficha__item dd { margin: 0; color: var(--tc-texto); font-weight: 600; text-align: right; }
.tc-ficha__item dd small { font-weight: 500; color: var(--tc-texto-3); }
.tc-ficha__item dd small a { color: var(--tc-azul); }

/* Alerta */
.tc-alerta { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid #e9cf8a; background: #fff8e6; border-radius: 10px; color: #5c4300; font-size: 14px; line-height: 1.5; margin: 16px 0 0; }
.tc-alerta b { color: #4a3600; }

/* Bloco de anúncio */
.tc-anuncio { text-align: center; clear: both; margin: 32px 0 0; min-height: 280px; }
.tc-anuncio ins { display: block; }

/* =====================================================================
   HOME
   ===================================================================== */
.tc-home .conteudo_pagina { margin-top: 0; }
.tc-marcas-card { position: relative; z-index: 2; margin-top: -56px; padding: 24px; }
.tc-marcas-card__titulo { margin: 0 0 18px; text-align: center; font-size: 17px; font-weight: 700; color: var(--tc-texto); }
.tc-marcas { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.tc-marca { display: flex; align-items: center; justify-content: center; height: 104px; border: 1px solid var(--tc-borda); border-radius: 10px; background: var(--tc-branco); transition: border-color .15s, box-shadow .15s, transform .15s; }
.tc-marca img { width: 72px; height: 72px; object-fit: contain; }
.tc-marca:hover { border-color: var(--tc-azul-borda); box-shadow: var(--tc-sombra-hover); transform: translateY(-2px); }
.tc-tipos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.tc-tipos .tc-btn { height: 52px; font-size: 15px; }
.tc-tipos .tc-btn img { width: 26px; height: 26px; }
@media (max-width: 767px) {
  .tc-marcas-card { padding: 18px 16px; margin-top: -52px; }
  .tc-marcas { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .tc-marca { height: 88px; }
  .tc-marca img { width: 58px; height: 58px; }
  .tc-tipos { grid-template-columns: 1fr; gap: 10px; }
}

/* Artigos */
.tc-artigos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tc-artigo { display: flex; flex-direction: column; overflow: hidden; transition: box-shadow .15s, transform .15s; }
.tc-artigo:hover { box-shadow: var(--tc-sombra-hover); transform: translateY(-2px); }
.tc-artigo__img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; height: auto; border-radius: 0; }
.tc-artigo__titulo { display: block; padding: 14px 16px 16px; font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--tc-azul); }
.tc-artigo:hover .tc-artigo__titulo { color: var(--tc-azul-escuro); }
@media (max-width: 767px) { .tc-artigos { grid-template-columns: 1fr; gap: 14px; } }

/* Rankings em cards */
.tc-rankings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.tc-ranking__lista { list-style: none; margin: 0; padding: 0; }
.tc-ranking__item { display: grid; grid-template-columns: 26px 58px minmax(0, 1fr) auto 10px; align-items: center; gap: 10px; padding: 9px 14px 9px 16px; border-bottom: 1px solid var(--tc-borda); color: var(--tc-texto); transition: background-color .12s; }
.tc-ranking__lista li:last-child .tc-ranking__item { border-bottom: 0; }
.tc-ranking__item:hover { background: var(--tc-azul-claro); color: var(--tc-texto); }
.tc-ranking__pos { font-size: 12px; font-weight: 700; color: var(--tc-texto-3); font-variant-numeric: tabular-nums; }
.tc-ranking__lista li:nth-child(-n+3) .tc-ranking__pos { color: var(--tc-verde-escuro); }
.tc-ranking__thumb { width: 58px; height: 40px; display: flex; align-items: center; justify-content: center; }
.tc-ranking__thumb img { max-width: 58px; max-height: 40px; width: auto; height: auto; }
.tc-ranking__nome { font-size: 13.5px; font-weight: 600; line-height: 1.3; min-width: 0; overflow-wrap: anywhere; }
.tc-ranking__nome small { display: block; font-size: 11.5px; font-weight: 500; color: var(--tc-texto-3); margin-top: 1px; }
.tc-ranking__valor { font-size: 14px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tc-ranking__seta { width: 7px; height: 7px; border-right: 1.5px solid var(--tc-borda-2); border-bottom: 1.5px solid var(--tc-borda-2); transform: rotate(-45deg); justify-self: end; }
.tc-ranking__item:hover .tc-ranking__seta { border-color: var(--tc-azul); }
.tc-rankings--duplo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 991px) { .tc-rankings { grid-template-columns: 1fr; gap: 16px; } .tc-rankings--duplo { grid-template-columns: 1fr; } }

/* Variação de preços (home) */
.tc-variacao { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tc-variacao__titulo { padding: 12px 16px; border-bottom: 1px solid var(--tc-borda); font-weight: 700; font-size: 14px; text-align: center; color: var(--tc-texto); }
.tc-variacao__colunas { display: grid; grid-template-columns: 1fr 1fr; }
.tc-variacao__col { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 10px; text-align: center; }
.tc-variacao__col + .tc-variacao__col { border-left: 1px solid var(--tc-borda); }
.tc-variacao__rotulo { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tc-texto-3); }
@media (max-width: 991px) { .tc-variacao { grid-template-columns: 1fr; gap: 14px; } }

/* FAQ */
.tc-faq { overflow: hidden; }
.tc-faq .faq_list { list-style: none; margin: 0; padding: 0; }
.tc-faq .faq_item { border-bottom: 1px solid var(--tc-borda); border-radius: 0; }
.tc-faq .faq_item:last-child, .tc-faq .faq_item.no_border { border-bottom: 0; }
.tc-faq .faq_question { position: relative; margin: 0; padding: 16px 20px 16px 50px; background: var(--tc-branco); border: 0; box-sizing: border-box; width: 100%; text-align: left; font-size: 15px; font-weight: 700; color: var(--tc-texto); cursor: pointer; line-height: 1.4; transition: background-color .12s; }
.tc-faq .faq_question:hover { background: var(--tc-fundo-2); color: var(--tc-azul); }
.tc-faq .faq_question::before { content: ""; position: absolute; left: 22px; top: 21px; width: 8px; height: 8px; border-right: 2px solid var(--tc-azul); border-bottom: 2px solid var(--tc-azul); transform: rotate(45deg); transition: transform .2s; margin: 0; display: block; font-family: inherit; }
.tc-faq .faq_question.active::before { transform: rotate(225deg); top: 25px; }
.tc-faq .faq_answer { max-height: none; overflow: visible; background: var(--tc-branco); padding: 0 20px 18px 50px; }
.tc-faq .faq_answer p { margin: 0 0 10px; color: var(--tc-texto-2); font-size: 14.5px; line-height: 1.65; }
.tc-faq .faq_answer p:last-child { margin-bottom: 0; }
@media (max-width: 560px) {
  .tc-faq .faq_question { padding: 14px 14px 14px 40px; font-size: 14.5px; }
  .tc-faq .faq_question::before { left: 16px; }
  .tc-faq .faq_answer { padding: 0 14px 16px 40px; }
}

/* =====================================================================
   PÁGINA DO VEÍCULO
   ===================================================================== */
.tc-vcab { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 22px 26px; }
.tc-vcab__logo { width: 64px; height: 64px; object-fit: contain; flex: none; }
.tc-vcab__eyebrow { margin: 0 0 5px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tc-texto-3); }
.tc-vcab h1 { margin: 0; font-size: 26px; font-weight: 800; line-height: 1.2; color: var(--tc-texto); text-align: left; padding: 0; }
.tc-vcab__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 9px 0 0; font-size: 13px; color: var(--tc-texto-3); }
.tc-vcab__meta b { color: var(--tc-texto-2); font-weight: 600; }
.tc-vcab__preco { text-align: right; padding-left: 26px; border-left: 1px solid var(--tc-borda); min-width: 200px; }
.tc-vcab__preco .rotulo { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tc-texto-3); }
.tc-vcab__preco .valor { display: block; margin: 4px 0 8px; font-size: 36px; font-weight: 800; line-height: 1.05; color: var(--tc-azul); white-space: nowrap; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.tc-vcab__preco .mes { display: block; margin-top: 6px; font-size: 12px; color: var(--tc-texto-3); }
@media (max-width: 767px) {
  .tc-vcab { grid-template-columns: 52px minmax(0, 1fr); gap: 14px 16px; padding: 18px 16px; }
  .tc-vcab__logo { width: 52px; height: 52px; }
  .tc-vcab h1 { font-size: 21px; }
  .tc-vcab__preco { grid-column: 1 / -1; text-align: left; padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--tc-borda); min-width: 0; }
  .tc-vcab__preco .valor { font-size: 32px; }
}

.tc-veiculo-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; align-items: start; margin-top: 20px; }
@media (max-width: 991px) { .tc-veiculo-grid { grid-template-columns: 1fr; } }
.tc-kpis--veiculo { margin-top: 20px; }

/* Gráfico */
.tc-grafico__area { width: 100%; height: 320px; }
.tc-periodos { display: inline-flex; gap: 2px; padding: 3px; background: var(--tc-fundo); border: 1px solid var(--tc-borda); border-radius: 999px; }
.tc-periodos button { height: 28px; padding: 0 11px; border: 0; border-radius: 999px; background: transparent; color: var(--tc-texto-2); font: 600 12.5px var(--tc-fonte); cursor: pointer; transition: background-color .12s, color .12s; }
.tc-periodos button:hover { color: var(--tc-azul); }
.tc-periodos button.ativo { background: var(--tc-azul); color: var(--tc-branco); }
.tc-grafico__legenda { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0 18px 14px; font-size: 12.5px; color: var(--tc-texto-3); }
.tc-grafico__legenda span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; background: var(--tc-azul); }
.tc-grafico__legenda span.comparado::before { background: #f08c2e; }
@media (max-width: 560px) { .tc-grafico__area { height: 260px; } .tc-periodos button { padding: 0 9px; } }

/* Comparar */
.tc-comparar { padding: 16px 18px; background: var(--tc-fundo-2); border-bottom: 1px solid var(--tc-borda); }
.tc-comparar[hidden] { display: none; }
.tc-comparar__titulo { margin: 0 0 12px; font-size: 14px; font-weight: 700; color: var(--tc-texto); }
.tc-comparar__radios { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 12px; font-size: 14px; color: var(--tc-texto-2); }
.tc-comparar__radios label { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; padding-left: 0; margin: 0; position: static; }
.tc-comparar__radios label::before, .tc-comparar__radios label::after { content: none !important; }
.tc-comparar__radios input[type="radio"] { display: inline-block; width: 16px; height: 16px; margin: 0; accent-color: var(--tc-azul); }
.tc-comparar__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tc-comparar select.comp { width: 100%; height: 42px; padding: 0 36px 0 12px; border: 1px solid var(--tc-borda-2); border-radius: var(--tc-radius-sm); background-color: var(--tc-branco); color: var(--tc-texto); font: 500 14px var(--tc-fonte); appearance: none; -webkit-appearance: none; box-sizing: border-box; transform: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f3a8b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.tc-comparar select.comp:disabled { background-color: var(--tc-fundo); color: var(--tc-texto-3); cursor: not-allowed; }
.tc-comparar .comp-form-valor { margin: 12px 0 0; height: auto; line-height: 1.3; padding: 10px 14px; border-radius: var(--tc-radius-sm); background: #fff4ea; color: #b55a10; font-size: 15px; font-weight: 700; text-align: left; }
.tc-comparar .comp-form-valor:empty { display: none; }
@media (max-width: 767px) { .tc-comparar__grid { grid-template-columns: 1fr; } }

/* Variação acumulada */
.tc-acum { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.tc-acum__item { display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 14px 8px; text-align: center; }
.tc-acum__rotulo { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tc-texto-3); }
.tc-acum .tc-var { font-size: 16px; padding: 4px 11px; }
@media (max-width: 767px) { .tc-acum { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } }

/* Histórico (tabela) + ver mais */
.table-wrapper { position: relative; }
.table-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 44px; background: linear-gradient(transparent, #fff); z-index: 2; pointer-events: none; border-radius: 0 0 var(--tc-radius) var(--tc-radius); }
.tc-vermais { padding: 12px 18px 16px; text-align: center; border-top: 1px solid var(--tc-borda); }
.tc-vermais button, button#verMais { height: 38px; padding: 0 18px; border: 1px solid var(--tc-borda-2); border-radius: var(--tc-radius-sm); background: var(--tc-branco); color: var(--tc-azul); font: 600 14px var(--tc-fonte); cursor: pointer; transition: background-color .12s, border-color .12s; }
.tc-vermais button:hover, button#verMais:hover { background: var(--tc-azul-claro); border-color: var(--tc-azul); }
.tc-vermais button i { margin-left: 4px; }
.loading img { width: 60px; height: 60px; }

/* IPVA */
.tc-ipva select.escolha { height: 38px; padding: 0 34px 0 12px; margin: 0; border: 1px solid var(--tc-borda-2); border-radius: var(--tc-radius-sm); border-bottom: 1px solid var(--tc-borda-2); background-color: var(--tc-branco); color: var(--tc-texto); font: 600 14px var(--tc-fonte); appearance: none; -webkit-appearance: none; cursor: pointer; transform: none; min-width: 200px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f3a8b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 16px; }
.tc-ipva select.escolha:focus { outline: 0; border-color: var(--tc-azul); box-shadow: 0 0 0 3px rgba(31, 58, 139, .12); }
.tc-ipva table.normal { width: 100%; border: 0; border-spacing: 0; border-collapse: separate; border-radius: 0; font-size: 14px; }
.tc-ipva table.normal thead th { background: var(--tc-fundo); border: 0; border-bottom: 1px solid var(--tc-borda); border-radius: 0 !important; height: auto; padding: 11px 14px; text-align: left; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--tc-texto-3); }
.tc-ipva table.normal td { background: transparent !important; border: 0; border-bottom: 1px solid var(--tc-borda); border-radius: 0 !important; padding: 11px 14px; height: auto; text-indent: 0; color: var(--tc-texto); }
.tc-ipva table.normal td:last-child { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tc-ipva table.normal tbody tr:last-child td { border-bottom: 0; }
.tc-ipva table.normal tbody tr:last-child td { background: var(--tc-azul-claro) !important; color: var(--tc-azul); }
.tc-ipva .loading { padding: 20px; }

/* Faixa de preço (veículos semelhantes) */
.tc-faixa { list-style: none; margin: 0; padding: 0; }
.tc-faixa__item { display: grid; grid-template-columns: 130px minmax(0, 1fr) 120px auto; gap: 12px; align-items: center; padding: 9px 18px; border-bottom: 1px solid var(--tc-borda); font-size: 13.5px; color: var(--tc-texto-2); }
.tc-faixa__item:last-child { border-bottom: 0; }
.tc-faixa__item:hover { background: var(--tc-fundo-2); }
.tc-faixa__marca { font-weight: 600; color: var(--tc-texto-3); }
.tc-faixa__modelo a { color: var(--tc-azul); font-weight: 600; }
.tc-faixa__modelo a:hover { text-decoration: underline; }
.tc-faixa__ano { color: var(--tc-texto-3); white-space: nowrap; }
.tc-faixa__valor { font-weight: 700; color: var(--tc-texto); white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.tc-faixa__item--atual, .tc-faixa__item--atual:hover { background: var(--tc-azul-claro); box-shadow: inset 4px 0 0 var(--tc-azul); color: var(--tc-azul); }
.tc-faixa__item--atual .tc-faixa__marca, .tc-faixa__item--atual .tc-faixa__ano, .tc-faixa__item--atual .tc-faixa__valor, .tc-faixa__item--atual .tc-faixa__modelo { color: var(--tc-azul); font-weight: 700; }
@media (max-width: 640px) {
  .tc-faixa__item { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "modelo valor" "meta valor"; gap: 2px 12px; padding: 10px 14px; }
  .tc-faixa__marca { display: none; }
  .tc-faixa__modelo { grid-area: modelo; }
  .tc-faixa__ano { grid-area: meta; font-size: 12.5px; }
  .tc-faixa__valor { grid-area: valor; }
  .tc-faixa__modelo a::before, .tc-faixa__modelo span::before { content: attr(data-marca) " "; color: var(--tc-texto-3); font-weight: 500; }
  .tc-faixa__item--atual .tc-faixa__modelo span::before { color: var(--tc-azul); }
}

/* E-book */
.tc-ebook { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 22px; align-items: center; padding: 22px 26px; background: linear-gradient(135deg, #fff, var(--tc-fundo)); }
.tc-ebook img { width: 120px; height: auto; border-radius: 6px; box-shadow: 0 8px 18px rgba(16, 24, 40, .18); }
.tc-ebook h2 { margin: 0 0 6px; font-size: 20px; font-weight: 800; color: var(--tc-texto); text-align: left; }
.tc-ebook p { margin: 0 0 14px; color: var(--tc-texto-2); font-size: 14.5px; }
@media (max-width: 560px) { .tc-ebook { grid-template-columns: 1fr; text-align: center; padding: 20px 16px; } .tc-ebook img { margin: 0 auto; } .tc-ebook h2 { text-align: center; } }

/* =====================================================================
   PÁGINAS DE MODELO / ANOS / MARCA
   ===================================================================== */
.tc-mcab { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; padding: 22px 26px; }
.tc-mcab__logo { width: 64px; height: 64px; object-fit: contain; }
.tc-mcab.tc-mcab--sem-logo { grid-template-columns: minmax(0, 1fr) !important; }
.tc-mcab h1 { margin: 0; font-size: 26px; font-weight: 800; line-height: 1.2; color: var(--tc-texto); text-align: left; padding: 0; }
.tc-mcab__sub { margin: 6px 0 0; font-size: 14.5px; color: var(--tc-texto-3); font-weight: 500; text-align: left; }
@media (max-width: 767px) { .tc-mcab { grid-template-columns: 52px minmax(0, 1fr); gap: 14px; padding: 18px 16px; } .tc-mcab__logo { width: 52px; height: 52px; } .tc-mcab h1 { font-size: 21px; } }

.tc-resumo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; padding: 22px 26px; margin-top: 20px; }
.tc-resumo__texto h2 { margin: 0 0 10px; }
.tc-resumo--simples { grid-template-columns: 1fr; }
.tc-resumo__foto { display: flex; align-items: center; justify-content: center; }
.tc-resumo__foto img { max-width: 100%; height: auto; border-radius: 8px; }
.tc-resumo__texto p { margin: 0 0 12px; font-size: 16px; line-height: 1.6; color: var(--tc-texto-2); }
.tc-resumo__texto p:last-child { margin-bottom: 0; }
.tc-resumo__texto p b, .tc-resumo__texto p strong { color: var(--tc-texto); }
.tc-preco-pill { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--tc-azul); color: var(--tc-branco) !important; font-weight: 700; white-space: nowrap; margin: 0 2px; }
.tc-tendencia { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 14px; border-radius: 10px; background: var(--tc-fundo); border: 1px solid var(--tc-borda); font-size: 14px; color: var(--tc-texto-2); }
.tc-tendencia b { color: var(--tc-texto); }
@media (max-width: 767px) { .tc-resumo { grid-template-columns: 1fr; padding: 18px 16px; gap: 16px; } .tc-resumo__texto p { font-size: 15px; } }

.tc-filtro-versoes { margin-top: 20px; }
.tc-filtro-versoes__rotulo { display: block; margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tc-texto-3); }
.tc-legenda { display: block; margin: 12px 0 0; font-size: 12.5px; color: var(--tc-texto-3); }
.tc-legenda b { color: var(--tc-neg); }
.tc-seta-faixa { color: var(--tc-texto-3); font-weight: 400; padding: 0 4px; }
.tc-thumb-ano { display: flex; justify-content: center; padding: 18px 0 0; }
.tc-thumb-ano img { max-width: 100%; height: auto; border-radius: 8px; }

/* Layout com coluna lateral (página do modelo) */
.tc-colunas { display: flex; gap: 24px; align-items: flex-start; margin-top: 20px; }
.tc-colunas__principal { flex: 1 1 auto; min-width: 0; }
.tc-colunas__principal > .tc-card:first-child { margin-top: 0; }
.tc-colunas__lateral { width: 310px; flex: none; }
@media (max-width: 1100px) { .tc-colunas { flex-direction: column; } .tc-colunas__lateral { width: 100%; } .tc-colunas__lateral .tc-anuncio { width: 100% !important; margin-top: 24px !important; } }

/* Artigo embutido na página do modelo */
.tc-artigo-modelo { padding: 22px 26px; }
.tc-artigo-modelo h2, .tc-artigo-modelo h3 { text-align: left; color: var(--tc-texto); margin: 22px 0 10px; font-size: 20px; }
.tc-artigo-modelo h2:first-child, .tc-artigo-modelo h3:first-child { margin-top: 0; }
.tc-artigo-modelo p { font-size: 15.5px; line-height: 1.7; color: var(--tc-texto-2); }
.tc-artigo-modelo figure { margin: 18px 0; }
.tc-artigo-modelo figure img { max-width: 100%; height: auto; border-radius: 8px; }
.tc-artigo-modelo figcaption { background: none; padding: 6px 0 0; font-size: 12.5px; color: var(--tc-texto-3); }
@media (max-width: 560px) { .tc-artigo-modelo { padding: 16px; } }

/* Grade de modelos (página de marca) */
.box_todos_modelos .modelo_base { border-radius: 10px; border: 1px solid var(--tc-borda); box-shadow: var(--tc-sombra); margin: 8px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.box_todos_modelos .modelo_base:hover { border-color: var(--tc-azul-borda); box-shadow: var(--tc-sombra-hover); transform: translateY(-2px); color: var(--tc-azul); }
.box_todos_modelos .modelo_base2 { border-top: 1px solid var(--tc-borda); }

/* =====================================================================
   RODAPÉ
   ===================================================================== */
.separa_rodape { padding: 0; height: 56px; }
.tc-rodape { clear: both; background: var(--tc-fundo); border-top: 1px solid var(--tc-borda); margin-top: 0; }
.tc-rodape__meio { max-width: var(--tc-container); margin: 0 auto; padding: 44px 20px 28px; box-sizing: border-box; }
.tc-rodape__colunas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.tc-rodape__coluna h3 { margin: 0 0 12px; font-size: 14px; font-weight: 700; color: var(--tc-texto); padding: 0; }
.tc-rodape__coluna a { display: block; margin: 0 0 9px; font-size: 14px; color: var(--tc-texto-2); line-height: 1.4; }
.tc-rodape__coluna a:hover { color: var(--tc-azul); text-decoration: underline; }
.tc-rodape__base { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--tc-borda-2); font-size: 13px; color: var(--tc-texto-3); }
.tc-rodape__marca { display: flex; align-items: center; gap: 14px; }
.tc-rodape__marca img { width: 150px; height: 22px; display: block; }
.tc-rodape__redes { display: flex; gap: 10px; }
.tc-rodape__redes a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--tc-branco); border: 1px solid var(--tc-borda-2); transition: border-color .12s, transform .12s; }
.tc-rodape__redes a:hover { border-color: var(--tc-azul); transform: translateY(-2px); }
.tc-rodape__redes img { width: 18px; height: 18px; display: block; }
@media (max-width: 767px) {
  .tc-rodape__meio { padding: 32px 16px 24px; }
  .tc-rodape__colunas { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .tc-rodape__base { flex-direction: column; align-items: flex-start; }
  .tc-rodape__marca { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* =====================================================================
   PÁGINAS LEGADAS (rankings gerados, catálogos, artigos, institucionais)
   ===================================================================== */
.pagina_expandida > h1, .pagina_expandida h1.carro, h1.titulo_pagina { font-size: 28px; font-weight: 800; color: var(--tc-texto); margin: 6px 0 16px; line-height: 1.2; text-align: left; clear: none; padding: 0; }
.pagina_expandida > p { color: var(--tc-texto-2); font-size: 15px; line-height: 1.6; }
.box_info { background: var(--tc-fundo); border: 1px solid var(--tc-borda); border-radius: 10px; padding: 16px 20px; margin: 0 0 12px; text-indent: 0; }
.box_info p { margin: 0 0 8px; color: var(--tc-texto-2); font-size: 15px; line-height: 1.6; padding: 0; }
.box_info p:last-child { margin-bottom: 0; }
.box_info h3 { margin: 16px 0 6px; font-size: 16px; font-weight: 700; color: var(--tc-texto); padding: 0; }
.box_info h3:first-child { margin-top: 0; }
.box_info ul { margin: 0 0 10px 20px; padding: 0; color: var(--tc-texto-2); font-size: 15px; line-height: 1.6; }
.box_info br { display: none; }
.info_legenda { display: block; font-size: 12.5px; color: var(--tc-texto-3); margin: 8px 0 0; }
.info_legenda b { color: var(--tc-neg); }
.box_h2 { margin: 36px 0 14px; width: auto; }
.box_h2 h2, .pagina_expandida h2.veja_tambem, .pagina_expandida h2.titulo1, .pagina_expandida h2.titulo_texto { position: relative; margin: 0; padding: 0 0 0 16px; font-size: 22px; font-weight: 800; line-height: 1.25; color: var(--tc-azul); text-align: left; border: 0 !important; }
.box_h2 h2::before, .pagina_expandida h2.veja_tambem::before, .pagina_expandida h2.titulo1::before, .pagina_expandida h2.titulo_texto::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 5px; border-radius: 5px; background: var(--tc-verde); }
.box_h2 h3 { margin: 6px 0 0 16px; font-size: 14px; font-weight: 500; color: var(--tc-texto-3) !important; }
.pagina_expandida h2.veja_tambem { margin: 40px 0 14px !important; }
.pagina_expandida h2.veja_tambem i, .links_veja_tambem i, .box_informacoes2 i { display: none; }
.links_veja_tambem { display: flex; flex-wrap: wrap; gap: 8px; }
.links_veja_tambem p { margin: 0; }
.links_veja_tambem a.link1, .pagina_expandida a.botao_fake1, .pagina_expandida a.botao_fake2, .pagina_expandida a.botao_fake_e, .paginacao a.pag, .paginacao a.pag2, .paginacao .pag_sel { display: inline-flex; align-items: center; justify-content: center; float: none; width: auto; min-width: 0; height: 38px; margin: 0; padding: 0 16px; border-radius: 999px; border: 1px solid var(--tc-borda-2); background: var(--tc-branco); color: var(--tc-azul); font: 600 14px var(--tc-fonte); text-decoration: none; box-shadow: none; transition: background-color .12s, border-color .12s; }
.links_veja_tambem a.link1:hover, .pagina_expandida a.botao_fake1:hover, .pagina_expandida a.botao_fake2:hover, .pagina_expandida a.botao_fake_e:hover, .paginacao a.pag:hover, .paginacao a.pag2:hover { background: var(--tc-azul-claro); border-color: var(--tc-azul); color: var(--tc-azul); text-decoration: none; box-shadow: none; }
.paginacao .pag_sel { background: var(--tc-azul); border-color: var(--tc-azul); color: var(--tc-branco); }
.paginacao { display: flex; flex-wrap: wrap; gap: 8px; padding: 24px 0 0; }
.box_voltar1, .box_voltar2 { width: auto; margin: 24px 0 0; }
.pagina_expandida a.botao_fake1_azul, .pagina_expandida a.botao_fake2_azul { display: inline-flex; align-items: center; justify-content: center; float: none; width: auto; height: 42px; margin: 0; padding: 0 18px; border-radius: var(--tc-radius-sm); border: 1px solid var(--tc-borda-2); background: var(--tc-branco); color: var(--tc-azul); font: 600 14px var(--tc-fonte); box-shadow: none; }
.pagina_expandida a.botao_fake1_azul:hover, .pagina_expandida a.botao_fake2_azul:hover { background: var(--tc-azul-claro); border-color: var(--tc-azul); text-decoration: none; box-shadow: none; }
.box_marcas_todas { width: auto; clear: both; }
.box_texto { padding: 0; }
.box_texto p { color: var(--tc-texto-2); font-size: 15px; line-height: 1.65; }
.tc-chips--marcas { margin-top: 4px; }

/* Tabela de ranking legada (.tabela1) — usada pelos rankings gerados */
.pagina_expandida table.tabela1 { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--tc-branco); border: 1px solid var(--tc-borda); border-radius: var(--tc-radius); box-shadow: var(--tc-sombra); overflow: hidden; font-size: 14px; margin: 8px 0 0; max-width: none; }
.pagina_expandida .tabela1 th { background: var(--tc-fundo); color: var(--tc-texto-3); font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; text-align: left; padding: 11px 14px; height: auto; border: 0; border-bottom: 1px solid var(--tc-borda); text-indent: 0; border-radius: 0 !important; }
.pagina_expandida .tabela1 th.th_posicao { width: 56px; text-align: center; }
.pagina_expandida .tabela1 th.th_modelo_base { text-align: center; width: 190px; }
.pagina_expandida .tabela1 th.th_valor { text-align: right; width: 150px; }
.pagina_expandida .tabela1 td { padding: 14px; border: 0; border-bottom: 1px solid var(--tc-borda); vertical-align: middle; text-align: left; background: transparent; }
.pagina_expandida .tabela1 tr:last-child td { border-bottom: 0; }
.pagina_expandida .tabela1 tr:hover td { background: var(--tc-fundo-2); }
.pagina_expandida .tabela1 td.td_posicao { text-align: center; font-size: 13px; font-weight: 700; color: var(--tc-texto-3); }
.pagina_expandida .tabela1 td.td_img_modelo { width: 190px; text-align: center; }
.pagina_expandida .img_ranking { width: auto; float: none; margin: 0 auto; }
.pagina_expandida .img_img_ranking { width: 130px; max-width: 100%; height: auto; display: block; margin: 0 auto 6px; }
.pagina_expandida .legenda_modelo { width: auto; text-align: center; font-size: 13px; font-weight: 700; color: var(--tc-texto); line-height: 1.3; }
.pagina_expandida .tabela1 td.td_versoes { font-size: 14px; line-height: 1.5; padding-top: 10px; padding-bottom: 10px; }
.pagina_expandida .tabela1 td.td_versoes a.link1 { color: var(--tc-azul); font-weight: 600; display: inline-block; padding: 3px 0; max-width: calc(100% - 110px); }
.pagina_expandida .tabela1 td.td_versoes a.link1:hover { text-decoration: underline; color: var(--tc-azul-escuro); }
.pagina_expandida .tabela1 .valor_modelo { float: right; color: var(--tc-texto-2); font-size: 13.5px; font-weight: 600; white-space: nowrap; padding: 3px 0 3px 12px; }
.pagina_expandida .separador_modelo { clear: both; width: 100%; border-bottom: 1px dashed var(--tc-borda); margin: 4px 0; }
.pagina_expandida .tabela1 td.td_valor_geral { width: 150px; text-align: right; font-size: 14px; color: var(--tc-texto-2); white-space: nowrap; line-height: 1.45; }
.pagina_expandida .tabela1 td.td_valor_geral b { display: block; font-size: 17px; color: var(--tc-azul); font-weight: 800; font-variant-numeric: tabular-nums; }
.pagina_expandida .tabela1 tr.tr_cinza td { background: transparent; }
@media (max-width: 700px) {
  .pagina_expandida table.tabela1, .pagina_expandida .tabela1 tbody { display: block; }
  .pagina_expandida .tabela1 tr:first-child { display: none; } /* cabeçalho (os gerados não usam thead) */
  .pagina_expandida .tabela1 thead { display: none; }
  .pagina_expandida .tabela1 tr { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 6px 12px; padding: 14px; border-bottom: 1px solid var(--tc-borda); }
  .pagina_expandida .tabela1 tr:last-child { border-bottom: 0; }
  .pagina_expandida .tabela1 td { display: block; padding: 0; border: 0; width: auto !important; }
  .pagina_expandida .tabela1 td.td_posicao { padding-top: 6px; }
  .pagina_expandida .tabela1 td.td_img_modelo { text-align: left; }
  .pagina_expandida .img_ranking { display: flex; align-items: center; gap: 12px; }
  .pagina_expandida .img_img_ranking { width: 96px; margin: 0; }
  .pagina_expandida .legenda_modelo { text-align: left; }
  .pagina_expandida .tabela1 td.td_versoes, .pagina_expandida .tabela1 td.td_valor_geral { grid-column: 1 / -1; }
  .pagina_expandida .tabela1 td.td_valor_geral { text-align: left; }
  .pagina_expandida .tabela1 td.td_valor_geral b { display: inline; margin-right: 6px; }
  .pagina_expandida .tabela1 td.td_valor_geral br:first-of-type { display: none; }
  .pagina_expandida .tabela1 td.td_versoes a.link1 { max-width: calc(100% - 96px); }
}

/* Tabela de ranking nova (parcial tabela_ranking.tpl) */
.tc-rk__pos { width: 56px; font-size: 13px; font-weight: 700; color: var(--tc-texto-3); }
.tc-rk__modelo { width: 190px; text-align: center; }
.tc-rk__modelo img { display: block; width: 130px; max-width: 100%; height: auto; margin: 0 auto 6px; }
.tc-rk__modelo span { display: block; font-size: 13px; font-weight: 700; color: var(--tc-texto); line-height: 1.3; text-align: center; }
.tc-rk__versoes ul { list-style: none; margin: 0; padding: 0; }
.tc-rk__versoes li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 5px 0; border-bottom: 1px dashed var(--tc-borda); }
.tc-rk__versoes li:last-child { border-bottom: 0; }
.tc-rk__versoes li a { color: var(--tc-azul); font-weight: 600; font-size: 14px; line-height: 1.4; }
.tc-rk__versoes li a:hover { text-decoration: underline; }
.tc-rk__versoes li a small { color: var(--tc-texto-3); font-weight: 500; font-size: 12.5px; }
.tc-rk__versoes li b { white-space: nowrap; color: var(--tc-texto-2); font-weight: 600; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.tc-rk__faixa { width: 150px; white-space: nowrap; line-height: 1.45; color: var(--tc-texto-2); font-size: 13.5px; }
.tc-rk__faixa b { display: block; font-size: 17px; color: var(--tc-azul); font-weight: 800; font-variant-numeric: tabular-nums; }
.tc-rk__faixa small { display: block; font-size: 11.5px; color: var(--tc-texto-3); }
@media (max-width: 700px) {
  .tc-ranking-tabela thead { display: none; }
  .tc-ranking-tabela, .tc-ranking-tabela tbody { display: block; }
  .tc-ranking-tabela tr { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 6px 12px; padding: 14px; border-bottom: 1px solid var(--tc-borda); }
  .tc-ranking-tabela tr:last-child { border-bottom: 0; }
  .tc-ranking-tabela td { display: block; padding: 0 !important; border: 0; width: auto; text-align: left; }
  .tc-ranking-tabela tbody tr:hover td { background: transparent; }
  .tc-ranking-tabela .tc-rk__pos { padding-top: 6px !important; }
  .tc-ranking-tabela .tc-rk__modelo { display: flex; align-items: center; gap: 12px; }
  .tc-ranking-tabela .tc-rk__modelo img { width: 96px; margin: 0; }
  .tc-ranking-tabela .tc-rk__modelo span { text-align: left; }
  .tc-ranking-tabela .tc-rk__versoes, .tc-ranking-tabela .tc-rk__faixa { grid-column: 1 / -1; }
  .tc-ranking-tabela .tc-rk__faixa b, .tc-ranking-tabela .tc-rk__faixa small { display: inline; margin-right: 6px; }
}

/* Grades de categorias / marcas (catálogos 0km) */
.pagina_expandida .box_categorias, .pagina_expandida .box_marcas1, .pagina_expandida .box_marcas2, .pagina_expandida .box_categorias_peq, .pagina_expandida .box_marcas_famosas, .tc-grade { height: auto !important; width: auto !important; max-width: none; background: transparent; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; border-radius: 0; clear: both; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.pagina_expandida .box_marcas2, .pagina_expandida .box_categorias_peq, .tc-grade--compacta { grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 10px; }
.pagina_expandida .box_categorias > h2, .pagina_expandida .box_marcas1 > h2, .pagina_expandida .box_marcas_famosas > h2 { grid-column: 1 / -1; margin: 0 0 4px; }
.pagina_expandida .box_categorias_botao, .pagina_expandida .box_marcas_botao1, .pagina_expandida .box_marcas_botao2, .pagina_expandida .box_marcas_famosas_botao, .pagina_expandida .box_categorias_botao_peq, .tc-tile { float: none; width: auto; height: auto; min-height: 118px; margin: 0; padding: 14px 10px; border: 1px solid var(--tc-borda); border-radius: 10px; background: var(--tc-branco); box-shadow: var(--tc-sombra); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; box-sizing: border-box; transition: border-color .15s, box-shadow .15s, transform .15s; }
.pagina_expandida .box_categorias_botao:hover, .pagina_expandida .box_marcas_botao1:hover, .pagina_expandida .box_marcas_botao2:hover, .pagina_expandida .box_marcas_famosas_botao:hover, .pagina_expandida .box_categorias_botao_peq:hover, .tc-tile:hover { background: var(--tc-branco); border-color: var(--tc-azul-borda); box-shadow: var(--tc-sombra-hover); transform: translateY(-2px); }
.pagina_expandida .box_categorias_botao_peq, .tc-tile--compacto { min-height: 96px; padding: 10px 8px; }
.pagina_expandida .box_categorias_img, .pagina_expandida .box_marcas_img1, .pagina_expandida .box_marcas_img2, .pagina_expandida .box_marcas_famosas_img, .pagina_expandida .box_categorias_img_peq { width: auto; height: auto; margin: 0; padding: 0; display: flex; align-items: center; justify-content: center; }
.pagina_expandida .box_categorias_img_img { width: 120px; height: auto; }
.pagina_expandida .box_categorias_img_img_peq { width: 76px; height: auto; }
.pagina_expandida .box_marcas_img_img1, .pagina_expandida .box_marcas_img_img2, .pagina_expandida .box_marcas_famosas_img_img, .tc-tile img.tc-tile__logo { width: 56px; height: 56px; object-fit: contain; }
.pagina_expandida .box_categorias_legenda, .pagina_expandida .box_marcas_legenda, .pagina_expandida .box_marcas_legenda2, .pagina_expandida .box_marcas_legenda3, .pagina_expandida .box_categorias_legenda_peq, .tc-tile__nome { width: auto; height: auto; margin: 0; font-size: 13px; font-weight: 600; color: var(--tc-texto); text-align: center; line-height: 1.3; }
.pagina_expandida .box_marcas_legenda2 span, .pagina_expandida .box_marcas_legenda3 span, .tc-tile__nome small { display: block; color: var(--tc-pos) !important; font-size: 12px !important; font-weight: 600; margin-top: 2px; }
.pagina_expandida .box_categorias_legenda_peq { font-size: 12px; }
.pagina_expandida .box_categorias_botao a, .tc-tile { color: var(--tc-texto); }

/* Filtros de ano / faixa (chips) e o select do mobile */
.box_anos1 { display: flex; flex-wrap: wrap; gap: 8px; min-height: 0; height: auto; margin: 16px 0 0; }
.box_anos1 a { text-decoration: none; }
.box_anos1 .nav_ano, .box_anos1 .nav_ano_sel { float: none; width: auto; margin: 0; padding: 0 16px; height: 38px; line-height: 36px; border-radius: 999px; border: 1px solid var(--tc-borda-2); background: var(--tc-branco); color: var(--tc-azul); font: 600 14px/36px var(--tc-fonte); box-sizing: border-box; transition: background-color .12s, border-color .12s; }
.box_anos1 .nav_ano:hover { background: var(--tc-azul-claro); border-color: var(--tc-azul); }
.box_anos1 .nav_ano_sel { background: var(--tc-azul); border-color: var(--tc-azul); color: var(--tc-branco); }
.box_anos1_cel { height: auto; margin: 16px 0 0; }
.box_anos1_cel .select { display: block; width: 100% !important; min-width: 0 !important; height: auto; margin: 0 !important; line-height: normal; }
.box_anos1_cel .select::after { content: none; }
.box_anos1_cel select { width: 100%; height: 44px; padding: 0 40px 0 14px; border: 1px solid var(--tc-borda-2); border-radius: var(--tc-radius-sm); background: var(--tc-branco) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f3a8b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; color: var(--tc-texto); font: 600 14.5px var(--tc-fonte); appearance: none; -webkit-appearance: none; transform: none; box-shadow: none; }
@media (max-width: 768px) { .box_anos1 { display: none; } .box_anos1_cel { display: block; } }
@media (min-width: 769px) { .box_anos1_cel { display: none; } }

/* Artigos (categoria) e postagens */
.box_artigo, body .box_artigo { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 0 22px; height: auto; min-height: 0; margin: 0 0 16px; overflow: hidden; background: var(--tc-branco); border: 1px solid var(--tc-borda) !important; border-radius: var(--tc-radius); box-shadow: var(--tc-sombra); transition: box-shadow .15s, transform .15s; }
body .box_artigo:hover { background: var(--tc-branco); box-shadow: var(--tc-sombra-hover); transform: translateY(-2px); }
body .box_thumb { float: none; width: auto; height: auto; min-height: 150px; }
body .img_thumb_artigo { width: 100%; height: 100%; min-height: 150px; object-fit: cover; border-radius: 0; display: block; }
body .box_descricao_artigo { float: none; width: auto; min-height: 0; height: auto; padding: 18px 20px 18px 0; text-align: left; box-sizing: border-box; position: static; }
body .box_descricao_artigo2 { width: auto; float: none; }
body .h2_artigo { width: auto; padding: 0; margin: 0 0 8px; font-size: 19px; font-weight: 700; color: var(--tc-azul); line-height: 1.35; text-align: left; }
body .subtitulo_artigo { width: auto; margin: 0 0 8px; font-size: 14.5px; line-height: 1.55; color: var(--tc-texto-2); }
body .p_artigo { width: auto; margin: 0; font-size: 12.5px; color: var(--tc-texto-3); }
@media (max-width: 700px) {
  .box_artigo, body .box_artigo { grid-template-columns: 1fr; }
  body .box_thumb, body .img_thumb_artigo { min-height: 0; height: auto; aspect-ratio: 16 / 9; }
  body .box_descricao_artigo { padding: 14px 16px 16px; }
}
.pagina_expandida .postagem, .postagem { width: auto; max-width: none; float: none; margin: 0 0 24px; padding: 28px 32px; background: var(--tc-branco); border: 1px solid var(--tc-borda); border-radius: var(--tc-radius); box-shadow: var(--tc-sombra); box-sizing: border-box; }
.tc-pagina-post .postagem { padding: 0; box-shadow: none; }
.postagem .postage_conteudo { width: auto; margin: 0; }
.postagem h1.titulo, .postagem h2.titulo, .tc-pagina-post .postagem .titulo { font-size: 30px; font-weight: 800; color: var(--tc-texto); margin: 0 0 10px; line-height: 1.2; text-align: left; }
.postagem a.titulo:hover h1, .postagem a.titulo:hover h2 { color: var(--tc-azul); }
.subtitulo_postagem, .tc-pagina-post .subtitulo_postagem { font-size: 18px !important; line-height: 1.45 !important; color: var(--tc-texto-2) !important; font-weight: 400 !important; margin: 0 0 14px !important; }
.cabecalho_postagem { height: auto; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--tc-texto-3); clear: none; }
.autor_postagem, .data_postagem { float: none; padding: 0; border: 0; font-size: 13px; color: var(--tc-texto-3); }
.autor_postagem { padding-right: 14px; border-right: 1px solid var(--tc-borda); }
.postagem p, .postagem li { font-size: 17px; line-height: 1.7; color: var(--tc-texto-2); }
.postagem ul { padding-left: 22px; }
.postagem h2 { font-size: 22px; font-weight: 800; color: var(--tc-texto); margin: 28px 0 10px; text-align: left; }
.postagem h3 { font-size: 18px; font-weight: 700; color: var(--tc-texto); margin: 22px 0 8px; }
.postagem img { max-width: 100%; height: auto; border-radius: 8px; }
.postagem a:not(.titulo):not(.tc-btn) { color: var(--tc-azul); text-decoration: underline; text-underline-offset: 2px; }
.box_avaliacao { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--tc-borda); display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 14px; color: var(--tc-texto-2); }
.box_avaliacao > div { float: none !important; width: auto !important; display: flex; gap: 8px; align-items: center; }
.botao_avaliar, .botao_avaliar_selecionado { float: none; margin: 0; width: auto; height: 34px; line-height: 32px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--tc-borda-2); color: var(--tc-azul); font: 600 13px/32px var(--tc-fonte); cursor: pointer; }
.botao_avaliar:hover, .botao_avaliar_selecionado { background: var(--tc-azul-claro); border-color: var(--tc-azul); color: var(--tc-azul); }
.obsservacao { width: 100%; max-width: 560px; height: 120px; padding: 10px 12px; border: 1px solid var(--tc-borda-2); border-radius: var(--tc-radius-sm); font: 14px var(--tc-fonte); box-sizing: border-box; }
.botao_laranja, .botao_azul { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 20px; border: 0; border-radius: var(--tc-radius-sm); background: var(--tc-azul); background-image: none !important; color: var(--tc-branco); font: 600 14px var(--tc-fonte); cursor: pointer; }
.botao_laranja:hover, .botao_azul:hover { background: var(--tc-azul-escuro); background-image: none !important; }
.isa_success, .isa_error, .isa_warning { padding: 12px 16px; border-radius: 10px; margin: 0 0 16px; font-size: 14.5px; }
.isa_success { background: var(--tc-pos-bg); color: var(--tc-pos); border: 1px solid #bfe6cd; }
.isa_error { background: var(--tc-neg-bg); color: var(--tc-neg); border: 1px solid #f3c1bb; }
.isa_warning { background: #fff8e6; color: #5c4300; border: 1px solid #e9cf8a; }
.isa_success i, .isa_error i, .isa_warning i { display: none; }

/* Formulário de contato */
table.formulario, table.formulario tbody, table.formulario tr, table.formulario td { display: block; width: 100% !important; height: auto; box-sizing: border-box; }
table.formulario td { padding: 0 0 12px; }
table.formulario label { display: block; font-size: 14px; font-weight: 600; color: var(--tc-texto); margin-bottom: 6px; }
table.formulario td.info { font-size: 13px; color: var(--tc-texto-3); }
.input1, input.input1, textarea.input1 { width: 100% !important; max-width: 520px !important; height: 44px; padding: 0 14px; border: 1px solid var(--tc-borda-2); border-radius: var(--tc-radius-sm); font: 14.5px var(--tc-fonte); color: var(--tc-texto); box-sizing: border-box; background: var(--tc-branco); }
textarea.input1 { height: 180px !important; padding: 12px 14px; resize: vertical; }
.input1:focus { outline: 0; border-color: var(--tc-azul); box-shadow: 0 0 0 3px rgba(31, 58, 139, .12); }
.captcha { margin: 4px 0 8px; }
span.obrigatorio { color: var(--tc-neg); }

/* E-books */
body .ebooks-container { gap: 20px; justify-content: flex-start; margin-top: 24px; }
body .ebook-card { width: calc(33.333% - 14px); margin: 0; padding: 22px; border: 1px solid var(--tc-borda); border-radius: var(--tc-radius); box-shadow: var(--tc-sombra); background: var(--tc-branco); display: flex; flex-direction: column; align-items: center; transition: box-shadow .15s, transform .15s; box-sizing: border-box; }
body .ebook-card:hover { box-shadow: var(--tc-sombra-hover); transform: translateY(-2px); }
body .ebook-card img { width: 170px; height: auto; border-radius: 6px; box-shadow: 0 8px 18px rgba(16, 24, 40, .18); }
body .ebook-card h3 { font-size: 17px; font-weight: 800; color: var(--tc-texto); margin: 18px 0 8px; text-align: center; }
body .ebook-card p { font-size: 14px; color: var(--tc-texto-2); line-height: 1.55; margin: 0 0 16px; flex: 1; }
body .ebook-card .btn, body .pop_btn, body .pop_btn-download-free { display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 20px; border: 0; border-radius: var(--tc-radius-sm); background: var(--tc-azul); color: var(--tc-branco); font: 600 14px var(--tc-fonte); cursor: pointer; text-decoration: none; }
body .ebook-card .btn:hover, body .pop_btn:hover { background: var(--tc-azul-escuro); opacity: 1; }
body .pop_ebook-popup-content { border-radius: var(--tc-radius); border: 1px solid var(--tc-borda); max-width: 460px; font-family: var(--tc-fonte); }
body .pop_ebook-popup-content label { font-family: var(--tc-fonte); }
@media (max-width: 900px) { body .ebook-card { width: calc(50% - 10px); } }
@media (max-width: 600px) { body .ebook-card { width: 100%; margin: 0; } }

/* Página 404 */
.tc-404 { text-align: center; padding: 56px 20px 40px; }
.tc-404__codigo { font-size: 72px; font-weight: 800; color: var(--tc-azul); line-height: 1; letter-spacing: -.02em; }
.tc-404 h1 { font-size: 26px; margin: 12px 0 8px; text-align: center; }
.tc-404 p { color: var(--tc-texto-2); margin: 0 auto 22px; max-width: 520px; }
.tc-404 .tc-chips { justify-content: center; }

/* Blocos auxiliares das páginas de catálogo */
.tc-texto { padding: 22px 26px; }
.tc-texto p { margin: 0 0 12px; color: var(--tc-texto-2); font-size: 15px; line-height: 1.65; }
.tc-texto p:last-child { margin-bottom: 0; }
.tc-texto h3 { margin: 18px 0 6px; font-size: 16px; font-weight: 700; color: var(--tc-texto); }
.tc-texto h3:first-child { margin-top: 0; }
.tc-texto ul { margin: 0 0 12px 20px; padding: 0; color: var(--tc-texto-2); font-size: 15px; line-height: 1.65; }
.tc-texto .tc-chips { margin-top: 16px; }
.tc-intro { margin-top: 20px; }
.tc-grade-modelos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin-top: 20px; }
.tc-tile__extra { font-size: 12px; font-weight: 600; color: var(--tc-texto-3); text-align: center; line-height: 1.3; }
.tc-tile--texto { min-height: 92px; gap: 5px; }
.tc-tile--texto .tc-tile__nome { font-size: 15px; font-weight: 700; color: var(--tc-azul); }
.tc-tile--modelo { padding: 12px 10px 12px; min-height: 152px; justify-content: flex-end; }
.tc-tile__foto { height: 92px; width: 100%; display: flex; align-items: flex-end; justify-content: center; }
.tc-tile__foto img { max-width: 130px; max-height: 92px; width: auto; height: auto; }
.tc-tile--modelo .tc-tile__nome { font-size: 13.5px; font-weight: 700; color: var(--tc-azul); }
.tc-tile--modelo { gap: 6px; }
.tc-grade-modelos__legenda { margin: -6px 0 14px 0; }

.tc-filtro { margin-top: 20px; }
.tc-filtro__select { display: none; }
.tc-select-nativo { width: 100%; height: 44px; padding: 0 40px 0 14px; border: 1px solid var(--tc-borda-2); border-radius: var(--tc-radius-sm); background: var(--tc-branco) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f3a8b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; color: var(--tc-texto); font: 600 14.5px var(--tc-fonte); appearance: none; -webkit-appearance: none; transform: none; box-shadow: none; cursor: pointer; }
@media (max-width: 768px) { .tc-filtro__chips { display: none; } .tc-filtro__select { display: block; } }
.tc-descricao-marca { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 22px; align-items: center; padding: 22px 26px; margin-top: 24px; }
.tc-descricao-marca img { width: 96px; height: 96px; object-fit: contain; }
.tc-descricao-marca p { margin: 0; color: var(--tc-texto-2); font-size: 15px; line-height: 1.65; }
@media (max-width: 560px) { .tc-descricao-marca { grid-template-columns: 1fr; text-align: center; } .tc-descricao-marca img { margin: 0 auto; } }
.tc-artigo-item { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 0 22px; overflow: hidden; margin: 0 0 16px; transition: box-shadow .15s, transform .15s; }
.tc-artigo-item:hover { box-shadow: var(--tc-sombra-hover); transform: translateY(-2px); }
.tc-artigo-item__img { width: 100%; height: 100%; min-height: 156px; object-fit: cover; display: block; }
.tc-artigo-item__texto { padding: 18px 20px 18px 0; }
.tc-artigo-item__texto h2 { margin: 0 0 8px; font-size: 19px; font-weight: 700; color: var(--tc-azul); line-height: 1.35; text-align: left; }
.tc-artigo-item__texto p { margin: 0 0 8px; font-size: 14.5px; line-height: 1.55; color: var(--tc-texto-2); }
.tc-artigo-item__data { font-size: 12.5px; color: var(--tc-texto-3); }
@media (max-width: 700px) { .tc-artigo-item { grid-template-columns: 1fr; } .tc-artigo-item__img { min-height: 0; aspect-ratio: 16 / 9; } .tc-artigo-item__texto { padding: 14px 16px 16px; } }
.tc-tabela .tc-mini { display: flex; align-items: center; gap: 12px; }
.tc-tabela .tc-mini img { width: 50px; height: auto; flex: none; }
.tc-tabela .tc-mini b { display: block; font-size: 14px; color: var(--tc-texto); }
.tc-tabela .tc-mini small { display: block; font-size: 12.5px; color: var(--tc-texto-3); }
@media (max-width: 700px) {
  .tc-tabela--valorizacao thead { display: none; }
  .tc-tabela--valorizacao, .tc-tabela--valorizacao tbody { display: block; }
  .tc-tabela--valorizacao tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--tc-borda); }
  .tc-tabela--valorizacao tr:last-child { border-bottom: 0; }
  .tc-tabela--valorizacao td, .tc-tabela--valorizacao td.num { display: block; padding: 0 !important; border: 0; text-align: left; }
  .tc-tabela--valorizacao tbody tr:hover td { background: transparent; }
  .tc-tabela--valorizacao td:nth-child(1) { grid-column: 1; grid-row: 1; }
  .tc-tabela--valorizacao td:nth-child(2) { grid-column: 1; grid-row: 2; font-size: 13.5px; }
  .tc-tabela--valorizacao td:nth-child(3), .tc-tabela--valorizacao td:nth-child(5) { display: none; }
  .tc-tabela--valorizacao td:nth-child(4) { grid-column: 1; grid-row: 3; font-size: 13px; }
  .tc-tabela--valorizacao td:nth-child(4)::before { content: "Preço FIPE atual: "; font-weight: 500; color: var(--tc-texto-3); }
  .tc-tabela--valorizacao td:nth-child(6) { grid-column: 2; grid-row: 1 / 4; }
  .tc-tabela--valorizacao .tc-mini img { width: 44px; }
}
.tc-vazio { padding: 22px 18px !important; text-align: center; color: var(--tc-texto-3); font-size: 14.5px; }
.isa_warning { margin-top: 12px; }
