/* ============================================================
   NMS AUDIO — x.css — MODELO NOVO (redesign 2026-09-14)
   Vibe: Ethereal Glass + hardware tátil · Layout: Z-cascade hero +
   bento assimétrico + acordeão horizontal (skills: high-end-visual-
   design, gpt-taste). Splash aboutluca preservada (medida na ref).
   Movimento: só transform/opacity, cubic-beziers próprios, blur só
   em elementos fixos (nav/overlay). Botões com chip circular interno.
   ============================================================ */

/* ============ BOTÕES (pill + chip circular "button-in-button") ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 46px;
  padding: 0 10px 0 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-ui);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              transform .45s var(--ease-spring),
              box-shadow .45s var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn--primary {
  background: var(--amber);
  color: #14100A;
  box-shadow: var(--shadow-btn);
}
.btn--primary:hover { background: var(--amber-hot); transform: translateY(-1px); }
.btn--ghost {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .14);
  color: var(--ink);
  padding-right: 8px;
}
.btn--ghost:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .26); }
.btn--sm { height: 38px; padding: 0 8px 0 18px; font-size: 12px; }
/* chip circular interno (o ícone nunca anda solto) */
.btn-ico {
  width: 28px; height: 28px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(20, 16, 10, .14);
  font-size: 12px;
  transition: transform .45s var(--ease-spring), background var(--dur-fast);
}
.btn--ghost .btn-ico { background: rgba(255, 255, 255, .10); }
.btn:hover .btn-ico { transform: translate(2px, -2px) scale(1.08); }
.btn--primary:hover .btn-ico { background: rgba(20, 16, 10, .22); }

/* hamburger (só <880px): 2 linhas que morfam em X */
.burger {
  display: none;
  width: 38px; height: 38px;
  position: relative;
  border-radius: 50%;
  border: 1px solid var(--line-2);
}
.burger i {
  position: absolute; left: 10px; right: 10px;
  height: 1.6px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform .45s var(--ease-spring), top .45s var(--ease-spring);
}
.burger i:first-child { top: 15px; }
.burger i:last-child { top: 21px; }
.burger[aria-expanded="true"] i:first-child { top: 18px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { top: 18px; transform: rotate(-45deg); }
@media (max-width: 880px) {
  .burger { display: block; }
}

/* menu mobile fullscreen glass com stagger */
#m-menu {
  position: fixed; inset: 0;
  z-index: 90;
  background: rgba(6, 7, 8, .82);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s var(--ease-out), visibility 0s .45s;
}
#m-menu.open {
  opacity: 1;
  visibility: visible;
  transition: opacity .45s var(--ease-out);
}
#m-menu nav { display: flex; flex-direction: column; align-items: center; gap: 26px; }
#m-menu a {
  font-family: var(--font-display);
  font-size: clamp(38px, 10vw, 56px);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), color var(--dur-fast);
}
#m-menu.open a { opacity: 1; transform: none; }
#m-menu.open a:nth-child(1) { transition-delay: .08s; }
#m-menu.open a:nth-child(2) { transition-delay: .14s; }
#m-menu.open a:nth-child(3) { transition-delay: .2s; }
#m-menu.open a:nth-child(4) { transition-delay: .26s; }
#m-menu.open a:nth-child(5) { transition-delay: .32s; }
#m-menu a:hover { color: var(--amber); }

/* ============ CENA (fumaça) ============ */
#smoke {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}
main, #nav, footer { position: relative; z-index: 1; }

/* dobra transparente sobre a cena; conteúdo abaixo ganha superfície */
main {
  background: linear-gradient(
    180deg,
    rgba(8, 9, 10, 0) 0%,
    rgba(8, 9, 10, 0) 88svh,
    rgba(8, 9, 10, .86) 100svh,
    #08090A 116svh
  );
}
footer { background: var(--bg); }

body:not(.entered) { overflow: hidden; }
.hero-copy {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease-out) .2s, transform .9s var(--ease-out) .2s;
}
body.entered .hero-copy { opacity: 1; transform: none; }

