/* ===========================================================================
   DANILO MOTOS — STYLE.CSS
   ---------------------------------------------------------------------------
   Tema: MOTORSPORT GARAGE / RACING HERITAGE
   - Tipografia: Anton (display condensed) + Manrope (body)
   - Paleta: charcoal profundo + racing red + amber accent + cream
   - Inspiração: posters MotoGP, garage culture, oficina autêntica
   =========================================================================== */

/* =====================================================
   1) RESET
   ===================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
* { -webkit-tap-highlight-color: transparent; }

/* =====================================================
   2) TOKENS
   ===================================================== */
:root {
  /* Paleta — racing heritage */
  --ink:        #0a0a0c;          /* fundo absoluto */
  --bg:         #0f0f12;          /* fundo geral */
  --bg-2:       #15151a;          /* surfaces */
  --panel:      #1a1a20;          /* cards */
  --panel-2:    #20202a;          /* hover */
  --line:       rgba(245, 243, 235, 0.08);
  --line-2:     rgba(245, 243, 235, 0.14);

  /* Texto — cream pra dar ar vintage */
  --cream:      #f5f3eb;
  --text:       #f5f3eb;
  --muted:      #999795;
  --muted-2:    #6b6967;

  /* Cores de ação */
  --red:        #ff2d2d;
  --red-dark:   #cc1414;
  --red-glow:   rgba(255, 45, 45, 0.4);
  --amber:      #ffb300;          /* accent honda/racing */
  --green:      #28d47b;          /* WhatsApp */
  --green-dark: #1da866;

  /* Fontes */
  --font-display: "Anton", "Bebas Neue", "Oswald", sans-serif;
  --font-body:    "Manrope", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "Cascadia Mono", monospace;

  /* Geometria */
  --radius-sm:  6px;
  --radius:     10px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  /* Sombras */
  --shadow-sm:  0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow:    0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg:  0 18px 48px rgba(0, 0, 0, 0.65);
  --shadow-red: 0 8px 32px rgba(255, 45, 45, 0.25);

  /* Header */
  --header-h:   64px;
}

/* =====================================================
   3) BASE
   ===================================================== */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-feature-settings: "ss01", "cv11";
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;

  padding-top: var(--header-h);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);

  /* Noise texture sutil pra dar grit */
  position: relative;
}
/* Noise overlay removido (performance) */

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 18px;
  position: relative;
  z-index: 2;
}
@media (min-width: 768px) {
  .wrap { padding: 16px 32px; }
}

.muted { color: var(--muted); }

/* Typography helpers */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: 0.95;
}

/* =====================================================
   4) HEADER
   ===================================================== */
header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 1000;

  background: rgba(10, 10, 12, 0.75);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);

  border-bottom: 1px solid var(--line);
}

.headerRow {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 18px;
}
@media (min-width: 768px) {
  .headerRow { padding: 0 32px; }
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.logo {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brandText { min-width: 0; }
.brandText strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0;
  color: var(--cream);
  text-transform: uppercase;
}
.brandText span {
  font-size: 10px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brandTop { display: flex; align-items: center; gap: 8px; }

@media (max-width: 380px) {
  .brandText span { display: none; }
  .brandText strong { font-size: 17px; }
}

/* =====================================================
   5) BOTÕES
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  background: rgba(245, 243, 235, 0.06);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background .15s ease, transform .12s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { background: rgba(245, 243, 235, 0.10); border-color: var(--line-2); }
.btn:active { transform: scale(0.97); }

/* WhatsApp do header */
#waHeader {
  background: var(--green);
  border-color: transparent;
  color: #062b14;
  padding: 8px 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 16px rgba(40, 212, 123, 0.3);
}
#waHeader:hover { background: var(--green-dark); color: #fff; }

/* Botão principal vermelho racing */
.btn.primary {
  background: linear-gradient(160deg, var(--red) 0%, var(--red-dark) 100%);
  border-color: transparent;
  color: var(--cream);
  padding: 12px 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-red);
  position: relative;
  overflow: hidden;
}
.btn.primary::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s ease;
}
.btn.primary:hover::before { left: 100%; }
.btn.primary:hover { filter: brightness(1.1); }

