/* Demonstração MG Web · estética automotiva
   Uma campanha, não uma página de seções: cada vídeo é um plano, e entre
   um plano e outro há preto, como corte de filme. Preto, grafite e branco;
   a cor vem dos carros e da luz. Sem .motion (JS desligado ou movimento
   reduzido) cada seção é um bloco estático e completo. */

:root {
  --ink: #050506;
  --black: #000;
  --graphite: #111214;
  --fg: #ecebe7;
  --fg-2: rgba(236, 235, 231, .74);
  --mute: #8b8b88;
  --metal: #b3b4b0;
  --line: rgba(236, 235, 231, .14);
  --line-2: rgba(236, 235, 231, .32);

  --gut: clamp(18px, 4.6vw, 72px);
  --hdr: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --f: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--ink); }
html.motion { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font-family: var(--f);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
html.menu-open body { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--fg); color: var(--ink); }
:focus-visible { outline: 1px solid var(--fg); outline-offset: 4px; }

.skip {
  position: fixed; left: var(--gut); top: 12px; z-index: 100;
  padding: 10px 14px; background: var(--fg); color: var(--ink);
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  transform: translateY(-160%); transition: transform .3s var(--ease);
}
.skip:focus { transform: none; }
/* ---------- tipografia ------------------------------------------------ */

/* rótulos: pequenos, largos, espaçados; títulos: grandes, largos, justos */
.label {
  font-size: 11px; line-height: 1; font-weight: 500; font-stretch: 112%;
  letter-spacing: .28em; text-transform: uppercase; color: var(--fg-2);
}
.hero__title, .statement__t, .shot__t, .craft__t, .svc__t, .studio__label, .contato__t {
  font-weight: 500; font-stretch: 112%; text-transform: uppercase;
  letter-spacing: -.012em; line-height: .98;
}

/* palavras mascaradas (data-split) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .16em 0 .08em; margin: -.16em 0 -.08em; }
.wi { display: inline-block; }

/* ---------- marca ------------------------------------------------------- */

.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--fg); white-space: nowrap; }
.logo__txt { display: inline-flex; align-items: baseline; gap: .8em; }
.logo__word { font-size: 14px; line-height: 1; font-weight: 700; font-stretch: 125%; letter-spacing: .16em; }
.logo__sub { font-size: 9px; line-height: 1; font-weight: 500; font-stretch: 110%; letter-spacing: .44em; text-transform: uppercase; color: var(--metal); }
.logo--lg .logo__word { font-size: clamp(16px, 1.6vw, 22px); }
.logo--lg .logo__sub { font-size: clamp(9px, .8vw, 11px); }
/* símbolo: traço engrossado nos tamanhos pequenos (correção óptica), cantos vivos */
.mark { display: block; flex: none; overflow: visible; fill: none; stroke: currentColor; stroke-linejoin: miter; stroke-miterlimit: 4; }
.logo .mark { width: 19px; height: 25px; stroke-width: 20; }

/* ---------- link de chamada ------------------------------------------- */

.link-cta {
  display: inline-flex; align-items: center; gap: 1em;
  min-height: 44px; padding: 12px 0 10px;
  font-size: 11px; line-height: 1; font-weight: 500; font-stretch: 112%;
  letter-spacing: .24em; text-transform: uppercase;
  border-bottom: 1px solid var(--line-2);
  transition: border-color .4s var(--ease);
}
.link-cta .arr { display: inline-block; letter-spacing: 0; font-size: 1.25em; transition: transform .5s var(--ease); }
.link-cta:hover { border-color: var(--fg); }
.link-cta:hover .arr { transform: translateX(5px); }
.link-cta--lg { font-size: 12.5px; padding: 16px 2px 14px; }
/* ---------- cabeçalho --------------------------------------------------- */

