/* ─── COMPONENTES DA APRESENTAÇÃO COMERCIAL & ARQUITETURA NORTSCALE ───
   Fontes manuscritas do Quadrante 2×2 + seções estruturais da home e subpáginas. */

@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/caveat-400.woff2) format('woff2');
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/caveat-600.woff2) format('woff2');
}

/* ─── HERO BADGE DE DIFERENCIAÇÃO ─── */
.hero-unlimited-pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  padding: 7px 15px 7px 8px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(0, 121, 255, .24);
  box-shadow: 0 8px 22px -12px rgba(0, 103, 245, .28);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.hero-unlimited-pill .pill-ic {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0067f5, #4aa3ff);
  display: grid;
  place-items: center;
  flex: none;
}
.hero-unlimited-pill .pill-ic svg {
  width: 14px;
  height: 14px;
  stroke: #ffffff;
  fill: none;
}
.hero-unlimited-pill .pill-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #66bbf8;
  flex: none;
}
@media (max-width: 560px) {
  .hero-unlimited-pill {
    display: flex;
    width: 100%;
    border-radius: 16px;
    padding: 10px 12px;
    gap: 7px 8px;
    font-size: 12px;
    line-height: 1.3;
  }
  .hero-unlimited-pill .pill-dot {
    display: none;
  }
  .hero-unlimited-pill > span:not(.pill-ic):not(.pill-dot) {
    background: #f0f6ff;
    color: var(--text);
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
  }
}

/* ─── SEÇÃO SOFT ALTERNADA NA HOME ─── */
.section-soft {
  background: linear-gradient(180deg, #f5f8fd 0%, #f8fafd 100%);
}
.section-head {
  max-width: 820px;
}
.section-head .lead {
  margin-top: 0;
  margin-bottom: 0;
}

/* ─── 01 · O CENÁRIO DE HOJE (FLUXO MANUAL EM 5 ETAPAS) ─── */
.ns-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr) 26px minmax(0, 1fr) 26px minmax(0, 1fr) 26px minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  margin-top: clamp(2rem, 3.6vw, 3rem);
}
.ns-flow-step {
  background: #ffffff;
  border: 1px solid rgba(2, 22, 42, .09);
  border-radius: 20px;
  padding: 24px 20px 26px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 28px -16px rgba(2, 22, 42, .12);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.ns-flow-step:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 121, 255, .28);
  box-shadow: 0 16px 34px -18px rgba(0, 103, 245, .18);
}
.ns-step-num {
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--blue);
  margin-bottom: 22px;
}
.ns-flow-step h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.24;
  letter-spacing: -.02em;
  color: var(--text);
}
.ns-flow-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.ns-flow-arrow {
  display: grid;
  place-items: center;
  color: #9bb0cb;
}
.ns-flow-arrow svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ns-loop-banner {
  margin-top: 24px;
  padding: 16px 22px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(217, 48, 37, .18);
  box-shadow: 0 10px 28px -18px rgba(217, 48, 37, .22);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--muted);
}
.ns-loop-banner strong {
  color: var(--text);
  font-weight: 600;
}
.ns-loop-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff1f0;
  color: #c8231a;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.ns-loop-tag svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1120px) {
  .ns-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .ns-flow-arrow { display: none; }
}
@media (max-width: 600px) {
  .ns-flow {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ─── 02 · NÃO É FALTA DE ESFORÇO (4 CARDS SEM VILÕES) ─── */
.ns-alts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(2rem, 3.4vw, 2.75rem);
}
.ns-alt-card {
  background: #ffffff;
  border: 1px solid rgba(2, 22, 42, .09);
  border-radius: 20px;
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 32px -20px rgba(2, 22, 42, .14);
}
.ns-alt-ic {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: #eef5ff;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.ns-alt-ic svg {
  width: 22px;
  height: 22px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ns-alt-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.22;
  letter-spacing: -.02em;
}
.ns-alt-verdict {
  margin-top: 6px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--blue-2);
}
.ns-alt-card p {
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.58;
  color: var(--muted);
}

