/* ============================================================
   VIA BH — prévia v3 · linguagem "Avantgarde"
   Claro, arejado, editorial. Produto recortado como protagonista,
   tipografia espaçada, cor como lavagem — dark só em faixas.
   Cada página define seus tokens de segmento em :root.
   ============================================================ */

:root {
  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  /* tokens neutros — sobrescritos por página */
  --bg: #fbfaf8;
  --bg-2: #ffffff;
  --ink: #17181a;
  --ink-2: #6b6762;
  --line: rgba(23, 24, 26, 0.1);
  --accent: #1c1d20;
  --accent-dark: #000000;
  --accent-ink: #ffffff;
  --accent-contrast: #ffffff;
  --wash: color-mix(in srgb, var(--accent) 7%, transparent);
  --maxw: 1280px;

  /* sombras em camadas — profundidade consistente em todo o site */
  --shadow-s: 0 1px 2px rgba(23, 24, 26, 0.05), 0 4px 12px -4px rgba(23, 24, 26, 0.08);
  --shadow-m: 0 2px 4px rgba(23, 24, 26, 0.04), 0 12px 28px -12px rgba(23, 24, 26, 0.16);
  --shadow-l: 0 4px 8px rgba(23, 24, 26, 0.04), 0 18px 44px -16px rgba(23, 24, 26, 0.22), 0 36px 80px -32px rgba(23, 24, 26, 0.18);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* scrollbar discreta, coerente com o tema */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--ink) 18%, transparent);
  border-radius: 100px;
  border: 3px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: color-mix(in srgb, var(--ink) 32%, transparent); }

/* foco visível e elegante para navegação por teclado */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* headlines equilibradas — sem viúvas de uma palavra */
h1, h2, h3 { text-wrap: balance; }

/* lavagens de cor fixas nos cantos — assinatura Avantgarde */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(55% 42% at 92% 0%, var(--wash), transparent 65%),
    radial-gradient(45% 38% at 0% 8%, color-mix(in srgb, var(--accent) 4%, transparent), transparent 60%),
    radial-gradient(50% 40% at 100% 100%, color-mix(in srgb, var(--accent) 5%, transparent), transparent 60%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #fff; }

/* ---------- utilitários ---------- */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

/* tipografia espaçada — o gesto central da referência */
.tk {
  font-family: var(--font-display);
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  line-height: 1.15;
}
.tk-light { font-weight: 300; letter-spacing: 0.08em; text-transform: none; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
}

.h-display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.01em;
}
/* palavra de destaque: peso leve (contraste de peso, não de fonte) */
.serif-it, .lt {
  font-style: normal;
  font-weight: 300;
  color: var(--accent);
  letter-spacing: 0.01em;
}

.lead { font-size: 1.05rem; color: var(--ink-2); max-width: 56ch; }

/* colchetes de canto — detalhe gráfico da referência */
.cornered { position: relative; }
.cornered::before, .cornered::after {
  content: "";
  position: absolute;
  width: 26px; height: 26px;
  border: 1px solid var(--accent);
  opacity: 0.65;
}
.cornered::before { top: -13px; left: -13px; border-right: none; border-bottom: none; }
.cornered::after { bottom: -13px; right: -13px; border-left: none; border-top: none; }

/* ---------- topbar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.45s var(--ease-out), box-shadow 0.35s ease;
}
.topbar.scrolled {
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -18px rgba(23, 24, 26, 0.12);
}
/* esconde ao rolar para baixo, reaparece ao subir — mais tela para o conteúdo */
.topbar.hidden-bar { transform: translateY(-100%); }
.topbar-in {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  height: 84px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  display: flex;
  align-items: baseline;
  gap: 12px;
  white-space: nowrap;
}
.brand small {
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--ink-2);
}
.brand .seg-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  align-self: center;
}
.topnav {
  display: flex;
  gap: 34px;
  margin-left: auto;
  align-items: center;
}
.topnav a {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: color 0.2s;
  position: relative;
}
.topnav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -8px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.topnav a:not(.btn):hover::after { transform: scaleX(1); }
.topnav a:hover, .topnav a[aria-current="true"] { color: var(--ink); }

/* botão com canto dobrado — assinatura da referência */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding: 17px 34px;
  background: var(--accent);
  color: #fff !important;
  border: none;
  cursor: pointer;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  transition: background 0.25s, transform 0.25s var(--ease-out), box-shadow 0.25s;
}
/* sheen: brilho que atravessa o botão no hover */
.btn::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  transform: skewX(-18deg);
  transition: left 0.7s var(--ease-out);
  pointer-events: none;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn:hover::after { left: 125%; }