.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--hdr);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gut);
  padding-top: env(safe-area-inset-top);
  border-bottom: 1px solid transparent;
  transition: height .5s var(--ease), background-color .5s var(--ease), border-color .5s var(--ease);
}
.hdr.is-scrolled { height: 60px; background: rgba(5, 5, 6, .86); border-bottom-color: var(--line); }
html.menu-open .hdr { background: transparent; border-bottom-color: transparent; }
.hdr__nav { display: none; gap: clamp(24px, 3vw, 44px); }
.hdr__nav a {
  position: relative; padding: 10px 0;
  font-size: 11px; line-height: 1; font-weight: 500; font-stretch: 112%;
  letter-spacing: .22em; text-transform: uppercase; color: var(--fg-2);
  transition: color .3s;
}
.hdr__nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.hdr__nav a:hover { color: var(--fg); }
.hdr__nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.hdr__menu {
  width: 44px; height: 44px; margin-right: -10px;
  display: grid; place-content: center; gap: 7px;
}
.hdr__menu span { display: block; width: 22px; height: 1px; background: var(--fg); transition: transform .5s var(--ease); }
html.menu-open .hdr__menu span:first-child { transform: translateY(4px) rotate(45deg); }
html.menu-open .hdr__menu span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (min-width: 900px) {
  .hdr__nav { display: flex; }
  .hdr__menu { display: none; }
}

.menu {
  position: fixed; inset: 0; z-index: 40;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 40px;
  padding: calc(var(--hdr) + 24px) var(--gut) calc(36px + env(safe-area-inset-bottom));
  background: var(--ink);
  opacity: 0; visibility: hidden;
  transition: opacity .5s var(--ease), visibility 0s .5s;
}
html.menu-open .menu { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.menu nav { display: flex; flex-direction: column; }
.menu nav a {
  display: flex; align-items: baseline; gap: 18px;
  padding: 14px 0; border-top: 1px solid var(--line);
  font-size: clamp(28px, 8.4vw, 44px); line-height: 1.05; font-weight: 500; font-stretch: 110%;
  text-transform: uppercase; letter-spacing: -.01em;
  transform: translateY(16px); opacity: 0;
  transition: transform .7s var(--ease), opacity .7s var(--ease);
}
.menu nav a small { font-size: 11px; letter-spacing: .14em; color: var(--mute); font-weight: 500; }
html.menu-open .menu nav a { transform: none; opacity: 1; }
html.menu-open .menu nav a:nth-child(2) { transition-delay: .05s; }
html.menu-open .menu nav a:nth-child(3) { transition-delay: .1s; }
html.menu-open .menu nav a:nth-child(4) { transition-delay: .15s; }
.menu__links { display: grid; }
.menu__links a { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--fg-2); padding: 12px 0; }
/* ---------- mídia -------------------------------------------------------- */

.media { position: absolute; inset: 0; overflow: hidden; background: var(--black); }
.media picture, .media__img, .media__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--pos, 50% 50%);
}
/* enquanto o vídeo carrega, fica o poster (primeiro quadro, mesma imagem):
   a troca é invisível */
.media__video { opacity: 0; transition: opacity .9s var(--ease); }
.media__video.is-ready { opacity: 1; }
@media (max-aspect-ratio: 5/4) {
  .media picture, .media__img, .media__video { object-position: var(--pos-m, var(--pos, 50% 50%)); }
}

/* ---------- 01 + 02 · abertura ------------------------------------------ */

.opening { position: relative; background: var(--black); }
.opening__stage { position: relative; }
.opening__film { position: relative; height: 100vh; height: 100svh; min-height: 540px; overflow: hidden; }
.opening__media { --pos: 50% 46%; --pos-m: 50% 50%; }
/* sobreposição quase nula: só o suficiente para o texto no rodapé do quadro */
.opening__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.4) 0, rgba(0,0,0,0) 16%),
    linear-gradient(0deg, rgba(0,0,0,.62) 0, rgba(0,0,0,.18) 26%, rgba(0,0,0,0) 44%);
}
.opening__black { position: absolute; inset: 0; background: var(--black); opacity: 0; pointer-events: none; }

.hero {
  position: absolute; z-index: 2; left: var(--gut); right: var(--gut);
  bottom: calc(clamp(48px, 9svh, 96px) + env(safe-area-inset-bottom));
}
.hero__brand {
  display: flex; align-items: center; gap: 14px;
  font-size: 11px; line-height: 1; font-weight: 600; font-stretch: 125%;
  letter-spacing: .34em; text-transform: uppercase;
}
.hero__brand::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.hero__title { display: block; margin-top: 18px; max-width: 12em; font-size: clamp(30px, 1rem + 3.2vw, 64px); }
.hero__cta { margin-top: clamp(20px, 3svh, 32px); }