@media (max-width: 1080px) {
  .ns-alts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .ns-alts {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ─── 03 · O QUADRANTE 2×2 — "O ESPAÇO EM ABERTO" (FIEL AO SLIDE 7) ─── */
.ns-quadrant-block {
  margin-top: clamp(3rem, 5vw, 4.5rem);
}
.ns-quadrant-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px 32px;
  margin-bottom: 26px;
}
.ns-quadrant-head h2,
.ns-quadrant-head h3 {
  margin: 0;
  max-width: 760px;
}
.ns-quadrant-head p {
  margin: 10px 0 0;
  max-width: 60ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.ns-quadrant-card {
  position: relative;
  border-radius: 26px;
  padding: clamp(16px, 2.2vw, 32px);
  background:
    radial-gradient(620px 320px at 88% 12%, rgba(0, 121, 255, .10), transparent 68%),
    radial-gradient(520px 280px at 12% 92%, rgba(102, 187, 248, .12), transparent 70%),
    #f3f7fd;
  border: 1px solid rgba(2, 22, 42, .08);
  box-shadow: 0 22px 60px -30px rgba(10, 40, 100, .18);
  overflow: hidden;
}

/* Palco desktop escalado com precisão sub-pixel (mundo interno 1680 × 920) */
.oq-stage-outer {
  position: relative;
  width: 100%;
  aspect-ratio: 1680 / 920;
  overflow: hidden;
}
.oq-stage-inner {
  position: absolute;
  left: 0;
  top: 0;
  width: 1680px;
  height: 920px;
  transform-origin: top left;
}
.oq-world {
  position: absolute;
  left: -195px;
  top: -125px;
  width: 1920px;
  height: 1080px;
  pointer-events: none;
  font-family: var(--font-body);
}
.oq-world .layer { position: absolute; inset: 0; }
.oq-world .st {
  opacity: 1;
  transform: none;
  transition: opacity .65s cubic-bezier(.2, .7, .2, 1), transform .65s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--d, 0s);
}
.ns-quadrant-wrap.is-animating:not(.is-visible) .oq-world .st {
  opacity: 0;
  transform: translateY(12px);
}
.oq-box {
  position: absolute;
  left: 329px;
  top: 170px;
  width: 1080px;
  height: 780px;
  border: 1px solid #d3dbe6;
  border-radius: 8px;
  overflow: hidden;
  background-color: #f8fafd;
  background-image:
    linear-gradient(90deg, rgba(150, 165, 190, .17) 1px, transparent 1px),
    linear-gradient(180deg, rgba(150, 165, 190, .17) 1px, transparent 1px);
  background-size: 90px 78px;
}
.oq-box .tint {
  position: absolute;
  left: 540px;
  top: 0;
  width: 540px;
  height: 390px;
  background: linear-gradient(160deg, rgba(66, 133, 244, .12), rgba(66, 133, 244, .05));
}
.oq-box .vx {
  position: absolute;
  left: 540px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #b9c3d2;
}
.oq-box .hx {
  position: absolute;
  top: 390px;
  left: 0;
  right: 0;
  height: 1px;
  background: #b9c3d2;
}
.oq-tag {
  position: absolute;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #4a5160;
  background: #ffffff;
  border: 1px solid #dce3ec;
  border-radius: 6px;
  padding: 8px 12px 8px 15px;
  line-height: 1;
}
.oq-tag.tl { left: 17px; top: 16px; }
.oq-tag.tr { right: 17px; top: 16px; color: #0079ff; border-color: rgba(0, 121, 255, .28); }
.oq-tag.bl { left: 17px; bottom: 18px; }
.oq-tag.br { right: 17px; bottom: 18px; }

.oq-pt {
  position: absolute;
  height: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.oq-pt .dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(196, 207, 222, .55);
  display: grid;
  place-items: center;
  flex: none;
}
.oq-pt .dot i {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #5b6577;
  box-shadow: 0 0 0 2.5px #ffffff;
  display: block;
}
.oq-pt .lab {
  background: #ffffff;
  border: 1px solid #dfe5ee;
  border-radius: 10px;
  padding: 12px 17px 13px 16px;
  box-shadow: 0 8px 20px -12px rgba(20, 40, 80, .22);
  white-space: nowrap;
}
.oq-pt .lab b {
  display: block;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.015em;
  color: #141414;
}
.oq-pt .lab span {
  display: block;
  font-size: 15px;
  font-weight: 400;
  color: #4a5160;
  margin-top: 3px;
}
.oq-pt.dim .dot i { background: #a9b2c0; }
.oq-pt.dim .lab { background: rgba(255, 255, 255, .82); }
.oq-pt.dim .lab b { color: #5b6577; font-weight: 500; }

.oq-ns {
  position: absolute;
  left: 751px;
  top: 66px;
  padding: 17px 22px 18px 20px;
  border-radius: 14px;
  background: linear-gradient(100deg, #1b65f2, #3888f5 60%, #5da9f8);
  color: #ffffff;
  box-shadow: 0 24px 44px -14px rgba(0, 103, 245, .58), inset 0 1px 0 rgba(255, 255, 255, .35);
  white-space: nowrap;
}
.oq-ns img {
  display: block;
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
}
.oq-ns span {
  display: block;
  font-size: 16px;
  font-weight: 500;
  opacity: .95;
  margin-top: 10px;
}

.oq-al {
  position: absolute;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #6b7688;
  line-height: 1;
}
.oq-an {
  position: absolute;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #3a4352;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}
.oq-an.y {
  left: -164px;
  top: 552px;
  width: 780px;
  transform: rotate(-90deg);
}
.oq-draw {
  position: absolute;
  left: 0;
  top: 0;
  width: 1920px;
  height: 1080px;
  overflow: visible;
}
.oq-draw .dr {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset .9s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--d, 0s);
}
.oq-draw .dr.hd { transition-duration: .28s; }
.ns-quadrant-wrap.is-animating:not(.is-visible) .oq-draw .dr { stroke-dashoffset: 1; }
.oq-draw .fd {
  opacity: 1;
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--d, 0s);
}
.ns-quadrant-wrap.is-animating:not(.is-visible) .oq-draw .fd { opacity: 0; }

.oq-world .hw {
  position: absolute;
  margin: 0;
  font-family: 'Caveat', cursive;
  font-weight: 400;
  font-size: 29px;
  line-height: 31px;
  color: #2b3342;
  white-space: nowrap;
  letter-spacing: .005em;
}
.oq-world .hw.blue {
  color: #1553cc;
  font-weight: 600;
  font-size: 32px;
  line-height: 34px;
}
.oq-world .hw.soft {
  color: #3a7ee8;
  font-size: 28px;
  line-height: 30px;
}
.oq-world .hl {
  background-image: linear-gradient(180deg, transparent 54%, rgba(108, 156, 240, .34) 54%, rgba(108, 156, 240, .34) 94%, transparent 94%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  transition: background-size .55s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--h, 0s);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.ns-quadrant-wrap.is-animating:not(.is-visible) .oq-world .hl {
  background-size: 0% 100%;
}

/* Versão mobile & tablet do Quadrante (100% legível sem zoom ou scroll horizontal) */
.oq-mobile {
  display: none;
}
@media (max-width: 860px) {
  .oq-stage-outer { display: none; }
  .oq-mobile {
    display: grid;
    gap: 14px;
  }
  .oq-mobile-axes {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 16px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .82);
    border: 1px solid #d7e0ec;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #4a5160;
  }
  .oq-mobile-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .oq-m-card {
    background: #ffffff;
    border: 1px solid #dce3ec;
    border-radius: 16px;
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .oq-m-tag {
    align-self: flex-start;
    padding: 5px 10px;
    border-radius: 6px;
    background: #f2f5fa;
    border: 1px solid #dce3ec;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #4a5160;
  }
  .oq-m-card strong {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--text);
    line-height: 1.25;
  }
  .oq-m-sub {
    margin: 0;
    font-size: 13.5px;
    color: var(--muted);
  }
  .oq-m-note {
    margin: 6px 0 0;
    padding-top: 10px;
    border-top: 1px dashed #d7e0ec;
    font-family: 'Caveat', cursive;
    font-size: 22px;
    line-height: 1.2;
    color: #2b3342;
  }
  .oq-m-card.is-nortscale {
    background: linear-gradient(155deg, #0b6ef2 0%, #1c7cf8 60%, #469ff9 100%);
    border-color: rgba(255, 255, 255, .3);
    color: #ffffff;
    box-shadow: 0 18px 40px -18px rgba(0, 103, 245, .55);
  }
  .oq-m-card.is-nortscale .oq-m-tag {
    background: rgba(255, 255, 255, .18);
    border-color: rgba(255, 255, 255, .32);
    color: #ffffff;
  }
  .oq-m-card.is-nortscale img {
    height: 24px;
    width: auto;
    align-self: flex-start;
    margin-top: 2px;
    filter: brightness(0) invert(1);
  }
  .oq-m-card.is-nortscale .oq-m-sub {
    color: rgba(255, 255, 255, .92);
    font-weight: 500;
  }
  .oq-m-card.is-nortscale .oq-m-note {
    border-top-color: rgba(255, 255, 255, .28);
    color: #ffffff;
    font-size: 24px;
  }
}

.ns-quadrant-cta {
  margin-top: 24px;
  padding: 20px 24px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(2, 22, 42, .09);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}
.ns-quadrant-cta p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
}
.ns-quadrant-cta p span {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-top: 2px;
}
.ns-quadrant-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}
.button.outline-dark {
  border-color: rgba(2, 22, 42, .22);
  background: #ffffff;
  color: var(--text);
}
.button.outline-dark:hover {
  border-color: var(--blue);
  color: var(--blue-2);
  background: #f5f9ff;
}

@media (prefers-reduced-motion: reduce) {
  .oq-world .st { opacity: 1; transform: none; transition: none; }
  .oq-draw .dr { stroke-dashoffset: 0; transition: none; }
  .oq-draw .fd { opacity: 1; transition: none; }
  .oq-world .hl { background-size: 100% 100%; transition: none; }
}

/* ─── 04 · VITRINE DE PEÇAS REAIS DO MESMO PRODUTO ─── */
.ns-pieces-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(2rem, 3.6vw, 3rem);
}
.ns-piece-card {
  grid-column: span 4;
  background: #ffffff;
  border: 1px solid rgba(2, 22, 42, .09);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 36px -22px rgba(2, 22, 42, .16);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.ns-piece-card.is-wide {
  grid-column: span 6;
}
.ns-piece-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 121, 255, .32);
  box-shadow: 0 20px 44px -22px rgba(0, 103, 245, .22);
}
.ns-piece-media {
  position: relative;
  margin: 0;
  background: #f4f7fc;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
.ns-piece-card.is-wide .ns-piece-media {
  aspect-ratio: 16 / 10;
}
.ns-piece-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  filter: drop-shadow(0 8px 20px rgba(2, 22, 42, .12));
}
.ns-piece-meta {
  padding: 16px 20px 20px;
  border-top: 1px solid rgba(2, 22, 42, .06);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ns-piece-tag {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--blue-2);
}
.ns-piece-meta strong {
  font-family: var(--font-heading);
  font-size: 17px;
  line-height: 1.25;
  color: var(--text);
}
.ns-piece-meta span {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--muted);
}