.btn:active { transform: translateY(0); }
.btn.ghost {
  background: transparent;
  color: var(--ink) !important;
  box-shadow: inset 0 0 0 1px var(--line);
  clip-path: none;
}
.btn.ghost::after { background: linear-gradient(100deg, transparent, rgba(23, 24, 26, 0.05), transparent); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); background: transparent; }
/* fantasma sobre mídia escura precisa ser visível */
.video-hero .btn.ghost,
.band-dark .btn.ghost {
  color: #fff !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}
.video-hero .btn.ghost:hover,
.band-dark .btn.ghost:hover { box-shadow: inset 0 0 0 1px #fff; }

/* botão circular "conheça" — discreto, vidro claro com anel fino */
.btn-circle {
  width: 84px; height: 84px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.55rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink) !important;
  background: color-mix(in srgb, var(--bg-2) 78%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px var(--line), 0 14px 30px -18px rgba(23, 24, 26, 0.3);
  transition: box-shadow 0.3s, color 0.3s;
  /* o transform é controlado pelo JS (perseguição magnética) */
  will-change: transform;
  z-index: 4;
}
.btn-circle:hover {
  color: var(--accent) !important;
  box-shadow: inset 0 0 0 1px var(--accent), 0 16px 34px -18px rgba(23, 24, 26, 0.35);
}
/* a zona da imagem indica que é clicável */
.stage-hero .sh-car { cursor: pointer; }

.back-hub {
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  transition: color 0.2s;
}
.back-hub:hover { color: var(--ink); }

/* ---------- hero de produto (palco claro, estilo referência) ---------- */
.stage-hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-content: center;
  overflow: hidden;
  padding: 40px 0 70px;
}
.stage-hero .sh-mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.stage-hero .sh-mark img {
  width: min(56vw, 620px);
  opacity: 0.05;
  filter: grayscale(1);
  animation: markBreathe 12s ease-in-out infinite;
}
@keyframes markBreathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}
.stage-hero .sh-top { text-align: center; position: relative; z-index: 2; }
.stage-hero .sh-brand {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--accent);
}
.stage-hero h1,
.stage-hero .sh-top h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 5.6vw, 4.6rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.04;
  margin: 14px 0 0;
  /* tinta com leve gradiente — evita o preto chapado no título gigante */
  background: linear-gradient(to bottom, var(--ink), color-mix(in srgb, var(--ink) 74%, var(--bg)));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stage-hero .sh-note {
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: var(--ink-2);
  margin-top: 14px;
}
.stage-hero .sh-stage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  margin-top: 10px;
}
.stage-hero .sh-car {
  position: relative;
  display: grid;
  justify-items: center;
}
.stage-hero .sh-car img {
  max-height: min(54vh, 560px);
  width: auto;
  max-width: 100%;
  filter: drop-shadow(0 40px 50px rgba(23, 24, 26, 0.22));
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.stage-hero:hover .sh-car img { transform: scale(1.02); }
.stage-hero .sh-floor {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 74%;
  height: 40px;
  background: radial-gradient(50% 60% at 50% 40%, rgba(23,24,26,0.14), transparent 70%);
  filter: blur(4px);
}
.stage-hero .btn-circle {
  position: absolute;
  left: clamp(0px, 6vw, 90px);
  bottom: 8%;
  z-index: 3;
}
.stage-hero .sh-specs {
  display: grid;
  gap: 22px;
  background: color-mix(in srgb, var(--bg-2) 66%, transparent);
  backdrop-filter: blur(6px);
  padding: 30px 34px;
  min-width: 210px;
  box-shadow: var(--shadow-m), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  border-radius: 2px;
}
/* hairline de acento no topo do painel de specs */
.stage-hero .sh-specs::before {
  content: "";
  position: absolute;
  top: 0; left: 34px;
  width: 34px;
  height: 2px;
  background: var(--accent);
}
.stage-hero .sh-specs { position: relative; }
.sh-specs .sp span {
  display: block;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 3px;
}
.sh-specs .sp b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: 0.03em;
}
.stage-hero .sh-cta {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 34px;
  flex-wrap: wrap;
}
@media (max-width: 900px) {
  .stage-hero { min-height: 0; padding: 30px 0 50px; }
  .stage-hero .sh-stage { grid-template-columns: 1fr; }
  .stage-hero .sh-specs {
    grid-auto-flow: column;
    justify-content: center;
    gap: 30px;
    background: none;
    box-shadow: none;
    padding: 10px 0 0;
  }
  .stage-hero .btn-circle { display: none; }
}

/* ---------- barra "encontre seu veículo" ---------- */
.finder {
  background: var(--bg-2);
  box-shadow: var(--shadow-l);
  padding: 26px 34px;
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.finder .f-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.3;
  min-width: 150px;
}
.finder label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 4px;
}
.finder .f-field { flex: 1 1 150px; }
.finder select, .finder input {
  width: 100%;
  appearance: none;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink);
  padding: 8px 2px;
  outline: none;
}
.finder select:focus, .finder input:focus { border-bottom-color: var(--accent); }