/* ============ SPLASH (aboutluca — fiel, medida na referência) ============ */
#splash {
  position: fixed; inset: 0;
  z-index: 110;
  background: #151515;
  transition: opacity 1.4s cubic-bezier(.4, 0, .2, 1);  /* medido: fade ~1.6s na ref */
}
#splash.fade { opacity: 0; pointer-events: none; }
.sp-corner {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0;
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), color var(--dur-fast);
}
.sp-tl { top: 24px; left: 28px;  transform: translate(-14px, -14px); transition-delay: .15s; }
.sp-tr { top: 24px; right: 28px; transform: translate(14px, -14px);  transition-delay: .3s; cursor: pointer; }
.sp-bl { bottom: 24px; left: 28px;  transform: translate(-14px, 14px); transition-delay: .45s; }
.sp-br { bottom: 24px; right: 28px; transform: translate(14px, 14px); transition-delay: .6s; color: var(--mute); }
#splash.in .sp-corner { opacity: 1; transform: none; }
#splash.fade .sp-corner { opacity: 0; transition-delay: 0s; }
.sp-bl a { color: inherit; }
.sp-tr:hover, .sp-bl a:hover { color: var(--amber); }
.sp-center { position: absolute; inset: 0; }
/* linha fantasma 1px (medido: gradiente branco, opacity .25, 648px fim) */
.sp-line {
  position: absolute; left: 50%; top: 50%;
  height: 1px;
  width: 0%;
  transform: translate(-50%, -50%);
  background: linear-gradient(90deg, rgba(255,255,255,0), #fff 40%, #fff 60%, rgba(255,255,255,0));
  opacity: 0;
  transition: width 1.1s var(--ease-io), opacity .8s ease .5s;
}
#splash.loading .sp-line { width: 44%; opacity: .25; transition: width 4.2s cubic-bezier(.3,.7,.3,1), opacity .8s ease .5s; }
#splash.ready .sp-line { width: 45%; opacity: .25; transition: width .9s var(--ease-io), opacity .4s ease; }
/* wrap com gradiente do próprio fundo: corta a linha atrás das letras */
.sp-wrap {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  padding: 0 2rem;
  background: linear-gradient(90deg, rgba(21,21,21,0), #151515 40%, #151515 60%, rgba(21,21,21,0));
  display: grid;
  place-items: center;
}
.sp-label, .sp-enter {
  grid-area: 1 / 1;
  font-family: var(--font-mono);
  font-size: 10.4px; font-weight: 400;
  letter-spacing: .25rem;
  text-transform: uppercase;
  white-space: nowrap;
}
.sp-label { color: #828282; opacity: 0; transition: opacity .6s ease 1s; }  /* 4.7:1 sobre #151515 (WCAG AA; ref usa #5B5B5B=2.7 — falha) */
#splash.in .sp-label:not(.off) { opacity: 1; }
.sp-label.off { opacity: 0; transition-delay: 0s; }
.sp-enter {
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s cubic-bezier(.19,.91,.36,.99), visibility 0s .5s, text-shadow .3s ease;
}
#splash.ready .sp-enter {
  opacity: 1; visibility: visible;
  transition: opacity .5s cubic-bezier(.19,.91,.36,.99) .15s, visibility 0s, text-shadow .3s ease;
}
/* hover da referência: glow branco triplo */
.sp-enter:hover {
  color: #fff;
  text-shadow:
    rgba(255,255,255,.8) 0 0 .35rem,
    rgba(255,255,255,.45) 0 0 1rem,
    rgba(255,255,255,.25) 0 0 2rem;
}
@media (prefers-reduced-motion: reduce) {
  .sp-line { transition: none; }
}
@media (max-width: 880px) {
  .sp-corner { font-size: 11px; }
  .sp-tl, .sp-bl { left: 18px; }
  .sp-tr, .sp-br { right: 18px; }
  .sp-tl, .sp-tr { top: 18px; }
  .sp-bl, .sp-br { bottom: 18px; }
}

/* fallback estático quando o WebGL não está disponível (GPU/driver) */
#smoke.scene-fallback {
  background:
    radial-gradient(60% 45% at 70% 18%, rgba(60, 88, 130, .35), transparent 70%),
    radial-gradient(50% 40% at 22% 65%, rgba(38, 62, 98, .4), transparent 72%),
    radial-gradient(70% 60% at 50% 100%, rgba(16, 24, 38, .8), transparent 80%),
    linear-gradient(180deg, #131C29 0%, #0B111B 55%, #08090A 100%);
}

/* ============ NAV — pílula de vidro flutuante ============ */
#nav {
  position: fixed;
  inset-inline: 0;
  top: 14px;
  z-index: 40;
  display: flex;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-14px);
  transition: opacity .7s var(--ease-out) .3s, transform .7s var(--ease-out) .3s;
}
body.entered #nav { opacity: 1; transform: none; pointer-events: auto; }
.nav-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 30px);
  height: 54px;
  padding: 0 10px 0 18px;
  border-radius: var(--radius-pill);
  background: rgba(13, 14, 16, .55);
  border: 1px solid rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .38);
  transition: background .35s, border-color .35s, box-shadow .35s;
}
#nav.scrolled .nav-pill {
  background: rgba(10, 11, 12, .8);
  border-color: rgba(255, 255, 255, .13);
  box-shadow: 0 22px 54px rgba(0, 0, 0, .5);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-icon {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 9px;
  color: var(--ink-2);
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
.brand:hover .brand-icon { color: var(--amber); border-color: var(--amber-35); }
.brand-icon svg { width: 100%; height: 100%; display: block; }
.brand span { font-weight: 550; font-size: 14px; letter-spacing: .07em; }
#nav nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 24px); }
.nav-link {
  font-size: 13px; font-weight: 500; color: var(--mute);
  position: relative;
  transition: color var(--dur-fast);
}
.nav-link::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: -5px;
  height: 1px;
  background: var(--amber);
  transition: right .4s var(--ease-out);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after { right: 0; }

/* ============ HERO — Z-CASCADE: copy central + placas nas margens ============ */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-copy { position: relative; z-index: 2; padding: 96px 20px 0; max-width: 1160px; }
.hero h1 {
  font-size: clamp(60px, 9.5vw, 140px);
  letter-spacing: -.005em;              /* aperto ótico do display */
  margin: 12px 0 16px;
  text-shadow: 0 6px 60px rgba(0, 0, 0, .55);
}
@media (min-width: 1600px) {
  .hero h1 { font-size: 148px; }
}
.hero .sub {
  max-width: 560px;
  margin: 0 auto;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.6;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .8);
}
.hero-cta { display: flex; gap: 12px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.hero-hint {
  position: absolute; bottom: 26px; left: 0; right: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--mute);
  opacity: 0;
  transition: opacity .8s ease .6s;
}
body.entered .hero-hint { opacity: 1; }
/* placas empilhadas em profundidade (somem < 1100px) */
.hero-stack { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.hcard {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 190px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(13, 14, 16, .72);
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transition: opacity 1s var(--ease-out) .9s, transform 1s var(--ease-out) .9s;
}
body.entered .hcard { opacity: 1; }
.hcard img { width: 100%; border-radius: 10px; display: block; }
.hcard span {
  font-family: var(--font-mono);
  font-size: 9.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--mute);
  text-align: left;
}
.hc-a { left: 4%;  top: 24%; transform: rotate(-3deg) translateY(20px); }
.hc-b { right: 5%; top: 30%; transform: rotate(2.4deg) translateY(20px); transition-delay: 1.05s; }
.hc-c { right: 12%; bottom: 14%; transform: rotate(-1.6deg) translateY(20px); transition-delay: 1.2s; }
body.entered .hc-a, body.entered .hc-b, body.entered .hc-c { transform: rotate(0) translateY(0); }
body.entered .hc-a { transform: rotate(-3deg); }
body.entered .hc-b { transform: rotate(2.4deg); }
body.entered .hc-c { transform: rotate(-1.6deg); }

