/* DB Motors — garagem à noite: asfalto, lanterna vermelha, cromado. */

@font-face {
  font-family: "Saira";
  src: url("../fonts/saira-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 500 900;
  font-stretch: 75% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/geist-mono-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #0b0b0c;
  --bg-2: #111113;
  --bg-3: #19191c;
  --line: rgba(242, 239, 233, .13);
  --fg: #f2efe9;
  --mute: #a3a09a;
  --red: #e1141c;
  --red-hi: #ff2b31;
  --paper: #ebe7df;
  --ink: #121213;
  --ink-mute: #57544e;

  --display: "Saira", "Arial Narrow", system-ui, sans-serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gut: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.7, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --top-h: 72px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--top-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
strong { font-weight: 600; color: var(--fg); }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--fg); color: var(--bg); padding: 10px 14px; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { max-width: 1360px; margin-inline: auto; padding-inline: var(--gut); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 450; }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--mute); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--red); flex: none; }
.eyebrow i { font-style: normal; color: var(--red); }
.eyebrow--red { color: var(--fg); }

.h2 {
  font-family: var(--display); font-style: italic; font-weight: 850; font-stretch: 112%;
  text-transform: uppercase; line-height: .9; letter-spacing: -.005em;
  font-size: clamp(2.5rem, 6vw, 5.8rem);
}
.h2 b { color: var(--red); font-weight: inherit; }
.h2--xl { font-size: clamp(3.2rem, 9vw, 8.4rem); }

/* Botões: canto chanfrado como as placas de pista */
.btn {
  --c: var(--red);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 24px 0 22px;
  background: linear-gradient(-45deg, transparent 11px, var(--c) 0);
  color: #fff; text-decoration: none; border: 0; cursor: pointer;
  font-family: var(--display); font-style: italic; font-weight: 750; font-stretch: 108%;
  font-size: 15px; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; transition: transform .35s var(--ease-out); }
.btn:hover { --c: var(--red-hi); }
.btn:hover svg:last-child { transform: translateX(4px); }
.btn--sm { min-height: 42px; padding: 0 16px 0 14px; font-size: 13px; }
.btn--sm svg { width: 18px; height: 18px; }
.btn--ghost, .btn--line { background: none; box-shadow: inset 0 0 0 1px var(--line); color: var(--fg); }
.btn--ghost:hover, .btn--line:hover { box-shadow: inset 0 0 0 1px var(--fg); }
.btn--block { width: 100%; }

/* ---------- Topo ---------- */
.top {
  position: fixed; inset: 0 0 auto; z-index: 40; height: var(--top-h);
  transition: background-color .35s, border-color .35s, transform .45s var(--ease);
  border-bottom: 1px solid transparent;
}
.top.is-solid { background: rgba(11, 11, 12, .95); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-color: var(--line); }
.top.is-hidden { transform: translateY(-100%); }
.top__in { height: 100%; max-width: 1360px; margin: auto; padding-inline: var(--gut); display: flex; align-items: center; gap: 32px; }
.mark { display: flex; align-items: baseline; gap: 9px; text-decoration: none; margin-right: auto; }
.mark__db {
  font-family: var(--display); font-style: italic; font-weight: 900; font-stretch: 125%;
  font-size: 30px; line-height: 1; letter-spacing: -.04em; color: #d9dbde;
}
.mark__db em { font-style: inherit; color: var(--red); }
.mark__name { font-family: var(--mono); font-size: 11px; letter-spacing: .42em; text-transform: uppercase; color: var(--mute); }
.nav { display: flex; gap: 28px; }
.top__tel { text-decoration: none; display: grid; line-height: 1.15; font-size: 15px; font-weight: 500; text-align: right; }
.top__tel .mono { font-size: 10px; color: var(--red); letter-spacing: .14em; }
.top__tel:hover { color: var(--red-hi); }
.nav a { text-decoration: none; font-size: 14px; color: var(--mute); position: relative; padding: 6px 0; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--red); transition: right .35s var(--ease-out); }
.nav a:hover { color: var(--fg); }
.nav a:hover::after { right: 0; }

