/* ==========================================================================
   AutoNex Clean — Camada Premium v22
   Conceito: "Night Garage" — estúdio de detalhamento iluminado por LED.
   Toda a página vive no escuro; as seções mudam por profundidade e
   temperatura de luz, nunca invertendo para branco.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --nx-void: #04060a;
  --nx-graphite: #080b11;
  --nx-surface: #0c1119;
  --nx-surface-2: #0f151f;

  --nx-neon: #2fe3ec;
  --nx-neon-deep: #00aeb8;
  --nx-electric: #3b7bff;

  --nx-text: #e9eff7;
  --nx-muted: #8b97a9;
  --nx-faint: #5f6b7c;

  --nx-line: rgba(255, 255, 255, 0.08);
  --nx-line-soft: rgba(255, 255, 255, 0.05);

  --nx-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --nx-body: "Manrope", "Segoe UI", system-ui, sans-serif;

  --nx-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Propriedades animáveis (movimento suave dos cards) */
@property --nx-rx { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --nx-ry { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --nx-lift { syntax: "<length>"; inherits: false; initial-value: 0px; }
@property --nx-scale { syntax: "<number>"; inherits: false; initial-value: 1; }

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
body {
  background: var(--nx-void);
  color: var(--nx-text);
  font-family: var(--nx-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#root h1,
#root h2,
#root h3,
#root .monthly-value strong,
#root .service-price strong,
#root .hero-trust b,
#root .condo-stats strong {
  font-family: var(--nx-display);
  font-variant-ligatures: none;
}

/* Rótulos / eyebrows — menores e mais espaçados */
#root .eyebrow,
#root .section-label {
  color: #6f8391;
  font-family: var(--nx-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3em;
}
#root .eyebrow { color: #79cfd6; }

/* Foco visível em todo o site */
#root a:focus-visible,
#root button:focus-visible,
.nx-wa:focus-visible {
  outline: 2px solid var(--nx-neon);
  outline-offset: 3px;
  border-radius: 6px;
}

/* --------------------------------------------------------------------------
   3. Barra inicial (topbar premium)
   -------------------------------------------------------------------------- */
#root .topbar {
  height: 70px;
  grid-template-columns: 210px 1fr auto;
  gap: 24px;
  background: linear-gradient(180deg, rgba(4, 6, 10, 0.82), rgba(4, 6, 10, 0.52));
  -webkit-backdrop-filter: blur(26px) saturate(160%);
  backdrop-filter: blur(26px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: height 0.45s var(--nx-ease), background 0.45s ease,
    box-shadow 0.45s ease;
}

/* Fio de luz inferior — acende ao rolar */
#root .topbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(47, 227, 236, 0.05) 12%,
    rgba(47, 227, 236, 0.55) 50%,
    rgba(47, 227, 236, 0.05) 88%,
    transparent
  );
  opacity: 0.25;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

body.nx-scrolled #root .topbar {
  height: 60px;
  background: rgba(5, 7, 11, 0.93);
  box-shadow: 0 18px 50px -30px rgba(0, 0, 0, 0.95);
}
body.nx-scrolled #root .topbar::after { opacity: 1; }

#root .brand-logo {
  width: 168px;
  height: 46px;
  opacity: 0.96;
  transition: width 0.45s var(--nx-ease), height 0.45s var(--nx-ease),
    filter 0.4s ease;
}
#root .brand:hover .brand-logo {
  filter: drop-shadow(0 0 14px rgba(47, 227, 236, 0.4));
}
body.nx-scrolled #root .brand-logo { width: 148px; height: 40px; }

/* Navegação */
#root .nav { gap: 30px; }
#root .nav a {
  position: relative;
  color: #7d8b9d;
  font-family: var(--nx-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 0;
  transition: color 0.3s ease;
}
#root .nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--nx-neon), transparent);
  box-shadow: 0 0 10px rgba(47, 227, 236, 0.8);
  transform: translateX(-50%);
  transition: width 0.4s var(--nx-ease);
}
#root .nav a:hover { color: #fff; }
#root .nav a:hover::after { width: 100%; }