/* ---------- filtros de estoque (reestilizados, mesma mecânica) ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 30px 0 6px;
}
.search-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding: 0 2px;
  color: var(--ink-2);
  transition: border-color 0.2s;
  flex: 1 1 240px;
  max-width: 330px;
}
.search-box:focus-within { border-bottom-color: var(--accent); color: var(--accent); }
.search-box input {
  appearance: none;
  border: none;
  background: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--ink);
  padding: 10px 0;
  width: 100%;
}
.search-box input::placeholder { color: var(--ink-2); opacity: 0.7; }
.search-box input::-webkit-search-cancel-button { -webkit-appearance: none; }

.filters .flabel {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 0 4px 0 10px;
}
.chip {
  appearance: none;
  border: none;
  background: none;
  color: var(--ink-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 9px 4px;
  margin: 0 8px;
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: all 0.18s;
}
.chip:hover { color: var(--ink); }
.chip.active { color: var(--accent); border-bottom-color: var(--accent); }
.filters select {
  margin-left: auto;
  appearance: none;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 9px 30px 9px 2px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23999' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 6px center;
}
.result-count {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 14px 0 0;
}

.grid-empty {
  display: none;
  padding: 44px 0 70px;
  text-align: center;
  color: var(--ink-2);
}
.grid-empty.show { display: block; }
.grid-empty b {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 6px;
}

/* ---------- grid de produtos — sem caixa, editorial ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 54px 44px;
  padding: 44px 0 80px;
}
.card {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  position: relative;
}
.card.hidden { display: none; }
/* produto recortado, solto no fundo da página — sem caixa, sem borda.
   img absoluta: imagem vertical não pode esticar a caixa 4:3 e desalinhar o grid */
.card .ph {
  aspect-ratio: 4 / 3;
  position: relative;
}
.card .ph img {
  position: absolute;
  inset: 4% 6%;
  width: 88%;
  height: 92%;
  object-fit: contain;
  transition: transform 0.9s var(--ease-out);
  filter: drop-shadow(0 22px 24px rgba(23, 24, 26, 0.16));
}
.card:hover .ph img { transform: scale(1.04) translateY(-4px); }
.card .badge {
  position: absolute;
  top: 10px; left: 0;
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: color-mix(in srgb, var(--accent) 12%, var(--bg-2));
  color: var(--accent);
  padding: 7px 14px;
  border-radius: 100px;
  z-index: 2;
}
.card .body { padding: 20px 2px 0; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.card .cat {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
}
.card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.22rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 2px;
}
.card h3::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin-top: 10px;
  transition: width 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.card:hover h3::after { width: 72px; }
.card .specs {
  font-size: 0.85rem;
  color: var(--ink-2);
  margin-top: 8px;
  letter-spacing: 0.02em;
}
.card .price-row {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.card .price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.16rem;
  letter-spacing: 0.02em;
}
.card .price small {
  font-weight: 500;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: block;
}
.card .go {
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
  transition: letter-spacing 0.25s;
}
.card:hover .go { letter-spacing: 0.34em; }

/* ---------- bloco editorial de cor (institucional / sobre) ---------- */
.block-ed {
  position: relative;
  margin: 90px 0;
}
.block-ed .be-color {
  background: var(--accent);
  color: #fff;
  padding: clamp(50px, 7vw, 100px) 0;
  position: relative;
  overflow: hidden;
}
.block-ed .be-color::before {
  content: "";
  position: absolute;
  right: -8%;
  top: -30%;
  width: 60%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  pointer-events: none;
}
.block-ed .be-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.block-ed .be-label {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: rotate(180deg) translateY(50%);
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.block-ed .be-color .eyebrow { color: rgba(255, 255, 255, 0.85); }
.block-ed h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  line-height: 1.25;
  margin: 16px 0 18px;
}
.block-ed h2 b {
  display: block;
  font-weight: 700;
  font-size: 1.35em;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.block-ed .be-color p { color: rgba(255, 255, 255, 0.88); max-width: 46ch; font-size: 0.98rem; }
.block-ed .be-color .btn {
  margin-top: 30px;
  background: rgba(0, 0, 0, 0.28);
}
.block-ed .be-color .btn:hover { background: rgba(0, 0, 0, 0.45); }
/* foto sobreposta saindo do bloco */
.block-ed .be-media {
  position: relative;
  margin: -14% 0;
  box-shadow: 0 40px 80px -40px rgba(23, 24, 26, 0.45);
}
.block-ed .be-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
/* moldura fina afastada da foto — detalhe de galeria */
.block-ed .be-media::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  pointer-events: none;
}
@media (max-width: 900px) {
  .block-ed .be-grid { grid-template-columns: 1fr; }
  .block-ed .be-media { margin: 0 0 -20%; }
  .block-ed .be-label { display: none; }
}