/* ---------- Abertura ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: 1fr auto;
  column-gap: 24px;
  min-height: 100svh;
  padding: calc(var(--top-h) + 40px) var(--gut) 0;
  max-width: 1360px; margin-inline: auto;
}
.hero__copy { grid-column: 1 / 8; grid-row: 1; align-self: center; position: relative; z-index: 2; padding-block: 8px 28px; }
.hero__title {
  font-family: var(--display); font-style: italic; font-weight: 870; font-stretch: 116%;
  text-transform: uppercase; line-height: .86; letter-spacing: -.012em;
  font-size: clamp(3rem, 5.2vw, 7rem);
  margin-bottom: 26px;
  white-space: nowrap;
}
.hero__title .line { display: block; overflow: hidden; padding: .04em .1em .02em 0; margin-right: -.1em; }
.hero__title .line > span { display: block; }
.hero__title b { color: var(--red); font-weight: inherit; }
.hero__lead { max-width: 29em; color: var(--mute); font-size: clamp(16px, 1.25vw, 19px); margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__stage { grid-column: 6 / -1; grid-row: 1; align-self: center; position: relative; margin-right: calc(var(--gut) * -1 - max(0px, (100vw - 1360px) / 2)); }
.hero__frame {
  position: relative; overflow: hidden;
  height: min(58svh, 600px); min-height: 380px;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
  background: #000;
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 55%; }
.hero__frame::after { /* assenta a foto no preto da página */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(11,11,12,.55), transparent 32%), linear-gradient(0deg, rgba(11,11,12,.6), transparent 26%);
}
.hero__tag {
  position: absolute; right: var(--gut); bottom: 22px; z-index: 3;
  display: grid; gap: 4px; text-align: right;
  background: rgba(11, 11, 12, .82); padding: 12px 16px 12px 22px;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%);
}
.hero__tag .mono { color: var(--red); }
.hero__tag a { text-decoration: none; font-family: var(--display); font-style: italic; font-weight: 750; font-size: 18px; text-transform: uppercase; }
.hero__tag a span { display: block; font-family: var(--sans); font-style: normal; font-weight: 400; font-size: 13px; text-transform: none; color: var(--mute); }
.hero__tag a:hover { color: var(--red-hi); }

/* A porta da garagem */
.door {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(0,0,0,.35)),
    repeating-linear-gradient(180deg, #202024 0 21px, #0c0c0e 21px 23px, #2b2b30 23px 24px);
  transform: translateY(-101%);
}
.door__lip {
  position: absolute; left: 0; right: 0; bottom: 0; height: 7px;
  background: #2f2f34; border-top: 1px solid #45454c;
}
.door__lip::before { /* fita de LED vermelha na borda da porta */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--red); box-shadow: 0 0 18px 2px rgba(225, 20, 28, .85), 0 0 60px 6px rgba(225, 20, 28, .35);
}
.door__lip::after { /* luz que entra por baixo da porta */
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 140px;
  background: linear-gradient(180deg, rgba(255, 236, 214, .28), transparent);
}

.js .door { transform: none; animation: door-up 1.7s var(--ease) .35s forwards; }
.js .hero__frame img { animation: lights-on 2.4s var(--ease-out) .5s both; }
.js .hero__title .line > span { transform: translateY(105%); animation: rise 1s var(--ease-out) forwards; }
.js .hero__title .line:nth-child(1) > span { animation-delay: .9s; }
.js .hero__title .line:nth-child(2) > span { animation-delay: 1s; }
.js .hero__title .line:nth-child(3) > span { animation-delay: 1.1s; }
.js .hero__lead, .js .hero__cta, .js .hero__tag, .js .hero .eyebrow { opacity: 0; animation: show .8s ease 1.45s forwards; }
.js .hero__cta { animation-delay: 1.55s; }
.js .hero__tag { animation-delay: 1.9s; }

@keyframes door-up { to { transform: translateY(-104%); } }
@keyframes lights-on { from { filter: brightness(.25) saturate(.6); transform: scale(1.08); } to { filter: none; transform: none; } }
@keyframes rise { to { transform: none; } }
@keyframes show { to { opacity: 1; } }


/* Pátio: carrossel com o estoque já na primeira tela */
.patio {
  grid-column: 1 / -1; grid-row: 2; min-width: 0;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px 28px;
  border-top: 1px solid var(--line); margin-top: 24px; padding: 16px 0 26px;
}
.patio__label { display: flex; align-items: baseline; gap: 18px; min-width: 0; }
.patio__label .mono { color: var(--red); white-space: nowrap; }
.patio__promise { font-family: var(--display); font-style: italic; font-weight: 700; font-size: 14px; text-transform: uppercase; line-height: 1.25; color: var(--mute); }
.patio__promise i { color: var(--red); font-style: normal; }
.patio__ctrl { display: flex; align-items: center; gap: 8px; }
.patio__btn {
  width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer;
  background: none; border: 1px solid var(--line); color: var(--fg); transition: background-color .2s, border-color .2s;
}
.patio__btn svg { width: 20px; height: 20px; }
.patio__btn--prev svg { transform: scaleX(-1); }
.patio__btn:hover { background: var(--red); border-color: var(--red); }
.patio__all { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-left: 16px; text-decoration: none; white-space: nowrap;
  font-family: var(--display); font-style: italic; font-weight: 750; text-transform: uppercase; font-size: 14px; border-bottom: 2px solid var(--red); }