/* Ações do cabeçalho */
#root .header-actions { gap: 12px; }

#root .install-button.compact {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--nx-line);
  border-radius: 999px;
  color: #93a2b5;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 16px;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
#root .install-button.compact:hover {
  color: #dff7f9;
  border-color: rgba(47, 227, 236, 0.45);
  background: rgba(47, 227, 236, 0.06);
}

#root .header-access {
  position: relative;
  min-width: 0;
  gap: 12px;
  padding: 11px 20px;
  border-radius: 999px;
  background: rgba(47, 227, 236, 0.05);
  border: 1px solid rgba(47, 227, 236, 0.32);
  color: #d9f6f8;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.35s ease, border-color 0.35s ease,
    box-shadow 0.35s ease, transform 0.35s var(--nx-ease);
}
#root .header-access:hover {
  background: rgba(47, 227, 236, 0.12);
  border-color: rgba(47, 227, 236, 0.7);
  box-shadow: 0 0 0 1px rgba(47, 227, 236, 0.12),
    0 14px 34px -16px rgba(47, 227, 236, 0.75);
  transform: translateY(-1px);
}

/* Botão hambúrguer */
#root .menu-button i {
  background: #cfd9e6;
  transition: transform 0.35s var(--nx-ease), background 0.3s ease;
}
#root .menu-button:hover i { background: var(--nx-neon); }

/* --------------------------------------------------------------------------
   4. Gestão sai da barra inicial — permanece apenas no rodapé
   -------------------------------------------------------------------------- */
#root .topbar .header-restricted,
#root .mobile-accesses button.restricted {
  display: none !important;
}

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */
#root .hero {
  padding-top: 104px;
  background: radial-gradient(circle at 76% 38%, rgba(24, 68, 132, 0.3), transparent 30%),
    linear-gradient(115deg, #05070a 0 51%, #070b11 51% 100%);
}

#root .hero h1 {
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 200;
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin: 20px 0;
  max-width: 560px;
}
#root .hero h1 span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(122, 200, 210, 0.55);
  text-shadow: 0 0 32px rgba(47, 227, 236, 0.12);
}
#root .hero-content > p {
  font-size: 14px;
  line-height: 1.8;
  color: #8a95a7;
  max-width: 480px;
}

#root .primary-button {
  min-width: 0;
  gap: 16px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid rgba(86, 225, 231, 0.45);
  background: linear-gradient(135deg, #00c3d0, #067884);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 18px 40px -18px rgba(0, 174, 184, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 0.4s var(--nx-ease), box-shadow 0.4s ease;
}
#root .primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 55px -18px rgba(47, 227, 236, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

#root .text-link {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8b98aa;
  transition: color 0.3s ease;
}
#root .text-link:hover { color: var(--nx-neon); }

#root .hero-trust { border-top: 1px solid var(--nx-line); }
#root .hero-trust b {
  font-size: 15px;
  font-weight: 300;
  color: #dfe7f2;
}
#root .hero-trust span { font-size: 8px; letter-spacing: 0.14em; }

/* --------------------------------------------------------------------------
   6. Seções claras → ambiente escuro contínuo
   -------------------------------------------------------------------------- */

/* 6.1 Intro + passos */
#root .intro {
  color: var(--nx-text);
  background: linear-gradient(180deg, #070a10, #0a0e15 48%, #070a10);
  padding-block: 90px 104px;
}
#root .intro h2 {
  font-size: clamp(21px, 2.5vw, 32px);
  font-weight: 200;
  letter-spacing: -0.025em;
  color: #eaf1f8;
}
#root .intro-copy { color: #8b97a9; font-size: 14px; line-height: 1.85; }

#root .steps {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--nx-line-soft);
  perspective: 1400px;
}
#root .steps article {
  background: var(--nx-surface);
  padding: 26px 24px;
  min-height: 200px;
}
#root .steps article > span {
  color: var(--nx-neon);
  font-family: var(--nx-body);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
}
#root .steps h3 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #e6edf6;
  margin: 34px 0 10px;
}
#root .steps p { color: #808d9f; font-size: 12.5px; line-height: 1.75; }