.cue { position: absolute; z-index: 2; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translateX(-50%); }
.cue__line { display: block; position: relative; width: 1px; height: 44px; overflow: hidden; background: var(--line); }
.cue__line::after {
  content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%;
  background: var(--fg); animation: cue 2.4s var(--ease-io) infinite;
}
@keyframes cue { 0% { top: -40%; } 70%, 100% { top: 100%; } }
@media (min-width: 900px) { .cue { left: auto; right: var(--gut); bottom: 48px; transform: none; } }

/* entrada: o texto espera o filme começar */
html.js .hero__brand, html.js .hero__cta, html.js .cue__line {
  opacity: 0; transform: translateY(12px);
  transition: opacity 1.1s var(--ease), transform 1.3s var(--ease);
}
html.js .hero__title .wi { transform: translateY(135%); transition: transform 1.3s var(--ease); transition-delay: calc(.2s + var(--i) * .07s); }
html.hero-ready .hero__brand, html.hero-ready .hero__cta, html.hero-ready .cue__line { opacity: 1; transform: none; }
html.hero-ready .hero__title .wi { transform: none; }
html.hero-ready .hero__cta { transition-delay: .6s; }
html.hero-ready .cue__line { transition-delay: 1s; }
.opening__media .media__img, .opening__media .media__video { transform: scale(1.03); transition: transform 3.2s var(--ease), opacity 1.2s var(--ease); }
html.hero-ready .opening__media .media__img, html.hero-ready .opening__media .media__video, html:not(.js) .opening__media .media__img { transform: none; }

/* a frase da marca, no preto */
.statement {
  padding: clamp(120px, 24svh, 240px) var(--gut);
  text-align: center; background: var(--black);
}
.statement__t { max-width: 11em; margin: 0 auto; font-size: clamp(34px, 1rem + 5.2vw, 108px); }
.statement__p {
  margin-top: clamp(24px, 4svh, 40px);
  font-size: 11px; line-height: 1.4; letter-spacing: .3em; text-transform: uppercase; color: var(--fg-2);
}
.motion .opening { height: 260vh; height: 260svh; }
.motion .opening__stage { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 540px; overflow: hidden; }
.motion .opening__film { height: 100%; min-height: 0; }
.motion .statement { position: absolute; inset: 0; z-index: 3; display: grid; align-content: center; padding: 0 var(--gut); background: none; pointer-events: none; }
.motion .statement .wi { transform: translateY(135%); }
.motion .statement__p { opacity: 0; }

/* ---------- 03 · selected work ------------------------------------------ */

.work { position: relative; background: var(--black); }
.work__intro {
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  padding: clamp(80px, 14svh, 160px) var(--gut) clamp(28px, 5svh, 56px);
}
.work__note { font-size: 11px; letter-spacing: .14em; color: var(--mute); }

.shot { position: relative; }
.shot__stage { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--black); }
.shot__frame { position: absolute; inset: 0; }
.shot__frame::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(0,0,0,.7) 0, rgba(0,0,0,.2) 24%, rgba(0,0,0,0) 46%);
}
.shot__dim { position: absolute; inset: 0; z-index: 1; background: var(--black); opacity: 0; pointer-events: none; }
.shot__cap {
  position: absolute; z-index: 2; left: var(--gut); right: var(--gut);
  bottom: calc(clamp(40px, 8svh, 88px) + env(safe-area-inset-bottom));
  display: grid; gap: 14px; justify-items: start;
}
.shot__n { font-size: 11px; letter-spacing: .2em; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.shot__n span { color: var(--mute); }
.shot__t { font-size: clamp(36px, 1rem + 4.8vw, 100px); }
.shot__d { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--fg-2); }

/* cada plano com enquadramento próprio no desktop */
@media (min-aspect-ratio: 5/4) {
  .shot--b .shot__cap { justify-items: end; text-align: right; }
  /* o BMW (detalhe de ~720p) em quadro contido, com a legenda ao lado */
  .shot--c .shot__frame { inset: 13% var(--gut) 13% 40%; }
  .shot--c .shot__frame::after { display: none; }
  .shot--c .shot__cap { right: auto; width: calc(40% - var(--gut) - 48px); top: 50%; bottom: auto; transform: translateY(-50%); }
}