.patio__all svg { width: 18px; height: 18px; transition: transform .35s var(--ease-out); }
.patio__all:hover svg { transform: translateX(4px); }

.patio__list {
  grid-column: 1 / -1; display: flex; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none; cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent);
}
.patio__list::-webkit-scrollbar { display: none; }
.patio__list.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.patio__list.is-dragging a { pointer-events: none; }
.patio__list.is-end { -webkit-mask-image: none; mask-image: none; }
.patio__list li { flex: 0 0 calc((100% - 3 * 14px) / 3.6); scroll-snap-align: start; min-width: 0; }
.patio__list a { display: flex; align-items: center; gap: 14px; text-decoration: none; min-width: 0; padding: 6px 0; -webkit-user-drag: none; }
.patio__img { flex: none; width: 128px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-3); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%); }
.patio__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); -webkit-user-drag: none; pointer-events: none; }
.patio__txt { display: grid; gap: 2px; min-width: 0; }
.patio__txt .mono { color: var(--mute); font-size: 11px; }
.patio__txt b { font-family: var(--display); font-style: italic; font-weight: 820; font-size: 19px; text-transform: uppercase; line-height: 1.05; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.patio__txt small { font-size: 13px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.patio__list a:hover b { color: var(--red-hi); }
.patio__list a:hover img { transform: scale(1.08); }
.patio__list:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; }
.patio__bar { grid-column: 1 / -1; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.patio__bar span { position: absolute; inset: 0 auto 0 0; width: 100%; background: var(--red); transform-origin: left; transform: scaleX(var(--p, .2)); transition: transform .3s ease; }
.js .patio { opacity: 0; animation: show .9s ease 2.1s forwards; }

/* ---------- Estoque ---------- */
.stock { padding: clamp(88px, 12vw, 160px) 0 clamp(72px, 9vw, 120px); }
.stock__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.stock__aside p { color: var(--mute); max-width: 34em; margin-bottom: 26px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 14px; background: none; border: 1px solid var(--line); cursor: pointer;
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute);
  transition: color .2s, border-color .2s, background-color .2s;
}
.filters button span { color: var(--red); }
.filters button:hover { color: var(--fg); border-color: rgba(242, 239, 233, .4); }
.filters button[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.filters button[aria-pressed="true"] span { color: var(--red); }

.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(44px, 5vw, 72px) 24px; }
.ficha { grid-column: span 6; view-transition-class: ficha; }
.ficha.is-wide { grid-column: span 7; }
.ficha.is-narrow { grid-column: span 5; }
.ficha article { position: relative; height: 100%; display: flex; flex-direction: column; }

.ficha__media {
  --cut: 26px;
  position: relative; overflow: hidden; background: var(--bg-3);
  aspect-ratio: 4 / 3;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
}
.ficha.is-wide .ficha__media { aspect-ratio: 1.54; }
.ficha.is-narrow .ficha__media { aspect-ratio: 1.1; }
.ficha__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.ficha__alt { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
@media (hover: hover) { .ficha:hover .ficha__alt[src] { opacity: 1; } }
.ficha__idx {
  position: absolute; left: 14px; top: 12px; z-index: 1;
  background: rgba(11, 11, 12, .72); padding: 5px 8px; color: var(--fg);
}
.ficha__idx b { color: var(--red); font-weight: inherit; }

/* Revelação: uma lona sai de cima do carro, no ângulo da marca */
.js .ficha__media::after {
  content: ""; position: absolute; inset: 0 -30%; z-index: 2; background: var(--bg);
  transform: skewX(-14deg) translateX(0);
  transition: transform 1.05s var(--ease) var(--d, 0s);
}
.js .ficha__media img { transform: scale(1.12); transition: transform 1.6s var(--ease-out) var(--d, 0s); }
.js .ficha.is-in .ficha__media::after { transform: skewX(-14deg) translateX(120%); }
.js .ficha.is-in .ficha__media img { transform: none; }
@media (hover: hover) {
  .js .ficha.is-in:hover .ficha__media img, .ficha:hover .ficha__media img { transform: scale(1.04); transition-duration: .9s; transition-delay: 0s; }
}

.ficha__body { display: grid; grid-template-columns: 1fr auto; column-gap: 20px; padding-top: 20px; flex: 1; }
.ficha__brand { grid-column: 1 / -1; display: flex; justify-content: space-between; color: var(--mute); margin-bottom: 8px; }
.ficha__brand span { color: var(--fg); }
.ficha__name {
  font-family: var(--display); font-style: italic; font-weight: 850; font-stretch: 114%;
  text-transform: uppercase; line-height: .92; font-size: clamp(1.9rem, 3vw, 2.8rem);
}
.ficha__name a { text-decoration: none; background: linear-gradient(var(--red), var(--red)) 0 100% / 0 3px no-repeat; transition: background-size .45s var(--ease-out); padding-bottom: 4px; }
.ficha__name a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.ficha__name a:focus-visible { outline: none; }
.ficha__name a:focus-visible::after { outline: 2px solid var(--fg); outline-offset: 4px; }
.ficha:hover .ficha__name a { background-size: 100% 3px; }
.ficha__ver { grid-column: 1; color: var(--mute); font-size: 15px; margin-top: 6px; }
.ficha__specs { grid-column: 1; display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; color: var(--fg); }
.ficha__specs li { position: relative; }
.ficha__specs li + li::before { content: ""; position: absolute; left: -10px; top: 50%; width: 3px; height: 3px; background: var(--red); }
.ficha__chat {
  grid-column: 2; grid-row: 2 / span 3; align-self: end; position: relative; z-index: 4;
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 2px;
  font-family: var(--display); font-style: italic; font-weight: 750; text-transform: uppercase; font-size: 14px;
  text-decoration: none; color: var(--fg); border-bottom: 2px solid var(--red);
}
.ficha__chat svg { width: 19px; height: 19px; color: var(--red); }
.ficha__chat:hover { color: var(--red-hi); }
.noscript { grid-column: 1 / -1; color: var(--mute); }

::view-transition-group(*.ficha) { animation-duration: .55s; animation-timing-function: var(--ease); }

.ask {
  display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center;
  margin-top: clamp(72px, 9vw, 120px); padding: 34px 0; border-block: 1px solid var(--line);
}
.ask__t { font-family: var(--display); font-style: italic; font-weight: 850; font-stretch: 112%; text-transform: uppercase; font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1; }
.ask p:not(.ask__t) { color: var(--mute); max-width: 36em; }

/* ---------- Negociar (papel, como um contrato na mesa) ---------- */
.deal { background: var(--paper); color: var(--ink); padding: clamp(88px, 11vw, 150px) 0; }
.deal strong { color: var(--ink); }
.deal .eyebrow { color: var(--ink-mute); }
.deal__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px 40px; margin-bottom: clamp(48px, 6vw, 80px); }
.deal__head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.deal__kinds { color: var(--ink-mute); padding-bottom: 8px; }
.deal__kinds i { font-style: normal; color: var(--red); padding: 0 6px; }

.deal__row {
  position: relative;
  display: grid; grid-template-columns: 64px minmax(0, 1.45fr) minmax(0, 1fr) 170px; gap: 24px 32px; align-items: center;
  padding: 30px 0; border-top: 1px solid rgba(18, 18, 19, .18);
}
.deal__row:last-child { border-bottom: 1px solid rgba(18, 18, 19, .18); }
.deal__n { color: var(--red); align-self: start; padding-top: 14px; }
.deal__t {
  font-family: var(--display); font-style: italic; font-weight: 880; font-stretch: 118%;
  text-transform: uppercase; line-height: .9; font-size: clamp(2.4rem, 5vw, 5rem);
  transition: transform .5s var(--ease-out), color .3s;
}
.deal__row p { color: var(--ink-mute); max-width: 26em; }
.deal__go {
  justify-self: end;
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px;
  font-family: var(--display); font-style: italic; font-weight: 750; text-transform: uppercase; font-size: 14px;
  text-decoration: none; border-bottom: 2px solid var(--red);
}
.deal__go::after { content: ""; position: absolute; inset: 0; }
.deal__go svg { width: 18px; height: 18px; transition: transform .35s var(--ease-out); }
@media (hover: hover) {
  .deal__row:hover .deal__t { transform: translateX(14px); color: var(--red); }
  .deal__row:hover .deal__go svg { transform: translateX(5px); }
}
.deal__go:focus-visible { outline-color: var(--ink); }

/* ---------- Assessoria: a estrada acende ---------- */
.road { background: var(--bg-2); padding: clamp(88px, 11vw, 150px) 0; border-bottom: 1px solid var(--line); }
.road__in { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.road__pin { position: sticky; top: calc(var(--top-h) + 7vh); }
.road__pin .h2 { font-size: clamp(2.4rem, 4.4vw, 4.4rem); }
.road__lead { color: var(--mute); max-width: 30em; margin: 28px 0 34px; }

.road__steps { --p: 0; position: relative; padding-left: 64px; }
.road__steps::before, .road__steps::after { content: ""; position: absolute; left: 14px; top: 8px; width: 2px; }
.road__steps::before { bottom: 0; background: repeating-linear-gradient(180deg, var(--line) 0 14px, transparent 14px 26px); }
.road__steps::after {
  height: calc((100% - 8px) * var(--p));
  background: var(--red);
  box-shadow: 0 0 14px rgba(225, 20, 28, .7);
}
.step { position: relative; min-height: min(46vh, 420px); padding-bottom: 48px; }
.step:last-child { min-height: 0; padding-bottom: 0; }
.step__dot {
  position: absolute; left: -57px; top: 4px; width: 16px; height: 16px; z-index: 1;
  background: var(--bg-2); border: 2px solid var(--line); transform: rotate(45deg);
  transition: background-color .4s, border-color .4s, box-shadow .4s;
}
.step .mono { color: var(--mute); transition: color .4s; }
.step h3 {
  font-family: var(--display); font-style: italic; font-weight: 820; font-stretch: 110%;
  text-transform: uppercase; line-height: .95; font-size: clamp(1.8rem, 3.4vw, 3.1rem);
  margin: 12px 0 16px; color: rgba(242, 239, 233, .32); transition: color .5s;
}
.step p { color: var(--mute); max-width: 26em; opacity: .5; transition: opacity .5s; }
.step.is-on .step__dot { background: var(--red); border-color: var(--red); box-shadow: 0 0 18px rgba(225, 20, 28, .8); }
.step.is-on .mono { color: var(--red); }
.step.is-on h3 { color: var(--fg); }
.step.is-on p { opacity: 1; }

/* ---------- Contato ---------- */
.contact { padding: clamp(88px, 11vw, 150px) 0; }
.contact__copy { position: sticky; top: calc(var(--top-h) + 6vh); }
.contact__in { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: clamp(40px, 7vw, 120px); align-items: start; }
.contact__copy p { color: var(--mute); max-width: 28em; margin: 28px 0 30px; }
.channels { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 440px; }
.channels a { display: flex; align-items: center; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding-left .35s var(--ease-out), color .2s; }
.channels svg { width: 26px; height: 26px; color: var(--red); flex: none; }
.channels span { display: grid; font-family: var(--display); font-style: italic; font-weight: 750; font-size: 22px; line-height: 1.1; }
.channels small { color: var(--mute); font-style: normal; font-size: 11px; margin-bottom: 2px; }
.channels a:hover { padding-left: 12px; color: var(--red-hi); }
.ig { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--display); font-style: italic; font-weight: 750; font-size: 22px; }
.ig svg { width: 28px; height: 28px; color: var(--red); }
.ig span { border-bottom: 2px solid transparent; transition: border-color .3s; }
.ig:hover span { border-color: var(--red); }

.composer {
  background: var(--bg-2); padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line);
  display: grid; gap: 22px;
}
.composer__intent { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.composer__intent legend, .field > span { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; padding: 0; }
.composer__intent label { position: relative; cursor: pointer; }
.composer__intent input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.composer__intent span {
  display: flex; align-items: center; justify-content: center; min-height: 48px;
  border: 1px solid var(--line);
  font-family: var(--display); font-style: italic; font-weight: 750; text-transform: uppercase; font-size: 15px;
  transition: background-color .2s, border-color .2s, color .2s;
}
.composer__intent label:hover span { border-color: rgba(242, 239, 233, .45); }
.composer__intent input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.composer__intent input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: 3px; }

