/* Identidade aprovada: site escuro de tema único.
   Layout: coluna de título à esquerda + palco amplo à direita; fotos de largura total entre elas. */
:root {
  --red: #e10600; --black: #0b0b0f; --graphite: #1a1a1f; --steel: #2e2e34; --white: #fff;
  --muted: #b9b9c2; --line: #35353d; --red-text: #ff2a1f;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: Inter, system-ui, sans-serif;
  --head-h: 92px;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--black); color: var(--white); font: 16px/1.65 var(--body); overflow-x: clip; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--black); }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; }
ul, ol { list-style: none; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
section:focus { outline: none; }
section[id] { scroll-margin-top: calc(var(--head-h) + env(safe-area-inset-top, 0px)); position: relative; }
.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.ico { flex: none; }

h1, h2, h3, .btn, .kicker { font-family: var(--display); text-transform: uppercase; font-style: italic; }
h1, h2 { font-weight: 800; line-height: .98; text-wrap: balance; }
h2 { font-size: clamp(2.7rem, 4.6vw, 4.2rem); }
h3 { font-size: 1.55rem; font-weight: 700; line-height: 1.1; }
em { color: var(--red-text); font-style: italic; }
.head h2 em { display: block; }
.head p { color: var(--muted); margin-top: 18px; max-width: 38ch; font-size: 1.05rem; }
.head::after { content: ""; display: block; width: 74px; height: 4px; background: var(--red); transform: skewX(-35deg); margin: 24px 0 26px; }
.note { color: var(--muted); font-size: .9rem; margin-top: 16px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 10px 26px; border-radius: 8px; border: 1px solid transparent; font-size: 1.25rem; font-weight: 700; font-style: normal; text-transform: none; letter-spacing: .01em; text-decoration: none; text-align: center; transition: transform .2s, background .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-red { background: linear-gradient(180deg, #ee0f08, #b90400); box-shadow: 0 8px 28px rgba(225,6,0,.3); }
.btn-line { border-color: #8d8d96; background: rgba(11,11,15,.55); }
.btn-line:hover { border-color: var(--white); }
.row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.row.end { justify-content: flex-end; margin-top: 28px; }
.row.center { justify-content: center; }
.round { width: 48px; height: 48px; flex: none; border-radius: 50%; border: 1px solid var(--line); background: var(--graphite); display: grid; place-items: center; }
.round:hover { background: var(--red); border-color: var(--red); }
.link { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; color: var(--white); font-weight: 600; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* Cabeçalho */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: rgba(11,11,15,.97); border-bottom: 1px solid var(--line); }
.bar { height: var(--head-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.top nav { display: flex; gap: clamp(16px, 2.4vw, 38px); }
.top nav a { text-decoration: none; font: 600 .95rem var(--body); padding: 10px 0; border-bottom: 2px solid transparent; }
.top nav a:hover, .top nav a.on { border-color: var(--red); }
.wa-head { display: flex; gap: 10px; align-items: center; border: 1px solid var(--red); border-radius: 40px; padding: 0 20px; min-height: 48px; font-weight: 600; font-size: .9rem; white-space: nowrap; }
.wa-head:hover { background: var(--red); }
.burger { display: none; width: 48px; height: 48px; place-items: center; }

/* Hero */
.hero { height: clamp(650px, 56.25vw, 800px); display: flex; align-items: center; overflow: hidden; background: #050507; isolation: isolate; }
.hero-photo { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-photo picture { display: contents; }
.hero-photo img { width: 100%; height: calc(100% + 20px); margin-top: -10px; object-fit: cover; object-position: 100% 55%; transform: translateY(calc((var(--p, .5) - .5) * -18px)); }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,5,7,.6), rgba(5,5,7,.35) 32%, transparent 52%); }
.hero-text { max-width: 760px; padding-block: 70px; }
.hero-text > * { animation: rise .7s both; }
.hero-text > :nth-child(2) { animation-delay: .1s; }
.hero-text > :nth-child(3) { animation-delay: .2s; }
.hero-text > :nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { transform: translateY(22px); opacity: .01; } }
.kicker { font-weight: 600; letter-spacing: .34em; font-size: 1.05rem; margin-bottom: 20px; display: flex; align-items: center; gap: 14px; }
.kicker::before { content: ""; width: 44px; height: 3px; background: var(--red); flex: none; }
h1 { font-size: clamp(3.4rem, 5.6vw, 5.5rem); text-shadow: 0 6px 30px rgba(0,0,0,.8); }
h1 em { display: inline-block; }
h1 br { display: none; }
@media (min-width: 1100px) { h1 br { display: block; } h1 { white-space: nowrap; } }
.logo { mix-blend-mode: screen; width: auto; }
.reviews h2 { font-size: clamp(2.5rem, 3.4vw, 3.2rem); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.28rem); max-width: 31em; margin: 28px 0 36px; color: #ececf0; }
.slashes { position: absolute; right: 108px; bottom: 36px; display: flex; gap: 10px; }
.slashes i { width: 18px; height: 40px; background: var(--red); transform: skewX(-34deg); }

/* Benefícios */
.benefits { border-block: 1px solid var(--line); background: linear-gradient(180deg, var(--graphite), var(--black)); }
.benefits ul { display: grid; grid-template-columns: repeat(5, 1fr); padding-block: 42px; }
.benefits li { display: flex; gap: 16px; align-items: center; justify-content: center; font: 600 1.25rem/1.2 var(--display); padding: 6px 14px; position: relative; }
.benefits li + li::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px; background: var(--red); transform: skewX(-20deg); opacity: .8; }

/* Estrutura de duas colunas */
.sec { padding-block: clamp(70px, 8vw, 112px); border-bottom: 1px solid var(--line); overflow: clip; }
.split { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.side, .main { min-width: 0; }
.services .split { align-items: start; }
.sticky { position: sticky; top: calc(var(--head-h) + 40px); }

/* Serviços */
.services .split { grid-template-columns: minmax(0, 290px) minmax(0, 1fr); gap: clamp(32px, 3.6vw, 52px); }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 28px; }
.card { display: flex; flex-direction: column; min-width: 0; position: relative; background: linear-gradient(180deg, var(--graphite), rgba(26,26,31,0)); }
.card .ph { aspect-ratio: 3/2; overflow: hidden; background: #000; clip-path: polygon(0 0, 100% 0, 100% 91%, 94% 100%, 0 100%); }
.card .ph img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .ph img { transform: scale(1.025); }
.card .body { flex: 1; display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 22px 20px 4px; position: relative; }
.card .body::before { content: ""; position: absolute; top: 0; left: 20px; width: 56px; height: 3px; background: var(--red); transition: width .35s; }
.card:hover .body::before { width: 132px; }
.card h3 { display: flex; gap: 12px; align-items: center; font-size: clamp(1.6rem, 2vw, 1.95rem); line-height: 1.08; }
.card h3 .ico { flex: none; color: var(--red-text); }
.card p { color: var(--muted); font-size: 1rem; line-height: 1.6; }
.card-btn { align-self: flex-start; margin-top: auto; min-height: 50px; padding: 8px 20px; font-size: 1.15rem; }
.card p { margin-bottom: 8px; }
.card-btn:hover { border-color: var(--red); background: rgba(225,6,0,.16); }
.more-bottom { display: none; }

/* Pista com aro */
/* Faixa com o carro em movimento (entre o catálogo e a roda) */
.faixa-carro { --carro: min(820px, 64vw); position: relative; overflow: hidden; overflow: clip; pointer-events: none; user-select: none; padding: 26px 0 22px; border-bottom: 1px solid var(--line);
  background:
    radial-gradient(60% 46% at 50% 44%, rgba(255,255,255,.13), transparent 70%),
    linear-gradient(180deg, #0b0b0f 0%, #26262d 34%, #3a3a43 60%, #1d1d22 78%, #0e0e12 100%); }
/* piso industrial: placas em perspectiva e faixa vermelha */
.faixa-carro::before { content: ""; position: absolute; left: -20%; right: -20%; bottom: 0; height: 34%; background: repeating-linear-gradient(104deg, transparent 0 138px, rgba(255,255,255,.07) 138px 140px), linear-gradient(180deg, rgba(255,255,255,.1) 0 1px, rgba(0,0,0,.25) 1px, transparent); }
.faixa-carro::after { content: ""; position: absolute; left: 0; right: 0; bottom: 9px; height: 3px; background: repeating-linear-gradient(90deg, var(--red) 0 72px, transparent 72px 120px); opacity: .85; }
.cr-movel { position: relative; z-index: 1; width: var(--carro); margin-inline: auto; will-change: transform; }
.faixa-carro.viva .cr-movel { margin: 0; }
.veiculo { position: relative; width: 100%; aspect-ratio: 1672 / 560; }
.veiculo img, .veiculo i { position: absolute; display: block; max-width: none; }
.veiculo .cr-fundo { border-radius: 50%; background: radial-gradient(circle, #1a1a1f 40%, #08080a 100%); }
.veiculo .cr-sombra { left: 3%; right: 3%; bottom: 0; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.92), rgba(0,0,0,.55) 60%, transparent); box-shadow: 0 8px 26px -6px rgba(225,6,0,.35); }
.cr-velocidade { position: absolute; right: 99%; top: 42%; width: 28%; height: 40%; opacity: 0; transition: opacity .35s; }
.cr-velocidade i { position: absolute; right: 0; height: 2px; width: 100%; background: linear-gradient(90deg, transparent, var(--red)); }
.cr-velocidade i:nth-child(2) { top: 48%; width: 68%; }
.cr-velocidade i:nth-child(3) { top: 96%; width: 84%; opacity: .6; }
.andando .cr-velocidade { opacity: .75; }

/* o traço vermelho dos títulos se desenha na entrada */
.head::after { transition: width .8s .35s; }
[data-reveal].pre:not(.in) .head::after { width: 0; }
[data-fora] *, [data-fora] *::before, [data-fora] *::after { animation-play-state: paused !important; }

.road { height: 150px; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--black), #141418); }
.road::after { content: ""; position: absolute; left: 0; right: 0; bottom: 14px; height: 3px; background: repeating-linear-gradient(90deg, var(--red) 0 60px, transparent 60px 100px); }
.road img { position: absolute; bottom: 18px; width: 116px; left: 0; transform: translateX(calc(var(--p, .5) * (100vw - 116px))) rotate(calc(var(--p, .5) * var(--volta, 1300deg))); transition: transform .25s ease-out; will-change: transform; }

/* Roda */
.roda { background: radial-gradient(75% 60% at 50% 45%, #25252b, var(--black) 78%); }
.roda-head { text-align: center; }
.roda-head .head h2 em { display: inline; }
.roda-head .head p { margin-inline: auto; max-width: 52ch; }
.roda-head .head::after { margin: 20px auto 0; }
.stage { position: relative; }
/* --H = altura do pneu; as demais peças são proporcionais a ele */
.wheel { container-type: inline-size; margin-top: 30px; }
.wheel .exploded-set { --H: min(500px, 38cqw); }
.exploded-set { position: relative; height: min(580px, 52cqw); }
.wheel::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--red), transparent); }
.assembled, .rig { position: absolute; left: 50%; top: 50%; height: 97%; width: auto; aspect-ratio: 1; transform: translate(-50%, -50%); transition: opacity .6s, transform .8s cubic-bezier(.22,.8,.24,1), visibility .6s; }
.assembled { z-index: 1; filter: drop-shadow(0 26px 22px rgba(0,0,0,.65)); }
.wheel:not(.seen) .assembled { opacity: 0; transform: translate(-62%, -50%) scale(.95); }
.wheel:not(.is-montada) .assembled { opacity: 0; transform: translate(-50%, -50%) scale(.86); pointer-events: none; }
.rig { height: 92%; }
.wheel:not(.is-giro) .rig { opacity: 0; visibility: hidden; transform: translate(-50%, -50%) scale(.9); pointer-events: none; }
.rig img { position: absolute; max-width: none; }
.rig-rim { inset: 0; width: 100%; height: 100%; z-index: 3; transition: opacity .5s; }
.rig-disc { left: 15.15%; top: 15.15%; width: 69.7%; height: 69.7%; z-index: 1; }
.rig-caliper { left: 59.65%; top: 28.15%; width: 29.13%; height: 43.7%; z-index: 2; filter: drop-shadow(-6px 6px 8px rgba(0,0,0,.55)); }
.rig-rim, .rig-disc { transform-origin: 50% 50%; animation: turn 14s linear infinite; }
.rig.paused img { animation-play-state: paused; }
.rig.no-rim .rig-rim { opacity: 0; }
@keyframes turn { to { transform: rotate(360deg); } }

.axle { position: absolute; left: 3%; right: 3%; top: calc(50% - 22px); border-top: 1px dashed rgba(225,6,0,.55); opacity: 0; transition: opacity .5s; }
.wheel.is-separada .axle { opacity: 1; }
.part { position: absolute; top: calc(50% - 22px); left: 50%; width: calc(var(--w) * var(--H)); height: var(--H); opacity: 0; visibility: hidden; transform: translate(-50%, -50%) scale(.6); transition: transform .9s cubic-bezier(.22,.8,.24,1), opacity .5s, visibility .5s; }
.part img { position: absolute; left: 50%; top: 50%; height: calc(var(--h) * var(--H)); width: auto; max-width: none; transform: translate(-50%, -50%); transition: filter .35s, transform .35s; filter: drop-shadow(0 18px 16px rgba(0,0,0,.6)); }
/* x = centro (em unidades de H); w = largura visível; h = altura da imagem. Ordem no eixo: pinça, disco, aro, pneu */
.part-pinca { --x: -1.17; --w: .19; --h: .368; }
.part-disco { --x: -.77; --w: .515; --h: .58; }
.part-aro { --x: -.062; --w: .80; --h: .82; }
.part-pneu { --x: .83; --w: .88; --h: 1; }
.wheel.is-separada .part { opacity: 1; visibility: visible; transform: translate(calc(-50% + var(--x) * var(--H)), -50%); }
.wheel.has-sel .part img { filter: brightness(.62); }
.wheel.is-separada .part:hover img { filter: brightness(1) drop-shadow(0 18px 16px rgba(0,0,0,.6)); }
.wheel.is-separada .part.on img { filter: drop-shadow(0 18px 16px rgba(0,0,0,.7)); transform: translate(-50%, -50%) scale(1.06); }
.lead-line { position: absolute; left: 50%; width: 1px; top: calc(50% + var(--h) * var(--H) / 2 + 10px); bottom: -14px; background: linear-gradient(transparent, var(--red)); }
.tag { position: absolute; left: 50%; top: calc(100% + 14px); transform: translateX(-50%); white-space: nowrap; display: flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--black); font: 700 1.2rem var(--display); transition: background .3s, border-color .3s; }
.part:hover .tag { border-color: var(--red); }
.part.on .tag { background: var(--red); border-color: var(--red); }
@media (min-width: 861px) and (max-width: 1100px) { .part-pinca .tag { transform: translateX(-42%); } }
.state { position: absolute; right: 0; bottom: calc(100% + 2px); z-index: 5; font-size: .8rem; color: var(--muted); border: 1px solid var(--line); padding: 4px 12px; border-radius: 20px; background: rgba(11,11,15,.7); }
.see-all { display: none; }

.wheel-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.roda .chips { justify-content: center; margin-top: 26px; }
.chips.col { margin-top: 0; }
.chip { min-height: 46px; padding: 0 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--graphite); font-weight: 600; font-size: .92rem; }
.chip[aria-pressed="true"] { background: var(--red); border-color: var(--red); }
.info { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; justify-content: space-between; margin-top: 18px; padding: 22px; min-height: 140px; border-top: 2px solid var(--red); background: rgba(26,26,31,.85); }
.info > div { flex: 1 1 260px; }
.info p { color: var(--muted); margin-top: 4px; max-width: 62ch; }
.roda .info { max-width: 1120px; margin-inline: auto; min-height: 176px; }
.roda .info h3 { font-size: 2rem; }
.roda .info .ticks { flex: 1 1 300px; font-size: .92rem; color: var(--muted); }
.roda .info-cta { flex: 0 1 260px; display: grid; gap: 10px; }
.roda .info-cta small { color: var(--muted); }
.roda .info-empty { margin: 0 auto; text-align: center; }

/* Estrutura: panorama sem recorte, texto e três fotos na proporção nativa */
.foto { display: block; position: relative; width: 100%; overflow: hidden; cursor: zoom-in; background: var(--graphite); }
.foto img { display: block; width: 100%; height: auto; }
.foto span { position: absolute; inset: auto 0 0; padding: 34px 16px 12px; text-align: left; font: 700 1.25rem/1.2 var(--display); background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.foto:focus-visible { outline: 3px solid #fff; outline-offset: -3px; }
.workshop { border-bottom: 1px solid var(--line); background: var(--black); padding-bottom: 80px; }
.workshop-hero { max-width: 1672px; margin-inline: auto; }
.workshop-photo { border-bottom: 4px solid var(--red); }
.workshop-text { max-width: 1360px; margin-inline: auto; padding: 48px 20px 44px; display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 48px; align-items: start; }
.workshop-text .head::after { margin-bottom: 0; }
.workshop-text > .btn { align-self: end; }
/* colunas proporcionais a 3:2, 4:3 e 4:3: mesma altura, nenhum recorte */
.workshop-trio { max-width: 1360px; margin-inline: auto; padding-inline: 20px; display: grid; grid-template-columns: 1.5fr 1.3333fr 1.3333fr; gap: 14px; align-items: start; }
.ticks li { padding: 6px 0 6px 26px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 16px; width: 13px; height: 5px; background: var(--red); transform: skewX(-35deg); }

/* Tecnologia */
.tech { border-bottom: 1px solid var(--line); overflow: hidden; background: #08090d; padding-block: 84px 80px; }
.tech-main { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.6fr); gap: 40px; align-items: center; }
.tech-photo { position: relative; border-right: 4px solid var(--red); }
/* a linha fica restrita à tela do notebook */
.scan { position: absolute; left: 18%; width: 27%; top: 29%; height: 1px; background: linear-gradient(90deg, transparent, #4ec3ff, transparent); box-shadow: 0 0 10px #4ec3ff; opacity: .45; pointer-events: none; animation: scan 6s ease-in-out infinite alternate; }
@keyframes scan { to { top: 57%; } }
.tech-text { max-width: 430px; }
.equip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 56px; }
.equip li { border-top: 2px solid var(--red); padding-top: 14px; position: relative; }
.equip li::before { content: ""; position: absolute; top: -5px; left: 0; width: 8px; height: 8px; background: var(--red); }
.equip b { display: block; font: 700 1.25rem/1.2 var(--display); }
.equip span { display: block; color: var(--muted); font-size: .88rem; margin-top: 6px; }
.tech-duo { --p: .5; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
/* deslocamento discreto na rolagem, sem escala (não perde nitidez) */
.tech-duo > div:nth-child(2) .foto { transform: translateY(calc((.5 - var(--p)) * 28px)); }

/* Motor */
.motor { background: radial-gradient(60% 55% at 38% 45%, #26262d, var(--black) 78%); }
.motor-head { text-align: center; }
.motor-head .head h2 em { display: inline; }
.motor-head .head p { margin-inline: auto; max-width: 58ch; }
.motor-head .head::after { margin: 20px auto 0; }
.motor-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 390px); gap: 40px; margin-top: 36px; align-items: start; }
.motor-main { min-width: 0; }
.motor-panel { position: sticky; top: 96px; min-width: 0; }
.motor-actions .btn { width: 100%; }
.motor .chips { display: grid; grid-template-columns: 1fr 1fr; margin-top: 14px; }
.motor .chip { padding: 4px 10px; line-height: 1.25; }
.motor .info { display: block; margin-top: 14px; min-height: 0; }
.motor .info h3 { font-size: 1.9rem; }
.motor .info .why { margin-top: 12px; font-size: .94rem; }
.motor .info .why strong { color: var(--white); }
.motor .info .link { display: block; margin-top: 10px; min-height: 44px; }
.motor .info .btn { width: 100%; margin-top: 16px; padding-inline: 12px; }

.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 20px; }
.tabs button { min-height: 44px; padding: 0 18px; border-bottom: 3px solid var(--line); font: 700 1.2rem var(--display); }
.tabs button[aria-pressed="true"] { border-color: var(--red); }

/* camadas: --W = comprimento de referência das peças; --k = largura relativa; --r = altura/largura da foto */
.engine-stage { container-type: inline-size; margin-top: 22px; }
.stack { --W: min(480px, calc(100cqw - 250px)); --total: 2.376; position: relative; height: calc(1.66 * var(--W)); transition: height .9s cubic-bezier(.22,.8,.24,1); }
.stack.open { height: calc(var(--total) * var(--W)); }
.layer { position: absolute; left: calc((100% - 230px) / 2); top: 0; width: calc(var(--k) * var(--W)); height: calc(var(--k) * var(--r) * var(--W)); z-index: var(--z); transform: translate(-50%, calc(var(--g) * var(--W))); transition: transform .9s cubic-bezier(.22,.8,.24,1), opacity .6s; }
.stack.open .layer { transform: translate(-50%, calc(var(--e) * var(--W))); }
.layer img { display: block; width: 100%; height: 100%; filter: drop-shadow(0 20px 18px rgba(0,0,0,.65)); transition: filter .4s, transform .4s; }
.engine-stage:not(.seen) .layer { opacity: 0; transform: translate(-50%, calc(var(--g) * var(--W) + 60px)); }
.layer-comando { --k: .959; --r: .75; --g: 0; --e: 0; --z: 4; }
.layer-cabecote { --k: 1.02; --r: .5; --g: .38; --e: .68; --z: 3; }
.layer-conjunto { --k: .929; --r: .6667; --g: .68; --e: 1.16; --z: 2; }
.layer-bloco { --k: .97; --r: .6667; --g: 1.01; --e: 1.73; --z: 1; }
.stack.has-sel .layer img { filter: brightness(.55); }
.stack .layer:hover img { filter: brightness(1) drop-shadow(0 20px 18px rgba(0,0,0,.65)); }
.stack.has-sel .layer.on img { filter: drop-shadow(0 0 16px rgba(225,6,0,.5)) drop-shadow(0 20px 18px rgba(0,0,0,.65)); transform: scale(1.03); }
/* indicadores: à direita das peças, sem cruzar textos */
.layer .tag { position: absolute; left: calc(50% + var(--W) / 2 + 24px); top: 50%; width: 200px; min-height: 48px; transform: translateY(-50%); display: flex; align-items: center; gap: 10px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--black); font: 700 1.15rem/1.1 var(--display); text-align: left; white-space: normal; opacity: 0; transition: opacity .4s, background .3s; pointer-events: none; }
.layer .tag::before { content: ""; position: absolute; right: 100%; top: 50%; width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--red)); }
.layer .tag i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--red); border: 2px solid #fff; }
.stack.open .layer .tag { opacity: 1; pointer-events: auto; transition-delay: .5s, 0s; }
.layer.on .tag { background: var(--red); border-color: var(--red); }
.see-all-layers { display: none; }

.detail { display: grid; gap: 22px; }
.detail-photo { position: relative; }
.detail-photo > img { display: block; width: 100%; height: auto; filter: drop-shadow(0 24px 22px rgba(0,0,0,.65)); }
.dot { position: absolute; z-index: 6; width: 44px; height: 44px; margin: -22px 0 0 -22px; display: grid; place-items: center; }
.dot i { width: 18px; height: 18px; border-radius: 50%; background: var(--red); border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(225,6,0,.35); }
.dot.on i { background: #fff; border-color: var(--red); box-shadow: 0 0 0 10px rgba(225,6,0,.45); }
.scheme { margin: 0; display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 22px; align-items: center; padding: 18px 22px; border: 1px solid var(--line); border-radius: 10px; background: rgba(11,11,15,.6); }
.scheme svg { width: 100%; height: auto; }
.scheme figcaption { display: grid; gap: 8px; justify-items: start; color: var(--muted); }
.scheme strong { color: var(--white); font: 700 1.5rem var(--display); }
.s-wall { stroke: #6b6b75; stroke-width: 5; fill: none; }
.s-orbit { fill: none; stroke: #4a4a53; stroke-dasharray: 4 5; }
.s-arm { stroke: #8d8d97; stroke-width: 16; stroke-linecap: round; }
.s-rod { stroke: #c9c9d0; stroke-width: 11; stroke-linecap: round; }
.s-piston { fill: #9a9aa4; stroke: #e4e4e8; }
.s-ring { stroke: #34343c; stroke-width: 2.5; }
.s-pin { fill: #1a1a1f; stroke: var(--red); stroke-width: 3; }
.s-axis { fill: var(--red); stroke: #fff; stroke-width: 3; }

/* Carrossel */
.carousel .track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 44px) / 3); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-block: 4px; }
.carousel .track > * { scroll-snap-align: start; }
.controls { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 24px; }
.dots { display: flex; }
.dots button { width: 28px; height: 44px; display: grid; place-items: center; }
.dots button::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #6b6b75; }
.dots button[aria-current="true"]::after { background: var(--red); width: 14px; height: 14px; }

/* Equipe */
.team { background: radial-gradient(70% 50% at 50% 55%, #1d1d23, var(--black) 80%); }
.team-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 8px 24px; margin-bottom: 14px; }
.team-head .head h2 em { display: inline; }
.team-head .note { margin-bottom: 26px; }
.team .carousel .track { grid-auto-columns: calc((100% - 44px) / 3); }
.person { min-width: 0; background: var(--graphite); border-radius: 10px; overflow: hidden; }
.person-photo { position: relative; aspect-ratio: 6/7; background: #000; }
.person-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: filter .4s; }
.person-photo::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34%; height: 4px; background: var(--red); transition: width .45s; }
.person:hover .person-photo::after { width: 100%; }
.person:hover img { filter: brightness(1.06); }
.person-text { padding: 20px 22px 24px; transition: opacity .8s .35s; }
.team [data-reveal].pre:not(.in) .person-text { opacity: 0; }
.person h3 { font-size: 2.1rem; line-height: 1.05; }
.person strong { display: block; color: var(--red-text); margin-top: 6px; font-size: 1.02rem; }
.person span { display: block; font-size: .88rem; }
.person p { color: var(--muted); font-size: .95rem; line-height: 1.6; margin-top: 10px; }

/* Assistente */
.budget { background: radial-gradient(55% 80% at 0% 100%, rgba(225,6,0,.28), transparent 70%), var(--graphite); }
.budget .split { align-items: start; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); }
.panel { background: var(--black); border: 1px solid var(--line); border-radius: 16px; padding: clamp(18px, 3.4vw, 44px); scroll-margin-top: calc(var(--head-h) + 12px); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 32px; }
.steps li { border-bottom: 3px solid var(--line); }
.steps li.now, .steps li.ok { border-color: var(--red); }
.steps button { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 54px; font: 700 1.2rem var(--display); text-transform: uppercase; color: var(--muted); }
.steps button:disabled { cursor: default; }
.steps .now button, .steps .ok button { color: var(--white); }
.steps b { width: 30px; height: 30px; border-radius: 50%; border: 2px solid currentColor; display: grid; place-items: center; font-size: 1rem; flex: none; }
.steps .now b { background: var(--red); border-color: var(--red); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.full { grid-column: 1 / -1; }
fieldset { border: 0; min-width: 0; }
.field label, legend { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
.field input, .field select, .field textarea, .copybox textarea { width: 100%; min-height: 54px; background: var(--graphite); border: 1px solid #55555f; border-radius: 8px; padding: 12px 14px; font-size: 16px; }
.field.bad :is(input, select, textarea) { border-color: var(--red-text); }
small[role="alert"] { display: block; color: #ff8a84; margin-top: 6px; font-size: .86rem; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.checks label { display: flex; gap: 12px; align-items: center; min-height: 52px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--graphite); cursor: pointer; font-size: .93rem; line-height: 1.3; }
.checks label.on { border-color: var(--red); background: rgba(225,6,0,.18); }
.checks input { width: 20px; height: 20px; accent-color: var(--red); flex: none; }
.summary div { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.summary dt { color: var(--muted); }
.summary dd { font-weight: 600; overflow-wrap: anywhere; }
.summary + .row { margin-top: 20px; }
.result { margin-top: 28px; border-top: 2px solid var(--red); padding-top: 20px; }
.result p { color: var(--muted); margin: 6px 0 14px; }
.copybox { display: grid; gap: 10px; justify-items: start; }
.copybox textarea { resize: vertical; font-size: .9rem; line-height: 1.5; }
.copybox > span { font-size: .85rem; color: var(--muted); }

/* Depoimentos */
.review { background: var(--graphite); border: 1px solid var(--line); border-radius: 12px; padding: 28px 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.review blockquote { font-size: 1.05rem; }
.review figcaption { display: flex; gap: 14px; align-items: center; }
.review figcaption > b { width: 54px; height: 54px; flex: none; border-radius: 50%; border: 2px solid var(--red); display: grid; place-items: center; font: 700 1.3rem var(--display); }
.review figcaption span { display: block; font-weight: 700; }
.review i { display: block; color: #ffc21a; font-style: normal; letter-spacing: 2px; }
.review small { color: var(--muted); display: block; font-size: .76rem; }

/* Galeria */
.gallery-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 12px; }
.gallery-head .head h2 em { display: inline; }
.gallery-head > .btn { margin-bottom: 26px; }
.mosaic { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.mosaic button { grid-column: span 2; position: relative; overflow: hidden; aspect-ratio: 4/3; border-radius: 10px; cursor: zoom-in; background: var(--graphite); }
.mosaic button:nth-child(-n+2) { grid-column: span 3; aspect-ratio: 16/9; }
.mosaic.all button:nth-child(9), .mosaic.all button:nth-child(10) { grid-column: span 3; aspect-ratio: 16/9; }
.mosaic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mosaic button:hover img { transform: scale(1.025); }
.mosaic span { position: absolute; inset: auto 0 0; padding: 28px 14px 10px; text-align: left; font: 700 1.1rem/1.2 var(--display); background: linear-gradient(transparent, rgba(0,0,0,.9)); }

/* FAQ */
.faq .side { position: sticky; top: calc(var(--head-h) + 32px); }
.faq-car { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; border-bottom: 4px solid var(--red); clip-path: polygon(0 0, 93% 0, 100% 10%, 100% 100%, 0 100%); }
.faq .split { align-items: start; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.faq { overflow: visible; }
.item { background: var(--graphite); border: 1px solid var(--line); border-radius: 8px; margin-bottom: 10px; }
.item h3 { font: 600 1rem/1.4 var(--body); text-transform: none; font-style: normal; }
.item button { width: 100%; min-height: 60px; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 20px; text-align: left; font-weight: 600; }
.item .ico { color: var(--red-text); transition: transform .25s; }
.item.open { border-color: var(--red); }
.item.open .ico { transform: rotate(45deg); }
.item p { padding: 0 20px 20px; color: var(--muted); }

/* Localização */
.facts { display: grid; gap: 22px; margin-bottom: 30px; }
.facts li { display: flex; gap: 16px; }
.facts .ico { color: var(--red-text); }
.facts b, .facts span { display: block; }
.notice { margin-top: 16px; border-left: 3px solid var(--red); padding-left: 12px; font-size: .92rem; }
.map { position: relative; height: 480px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #17171c; }
.streets { position: absolute; inset: -40%; transform: rotate(34deg); background: repeating-linear-gradient(0deg, transparent 0 74px, #2f2f37 74px 82px), repeating-linear-gradient(90deg, transparent 0 112px, #2f2f37 112px 120px), repeating-linear-gradient(90deg, transparent 0 355px, #55141a 355px 369px); }
.map::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(225,6,0,.28), transparent 28%, rgba(11,11,15,.75)); }
.marker { position: absolute; left: 50%; top: 50%; transform: translate(-27px, -54px); display: flex; align-items: center; gap: 8px; z-index: 2; color: var(--red-text); }
.marker svg { fill: rgba(225,6,0,.45); }
.marker span { background: var(--black); border: 2px solid var(--red); border-radius: 8px; padding: 6px 10px; }
.marker img { width: 130px; }
.map small { position: absolute; right: 12px; bottom: 10px; z-index: 2; background: var(--black); padding: 2px 10px; border-radius: 12px; }

/* Chamada final */
.cta { height: clamp(600px, 54vw, 800px); display: flex; align-items: center; overflow: hidden; isolation: isolate; background: #050507; }
.cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 55%; z-index: -1; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,5,7,.9), rgba(5,5,7,.68) 34%, transparent 64%); }
.cta h2 { font-size: clamp(2.9rem, 4.8vw, 4.4rem); max-width: 10em; text-shadow: 0 4px 24px #000; }
.cta h2 em { display: block; }
.cta p { margin: 22px 0 32px; max-width: 27em; font-size: 1.1rem; text-shadow: 0 2px 12px #000; }
.cta .wrap { padding-block: 80px; }

/* Rodapé */
.foot { background: #000; border-top: 3px solid var(--red); padding-block: 64px 36px; font-size: .92rem; }
.cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr 1.2fr; gap: 32px; }
.cols > * { min-width: 0; }
.cols h3 { font-size: 1.3rem; margin-bottom: 12px; }
.cols nav a { display: block; padding: 6px 0; text-decoration: none; color: var(--muted); }
.cols nav a:hover { color: var(--white); }
.cols p { color: var(--muted); margin-top: 8px; }
.cols .row { gap: 10px; }
.legal { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 24px; color: var(--muted); font-size: .84rem; }
.legal a { color: var(--white); }

/* Flutuantes e janelas */
.float { position: fixed; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 45; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.wa-fab { width: 62px; height: 62px; border-radius: 50%; background: #0b8f3c; display: grid; place-items: center; box-shadow: 0 8px 26px rgba(0,0,0,.6); }
.wa-menu { width: min(340px, calc(100vw - 32px)); max-height: 70vh; overflow-y: auto; background: var(--graphite); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: grid; gap: 8px; }
.wa-menu > button { display: flex; justify-content: space-between; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 8px; background: var(--steel); font-weight: 600; }
.wa-menu > button:hover { background: var(--red); }
.wa-title { display: flex; justify-content: space-between; align-items: center; font: italic 700 1.4rem var(--display); }
.wa-title button { width: 44px; height: 44px; display: grid; place-items: center; }
.wa-menu p { font-size: .85rem; color: var(--muted); }
.mobile-bar { display: none; }
.overlay { position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,.9); display: grid; place-items: center; padding: 20px; }
.modal { position: relative; width: min(560px, 100%); max-height: 90vh; overflow-y: auto; background: var(--graphite); border-radius: 14px; padding: 66px 28px 28px; }
.modal h2 { font-size: 2.2rem; margin-bottom: 14px; }
.modal p { color: var(--muted); margin-bottom: 12px; }
.modal-wide { width: min(1440px, 100%); max-height: 96vh; background: var(--black); padding: 62px 16px 14px; }
.modal-x { position: absolute; right: 12px; top: 10px; }
.light img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(96vh - 190px); margin-inline: auto; object-fit: contain; }
.light figcaption { text-align: center; margin: 10px 0 14px; }

[data-reveal] { transition: opacity .7s, translate .7s; }
[data-reveal].pre:not(.in) { opacity: 0; translate: 0 30px; }

@media (max-width: 1180px) {
  .wa-head { display: none; }
  .split, .budget .split, .faq .split { grid-template-columns: minmax(0, 1fr); }
  .sticky, .faq .side { position: static; }
  .services .split { grid-template-columns: minmax(0, 1fr); }
  .faq-car { max-width: 760px; margin-bottom: 20px; }
  .head h2 em { display: inline; }
  .benefits ul { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .benefits li + li::before { display: none; }
  .chips.col { flex-direction: row; }
  .equip { grid-template-columns: repeat(3, 1fr); }
  .workshop-text { grid-template-columns: 1fr 1fr; }
  .cols { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  :root { --head-h: 74px; }
  .burger { display: grid; }
  .top nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--black); padding: 8px 20px 18px; border-bottom: 3px solid var(--red); max-height: calc(100vh - var(--head-h)); overflow-y: auto; }
  .top nav.open { display: flex; }
  .top nav a { padding: 14px 0; font-size: 1.05rem; }

  .hero { height: auto; display: flex; flex-direction: column; align-items: stretch; }
  .hero-photo { position: relative; inset: auto; z-index: 0; aspect-ratio: 1672/941; }
  .hero-photo img { height: 100%; margin-top: 0; transform: none; }
  .hero-photo::after { background: linear-gradient(0deg, #050507, transparent 22%); }
  .hero-text { padding-block: 10px 48px; position: relative; }
  h1 { font-size: clamp(3rem, 14vw, 4.4rem); }
  .kicker { letter-spacing: .18em; font-size: .92rem; }
  .kicker::before { width: 22px; }
  .lead { margin: 20px 0 26px; }
  .hero .row { flex-direction: column; align-items: stretch; }
  .slashes { display: none; }

  .benefits ul { grid-template-columns: repeat(2, 1fr); padding-block: 30px; gap: 12px; }
  .benefits li { flex-direction: column; text-align: center; gap: 8px; font-size: 1.12rem; background: var(--graphite); border-bottom: 2px solid var(--red); padding: 18px 8px; }
  .benefits li:last-child { grid-column: 1 / -1; }

  .sec { padding-block: 64px; }
  .split { gap: 14px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 20px; gap: 36px 16px; }
  .card h3 { font-size: 1.55rem; }
  .card .body { padding: 18px 14px 4px; }
  .card .body::before { left: 14px; }
  .card-btn { align-self: stretch; padding-inline: 10px; }
  .more-bottom { display: block; margin-top: 22px; }
  .more-bottom .btn { width: 100%; }
  .road { height: 96px; }
  .road img { width: 68px; transform: translateX(calc(var(--p, .5) * (100vw - 68px))) rotate(calc(var(--p, .5) * var(--volta, 600deg))); }

  /* roda: composição própria para telas estreitas (grade 2x2 e foco em uma peça) */
  .wheel { max-width: 560px; margin-inline: auto; margin-top: 56px; }
  .wheel .exploded-set { --H: min(250px, 52cqw); height: calc(2 * var(--H) + 104px); }
  .assembled { height: auto; width: min(100%, 520px); }
  .rig { height: auto; width: min(100%, 480px); }
  .axle, .lead-line { display: none; }
  .part { top: 50%; }
  .part-aro { --tx: -.5; --ty: -.54; } .part-pneu { --tx: .5; --ty: -.54; } .part-pinca { --tx: -.5; --ty: .5; } .part-disco { --tx: .5; --ty: .5; }
  .wheel.is-separada .part { width: 48cqw; max-width: 260px; height: calc(var(--H) + 44px); transform: translate(calc(-50% + var(--tx) * min(50cqw, 270px)), calc(-50% + var(--ty) * (var(--H) + 52px))); }
  .part img { top: calc(50% - 22px); }
  .wheel.is-separada.has-sel .part.on img { top: 50%; }
  .tag { top: auto; bottom: 0; font-size: 1.05rem; min-height: 34px; padding: 0 10px; }
  .wheel.has-sel .part img { filter: none; }
  /* foco: a peça escolhida ocupa o palco */
  .wheel.is-separada.has-sel .part { opacity: 0; visibility: hidden; }
  .wheel.is-separada.has-sel .part.on { opacity: 1; visibility: visible; width: 100%; max-width: none; height: 100%; transform: translate(-50%, -50%); }
  .wheel.is-separada.has-sel .part.on img { height: min(100cqw, 460px); transform: translate(-50%, -50%); }
  .wheel.is-separada.has-sel .part-pneu.on img, .wheel.is-separada.has-sel .part-aro.on img, .wheel.is-separada.has-sel .part-disco.on img { height: min(94cqw, 460px); }
  .part.on .tag { display: none; }
  .see-all { display: block; position: absolute; left: 0; bottom: calc(100% + 2px); z-index: 6; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 22px; background: var(--black); font-weight: 600; font-size: .85rem; }
  .wheel-actions { flex-direction: column; margin-top: 20px; }
  .wheel-actions .btn { width: 100%; }
  .roda .chips { margin-top: 16px; }
  .roda .info-cta { flex-basis: 100%; }
  .chips { display: grid; grid-template-columns: 1fr 1fr; }
  .chips .chip { padding: 0 10px; }
  .roda .info .btn { width: 100%; }

  /* celular: panorama e diagnóstico em 4:3 (mais altos), enquadrados nos elevadores e no notebook */
  .workshop { padding-bottom: 56px; }
  .workshop-photo img, .tech-photo .foto img { aspect-ratio: 4/3; object-fit: cover; }
  .workshop-photo img { object-position: 12% 50%; }
  .tech-photo .foto img { object-position: 22% 50%; }
  .workshop-text { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 32px max(20px, env(safe-area-inset-right, 0px)) 36px max(20px, env(safe-area-inset-left, 0px)); }
  .workshop-trio { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .workshop-text > .btn { justify-self: start; }

  .tech { padding-block: 56px; }
  .tech-main { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .tech-main .tech-text { display: contents; }
  .tech-main .head { order: 1; }
  .tech-photo { order: 2; margin-inline: -20px; border-right: 0; border-bottom: 4px solid var(--red); }
  .tech-main .btn { order: 3; justify-self: start; margin-top: 24px; }
  .scan { display: none; }
  .tech-duo { grid-template-columns: minmax(0, 1fr); margin-top: 36px; }
  .tech-duo > div:nth-child(2) .foto { transform: none; }
  .mosaic { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .mosaic button, .mosaic button:nth-child(n), .mosaic.all button:nth-child(n) { grid-column: auto; aspect-ratio: 4/3; }
  .equip { grid-template-columns: 1fr; margin-top: 36px; }

  .carousel .track { grid-auto-columns: 86%; gap: 14px; }
  .team .carousel, .reviews .carousel { margin-top: 8px; }
  .team .carousel .track { grid-auto-columns: 88%; }
  .team-head { display: block; }
  .team-head .head::after { margin-bottom: 14px; }
  .team-head .note { margin: 0 0 6px; }
  .dots button { width: 24px; }

  .fields, .checks { grid-template-columns: minmax(0, 1fr); }
  .steps button { flex-direction: column; gap: 4px; font-size: .92rem; padding-bottom: 8px; }
  .summary div { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .budget .row .btn { width: 100%; }


  .map { height: 340px; margin-top: 30px; }
  .marker { transform: translate(-80px, -54px); }
  .cta { display: block; height: auto; }
  .cta::after { content: none; }
  .cta > img { position: relative; inset: auto; display: block; width: 100%; height: auto; aspect-ratio: 1/1; object-position: 100% 50%; z-index: 0; -webkit-mask-image: linear-gradient(180deg, #000 84%, transparent); mask-image: linear-gradient(180deg, #000 84%, transparent); }
  .cta .wrap { padding-block: 6px 64px; position: relative; }
  .cta .btn { width: 100%; }

  .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols > :first-child, .cols > :last-child { grid-column: 1 / -1; }
  .foot { padding-bottom: 180px; }

  .float { left: 0; right: 0; bottom: 0; gap: 10px; pointer-events: none; }
  .float > * { pointer-events: auto; }
  .wa-fab { width: 54px; height: 54px; margin-right: 14px; }
  .wa-menu { margin-right: 16px; max-height: 62vh; }
  .mobile-bar { display: block; align-self: stretch; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(11,11,15,.96); border-top: 1px solid var(--line); }
  .mobile-bar .btn { width: 100%; min-height: 48px; }
  .float.no-bar .mobile-bar { visibility: hidden; }
  .float.no-bar .wa-fab { visibility: hidden; }
}

@media (max-width: 600px) {
  .hero { display: block; position: relative; height: clamp(700px, calc(100vh - 74px), 800px); height: clamp(700px, calc(100svh - 74px), 800px); }
  .hero-photo { position: absolute; inset: 0; z-index: -1; aspect-ratio: auto; -webkit-mask-image: none; mask-image: none; }
  .hero-photo img { height: 100%; margin-top: -34px; object-position: 50% 0; }
  .hero-photo::after { background: linear-gradient(0deg, #050507 6%, rgba(5,5,7,.78) 22%, transparent 36%); }
  .hero > .wrap { height: 100%; }
  .hero-text { height: 100%; display: flex; flex-direction: column; align-items: flex-start; padding-block: 22px 18px; }
  .hero h1 { font-size: clamp(2.6rem, 11.8vw, 3.4rem); }
  .hero .kicker { margin-bottom: 10px; font-size: .84rem; letter-spacing: .14em; }
  .hero .lead { margin: auto 0 14px; font-size: .95rem; line-height: 1.5; text-shadow: 0 2px 8px #000, 0 0 16px #000; }
  .hero .row { align-self: stretch; gap: 10px; }
  .hero .row .btn { min-height: 50px; }
  .float.at-hero { visibility: hidden; }
  .faq .side > .faq-car { width: calc(100% + 40px); max-width: none; margin-inline: -20px; clip-path: none; }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: minmax(0, 1fr); }
  .card h3 { font-size: 1.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .road img { transform: translateX(calc(50vw - 50%)); }
  .hero-photo img { transform: none; }
}

/* motor: composição própria para telas estreitas (colocada no fim para prevalecer) */
@media (max-width: 1100px) and (min-width: 861px) {
  .motor-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: 24px; }
  .motor .chips { grid-template-columns: 1fr; }
  .stack { --W: min(480px, calc(100cqw - 190px)); }
  .layer { left: calc((100% - 180px) / 2); }
  .layer .tag { width: 160px; left: calc(50% + var(--W) / 2 + 12px); font-size: 1rem; }
  .layer .tag::before { width: 18px; }
  .scheme { grid-template-columns: minmax(0, 1fr); justify-items: center; }
}
@media (max-width: 860px) {
  .motor-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 26px; }
  .motor-panel { position: static; }
  .motor .tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .engine-stage { max-width: 520px; margin-inline: auto; }
  .stack { --W: 98cqw; height: calc(1.66 * var(--W)); }
  .stack.open { height: calc(2.5 * var(--W) + 232px); }
  .layer { left: 50%; }
  .stack.open .layer { height: calc(var(--k) * var(--r) * var(--W) + 54px); }
  .layer img { position: absolute; left: 0; top: 0; height: calc(var(--k) * var(--r) * var(--W)); }
  .layer-comando { --y: 0; --n: 0; } .layer-cabecote { --y: .72; --n: 1; } .layer-conjunto { --y: 1.23; --n: 2; } .layer-bloco { --y: 1.85; --n: 3; }
  .stack.open .layer { transform: translate(-50%, calc(var(--y) * var(--W) + var(--n) * 58px)); }
  .layer .tag { left: 50%; top: auto; bottom: 4px; width: max-content; max-width: 96cqw; transform: translateX(-50%); font-size: 1.05rem; min-height: 44px; }
  .layer .tag::before { display: none; }
  /* foco: a peça escolhida aparece sozinha, perto da explicação */
  .stack.open.has-sel { height: calc(.8 * var(--W) + 56px); }
  .stack.open.has-sel .layer { opacity: 0; visibility: hidden; }
  .stack.open.has-sel .layer.on { opacity: 1; visibility: visible; transform: translate(-50%, 52px); }
  .stack.has-sel .layer.on .tag { display: none; }
  .stack.has-sel .layer.on img { transform: none; }
  .see-all-layers { display: block; position: absolute; left: 0; top: 0; z-index: 9; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 22px; background: var(--black); font-weight: 600; font-size: .85rem; }
  .motor-main { scroll-margin-top: calc(var(--head-h) + env(safe-area-inset-top, 0px) + 8px); }
  .detail { gap: 14px; }
  .scheme { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 14px; }
  .scheme figcaption { font-size: .88rem; gap: 6px; }
  .scheme .btn { width: 100%; padding-inline: 8px; }
}

@media (min-width: 861px) and (max-width: 1100px) {
  .tech-main { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .tech-text { max-width: 560px; }
  .workshop-trio { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .workshop-trio > div:first-child { grid-column: 1 / -1; }
}

/* celular: a foto ampliada usa quase toda a largura da tela */
@media (max-width: 860px) {
  .overlay:has(.modal-wide) { padding: 6px; }
  .modal-wide { padding-inline: 4px; }
}

@media (min-width: 600px) and (max-width: 860px) {
  .team .carousel .track { grid-auto-columns: calc((100% - 14px) / 2); }
}

@media (max-width: 860px) {
  /* celular: carro maior em relação à tela, faixa baixa e menos efeitos */
  .faixa-carro { --carro: min(520px, 84vw); padding: 18px 0 18px; }
  .cr-velocidade { width: 16%; }
  .cr-velocidade i:nth-child(2) { display: none; }
  .veiculo .cr-sombra { box-shadow: none; }
}