/* celular e tablet em pé: quadro próprio por carro, legenda embaixo, nada
   sobre o veículo */
@media (max-aspect-ratio: 5/4) {
  .shot__stage { display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: calc(var(--hdr) + 12px) 0 calc(24px + env(safe-area-inset-bottom)); }
  .shot__frame { position: relative; inset: auto; flex: none; width: 100%; aspect-ratio: var(--ar-m, 4/5); max-height: 64svh; }
  .shot__frame::after { display: none; }
  .shot__cap { position: relative; left: auto; right: auto; bottom: auto; padding: 0 var(--gut); gap: 10px; }
  .shot__t { font-size: clamp(34px, 9.6vw, 64px); }
}
.motion .shot { height: 190vh; height: 190svh; }
.motion .shot__stage { position: sticky; top: 0; }
.motion .shot__t .wi { transform: translateY(135%); }
.motion .shot__n, .motion .shot__d { opacity: 0; }

/* ---------- 04 · the craft ----------------------------------------------- */

.craft { position: relative; background: var(--black); }
.craft__stage { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
.craft__frame { position: absolute; inset: 0; }
.craft__frame::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(0,0,0,.78) 0, rgba(0,0,0,.25) 30%, rgba(0,0,0,0) 55%);
}
@media (max-aspect-ratio: 5/4) {
  .craft__frame::after { background: linear-gradient(0deg, rgba(0,0,0,.92) 0, rgba(0,0,0,.7) 30%, rgba(0,0,0,0) 62%); }
}
.craft__copy {
  position: absolute; z-index: 2; left: var(--gut); right: var(--gut);
  bottom: calc(clamp(40px, 9svh, 96px) + env(safe-area-inset-bottom));
  display: grid; gap: 16px; max-width: 34em;
}
.craft__t { font-size: clamp(32px, 1rem + 3.6vw, 76px); }
.craft__p { max-width: 38ch; color: var(--fg-2); }
.craft__black { position: absolute; inset: 0; z-index: 3; background: var(--black); opacity: 0; pointer-events: none; }
.motion .craft { height: 240vh; height: 240svh; }
.motion .craft__stage { position: sticky; top: 0; }
.motion .craft__frame { clip-path: inset(50% 0 50% 0); }
.motion .craft__t .wi { transform: translateY(135%); }
.motion .craft__copy .label, .motion .craft__p { opacity: 0; }

/* ---------- 05 · serviços ------------------------------------------------ */

.services { position: relative; background: var(--black); }
/* fundo preso à tela enquanto a lista passa; troca com o serviço em foco */
.services__bg { position: sticky; top: 0; height: 100vh; height: 100svh; margin-bottom: -100vh; margin-bottom: -100svh; overflow: hidden; }
.services__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.04);
  transition: opacity 1.1s var(--ease), transform 1.6s var(--ease);
}
.services__img.is-on { opacity: .32; transform: none; }
.services__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.72) 0, rgba(0,0,0,.2) 70%), linear-gradient(0deg, rgba(0,0,0,.5), rgba(0,0,0,0) 40%);
}
.services__inner {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(96px, 16svh, 180px) var(--gut);
}
.services__head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-bottom: 20px; }
.services__note { font-size: 13px; color: var(--mute); text-align: right; }
.svc-list { border-top: 1px solid var(--line); }
.svc {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) 28px; column-gap: 14px; row-gap: 12px; align-items: baseline;
  padding: clamp(22px, 3.6svh, 40px) 0;
  border-bottom: 1px solid var(--line);
  transition: opacity .5s var(--ease);
}
.svc__n { font-size: 11px; letter-spacing: .14em; color: var(--mute); }
.svc__t { grid-column: 2 / 4; font-size: clamp(24px, 6.6vw, 80px); transition: transform .7s var(--ease); }
.svc__d { grid-column: 2; max-width: 34ch; font-size: 14px; line-height: 1.55; color: var(--fg-2); }
.svc__a { grid-column: 3; grid-row: 2; align-self: end; font-size: 20px; justify-self: end; transition: transform .5s var(--ease); }
.svc-list.is-hovering .svc:not(.is-on) { opacity: .34; }
.svc.is-on .svc__t { transform: translateX(10px); }
.svc.is-on .svc__a { transform: translateX(4px); }
@media (min-width: 1200px) {
  .svc { grid-template-columns: 64px minmax(0, 1fr) minmax(0, 30ch) 40px; column-gap: 32px; }
  .svc__t { grid-column: 2; font-size: clamp(28px, 1rem + 3.2vw, 72px); }
  .svc__d { grid-column: 3; grid-row: 1; }
  .svc__a { grid-column: 4; grid-row: 1; align-self: baseline; }
}