/* ============ MARQUEE — fita contínua de formatos ============ */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: 18px;
  background: rgba(255, 255, 255, .015);
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 44px;
  width: max-content;
  animation: mq 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--mute);
  white-space: nowrap;
}
.marquee-track i {
  width: 7px; height: 7px; flex: none;
  background: var(--amber);
  opacity: .5;
  clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%);
}
@keyframes mq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ============ RACK — ACORDEÃO HORIZONTAL (abre no hover) ============ */
.rack { padding-block: 16vh 8vh; }
.section-head { max-width: 720px; margin-bottom: 9vh; }
.section-head h2 { font-size: clamp(52px, 8.5vw, 120px); margin: 14px 0 16px; }
.section-sub { color: var(--mute); font-size: 17px; }

.acc { border-top: 1px solid var(--line); }
.acc-item {
  display: grid;
  grid-template-columns: 64px 76px 1fr auto auto 44px;
  align-items: center;
  gap: 24px;
  padding: 30px 10px 26px;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background var(--dur-med) var(--ease-out);
  overflow: hidden;
}
.acc-thumb {
  width: 76px;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  transform: rotate(-2deg) scale(.96);
  transition: transform .55s var(--ease-spring);
  background: #0C0D0F;
}
.acc-item:hover .acc-thumb { transform: rotate(0) scale(1.04); }
.acc-item:hover { background: rgba(255, 255, 255, .025); }
.acc-num {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .2em;
  color: var(--mute);        /* era --dim 3.28:1 — 12px precisa 4.5 (WCAG) */
  transition: color var(--dur-fast);
}
.acc-name {
  font-size: clamp(42px, 5.6vw, 80px);
  line-height: .95;
  transition: transform .55s var(--ease-out), color var(--dur-fast);
}
.acc-cat { font-size: 13px; font-weight: 500; color: var(--mute); }
.acc-arrow {
  font-size: 22px;
  color: var(--mute);
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid transparent;
  border-radius: 50%;
  transition: transform .55s var(--ease-spring), color var(--dur-fast), border-color var(--dur-fast);
}
.acc-item:hover .acc-name { transform: translateX(12px); color: var(--amber); }
.acc-item:hover .acc-num { color: var(--amber); }
.acc-item:hover .acc-arrow {
  transform: translate(3px, -3px) rotate(45deg);
  color: var(--amber);
  border-color: var(--amber-35);
  background: var(--amber-08);
}
/* gaveta: descrição + mini-preview (grid-rows 0fr→1fr, só hover) */
.acc-more {
  grid-column: 2 / -1;
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows .6s var(--ease-out), opacity .45s ease;
}
.acc-item:hover .acc-more { grid-template-rows: 1fr; opacity: 1; }
/* teclado: gaveta abre no foco (navegação por tab) */
.acc-item:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 10px; }
.acc-item:focus-visible .acc-more, .acc-item:focus-within .acc-more { grid-template-rows: 1fr; opacity: 1; }
.acc-item:focus-visible .acc-name { color: var(--amber); }
/* touch: gaveta sempre aberta (hover não existe) */
@media (hover: none) {
  .acc-more { grid-template-rows: 1fr; opacity: 1; }
  .acc-item { padding-block: 26px 22px; }
}
.acc-more-in {
  overflow: hidden;
  min-height: 0;
  display: flex;
  align-items: center;
  gap: 28px;
}
.acc-desc { max-width: 52ch; color: var(--mute); font-size: 14.5px; line-height: 1.6; }
.acc-shot {
  width: 210px;
  flex: none;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  transform: rotate(-1.2deg);
  box-shadow: var(--shadow-soft);
}
.acc-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid var(--amber-35);
  background: var(--amber-08);
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