.ns-category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.ns-category-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(2, 22, 42, .12);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}
.ns-category-pill:hover,
.ns-category-pill:focus-visible {
  border-color: var(--blue);
  background: #eff6ff;
  color: var(--blue-2);
}
.ns-category-pill.is-all {
  border-style: dashed;
  border-color: rgba(0, 121, 255, .42);
  color: var(--blue-2);
  font-weight: 600;
}

@media (max-width: 980px) {
  .ns-piece-card,
  .ns-piece-card.is-wide {
    grid-column: span 6;
  }
}
@media (max-width: 600px) {
  .ns-pieces-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .ns-piece-card,
  .ns-piece-card.is-wide {
    grid-column: auto;
  }
}

/* ─── 05 · OS 4 MÓDULOS CONECTADOS + 5 DIFERENCIAIS ─── */
.hf-stage-wrap {
  border: 1px solid rgba(2, 22, 42, .12);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow);
}
.hf-stage-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 16px;
  background: #f6f8fb;
  border-bottom: 1px solid rgba(2, 22, 42, .08);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}
.hf-stage-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hf-stage-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  display: block;
}
.hf-stage-caption {
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hf-stage-toggle {
  flex: none;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 121, 255, .28);
  background: #ffffff;
  color: var(--blue-2);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.hf-stage-toggle:hover,
.hf-stage-toggle:focus-visible {
  background: #eff6ff;
  border-color: var(--blue);
  color: var(--blue);
}
.hf-stage-toggle[aria-pressed="true"] {
  background: var(--blue);
  border-color: var(--blue);
  color: #ffffff;
}
.hf-stage-toggle[hidden] {
  display: none !important;
}
.hf-stage-viewport {
  position: relative;
  background: #ffffff;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.hf-stage-viewport img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #ffffff;
}
.hf-stage-viewport video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  background: #ffffff;
}
.hf-stage-viewport [hidden] {
  display: none !important;
}
.hf-item-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 20px;
}
.hf-item-actions .hf-item-cta {
  margin-top: 0;
}
.hf-item-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hf-item-more:hover {
  color: var(--blue);
}