/* =====================================================
   6) CHIPS / SEGMENTED CONTROL
   ===================================================== */
.chip {
  border: 1px solid transparent;
  background: transparent;
  padding: 9px 14px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--muted);
  transition: background .15s ease, color .15s ease;
  white-space: nowrap;
}
.chip:hover { color: var(--cream); }
.chip:active { transform: scale(0.97); }

.chip.isActive {
  background: var(--bg-2);
  border-color: var(--line);
  color: var(--cream);
  box-shadow: var(--shadow-sm);
}
#tabAtivas.chip.isActive     { color: var(--green); }
#tabReservadas.chip.isActive { color: var(--amber); }
#tabVendidas.chip.isActive   { color: var(--muted); }

/* =====================================================
   7) HERO MINIMALISTA — só nome + foto cinematic
   ===================================================== */
.hero {
  position: relative;
  width: 100%;
  height: 88vh;
  min-height: 500px;
  max-height: 780px;
  overflow: hidden;
  isolation: isolate;
}

/* Wrapper que faz parallax (JS controla translateY) */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  overflow: hidden;
}

/* Background image que faz Ken Burns infinito (CSS only) */
.hero__media__bg {
  position: absolute;
  inset: -6% -3%;
  background-image: url("../img/hero-mobile.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  will-change: transform;
  animation: kenBurns 18s ease-in-out infinite;
}
@media (min-width: 768px) {
  .hero__media__bg {
    background-image: url("../img/hero.jpg");
    background-position: center center;
  }
}

@keyframes kenBurns {
  0%   { transform: scale(1.00) translate3d(0, 0, 0); }
  50%  { transform: scale(1.08) translate3d(-1%, -1.5%, 0); }
  100% { transform: scale(1.00) translate3d(0, 0, 0); }
}

/* Vinheta — escurece bordas e bottom pro texto ficar legível */
.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at center 40%, transparent 25%, rgba(10,10,12,0.55) 75%, rgba(10,10,12,0.85) 100%),
    linear-gradient(180deg,
      rgba(10,10,12,0.20) 0%,
      rgba(10,10,12,0.05) 35%,
      rgba(10,10,12,0.20) 65%,
      rgba(10,10,12,0.90) 100%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 18px 71px;
  text-align: center;
}
@media (min-width: 768px) {
  .hero__inner { padding-bottom: 95px; padding-left: 32px; padding-right: 32px; }
}

.hero__brand { max-width: 1100px; width: 100%; }

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  /* Mobile: tamanho balanceado (-30% do que estava muito grande) */
  font-size: clamp(84px, 27vw, 140px);
  line-height: 0.86;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--cream);
  text-shadow:
    0 6px 48px rgba(0, 0, 0, 0.8),
    0 2px 12px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.01em;
  width: 100%;
}

/* Desktop: as 2 palavras viram 1 linha unica (cabe folgado) */
@media (min-width: 768px) {
  .hero__title {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.18em;
    font-size: clamp(72px, 11vw, 160px);
  }
}

.hero__title .word {
  display: inline-flex;
  overflow: hidden;
}