.field { display: grid; }
.field[hidden] { display: none; }
.field input[type="text"], .field select {
  width: 100%; min-height: 50px; padding: 0 2px; background: transparent;
  border: 0; border-bottom: 1px solid rgba(242, 239, 233, .3); border-radius: 0;
  font-size: 17px; transition: border-color .2s;
}
.field select { -webkit-appearance: none; appearance: none; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23e1141c' stroke-width='2'/%3E%3C/svg%3E") right 2px center / 18px no-repeat; padding-right: 28px; }
.field select option { background: var(--bg-2); color: var(--fg); }
.field input::placeholder { color: rgba(242, 239, 233, .38); }
.field input:focus, .field select:focus { outline: none; border-color: var(--red); }
.field--check { grid-template-columns: auto 1fr; align-items: center; gap: 12px; cursor: pointer; }
.field--check > span { margin: 0; text-transform: none; font-family: var(--sans); font-size: 15px; letter-spacing: 0; color: var(--fg); }
.field--check input { width: 20px; height: 20px; accent-color: var(--red); margin: 0; }

.composer__preview { border-left: 2px solid var(--red); padding: 4px 0 4px 16px; }
.composer__preview .mono { color: var(--mute); }
.composer__preview p { margin-top: 8px; font-size: 15px; color: var(--fg); white-space: pre-line; }
.composer__note { font-size: 13px; color: var(--mute); text-align: center; min-height: 1em; }

/* ---------- Rodapé ---------- */
.foot { padding: 64px 0 40px; border-top: 1px solid var(--line); }
.foot__in { display: grid; grid-template-columns: 280px 1fr auto; gap: 32px 56px; align-items: center; }
.foot__logo { width: 100%; mix-blend-mode: lighten; }
.foot__info p { color: var(--mute); }
.foot__contact { margin-top: 10px; }
.foot__contact a { color: var(--fg); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--red); }
.foot__info .foot__small { font-size: 13px; margin-top: 14px; max-width: 34em; opacity: .8; }
.foot__nav { display: grid; gap: 8px; justify-items: start; }
.foot__nav a { text-decoration: none; color: var(--mute); font-size: 15px; }
.foot__nav a:hover { color: var(--fg); }
.foot__copy { grid-column: 1 / -1; color: var(--mute); padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- WhatsApp flutuante (desktop) ---------- */
.float-wa {
  position: fixed; right: 28px; bottom: 28px; z-index: 44;
  display: flex; align-items: center; gap: 0; height: 60px; padding: 0 18px;
  background: linear-gradient(-45deg, transparent 12px, var(--red) 0); color: #fff; text-decoration: none;
  box-shadow: 0 18px 40px -18px rgba(225, 20, 28, .8);
  font-family: var(--display); font-style: italic; font-weight: 750; text-transform: uppercase; font-size: 14px;
  transform: translateY(calc(100% + 48px)); transition: transform .5s var(--ease), background-color .2s;
}
.float-wa.is-on { transform: none; }
.float-wa svg { width: 26px; height: 26px; flex: none; }
.float-wa span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .5s var(--ease-out), margin .5s var(--ease-out); }
.float-wa:hover span, .float-wa:focus-visible span { max-width: 220px; margin-left: 10px; }
.float-wa:hover { background: linear-gradient(-45deg, transparent 12px, var(--red-hi) 0); }