/* 6.2 Planos */
#root .plans {
  color: var(--nx-text);
  background: linear-gradient(180deg, #05080d, #0a0e16 55%, #06090f);
  padding-block: 96px 112px;
}
#root .plans h2,
#root .service-copy h2,
#root .vonixx h2,
#root .condos h2,
#root .access h2 {
  font-size: clamp(23px, 2.9vw, 38px);
  font-weight: 200;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 14px 0 20px;
  color: #eaf1f8;
}
#root .plans-heading > p { color: #8b97a9; font-size: 13.5px; line-height: 1.85; }

#root .plan-grid { perspective: 1600px; }

#root .plan-card {
  background: linear-gradient(165deg, #0e141d, #080c13);
  border: 1px solid var(--nx-line);
  border-radius: 18px;
  padding: 30px 28px;
  color: var(--nx-text);
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.95);
}
#root .plan-card.featured {
  background: linear-gradient(165deg, #0b1626, #060b13);
  border-color: rgba(47, 227, 236, 0.28);
  box-shadow: 0 40px 90px -45px rgba(0, 0, 0, 1),
    0 0 60px -34px rgba(47, 227, 236, 0.7);
}
#root .plan-number {
  color: var(--nx-neon);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.26em;
}
#root .plan-card h3 {
  font-size: 19px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #eef4fb;
  margin: 6px 0 16px;
}
#root .plan-card > p { color: #75808f; font-size: 9px; letter-spacing: 0.2em; }
#root .monthly-value strong {
  font-size: 44px;
  font-weight: 200;
  letter-spacing: -0.045em;
  color: #f2f7fc;
}
#root .monthly-value small { color: #7b8698; font-size: 11px; }
#root .monthly-value span { color: #75808f; font-size: 10px; }
#root .plan-card li {
  color: #8d99aa;
  font-size: 11.5px;
  border-bottom: 1px solid var(--nx-line-soft);
  padding: 10px 0;
}
#root .plan-card li::before { color: var(--nx-neon); }
#root .plan-card > small { color: #64707f; font-size: 8px; }
#root .popular {
  background: rgba(47, 227, 236, 0.14);
  border: 1px solid rgba(47, 227, 236, 0.5);
  color: #d9f6f8;
  font-size: 7.5px;
  letter-spacing: 0.2em;
  box-shadow: 0 0 20px -6px rgba(47, 227, 236, 0.8);
}
#root .plan-card button,
#root .condo-copy button {
  border-radius: 999px;
  background: linear-gradient(135deg, #00c3d0, #067884);
  border: 1px solid rgba(86, 225, 231, 0.4);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 20px;
  transition: transform 0.35s var(--nx-ease), box-shadow 0.35s ease;
}
#root .plan-card button:hover,
#root .condo-copy button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px -18px rgba(47, 227, 236, 0.85);
}

#root .plan-summary { border-left-color: var(--nx-line); border-top-color: var(--nx-line); }
#root .plan-summary h3 {
  font-size: 19px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: #eef4fb;
}
#root .plan-summary > p:not(.section-label) { color: #838f9f; font-size: 12.5px; }
#root .plan-summary > strong { color: #e6edf6; }
#root .plan-summary > span { color: #75808f; font-size: 9.5px; }
#root .plan-summary a {
  color: var(--nx-neon);
  border-top: 1px solid var(--nx-line);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* 6.3 Serviço + Vonixx (já escuros — apenas refino) */
#root .service-copy > p:not(.section-label) { font-size: 13.5px; color: #8b97a9; }
#root .service-copy li { font-size: 12.5px; color: #b6c0cd; border-bottom-color: var(--nx-line-soft); }
#root .service-price strong { font-size: 40px; font-weight: 200; letter-spacing: -0.045em; }
#root .service-price strong small { font-size: 13px; }
#root .vonixx-copy > p:not(.section-label) { font-size: 13.5px; color: #8b97a9; }
#root .quality-seal { width: 128px; height: 128px; }
#root .quality-seal strong { font-size: 20px; color: var(--nx-neon); }