/* Cada letra entra de baixo, com blur e fade, stagger */
.hero__title .letter {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 0.6em, 0);
  filter: blur(8px);
  animation: letterIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.06s * var(--i) + 0.2s);
}
@keyframes letterIn {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

.hero__tagline {
  font-family: var(--font-mono);
  font-size: clamp(9px, 2.4vw, 12px);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 18px;
  opacity: 0;
  transform: translateY(8px);
  animation: taglineIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 1.1s forwards;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@keyframes taglineIn {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Indicador de scroll (Catálogo ↓) — discreto à esquerda */
.hero__scroll {
  position: absolute;
  bottom: 22px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  animation: heroIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards;
}
@media (min-width: 768px) {
  .hero__scroll { bottom: 32px; left: 32px; }
}
.hero__scroll svg {
  animation: bounceDown 1.8s ease-in-out infinite;
}
@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(4px); }
}

.hero__inner {
  position: relative;
  padding: 40px 18px 32px;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
@media (min-width: 768px) {
  .hero__inner {
    padding: 80px 32px 64px;
    min-height: 560px;
    max-width: 1280px;
    margin: 0 auto;
  }
}

/* =====================================================
   8) TOOLBAR
   ===================================================== */
.toolbar {
  margin-top: 28px;
  padding: 5px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  gap: 4px;
}
.toolbar > * { flex: 1; }
.toolbar .chip { width: 100%; text-align: center; }

.toolbarLeft { display: none; }
.toolbarRight { display: flex; gap: 4px; flex: 1; }

/* =====================================================
   9) GRID + CARDS (catálogo)
   ===================================================== */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 32px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0;
}
.section-header__meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.stat-pill b {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 400;
  color: var(--cream);
  letter-spacing: 0;
  line-height: 1;
}
.stat-pill--green   { border-color: rgba(40, 212, 123, 0.3); }
.stat-pill--green b { color: var(--green); }

.marketGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 700px) { .marketGrid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1024px) { .marketGrid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* Card moto — racing card */
.card-moto {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  display: block;
  color: inherit;

  /* Performance: pinta só quando visível */
  content-visibility: auto;
  contain-intrinsic-size: 1px 380px;

  /* Estado inicial: invisível, leve translate */
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition:
    opacity .5s cubic-bezier(0.16, 1, 0.3, 1),
    transform .6s cubic-bezier(0.16, 1, 0.3, 1),
    border-color .2s ease,
    box-shadow .2s ease;
}

/* Quando entra no viewport — revealed via IntersectionObserver */
.card-moto.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
/* Stagger natural via nth-child (delay APÓS reveal) */
.card-moto.is-revealed:nth-child(2) { transition-delay: 0.08s; }
.card-moto.is-revealed:nth-child(3) { transition-delay: 0.16s; }
.card-moto.is-revealed:nth-child(4) { transition-delay: 0.04s; }
.card-moto.is-revealed:nth-child(5) { transition-delay: 0.10s; }
.card-moto.is-revealed:nth-child(6) { transition-delay: 0.16s; }

.card-moto.is-revealed:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--red);
  transform: translate3d(0, -4px, 0);
}
.card-moto.is-revealed:active { transform: translate3d(0, -1px, 0) scale(0.99); }

/* Accent line vermelha que aparece no hover */
.card-moto::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  z-index: 3;
}
.card-moto:hover::before { transform: scaleX(1); }

.card-moto__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 55%;
  background: var(--ink);
  display: block;
}

.card-moto__body {
  padding: 16px 18px 18px;
  position: relative;
}

/* Linha racing horizontal antes do título */
.card-moto__body::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: var(--red);
  margin-bottom: 12px;
}

.card-moto__titulo {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0;
  line-height: 1;
  color: var(--cream);
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-moto__meta {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-moto__preco {
  display: block;
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -0.01em;
  color: var(--cream);
  line-height: 1;
}
.card-moto__preco.isDisponivel { color: var(--green); }
.card-moto__preco.isReservado  { color: var(--amber); font-size: 18px; }
.card-moto__preco.isVendido    { color: var(--muted); font-size: 18px; }

/* Status badge overlay */
.card-moto.isDisabled .card-moto__img {
  filter: grayscale(70%) brightness(0.55);
}
.card-moto.isDisabled::after {
  content: attr(data-status);
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 12px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  z-index: 2;
}
.card-moto[data-status="vendida"]::after {
  background: rgba(10, 10, 12, 0.75);
  color: var(--cream);
  border: 1px solid var(--line-2);
}
.card-moto[data-status="reservada"]::after {
  background: rgba(255, 179, 0, 0.92);
  color: #1f1400;
}
.card-moto.isDisabled { cursor: default; }
.card-moto.isDisabled:hover {
  transform: none;
  border-color: var(--line);
  box-shadow: none;
}
.card-moto.isDisabled:hover .card-moto__img { transform: none; }
.card-moto.isDisabled:hover::before { transform: scaleX(0); }

/* =====================================================
   10) SKELETON
   ===================================================== */
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(40, 212, 123, 0.2); }
  50%      { box-shadow: 0 0 0 7px rgba(40, 212, 123, 0.05); }
}