/* ---------- faixa dark (vídeo / experience / formulário) ---------- */
.band-dark {
  position: relative;
  background: #141518;
  color: #f0efec;
  overflow: hidden;
  isolation: isolate;
}
.band-dark video, .band-dark .bd-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.band-dark .bd-bg {
  background-size: cover;
  background-position: center;
  transform: scale(1.12);
  will-change: transform;
}
.band-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(16, 17, 20, 0.92) 30%, rgba(16, 17, 20, 0.5) 75%),
    linear-gradient(to top, rgba(16, 17, 20, 0.9), transparent 45%);
}
.band-dark .bd-in {
  padding: clamp(60px, 9vw, 120px) 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
}
.band-dark h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.3;
}
.band-dark h2 b {
  display: block;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 1.2em;
}
.band-dark p { color: rgba(240, 239, 236, 0.75); max-width: 40ch; font-size: 0.96rem; }
.band-dark .bd-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #fff;
  transition: letter-spacing 0.3s;
}
.band-dark .bd-link:hover { letter-spacing: 0.38em; }
.band-dark .bd-link::after {
  content: "";
  width: clamp(60px, 12vw, 200px);
  height: 1px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.15));
}
.media-note {
  position: absolute;
  z-index: 5;
  right: 20px;
  bottom: 18px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(10, 11, 13, 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 12px;
  border-radius: 100px;
  pointer-events: none;
}
@media (max-width: 900px) {
  .band-dark .bd-in { grid-template-columns: 1fr; }
}

/* formulário dark (interesse) — campos sublinhados */
.lead-form {
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: clamp(26px, 4vw, 46px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 26px 30px;
  align-items: end;
}
.lead-form label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(240, 239, 236, 0.6);
  margin-bottom: 6px;
}
.lead-form input {
  width: 100%;
  appearance: none;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 8px 2px;
  outline: none;
}
.lead-form input:focus { border-bottom-color: var(--accent); }

/* ---------- seções ---------- */
.section { padding: 90px 0; }
.section-head { margin-bottom: 40px; }
.section-head h2, .sec-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.25;
  margin-top: 14px;
}
.sec-title b, .section-head h2 b {
  display: block;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 1.3em;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.split .media { overflow: hidden; aspect-ratio: 4/3; box-shadow: 0 30px 60px -35px rgba(23,24,26,0.35); }
.split .media img { width: 100%; height: 100%; object-fit: cover; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.stat b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  display: block;
  letter-spacing: 0.04em;
}
.stat span { font-size: 0.78rem; color: var(--ink-2); letter-spacing: 0.02em; }

/* contato */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0;
  margin-top: 14px;
  border-top: 1px solid var(--line);
}
.contact-card {
  padding: 30px 30px 30px 0;
  border-right: 1px solid var(--line);
  position: relative;
}
.contact-card:last-child { border-right: none; }
.contact-card + .contact-card { padding-left: 30px; }
/* traço de acento que cresce no topo do cartão em hover */
.contact-card::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.5s var(--ease-out);
}
.contact-card + .contact-card::before { left: 30px; }
.contact-card:hover::before { width: 44px; }
.contact-card .cc-label {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
}
.contact-card p { margin-top: 10px; font-size: 0.95rem; }
.contact-card a { font-weight: 600; border-bottom: 1px solid var(--accent); }
@media (max-width: 720px) {
  .contact-card { border-right: none; border-bottom: 1px solid var(--line); padding: 22px 0; }
  .contact-card + .contact-card { padding-left: 0; }
  .contact-card:last-child { border-bottom: none; }
}

/* ---------- cross-nav: outras frentes ---------- */
.crossnav {
  border-top: 1px solid var(--line);
  padding: 80px 0 100px;
}
.crossnav .xn-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 44px;
}
.crossnav h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  margin-top: 12px;
}
.crossnav h2 b { font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.xn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}
.xn-card { display: block; }
.xn-card .xn-ph {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}
.xn-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  filter: saturate(0.9);
}
.xn-card:hover img { transform: scale(1.05); filter: saturate(1); }
.xn-card .xn-bar {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--xn-color, var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.xn-card:hover .xn-bar { transform: scaleX(1); }
.xn-card .xn-in { padding: 16px 2px 0; }
.xn-card .xn-code {
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--xn-color, var(--accent));
  display: block;
}
.xn-card b {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 4px;
  display: inline-block;
}