/* 6.4 Condomínios */
#root .condos {
  color: var(--nx-text);
  background: linear-gradient(135deg, #070a11, #0b1119 60%, #06090f);
  padding-block: 100px;
}
#root .condo-copy > p:not(.section-label) { color: #8b97a9; font-size: 13.5px; line-height: 1.85; }
#root .condo-stats { perspective: 1200px; }
#root .condo-stats strong { font-size: 24px; font-weight: 300; color: var(--nx-neon); }
#root .condo-stats span { color: #78839a; font-size: 8.5px; letter-spacing: 0.16em; }
#root .condo-dashboard {
  border-color: rgba(47, 227, 236, 0.18);
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 1),
    0 0 70px -40px rgba(47, 227, 236, 0.55);
}

/* 6.5 Acessos */
#root .access {
  background: linear-gradient(180deg, #05080d, #080c13);
  padding-block: 100px;
}
#root .access-heading > p:last-child { color: #838f9f; font-size: 13px; }
#root .access-grid { perspective: 1600px; gap: 18px; }
#root .access-grid > button {
  background: linear-gradient(165deg, #0d131c, #080c13);
  border: 1px solid var(--nx-line);
  border-radius: 18px;
  min-height: 270px;
  padding: 26px;
}
#root .access-grid > button:hover { background: linear-gradient(165deg, #101825, #0a0f18); }
#root .access-grid > button > span {
  color: #6a7688;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.24em;
}
#root .access-grid i {
  width: 44px;
  height: 44px;
  font-size: 17px;
  border-radius: 14px;
  border: 1px solid rgba(47, 227, 236, 0.3);
  background: rgba(47, 227, 236, 0.05);
  color: var(--nx-neon);
  margin-top: 28px;
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}
#root .access-grid > button:hover i {
  border-color: rgba(47, 227, 236, 0.75);
  box-shadow: 0 0 26px -6px rgba(47, 227, 236, 0.8),
    inset 0 0 18px -8px rgba(47, 227, 236, 0.6);
}
#root .access-grid h3 {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: #eaf1f8;
  margin: 20px 0 8px;
}
#root .access-grid p { font-size: 11.5px; line-height: 1.75; color: #808d9f; }
#root .access-grid b { font-size: 9px; letter-spacing: 0.18em; font-weight: 700; }

/* 6.6 Aplicativo */
#root .app-install {
  color: var(--nx-text);
  background: linear-gradient(135deg, #070a11, #0b1018 60%, #06090f);
  padding-block: 90px;
  min-height: 0;
}
#root .app-install h2 {
  font-size: clamp(23px, 3vw, 40px);
  font-weight: 200;
  letter-spacing: -0.035em;
  color: #eaf1f8;
  margin: 14px 0 20px;
}
#root .app-install > div:first-child > p:not(.section-label) {
  color: #8b97a9;
  font-size: 13.5px;
  line-height: 1.85;
}
#root .app-install > div:first-child > small { color: #75808f; font-size: 8.5px; }
#root .app-install .install-button {
  border-radius: 999px;
  padding: 14px 22px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
#root .app-install .install-button span { font-size: 14px; }
#root .phone-shell {
  box-shadow: 0 45px 90px -40px rgba(0, 0, 0, 1),
    0 0 70px -34px rgba(47, 227, 236, 0.5),
    inset 0 0 0 1px rgba(72, 96, 122, 0.7);
}

/* 6.7 CTA final + rodapé */
#root .final-cta {
  background: radial-gradient(circle at 50% 34%, rgba(16, 58, 96, 0.85), #05080d 54%);
  min-height: 460px;
}
#root .final-cta h2 {
  font-size: clamp(26px, 3.6vw, 46px);
  font-weight: 200;
  letter-spacing: -0.035em;
}
#root footer { border-top: 1px solid var(--nx-line); }
#root footer nav a,
#root footer nav button {
  color: #78839a;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}
#root footer nav a:hover,
#root footer nav button:hover { color: var(--nx-neon); }
#root footer > small { font-size: 8.5px; color: #56616f; letter-spacing: 0.04em; }

