/* PABX Virtual: componentes próprios da página (o resto vem de softphone.css).
   Cores e superfícies usam os tokens de flux-ds.css, então funcionam no tema
   escuro (padrão) e no claro (data-theme="light"). */

.pb-page {
  overflow-x: hidden;
}

/* Animações pausadas quando a seção sai da tela (classe posta pelo JS) */
.pb-paused,
.pb-paused * {
  animation-play-state: paused !important;
}

/* ---------- Nuvem do hero e do fechamento ---------- */
.pb-cloudsys {
  height: min(43vh, 400px);
  margin: 2.5rem auto 0;
  max-width: 1000px;
  position: relative;
  width: 100%;
}

.pb-cloud-svg {
  height: 100%;
  inset: 0;
  overflow: visible;
  position: absolute;
  width: 100%;
}

.pb-st1 {
  stop-color: hsl(var(--primary));
  stop-opacity: 0.5;
}

.pb-st2 {
  stop-color: hsl(var(--surface));
  stop-opacity: 0.92;
}

.pb-cl {
  fill: url(#pb-cfill);
  filter: drop-shadow(0 0 22px hsl(var(--primary) / 0.3));
  stroke: url(#pb-cstroke);
  stroke-width: 2.2;
}

.pb-cl2 {
  animation: pb-flow 7s linear infinite;
  fill: none;
  opacity: 0.7;
  stroke: #4ad6ee;
  stroke-dasharray: 3 9;
  stroke-width: 1.2;
}

.pb-wire {
  animation: pb-flow 2.8s linear infinite;
  fill: none;
  opacity: 0.75;
  stroke: #4ad6ee;
  stroke-dasharray: 5 7;
  stroke-width: 1.4;
}

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

.pb-cloud-in {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  left: 50%;
  position: absolute;
  top: 44%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.pb-cloud-in img {
  filter: drop-shadow(0 0 16px hsl(var(--primary) / 0.45));
  height: auto;
  width: min(8vh, 78px);
}

.pb-cloud-in b {
  color: hsl(var(--ink-strong));
  font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.32em;
  padding-left: 0.32em;
}

.pb-cloud-in small {
  color: hsl(var(--primary));
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.pb-chips {
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.pb-chip {
  align-items: center;
  animation: pb-sat 6s ease-in-out infinite;
  background: hsl(var(--surface) / 0.92);
  border: 1px solid hsl(var(--primary) / 0.35);
  border-radius: 15px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  color: hsl(var(--ink-strong));
  display: flex;
  font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  gap: 0.6rem;
  padding: 0.7rem 0.95rem;
  position: absolute;
  text-align: left;
}

.pb-chip svg {
  color: hsl(var(--primary));
  flex: none;
  height: 22px;
  width: 22px;
}

.pb-chip small {
  color: hsl(var(--ink-muted));
  display: block;
  font-size: 0.66rem;
  font-weight: 400;
}

.pb-chip--bl { left: 0; top: 72%; }
.pb-chip--br { right: 0; top: 72%; }
.pb-chip--tl { left: 2%; top: 4%; }
.pb-chip--tr { right: 2%; top: 4%; }

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

.pb-cloudsys--end {
  height: min(26vh, 220px);
  margin-top: 0;
  max-width: 560px;
}

@media (max-width: 700px) {
  .pb-cloudsys {
    height: auto;
  }
  .pb-cloudsys > .pb-cloud-svg {
    aspect-ratio: 2 / 1;
    height: auto;
    position: relative;
  }
  .pb-cloud-svg .pb-wire {
    display: none;
  }
  .pb-cloud-in {
    gap: 0.25rem;
  }
  .pb-cloud-in img {
    width: 44px;
  }
  .pb-chips {
    display: grid;
    gap: 0.6rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1rem;
    position: static;
  }
  .pb-chip {
    animation: none;
    padding: 0.6rem 0.7rem;
    position: static;
  }
}

/* ---------- O desafio: central física cercada de custos ---------- */
.pb-legacy {
  min-height: 440px;
  position: relative;
  width: 100%;
}

.pb-rack {
  background: linear-gradient(#3a4256, #1f2533);
  border: 1px solid #59627a;
  border-radius: 14px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  filter: grayscale(0.3);
  gap: 8px;
  left: 50%;
  padding: 14px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 190px;
}

.pb-rack i {
  align-items: center;
  background: #11151f;
  border: 1px solid #444c60;
  border-radius: 6px;
  display: flex;
  gap: 8px;
  height: 30px;
  padding: 0 10px;
}

.pb-rack i::before {
  animation: pb-blink 1.6s infinite;
  background: #ffb547;
  border-radius: 50%;
  box-shadow: 0 0 8px #ffb547;
  content: "";
  height: 7px;
  width: 7px;
}

.pb-rack i::after {
  background: repeating-linear-gradient(90deg, #2b3242 0 5px, #11151f 5px 8px);
  border-radius: 3px;
  content: "";
  flex: 1;
  height: 5px;
}

.pb-rack b {
  color: #aab3c7;
  font-size: 11px;
  letter-spacing: 0.2em;
  margin-top: 4px;
  text-align: center;
}

@keyframes pb-blink {
  50% {
    opacity: 0.25;
  }
}

.pb-ctags {
  inset: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
}

.pb-ctag {
  align-items: center;
  background: hsl(var(--surface));
  border: 1px solid rgba(244, 63, 94, 0.4);
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
  color: hsl(var(--ink-strong));
  display: flex;
  font-size: 0.8rem;
  font-weight: 500;
  gap: 0.55rem;
  padding: 0.6rem 0.85rem;
  position: absolute;
  white-space: nowrap;
}

.pb-ctag b {
  color: #f43f5e;
}

.pb-ctag:nth-child(1) { left: 0; top: 6%; }
.pb-ctag:nth-child(2) { right: 0; top: 16%; }
.pb-ctag:nth-child(3) { left: 2%; top: 44%; }
.pb-ctag:nth-child(4) { right: 2%; top: 54%; }
.pb-ctag:nth-child(5) { bottom: 6%; left: 6%; }
.pb-ctag:nth-child(6) { bottom: 12%; right: 4%; }

/* Abaixo de 1100px não há largura para os rótulos em volta da central:
   eles descem para uma grade logo abaixo dela. */
@media (max-width: 1099px) {
  .pb-legacy {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-height: 0;
  }
  .pb-rack {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
  }
  .pb-ctags {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    position: static;
    width: 100%;
  }
  .pb-ctag {
    font-size: 0.78rem;
    position: static;
    white-space: normal;
  }
}

@media (max-width: 400px) {
  .pb-ctag {
    font-size: 0.72rem;
    padding: 0.55rem 0.6rem;
  }
}

/* ---------- A virada: antes e depois ---------- */
@media (min-width: 900px) {
  .pb-split-virada {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }
}

.pb-ba {
  border: 1px solid hsl(var(--ink-strong) / 0.1);
  border-radius: 22px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.18);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  width: 100%;
}

.pb-ba > div {
  display: flex;
  flex-direction: column;
  min-height: 380px;
  padding: 1.25rem 1.25rem 1rem;
  position: relative;
}

.pb-ba-old {
  background: hsl(var(--surface-soft));
}

.pb-ba-new {
  background: radial-gradient(circle at 50% 40%, hsl(var(--primary) / 0.12), hsl(var(--surface)) 70%);
}

.pb-ba-tg {
  color: hsl(var(--ink-muted));
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.pb-ba-new .pb-ba-tg {
  color: hsl(var(--primary));
}

.pb-scene {
  flex: 1;
  height: auto;
  margin: 10px 0 14px;
  width: 100%;
}

.pb-ba-old .pb-scene {
  filter: saturate(0.4);
}

.s-box {
  fill: hsl(var(--surface));
  stroke: hsl(var(--ink-strong) / 0.15);
}

.s-slot {
  fill: hsl(var(--ink-muted) / 0.25);
}

.s-cable {
  fill: none;
  stroke: hsl(var(--ink-muted) / 0.45);
  stroke-width: 1.5;
}

.s-dev {
  fill: hsl(var(--ink-muted) / 0.35);
  stroke: hsl(var(--ink-strong) / 0.12);
}

.s-cloud {
  fill: hsl(var(--primary) / 0.28);
  stroke: #4ad6ee;
  stroke-width: 1.6;
}

.s-txt {
  fill: hsl(var(--ink-strong));
}

.s-flow {
  animation: pb-flow 3s linear infinite;
  fill: none;
  stroke: #4ad6ee;
  stroke-dasharray: 4 5;
  stroke-width: 1.4;
}

.s-node {
  fill: hsl(var(--surface));
  stroke: #4ad6ee;
}

.s-lbl {
  fill: hsl(var(--primary));
}

.pb-ba ul {
  display: flex;
  flex-direction: column;
  font-size: 0.88rem;
  gap: 0.45rem;
  list-style: none;
  margin: auto 0 0;
  padding: 0;
}

.pb-ba-old li {
  color: hsl(var(--ink-muted));
}

.pb-ba-old li::before {
  color: #f43f5e;
  content: "✕ ";
  font-weight: 900;
}

.pb-ba-new li {
  color: hsl(var(--ink-strong));
}

.pb-ba-new li::before {
  color: hsl(var(--tone-success));
  content: "✓ ";
  font-weight: 900;
}

.pb-ba-vs {
  background: hsl(var(--surface));
  border: 1px solid #4ad6ee;
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(74, 214, 238, 0.25);
  color: hsl(var(--ink-strong));
  display: grid;
  font-size: 12px;
  font-weight: 800;
  height: 46px;
  left: 0;
  place-items: center;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  z-index: 3;
}

.pb-ba-wipe {
  background: linear-gradient(90deg, transparent, rgba(74, 214, 238, 0.16), transparent);
  inset: 0;
  pointer-events: none;
  position: absolute;
  transform: translateX(-100%);
}

.pb-ba.is-in .pb-ba-wipe {
  animation: pb-shine 2.4s 1.2s ease-in-out;
}

@keyframes pb-shine {
  to {
    transform: translateX(120%);
  }
}

@media (max-width: 640px) {
  .pb-ba {
    grid-template-columns: 1fr;
  }
  .pb-ba > div {
    min-height: 0;
  }
  .pb-ba > .pb-ba-old {
    padding-bottom: 2rem;
  }
  .pb-ba > .pb-ba-new {
    padding-top: 2rem;
  }
  .pb-ba-vs {
    left: 50%;
    top: 0;
  }
}

/* ---------- Pipeline com seis etapas ---------- */
@media (min-width: 900px) {
  .pb-pipe6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .pb-pipe6 .sp-track {
    left: calc(100% / 12);
    right: calc(100% / 12);
  }
}

/* ---------- Telas reais: lista que troca a tela ---------- */
.pb-tour {
  align-items: start;
  display: grid;
  gap: 2rem;
  margin-top: 2.5rem;
}

@media (min-width: 960px) {
  .pb-tour {
    align-items: center;
    gap: 2.5rem;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.5fr);
  }
}

.pb-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.pb-tab {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 16px;
  color: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  font: inherit;
  gap: 0.2rem;
  overflow: hidden;
  padding: 0.75rem 1rem;
  position: relative;
  text-align: left;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.pb-tab:hover {
  background: hsl(var(--primary) / 0.06);
}

.pb-tab:focus-visible {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 2px;
}

.pb-tab.on {
  background: hsl(var(--surface-muted));
  border-color: hsl(var(--primary) / 0.4);
  box-shadow: 0 14px 34px hsl(var(--primary) / 0.12);
}

.pb-tab-k {
  color: hsl(var(--primary));
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.pb-tab b {
  color: hsl(var(--ink-secondary));
  font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.3;
}

.pb-tab.on b {
  color: hsl(var(--ink-strong));
}

/* Descrição do item ativo abre suavemente (linhas 0fr → 1fr) */
.pb-tab-more {
  color: hsl(var(--ink-muted));
  display: grid;
  font-size: 0.86rem;
  grid-template-rows: 0fr 0fr;
  line-height: 1.5;
  transition: grid-template-rows 0.45s ease;
}

.pb-tab.on .pb-tab-more {
  grid-template-rows: 1fr 1fr;
}

.pb-tab-more > * {
  min-height: 0;
  overflow: hidden;
}

.pb-tab-more > span::before,
.pb-tab-more em::before {
  content: "";
  display: block;
  height: 0.35rem;
}

.pb-tab-more em {
  color: hsl(var(--primary));
  font-style: normal;
}

.pb-tab-bar {
  background: linear-gradient(90deg, hsl(var(--primary)), #4ad6ee);
  bottom: 0;
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  width: 100%;
}

.pb-tab.on .pb-tab-bar {
  animation: pb-bar var(--pb-ms, 6500ms) linear forwards;
}

.pb-tour.pb-hold .pb-tab.on .pb-tab-bar {
  animation-play-state: paused;
}

@keyframes pb-bar {
  to {
    transform: scaleX(1);
  }
}

.pb-screen {
  min-width: 0;
}

@media (max-width: 959px) {
  .pb-screen {
    order: -1;
  }
}

.pb-screen .sp-bw {
  background: #12151c;
  border-color: hsl(var(--ink-strong) / 0.12);
}

.pb-screen .sp-bw-bar {
  background: #1a1f2b;
  border-bottom-color: rgba(255, 255, 255, 0.06);
  gap: 6px;
}

.pb-screen .sp-bw-bar i {
  background: #2c3446;
  flex: none;
}

.pb-screen .sp-bw-bar .pb-url {
  background: #12151c;
  border-color: rgba(255, 255, 255, 0.08);
  color: #9aa6bd;
  letter-spacing: 0.08em;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pb-live {
  color: #22c55e;
  flex: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-left: auto;
  text-transform: uppercase;
}

.pb-panes {
  aspect-ratio: 1287 / 680;
  position: relative;
}

.pb-pane {
  display: flex;
  flex-direction: column;
  gap: 8px;
  inset: 0;
  justify-content: center;
  opacity: 0;
  position: absolute;
  transform: scale(1.02);
  transition: opacity 0.6s ease, transform 0.8s ease;
}

.pb-pane.on {
  opacity: 1;
  transform: none;
}

.pb-pane img {
  display: block;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  width: 100%;
}

.pb-pane--duo img {
  max-height: calc(50% - 4px);
}

.pb-shine {
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.08) 50%, transparent 65%);
  inset: 0;
  pointer-events: none;
  position: absolute;
  transform: translateX(-120%);
}

.pb-shine.go {
  animation: pb-shine 2.6s ease-in-out;
}

.pb-screen-foot {
  color: hsl(var(--ink-muted));
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  margin: 0.75rem 0 0;
  text-align: right;
}

/* ---------- Recursos: nove cartões ---------- */
@media (min-width: 1100px) {
  .pb-feats3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- PABX em nuvem: nuvem sobre o mapa ---------- */
.pb-cloudmap {
  aspect-ratio: 600 / 620;
  margin: 0 auto;
  max-width: 560px;
  position: relative;
  width: 100%;
}

.pb-cm-map {
  animation: pb-map 4s ease-in-out infinite;
  bottom: 0;
  height: 68%;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: auto;
}

@keyframes pb-map {
  50% {
    filter: brightness(1.25) drop-shadow(0 0 18px hsl(var(--primary) / 0.35));
  }
}

.pb-cm-cloud {
  animation: sp-float 6s ease-in-out infinite;
  filter: drop-shadow(0 18px 40px hsl(var(--primary) / 0.35));
  left: 21%;
  position: absolute;
  top: -2%;
  width: 58%;
  z-index: 3;
}

.pb-cm-cloud svg {
  display: block;
  height: auto;
  width: 100%;
}

.pb-cm-in {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  inset: 0;
  justify-content: center;
  padding-top: 6%;
  position: absolute;
}

.pb-cm-in img {
  filter: drop-shadow(0 6px 14px hsl(var(--primary) / 0.45));
  height: auto;
  width: 22%;
}

.pb-cm-in b {
  color: hsl(var(--ink-strong));
  font-size: clamp(0.9rem, 1.4vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.3em;
  padding-left: 0.3em;
}

.pb-cm-in small {
  color: hsl(var(--primary));
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.pb-cm-drops {
  height: 40%;
  left: 24%;
  pointer-events: none;
  position: absolute;
  right: 24%;
  top: 27%;
  z-index: 2;
}

.pb-cm-drops span {
  animation: pb-drop 3.4s linear infinite;
  background: linear-gradient(transparent, #34d3f4);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(61, 191, 245, 0.45);
  height: 34px;
  opacity: 0;
  position: absolute;
  top: 0;
  width: 2px;
}

@keyframes pb-drop {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translateY(min(30vh, 240px));
  }
}

/* ---------- Multi-tenant ---------- */
@media (min-width: 900px) {
  .pb-split-ten {
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  }
}

.pb-ten {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  width: 100%;
}

.pb-parent {
  align-items: center;
  background: linear-gradient(135deg, #5e81f4, #7c6cf0);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(94, 129, 244, 0.3);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  font-weight: 600;
  gap: 0.9rem;
  justify-content: center;
  letter-spacing: 0.03em;
  padding: 1rem 1.4rem;
}

.pb-parent-ico {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  display: grid;
  flex: none;
  height: 2.6rem;
  place-items: center;
  width: 2.6rem;
}

.pb-parent-ico svg {
  height: 1.3rem;
  width: 1.3rem;
}

.pb-parent small {
  color: rgba(255, 255, 255, 0.82);
  display: block;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.pb-ptot {
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  padding-left: 1.2rem;
}

.pb-ptot b {
  display: block;
  font-size: clamp(1.4rem, 2vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.pb-kids {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
  position: relative;
  width: 100%;
}

.pb-kids::before {
  background: linear-gradient(90deg, transparent, #34bcf4, transparent);
  content: "";
  height: 1px;
  left: 16%;
  position: absolute;
  right: 16%;
  top: -0.75rem;
}

@media (min-width: 480px) {
  .pb-kids {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .pb-kids {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.pb-tc {
  background: hsl(var(--surface-soft));
  border: 1px solid hsl(var(--ink-strong) / 0.1);
  border-radius: 14px;
  font-size: 0.8rem;
  padding: 0.65rem 0.85rem;
}

.pb-tc > b {
  align-items: center;
  color: hsl(var(--ink-strong));
  display: flex;
  font-size: 0.86rem;
  font-weight: 600;
  gap: 0.5rem;
  justify-content: space-between;
}

.pb-tc > b i {
  animation: pb-blink 2.4s infinite;
  background: #4be3b0;
  border-radius: 50%;
  box-shadow: 0 0 8px #4be3b0;
  flex: none;
  height: 8px;
  width: 8px;
}

.pb-rmx {
  color: hsl(var(--ink-muted));
  display: block;
  font-size: 0.75rem;
  margin-top: 0.2rem;
}

.pb-rmx strong {
  color: hsl(var(--ink-strong));
  font-size: clamp(1.2rem, 1.6vw, 1.6rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  margin-right: 0.15rem;
}

.pb-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.4rem;
}

.pb-tags em {
  background: hsl(var(--primary) / 0.08);
  border: 1px solid hsl(var(--ink-strong) / 0.1);
  border-radius: 99px;
  color: hsl(var(--ink-secondary));
  font-size: 0.64rem;
  font-style: normal;
  padding: 0.2rem 0.5rem;
}

.pb-mini {
  color: hsl(var(--ink-muted));
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  margin: 0;
  text-transform: uppercase;
}

/* ---------- Telefonia completa ---------- */
.pb-head-left {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pb-nts {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: 2.5rem;
}

@media (min-width: 520px) {
  .pb-nts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .pb-nts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.pb-nt {
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  overflow: hidden;
  padding: 1.25rem 1.15rem;
  position: relative;
  text-decoration: none;
  transition: border-color 0.3s, transform 0.3s;
}

a.pb-nt:hover {
  border-color: hsl(var(--primary) / 0.5);
  transform: translateY(-2px);
}

.pb-nt::after {
  background: radial-gradient(circle, rgba(74, 214, 238, 0.3), transparent 70%);
  border-radius: 50%;
  content: "";
  height: 90px;
  pointer-events: none;
  position: absolute;
  right: -30px;
  top: -30px;
  width: 90px;
}

.pb-nt b {
  font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.5rem, 2.3vw, 2.3rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.1;
  width: fit-content;
}

.pb-nt span {
  color: hsl(var(--ink-muted));
  font-size: 0.88rem;
  line-height: 1.45;
}

/* ---------- Comparativo ---------- */
.pb-cmp-wrap {
  border-radius: 22px;
  max-width: 100%;
  overflow-x: auto;
  padding: 0.5rem 0.5rem 0.25rem;
}

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

.pb-cmp th,
.pb-cmp td {
  border-bottom: 1px solid hsl(var(--ink-strong) / 0.08);
  padding: 0.85rem 0.95rem;
  text-align: left;
}

.pb-cmp thead th {
  color: hsl(var(--ink-muted));
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pb-cmp thead th.us {
  background: hsl(var(--primary));
  border-radius: 12px 12px 0 0;
  color: #fff;
}

.pb-cmp tbody th {
  color: hsl(var(--ink-secondary));
  font-weight: 400;
}

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

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

.pb-cmp tr:last-child > * {
  border-bottom: 0;
}

.pb-cmp td.them {
  color: hsl(var(--ink-muted));
}

.pb-yes,
.pb-no {
  font-weight: 800;
  margin-right: 0.45rem;
}

.pb-yes {
  color: hsl(var(--tone-success));
}

.pb-no {
  color: #f43f5e;
}

/* ---------- Implantação: prazos ---------- */
.pb-bigbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
}

.pb-bigbar div {
  align-items: center;
  background: hsl(var(--tone-success) / 0.08);
  border: 1px solid hsl(var(--tone-success) / 0.35);
  border-radius: 16px;
  color: hsl(var(--ink-strong));
  display: flex;
  font-size: 0.95rem;
  font-weight: 500;
  gap: 0.75rem;
  padding: 0.85rem 1.2rem;
  text-align: left;
}

.pb-bigbar svg {
  color: hsl(var(--tone-success));
  flex: none;
  height: 22px;
  width: 22px;
}

/* ---------- Tema claro: ajustes ---------- */
:root[data-theme="light"] .pb-chip,
:root[data-theme="light"] .pb-ctag {
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

:root[data-theme="light"] .pb-ba {
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

:root[data-theme="light"] .pb-ctag b,
:root[data-theme="light"] .pb-ba-old li::before,
:root[data-theme="light"] .pb-no {
  color: #e11d48;
}

:root[data-theme="light"] .pb-wire,
:root[data-theme="light"] .pb-cl2,
:root[data-theme="light"] .s-flow {
  stroke: #3db5f5;
}

:root[data-theme="light"] .pb-tc {
  background: #fff;
}

/* ---------- Reduzir movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  .pb-page *,
  .pb-page *::before,
  .pb-page *::after {
    animation: none !important;
    transition: none !important;
  }
  .pb-cm-drops {
    display: none;
  }
}

/* ---------- Celular: 20px de margem lateral em todas as seções ---------- */
@media (max-width: 639px) {
  .pb-page > section {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

/* Comparativo cabe inteiro no celular, sem rolagem lateral */
@media (max-width: 560px) {
  .pb-cmp {
    font-size: 0.78rem;
    min-width: 0;
  }
  .pb-cmp th,
  .pb-cmp td {
    padding: 0.65rem 0.5rem;
  }
  .pb-cmp thead th {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }
  .pb-yes,
  .pb-no {
    margin-right: 0.25rem;
  }
}