.skeleton {
  background: linear-gradient(90deg,
    rgba(245,243,235,0.04) 0%,
    rgba(245,243,235,0.10) 50%,
    rgba(245,243,235,0.04) 100%);
  background-size: 800px 100%;
  animation: shimmer 1.4s linear infinite;
  border-radius: 6px;
}

.card-skeleton {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.card-skeleton__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(90deg,
    rgba(245,243,235,0.04) 0%,
    rgba(245,243,235,0.10) 50%,
    rgba(245,243,235,0.04) 100%);
  background-size: 800px 100%;
  animation: shimmer 1.4s linear infinite;
}
.card-skeleton__body {
  padding: 16px 18px 18px;
  display: grid;
  gap: 10px;
}
.card-skeleton__line { height: 14px; }
.card-skeleton__line.short { width: 55%; height: 11px; }
.card-skeleton__line.tag   { width: 45%; height: 20px; margin-top: 4px; }

/* Fade-in das imagens */
.card-moto__img {
  background-color: var(--ink);
  transition: opacity .4s ease-out, transform .5s ease;
}
.card-moto__img.is-loading { opacity: 0; }
.card-moto__img.is-loaded  { opacity: 1; }

.emptyState {
  grid-column: 1 / -1;
  text-align: center;
  padding: 56px 24px;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius-lg);
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.emptyState__icon {
  width: 48px;
  height: 48px;
  color: var(--red);
  opacity: 0.7;
}
.emptyState p {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* =====================================================
   11) FOOTER
   ===================================================== */
.footer {
  margin-top: 64px;
  padding: 32px 0 24px;
  border-top: 1px solid var(--line);
}
.footerContent {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
@media (min-width: 768px) {
  .footerContent { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
}

.footerItem {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footerIcon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--muted);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footerIcon--whatsapp {
  fill: var(--green);
  stroke: none;
}
.link {
  color: var(--cream);
  font-weight: 700;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 1px;
  transition: border-color .15s ease;
}
.link:hover { border-color: var(--red); color: var(--red); }
.copyright { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.6; }

/* =====================================================
   12) DETALHE (moto.html mantém base mas usa tokens novos)
   ===================================================== */
.detailMain { padding-top: 12px; }
.backLink { margin-bottom: 12px; }
.backLink a { font-weight: 800; color: var(--muted); }

.detailTop {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.detailTitle {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
  line-height: 1;
}
.detailSub {
  margin-top: 6px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.detailGrid { margin-top: 16px; display: grid; gap: 16px; }

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--ink);
}
.carouselTrack { display: flex; transition: transform 0.35s ease; }
.carouselTrack img {
  min-width: 100%;
  max-height: 65vh;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--ink);
}
.carouselTrack img {
  background-color: var(--ink);
  transition: opacity .4s ease-out;
}
.carouselTrack img.is-loading { opacity: 0; }
.carouselTrack img.is-loaded { opacity: 1; }

.carouselBtn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(10, 10, 12, 0.65);
  backdrop-filter: blur(8px);
  color: var(--cream);
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
  z-index: 2;
  transition: background .15s ease;
}
.carouselBtn:hover { background: var(--red); border-color: var(--red); }
.carouselBtn.prev { left: 10px; }
.carouselBtn.next { right: 10px; }