/* --------------------------------------------------------------------------
   7. Sistema de cards — neon 3D com movimento
   -------------------------------------------------------------------------- */
#root .nx-card {
  --nx-rx: 0deg;
  --nx-ry: 0deg;
  --nx-lift: 0px;
  --nx-scale: 1;
  --nx-mx: 50%;
  --nx-my: 0%;
  --nx-edge: 0.18;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(var(--nx-rx)) rotateY(var(--nx-ry))
    translate3d(0, var(--nx-lift), 0) scale(var(--nx-scale));
  transition: transform 0.55s var(--nx-ease), box-shadow 0.55s ease,
    border-color 0.55s ease, opacity 0.7s ease;
  will-change: transform;
}

/* Brilho especular que segue o ponteiro */
#root .nx-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    440px circle at var(--nx-mx) var(--nx-my),
    rgba(47, 227, 236, 0.13),
    rgba(47, 227, 236, 0.04) 38%,
    transparent 66%
  );
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
  z-index: -1;
}

/* Moldura neon */
#root .nx-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    transparent 8%,
    rgba(47, 227, 236, 0.85) 34%,
    rgba(59, 123, 255, 0.55) 52%,
    transparent 78%
  );
  background-size: 260% 260%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: var(--nx-edge);
  transition: opacity 0.5s ease;
  animation: nx-edge-sweep 11s linear infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes nx-edge-sweep {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Estado de foco/hover */
#root .nx-card:hover,
#root .nx-card:focus-visible {
  --nx-lift: -8px;
  --nx-scale: 1.012;
  --nx-edge: 0.95;
  border-color: rgba(47, 227, 236, 0.3);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 1),
    0 22px 60px -34px rgba(47, 227, 236, 0.75);
}
#root .nx-card:hover::before,
#root .nx-card:focus-visible::before { opacity: 1; }

/* Enquanto o ponteiro dirige a inclinação, resposta imediata */
#root .nx-card.nx-live {
  transition: transform 0.14s linear, box-shadow 0.4s ease, border-color 0.4s ease;
}

#root .nx-card:active { --nx-scale: 0.994; --nx-lift: -4px; }

/* Card destacado mantém sua elevação própria */
#root .plan-card.featured { --nx-lift: -12px; }
#root .plan-card.featured:hover { --nx-lift: -20px; }

/* Painéis com perspectiva própria (dashboard e celular) */
#root .condo-dashboard.nx-card,
#root .phone-shell.nx-card {
  transform: perspective(1200px) rotateY(calc(-6deg + var(--nx-ry)))
    rotateX(calc(2deg + var(--nx-rx))) translate3d(0, var(--nx-lift), 0);
}
#root .phone-shell.nx-card {
  transform: perspective(900px) rotateY(calc(-10deg + var(--nx-ry)))
    rotateX(calc(3deg + var(--nx-rx))) translate3d(0, var(--nx-lift), 0);
}
#root .condo-dashboard.nx-card::after,
#root .phone-shell.nx-card::after { display: none; }

/* Entrada por rolagem */
#root .nx-reveal { opacity: 0; --nx-lift: 26px; --nx-rx: 7deg; }
#root .nx-reveal.nx-in { opacity: 1; --nx-lift: 0px; --nx-rx: 0deg; }

/* Respiração ambiente em telas de toque (sem hover) */
@media (hover: none) {
  #root .nx-card.nx-in { animation: nx-float 8s ease-in-out infinite; }
  #root .nx-card.nx-in:nth-child(2n) { animation-delay: -2.6s; }
  #root .nx-card.nx-in:nth-child(3n) { animation-delay: -5.2s; }
  #root .condo-dashboard.nx-card,
  #root .phone-shell.nx-card { animation: none !important; }
}
@keyframes nx-float {
  0%, 100% { --nx-lift: 0px; --nx-edge: 0.16; }
  50% { --nx-lift: -6px; --nx-edge: 0.5; }
}

/* --------------------------------------------------------------------------
   8. Botão flutuante de WhatsApp
   -------------------------------------------------------------------------- */