/* ---------- banner ---------- */
.banner {
  overflow: hidden;
  position: relative;
  margin: 10px 0 80px;
  color: #fff;
  min-height: 320px;
  display: grid;
  align-items: center;
  isolation: isolate;
}
.banner .banner-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
}
.banner::after {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(16, 17, 20, 0.88) 25%, rgba(16, 17, 20, 0.25) 75%);
}
.banner .banner-in {
  padding: 54px 58px;
  max-width: 600px;
}
.banner h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1.3;
  margin: 14px 0 10px;
}
.banner h2 b { font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.banner p { color: rgba(255, 255, 255, 0.82); font-size: 0.95rem; }
.banner .btn { margin-top: 26px; }
.banner .eyebrow { color: #fff; opacity: 0.9; }

/* ---------- abas ---------- */
.seg-tabs {
  position: sticky;
  top: 84px;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.seg-tabs .wrap { display: flex; gap: 8px; }
.seg-tabs button {
  appearance: none;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 18px 18px 16px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.seg-tabs button:hover { color: var(--ink); }
.seg-tabs button.active { color: var(--ink); border-bottom-color: var(--accent); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---------- página de estoque: cabeçalho ---------- */
.stock-head { padding: 60px 0 10px; }
.stock-head .crumb {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.stock-head .crumb a:hover { color: var(--accent); }
.stock-head h1 {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  letter-spacing: 0.2em;
  margin-top: 18px;
}

/* ---------- ficha técnica ---------- */
.techsheet { border-top: 1px solid var(--line); }
.techsheet .ts-row {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.techsheet .ts-k {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.techsheet .ts-v { font-family: var(--font-body); font-weight: 600; font-size: 0.96rem; }
@media (max-width: 760px) { .techsheet .ts-row { grid-template-columns: 1fr; gap: 4px; } }

/* galeria (detalhe de produto) */
.gallery .g-main {
  overflow: hidden;
  aspect-ratio: 4/3;
  display: grid;
  place-items: center;
  background: radial-gradient(70% 60% at 50% 88%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 70%);
}
.gallery .g-main img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 34px rgba(23,24,26,0.18)); }
.gallery .g-thumbs { display: flex; gap: 12px; margin-top: 14px; }
.gallery .g-thumbs button {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: 0;
  overflow: hidden;
  width: 88px;
  aspect-ratio: 4/3;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s, border-color 0.2s;
}
.gallery .g-thumbs button.active,
.gallery .g-thumbs button:hover { opacity: 1; border-color: var(--accent); }
.gallery .g-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- footer (faixa dark) ---------- */
footer {
  background:
    radial-gradient(60% 80% at 85% 0%, rgba(255, 255, 255, 0.035), transparent 60%),
    #141518;
  color: #a9a6a1;
  padding: 70px 0 36px;
  margin-top: 40px;
  position: relative;
}
/* linha de luz na entrada do footer */
footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.18), transparent);
}
footer .f-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 44px;
}
footer .brand { color: #fff; }
footer .brand small { color: #7c7973; }
footer h4 {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #7c7973;
  margin-bottom: 16px;
}
footer ul { list-style: none; display: grid; gap: 4px; font-size: 0.88rem; }
footer ul a {
  position: relative;
  display: inline-block;
  padding: 5px 0; /* área de toque confortável no mobile */
  transition: color 0.25s, padding-left 0.3s var(--ease-out);
}
footer ul a:hover { color: #fff; padding-left: 12px; }
footer ul a::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 0; height: 1px;
  background: #fff;
  transition: width 0.3s var(--ease-out);
}
footer ul a:hover::before { width: 8px; }
footer .f-note {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.72rem;
  color: #7c7973;
}
footer .f-note .mono { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.08em; }

/* ---------- acordeão de frentes — abertura do site, estilo Grupo Unique ---------- */
.acc-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0 26px;
}
.acc-head h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.2;
}
.acc-head h1 b {
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.acc-head .ah-note {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
}
/* 3 em cima, 3 embaixo (reunião 03/09): quadrados fixos em repouso,
   acordeão sutil no hover — o painel cresce dentro da própria fileira */
.acc {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.acc-row {
  display: flex;
  gap: 10px;
  /* altura proporcional à LARGURA do painel (não à janela): a moldura do
     quadrado mantém sempre a mesma proporção da foto, em qualquer monitor —
     senão janelas baixas encolhem a faixa vertical e cortam os produtos */
  height: calc((min(100vw, 1280px) - 84px) / 3 * 0.68);
}
.acc-panel {
  position: relative;
  /* animar flex-grow (não o shorthand): Safari não interpola o shorthand */
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 0%;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  outline: none;
  cursor: pointer;
  border-radius: 2px;
  transition: flex-grow 0.55s cubic-bezier(0.33, 1, 0.4, 1);
  will-change: flex-grow;
}
.acc-panel:hover, .acc-panel:focus-visible { flex-grow: 1.65; }
.acc-panel:focus-visible { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--fc); }
.acc-panel img {
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  height: 100%;
  /* largura fixa = a do painel EXPANDIDO (1.65/3.65 da fileira). As fotos de
     `img/panel/` são versões estendidas: o original nítido no centro (que é
     exatamente o que o quadrado em repouso mostra) + continuação desfocada do
     próprio fundo nas laterais. O hover abre a janela sobre a cena — o fundo
     continua até a borda, o produto recua, nada re-escala nem corta. */
  width: calc((min(100vw, 1280px) - 84px) * 0.452);
  max-width: none;
  object-fit: cover;
  z-index: -2;
  filter: saturate(0.78) brightness(0.97);
  transform: translateX(-50%);
  transition: filter 0.6s ease;
}
.acc-panel:hover img, .acc-panel:focus-visible img { filter: saturate(1); }
/* dois overlays: base sempre presente + reforço que aparece devagar no hover */
.acc-panel::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(12, 13, 16, 0.88) 10%, rgba(12, 13, 16, 0.1) 56%);
}
.acc-panel::after {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(16, 17, 20, 0.55) 20%, transparent 60%);
  opacity: 0;
  transition: opacity 0.6s ease;
}
.acc-panel:hover::after, .acc-panel:focus-visible::after { opacity: 1; }
.acc-panel .ap-in {
  padding: 30px 26px;
  width: 100%;
  min-width: 0;
  color: #fff;
}
.acc-panel .ap-n {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.6);
  display: block;
  margin-bottom: 10px;
  transition: color 0.8s;
}
.acc-panel:hover .ap-n { color: var(--fc); }
.acc-panel h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.02rem, 1.6vw, 1.36rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.25;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 4px 22px rgba(0, 0, 0, 0.7);
  white-space: nowrap;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, #000 82%, transparent 98%);
  mask-image: linear-gradient(to right, #000 82%, transparent 98%);
}
/* texto extra: entra devagar (com delay), MAS sai rápido e sem delay —
   senão o painel encolhendo corta o texto no meio e parece brusco */