/* atmosfera vazando da cena: glow ambiente radial por seção */
.section-glow { position: relative; }
.section-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(42% 34% at 12% 40%, rgba(255, 180, 84, .05), transparent 70%),
    radial-gradient(48% 40% at 88% 62%, rgba(90, 140, 210, .05), transparent 72%);
  pointer-events: none;
  z-index: -1;
}
.section-glow > * { position: relative; }

/* ============ SHOWCASE — placa PrismEQ interativa ============ */
.showcase { padding-block: 16vh 10vh; }
.showcase-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.plate-wrap { position: relative; }
.plate {
  position: relative;
  z-index: 1;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255, 255, 255, .05), transparent 55%),
    linear-gradient(168deg, #1B1D21 0%, #101214 58%, #0B0C0E 100%);
  border: 1px solid var(--line-2);
  padding: 34px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  box-shadow: var(--shadow-plate);
}
.plate-shadow {
  position: absolute; inset: 8% 4% -4%;
  background: radial-gradient(60% 55% at 50% 60%, rgba(255, 180, 84, .10), transparent 70%);
  filter: blur(30px);
  z-index: 0;
}
.plate-top {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.plate-brand {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500; letter-spacing: .3em;
  color: var(--ink-2);
}
.plate-icon { width: 16px; height: 16px; color: var(--amber); }
.plate-icon svg { width: 100%; height: 100%; display: block; }
.plate-led {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 8px 2px rgba(255, 180, 84, .65);
  animation: led-breathe 2.8s var(--ease-io) infinite;
}
@keyframes led-breathe {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px 2px rgba(255,180,84,.65); }
  50%      { opacity: .45; box-shadow: 0 0 4px 1px rgba(255,180,84,.3); }
}
.plate-mid {
  display: flex; align-items: center; justify-content: space-between;
  gap: 26px;
}
.knob-unit { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.knob {
  --ang: 32.4deg;    /* rotação do ponteiro = sweep − 135° */
  --sweep: 167.4deg; /* arco preenchido (0–270°) = valor · 2.7  */
  position: relative;
  width: 108px; height: 108px;
  border-radius: 50%;
  cursor: grab;
  touch-action: none;
  background:
    radial-gradient(circle at 34% 28%, #34373D 0%, #1A1C1F 46%, #0E0F11 100%);
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow:
    inset 0 2px 4px rgba(255,255,255,.10),
    inset 0 -8px 16px rgba(0,0,0,.6),
    0 12px 26px rgba(0,0,0,.55);
  transition: box-shadow var(--dur-fast);
}
.knob.grab { cursor: grabbing; box-shadow: inset 0 2px 4px rgba(255,255,255,.12), inset 0 -8px 16px rgba(0,0,0,.6), 0 8px 18px rgba(0,0,0,.6), 0 0 0 4px rgba(255,180,84,.14); }
.knob:focus-visible { box-shadow: var(--ring); border-radius: 50%; }
.knob-ring {
  position: absolute; inset: -9px;
  border-radius: 50%;
  background: conic-gradient(from -135deg,
    var(--amber) 0deg,
    var(--amber-deep) var(--sweep),
    rgba(255,255,255,.07) var(--sweep) 270deg,
    transparent 270deg);
  -webkit-mask: radial-gradient(circle, transparent 62%, #000 63.4%);
  mask: radial-gradient(circle, transparent 62%, #000 63.4%);
  filter: drop-shadow(0 0 6px rgba(255,180,84,.35));
}
.knob-dial {
  position: absolute; inset: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, #2B2E33 0%, #17191C 55%, #0D0E10 100%);
  box-shadow: inset 0 1px 2px rgba(255,255,255,.08), 0 3px 8px rgba(0,0,0,.5);
}
.knob-dial i {
  position: absolute; left: 50%; top: 7%;
  width: 3px; height: 30%;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--amber);
  box-shadow: 0 0 6px rgba(255,180,84,.6);
  transform-origin: 50% 143.3%;   /* pivô = centro do dial */
  transform: rotate(var(--ang));
}
.knob-label {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--mute);
}
.plate-readout {
  display: flex; align-items: baseline; gap: 4px;
  font-family: var(--font-mono);
  color: var(--ink);
  text-shadow: 0 0 18px rgba(255,180,84,.25);
}
.readout-val { font-size: 44px; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.readout-unit { font-size: 15px; color: var(--mute); }
.price strong { font-variant-numeric: tabular-nums; }
.pc-price strong { font-variant-numeric: tabular-nums; }
.meter-unit { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.meter {
  --bars: 24;
  display: flex; align-items: flex-end; gap: 3px;
  width: 150px;
  height: 96px;
  padding: 8px;
  background: #0A0B0C;
  border: 1px solid var(--line-2);
  border-radius: 6px;
}
.meter i {
  flex: 1;
  height: 100%;
  border-radius: 1.5px;
  background: rgba(255, 255, 255, .07);
  transition: background .08s linear;
}
.meter i.on { background: var(--amber); box-shadow: 0 0 6px rgba(255,180,84,.55); }
.meter i:nth-last-child(-n+3).on { background: #E5484D; box-shadow: 0 0 6px rgba(229,72,77,.5); }
.plate-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.demo-btn {
  display: inline-flex; align-items: center; gap: 9px;
  height: 38px; padding: 0 18px;
  border-radius: var(--radius-pill);
  background: var(--amber-08);
  border: 1px solid var(--amber-35);
  color: var(--amber);
  font-size: 12.5px; font-weight: 500;
  transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
}
.demo-btn:hover { background: var(--amber-16); }
.demo-btn .ic-pause { display: none; }
.demo-btn.playing { background: var(--amber); color: #14100A; }
.demo-btn.playing .ic-play { display: none; }
.demo-btn.playing .ic-pause { display: block; }
.demo-note {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--mute);
}
.showcase-info { max-width: 470px; }
.showcase-kicker {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .3em;
  color: var(--amber);
  margin-bottom: 18px;
}
.showcase-copy {
  font-size: 18px; line-height: 1.65; color: var(--ink-2);
  margin-bottom: 26px;
}
.spec-trigger {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--mute);
  padding: 8px 0;
  transition: color var(--dur-fast);
}
.spec-trigger:hover { color: var(--ink); }
.spec-trigger span { font-size: 15px; color: var(--amber); transition: transform var(--dur-fast) var(--ease-spring); }
.spec-trigger[aria-expanded="true"] span { transform: rotate(45deg); }
.spec-pop {
  margin: 12px 0 4px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-card);
  background: var(--surface);
  overflow: hidden;
}
.spec-pop table { width: 100%; border-collapse: collapse; }
.spec-pop td {
  padding: 11px 16px;
  font-size: 13px;
  border-bottom: 1px solid var(--line);
}
.spec-pop tr:last-child td { border-bottom: 0; }
.spec-pop td:first-child {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--mute);
  width: 32%;
}
.buy-row {
  display: flex; align-items: center; gap: 22px;
  margin-top: 26px;
}
.price { display: flex; align-items: baseline; gap: 10px; font-family: var(--font-ui); }
.price s { color: var(--dim); font-size: 16px; }
.price strong { font-size: 34px; font-weight: 600; letter-spacing: -.02em; }

/* ============ PRICING — BENTO assimétrico (gapless) ============ */
.pricing { padding-block: 14vh 8vh; }
.bento {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 16px;
}
.bcard {
  --bz: 22px;
  position: relative;
  display: flex; flex-direction: column; gap: 18px;
  padding: 34px 30px 30px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--bz);
  transition: border-color var(--dur-med), transform .6s var(--ease-out), box-shadow var(--dur-med);
}
.bcard:hover {
  border-color: var(--line-3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}
/* double-bezel: casco + miolo (hardware em bandéja) */
.bcard::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: var(--bz);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .06);
  pointer-events: none;
}
.b-main { grid-row: span 2; justify-content: center; gap: 22px; padding: 44px 40px; }
.b-note { padding: 26px 30px; }
.pc-flag {
  position: absolute; top: -11px; left: 30px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: #14100A;
  background: var(--amber);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}