.nx-wa {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 0;
  height: 50px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(8, 12, 18, 0.82);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(47, 227, 236, 0.26);
  box-shadow: 0 16px 40px -20px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  color: #d9f6f8;
  opacity: 0.88;
  text-decoration: none;
  transition: opacity 0.4s ease, transform 0.5s var(--nx-ease),
    border-color 0.4s ease, box-shadow 0.4s ease, gap 0.5s var(--nx-ease);
}
.nx-wa svg { width: 22px; height: 22px; flex: none; display: block; }

.nx-wa-label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--nx-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  transition: max-width 0.5s var(--nx-ease), opacity 0.35s ease;
}

.nx-wa:hover,
.nx-wa.nx-wa-peek {
  opacity: 1;
  gap: 10px;
  border-color: rgba(47, 227, 236, 0.65);
  box-shadow: 0 20px 46px -20px rgba(0, 0, 0, 1),
    0 0 34px -14px rgba(47, 227, 236, 0.8);
}
.nx-wa:hover { transform: translateY(-2px); }
.nx-wa:hover .nx-wa-label,
.nx-wa.nx-wa-peek .nx-wa-label { max-width: 130px; opacity: 1; }

/* Anel de pulso discreto */
.nx-wa-ring {
  position: absolute;
  left: 13px;
  top: 50%;
  width: 24px;
  height: 24px;
  margin-top: -12px;
  border-radius: 50%;
  border: 1px solid rgba(47, 227, 236, 0.55);
  opacity: 0;
  pointer-events: none;
  animation: nx-wa-pulse 4.5s ease-out infinite;
}
@keyframes nx-wa-pulse {
  0% { transform: scale(0.85); opacity: 0.55; }
  22% { transform: scale(1.75); opacity: 0; }
  100% { transform: scale(1.75); opacity: 0; }
}

/* Some quando um portal/modal estiver aberto */
body:has(.portal-backdrop) .nx-wa,
body.nx-portal-open .nx-wa {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

/* --------------------------------------------------------------------------
   9. Responsivo
   -------------------------------------------------------------------------- */
@media (width <= 1050px) {
  #root .topbar { grid-template-columns: 180px 1fr auto; }
  #root .nav { gap: 20px; }
}

@media (width <= 760px) {
  #root .topbar { grid-template-columns: 1fr auto; height: 64px; padding: 0 18px; }
  body.nx-scrolled #root .topbar { height: 58px; }
  #root .brand-logo { width: 142px; height: 40px; }
  body.nx-scrolled #root .brand-logo { width: 132px; height: 36px; }
  #root .nav { top: 60px; background: rgba(6, 9, 14, 0.97); border-color: var(--nx-line); }
  #root .hero { padding-top: 96px; }
  #root .hero h1 { font-size: clamp(28px, 9vw, 42px); }
  #root .hero-content > p { font-size: 13.5px; }
  #root .plan-card.featured { --nx-lift: 0px; }
  #root .plan-card.featured:hover { --nx-lift: -8px; }
  #root .plan-card { padding: 26px 22px; }
  #root .monthly-value strong { font-size: 38px; }
  #root .access-grid > button { min-height: 240px; }
  #root .condo-dashboard.nx-card { transform: translate3d(0, var(--nx-lift), 0); }
  #root .phone-shell.nx-card {
    transform: scale(0.88) translate3d(0, var(--nx-lift), 0);
  }
  .nx-wa { height: 46px; padding: 0 11px; }
  .nx-wa svg { width: 20px; height: 20px; }
  .nx-wa-ring { left: 11px; }
}

/* --------------------------------------------------------------------------
   10. Movimento reduzido
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  #root .nx-card,
  #root .nx-card::after,
  .nx-wa-ring,
  #root .nx-card.nx-in {
    animation: none !important;
    transition: opacity 0.3s ease !important;
  }
  #root .nx-card { --nx-rx: 0deg !important; --nx-ry: 0deg !important; --nx-lift: 0px !important; }
  #root .nx-reveal { opacity: 1; }
  html { scroll-behavior: auto; }
}