/* ---------- 06 · studio ------------------------------------------------ */

.studio { position: relative; background: var(--black); }
.studio__stage { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
.studio__media { --pos: 50% 50%; }
.studio__media .media__video { transition: none; }
.studio__shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(0,0,0,.78) 0, rgba(0,0,0,.25) 28%, rgba(0,0,0,0) 46%), linear-gradient(180deg, rgba(0,0,0,.4) 0, rgba(0,0,0,0) 20%);
}
.studio__label { position: absolute; z-index: 2; left: var(--gut); right: var(--gut); bottom: calc(clamp(32px, 7svh, 72px) + 4.2em + env(safe-area-inset-bottom)); font-size: clamp(26px, 1rem + 2.4vw, 52px); letter-spacing: -.005em; color: var(--fg); }
@media (min-width: 900px) { .studio__label { bottom: calc(clamp(32px, 7svh, 72px) + env(safe-area-inset-bottom)); right: auto; } }
.studio__p {
  position: absolute; z-index: 2; left: var(--gut); right: var(--gut);
  bottom: calc(clamp(32px, 7svh, 72px) + env(safe-area-inset-bottom));
  max-width: 34ch; color: var(--fg-2);
}
@media (min-width: 900px) { .studio__p { left: auto; text-align: right; } }
.studio__black { position: absolute; inset: 0; z-index: 3; background: var(--black); opacity: 0; pointer-events: none; }
.scrub .studio { height: 340vh; }
.scrub .studio__stage { position: sticky; top: 0; }
.scrub .studio__media .media__video { opacity: 1; }
.scrub .studio__label, .scrub .studio__p { opacity: 0; }

/* ---------- 07 · galeria -------------------------------------------------- */

.gallery { position: relative; background: var(--black); }
.gallery__stage { padding: clamp(80px, 14svh, 160px) var(--gut); }
.gallery__head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.gallery__note { font-size: 11px; letter-spacing: .14em; color: var(--mute); }
.gallery__track { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 12px; align-items: start; margin-top: clamp(40px, 8vw, 96px); }
.g { position: relative; margin-bottom: 40px; }
.g__img { position: relative; overflow: hidden; background: var(--graphite); }
.g__img img { width: 100%; height: 100%; object-fit: cover; }
.g figcaption { margin-top: 12px; font-size: 10px; line-height: 1; letter-spacing: .24em; text-transform: uppercase; color: var(--mute); }
.g--tank    { grid-column: 1 / 5; }
.g--farois  { grid-column: 2 / 7; }
.g--lanterna{ grid-column: 1 / 4; }
.g--capo    { grid-column: 4 / 7; margin-top: 24vw; }
.g--bmw     { grid-column: 2 / 6; }
.g--roda    { grid-column: 1 / 4; }
.g--emblema { grid-column: 1 / 7; }
.g--capo .g__img, .g--farois .g__img { aspect-ratio: 16 / 10; }
.g--emblema .g__img { aspect-ratio: 21 / 9; }
@media (min-width: 900px) {
  .gallery__track { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2vw; }
  .g { margin-bottom: 0; }
  .g--tank    { grid-column: 1 / 5; }
  .g--farois  { grid-column: 6 / 13; margin-top: 12vw; }
  .g--lanterna{ grid-column: 2 / 5; margin-top: 6vw; }
  .g--capo    { grid-column: 6 / 12; margin-top: 10vw; }
  .g--bmw     { grid-column: 1 / 5; margin-top: 8vw; }
  .g--roda    { grid-column: 7 / 10; margin-top: 16vw; }
  .g--emblema { grid-column: 1 / 13; margin-top: 10vw; }
}

