/* Numeração, 0800, 0303 e 400x: componentes da apresentação, na linguagem
   do site. Usa a base de softphone.css (sp-sec, sp-wrap, sp-kicker, sp-h2,
   sp-lead, sp-grad, sp-line, data-rv, sp-pipe, sp-stats) e os tokens de
   flux-ds.css, então segue o tema escuro (padrão) e o claro. */

.nm-page {
  --c-did: #5b9bff;
  --c-0800: #4be3b0;
  --c-0303: #ffb547;
  --c-400x: #b18cff;
  --nm-line: hsl(var(--ink-strong) / 0.1);
}

:root[data-theme="light"] .nm-page {
  --c-did: #2f6fe4;
  --c-0800: #0e9a6e;
  --c-0303: #b9740a;
  --c-400x: #7a4bdc;
}

@media (max-width: 640px) {
  .nm-page .sp-sec {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

.nm-c-did { --c: var(--c-did); }
.nm-c-0800 { --c: var(--c-0800); }
.nm-c-0303 { --c: var(--c-0303); }
.nm-c-400x { --c: var(--c-400x); }

/* Animações em loop só rodam com o bloco na tela (classe nm-on via JS) */
.js [data-nm-anim]:not(.nm-on),
.js [data-nm-anim]:not(.nm-on) * {
  animation-play-state: paused !important;
}

/* ---------- Moldura (frame) ---------- */
.nm-frame {
  background: hsl(var(--surface-muted) / 0.85);
  border: 1px solid var(--nm-line);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgb(0 0 0 / 0.18), 0 0 60px hsl(var(--primary) / 0.08);
  padding: 1.1rem 1.2rem;
  position: relative;
  width: 100%;
}

:root[data-theme="light"] .nm-frame {
  background: #fff;
  box-shadow: 0 24px 60px rgb(15 23 42 / 0.08), 0 2px 6px rgb(15 23 42 / 0.04);
}

.nm-frame-head {
  border-bottom: 1px solid var(--nm-line);
  color: hsl(var(--ink-muted));
  display: flex;
  font-size: 0.72rem;
  font-weight: 700;
  gap: 0.75rem;
  justify-content: space-between;
  letter-spacing: 0.07em;
  margin-bottom: 1rem;
  padding: 0.2rem 0.1rem 0.85rem;
}

.nm-live {
  color: #2fdb9c;
}

:root[data-theme="light"] .nm-live {
  color: #16a34a;
}

.nm-mini {
  color: hsl(var(--ink-light));
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  margin-top: 0.6rem;
}

/* ---------- Hero com mapa ---------- */
.nm-hero {
  align-items: center;
  display: grid;
  gap: 2.5rem;
  position: relative;
}

@media (min-width: 960px) {
  .nm-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    gap: 3rem;
  }
}

.nm-hero .sp-pills {
  justify-content: flex-start;
}

.nm-map {
  aspect-ratio: 613 / 639;
  margin: 0 auto;
  max-width: 520px;
  position: relative;
  width: 100%;
}

.nm-map > img,
.nm-map > svg {
  height: 100%;
  inset: 0;
  overflow: visible;
  position: absolute;
  width: 100%;
}

.nm-nd {
  fill: hsl(var(--primary));
  opacity: 0.85;
}

.nm-tag {
  animation: nm-tag 6s ease-in-out infinite;
  background: hsl(var(--surface) / 0.94);
  border: 1px solid var(--c, hsl(var(--primary)));
  border-radius: 10px;
  box-shadow: 0 0 18px color-mix(in srgb, var(--c, #5e81f4) 35%, transparent);
  color: hsl(var(--ink-strong));
  font-size: 0.74rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 0;
  padding: 0.35rem 0.65rem;
  position: absolute;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

@keyframes nm-tag {
  0% { opacity: 0; transform: translate(-50%, -30%) scale(0.8); }
  8%, 40% { opacity: 1; transform: translate(-50%, -80%) scale(1); }
  52%, 100% { opacity: 0; transform: translate(-50%, -120%) scale(0.95); }
}

@media (max-width: 520px) {
  .nm-tag { font-size: 0.62rem; padding: 0.25rem 0.45rem; }
}

/* ---------- O desafio: vários fornecedores para um ---------- */
.nm-sup {
  align-items: center;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .nm-sup {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }
}

.nm-sups {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.nm-forn {
  align-items: center;
  background: hsl(var(--surface-soft));
  border: 1px solid var(--nm-line);
  border-radius: 13px;
  color: hsl(var(--ink-muted));
  display: flex;
  font-size: 0.82rem;
  gap: 0.6rem;
  justify-content: space-between;
  line-height: 1.35;
  padding: 0.7rem 0.9rem;
}

.nm-forn b {
  color: hsl(var(--ink-strong));
  font-weight: 600;
}

.nm-forn em {
  color: #ff5c7a;
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

:root[data-theme="light"] .nm-forn em {
  color: #e11d48;
}

.nm-conv {
  animation: nm-nudge 1.6s ease-in-out infinite;
  color: hsl(var(--primary));
  height: 3rem;
  justify-self: center;
  width: 3rem;
}

@media (max-width: 699px) {
  .nm-conv { transform: rotate(90deg); animation: none; }
}

@keyframes nm-nudge {
  50% { transform: translateX(8px); }
}

.nm-one {
  background: linear-gradient(135deg, #5e81f4, #7c6cf0);
  border-radius: 20px;
  box-shadow: 0 20px 48px rgb(94 129 244 / 0.32);
  color: #fff;
  padding: 1.5rem;
  text-align: center;
}

.nm-one img {
  filter: drop-shadow(0 6px 16px rgb(15 23 42 / 0.25));
  height: 56px;
  margin: 0 auto;
  width: 56px;
}

.nm-one b {
  display: block;
  font-size: 1.35rem;
  font-weight: 500;
  margin-top: 0.6rem;
}

.nm-one ul {
  color: rgb(255 255 255 / 0.92);
  display: flex;
  flex-direction: column;
  font-size: 0.88rem;
  gap: 0.45rem;
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
}

.nm-one li::before {
  content: "✓ ";
  font-weight: 900;
}

/* ---------- Quatro formatos ---------- */
.nm-fmt {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: 2.5rem;
  text-align: left;
  width: 100%;
}

@media (min-width: 640px) {
  .nm-fmt { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1000px) {
  .nm-fmt { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.nm-ft {
  border: 1px solid color-mix(in srgb, var(--c) 45%, transparent);
  border-radius: 20px;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 15rem;
  overflow: hidden;
  padding: 1.4rem 1.25rem;
  position: relative;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

a.nm-ft:hover {
  box-shadow: 0 0 34px color-mix(in srgb, var(--c) 28%, transparent);
  transform: translateY(-3px);
}

.nm-ft::before {
  background: radial-gradient(circle, color-mix(in srgb, var(--c) 38%, transparent), transparent 70%);
  border-radius: 50%;
  content: "";
  height: 140px;
  position: absolute;
  right: -40px;
  top: -40px;
  width: 140px;
}

.nm-ft > b {
  color: var(--c);
  font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.2rem, 3.4vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
}

.nm-ft h3 {
  color: hsl(var(--ink-strong));
  font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
}

.nm-ft p {
  color: hsl(var(--ink-muted));
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0;
}

.nm-who {
  border-top: 1px solid var(--nm-line);
  color: hsl(var(--ink-strong));
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-top: auto;
  padding-top: 0.75rem;
}

.nm-who span {
  color: var(--c);
}

/* ---------- DID: grade de DDDs ---------- */
.nm-ddd {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nm-drow {
  align-items: center;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 8.5rem minmax(0, 1fr);
}

.nm-dl {
  color: hsl(var(--ink-muted));
  font-size: 0.74rem;
  line-height: 1.2;
}

.nm-dl b {
  color: hsl(var(--ink-strong));
  font-size: 0.8rem;
  margin-right: 0.45rem;
}

.nm-dc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.nm-dc i {
  background: hsl(var(--primary) / 0.14);
  border: 1px solid hsl(var(--primary) / 0.4);
  border-radius: 8px;
  color: hsl(var(--ink-strong));
  display: grid;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 700;
  height: 1.9rem;
  place-items: center;
  width: 2.3rem;
}

:root[data-theme="light"] .nm-dc i {
  background: #eef2fe;
  color: #3b5bdb;
}

.js .nm-ddd-frame .nm-dc i {
  opacity: 0;
}

.nm-ddd-frame.is-in .nm-dc i {
  animation: nm-chip 0.5s both;
  animation-delay: calc(var(--i) * 45ms + 300ms);
}

@keyframes nm-chip {
  0% { opacity: 0; transform: scale(0.6); background: hsl(var(--primary)); }
  60% { opacity: 1; background: hsl(var(--primary)); }
  100% { opacity: 1; transform: none; }
}

@media (max-width: 560px) {
  .nm-drow { grid-template-columns: 1fr; gap: 0.35rem; }
  .nm-dc i { width: 2.2rem; height: 1.7rem; font-size: 0.72rem; }
}

.nm-dtot {
  display: flex;
  gap: 2rem;
}

.nm-dtot b {
  display: block;
  font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
}

.nm-dtot span {
  color: hsl(var(--ink-muted));
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

/* ---------- 0800: regras de roteamento ---------- */
.nm-r08 {
  display: block;
  height: auto;
  overflow: visible;
  width: 100%;
}

.nm-stack {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.nm-stack > .sp-copy {
  max-width: 46rem;
}

.nm-r08--v {
  display: none;
  margin: 0 auto;
  max-width: 420px;
}

@media (max-width: 759px) {
  .nm-r08--h { display: none; }
  .nm-r08--v { display: block; }
}

.nm-r08 text {
  font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
}

.nm-r08 .ln {
  animation: nm-flow 3s linear infinite;
  fill: none;
  stroke: hsl(var(--ink-strong) / 0.2);
  stroke-dasharray: 5 6;
  stroke-width: 2;
}

@keyframes nm-flow {
  to { stroke-dashoffset: -200; }
}

.nm-r08 .src {
  fill: hsl(var(--surface));
  stroke: var(--c-0800);
  stroke-width: 2;
}

.nm-r08 .rules {
  fill: hsl(var(--surface));
  stroke: hsl(var(--primary));
  stroke-width: 2;
}

.nm-r08 .dst {
  fill: hsl(var(--surface));
  stroke: var(--c-0800);
  stroke-width: 1.5;
}

.nm-r08 .dst.msg { stroke: #f5ab3d; }
.nm-r08 .dst.bl { stroke: #f53d5d; }

.nm-r08 .t1 {
  fill: hsl(var(--ink-strong));
  font-size: 16px;
  font-weight: 700;
}

.nm-r08 .t1.s { font-size: 14.5px; }

.nm-r08 .t2 {
  fill: hsl(var(--primary));
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
}

.nm-r08 .t3 {
  fill: hsl(var(--ink-muted));
  font-size: 11.5px;
  font-weight: 700;
}

.nm-r08 .pk {
  fill: hsl(var(--primary));
}

/* ---------- 0303: chamada recebida ---------- */
.nm-c03 {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  justify-content: center;
}

.nm-inc {
  animation: nm-float 5.5s ease-in-out infinite;
  background: linear-gradient(160deg, #2a2210, #15110a);
  border: 1px solid #ffb54788;
  border-radius: 24px;
  box-shadow: 0 0 50px #ffb54733;
  color: #fff;
  max-width: 100%;
  padding: 1.35rem;
  width: 21rem;
}

:root[data-theme="light"] .nm-inc {
  background: linear-gradient(160deg, #fffaf0, #fff);
  border-color: #f5c77a;
  box-shadow: 0 20px 48px rgb(185 116 10 / 0.18);
  color: #0f172a;
}

@keyframes nm-float {
  50% { transform: translateY(-12px); }
}

.nm-inc small {
  color: #d9b77a;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

:root[data-theme="light"] .nm-inc small { color: #b9740a; }

.nm-inc > b {
  display: block;
  font-size: clamp(1.7rem, 2.8vw, 2.6rem);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 0.6rem;
}

.nm-lb {
  background: #3a2e14;
  border: 1px solid #ffb54766;
  border-radius: 99px;
  color: #ffd57c;
  display: inline-flex;
  font-size: 0.7rem;
  font-weight: 800;
  margin: 0.75rem 0.35rem 0 0;
  padding: 0.4rem 0.7rem;
}

.nm-lb.v {
  background: #0f3a2e;
  border-color: #4be3b066;
  color: #5ff0bd;
}

:root[data-theme="light"] .nm-lb { background: #fff4dc; color: #92580a; }
:root[data-theme="light"] .nm-lb.v { background: #ecfdf5; color: #047857; }

.nm-bt {
  display: flex;
  justify-content: space-between;
  margin-top: 1.35rem;
}

.nm-bt i {
  background: #ff3b5c;
  border-radius: 50%;
  color: #fff;
  display: grid;
  height: 3rem;
  place-items: center;
  width: 3rem;
}

.nm-bt i:first-child svg { transform: rotate(135deg); }

.nm-bt i.a {
  animation: nm-shake 1.2s infinite;
  background: #2fdb9c;
}

.nm-bt svg {
  height: 1.4rem;
  width: 1.4rem;
}

@keyframes nm-shake {
  0%, 50%, 100% { rotate: 0deg; }
  10% { rotate: -12deg; }
  20% { rotate: 12deg; }
  30% { rotate: -8deg; }
  40% { rotate: 8deg; }
}

.nm-feats {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 21rem;
  width: 100%;
}

/* ---------- 400x: um número, o Brasil inteiro ---------- */
.nm-rl {
  animation: nm-flow 2.4s linear infinite;
  fill: none;
  filter: drop-shadow(0 0 4px rgb(120 61 245 / 0.45));
  stroke: var(--c-400x);
  stroke-dasharray: 5 6;
  stroke-width: 2;
}

.nm-rd {
  fill: hsl(var(--primary));
}

.nm-rdr {
  animation: nm-hub 2.4s ease-out infinite;
  fill: none;
  stroke: var(--c-400x);
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
}

@keyframes nm-hub {
  from { opacity: 1; transform: scale(0.5); }
  to { opacity: 0; transform: scale(2.8); }
}

.nm-rlbl {
  color: hsl(var(--ink-strong));
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  position: absolute;
  text-transform: uppercase;
  transform: translate(-50%, -170%);
  white-space: nowrap;
}

.nm-big400 {
  background: linear-gradient(135deg, #7c6cf0, #5e81f4);
  border-radius: 18px;
  box-shadow: 0 20px 48px rgb(124 108 240 / 0.35);
  color: #fff;
  left: 50%;
  padding: 0.85rem 1.3rem;
  position: absolute;
  text-align: center;
  top: 47%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.nm-big400 small {
  color: rgb(255 255 255 / 0.85);
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.nm-big400 b {
  display: block;
  font-size: clamp(1.6rem, 2.8vw, 2.8rem);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

/* ---------- Qual número usar: tabela ---------- */
.nm-cmp-wrap {
  margin-top: 2.5rem;
  overflow-x: auto;
  padding: 0.5rem;
  text-align: left;
}

.nm-cmp {
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.92rem;
  min-width: 720px;
  width: 100%;
}

.nm-cmp th,
.nm-cmp td {
  border-bottom: 1px solid var(--nm-line);
  padding: 0.9rem 1rem;
  text-align: left;
  vertical-align: top;
}

.nm-cmp tr:last-child td {
  border-bottom: 0;
}

.nm-cmp td {
  color: hsl(var(--ink-secondary));
  line-height: 1.45;
}

.nm-cmp td:first-child {
  color: hsl(var(--ink-strong));
  font-weight: 600;
}

.nm-cmp th span {
  background: var(--c);
  border-radius: 8px;
  color: #0b1020;
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
}

:root[data-theme="light"] .nm-cmp th span {
  color: #fff;
}

.nm-cmp .us {
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--ink-strong));
  font-weight: 500;
}

.nm-cmp th.us {
  border-radius: 12px 12px 0 0;
}

.nm-cmp tr:last-child td.us {
  border-radius: 0 0 12px 12px;
}

.nm-scroll-hint {
  color: hsl(var(--ink-light));
  display: none;
  font-size: 0.75rem;
  margin-top: 0.6rem;
}

@media (max-width: 760px) {
  .nm-scroll-hint { display: block; }
}

/* ---------- Portabilidade ---------- */
.nm-port {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 2.5rem;
  width: 100%;
}

.nm-lane {
  align-items: center;
  display: grid;
  gap: 40%;
  grid-template-columns: 1fr 1fr;
  height: 9rem;
  position: relative;
}

.nm-pbox {
  background: hsl(var(--surface-soft));
  border: 1px solid var(--nm-line);
  border-radius: 18px;
  padding: 1rem;
  text-align: center;
  z-index: 1;
}

.nm-pbox small {
  color: hsl(var(--ink-muted));
  display: block;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.nm-pbox b {
  color: hsl(var(--ink-strong));
  font-size: 1.15rem;
  font-weight: 600;
}

.nm-pbox.f {
  background: linear-gradient(135deg, #5e81f4, #7c6cf0);
  border: 0;
  box-shadow: 0 20px 48px rgb(94 129 244 / 0.32);
}

.nm-pbox.f small { color: rgb(255 255 255 / 0.8); }
.nm-pbox.f b { color: #fff; }

.nm-pcard {
  animation: nm-pmove 6s cubic-bezier(0.6, 0, 0.3, 1) infinite;
  background: hsl(var(--surface));
  border: 1px solid #3dbff5;
  border-radius: 14px;
  box-shadow: 0 0 24px rgb(61 191 245 / 0.18);
  color: hsl(var(--ink-strong));
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  left: 8%;
  padding: 0.7rem 1rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  z-index: 3;
}

.nm-pcard small {
  color: #3dbff5;
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
}

@keyframes nm-pmove {
  0%, 12% { left: 8%; }
  62%, 100% { left: calc(92% - 11rem); }
}

@media (max-width: 640px) {
  .nm-lane { gap: 30%; height: 8rem; }
  .nm-pbox { padding: 0.75rem 0.5rem; }
  .nm-pbox b { font-size: 0.95rem; }
  .nm-pcard { font-size: 0.85rem; padding: 0.55rem 0.75rem; }
  @keyframes nm-pmove {
    0%, 12% { left: 0; }
    62%, 100% { left: calc(100% - 9.5rem); }
  }
}

.nm-psteps {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 900px) {
  .nm-psteps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.nm-ps {
  border-radius: 14px;
  color: hsl(var(--ink-strong));
  font-size: 0.88rem;
  line-height: 1.4;
  overflow: hidden;
  padding: 0.9rem 1rem;
  position: relative;
  text-align: left;
}

.nm-ps b {
  color: hsl(var(--primary));
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  margin-bottom: 0.3rem;
}

.nm-ps::after {
  background: linear-gradient(90deg, #348cf4, #34d7f4);
  bottom: 0;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  width: 0;
}

.nm-ps.is-in::after {
  animation: nm-pbar 1s forwards;
  animation-delay: calc(var(--k) * 0.9s + 0.6s);
}

@keyframes nm-pbar {
  to { width: 100%; }
}

/* ---------- Como funciona: 4 passos (sobre o sp-pipe) ---------- */
@media (min-width: 900px) {
  .nm-pipe4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .nm-pipe4 .sp-track {
    left: calc(100% / 8);
    right: calc(100% / 8);
  }
}

/* ---------- Integrações: órbita ---------- */
.nm-sys {
  height: 30rem;
  margin: 0 auto;
  max-width: 560px;
  position: relative;
  width: 100%;
}

.nm-sys .glow {
  background: radial-gradient(ellipse, hsl(var(--primary) / 0.28), transparent 70%);
  border-radius: 50%;
  filter: blur(18px);
  height: 52%;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 55%;
}

.nm-sys .trk {
  border: 1px solid hsl(var(--primary) / 0.3);
  border-radius: 50%;
  height: 78%;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-19deg);
  width: 92%;
}

.nm-sys .trk.t1 {
  border-color: hsl(var(--primary) / 0.42);
  height: 52%;
  transform: translate(-50%, -50%) rotate(21deg);
  width: 62%;
}

.nm-sys .trk.t2::after {
  background: hsl(var(--primary));
  border-radius: 50%;
  box-shadow: 0 0 0 5px hsl(var(--primary) / 0.18);
  content: "";
  height: 9px;
  left: 50%;
  position: absolute;
  top: -4px;
  width: 9px;
}

.nm-sys .core {
  background: radial-gradient(circle at 32% 24%, #8fa6fa, #5e81f4 55%, #3f5fd6);
  border-radius: 50%;
  box-shadow: 0 20px 50px rgb(94 129 244 / 0.35), inset 0 2px 0 rgb(255 255 255 / 0.35);
  color: #fff;
  display: grid;
  height: 8.5rem;
  left: 50%;
  place-items: center;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 8.5rem;
  z-index: 4;
}

.nm-sys .core svg {
  height: 3.2rem;
  width: 3.2rem;
}

.nm-sat {
  align-items: center;
  animation: nm-sat 6s ease-in-out infinite;
  background: hsl(var(--surface-muted));
  border: 1px solid var(--nm-line);
  border-radius: 19px;
  box-shadow: 0 14px 34px rgb(0 0 0 / 0.18);
  color: hsl(var(--ink-strong));
  display: flex;
  flex-direction: column;
  font-size: 0.74rem;
  font-weight: 700;
  gap: 0.35rem;
  justify-content: center;
  letter-spacing: 0.03em;
  min-height: 5.2rem;
  padding: 0.7rem 0.6rem;
  position: absolute;
  text-align: center;
  width: 9.6rem;
  z-index: 5;
}

:root[data-theme="light"] .nm-sat {
  background: #fff;
  box-shadow: 0 14px 34px rgb(15 23 42 / 0.08);
}

.nm-sat small {
  color: hsl(var(--ink-muted));
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.3;
}

.nm-sat svg {
  color: hsl(var(--primary));
  height: 1.5rem;
  width: 1.5rem;
}

@keyframes nm-sat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

@media (max-width: 560px) {
  .nm-sys { height: 26rem; }
  .nm-sys .core { height: 6.5rem; width: 6.5rem; }
  .nm-sat { width: 7.4rem; font-size: 0.64rem; min-height: 4.6rem; }
  /* três cartões não cabem lado a lado no topo: desce os laterais */
  .nm-sat:nth-of-type(5),
  .nm-sat:nth-of-type(6) { top: 26% !important; }
  .nm-sat:nth-of-type(7),
  .nm-sat:nth-of-type(8) { bottom: 0 !important; }
}

/* ---------- Encerramento: números flutuando ---------- */
.nm-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.nm-tags .nm-tag {
  animation: nm-float 5s ease-in-out infinite;
  font-size: clamp(0.9rem, 1.5vw, 1.3rem);
  opacity: 1;
  padding: 0.7rem 1.1rem;
  position: static;
  transform: none;
}

/* ---------- Reduzir movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  .nm-map .nm-tag {
    opacity: 1;
    transform: translate(-50%, -80%);
  }
  .js .nm-ddd-frame .nm-dc i {
    opacity: 1;
  }
  .nm-ps::after {
    width: 100%;
  }
  .nm-r08 .pk {
    display: none;
  }
}
