/* Transamerica Veículos: landing do anúncio.
   Padrão das lojas grandes, com acabamento caprichado: foto real grande na abertura, busca, estoque em grade
   limpa, condições numa faixa escura, loja e contato. Branco e grafite; o vermelho da marca é o botão. */
@font-face { font-family: Archivo; src: url(fontes/archivo-latin.woff2) format("woff2"), url(fontes/Archivo.ttf) format("truetype"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }

:root {
  --papel: #FFFFFF;
  --fundo: #F3F4F6;
  --escuro: #0E0F11;
  --escuro-2: #1A1C1F;
  --tinta: #15171A;
  --apoio: #5A616B;
  --linha: #E3E5E8;
  --vermelho: #E3121A;
  --vermelho-2: #BC0E15;
  --amarelo: #FEF108;
  --caixa: 1240px;
  --margem: clamp(16px, 4.5vw, 48px);
  --raio: 14px;
  --sombra: 0 1px 2px rgba(16,18,22,.05), 0 8px 24px -16px rgba(16,18,22,.28);
  --curva: cubic-bezier(.2, .7, .1, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--papel); color: var(--tinta); font: 400 17px/1.55 Archivo, system-ui, sans-serif; font-stretch: 100%; -webkit-font-smoothing: antialiased; }
::selection { background: var(--vermelho); color: #fff; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, p, dl, dd, address { margin: 0; }
address { font-style: normal; }
button, select { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { width: 20px; height: 20px; flex: none; }
:focus-visible { outline: 3px solid #1D4ED8; outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.caixa { width: 100%; max-width: calc(var(--caixa) + 2 * var(--margem)); margin: 0 auto; padding: 0 var(--margem); }
.pular { position: absolute; left: -9999px; }
.pular:focus { left: 16px; top: 16px; z-index: 90; background: var(--tinta); color: #fff; padding: 10px 14px; border-radius: 8px; }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border: 0; border-radius: 10px; font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap; transition: background .15s, box-shadow .15s, transform .12s; }
.btn:active { transform: translateY(1px); }
.btn-zap { background: var(--vermelho); color: #fff; box-shadow: 0 8px 18px -10px rgba(0,0,0,.5); }
.btn-zap:hover { background: var(--vermelho-2); }
.btn-claro { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.btn-claro:hover { background: rgba(255,255,255,.2); }
.btn-escuro { background: var(--tinta); color: #fff; }
.btn-escuro:hover { background: #000; }
.btn.pequeno { min-height: 42px; padding: 0 16px; font-size: 15px; }
.btn.grande { width: 100%; min-height: 56px; font-size: 17px; }
.link { font-weight: 650; text-underline-offset: 5px; text-decoration-thickness: 2px; text-decoration-color: rgba(21,23,26,.3); }
.link:hover { text-decoration-color: var(--tinta); }

/* topo: por cima da foto, fica escuro ao rolar */
.topo { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s, box-shadow .25s; }
.topo.cheio { background: rgba(14,15,17,.94); backdrop-filter: saturate(1.2) blur(8px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.topo-linha { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.topo-logo { margin-right: auto; }
.topo-logo img { width: 132px; }
.topo-nav { display: flex; gap: 28px; }
.topo-nav a { color: rgba(255,255,255,.82); text-decoration: none; font-weight: 600; font-size: 15px; }
.topo-nav a:hover { color: #fff; }

/* capa: a picape real ocupando a tela, o texto sobre a parte escura */
.capa { position: relative; min-height: min(88svh, 820px); display: flex; align-items: center; overflow: hidden; background: var(--escuro); color: #fff; }
.capa-foto { position: absolute; top: 0; right: 0; bottom: 0; width: min(64%, 1100px); height: 100%; object-fit: cover; object-position: 50% 58%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 34%); mask-image: linear-gradient(90deg, transparent 0, #000 34%); }
.capa::before { content: ""; position: absolute; inset: 0 0 auto; z-index: 1; height: 150px; background: linear-gradient(180deg, rgba(14,15,17,.78), transparent); pointer-events: none; }
.capa::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(180deg, transparent, rgba(14,15,17,.85)); pointer-events: none; }
.capa-texto { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 120px; }
.capa h1 { max-width: 13ch; font-size: clamp(38px, 5.2vw, 68px); line-height: 1.02; font-weight: 800; font-stretch: 92%; letter-spacing: -.025em; text-wrap: balance; }
.capa p { max-width: 36ch; margin-top: 18px; font-size: clamp(17px, 1.5vw, 20px); color: rgba(255,255,255,.8); text-wrap: pretty; }
.capa-acoes { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

/* busca: cartão branco encostado na capa */
.busca { position: relative; z-index: 5; margin-top: -52px; }
.busca { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 12px; align-items: end; }
.busca::before { content: ""; position: absolute; inset: 0 var(--margem); z-index: -1; border-radius: var(--raio); background: var(--papel); box-shadow: 0 20px 44px -22px rgba(16,18,22,.45), 0 0 0 1px var(--linha); }
.busca label { display: grid; gap: 6px; min-width: 0; padding: 18px 0 18px 20px; }
.busca label:first-of-type { padding-left: 22px; }
.busca span { font-size: 13px; font-weight: 700; color: var(--apoio); }
.busca select { width: 100%; min-width: 0; min-height: 46px; padding: 0 36px 0 12px; border: 1px solid var(--linha); border-radius: 9px; background: var(--fundo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%235A616B' stroke-width='2' d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 18px; appearance: none; font-weight: 600; font-size: 16px; }
.busca .btn { margin: 18px 22px 18px 0; min-height: 46px; }

/* estoque */
.estoque { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(56px, 7vw, 96px); }
.estoque-cabeca { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.estoque h2, .loja h2 { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.05; font-weight: 800; font-stretch: 92%; letter-spacing: -.02em; }
.estoque-filtro { color: var(--apoio); font-weight: 600; }
.estoque-filtro button { margin-left: 10px; border: 0; background: none; padding: 0; color: var(--vermelho-2); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.grade { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.carro { display: flex; flex-direction: column; border-radius: var(--raio); background: var(--papel); box-shadow: 0 0 0 1px var(--linha); overflow: hidden; transition: box-shadow .2s; }
.carro:hover { box-shadow: 0 0 0 1px #D2D5DA, var(--sombra); }
.carro-foto { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--fundo); aspect-ratio: 4 / 3; overflow: hidden; }
.carro-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transition: transform .6s var(--curva); }
.carro:hover .carro-foto img { transform: scale(1.03); }
.carro-tipo { position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(14,15,17,.78); color: #fff; font-size: 12.5px; font-weight: 700; }
.carro-fotos { position: absolute; right: 12px; bottom: 12px; padding: 3px 9px; border-radius: 999px; background: rgba(14,15,17,.72); color: #fff; font-size: 12.5px; font-weight: 600; }
.carro-selo { position: absolute; right: 12px; top: 12px; padding: 4px 10px; border-radius: 999px; background: var(--amarelo); color: var(--tinta); font-size: 12.5px; font-weight: 800; }
.carro-corpo { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 18px; }
.carro-nome { font-size: 20px; line-height: 1.2; font-weight: 800; font-stretch: 94%; letter-spacing: -.01em; text-wrap: balance; }
.carro-versao { margin-top: 3px; color: var(--apoio); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.carro-dados { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid var(--linha); color: var(--apoio); font-size: 14.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.carro-pe { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; }
.carro-preco { font-size: 24px; font-weight: 800; font-stretch: 94%; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.carro-preco.sem { font-size: 15px; font-weight: 700; color: var(--tinta); }
.carro-acoes { display: flex; gap: 8px; }
.carro-ver { min-height: 42px; padding: 0 14px; border: 0; border-radius: 9px; background: var(--fundo); font-weight: 700; font-size: 14.5px; box-shadow: inset 0 0 0 1px var(--linha); }
.carro-ver:hover { box-shadow: inset 0 0 0 1.5px var(--tinta); }
.carro-zap { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 9px; background: var(--vermelho); color: #fff; }
.carro-zap:hover { background: var(--vermelho-2); }
.grade-vazia { grid-column: 1 / -1; padding: 40px; border-radius: var(--raio); background: var(--fundo); text-align: center; color: var(--apoio); }

/* condições: faixa escura com três respostas */
.condicoes { background: var(--escuro); color: #fff; }
.condicoes-grade { display: grid; grid-template-columns: repeat(3, 1fr); }
.condicao { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; padding: 40px 28px; text-decoration: none; border-left: 1px solid rgba(255,255,255,.1); }
.condicao:first-child { border-left: 0; padding-left: 0; }
.condicao svg { grid-row: 1 / 3; width: 28px; height: 28px; color: var(--amarelo); margin-top: 2px; }
.condicao b { font-size: 19px; font-weight: 800; font-stretch: 94%; }
.condicao span { color: rgba(255,255,255,.72); font-size: 15.5px; }
a.condicao:hover b { text-decoration: underline; text-underline-offset: 4px; }

/* loja */
.loja { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.loja-foto { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 45%; border-radius: var(--raio); }
.loja address { margin-top: 18px; font-size: 20px; font-weight: 650; line-height: 1.4; }
.horario { max-width: 340px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--linha); color: var(--apoio); font-weight: 600; line-height: 1.7; font-variant-numeric: tabular-nums; }
.loja-acoes { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 28px; }

/* rodapé */
.rodape { background: var(--escuro); color: rgba(255,255,255,.7); font-size: 14px; }
.rodape-linha { display: flex; align-items: center; gap: 12px 32px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 32px; }
.rodape img { width: 104px; }
.rodape-dados { display: flex; gap: 6px 20px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.rodape-links { margin-left: auto; display: flex; gap: 20px; }
.rodape a { color: #fff; text-underline-offset: 3px; }

/* barra do celular */
.barra-zap { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; border-radius: 12px; background: var(--vermelho); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 14px 30px -12px rgba(0,0,0,.55); }
@media (min-width: 900px) { .barra-zap { display: none !important; } }

/* vitrine: fotos e ficha */
.vitrine { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 24px; background: rgba(10,11,13,.72); animation: aparece .2s ease-out; }
@keyframes aparece { from { opacity: 0; } }
.vitrine-caixa { position: relative; width: min(1120px, 100%); max-height: calc(100svh - 48px); display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); overflow: hidden; border-radius: 18px; background: var(--papel); }
.v-foto { position: relative; display: grid; place-items: center; min-height: 0; overflow: hidden; background: #0B0C0E; touch-action: pan-y; }
.v-foto img { width: 100%; height: 100%; max-height: calc(100svh - 48px); object-fit: contain; }
.v-seta { position: absolute; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255,255,255,.94); }
.v-seta.esq { left: 14px; } .v-seta.dir { right: 14px; }
.v-conta { position: absolute; left: 50%; bottom: 14px; translate: -50% 0; padding: 4px 12px; border-radius: 999px; background: rgba(0,0,0,.6); color: #fff; font-size: 14px; font-variant-numeric: tabular-nums; }
.v-fechar { position: absolute; right: 12px; top: 12px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.v-ficha { display: flex; flex-direction: column; gap: 14px; padding: 36px 28px 28px; overflow-y: auto; }
.v-marca { color: var(--apoio); font-weight: 600; }
.v-ficha h2 { margin-top: -8px; font-size: 26px; line-height: 1.12; font-weight: 800; font-stretch: 94%; letter-spacing: -.01em; }
.v-preco { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; }
.v-preco.sem { font-size: 16px; font-weight: 700; color: var(--apoio); }
.v-dados { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; padding: 16px 0; border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); }
.v-dados dt { color: var(--apoio); font-size: 13px; }
.v-dados dd { font-weight: 700; font-variant-numeric: tabular-nums; }
.v-ficha .btn { margin-top: auto; }
.v-ligar { color: var(--apoio); font-weight: 650; text-align: center; }

/* páginas simples: privacidade e página não encontrada */
.pagina-simples .topo { position: static; background: var(--escuro); }
.texto-simples { max-width: 720px; margin: 0 auto; padding: 40px var(--margem) 64px; }
.texto-simples h1 { margin-bottom: 20px; font-size: clamp(28px, 4vw, 40px); line-height: 1.1; font-weight: 800; font-stretch: 92%; letter-spacing: -.015em; }
.texto-simples h2 { margin: 28px 0 8px; font-size: 20px; font-weight: 800; }
.texto-simples p { color: var(--apoio); }
.texto-simples p + p { margin-top: 12px; }
.texto-simples a { font-weight: 650; text-underline-offset: 4px; }
.texto-simples .btn { background: var(--vermelho); color: #fff; }
.erro-acoes { margin: 24px 0 8px; }
.texto-empresa { margin-top: 32px; font-size: 14px; }

/* tablet */
@media (max-width: 1023px) {
  .topo-nav { display: none; }
  .grade { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .busca { grid-template-columns: 1fr 1fr; }
  .busca label:nth-of-type(3) { padding-left: 22px; }
  .busca .btn { margin: 18px 22px 18px 0; align-self: end; }
  .condicoes-grade { grid-template-columns: 1fr; }
  .condicao, .condicao:first-child { padding: 26px 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .condicao:first-child { border-top: 0; }
  .loja { grid-template-columns: 1fr; }
}
/* celular */
@media (max-width: 700px) {
  body { font-size: 16px; }
  .topo { background: var(--escuro); }
  .topo-linha { min-height: 62px; }
  .capa { padding-top: 62px; }
  .capa::before { display: none; }
  .topo-logo img { width: 112px; }
  .capa { min-height: 0; flex-direction: column; align-items: stretch; }
  .capa-foto { position: relative; width: 100%; height: 300px; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
  .capa::after { display: none; }
  .capa-texto { margin-top: -40px; padding-top: 0; padding-bottom: 76px; }
  .capa h1 { font-size: 36px; }
  .capa-acoes { flex-direction: column; }
  .capa-acoes .btn { width: 100%; }
  .busca { grid-template-columns: 1fr 1fr; margin-top: -40px; gap: 0 10px; }
  .busca label, .busca label:first-of-type, .busca label:nth-of-type(3) { padding: 14px 0 0 16px; }
  .busca label:nth-of-type(2) { padding: 14px 16px 0 0; }
  .busca select { min-height: 44px; }
  .busca .btn { margin: 14px 16px 16px 0; }
  .grade { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
  .carro-corpo { padding: 12px 12px 12px; }
  .carro-nome { font-size: 16px; }
  .carro-versao { display: none; }
  .carro-dados { gap: 2px 10px; margin-top: 8px; padding-top: 8px; font-size: 13px; }
  .carro-dados span:nth-child(3) { display: none; }
  .carro-pe { flex-direction: column; align-items: stretch; gap: 10px; padding-top: 10px; }
  .carro-preco { font-size: 18px; }
  .carro-preco.sem { font-size: 13.5px; }
  .carro-ver { flex: 1; min-height: 40px; padding: 0 8px; font-size: 13.5px; }
  .carro-zap { width: 40px; height: 40px; }
  .carro-tipo, .carro-fotos { font-size: 11.5px; }
  .vitrine { padding: 0; place-items: end stretch; }
  .vitrine-caixa { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); height: 100svh; max-height: 100svh; border-radius: 0; }
  .v-foto { aspect-ratio: 4 / 3; }
  .v-foto img { max-height: none; height: 100%; object-fit: cover; }
  .v-ficha { padding: 20px 18px calc(20px + env(safe-area-inset-bottom)); }
  .v-ficha .btn { margin-top: 6px; }
  .rodape-linha { padding-bottom: 100px; }
  .rodape-links { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