/* Faixa dos 5 Diferenciais da Nova Infraestrutura (Slide 8) */
.ns-diffs-wrap {
  margin-top: clamp(3rem, 5vw, 4.25rem);
  padding-top: clamp(2.5rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line);
}
.ns-diffs-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 24px;
}
.ns-diffs-head h3 {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing: -.025em;
}
.ns-diffs-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.ns-diff-card {
  background: #ffffff;
  border: 1px solid rgba(2, 22, 42, .09);
  border-radius: 18px;
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 10px 28px -18px rgba(2, 22, 42, .12);
}
.ns-diff-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.ns-diff-ic {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #eef5ff;
  display: grid;
  place-items: center;
}
.ns-diff-ic svg {
  width: 20px;
  height: 20px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ns-diff-num {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.ns-diff-card h4 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.02em;
  color: var(--text);
}
.ns-diff-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.52;
  color: var(--muted);
}

@media (max-width: 1180px) {
  .ns-diffs-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .ns-diffs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .ns-diffs-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ─── 06 · CASE DO NATAL + DEPOIMENTO BANGTOYS ─── */
.case-trigger {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 20px 0 0;
  padding: 16px 20px;
  border-radius: 16px;
  background: #f5f9ff;
  border: 1px solid rgba(0, 121, 255, .18);
  max-width: 820px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--muted);
}
.case-trigger strong {
  color: var(--text);
}
.case-trigger-ic {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #ffffff;
  border: 1px solid rgba(0, 121, 255, .2);
  display: grid;
  place-items: center;
  flex: none;
}
.case-trigger-ic svg {
  width: 19px;
  height: 19px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.metrics.metrics-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.metrics.metrics-3 .metric strong {
  font-size: clamp(1.85rem, 2.7vw, 2.55rem);
}
.case-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}
.case-secondary-link {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--blue-2);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.case-secondary-link:hover {
  color: var(--blue);
}
@media (max-width: 760px) {
  .metrics.metrics-3 {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
}

/* ─── 07 · PARA QUEM É (AUTO-SEGMENTAÇÃO POR ÁREA E OPERAÇÃO) ─── */
.ns-icp-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(2rem, 3.6vw, 3rem);
}
.ns-icp-card {
  background: #ffffff;
  border: 1px solid rgba(2, 22, 42, .09);
  border-radius: 20px;
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 12px 30px -20px rgba(2, 22, 42, .14);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.ns-icp-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 121, 255, .35);
  box-shadow: 0 18px 40px -22px rgba(0, 103, 245, .2);
}
.ns-icp-kicker {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue-2);
}
.ns-icp-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.22;
}
.ns-icp-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.56;
  color: var(--muted);
  flex: 1;
}
.ns-icp-card em {
  margin-top: 8px;
  font-style: normal;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-2);
}
.ns-icp-chips {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.ns-icp-chips-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-right: 4px;
}
@media (max-width: 1080px) {
  .ns-icp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .ns-icp-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ─── 08 · PIT REVERSO (OBJEÇÕES ANTECIPADAS · SLIDE 11) ─── */
.ns-objs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(2rem, 3.6vw, 3rem);
}
.ns-obj-card {
  background: #ffffff;
  border: 1px solid rgba(2, 22, 42, .09);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  box-shadow: 0 12px 30px -22px rgba(2, 22, 42, .14);
}
.ns-obj-ic {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: #eef5ff;
  display: grid;
  place-items: center;
  flex: none;
}
.ns-obj-ic svg {
  width: 21px;
  height: 21px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ns-obj-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.28;
  letter-spacing: -.018em;
}
.ns-obj-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.58;
  color: var(--muted);
}
@media (max-width: 820px) {
  .ns-objs-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .ns-obj-card {
    padding: 22px 20px;
  }
}

/* ─── 09 · IMPLANTAÇÃO + PREÇO NO BLOCO AZUL (#sobre) ─── */
.about-steps3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 24px;
}
.about-step {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(6px);
}
.about-step .about-step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  color: #0859c1;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 10px;
}
.about-step strong {
  display: block;
  font-size: 15.5px;
  color: #ffffff;
  margin-bottom: 4px;
}
.about-step > span:not(.about-step-dot) {
  display: block;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .86);
}
.about-price-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 22px;
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(2, 22, 42, .22);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #ffffff;
}
.about-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
}
.about-price-from {
  font-size: 14px;
  color: rgba(255, 255, 255, .84);
}
.about-price-val {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
}
.about-price-per {
  font-size: 13.5px;
  color: rgba(255, 255, 255, .88);
}
@media (max-width: 720px) {
  .about-steps3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ─── SUBPÁGINAS: BLOCO DE QUADRANTE EM SUBPÁGINAS ─── */
.sp-section .ns-quadrant-block {
  margin-top: 0;
}