.ficha { display: grid; gap: 8px; }
.linha {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.linha span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.linha strong {
  font-weight: 800;
  font-size: 14px;
  color: var(--cream);
}

.videoWrap { aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; }
.videoWrap iframe { width: 100%; height: 100%; border: 0; }

/* Cursor de zoom no carrossel da moto pra indicar que clica pra ampliar */
.carouselTrack img { cursor: zoom-in; }

/* =====================================================
   12.5) LIGHTBOX (zoom fullscreen das fotos da moto)
   ===================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  cursor: zoom-out;
  animation: lightboxIn 0.2s ease-out;
}
@keyframes lightboxIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.lightbox__stage {
  max-width: 96vw;
  max-height: 92vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: none;
}
.lightbox__img {
  max-width: 96vw;
  max-height: 92vh;
  object-fit: contain;
  display: block;
  cursor: zoom-in;
  user-select: none;
  -webkit-user-drag: none;
  transform-origin: center center;
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
/* Quando zoomed, transicao desliga pra arraste/pan ficarem instantaneos */
.lightbox__stage.is-zoomed .lightbox__img { transition: none; }

/* Dica visual "zoom disponivel" — some apos 3s ou primeira interacao */
.lightbox__hint {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.lightbox__hint.is-hidden { opacity: 0; }
.lightbox__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  cursor: pointer;
  transition: background .15s ease;
}
.lightbox__btn:hover { background: rgba(255,255,255,0.18); }
.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }
.lightbox__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  transition: background .15s ease;
}
.lightbox__close:hover { background: rgba(255,255,255,0.18); }
.lightbox__counter {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}

/* =====================================================
   13) WHATSAPP FAB (Floating Action Button)
   ===================================================== */
.floatWA { display: none !important; }

.waFab {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow:
    0 4px 16px rgba(40, 212, 123, 0.35),
    0 12px 32px rgba(0, 0, 0, 0.35);
  transition: transform .2s ease, box-shadow .2s ease;
  /* Safe area iOS */
  bottom: calc(18px + env(safe-area-inset-bottom));
}
.waFab:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 24px rgba(40, 212, 123, 0.45),
    0 16px 40px rgba(0, 0, 0, 0.4);
}
.waFab:active { transform: scale(0.97); }
.waFab svg { flex-shrink: 0; }
.waFab__label { display: inline; }

/* Em telas estreitas, mantém só o ícone */
@media (max-width: 380px) {
  .waFab { padding: 14px; }
  .waFab__label { display: none; }
}

/* =====================================================
   14) HEADER SCROLLED STATE
   ===================================================== */
header { transition: background .2s ease, box-shadow .2s ease; }
header.is-scrolled {
  background: rgba(10, 10, 12, 0.92);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* =====================================================
   14) DOT LIVE
   ===================================================== */
.dotLive {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(40, 212, 123, 0.2);
  animation: pulse 2s ease-in-out infinite;
}
.mutedText {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* =====================================================
   15) SKELETONS DETAIL
   ===================================================== */
.skeleton-hero {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(90deg,
    rgba(245,243,235,0.04) 0%,
    rgba(245,243,235,0.10) 50%,
    rgba(245,243,235,0.04) 100%);
  background-size: 800px 100%;
  animation: shimmer 1.4s linear infinite;
}
.skeleton-text {
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(90deg,
    rgba(245,243,235,0.04) 0%,
    rgba(245,243,235,0.10) 50%,
    rgba(245,243,235,0.04) 100%);
  background-size: 800px 100%;
  animation: shimmer 1.4s linear infinite;
  display: inline-block;
  vertical-align: middle;
}
.skeleton-text.lg { height: 36px; width: 70%; }
.skeleton-text.md { height: 16px; width: 50%; }
.skeleton-text.sm { height: 14px; width: 35%; }

/* =====================================================
   16) MOTION REDUCE
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