.acc-panel .ap-desc {
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 10px;
  max-width: 32ch;
  min-width: 240px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.acc-panel .ap-go {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #fff;
  min-width: 200px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.acc-panel .ap-go::after {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--fc);
  transition: width 0.25s ease;
}
.acc-panel:hover .ap-desc, .acc-panel:focus-visible .ap-desc {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.2s, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}
.acc-panel:hover .ap-go, .acc-panel:focus-visible .ap-go {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.3s, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}
.acc-panel:hover .ap-go::after {
  width: 80px;
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.35s;
}
/* linha de acento na base, cor da frente */
.acc-panel .ap-bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--fc);
  z-index: 2;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.acc-panel:hover .ap-bar, .acc-panel:focus-visible .ap-bar { transform: scaleX(1); }
/* convite a rolar */
.acc-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 22px 0 8px;
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.acc-hint::after {
  content: "↓";
  color: var(--accent);
  animation: hintDrop 2.4s ease-in-out infinite;
}
@keyframes hintDrop { 50% { opacity: 0.25; transform: translateY(4px); } }
@media (max-width: 860px) {
  .acc { gap: 8px; }
  .acc-row { flex-direction: column; height: auto; gap: 8px; }
  .acc-panel { min-height: 150px; flex-grow: 0; flex-basis: auto; transition: none; }
  .acc-panel:hover, .acc-panel:focus-visible { flex-grow: 0; }
  /* empilhado não expande: imagem volta a cobrir o painel normalmente */
  .acc-panel img { width: 100%; left: 0; transform: none; }
  /* no empilhado o texto ocupa o painel inteiro: overlay mais forte */
  .acc-panel::before { background: linear-gradient(to top, rgba(16, 17, 20, 0.88) 30%, rgba(16, 17, 20, 0.25) 80%); }
  .acc-panel .ap-desc, .acc-panel .ap-go { opacity: 1; transform: none; }
  .acc-panel h3 { white-space: normal; -webkit-mask-image: none; mask-image: none; }
  .acc-head { flex-direction: column; gap: 8px; padding-top: 24px; }
}

/* ---------- hero de vídeo das homes de frente — funde com o fundo claro ---------- */
.video-hero {
  position: relative;
  min-height: 68svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}