.pc-name { font-weight: 550; font-size: 15px; color: var(--ink-2); }
.pc-price strong { font-size: clamp(40px, 4.5vw, 58px); font-weight: 600; letter-spacing: -.03em; }
.pc-price span { color: var(--mute); font-size: 14px; margin-left: 6px; }
.b-main .pc-price strong { font-size: clamp(56px, 6vw, 76px); }
.price-card ul, .bcard ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.bcard ul { margin-block: 4px; }
.bcard li {
  position: relative;
  padding-left: 22px;
  font-size: 14px; color: var(--mute);
}
.bcard li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 8px; height: 8px;
  background: var(--amber);
  clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%);
}
.bcard .btn { align-self: flex-start; margin-top: auto; }
.b-note p { color: var(--mute); font-size: 13.5px; line-height: 1.6; }
.b-note strong { color: var(--ink-2); font-weight: 550; }
/* do incluído: compat com markup antigo de pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.price-card {
  position: relative;
  display: flex; flex-direction: column; gap: 18px;
  padding: 34px 30px 30px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-card);
}
.pc--featured {
  background: linear-gradient(170deg, rgba(255,180,84,.07), rgba(255,180,84,.015) 45%, var(--surface) 90%);
  border-color: var(--amber-35);
}
.b-main.pc--featured { background:
  radial-gradient(130% 100% at 20% 0%, rgba(255,180,84,.10), transparent 55%),
  linear-gradient(170deg, #17181B 0%, var(--surface) 70%);
}

/* ============ ENGINE — números count-up ============ */
.engine { padding-block: 2vh 12vh; }
.eng-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1080px;
  margin-inline: auto;
}
.eng {
  display: flex; flex-direction: column; gap: 8px;
  padding: 26px 26px 22px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-card);
  text-align: left;
}
.eng-num {
  font-family: var(--font-mono);
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 500;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.eng span {
  font-size: 12.5px; color: var(--mute); line-height: 1.5;
}
@media (max-width: 880px) {
  .eng-grid { grid-template-columns: 1fr 1fr; }
}

/* ============ STATEMENT — editorial serifado com imagem-inline ============ */
.about { padding-block: 20vh; text-align: center; }
.statement {
  font-family: var(--font-ui);
  font-weight: 550;
  font-size: clamp(28px, 4.2vw, 52px);
  line-height: 1.18;
  letter-spacing: -.015em;
  max-width: 1080px;
  margin-inline: auto;
}
.statement em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--amber);
  font-size: 1.06em;
  letter-spacing: 0;
}
.st-pill {
  display: inline-block;
  width: clamp(84px, 9vw, 132px);
  height: .82em;
  border-radius: 999px;
  vertical-align: -.12em;
  margin: 0 .18em;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-soft);
  transform: rotate(-2deg);
}

