:root {
  --fundo: #0b0d12;
  --fundo2: #121620;
  --cartao: #181d29;
  --borda: #283043;
  --texto: #f2f3f5;
  --suave: #a6adbb;
  --laranja: #f7a21b;
  --laranja2: #f08a00;
  --verde: #25d366;
  --vermelho: #ef4444;
  --azul: #3b82f6;
  --raio: 14px;
  --sombra: 0 8px 30px rgba(0, 0, 0, .35);
  --titulo: "Saira", "Inter", system-ui, sans-serif;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--fundo); color: var(--texto); }
body { font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--laranja); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; }
h3 { font-size: 1.1rem; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.suave { color: var(--suave); }
.peq { font-size: .85rem; }
.centro { text-align: center; }
.oculto { display: none !important; }

/* faixa demo */
.demo { position: fixed; left: max(12px, env(safe-area-inset-left, 0px)); bottom: max(12px, env(safe-area-inset-bottom, 0px)); z-index: 45; background: #3a2a00; color: #ffd27a; font-size: .72rem; padding: 6px 12px; border-radius: 999px; max-width: calc(100% - 100px); box-shadow: var(--sombra); }

/* cabeçalho */
.topo { position: sticky; top: 0; z-index: 30; background: rgba(14, 15, 18, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--borda); }
.topo .container { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.marca { display: flex; align-items: center; gap: 10px; color: var(--texto); font-weight: 900; letter-spacing: .04em; }
.marca:hover { text-decoration: none; }
.marca .r { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, var(--laranja), var(--laranja2)); display: grid; place-items: center; color: #111; font-weight: 900; font-style: italic; font-size: 1.3rem; }
.marca small { display: block; font-size: .65rem; color: var(--suave); letter-spacing: .2em; font-weight: 600; }
.menu { margin-left: auto; display: flex; gap: 4px; align-items: center; }
.menu a { color: var(--texto); padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: .95rem; }
.menu a:hover, .menu a.ativo { background: var(--cartao); text-decoration: none; }
.menu .btn { margin-left: 6px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--borda); color: var(--texto); border-radius: 10px; padding: 8px 12px; font-size: 1rem; }
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .menu { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--fundo2); flex-direction: column; align-items: stretch; padding: 12px 16px; border-bottom: 1px solid var(--borda); }
  .menu.aberto { display: flex; }
  .menu .btn { margin: 6px 0 0; }
}

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; padding: 12px 18px; font-weight: 700; font-size: .95rem; cursor: pointer; background: var(--cartao); color: var(--texto); border: 1px solid var(--borda); font-family: inherit; text-decoration: none !important; }
.btn:hover { filter: brightness(1.12); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.prim { background: linear-gradient(135deg, var(--laranja), var(--laranja2)); color: #111; border: 0; }
.btn.wa { background: var(--verde); color: #062b14; border: 0; }
.btn.perigo { background: transparent; color: var(--vermelho); border-color: #5b2323; }
.btn.peq { padding: 7px 12px; font-size: .85rem; border-radius: 10px; }
.btn.grande { padding: 16px 24px; font-size: 1.05rem; }
.btn.bloco { width: 100%; }

/* hero */
.hero { padding: 56px 0 40px; background: radial-gradient(1000px 400px at 80% -10%, rgba(246, 163, 19, .18), transparent 60%), linear-gradient(180deg, #121419, var(--fundo)); }
.hero .grade { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.hero p.lead { font-size: 1.15rem; color: var(--suave); max-width: 560px; }
.hero .acoes { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 16px; }
.selo { display: inline-flex; align-items: center; gap: 8px; background: var(--cartao); border: 1px solid var(--borda); border-radius: 999px; padding: 6px 14px; font-size: .85rem; }
.selo b { color: #fbbf24; }
.hero-card { background: var(--cartao); border: 1px solid var(--borda); border-radius: 20px; padding: 24px; box-shadow: var(--sombra); }
.hero-card ol { margin: 0; padding-left: 20px; }
.hero-card li { margin: 10px 0; }
@media (max-width: 820px) { .hero .grade { grid-template-columns: 1fr; } }

section { padding: 48px 0; }
.titulo-secao { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }

/* cartões de veículo */
.grade-carros { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.carro { background: var(--cartao); border: 1px solid var(--borda); border-radius: var(--raio); overflow: hidden; color: var(--texto); display: flex; flex-direction: column; transition: transform .15s, border-color .15s; position: relative; }
.carro:hover { transform: translateY(-3px); border-color: #4a4f5c; text-decoration: none; }
.carro .foto { aspect-ratio: 4/3; background: #0b0c0f center/cover no-repeat; position: relative; }
.carro .foto.sem { display: grid; place-items: center; color: #3c4150; }
.carro .corpo { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.carro .nome { font-weight: 800; font-size: 1.05rem; }
.carro .info { color: var(--suave); font-size: .85rem; }
.carro .preco { font-size: 1.45rem; font-weight: 900; color: var(--laranja); margin-top: auto; }
.carro .fipe { font-size: .8rem; color: var(--suave); }
.tag { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 8px; font-size: .75rem; font-weight: 800; background: var(--laranja); color: #111; }
.tag.reservado { background: var(--azul); color: #fff; }
.tag.vendido { background: var(--vermelho); color: #fff; font-size: 1rem; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-8deg); padding: 8px 22px; letter-spacing: .15em; box-shadow: var(--sombra); }
.tag.desconto { left: auto; right: 10px; background: #14532d; color: #bbf7d0; }
.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: #2a2e38; color: var(--suave); }
.pill.ok { background: #14532d; color: #bbf7d0; }
.pill.alerta { background: #4a3300; color: #ffd27a; }
.pill.erro { background: #4c1515; color: #fecaca; }
.pill.azul { background: #172554; color: #bfdbfe; }

/* filtros */
.filtros { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; background: var(--fundo2); border: 1px solid var(--borda); border-radius: var(--raio); padding: 14px; margin-bottom: 20px; }

/* formulários */
label { display: block; font-size: .85rem; font-weight: 600; color: var(--suave); margin-bottom: 4px; }
input, select, textarea { width: 100%; background: var(--fundo); color: var(--texto); border: 1px solid var(--borda); border-radius: 10px; padding: 11px 12px; font-size: 1rem; font-family: inherit; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--laranja); outline-offset: 0; border-color: transparent; }
textarea { min-height: 90px; resize: vertical; }
.campo { margin-bottom: 14px; }
.linha { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--texto); }
.check input { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 2px; }

.cartao { background: var(--cartao); border: 1px solid var(--borda); border-radius: var(--raio); padding: 20px; }
.cartao + .cartao { margin-top: 16px; }
.aviso { border-left: 4px solid var(--laranja); background: #22190a; padding: 12px 16px; border-radius: 8px; color: #ffe2a8; font-size: .92rem; }
.aviso.verde { border-color: var(--verde); background: #0d2417; color: #c9f7d9; }
.aviso.vermelho { border-color: var(--vermelho); background: #2a1111; color: #fecaca; }
.msg-erro { color: #fca5a5; font-weight: 600; margin-top: 8px; }

/* vendedores */
.vendedores { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.vendedor { display: flex; align-items: center; gap: 12px; background: var(--cartao); border: 1px solid var(--borda); border-radius: 12px; padding: 12px 14px; color: var(--texto); }
.vendedor:hover { border-color: var(--verde); text-decoration: none; }
.vendedor .av { width: 42px; height: 42px; border-radius: 50%; background: #253; display: grid; place-items: center; font-weight: 800; color: var(--verde); }
.vendedor small { display: block; color: var(--suave); }

/* redes */
.redes { display: flex; gap: 10px; flex-wrap: wrap; }
.rede { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: var(--cartao); border: 1px solid var(--borda); color: var(--texto); font-weight: 600; }
.rede:hover { text-decoration: none; border-color: var(--laranja); }
.rede svg { width: 20px; height: 20px; }

/* passos */
.passos { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; counter-reset: p; }
.passo { background: var(--cartao); border: 1px solid var(--borda); border-radius: var(--raio); padding: 20px; position: relative; }
.passo::before { counter-increment: p; content: counter(p); position: absolute; top: -14px; left: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--laranja); color: #111; font-weight: 900; display: grid; place-items: center; }
.passo h3 { margin-top: 8px; }

/* ficha do carro */
.ficha { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .ficha { grid-template-columns: 1fr; } }
.galeria .principal { aspect-ratio: 4/3; background: #000 center/contain no-repeat; border-radius: var(--raio); position: relative; overflow: hidden; }
.galeria .principal video { width: 100%; height: 100%; background: #000; }
.miniaturas { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0; }
.miniaturas button { flex: 0 0 84px; height: 64px; border-radius: 8px; border: 2px solid transparent; background: #000 center/cover; cursor: pointer; color: #fff; font-size: 1.4rem; }
.miniaturas button.ativo { border-color: var(--laranja); }
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 16px 0; }
.specs div { background: var(--fundo); border-radius: 10px; padding: 10px 12px; }
.specs small { display: block; color: var(--suave); font-size: .75rem; }
.preco-grande { font-size: 2.2rem; font-weight: 900; color: var(--laranja); }
.reparos-lista { list-style: none; margin: 0; padding: 0; }
.reparos-lista li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--borda); }
.reparos-lista li.feito { color: var(--suave); text-decoration: line-through; }

/* assistente vender */
.etapas { display: flex; gap: 6px; margin: 0 0 20px; overflow-x: auto; }
.etapas span { flex: 1; min-width: 90px; text-align: center; font-size: .78rem; font-weight: 700; padding: 8px 6px; border-radius: 10px; background: var(--cartao); color: var(--suave); border: 1px solid var(--borda); }
.etapas span.ativo { background: var(--laranja); color: #111; border-color: transparent; }
.etapas span.feito { color: var(--laranja); }
.grupo { border: 1px solid var(--borda); border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
.grupo > summary { padding: 14px 16px; cursor: pointer; font-weight: 700; display: flex; justify-content: space-between; align-items: center; background: var(--fundo2); list-style: none; }
.grupo > summary::-webkit-details-marker { display: none; }
.grupo .itens { padding: 8px 16px 14px; }
.item-check { padding: 10px 0; border-bottom: 1px solid var(--borda); }
.item-check:last-child { border-bottom: 0; }
.item-check .nome { font-weight: 600; margin-bottom: 6px; }
.estados { display: flex; gap: 6px; flex-wrap: wrap; }
.estados label { margin: 0; }
.estados input { display: none; }
.estados span { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--borda); cursor: pointer; font-size: .82rem; color: var(--texto); font-weight: 600; }
.estados input:checked + span { background: var(--laranja); color: #111; border-color: transparent; }
.estados input[value="ok"]:checked + span, .estados input[value="em_dia"]:checked + span, .estados input[value="sim"]:checked + span.bom, .estados input[value="nao"]:checked + span.bom { background: #16a34a; color: #fff; }
.detalhe-item { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; margin-top: 8px; }
@media (max-width: 600px) { .detalhe-item { grid-template-columns: 1fr; } }
.fotos-guia { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.slot { border: 2px dashed var(--borda); border-radius: 12px; aspect-ratio: 4/3; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 8px; cursor: pointer; background: var(--fundo2) center/cover no-repeat; position: relative; font-size: .85rem; font-weight: 600; }
.slot:hover { border-color: var(--laranja); }
.slot.cheio { border-style: solid; border-color: var(--verde); color: transparent; }
.slot .x { position: absolute; top: 6px; right: 6px; background: rgba(0, 0, 0, .7); color: #fff; border: 0; border-radius: 50%; width: 28px; height: 28px; cursor: pointer; display: none; }
.slot.cheio .x { display: block; }
.slot .prog { position: absolute; left: 0; bottom: 0; height: 5px; background: var(--laranja); width: 0; transition: width .2s; }
.slot input { display: none; }
.slot .ic { font-size: 1.6rem; }
.navega { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; }

/* linha do tempo */
.linha-tempo { list-style: none; padding: 0; margin: 0; }
.linha-tempo li { padding: 0 0 16px 26px; position: relative; }
.linha-tempo li::before { content: ""; position: absolute; left: 6px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--laranja); }
.linha-tempo li::after { content: ""; position: absolute; left: 11px; top: 20px; bottom: 0; width: 2px; background: var(--borda); }
.linha-tempo li:last-child::after { display: none; }

/* rodapé */
.rodape { border-top: 1px solid var(--borda); background: var(--fundo2); padding: 36px 0 24px; margin-top: 40px; color: var(--suave); font-size: .9rem; }
.rodape .grade { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.rodape h3 { color: var(--texto); font-size: 1rem; }
.wa-flutuante { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--verde); display: grid; place-items: center; box-shadow: var(--sombra); }
.wa-flutuante svg { width: 32px; height: 32px; fill: #fff; }

/* modal */
dialog { background: var(--fundo2); color: var(--texto); border: 1px solid var(--borda); border-radius: 16px; padding: 22px; width: min(560px, calc(100% - 24px)); max-height: 90vh; }
dialog::backdrop { background: rgba(0, 0, 0, .65); }

/* tabelas (gestão) */
.tabela { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tabela th, .tabela td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--borda); vertical-align: middle; }
.tabela th { color: var(--suave); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.tabela tr.clica { cursor: pointer; }
.tabela tr.clica:hover td { background: var(--fundo2); }
.rolagem { overflow-x: auto; }
.miniatura { width: 64px; height: 48px; border-radius: 6px; background: #000 center/cover; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 20px; }
.kpi { background: var(--cartao); border: 1px solid var(--borda); border-radius: 12px; padding: 16px; }
.kpi b { display: block; font-size: 1.7rem; font-weight: 900; }
.kpi span { color: var(--suave); font-size: .82rem; }
.abas { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--borda); margin-bottom: 20px; }
.abas button { background: none; border: 0; color: var(--suave); padding: 12px 14px; font-weight: 700; cursor: pointer; border-bottom: 3px solid transparent; font-size: .95rem; white-space: nowrap; font-family: inherit; }
.abas button.ativo { color: var(--texto); border-color: var(--laranja); }
.duas { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 960px) { .duas { grid-template-columns: 1fr; } }
.midias-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.midias-grade a, .midias-grade div { aspect-ratio: 4/3; border-radius: 8px; background: #000 center/cover; display: grid; place-items: center; color: #fff; font-size: .75rem; position: relative; overflow: hidden; }
.midias-grade small { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, .7); padding: 2px 6px; text-align: left; }
.sugestao { background: #10233f; border: 1px solid #1e3a66; border-radius: 12px; padding: 16px; }
.sugestao b.valor { font-size: 1.4rem; color: #93c5fd; }
pre.anuncio { white-space: pre-wrap; background: var(--fundo); border: 1px solid var(--borda); border-radius: 10px; padding: 14px; font-family: inherit; font-size: .9rem; max-height: 360px; overflow: auto; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #111; border: 1px solid var(--laranja); color: var(--texto); padding: 12px 18px; border-radius: 12px; z-index: 100; box-shadow: var(--sombra); max-width: calc(100% - 32px); }

/* ======================= identidade visual (v2) ======================= */
h1, h2, h3, .marca, .titulo-fonte { font-family: var(--titulo); }
h1, h2 { font-style: italic; text-transform: uppercase; letter-spacing: .01em; }
.marca img.logo { width: 54px; height: 44px; object-fit: contain; }
.marca .nome { font-style: italic; font-weight: 800; font-size: 1.15rem; letter-spacing: .06em; line-height: 1; }
.marca .nome small { display: block; font-size: .62rem; color: var(--laranja); letter-spacing: .32em; font-weight: 700; font-style: normal; margin-top: 3px; }
.destaque-texto { color: var(--laranja); }
.faixa-diagonal { position: relative; }
.faixa-diagonal::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 60px, rgba(247, 162, 27, .03) 60px 62px); pointer-events: none; }

/* hero com foto real */
.hero2 { position: relative; min-height: min(86vh, 760px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero2 .fundo { position: absolute; inset: 0; z-index: -2; }
.hero2 .fundo div { position: absolute; inset: 0; background: 50% 72%/cover no-repeat; opacity: 0; transition: opacity 1.4s ease, transform 8s ease; transform: scale(1.06); }
.hero2 .fundo div.ativo { opacity: 1; transform: scale(1); }
.hero2::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 13, 18, .45) 0%, rgba(11, 13, 18, .55) 45%, var(--fundo) 100%), radial-gradient(ellipse 70% 80% at 50% 55%, rgba(11, 13, 18, .55) 0%, rgba(11, 13, 18, .2) 100%); }
/* conteúdo do topo centralizado */
.hero2 .container { padding: 96px 0 56px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero2 h1 { font-size: clamp(2.1rem, min(5.6vw, 8vh), 4.4rem); max-width: 16ch; margin: 14px auto 14px; text-shadow: 0 4px 30px rgba(0, 0, 0, .5); }
.hero2 .lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: #dfe3ea; max-width: 560px; margin-inline: auto; text-shadow: 0 2px 14px rgba(0, 0, 0, .6); }
.hero2 .acoes { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin: 26px 0 20px; }
.hero2 .container > p.suave { max-width: 560px; margin-inline: auto; }
.hero2 .logo-grande { width: 110px; height: 90px; object-fit: contain; margin-bottom: 16px; filter: drop-shadow(0 6px 24px rgba(247, 162, 27, .35)); }
.hero2 .legenda-foto { position: absolute; right: 16px; bottom: 16px; font-size: .75rem; color: #cfd5df; background: rgba(0, 0, 0, .45); padding: 4px 10px; border-radius: 999px; }
.pontos-hero { display: flex; gap: 6px; margin-top: 8px; justify-content: center; }
.pontos-hero button { width: 26px; height: 5px; border-radius: 3px; border: 0; background: rgba(255, 255, 255, .3); cursor: pointer; padding: 0; }
.pontos-hero button.ativo { background: var(--laranja); }

/* blocos trazidos do site atual */
.autoridade { margin: 12px 0 0; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--laranja); font-weight: 700; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
.dois-passos, .nao-importa, .lojista-sec { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 36px; align-items: center; }
.nao-importa, .lojista-sec { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); }
.dois-passos > img, .nao-importa > img, .lojista-sec > img { width: 100%; height: auto; max-width: 460px; justify-self: center; }
.passo-loja { border-left: 3px solid var(--laranja); padding: 4px 0 4px 14px; margin: 14px 0; }
.passo-loja b { font-family: var(--titulo); font-size: 1.2rem; font-style: italic; text-transform: uppercase; }
.passo-loja p { margin: 4px 0 0; color: var(--suave); }
.lista-chips { list-style: none; padding: 0; margin: 14px 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.lista-chips li { background: var(--cartao); border: 1px solid var(--borda); border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: .9rem; }
.lista-chips li::before { content: "✓ "; color: var(--laranja); }
.todo-tipo { font-family: var(--titulo); font-style: italic; text-transform: uppercase; color: var(--laranja); font-size: 1.35rem; margin: 6px 0 14px; }
.tipos-veiculo { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tipos-veiculo figure { margin: 0; background: radial-gradient(circle at 50% 40%, #232a38, var(--cartao)); border: 1px solid var(--borda); border-radius: 14px; padding: 12px; display: grid; gap: 6px; justify-items: center; }
.tipos-veiculo img { width: 100%; height: 86px; object-fit: contain; }
.tipos-veiculo figcaption { font-weight: 800; }
.cta-vender { background: linear-gradient(135deg, #2a1c05, #121620 60%); text-align: center; }
.cta-vender p { margin: 0 auto 14px; color: #dfe3ea; max-width: 560px; }
.selos-cta { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.selos-cta span { border: 1px solid var(--laranja); color: var(--laranja); border-radius: 999px; padding: 5px 14px; font-weight: 800; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.acoes-cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.lista-check { padding-left: 0; list-style: none; display: grid; gap: 8px; }
.lista-check li::before { content: "✔"; color: var(--verde); margin-right: 10px; font-weight: 900; }
@media (max-width: 860px) {
  .dois-passos, .nao-importa, .lojista-sec { grid-template-columns: 1fr; }
  .dois-passos > img { max-width: 240px; }
  .nao-importa > img, .lojista-sec > img { max-width: 300px; }
  .tipos-veiculo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* foto do Rafa + selo do Google num bloco só: o Rafa fica centralizado sobre o selo */
.bloco-rafa { display: inline-flex; flex-direction: column; align-items: center; max-width: 100%; }

/* Rafa recortado (sem fundo) sobre a foto do topo: do peito para cima, discreto, à esquerda */
.rafa-hero { position: relative; width: clamp(130px, 13vw, 170px) !important; height: clamp(150px, 15vw, 200px) !important; margin: 0 0 -2px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%); mask-image: linear-gradient(to bottom, #000 72%, transparent 100%); }
.rafa-hero img { display: block; width: 100%; height: auto; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .55)); }

/* números */
.numeros { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--borda); border: 1px solid var(--borda); border-radius: 18px; overflow: hidden; margin-top: -36px; position: relative; z-index: 2; box-shadow: var(--sombra); }
.numeros div { background: var(--cartao); padding: 18px 20px; }
.numeros b { display: block; font-family: var(--titulo); font-size: 1.8rem; font-weight: 800; font-style: italic; color: var(--laranja); line-height: 1.1; }
.numeros span { color: var(--suave); font-size: .85rem; }

/* vídeos */
.grade-videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.video { background: var(--cartao); border: 1px solid var(--borda); border-radius: var(--raio); overflow: hidden; }
.video .tela { position: relative; aspect-ratio: 16/9; background: #000 center/cover no-repeat; cursor: pointer; display: block; width: 100%; border: 0; padding: 0; }
.video .tela iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .tela .play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .55)); transition: background .2s; }
.video .tela:hover .play { background: rgba(0, 0, 0, .25); }
.play-btn { width: 66px; height: 66px; border-radius: 50%; background: rgba(247, 162, 27, .95); display: grid; place-items: center; box-shadow: 0 8px 30px rgba(0, 0, 0, .5); transition: transform .15s; }
.play-btn::after { content: ""; border-left: 20px solid #111; border-top: 12px solid transparent; border-bottom: 12px solid transparent; margin-left: 5px; }
.video .tela:hover .play-btn { transform: scale(1.08); }
.video .info { padding: 12px 14px; }
.video .info b { display: block; font-size: .95rem; line-height: 1.3; }
.video .info span { color: var(--suave); font-size: .8rem; }
.selo-rede { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 8px; font-size: .72rem; font-weight: 800; color: #fff; z-index: 1; }
.selo-rede svg { width: 14px; height: 14px; }
.selo-rede.yt { background: #c4000f; }
.selo-rede.ig { background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7); }
.trilho { display: flex; align-items: flex-start; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; }
.trilho > * { scroll-snap-align: start; flex: 0 0 auto; }
.reel { width: 230px; border-radius: 16px; overflow: hidden; background: #000; position: relative; border: 1px solid var(--borda); }
.reel .tela { aspect-ratio: 9/16; background: #000 center/cover no-repeat; position: relative; cursor: pointer; display: block; width: 100%; border: 0; padding: 0; }
.reel .tela .play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .75)); }
.reel .tit { position: absolute; left: 10px; right: 10px; bottom: 10px; font-size: .82rem; font-weight: 700; color: #fff; text-align: left; text-shadow: 0 1px 6px #000; }
.reel.tocando { width: min(360px, 86vw); }
.reel.tocando .tela { aspect-ratio: auto; height: 640px; cursor: default; }
.reel iframe { width: 100%; height: 100%; border: 0; background: #fff; }
.yt-vertical { width: 230px; }
.yt-vertical .tela { aspect-ratio: 9/16; }
.abas-pub { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.abas-pub button { border: 1px solid var(--borda); background: var(--cartao); color: var(--texto); border-radius: 999px; padding: 8px 16px; font-weight: 700; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; font-family: inherit; }
.abas-pub button svg { width: 16px; height: 16px; }
.abas-pub button.ativo { background: var(--laranja); color: #111; border-color: transparent; }

/* galeria */
.galeria-loja { columns: 3 260px; column-gap: 12px; }
.galeria-loja button { display: block; width: 100%; margin: 0 0 12px; border: 0; padding: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; position: relative; background: #000; break-inside: avoid; }
.galeria-loja img { width: 100%; height: auto; max-height: 420px; object-fit: cover; transition: transform .4s; }
.galeria-loja button:hover img { transform: scale(1.04); }
.galeria-loja span { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); color: #fff; font-size: .82rem; text-align: left; }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(5, 6, 9, .94); display: grid; place-items: center; padding: 16px; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 10px; }
.lightbox p { color: #dfe3ea; text-align: center; }
.lightbox .fechar, .lightbox .ant, .lightbox .prox { position: absolute; background: rgba(255, 255, 255, .1); border: 0; color: #fff; width: 46px; height: 46px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; }
.lightbox .fechar { top: 16px; right: 16px; }
.lightbox .ant { left: 12px; top: 50%; }
.lightbox .prox { right: 12px; top: 50%; }

/* sobre */
.sobre { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.sobre .foto { border-radius: 20px; aspect-ratio: 4/3; background: center/cover; box-shadow: var(--sombra); position: relative; }
.sobre .foto::after { content: ""; position: absolute; inset: auto -12px -12px auto; width: 40%; height: 40%; border-right: 4px solid var(--laranja); border-bottom: 4px solid var(--laranja); border-radius: 0 0 22px 0; }
@media (max-width: 820px) { .sobre { grid-template-columns: 1fr; } }

/* redes */
.redes-grade { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.rede-card { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 18px; color: #fff; position: relative; overflow: hidden; min-height: 170px; }
.rede-card:hover { text-decoration: none; transform: translateY(-3px); }
.rede-card { transition: transform .15s; }
.rede-card svg { width: 34px; height: 34px; }
.rede-card b { font-family: var(--titulo); font-size: 1.35rem; font-style: italic; }
.rede-card span { opacity: .9; font-size: .9rem; }
.rede-card em { margin-top: auto; font-style: normal; font-weight: 800; background: rgba(255, 255, 255, .18); padding: 8px 14px; border-radius: 10px; align-self: flex-start; }
.rede-card.ig { background: linear-gradient(135deg, #f9ce34, #ee2a7b 55%, #6228d7); }
.rede-card.fb { background: linear-gradient(135deg, #1877f2, #0b4fb3); }
.rede-card.yt { background: linear-gradient(135deg, #ff1f1f, #a80000); }
.rede-card.wa { background: linear-gradient(135deg, #25d366, #128c4f); }
.embeds { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin-top: 18px; }
.embeds iframe { width: 100%; border: 0; border-radius: 14px; background: #fff; }
@media (max-width: 860px) { .embeds { grid-template-columns: 1fr; } }
.mapa iframe { width: 100%; height: 360px; border: 0; border-radius: 16px; filter: grayscale(.2) contrast(1.05); }
.contato-grade { display: grid; grid-template-columns: 1fr 1.3fr; gap: 20px; align-items: stretch; }
@media (max-width: 860px) { .contato-grade { grid-template-columns: 1fr; } }
.compartilhar { display: flex; gap: 8px; flex-wrap: wrap; }
.compartilhar a, .compartilhar button { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--borda); background: var(--cartao); color: var(--texto); cursor: pointer; padding: 0; }
.compartilhar svg { width: 18px; height: 18px; }
.secao-titulo { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.secao-titulo::before { content: ""; width: 28px; height: 4px; background: var(--laranja); border-radius: 2px; transform: skewX(-25deg); }
.secao-titulo span { color: var(--laranja); font-weight: 800; letter-spacing: .2em; font-size: .78rem; text-transform: uppercase; }

/* gestão: editor de mídias do site */
.editor-lista { display: grid; gap: 10px; }
.editor-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 10px; align-items: center; background: var(--fundo); border: 1px solid var(--borda); border-radius: 12px; padding: 8px; }
.editor-item .prev { width: 96px; height: 64px; border-radius: 8px; background: #000 center/cover no-repeat; }
.editor-item .campos { display: grid; gap: 6px; }
.editor-item .campos input { padding: 7px 10px; font-size: .88rem; }
.editor-item .acoes-item { display: grid; grid-template-columns: repeat(2, auto); gap: 4px; }
@media (max-width: 600px) { .editor-item { grid-template-columns: 70px 1fr; } .editor-item .acoes-item { flex-direction: row; grid-column: 1 / -1; } .editor-item .prev { width: 70px; } }

/* acessibilidade e estabilidade do layout (Lighthouse) */
.rodape p a, .sobre p a, .aviso a { text-decoration: underline; }
.pontos-hero button { height: 24px; background: transparent; position: relative; }
.pontos-hero button::after { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .3); }
.pontos-hero button.ativo { background: transparent; }
.pontos-hero button.ativo::after { background: var(--laranja); }
.numeros:empty { min-height: 88px; }
#destaques { min-height: 380px; }
.topo { min-height: 65px; }
.rodape .peq a { text-decoration: underline; }
.rodape .grade div > a { display: inline-block; padding: 6px 0; }