.video-hero video,
.video-hero > img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.video-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, var(--bg) 0%, transparent 34%),
    linear-gradient(to top, rgba(16, 17, 20, 0.5) 12%, rgba(16, 17, 20, 0.12) 55%),
    linear-gradient(105deg, rgba(16, 17, 20, 0.35), transparent 55%);
}
.video-hero .wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 120px;
  padding-bottom: clamp(90px, 16vh, 160px);
}
.video-hero .vh-kicker {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.44em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.video-hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.08;
  margin: 14px 0 10px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.video-hero .vh-tag {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 46ch;
}
.video-hero .vh-line {
  display: block;
  width: 64px;
  height: 2px;
  background: var(--accent);
  margin-top: 26px;
}
@media (max-width: 720px) {
  .video-hero { min-height: 54svh; }
  .video-hero .wrap { padding-top: 90px; }
}

/* ---------- arco decorativo que se desenha (assinatura Avantgarde) ---------- */
.arc-deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden; /* o arco pode ser maior que a seção — nunca gerar scroll lateral */
}
.arc-deco svg {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(120vw, 1500px);
  height: min(120vw, 1500px);
  transform: translate(-50%, -50%);
  overflow: visible;
}
.arc-deco circle {
  fill: none;
  stroke: color-mix(in srgb, var(--accent) 26%, transparent);
  stroke-width: 1;
  stroke-linecap: round;
  /* fechado: o traço ainda não existe — o JS abre conforme o scroll */
  stroke-dasharray: var(--circ) var(--circ);
  stroke-dashoffset: var(--circ);
  transform-origin: center;
  /* acompanhamento do scroll bem amortecido — o traço "flutua" atrás */
  transition: stroke-dashoffset 2.4s cubic-bezier(0.22, 1, 0.36, 1);
}
/* segundo arco, mais interno e mais tênue, abre em contra-fase */
.arc-deco circle:nth-child(2) {
  stroke: color-mix(in srgb, var(--accent) 13%, transparent);
}
/* a linha se movimenta o tempo todo: rotação quase imperceptível */
@keyframes arcSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.arc-deco svg { animation: arcSpin 180s linear infinite; }

/* hub: mais minimalista — um arco só, ainda mais tênue */
.fronts .arc-deco circle { stroke: color-mix(in srgb, var(--accent) 14%, transparent); }
.fronts .arc-deco circle:nth-child(2) { display: none; }

/* ---------- efeitos de luxo (sutis) ---------- */
/* flutuação lenta + tilt de mouse no produto recortado */
@keyframes floatCar {
  0%, 100% { transform: perspective(1200px) rotateX(var(--tiltX, 0deg)) rotateY(var(--tiltY, 0deg)) translateY(0); }
  50% { transform: perspective(1200px) rotateX(var(--tiltX, 0deg)) rotateY(var(--tiltY, 0deg)) translateY(-10px); }
}
.stage-hero .sh-car img {
  animation: floatCar 7s ease-in-out infinite;
  transition: filter 0.5s ease;
}

/* linha fina de progresso de leitura no topo */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 90;
  pointer-events: none;
}

/* sublinhado que se desenha nos títulos de seção ao entrar */
.sec-title { position: relative; padding-bottom: 18px; }
.sec-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 64px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s cubic-bezier(0.22, 0.61, 0.36, 1) 0.3s;
}
.rv.in .sec-title::after, .sec-title.rv.in::after { transform: scaleX(1); }

/* números com contagem sobem levemente */
[data-count] { display: inline-block; }

/* parallax sutil em imagens marcadas */
[data-parallax] { will-change: transform; }

/* ---------- reveal on scroll ---------- */
.rv {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--rv-delay, 0s);
}
.rv.in { opacity: 1; transform: none; }

.rv-img {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--rv-delay, 0s);
}
.rv-img.in { clip-path: inset(0 0 0 0); }

/* legado (páginas antigas) — mantidos neutros */
.grain::before { content: none; }
.graded { filter: none; }
.spine { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .rv-img { clip-path: none; transition: none; }
  [data-parallax] { transform: none !important; }
  .stage-hero .sh-car img { animation: none; }
  .scroll-progress { display: none; }
  .arc-deco circle { transition: none; }
  .arc-deco svg { animation: none; }
  .stage-hero .sh-mark img { animation: none; }
}

/* ---------- responsivo ---------- */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 34px; }
  footer .f-grid { grid-template-columns: 1fr 1fr; }
  .topnav a:not(.btn) { display: none; }
  .grid { gap: 44px 30px; }
}
@media (max-width: 620px) {
  .filters { gap: 8px; }
  .filters select { margin-left: 0; }
  .filters .flabel { display: none; }
  .chip { margin: 0 2px; letter-spacing: 0.14em; }
  .banner .banner-in { padding: 36px 28px; }
  footer .f-grid { grid-template-columns: 1fr; }
  .topbar-in { height: 66px; gap: 14px; }
  .btn { padding: 14px 22px; font-size: 0.64rem; white-space: nowrap; }
  .brand small { display: none; }
  .wrap { padding: 0 22px; }
}