/* ---------- Barra fixa (celular) ---------- */
.dock { display: none; }

/* ---------- Ficha (dialog) ---------- */
.sheet {
  width: min(1180px, calc(100vw - 48px)); max-width: none; max-height: min(88vh, 860px);
  padding: 0; border: 1px solid var(--line); background: var(--bg-2); color: var(--fg);
  overflow: hidden;
}
.sheet[open] { display: block; animation: sheet-in .5s var(--ease-out); }
.sheet::backdrop { background: rgba(5, 5, 6, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: show .35s ease forwards; opacity: 0; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(28px); } }
.sheet__in { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); height: min(88vh, 860px); }
.sheet__media { background: #000; display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: 0; }
.sheet__stage { position: relative; min-height: 0; overflow: hidden; }
.sheet__stage > img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.sheet__stage > img.is-swap { animation: lights-on .6s var(--ease-out); }
.sheet__nav {
  position: absolute; top: 50%; z-index: 2; width: 48px; height: 48px; margin-top: -24px;
  display: grid; place-items: center; border: 0; cursor: pointer; color: var(--fg);
  background: rgba(11, 11, 12, .72); transition: background-color .2s, opacity .3s;
}
.sheet__nav svg { width: 22px; height: 22px; }
.sheet__nav--prev { left: 12px; }
.sheet__nav--prev svg { transform: scaleX(-1); }
.sheet__nav--next { right: 12px; }
.sheet__nav:hover { background: var(--red); }
.sheet__count { position: absolute; left: 14px; bottom: 12px; z-index: 2; background: rgba(11, 11, 12, .72); padding: 5px 8px; color: var(--fg); }
.sheet__stage.is-single .sheet__nav, .sheet__stage.is-single .sheet__count { display: none; }
@media (hover: hover) and (min-width: 900px) {
  .sheet__nav { opacity: 0; }
  .sheet__stage:hover .sheet__nav, .sheet__nav:focus-visible { opacity: 1; }
}
.sheet__share {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 0; min-height: 44px;
  background: none; border: 0; cursor: pointer; color: var(--mute); font-size: 14px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line);
}
.sheet__share svg { width: 18px; height: 18px; color: var(--red); }
.sheet__share:hover { color: var(--fg); }
.sheet__thumbs { display: flex; gap: 6px; padding: 6px; background: var(--bg); overflow-x: auto; }
.sheet__thumbs button { flex: 0 0 auto; width: 96px; aspect-ratio: 4 / 3; padding: 0; border: 0; cursor: pointer; background: #000; opacity: .5; transition: opacity .25s; position: relative; }
.sheet__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.sheet__thumbs button[aria-current="true"] { opacity: 1; }
.sheet__thumbs button[aria-current="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--red); }
.sheet__thumbs button:hover { opacity: .9; }
.sheet__body { padding: clamp(28px, 3vw, 44px); overflow-y: auto; overscroll-behavior: contain; }
.sheet__brand { color: var(--red); margin-bottom: 10px; }
.sheet__title { font-family: var(--display); font-style: italic; font-weight: 880; font-stretch: 116%; text-transform: uppercase; line-height: .9; font-size: clamp(2.4rem, 4vw, 3.6rem); padding-right: 40px; }
.sheet__ver { color: var(--mute); margin-top: 10px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; margin: 26px 0 28px; border-top: 1px solid var(--line); }
.specs div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs div:nth-child(odd) { padding-right: 16px; }
.specs div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.specs dt { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.specs dd { font-family: var(--display); font-style: italic; font-weight: 700; font-size: 19px; margin-top: 2px; }
.sheet__h { color: var(--mute); margin-bottom: 12px; }
.sheet__list { display: grid; gap: 8px; margin-bottom: 30px; }
.sheet__list li { position: relative; padding-left: 20px; font-size: 15px; }
.sheet__list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; background: var(--red); transform: rotate(45deg); }
.sheet__cta { display: grid; gap: 10px; }
.sheet__note { font-size: 13px; color: var(--mute); margin-top: 16px; }
.sheet__x {
  position: absolute; top: 12px; right: 12px; z-index: 5; width: 44px; height: 44px;
  display: grid; place-items: center; border: 0; cursor: pointer;
  background: rgba(11, 11, 12, .8); color: var(--fg);
}
.sheet__x svg { width: 22px; height: 22px; }
.sheet__x:hover { background: var(--red); }
html.is-locked { overflow: hidden; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translate(-50%, calc(100% + 48px)); visibility: hidden;
  width: max-content; max-width: calc(100vw - 32px);
  background: var(--fg); color: var(--bg); padding: 14px 18px; font-size: 14px; font-weight: 500;
  border-left: 4px solid var(--red);
  transition: transform .5s var(--ease-out), visibility 0s .5s;
}
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition-delay: 0s; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .nav { gap: 20px; }
  .grid { gap: 52px 20px; }
  .ficha, .ficha.is-wide, .ficha.is-narrow { grid-column: span 6; }
  .ficha.is-wide .ficha__media, .ficha.is-narrow .ficha__media { aspect-ratio: 4 / 3; }
  .deal__row { grid-template-columns: 48px 1fr 170px; }
  .deal__row p { grid-column: 2 / -1; grid-row: 2; }
  .deal__go { grid-column: 3; grid-row: 1; }
  .foot__in { grid-template-columns: 220px 1fr; }
}

@media (max-width: 899px) {
  :root { --top-h: 62px; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .nav, .top__tel, .float-wa { display: none; }
  .top .btn--sm span { display: none; }
  .top .btn--sm { padding: 0 13px 0 12px; }

  .hero { display: flex; flex-direction: column; min-height: 0; padding: var(--top-h) 0 0; }
  .hero__copy { padding: 0 var(--gut) 34px; order: 2; margin-top: -34px; }
  .hero__title { font-size: min(12.4vw, 4.6rem); font-stretch: 100%; margin-bottom: 22px; }
  .hero__lead { margin-bottom: 26px; }
  .hero__cta .btn { flex: 1 1 auto; }
  .hero__stage { order: 1; margin: 0; }
  .hero__frame { height: auto; min-height: 0; aspect-ratio: 1.3; max-height: 46svh; width: 100%; clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); }
  .hero__frame img { object-position: 30% 62%; }
  .hero__frame::after { background: linear-gradient(0deg, rgba(11,11,12,.85), transparent 40%); }
  .hero__tag { display: none; }
  .hero__tag a { font-size: 15px; }
  .hero__tag a span { font-size: 12px; }
  .hero__title { white-space: normal; }
  .patio { order: 3; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 12px; margin: 0; padding: 22px 0 8px; border-top: 0; }
  .patio__label { margin-left: var(--gut); }
  .patio__promise { display: none; }
  .patio__ctrl { margin-right: var(--gut); }
  .patio__all { display: none; }
  .patio__btn { width: 40px; height: 40px; }
  .patio__list { gap: 10px; padding: 0 var(--gut); scroll-padding-inline: var(--gut); -webkit-mask-image: none; mask-image: none; cursor: auto; }
  .patio__list li { flex: 0 0 68%; }
  .patio__list a { flex-direction: column; align-items: stretch; gap: 10px; padding: 0; }
  .patio__img { width: 100%; aspect-ratio: 16 / 10; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%); }
  .patio__bar { margin-inline: var(--gut); }

  .stock__head { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { flex: none; }

  .ask { grid-template-columns: 1fr; gap: 14px; }
  .ask .btn { justify-self: start; margin-top: 8px; }

  .deal__head { grid-template-columns: 1fr; }
  .road__in, .contact__in { grid-template-columns: 1fr; }
  .road__pin, .contact__copy { position: static; }
  .road__pin { margin-bottom: 56px; }
  .step { min-height: 0; padding-bottom: 56px; }
  .foot__in { grid-template-columns: 1fr; }
  .foot__logo { width: 220px; }

  .dock {
    display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom));
    background: rgba(11, 11, 12, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .45s var(--ease);
  }
  .dock.is-on { transform: none; }
  .dock a {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; text-decoration: none;
    font-family: var(--display); font-style: italic; font-weight: 750; text-transform: uppercase; font-size: 14px;
  }
  .dock svg { width: 19px; height: 19px; }
  .dock__a { box-shadow: inset 0 0 0 1px var(--line); }
  .dock__b { background: linear-gradient(-45deg, transparent 10px, var(--red) 0); color: #fff; }
  .toast { bottom: calc(86px + env(safe-area-inset-bottom)); }

  .sheet { width: 100vw; height: 100dvh; max-height: none; border: 0; margin: 0; }
  .sheet[open] { animation-name: sheet-up; }
  @keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } }
  .sheet__in { display: block; height: 100%; overflow-y: auto; overscroll-behavior: contain; }
  .sheet__stage { aspect-ratio: 4 / 3; }
  .sheet__body { overflow: visible; padding-inline: var(--gut); }
  .sheet__thumbs button { width: 84px; }
  .sheet__cta {
    position: sticky; bottom: 0; z-index: 2; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px;
    margin-inline: calc(var(--gut) * -1); padding: 12px var(--gut) calc(12px + env(safe-area-inset-bottom));
    background: rgba(17, 17, 19, .96); border-top: 1px solid var(--line);
  }
  .sheet__cta .btn { padding-inline: 10px; font-size: 13px; white-space: normal; text-align: center; line-height: 1.1; }
  .sheet__cta .btn svg { display: none; }
  .sheet__body { padding-bottom: 24px; }
}

@media (max-width: 599px) {
  .grid { grid-template-columns: 1fr; gap: 56px; }
  .ficha, .ficha.is-wide, .ficha.is-narrow { grid-column: auto; }
  .ficha__media { margin-inline: calc(var(--gut) * -1); --cut: 22px; }
  .ficha__body { grid-template-columns: 1fr; }
  .ficha__chat { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 16px; }
  .deal__row { grid-template-columns: 1fr; gap: 12px; padding: 26px 0 30px; }
  .deal__n { padding: 0; }
  .deal__row p, .deal__go { grid-column: 1; grid-row: auto; }
  .deal__go { justify-self: start; }
  .road__steps { padding-left: 44px; }
  .road__steps::before, .road__steps::after { left: 8px; }
  .step__dot { left: -43px; }
  .specs dd { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .door { display: none; }
  .js .ficha__media::after { display: none; }
  .js .ficha__media img, .js .hero__title .line > span { transform: none; }
  .js .hero__lead, .js .hero__cta, .js .hero__tag, .js .hero .eyebrow { opacity: 1; }
  ::view-transition-group(*) { animation: none !important; }
}