/* desktop com mouse: a página anda na horizontal aqui, uma vez só */
.hscroll .gallery__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; padding: 0; }
.hscroll .gallery__head { position: absolute; z-index: 2; top: calc(var(--hdr) + 24px); left: var(--gut); right: var(--gut); border: 0; }
.hscroll .gallery__track {
  position: absolute; top: 0; bottom: 0; left: 0; margin: 0;
  display: flex; align-items: center; gap: 5vw; padding: 0 12vw 0 var(--gut);
  width: max-content; will-change: transform;
}
.hscroll .g { flex: none; margin: 0; grid-column: auto; }
.hscroll .g__img { height: var(--h); aspect-ratio: var(--ar); width: auto; }
.hscroll .g__img img { width: 100%; height: 100%; }
.hscroll .g--tank     { --h: 62vh; --ar: 900 / 972; }
.hscroll .g--farois   { --h: 42vh; --ar: 16 / 9; align-self: flex-start; margin-top: 20vh; }
.hscroll .g--lanterna { --h: 54vh; --ar: 860 / 1080; align-self: flex-end; margin-bottom: 12vh; }
.hscroll .g--capo     { --h: 46vh; --ar: 16 / 9; }
.hscroll .g--bmw      { --h: 40vh; --ar: 1 / 1; align-self: flex-start; margin-top: 18vh; }
.hscroll .g--roda     { --h: 56vh; --ar: 1 / 1; align-self: flex-end; margin-bottom: 10vh; }
.hscroll .g--emblema  { --h: 50vh; --ar: 16 / 9; }

.motion .g__img { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease); }
.motion .g__img img { transform: scale(1.05); transition: transform 1.9s var(--ease); }
.motion .g figcaption { opacity: 0; transition: opacity 1s var(--ease) .5s; }
.motion .g.is-in .g__img { clip-path: inset(0 0 0 0); }
.motion .g.is-in .g__img img { transform: none; }
.motion .g.is-in figcaption { opacity: 1; }

/* ---------- 08 · contato -------------------------------------------------- */

.contato {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 120px var(--gut);
  background: var(--black);
}
.mark--draw { width: clamp(44px, 4.4vw, 60px); height: auto; aspect-ratio: 320 / 416; stroke-width: 10; }
.contato .logo { margin-top: clamp(24px, 4svh, 36px); }
.contato__t { margin-top: clamp(28px, 5svh, 44px); max-width: 10em; font-size: clamp(34px, 1rem + 4.6vw, 92px); }
.contato .link-cta { margin-top: clamp(32px, 5svh, 52px); }
.contato__p { margin-top: 22px; font-size: 12px; letter-spacing: .08em; color: var(--mute); }

.motion .mark--draw path { stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease-io); }
.motion .mark--draw path + path { transition-delay: .9s; transition-duration: .8s; }
.motion .contato.is-in .mark--draw path { stroke-dashoffset: 0; }
.motion .contato .logo, .motion .contato .link-cta, .motion .contato__p { opacity: 0; transform: translateY(12px); transition: opacity 1.1s var(--ease), transform 1.3s var(--ease); }
.motion .contato.is-in .logo { opacity: 1; transform: none; transition-delay: .4s; }
.motion .contato.is-in .link-cta { opacity: 1; transform: none; transition-delay: 1s; }
.motion .contato.is-in .contato__p { opacity: 1; transform: none; transition-delay: 1.15s; }
.motion .contato__t .wi { transform: translateY(135%); transition: transform 1.3s var(--ease); transition-delay: calc(.55s + var(--i) * .07s); }
.motion .contato.is-in .contato__t .wi { transform: none; }

/* ---------- rodapé -------------------------------------------------------- */

.ftr {
  display: grid; gap: 24px;
  padding: 32px var(--gut) calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--black);
  font-size: 12px; color: var(--mute);
}
.ftr__nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.ftr__nav a { padding: 10px 0; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--fg-2); transition: color .3s; }
.ftr__nav a:hover { color: var(--fg); }
@media (min-width: 900px) {
  .ftr { grid-template-columns: auto 1fr auto; align-items: center; column-gap: 48px; }
  .ftr__nav { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