/* ============ VOICES — citações rotativas ============ */
.voices { padding-block: 4vh 16vh; }
.voices-stage {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.v-quote { color: var(--amber); opacity: .9; }
.v-slots { display: grid; }
.v-slot {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  pointer-events: none;
  visibility: hidden;
}
.v-slot.on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  visibility: visible;
  transition-delay: .25s;
}
.v-slot blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 22px;
}
.v-slot figcaption { display: flex; flex-direction: column; gap: 3px; }
.v-slot figcaption b { font-weight: 600; font-size: 14.5px; color: var(--ink-2); }
.v-slot figcaption span {
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--dim);
}
.v-dots { display: flex; gap: 10px; }
.v-dot {
  width: 26px; height: 4px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .14);
  transition: background var(--dur-fast), transform .45s var(--ease-spring);
}
.v-dot:hover { background: rgba(255, 255, 255, .3); }
.v-dot.on { background: var(--amber); transform: scaleY(1.35); }

/* palavras do statement (split do gsap-fx) */
.statement .w { display: inline-block; }

/* ============ FAQ ============ */
.faq { padding-block: 12vh 8vh; }
.faq-list { max-width: 780px; }
.faq-item {
  border-bottom: 1px solid var(--line);
  transition: background var(--dur-med);
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item:hover { background: rgba(255, 255, 255, .02); }
.faq-item summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  cursor: pointer;
  padding: 26px 8px;
  font-size: 17px; font-weight: 500; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-x { position: relative; flex: none; width: 12px; height: 12px; }
.faq-x::before, .faq-x::after {
  content: "";
  position: absolute; inset: 0; margin: auto;
  background: var(--mute);
  transition: transform var(--dur-med) var(--ease-out), background var(--dur-fast);
}
.faq-x::before { width: 12px; height: 1.6px; }
.faq-x::after { width: 1.6px; height: 12px; }
.faq-item[open] .faq-x::after { transform: scaleY(0); }
.faq-item[open] .faq-x::before, .faq-item[open] .faq-x::after { background: var(--amber); }
.faq-item p {
  padding: 0 8px 26px;
  max-width: 62ch;
  color: var(--mute);
  font-size: 15px; line-height: 1.65;
}

/* ============ WAITLIST ============ */
.notify-sec { padding-block: 8vh 20vh; text-align: center; }
.notify-sec h2 { font-size: clamp(44px, 7.5vw, 110px); margin: 14px 0 18px; }
.notify { max-width: 560px; margin-inline: auto; text-align: left; }
.notify-form { display: flex; gap: 10px; }
.notify-input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 18px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-pill);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background var(--dur-fast);
}
.notify-input::placeholder { color: var(--mute); }
.notify-input:hover { border-color: var(--line-3); }
.notify-input:focus { outline: none; background: rgba(255,255,255,.05); border-color: var(--amber-35); box-shadow: var(--ring); }
.notify-input[aria-invalid="true"] { border-color: #E5484D; }
.notify-msg { font-size: 13px; margin-top: 8px; color: var(--mute); min-height: 20px; }
.notify-msg.err { color: #F2555A; }
.notify-done { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--amber); font-weight: 500; min-height: 46px; }
.notify-note { font-size: 12px; color: var(--mute); margin-top: 6px; text-align: center; }
.notify .hidden { display: none !important; }

/* ============ CART DRAWER ============ */
.cart {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 130;
  width: min(430px, 92vw);
  display: flex; flex-direction: column;
  background: #0E0F11;
  border-left: 1px solid var(--line-2);
  transform: translateX(105%);
  transition: transform .55s var(--ease-out);
  visibility: hidden;
}
.cart.open { transform: none; visibility: visible; }
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
}
.cart-title { font-weight: 600; font-size: 16px; display: flex; align-items: center; gap: 10px; }
.cart-count {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--amber);
  border: 1px solid var(--amber-35);
  background: var(--amber-08);
  border-radius: var(--radius-pill);
  padding: 2px 9px;
}
.cart-x {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  color: var(--mute);
  transition: color var(--dur-fast), border-color var(--dur-fast), transform .45s var(--ease-spring);
}
.cart-x:hover { color: var(--ink); border-color: var(--line-3); transform: rotate(90deg); }
.cart-body { flex: 1; overflow-y: auto; padding: 10px 26px; }
.cart-empty {
  padding: 48px 0;
  text-align: center;
  color: var(--mute);
  font-size: 15px; line-height: 1.6;
}
.cart-empty span { color: var(--mute); font-size: 13px; }
.cart-lines { list-style: none; }
.cart-line {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center; gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.cl-name { font-weight: 500; font-size: 14.5px; }
.cl-qty {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 13px;
}
.cl-qty button {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  color: var(--mute);
  font-size: 14px;
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
.cl-qty button:hover { color: var(--amber); border-color: var(--amber-35); }
.cl-price { font-family: var(--font-mono); font-size: 13.5px; color: var(--ink-2); }
.cart-foot { padding: 20px 26px 26px; border-top: 1px solid var(--line); }
.cart-sub {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
  font-size: 14px; color: var(--mute);
}
.cart-sub strong { font-size: 20px; color: var(--ink); font-weight: 600; }
.cart-checkout { width: 100%; justify-content: center; }
.cart-note {
  margin-top: 12px;
  font-size: 11.5px; color: var(--mute);
  text-align: center; line-height: 1.55;
}
#cart-overlay {
  position: fixed; inset: 0;
  z-index: 120;
  background: rgba(4, 4, 5, .6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  animation: ov-in .35s ease;
}
@keyframes ov-in { from { opacity: 0; } }
body.cart-lock { overflow: hidden; }
.cart-btn {
  position: relative;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
.cart-btn:hover { color: var(--amber); border-color: var(--amber-35); }
.cart-badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 17px; height: 17px;
  padding: 0 4px;
  display: grid; place-items: center;
  border-radius: var(--radius-pill);
  background: var(--amber);
  color: #14100A;
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 500;
}
.cart-badge[hidden] { display: none; }
.cart-badge.pop { animation: badge-pop .45s var(--ease-spring); }
@keyframes badge-pop {
  0% { transform: scale(.4); }
  55% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

/* ============ TOAST ============ */
.toast {
  position: fixed;
  left: 50%; bottom: 30px;
  z-index: 140;
  transform: translate(-50%, 16px);
  padding: 12px 22px;
  background: var(--surface-2);
  border: 1px solid var(--line-3);
  border-radius: var(--radius-pill);
  font-size: 13.5px; font-weight: 500;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s var(--ease-out);
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ============ FOOTER — wordmark gigante ============ */
footer { border-top: 1px solid var(--line); padding: 70px var(--gutter) 30px; overflow: hidden; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr .7fr .7fr;
  gap: 48px;
  max-width: var(--container);
  margin-inline: auto;
}
.foot-brand .foot-logo {
  width: 170px; margin-bottom: 20px;
  color: var(--ink-2);
}
.foot-logo .nms-logo { width: 100%; height: auto; display: block; }
.foot-note { color: var(--mute); font-size: 14px; max-width: 40ch; }
.foot-head {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--dim);
  margin-bottom: 16px;
}
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col a { color: var(--mute); font-size: 14px; transition: color var(--dur-fast); }
.foot-col a:hover { color: var(--amber); }
.foot-mark {
  max-width: var(--container);
  margin: 64px auto 0;
  display: flex;
  align-items: stretch;
  gap: clamp(18px, 3vw, 40px);
  color: var(--ink);
  opacity: .10;
  user-select: none;
}
.fm-icon { width: clamp(80px, 10vw, 150px); flex: none; }
.fm-icon svg { width: 100%; height: auto; display: block; }
.fm-word {
  font-size: clamp(72px, 12.5vw, 176px);
  line-height: .82;
  white-space: nowrap;
  letter-spacing: .01em;
}
.fine {
  max-width: var(--container);
  margin: 18px auto 0;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--dim);
}

/* barra de progresso de leitura dentro da pílula */
.nav-progress {
  position: absolute;
  left: 22px; right: 22px; bottom: 6px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  opacity: .85;
  pointer-events: none;
}
#nav:not(.scrolled) .nav-progress { opacity: 0; }

/* ============ MOTION-ON: JS assume o transform (sem transition de transform) ============ */
.motion-on .btn, .motion-on .btn-ico {
  transition: background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              box-shadow .45s var(--ease-out);
}
.motion-on .hcard { transition: opacity 1s var(--ease-out) .9s; }

/* will-change só onde o JS anima por frame (motion.js) */
.motion-on .hcard, .motion-on .btn, .motion-on .plate { will-change: transform; }

/* ============ RESPONSIVO ============ */
@media (max-width: 1100px) {
  .hero-stack { display: none; }
}
@media (max-width: 880px) {
  .acc-item { grid-template-columns: 44px 1fr auto 36px; gap: 14px; padding: 24px 6px 22px; }
  .acc-thumb { display: none; }
  .acc-cat { display: none; }
  .acc-name { font-size: clamp(36px, 9vw, 54px); }
  .acc-more { grid-column: 2 / -1; }
  .acc-shot { display: none; }
  .foot-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: clamp(52px, 14vw, 100px); }
  #nav nav .nav-link { display: none; }
  .notify-form { flex-direction: column; }
  .notify-form .btn { width: 100%; justify-content: center; }
  .cursor-preview { display: none; }
  .showcase-grid { grid-template-columns: 1fr; gap: 40px; }
  .plate { padding: 26px 20px; }
  .plate-mid { gap: 18px; }
  .bento { grid-template-columns: 1fr; }
  .b-main { grid-row: auto; }
  .cart { width: min(430px, 100vw); }
  .nav-pill { gap: 12px; height: 50px; }
}

/* ============ MOVIMENTO REDUZIDO ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; filter: none; }
  .hero-copy { opacity: 1; transform: none; }
  .hcard { opacity: 1; }
}