/* ---------- menu mobile (injetado pelo main.js a partir dos links da página) ---------- */
.nav-toggle {
  display: none;
  appearance: none;
  border: none;
  background: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  margin-left: 4px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: none;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease-out), opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none;
  position: fixed;
  left: 0; right: 0;
  z-index: 49;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-m);
  padding: 8px 22px 16px;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 14px 2px;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a.btn {
  color: var(--accent-contrast);
  text-align: center;
  margin-top: 12px;
  border-bottom: none;
}
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
}
@media (min-width: 901px) {
  html:not(.nav-compact) .mobile-menu { display: none !important; }
}
/* topo sem espaço (ligado pelo main.js medindo a barra): links no hambúrguer */
html.nav-compact .topnav a:not(.btn) { display: none; }
html.nav-compact .nav-toggle { display: flex; }
.topbar-in > .brand { flex-shrink: 0; } /* o logo não encolhe por baixo dos botões; quem cede é a navegação */
html.nav-compact2 .topnav .btn.ghost { display: none; }
html.nav-compact3 .topbar-in .back-hub { display: none !important; }
html.nav-compact4 .topnav .btn { display: none; }
html.nav-compact4 .topbar-in .brand small { display: none; }
html.nav-compact5 .topbar-in .brand { letter-spacing: 0.12em; font-size: 0.8rem; white-space: nowrap; }

/* ---------- segmentos "em breve" (marcados pelo main.js) ---------- */
a[data-soon] { cursor: not-allowed; }
/* cards e painéis com foto: selo no canto + leve dessaturação no hover */
.acc-panel[data-soon]::before, .xn-card[data-soon] .xn-ph::after { transition: opacity .3s; }
.acc-panel[data-soon] .ap-go, .xn-card[data-soon] .xn-bar { display: none; }
.acc-panel[data-soon] .ap-in::before,
.xn-card[data-soon] .xn-ph::before,
.card[data-soon] .ph::before,
.mcard[data-soon] .mc-ph::before {
  content: "Em breve";
  position: absolute; z-index: 3;
  top: 14px; right: 14px;
  font-family: var(--font-display); font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: #fff; background: rgba(12, 13, 16, 0.72);
  backdrop-filter: blur(6px);
  padding: 7px 12px; border-radius: 100px;
  opacity: 0; transform: translateY(-4px);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
}
.acc-panel[data-soon]:hover .ap-in::before, .acc-panel[data-soon]:focus-visible .ap-in::before,
.xn-card[data-soon]:hover .xn-ph::before,
.card[data-soon]:hover .ph::before,
.mcard[data-soon]:hover .mc-ph::before { opacity: 1; transform: none; }
.acc-panel[data-soon]:hover::after { opacity: 1; background: linear-gradient(to top, rgba(16,17,20,.7) 20%, rgba(16,17,20,.35)); }
.acc-panel[data-soon]:hover img, .xn-card[data-soon]:hover img { filter: grayscale(.6) brightness(.8) !important; }
/* texto do painel avisa no hover */
.acc-panel[data-soon] .ap-desc::after { content: " Disponível em breve."; color: rgba(255,255,255,.7); font-style: italic; }
/* links de texto (rodapé, menu) */
footer a[data-soon], .topnav a[data-soon], .fs-links a[data-soon] { opacity: .55; }
footer a[data-soon]::after, .fs-links a[data-soon]::after { content: " · em breve"; font-size: .78em; opacity: .8; }
.soon-toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 400;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  display: grid; gap: 2px; max-width: min(92vw, 440px);
  background: #15171b; color: #f0efec;
  border: 1px solid rgba(255,255,255,.12); border-radius: 12px;
  padding: 16px 20px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6);
  font-size: .92rem; transition: opacity .3s, transform .3s;
}
.soon-toast b { font-family: var(--font-display); font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: #ffb547; }
.soon-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- fade-in curto dos produtos (ligado pelo main.js) ---------- */
.pfade-on .card .ph img, .pfade-on .mcard .mc-ph img, .pfade-on .bt .bt-img, .pfade-on .ex-stage img,
.pfade-on .m-media img, .pfade-on .vibe .v-img img, .pfade-on .pd-stage, .pfade-on .sh-car img, .pfade-on .gallery .g-main img {
  opacity: 0;
  translate: 0 10px;
  transition: opacity 0.5s ease-out var(--pf-delay, 0ms), translate 0.6s cubic-bezier(0.22, 1, 0.36, 1) var(--pf-delay, 0ms), transform 0.9s var(--ease-out), filter 0.4s;
}
html.pfade-on img.pfade-in { opacity: 1 !important; translate: 0 0 !important; }
.mobile-menu a svg { margin-right: 8px; vertical-align: -2px; }
