/* =====================================================================
   VISUAL FUTURISTA (carregado depois de estilo.css)
   ===================================================================== */
h1, h2, h3, .marca span { font-family: "Exo 2", "Segoe UI", system-ui, sans-serif; }
h1 { font-weight: 800; letter-spacing: -.01em; }
h2 { font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.etiqueta, .marcas-titulo, .numero, .botao, .menu a { font-family: "Orbitron", "Segoe UI", sans-serif; letter-spacing: .06em; }
.botao { font-size: .82rem; text-transform: uppercase; }
.botao.grande { font-size: .9rem; }

/* titulo de secao com barra vermelha que "carrega" */
.secao h2 { position: relative; padding-bottom: 14px; }
.secao h2::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  height: 3px; width: 72px; border-radius: 2px;
  background: linear-gradient(90deg, var(--vermelho), #ff8a2a, transparent);
  box-shadow: 0 0 14px rgba(252, 22, 8, .7);
}
.contato h2::after { left: 50%; transform: translateX(-50%); }
.secao h2.visivel::after { animation: carregar 1.1s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes carregar { from { width: 0; } to { width: 72px; } }

/* cabecalho: linha de luz correndo embaixo */
.topo { transition: background .3s; }
.topo.rolado { background: rgba(8, 8, 9, .96); }
.topo::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--vermelho), transparent);
  background-size: 40% 100%; background-repeat: no-repeat;
  animation: correr 6s linear infinite;
}
@keyframes correr { from { background-position: -40% 0; } to { background-position: 140% 0; } }

/* ---------- topo (hero) ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero > .conteudo { position: relative; z-index: 2; }
#brasas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.grade-3d {
  position: absolute; left: -50%; right: -50%; bottom: -10%; height: 60%;
  z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(252, 22, 8, .35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(252, 22, 8, .35) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(420px) rotateX(62deg);
  transform-origin: center top;
  mask-image: linear-gradient(to top, #000 10%, transparent 85%);
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%);
  animation: avancar 2.4s linear infinite;
  opacity: .55;
}
@keyframes avancar { from { background-position: 0 0; } to { background-position: 0 60px; } }
.varredura {
  position: absolute; left: 0; right: 0; top: 0; height: 120px; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(252, 22, 8, .07), transparent);
  animation: varrer 7s ease-in-out infinite;
}
@keyframes varrer { 0% { transform: translateY(-120px); } 60%, 100% { transform: translateY(900px); } }

/* logo flutuando com brilho pulsando */
.hero-logo-caixa { animation: flutuar 6s ease-in-out infinite; }
.hero-logo { animation: pulsar 3.2s ease-in-out infinite; }
@keyframes flutuar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulsar {
  0%, 100% { filter: drop-shadow(0 10px 30px rgba(252, 22, 8, .25)); }
  50% { filter: drop-shadow(0 10px 55px rgba(252, 22, 8, .55)) drop-shadow(0 0 12px rgba(255, 120, 40, .35)); }
}

/* entrada do texto do topo */
.hero-texto > * { animation: subir .9s cubic-bezier(.2, .8, .2, 1) both; }
.hero-texto > *:nth-child(2) { animation-delay: .12s; }
.hero-texto > *:nth-child(3) { animation-delay: .24s; }
@keyframes subir { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero h1 .vermelho { text-shadow: 0 0 24px rgba(252, 22, 8, .45); }

/* ---------- botoes ---------- */
.botao { position: relative; overflow: hidden; }
.botao::before {
  content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg);
  transition: left .6s;
}
.botao:hover::before { left: 130%; }
.acoes .botao:not(.contorno), .contato .botao { animation: chamar 2.6s ease-in-out infinite; }
@keyframes chamar {
  0%, 100% { box-shadow: 0 0 0 0 rgba(252, 22, 8, .55); }
  70% { box-shadow: 0 0 0 14px rgba(252, 22, 8, 0); }
}

/* ---------- cartoes com brilho que segue o mouse ---------- */
.cartao, .download, .novidade, .passos li { position: relative; }
.cartao::before, .download::before, .novidade::before, .passos li::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx, -300px) var(--my, -300px), rgba(252, 22, 8, .16), transparent 60%);
  opacity: 0; transition: opacity .25s;
}
.cartao:hover::before, .download:hover::before, .novidade:hover::before, .passos li:hover::before { opacity: 1; }
.cartao { transition: border-color .2s, transform .25s, box-shadow .25s; }
.cartao:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(252, 22, 8, .14); }
.cartao-icone { position: relative; }
.cartao-icone::after {
  content: ""; position: absolute; inset: -3px; border-radius: 14px;
  border: 1px solid rgba(252, 22, 8, .5);
  opacity: 0; transform: scale(.85); transition: .3s;
}
.cartao:hover .cartao-icone::after { opacity: 1; transform: none; }

/* numeros dos passos com anel girando */
.numero { position: relative; }
.numero::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid transparent; border-top-color: var(--vermelho); border-right-color: rgba(252, 22, 8, .35);
  animation: girar 2.4s linear infinite;
}
@keyframes girar { to { transform: rotate(360deg); } }

/* download principal com borda de energia animada */
@property --angulo { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.download.principal { border-color: transparent; box-shadow: 0 12px 40px rgba(252, 22, 8, .12); }
.download.principal > * { position: relative; z-index: 1; }
.download.principal::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--angulo), var(--vermelho), transparent 25%, transparent 50%, #ff8a2a 60%, transparent 80%, var(--vermelho));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: energia 4s linear infinite;
}
@keyframes energia { to { --angulo: 360deg; } }

/* marcas */
.marcas img { transition: transform .3s, filter .3s; }
.marcas img:hover { transform: translateY(-4px) scale(1.06); filter: drop-shadow(0 6px 18px rgba(255, 255, 255, .15)); }

/* ---------- revelar ao rolar ---------- */
.revelar { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--atraso, 0ms); }
.revelar.visivel { opacity: 1; transform: none; }
.cartao.revelar.visivel:hover { transform: translateY(-4px); transition-delay: 0ms; }

/* fundo das secoes escuras com pontos de circuito */
.secao.escura {
  background-color: var(--superficie);
  background-image: radial-gradient(rgba(252, 22, 8, .09) 1px, transparent 1.4px);
  background-size: 26px 26px;
}

/* quem pediu menos movimento: tudo parado */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .revelar { opacity: 1; transform: none; }
  #brasas, .varredura { display: none; }
}

/* menu: fonte futurista so no botao; nada quebra linha */
.menu a:not(.botao) { font-family: "Exo 2", "Segoe UI", sans-serif; letter-spacing: .02em; font-weight: 600; white-space: nowrap; }
.marca span, .botao { white-space: nowrap; }
.botao.pequeno { font-size: .72rem; padding: 9px 14px; }
@media (max-width: 860px) { .menu a[href="#remoto"] { display: none; } }
@media (max-width: 640px) {
  .acoes .botao, .download .botao, .contato .botao { white-space: normal; }
  .hero h1 { font-size: 1.9rem; }
}

/* painel visual das novidades sem imagem (ex.: troca de VIN) */
.novidade-painel {
  position: relative; overflow: hidden;
  min-height: 320px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  padding: 32px 20px;
  background: radial-gradient(420px 260px at 50% 40%, rgba(252, 22, 8, .22), transparent 70%), #050506;
  text-align: center;
}
.painel-grade {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(252, 22, 8, .14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(252, 22, 8, .14) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at 50% 45%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 20%, transparent 75%);
}
.novidade-painel > *:not(.painel-grade) { position: relative; }
.painel-etiqueta { font-family: "Orbitron", sans-serif; font-size: .8rem; letter-spacing: .3em; color: var(--texto-2); }
.painel-vin {
  font-family: "Orbitron", monospace; font-weight: 800;
  font-size: clamp(1.1rem, 3.6vw, 1.6rem); letter-spacing: .12em;
  color: #fff; text-shadow: 0 0 18px rgba(252, 22, 8, .8);
  padding: 12px 18px; border: 1px solid rgba(252, 22, 8, .6); border-radius: 10px;
  background: rgba(0, 0, 0, .55);
}
.painel-cursor { color: var(--vermelho); animation: piscar-vin 1.6s steps(2) infinite; }
@keyframes piscar-vin { 50% { opacity: .35; } }
.painel-linha { width: 70%; height: 2px; background: linear-gradient(90deg, transparent, var(--vermelho), transparent); animation: correr-linha 2.2s ease-in-out infinite; }
@keyframes correr-linha { 0%, 100% { transform: scaleX(.3); opacity: .5; } 50% { transform: scaleX(1); opacity: 1; } }
.painel-modulos { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 340px; }
.painel-modulos span {
  font-family: "Orbitron", sans-serif; font-size: .72rem; letter-spacing: .1em;
  padding: 6px 10px; border-radius: 6px;
  border: 1px solid var(--borda); background: rgba(21, 21, 23, .9); color: var(--texto-2);
  animation: modulo-ok 6s ease-in-out infinite;
}
.painel-modulos span:nth-child(2) { animation-delay: .6s; }
.painel-modulos span:nth-child(3) { animation-delay: 1.2s; }
.painel-modulos span:nth-child(4) { animation-delay: 1.8s; }
.painel-modulos span:nth-child(5) { animation-delay: 2.4s; }
.painel-modulos span:nth-child(6) { animation-delay: 3s; }
@keyframes modulo-ok {
  0%, 20% { border-color: var(--borda); color: var(--texto-2); box-shadow: none; }
  30%, 80% { border-color: var(--vermelho); color: #fff; box-shadow: 0 0 12px rgba(252, 22, 8, .45); }
  100% { border-color: var(--borda); color: var(--texto-2); box-shadow: none; }
}
.painel-selo {
  font-family: "Orbitron", sans-serif; font-weight: 800; font-size: .78rem; letter-spacing: .18em;
  color: #fff; background: var(--vermelho); padding: 7px 14px; border-radius: 999px;
  box-shadow: 0 0 20px rgba(252, 22, 8, .5);
}

.painel-modulos span:nth-child(7) { animation-delay: 3.6s; }
.painel-modulos span.outros { animation: none; border-style: dashed; color: var(--texto-2); }

/* VIN sempre cabe no painel: tamanho da letra acompanha a largura do painel */
.novidade-painel { container-type: inline-size; }
.painel-vin { font-size: min(1.5rem, 5.2cqw); letter-spacing: .06em; padding: 12px 4cqw; max-width: 100%; white-space: nowrap; }
@media (min-width: 800px) {
  .novidade.com-painel { grid-template-columns: minmax(360px, 460px) 1fr; }
}

.contato-email { margin-top: 18px; color: var(--texto-2); }
.contato-email a, .rodape a { color: var(--texto); text-decoration-color: var(--vermelho); text-underline-offset: 3px; }
.contato-email a:hover, .rodape a:hover { color: var(--vermelho-claro); }
