/* ======================================================================
   NextPersonal Landing Page V2 — CSS Vanilla
   Mobile-first, dark premium, sem dependências externas
   ====================================================================== */

/* Reset e base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Navegadores dão a <button> uma cor de texto própria (tipicamente preta),
   diferente de <div>/<a>, que herdam do body. Sem isto, qualquer botão sem
   cor explícita (como o SVG com stroke="currentColor" do hambúrguer) fica
   preto sobre fundo escuro — invisível. */
button {
  font: inherit;
  color: inherit;
}

html {
  scroll-behavior: smooth;
  /* Sem isto o Safari/iOS ainda permite arrastar o dedo pro lado e revelar
     conteúdo fora da tela, mesmo com overflow-x:hidden só no body — no
     iOS o pan por toque é regido pelo elemento raiz (html), não pelo body. */
  overflow-x: hidden;
}

body {
  background-color: var(--np-black);
  overflow-x: hidden;
  color: var(--np-white);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: clamp(0.95rem, 1.2vw, 1.125rem);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-locked {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

/* Tokens — Design System */
:root {
  --np-green: #E0FC3D;
  --np-green-600: #CCE538;
  --np-green-300: #EAFD7D;
  --np-black: #000000;
  --np-gray-900: #151515;
  --np-gray-800: #1B1B1B;
  --np-gray-700: #232323;
  --np-gray-600: #2D2D2D;
  --np-gray-500: #313131;
  --np-gray-300: #757575;
  --np-gray-200: #A0A0A0;
  --np-gray-100: #BFBFBF;
  --np-white: #F8FAF5;
  --np-blue: #3DB3FC;
  --np-pix: #3DE3FC;

  /* Fallbacks para variáveis setadas pelo JS */
  --mx: 0;
  --my: 0;
  --p: 0;
  --dur: 40s;
  --i: 0;
}

/* Tipografia fluida */
h1 {
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h3 {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 600;
}

p {
  line-height: 1.6;
}

/* Links e interatividade */
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--np-green);
}

/* Focus acessível */
:focus-visible {
  outline: 2px solid var(--np-green);
  outline-offset: 3px;
}

/* ======================================================================
   Utilidades
   ====================================================================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.np-container {
  /* `width: 100%` é o que importa aqui: como item de um flex column
     (.np-student usa display:flex), `margin-inline: auto` por si só não
     estica o item — o auto-margin do flexbox absorve o espaço extra em vez
     de forçar 100% de largura, e o container encolhe para caber no
     conteúdo (o trilho do marquee, propositalmente mais largo que a
     viewport). Com width:100% o container sempre ocupa a largura do pai, e
     margin-inline:auto só centraliza dentro do max-width quando aplicável. */
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
  min-width: 0;
}

.np-section {
  padding-block: clamp(3.5rem, 6vw, 6rem);
}

.np-section--alt {
  background-color: var(--np-gray-900);
}

.np-section--tight {
  padding-block: clamp(2rem, 3vw, 3rem);
}

.np-eyebrow {
  display: inline-block;
  font-size: clamp(0.75rem, 1vw, 0.875rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--np-green);
  margin-bottom: 1rem;
}

.np-lead {
  font-size: clamp(1rem, 1.1vw, 1.25rem);
  color: var(--np-gray-200);
  line-height: 1.7;
}

.np-grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-top: clamp(2rem, 5vw, 4rem);
}

/* ======================================================================
   Botões
   ====================================================================== */

.np-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
  white-space: nowrap;
}

.np-btn--primary {
  background-color: var(--np-green);
  color: var(--np-black);
}

.np-btn--primary:hover {
  background-color: var(--np-green-300);
  color: var(--np-black);
  transform: translateY(-2px);
}

.np-btn--ghost {
  background-color: transparent;
  border: 1px solid var(--np-gray-600);
  color: var(--np-white);
}

.np-btn--ghost:hover {
  border-color: var(--np-green);
  color: var(--np-green);
  background-color: rgba(224, 252, 61, 0.05);
}

.np-btn--lg {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
}

/* ======================================================================
   Header
   ====================================================================== */

.np-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(0);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.np-header.is-scrolled {
  backdrop-filter: blur(10px);
  border-bottom-color: var(--np-gray-600);
  padding-block: 0.75rem;
}

.np-header .np-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
}

.np-header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* O wordmark é 480x33 (proporção ~14,5:1). Dimensionar por altura o estica para
   centenas de pixels de largura, então a restrição tem de ser horizontal. */
.np-header__logo img {
  /* Piso menor no mobile: logo + 2 botões precisam caber juntos numa tela
     pequena. Sem o hamburguer disputando espaço, dá pra crescer um pouco
     em relação ao piso anterior. */
  width: clamp(80px, 20vw, 168px);
  height: auto;
}

.np-nav {
  display: none;
  gap: clamp(1rem, 2vw, 2rem);
  align-items: center;
}

@media (min-width: 768px) {
  .np-nav {
    display: flex;
  }
}

.np-nav__link {
  font-size: clamp(0.9rem, 1vw, 1rem);
  color: var(--np-gray-200);
  font-weight: 500;
  transition: color 0.3s ease;
}

.np-nav__link:hover {
  color: var(--np-green);
}

.np-header__actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

/* Sem o hambúrguer sobrando espaço, os dois botões (Entrar +
   Cadastre-se grátis) podem respirar mais que antes. Ainda compactos no
   piso, crescem em telas com mais espaço. */
.np-header__actions .np-btn {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  white-space: nowrap;
}

@media (min-width: 400px) {
  .np-header__actions .np-btn {
    padding: 0.65rem 1.2rem;
    font-size: 0.9rem;
  }
}

@media (min-width: 480px) {
  .np-header__actions {
    gap: clamp(0.5rem, 2vw, 1rem);
  }

  .np-header__actions .np-btn {
    padding: 0.7rem 1.35rem;
    font-size: 0.95rem;
  }
}

/* Menu hambúrguer removido: abaixo de 768px não existe mais um segundo menu
   de tela cheia — só o header com logo + Entrar + Cadastre-se grátis. As
   seções continuam alcançáveis por scroll numa página única. */

/* ======================================================================
   Hero
   ====================================================================== */

.np-hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(4rem, 8vw, 6rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.np-hero .np-container {
  position: relative;
  z-index: 10;
  text-align: left;
  max-width: 1200px;
}

.np-hero__badge {
  display: inline-block;
  font-size: clamp(0.75rem, 1vw, 0.875rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--np-green);
  margin-bottom: 1rem;
}

.np-hero h1 {
  color: var(--np-white);
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

/* Removido: a margem aqui somava com o gap do .np-hero__grid e criava
   quase o dobro do respiro pretendido entre o texto e a composição de
   celulares no mobile — o gap do grid sozinho já é suficiente. */

.np-hero__actions {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

@media (min-width: 768px) {
  .np-hero__actions {
    flex-direction: row;
    justify-content: center;
  }
}

.np-hero__note {
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  color: var(--np-gray-200);
}

.np-hero__highlight {
  color: var(--np-green);
  display: inline;
}

.np-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "content" "showcase" "cta";
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

/* No mobile o visual do produto entra ENTRE o texto e o CTA — badge/H1/lead
   primeiro (o gancho), depois a composição de celulares (prova visual),
   só then os botões. Sem isso a dobra inicial no mobile é só texto, o que
   lê como "muito simples" perto de qualquer concorrente que abre com uma
   imagem do produto. */
.np-hero__content {
  grid-area: content;
}

.np-hero__showcase {
  grid-area: showcase;
}

.np-hero__cta {
  grid-area: cta;
}

@media (min-width: 1024px) {
  .np-hero__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "content showcase" "cta showcase";
  }
}

.np-hero__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.np-hero__cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.np-hero__showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Folga lateral para os chips ancorados em `left:0` / `right:0` ficarem
     dentro da coluna em vez de serem cortados na borda do grid. */
  padding-inline: clamp(1.5rem, 4vw, 3.25rem);
  /* Profundidade para o tilt 3D dos celulares (mousemove, ver main.js). */
  perspective: 1200px;
}

/* Glow único de "respiração" atrás de toda a composição — substitui os vários
   chips balançando cada um por conta própria: aqui é UM elemento, pulsando
   devagar, dando vida à cena sem parecer várias notificações piscando. */
.np-hero__glow {
  position: absolute;
  inset: -12% -6%;
  z-index: 0;
  background: radial-gradient(circle at 50% 45%, rgba(224, 252, 61, 0.22), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
  animation: hero-glow-breathe 7s ease-in-out infinite alternate;
}

@keyframes hero-glow-breathe {
  from { opacity: 0.5; }
  to   { opacity: 1; }
}

/* Os três aparelhos ficam em fluxo flex com sobreposição por margem negativa.
   Posicionamento absoluto foi evitado de propósito: o `transform` de rotação
   entraria em conflito com o `translate` de centralização e com as animações. */
.np-phone {
  width: clamp(170px, 18vw, 240px);
  height: auto;
  display: block;
  border-radius: 22px;
  border: 1px solid var(--np-gray-600);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
  position: relative;
  z-index: 2;
  /* Tilt 3D sutil somado à rotação estática de cada celular (--rx/--ry vêm
     do mousemove em initHeroTilt(), main.js). */
  transform: rotateY(calc(var(--rx, 0) * 6deg)) rotateX(calc(var(--ry, 0) * -6deg));
  transition: transform 0.4s ease-out;
}

/* Celulares de trás: precisam ficar recuados e mais discretos sem revelar a
   sobreposição por baixo. `opacity` deixaria o aparelho translúcido (dupla
   exposição com o celular da frente); `filter` escurece e dessatura mantendo
   o elemento 100% opaco, então a borda e a tela não "vazam". Também são um
   pouco menores que o celular da frente para reforçar a hierarquia. */
.np-phone--back-left,
.np-phone--back-right {
  width: clamp(145px, 16vw, 200px);
  filter: brightness(0.55) saturate(0.7);
}

/* Escalonamento vertical assimétrico (translateY + ângulos diferentes entre si):
   quebra de propósito o alinhamento horizontal em leque que é a marca do
   padrão do concorrente — aqui os aparelhos de trás não giram em espelho nem
   ficam na mesma altura do da frente. O tilt do mouse (rotateY/rotateX) soma
   à rotação estática em vez de substituí-la. */
.np-phone--back-left {
  transform: rotate(-12deg) translateY(22px) rotateY(calc(var(--rx, 0) * 6deg)) rotateX(calc(var(--ry, 0) * -6deg));
  margin-right: clamp(-30px, -2vw, -10px);
  z-index: 1;
  animation: hero-fade 0.9s ease-out 0.15s both;
}

.np-phone--front {
  z-index: 3;
  animation: hero-fade 0.9s ease-out 0s both;
}

.np-phone--back-right {
  transform: rotate(5deg) translateY(-28px) rotateY(calc(var(--rx, 0) * 6deg)) rotateX(calc(var(--ry, 0) * -6deg));
  margin-left: clamp(-30px, -2vw, -10px);
  z-index: 1;
  animation: hero-fade 0.9s ease-out 0.3s both;
}

/* A entrada anima só a opacidade (0 -> 1, todos totalmente opacos). Animar
   `transform` sobrescreveria a rotação estática dos aparelhos laterais; o
   recuo visual deles vem do `filter` acima, não de opacidade parcial. */
@keyframes hero-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.np-hero__chip {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  background-color: rgba(21, 21, 21, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--np-gray-600);
  border-radius: 14px;
  padding: 0.6rem 0.9rem;
  /* Entrada única com fade + leve translateY, atraso crescente por --i
     (mesmo padrão de stagger do .np-reveal). Depois de entrar, fica parado —
     sem loop de bounce por chip (isso é o padrão do concorrente). */
  animation: chip-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--i, 0) * 120ms) both;
  font-size: 0.7rem;
}

.np-hero__chip svg {
  color: var(--np-green);
  width: 16px;
  height: 16px;
  margin-bottom: 0.2rem;
}

.np-hero__chip strong {
  color: var(--np-white);
  font-size: 0.8rem;
  font-weight: 600;
}

.np-hero__chip small {
  color: var(--np-gray-200);
  font-size: 0.7rem;
}

/* Chip com mini-gráfico (sparkline) no lugar do ícone — identidade visual
   própria para os eventos que fazem sentido como dado (Evolução, Treino). */
.np-hero__chip svg.np-hero__chip-spark {
  width: 44px;
  height: 18px;
  margin-bottom: 0.3rem;
}

.np-hero__chip-spark polyline {
  fill: none;
}

.np-hero__chip-spark circle {
  fill: currentColor;
}

.np-hero__chip--1 {
  top: 4%;
  left: 0;
}

.np-hero__chip--2 {
  top: 20%;
  right: 0;
}

.np-hero__chip--3 {
  top: 46%;
  left: 0;
}

.np-hero__chip--4 {
  bottom: 16%;
  right: 0;
}

.np-hero__chip--5 {
  bottom: 2%;
  left: 6%;
}

@keyframes chip-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile: esconder celulares de trás */
@media (max-width: 1023px) {
  .np-phone--back-left,
  .np-phone--back-right {
    display: none;
  }
}

/* ======================================================================
   Showcase Section (Painel)
   ====================================================================== */

.np-showcase h2 {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.np-showcase .np-tilt {
  max-width: 100%;
}

.np-showcase .np-tilt img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

/* ======================================================================
   Efeitos — Aurora Background
   ====================================================================== */

.np-aurora {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: 0.28;
  pointer-events: none;
}

.np-aurora::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(100deg, #000 0%, #000 7%, transparent 10%, transparent 12%, #000 16%),
    repeating-linear-gradient(100deg, var(--np-green) 10%, #9FB32B 15%, var(--np-green-300) 20%, #F1FEA6 25%, var(--np-green-600) 30%);
  background-size: 300% 200%;
  background-position: 50% 50%;
  filter: blur(10px);
  mask-image: radial-gradient(ellipse at 100% 0%, black 10%, transparent 70%);
  animation: aurora 60s linear infinite;
}

@keyframes aurora {
  0% {
    background-position: 50% 50%;
  }
  100% {
    background-position: 350% 50%;
  }
}

/* ======================================================================
   Efeitos — Spotlight
   ====================================================================== */

.np-spotlight {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.np-spotlight::before,
.np-spotlight::after {
  content: '';
  position: absolute;
  width: 560px;
  height: 1380px;
  pointer-events: none;
  animation: spotlight-float 8s ease-in-out infinite alternate;
}

/* Origem do glow deslocada e assimétrica entre os dois feixes (tamanho,
   posição vertical e força diferentes) para não repetir a composição
   centrada e espelhada do concorrente atrás dos celulares. */
.np-spotlight::before {
  left: -6%;
  top: -430px;
  transform: rotate(-38deg);
  background: radial-gradient(64% 70% at 62% 24%, hsla(72, 97%, 61%, 0.13) 0, hsla(72, 90%, 55%, 0.05) 48%, transparent 78%);
}

.np-spotlight::after {
  right: -16%;
  top: -260px;
  transform: rotate(52deg);
  background: radial-gradient(58% 64% at 36% 42%, hsla(72, 97%, 61%, 0.08) 0, hsla(72, 90%, 55%, 0.03) 46%, transparent 76%);
}

@keyframes spotlight-float {
  0%, 100% {
    transform: translateX(0) rotate(-38deg);
  }
  50% {
    transform: translateX(10px) rotate(-38deg);
  }
}

.np-spotlight::after {
  animation-name: spotlight-float-right;
}

@keyframes spotlight-float-right {
  0%, 100% {
    transform: translateX(0) rotate(52deg);
  }
  50% {
    transform: translateX(-10px) rotate(52deg);
  }
}

/* ======================================================================
   Efeitos — Grid Background
   ====================================================================== */

.np-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

/* ======================================================================
   Efeitos — Card Spotlight
   ====================================================================== */

.np-card-spotlight {
  position: relative;
  border: 1px solid var(--np-gray-600);
  background-color: var(--np-gray-700);
  border-radius: 20px;
  padding: clamp(1.5rem, 3vw, 2rem);
  transition: all 0.3s ease;
  overflow: hidden;
}

.np-card-spotlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(224, 252, 61, 0.1), transparent 60%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.np-card-spotlight:hover::before {
  opacity: 1;
}

.np-card-spotlight > * {
  position: relative;
  z-index: 2;
}

/* ======================================================================
   Efeitos — Glow Border
   ====================================================================== */

.np-glow-border {
  position: relative;
  border: 1px solid var(--np-gray-600);
  border-radius: 20px;
  background-color: var(--np-gray-700);
  transition: all 0.3s ease;
  overflow: hidden;
}

.np-glow-border::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 20px;
  padding: 1px;
  background: conic-gradient(from 0deg, var(--np-green), var(--np-green));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: none;
}

.np-glow-border:hover::before {
  opacity: 1;
  animation: spin-border 2s linear infinite;
}

@keyframes spin-border {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}

/* ======================================================================
   Efeitos — Marquee (Infinite Moving Cards)
   ====================================================================== */

.np-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.np-marquee__track {
  display: flex;
  gap: clamp(1rem, 2vw, 1.5rem);
  width: fit-content;
  animation: marquee var(--dur, 40s) linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - clamp(1rem, 2vw, 1.5rem) / 2));
  }
}

.np-marquee__track:hover {
  animation-play-state: paused;
}

/* Segunda faixa: mesma animação correndo no sentido oposto */
.np-marquee--reverse .np-marquee__track {
  animation-direction: reverse;
}

.np-marquee--reverse {
  display: none;
}

.np-marquee__item:not(.np-marquee__item--clone):nth-child(n + 5) {
  display: none;
}

.np-marquee__item {
  flex-shrink: 0;
  width: clamp(220px, 24vw, 280px);
}

.np-marquee__item figure {
  margin: 0;
}

.np-marquee__item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.np-marquee__item figcaption {
  margin-top: clamp(0.75rem, 1.5vw, 1rem);
}

.np-marquee__item h3 {
  color: var(--np-white);
  margin-bottom: 0.5rem;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.45;
}

.np-marquee__item p {
  font-size: 0.8rem;
  color: var(--np-gray-200);
  line-height: 1.45;
}

/* ======================================================================
   Efeitos — Meteors
   ====================================================================== */

.np-meteors {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.np-meteors span {
  position: absolute;
  width: 1px;
  height: 1px;
  background-color: rgba(224, 252, 61, 0.5);
  border-radius: 50%;
  transform: rotate(215deg);
  will-change: transform;
}

.np-meteors span::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 1px;
  background: linear-gradient(to right, var(--np-green), transparent);
  transform: translateY(-50%);
}

.np-meteors span {
  animation: meteor 2s linear infinite;
}

@keyframes meteor {
  0% {
    transform: translateY(-100vh) rotate(215deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(215deg);
    opacity: 0;
  }
}

/* ======================================================================
   Efeitos — Tilt (3D Scroll Animation)
   ====================================================================== */

.np-tilt {
  position: relative;
  perspective: 1200px;
}

.np-tilt > img,
.np-tilt > video,
.np-tilt > div {
  transform: rotateX(calc(var(--p, 0) * -22deg)) scale(calc(1 - var(--p, 0) * 0.08));
  transform-origin: center;
  transition: transform 0.3s ease-out;
}

/* ======================================================================
   Efeitos — Reveal (Fade Up)
   ====================================================================== */

.np-reveal {
  opacity: 1;
}

/* O estado inicial escondido só vale quando há JavaScript para revelar de volta.
   Sem a classe `js` no <html>, o conteúdo nasce visível — caso contrário uma
   falha do observer (ou o JS desligado) esconderia metade da página. */
.js .np-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i, 0) * 100ms);
}

.js .np-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ======================================================================
   Efeitos — Beam (Vertical Line Fill)
   ====================================================================== */

.np-beam {
  position: relative;
  display: flex;
  flex-direction: column;
}

.np-beam::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--np-green);
  transform: scaleY(calc(var(--p, 0)));
  transform-origin: top;
  opacity: 0.6;
  z-index: -1;
}

/* ======================================================================
   Trust Bar
   ====================================================================== */

.np-trustbar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  padding-block: clamp(1.75rem, 3vw, 2.5rem);
}

@media (min-width: 768px) {
  .np-trustbar {
    grid-template-columns: repeat(4, 1fr);
  }
}

.np-trustbar__item {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-inline: clamp(1rem, 2.5vw, 2rem);
  text-align: center;
}

.np-trustbar__item + .np-trustbar__item {
  border-left: 1px solid var(--np-gray-600);
}

.np-trustbar__item svg {
  width: 2rem;
  height: 2rem;
  margin: 0 auto;
  color: var(--np-green);
}

.np-trustbar__item p {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0;
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  color: var(--np-gray-200);
}

.np-trustbar__item strong {
  color: var(--np-white);
  font-size: 0.95rem;
}

.np-trustbar__item span {
  color: var(--np-gray-300);
  line-height: 1.4;
}

@media (max-width: 767px) {
  .np-trustbar {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 1.5rem;
  }

  .np-trustbar__item:nth-child(3) {
    border-left: 0;
  }
}

/* ======================================================================
   Bento Grid
   ====================================================================== */

.np-bento {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}

@media (min-width: 1024px) {
  .np-bento {
    grid-template-columns: repeat(4, 1fr);
  }
}

.np-bento__card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.5rem, 2vw, 2rem);
  border: 1px solid var(--np-gray-600);
  background-color: var(--np-gray-700);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.np-bento__card:hover {
  border-color: var(--np-green);
  background-color: rgba(224, 252, 61, 0.03);
}

.np-bento__card--wide {
  grid-column: span 2;
}

@media (max-width: 1024px) {
  .np-bento__card--wide {
    grid-column: span 1;
  }
}

.np-bento__icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--np-green);
}

.np-bento__card h3 {
  margin: 0;
  color: var(--np-white);
}

.np-bento__card p {
  font-size: clamp(0.9rem, 1vw, 1rem);
  color: var(--np-gray-200);
  line-height: 1.5;
  margin: 0;
}

.np-bento__media {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.np-bento__card--wide .np-bento__media {
  margin: 1rem 0;
}

/* ======================================================================
   App Show Section
   ====================================================================== */

.np-appshow {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3rem);
}

.np-appshow__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
}

@media (min-width: 1024px) {
  .np-appshow__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.np-appshow__hero {
  position: relative;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Glow suave e permanente atrás do celular — dá um enquadramento mais
   produzido à imagem sem depender de hover (a seção não é interativa). */
.np-appshow__hero::before {
  content: '';
  position: absolute;
  inset: 8% 18%;
  z-index: 0;
  background: radial-gradient(circle, rgba(224, 252, 61, 0.16), transparent 70%);
  filter: blur(48px);
  pointer-events: none;
}

.np-appshow__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Cada item ganha um selo com ícone à esquerda e um separador fino entre
   itens — mais identidade visual que a pilha simples de <article> anterior,
   sem virar um card com borda igual aos do bento. */
.np-appshow__list-item {
  display: flex;
  gap: clamp(1rem, 2vw, 1.25rem);
  align-items: flex-start;
  padding-block: clamp(1.25rem, 2vw, 1.5rem);
  border-bottom: 1px solid var(--np-gray-600);
}

.np-appshow__list-item:first-child {
  padding-top: 0;
}

.np-appshow__list-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.np-appshow__list-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background-color: var(--np-gray-700);
  border: 1px solid var(--np-gray-600);
  color: var(--np-green);
}

.np-appshow__list-text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.np-appshow__list h3 {
  margin: 0;
  color: var(--np-white);
}

.np-appshow__list p {
  margin: 0;
  font-size: clamp(0.9rem, 1vw, 1rem);
  color: var(--np-gray-200);
  line-height: 1.5;
}

/* ======================================================================
   Resultados — comparação de fotos e evolução (painel do coach)
   ====================================================================== */

.np-results__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}

@media (min-width: 1024px) {
  .np-results__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.np-results__card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: clamp(1.25rem, 2vw, 1.75rem);
}

/* Card grande (comparação de fotos): domina a seção. Ocupa a largura toda no
   desktop e, dentro dele, a imagem widescreen ganha mais espaço que o texto —
   mesma linguagem de .np-bento__card--wide/.np-bento__body, mas com uma
   proporção de colunas própria para o print 1573x831. */
@media (min-width: 1024px) {
  .np-results__card--wide {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(1.5rem, 3vw, 2.5rem);
  }
}

.np-results__media {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--np-gray-600);
}

.np-results__media img {
  display: block;
  width: 100%;
  height: auto;
}

.np-results__body h3 {
  color: var(--np-white);
  margin-bottom: 0.5rem;
}

.np-results__body p {
  font-size: clamp(0.9rem, 1vw, 1rem);
  color: var(--np-gray-200);
  line-height: 1.5;
  margin: 0;
}

/* ======================================================================
   Student Experience Section
   ====================================================================== */

.np-student {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3rem);
}

.np-student > p {
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  color: var(--np-gray-200);
  max-width: 800px;
}

.np-store-badges {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: clamp(1.5rem, 2vw, 2rem);
}

@media (min-width: 768px) {
  .np-store-badges {
    flex-direction: row;
  }
}

.np-store-badges a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.2rem;
  border: 1px solid var(--np-gray-600);
  border-radius: 12px;
  background-color: transparent;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.np-store-badges a:hover {
  border-color: var(--np-green);
  background-color: rgba(224, 252, 61, 0.05);
}

.np-store-badges svg {
  width: 18px;
  height: 18px;
}

/* ======================================================================
   Comparativo
   ====================================================================== */

.np-compare {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.np-compare__list {
  display: flex;
  flex-direction: column;
}

.np-compare__legend,
.np-compare__item {
  display: grid;
  grid-template-columns: minmax(140px, 0.8fr) minmax(0, 1.25fr) minmax(0, 1.25fr);
  gap: 1.25rem;
  align-items: center;
}

.np-compare__legend {
  padding: 0 1.5rem 0.75rem;
  color: var(--np-gray-300);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.np-compare__item {
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--np-gray-600);
  border-radius: 12px;
  background: linear-gradient(100deg, rgba(224, 252, 61, 0.06), transparent 42%), var(--np-gray-700);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.np-compare__item + .np-compare__item {
  margin-top: 0.75rem;
}

.np-compare__item:hover {
  border-color: var(--np-gray-500);
  transform: translateY(-2px);
}

.np-compare__item h3 {
  margin: 0;
  font-weight: 700;
  color: var(--np-white);
}

.np-compare__item p {
  margin: 0;
  color: var(--np-gray-200);
  line-height: 1.5;
}

.np-compare__yes::before,
.np-compare__no::before {
  display: inline-block;
  margin-right: 0.5rem;
  font-weight: 700;
}

.np-compare__yes::before {
  content: '✓';
  color: var(--np-green);
}

.np-compare__no::before {
  content: '—';
  color: var(--np-gray-300);
}

.np-compare__note {
  font-size: clamp(0.8rem, 0.9vw, 0.85rem);
  color: var(--np-gray-300);
  margin-top: clamp(1.5rem, 2vw, 2rem);
  text-align: center;
  font-style: italic;
}

@media (max-width: 640px) {
  .np-compare__legend {
    display: none;
  }

  .np-compare__item {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    padding: 1.25rem;
  }

  .np-compare__item h3 {
    padding-bottom: 0.35rem;
    border-bottom: 1px solid var(--np-gray-600);
  }
}

/* ======================================================================
   Planos
   ====================================================================== */

.np-plans {
  position: relative;
  margin-top: clamp(2rem, 4vw, 3rem);
}

/* Brilho radial atrás dos cards — o fundo deixa de ser chapado, no mesmo
   espírito do aurora/spotlight usados no hero e no CTA final. */
.np-plans__glow {
  position: absolute;
  left: 50%;
  top: 6%;
  width: min(920px, 92vw);
  height: 620px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(224, 252, 61, 0.16), rgba(224, 252, 61, 0.05) 55%, transparent 78%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}

.np-plans .np-container {
  position: relative;
  z-index: 1;
}

/* Pill compacto: os botões viram segmentos de um único toggle, não dois
   botões soltos — mais contraste e definição contra o fundo. */
.np-plans__toggle {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  width: fit-content;
  margin-inline: auto;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  padding: 0.3rem;
  background-color: var(--np-gray-800);
  border: 1px solid var(--np-gray-600);
  border-radius: 999px;
}

.np-plans__toggle button {
  background-color: transparent;
  border: none;
  color: var(--np-gray-200);
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  font-size: clamp(0.9rem, 1vw, 1rem);
  transition: all 0.3s ease;
}

.np-plans__toggle button[aria-pressed="true"] {
  background-color: var(--np-green);
  color: var(--np-black);
  box-shadow: 0 4px 16px rgba(224, 252, 61, 0.35);
}

.np-plans__toggle button span {
  margin-left: 0.35rem;
  font-weight: 700;
}

.np-plans__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(2rem, 3vw, 2.5rem);
  margin-top: clamp(2rem, 4vw, 3rem);
  align-items: stretch;
}

.np-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  /* Card estava "extremamente grande" no mobile — gap generoso demais entre
     6-9 blocos (selo, título, preço, tagline, lista, botão) somava bastante
     altura. Apertado para caber mais sem rolagem. */
  gap: clamp(0.85rem, 1.5vw, 1.1rem);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  border: 1px solid var(--np-gray-600);
  background-color: var(--np-gray-700);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.np-plan:hover {
  border-color: var(--np-gray-500);
  transform: translateY(-4px);
}

/* Card em destaque: borda + glow na cor de marca sempre visíveis, elevando o
   card antes mesmo de ler o preço. O `scale` extra só entra a partir do
   tablet — em 1 coluna ele estouraria a largura do container. */
.np-plan--featured {
  border: 2px solid var(--np-green);
  background: linear-gradient(160deg, rgba(224, 252, 61, 0.08), transparent 60%), var(--np-gray-700);
  box-shadow: 0 0 0 1px rgba(224, 252, 61, 0.25), 0 30px 70px -24px rgba(224, 252, 61, 0.4);
  padding: clamp(1.75rem, 2.8vw, 2.25rem);
}

@media (min-width: 768px) {
  .np-plan--featured {
    transform: scale(1.05);
  }

  .np-plan--featured:hover {
    transform: scale(1.05) translateY(-4px);
  }
}

@media (min-width: 1024px) {
  .np-plan--featured {
    transform: scale(1.07);
  }

  .np-plan--featured:hover {
    transform: scale(1.07) translateY(-4px);
  }
}

/* O selo fica DENTRO do fluxo normal do card (não mais `position:absolute`
   flutuando sobre a borda). Um selo flutuando fora do card é vulnerável a
   ficar cortado em QUALQUER posição de scroll onde o topo do card coincida
   com o topo da viewport (o header sticky cobre uma faixa, e não existe
   z-index que resolva o card estar simplesmente scrollado para fora da
   tela) — o único jeito confiável é o selo nunca existir fora dos limites
   do próprio card. */
.np-plan__tag {
  align-self: center;
  background-color: var(--np-green);
  color: var(--np-black);
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
  margin-bottom: -0.5rem;
}

.np-plan h3 {
  margin: 0;
  color: var(--np-white);
}

/* Número grande em destaque, "R$" menor ao lado, período discreto na mesma
   linha — tipografia de preço mais forte que o bloco único de antes. */
.np-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
  color: var(--np-white);
}

.np-price__currency {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 700;
  color: var(--np-gray-200);
}

.np-price__amount {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.np-price__period {
  font-size: 0.9rem;
  color: var(--np-gray-200);
  font-weight: 400;
}

.np-price__note {
  font-size: 0.8rem;
  color: var(--np-gray-300);
  width: 100%;
}

/* Qualificação do plano logo abaixo do preço, em destaque de cor. */
.np-plan__tagline {
  color: var(--np-green);
  font-weight: 600;
  font-size: clamp(0.9rem, 1vw, 1rem);
}

.np-plan__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  /* Mesma lógica: com até 9 itens no plano Pro, cada 0,1rem de gap a mais
     vira quase 1rem de altura extra somada. */
  gap: 0.65rem;
}

.np-plan__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: clamp(0.9rem, 1vw, 1rem);
  color: var(--np-gray-200);
  line-height: 1.5;
}

.np-plan__features li svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--np-green);
}

.np-plan .np-btn {
  margin-top: auto;
  width: 100%;
}

/* ======================================================================
   Sobre (About)
   ====================================================================== */

/* Sem foto nesta seção (removida por decisão de produto): o header fica
   centralizado numa coluna de leitura confortável e os 3 pilares ganham a
   largura toda da seção, em cards — não mais um grid de 2 colunas com imagem. */
.np-about__pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2rem);
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
}

@media (min-width: 1024px) {
  .np-about__pillars {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mesma família visual de .np-bento__card / .np-plan: borda sutil, fundo
   np-gray-700 e cantos arredondados de 20px — herdados de .np-card-spotlight. */
.np-about__pillar {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.np-about__pillar-number {
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 800;
  color: var(--np-green);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.np-about__pillar h3 {
  color: var(--np-white);
  margin-bottom: 0.25rem;
}

.np-about__pillar p {
  font-size: clamp(0.9rem, 1vw, 1rem);
  color: var(--np-gray-200);
  line-height: 1.6;
}

/* ======================================================================
   FAQ
   ====================================================================== */

/* Header centralizado numa medida de leitura confortável, no mesmo espírito
   do cabeçalho do "Quem somos". */
.np-faq__header {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
}

/* A lista de perguntas pode ser um pouco mais larga que o header: os itens
   viraram cards com peso visual próprio, então sustentam mais largura. */
.np-faq__list {
  max-width: 920px;
  margin-inline: auto;
  margin-top: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: clamp(0.85rem, 1.5vw, 1.1rem);
}

/* Cada pergunta agora é um card próprio (mesma família de .np-bento__card),
   não mais uma linha separada só por borda inferior. */
.np-faq__item {
  border: 1px solid var(--np-gray-600);
  background-color: var(--np-gray-800);
  border-radius: 16px;
  padding: clamp(1.1rem, 2vw, 1.4rem) clamp(1.25rem, 3vw, 1.75rem);
  cursor: pointer;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.np-faq__item:hover {
  border-color: var(--np-gray-500);
  background-color: var(--np-gray-700);
}

.np-faq__item[open] {
  border-color: var(--np-green);
  background-color: var(--np-gray-700);
}

.np-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  color: var(--np-white);
  list-style: none;
}

.np-faq__q::marker {
  content: '';
}

/* O chevron ganha um círculo de fundo para reforçar que é interativo, e gira
   180° ao abrir em vez de usar um "+" separado sobreposto ao ícone. */
.np-faq__q svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  padding: 7px;
  box-sizing: content-box;
  border-radius: 50%;
  background-color: var(--np-gray-600);
  color: var(--np-green);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.np-faq__item[open] .np-faq__q svg {
  transform: rotate(180deg);
  background-color: rgba(224, 252, 61, 0.15);
}

.np-faq__a {
  color: var(--np-gray-200);
  font-size: clamp(0.9rem, 1vw, 1rem);
  line-height: 1.7;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--np-gray-600);
}

/* ======================================================================
   CTA Section
   ====================================================================== */

.np-cta {
  position: relative;
  text-align: center;
  padding-block: clamp(4rem, 8vw, 6rem);
  overflow: hidden;
}

.np-cta .np-container {
  position: relative;
  z-index: 10;
}

.np-cta h2 {
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.np-cta .np-lead {
  margin-bottom: clamp(2rem, 3vw, 2.5rem);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.np-cta .np-btn {
  margin: 0 auto;
}

/* ======================================================================
   Footer
   ====================================================================== */

.np-footer {
  border-top: 1px solid var(--np-gray-600);
  padding-block: clamp(3rem, 5vw, 4rem);
  background-color: var(--np-gray-900);
}

.np-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(2rem, 3vw, 3rem);
  margin-bottom: clamp(2rem, 3vw, 3rem);
  padding-bottom: clamp(2rem, 3vw, 3rem);
  border-bottom: 1px solid var(--np-gray-600);
}

.np-footer__brand img {
  width: 168px;
  height: auto;
  margin-bottom: 1rem;
}

.np-footer__brand p {
  font-size: 0.9rem;
  color: var(--np-gray-200);
  line-height: 1.6;
  max-width: 34ch;
}

.np-footer__col h3 {
  font-size: clamp(0.95rem, 1vw, 1.125rem);
  margin-bottom: 1.5rem;
  color: var(--np-white);
}

.np-footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.np-footer__col a {
  font-size: clamp(0.85rem, 0.9vw, 0.95rem);
  color: var(--np-gray-200);
  transition: color 0.3s ease;
}

.np-footer__col a:hover {
  color: var(--np-green);
}

.np-footer__social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.np-footer__social a {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--np-gray-600);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.np-footer__social a:hover {
  background-color: rgba(224, 252, 61, 0.1);
  border-color: var(--np-green);
}

.np-footer__social svg {
  width: 1rem;
  height: 1rem;
  color: var(--np-gray-200);
}

.np-footer__social a:hover svg {
  color: var(--np-green);
}

.np-footer-divider {
  height: 1px;
  background-color: var(--np-gray-600);
  margin-block: clamp(1.5rem, 2vw, 2rem);
}

.np-footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  font-size: clamp(0.8rem, 0.9vw, 0.85rem);
  color: var(--np-gray-300);
}

@media (min-width: 768px) {
  .np-footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ======================================================================
   Ferramentas — Calculadora de TMB
   ====================================================================== */

.np-tool-page {
  background:
    radial-gradient(circle at 85% 8%, rgba(224, 252, 61, 0.08), transparent 28rem),
    var(--np-black);
}

.np-tool-header {
  position: relative;
}

.np-tool-header .np-container {
  padding-block: 1rem;
}

.np-tool-header .np-btn {
  font-size: 0.85rem;
}

.np-tool-hero {
  padding-block: clamp(3rem, 7vw, 6rem);
}

.np-tool-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 1.1fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 6rem);
}

.np-tool-intro {
  /* padding-top: clamp(0rem, 4vw, 3rem); */
}

.np-tool-intro h1 {
  max-width: 12ch;
  margin-bottom: 1.5rem;
}

.np-tool-intro .np-lead {
  max-width: 54ch;
}

.np-tool-intro .np-lead p + p {
  margin-top: 1rem;
}

.np-tool-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.np-tool-badges span {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--np-gray-600);
  border-radius: 999px;
  color: var(--np-gray-100);
  font-size: 0.8rem;
}

.np-tool-card {
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border: 1px solid var(--np-gray-600);
  border-radius: 1.25rem;
  background: linear-gradient(145deg, var(--np-gray-800), var(--np-gray-900));
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.25);
}

.np-tool-card__heading h2 {
  margin-bottom: 2rem;
}

.np-tool-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.np-tool-field {
  min-width: 0;
  border: 0;
}

.np-tool-field label,
.np-tool-field legend {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--np-white);
  font-size: 0.9rem;
  font-weight: 600;
}

.np-tool-field small {
  display: block;
  margin-top: 0.45rem;
  color: var(--np-gray-300);
  font-size: 0.75rem;
  line-height: 1.4;
}

.np-tool-input-wrap {
  position: relative;
}

.np-tool-field input,
.np-tool-field select {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--np-gray-600);
  border-radius: 0.65rem;
  outline: 0;
  background-color: var(--np-gray-700);
  color: var(--np-white);
  font: inherit;
  font-size: 0.95rem;
}

.np-tool-field select {
  appearance: auto;
}

.np-tool-field input:focus,
.np-tool-field select:focus {
  border-color: var(--np-green);
  box-shadow: 0 0 0 3px rgba(224, 252, 61, 0.12);
}

.np-tool-input-wrap input {
  padding-right: 4rem;
}

.np-tool-input-wrap span {
  position: absolute;
  top: 50%;
  right: 0.9rem;
  transform: translateY(-50%);
  color: var(--np-gray-300);
  font-size: 0.8rem;
  pointer-events: none;
}

.np-tool-segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 3rem;
  overflow: hidden;
  border: 1px solid var(--np-gray-600);
  border-radius: 0.65rem;
  background-color: var(--np-gray-700);
}

.np-tool-segmented label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  cursor: pointer;
  color: var(--np-gray-200);
  font-size: 0.85rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.np-tool-segmented label + label {
  border-left: 1px solid var(--np-gray-600);
}

.np-tool-segmented input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.np-tool-segmented label:has(input:checked) {
  background-color: var(--np-green);
  color: var(--np-black);
}

.np-tool-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.75rem;
}

.np-tool-actions .np-btn {
  gap: 0.75rem;
}

.np-tool-error {
  margin-top: 1rem;
  color: #ff9c9c;
  font-size: 0.85rem;
}

.np-tool-result {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--np-gray-600);
}

.np-tool-result__summary {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 0.85rem;
  background-color: rgba(224, 252, 61, 0.08);
}

.np-tool-result__summary div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.np-tool-result__label,
.np-tool-result__summary span:last-child,
.np-tool-result__note {
  color: var(--np-gray-200);
  font-size: 0.78rem;
}

.np-tool-result__summary strong {
  color: var(--np-green);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  line-height: 1.1;
}

.np-tool-result__note {
  text-align: right;
}

.np-tool-result__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.np-tool-result__card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--np-gray-600);
  border-radius: 0.75rem;
  background-color: var(--np-gray-800);
}

.np-tool-result__card.is-selected {
  border-color: var(--np-green);
}

.np-tool-result__card span,
.np-tool-result__card small {
  color: var(--np-gray-200);
  font-size: 0.75rem;
  line-height: 1.35;
}

.np-tool-result__card strong {
  color: var(--np-white);
  font-size: 1.05rem;
}

.np-tool-result__disclaimer {
  margin-top: 1rem;
  color: var(--np-gray-300);
  font-size: 0.75rem;
  line-height: 1.5;
}

.np-tool-content {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.np-tool-content__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 6vw, 6rem);
}

.np-tool-content article h2,
.np-tool-faq h2 {
  margin-bottom: 1.25rem;
}

.np-tool-content article p {
  max-width: 60ch;
  color: var(--np-gray-200);
}

.np-tool-content article p + p {
  margin-top: 1rem;
}

.np-tool-formulas ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-left: 1.25rem;
  color: var(--np-gray-200);
}

.np-tool-formulas li::marker {
  color: var(--np-green);
}

.np-tool-formulas strong {
  color: var(--np-white);
}

.np-tool-faq__list {
  max-width: 52rem;
  margin-top: 2rem;
}

.np-tool-faq details {
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--np-gray-600);
}

.np-tool-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  color: var(--np-white);
  font-weight: 600;
}

.np-tool-faq summary::after {
  content: '+';
  color: var(--np-green);
  font-size: 1.4rem;
  font-weight: 400;
}

.np-tool-faq details[open] summary::after {
  content: '−';
}

.np-tool-faq details p {
  max-width: 65ch;
  margin-top: 0.75rem;
  color: var(--np-gray-200);
}

@media (max-width: 900px) {
  .np-tool-layout {
    grid-template-columns: 1fr;
  }

  .np-tool-intro h1 {
    max-width: 18ch;
  }
}

@media (max-width: 600px) {
  .np-tool-header .np-container {
    gap: 1rem;
  }

  .np-tool-header .np-header__logo img {
    width: 180px;
    height: auto;
  }

  .np-tool-header .np-btn {
    padding-inline: 0.8rem;
    font-size: 0.75rem;
  }

  .np-tool-fields,
  .np-tool-content__grid,
  .np-tool-result__cards {
    grid-template-columns: 1fr;
  }

  .np-tool-result__summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .np-tool-result__note {
    text-align: left;
  }

  .np-tool-actions {
    justify-content: stretch;
  }

  .np-tool-actions .np-btn {
    width: 100%;
  }
}

/* ======================================================================
   Ferramentas — Calculadora de macros
   ====================================================================== */

.np-macro-result__cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.np-macro-result__card strong {
  white-space: nowrap;
}

.np-macro-result__support {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-top: 1rem;
  color: var(--np-gray-300);
  font-size: 0.75rem;
  line-height: 1.5;
}

.np-macro-result__support strong {
  color: var(--np-gray-200);
}

.np-water-result__support {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-top: 1rem;
  color: var(--np-gray-300);
  font-size: 0.75rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .np-macro-result__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .np-macro-result__cards {
    grid-template-columns: 1fr;
  }
}

/* ======================================================================
   Performance — Content Visibility
   ====================================================================== */

/* `content-visibility: auto` foi removido: com `contain-intrinsic-size` menor que
   a altura real, as seções altas (FAQ) nunca atingiam o threshold do
   IntersectionObserver e ficavam presas em opacity 0. O ganho de performance não
   compensa esconder conteúdo. */

/* ======================================================================
   Acessibilidade — Redução de Movimento
   ====================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .np-aurora::before {
    animation: none !important;
  }

  .np-spotlight::before,
  .np-spotlight::after {
    animation: none !important;
  }

  .np-marquee__track {
    animation: none !important;
  }

  .np-meteors span {
    animation: none !important;
    display: none;
  }

  .np-phone,
  .np-hero__chip {
    animation: none !important;
    opacity: 1;
    transform: none !important;
  }

  .np-tilt > img,
  .np-tilt > video,
  .np-tilt > div {
    transform: none !important;
  }

  .np-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .np-beam::before {
    display: none;
  }
}


/* ======================================================================
   Wrappers de layout — introduzidos ao remover a estilização inline
   ====================================================================== */

/* Espaçamento de título e lead em seções */
.np-section h2 {
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.np-section > .np-lead {
  margin-bottom: clamp(2rem, 3vw, 2.5rem);
}

/* Cabeçalho do "Quem somos": eyebrow + h2 + lead. */
.np-about__text h2 {
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.np-about__text .np-lead {
  margin-bottom: 0;
}

/* Cards largos do bento: texto à esquerda, print do produto à direita. */
.np-bento__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: center;
}

@media (min-width: 768px) {
  .np-bento__body {
    grid-template-columns: 1fr 1fr;
  }
}

.np-bento__body img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

/* O grid do bento tem 4 colunas: os cards com print ocupam duas. */
.np-bento__card--wide .np-bento__body {
  width: 100%;
}


/* O H1 do hero usa escala própria: a global (até 4.5rem) quebra o título em
   quatro linhas na composição de duas colunas. */
.np-hero h1 {
  font-size: clamp(2rem, 3.4vw, 3.15rem);
  line-height: 1.08;
}

.np-hero__highlight {
  color: var(--np-green);
}

/* Impede que a composição estoure a dobra em telas baixas. */
.np-hero {
  min-height: auto;
  padding-block: clamp(3rem, 7vw, 5.5rem);
}


/* Chips compactos, sempre à frente dos aparelhos: eles devem sobrepor a borda
   dos celulares, e não sumir atrás deles. */
.np-hero__chip {
  max-width: 9.5rem;
  white-space: nowrap;
  z-index: 20;
}

.np-hero__chip strong,
.np-hero__chip small {
  display: block;
  line-height: 1.25;
}


/* Imagem principal da seção do app do aluno (movida do atributo style inline). */
.np-appshow__hero img {
  position: relative;
  z-index: 1;
  width: clamp(240px, 26vw, 330px);
  height: auto;
  border-radius: 26px;
  border: 1px solid var(--np-gray-600);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Cabeçalho do "Quem somos" centralizado numa medida de leitura confortável,
   já que a foto saiu e os 3 pilares abaixo ocupam a largura toda da seção. */
.np-about__text {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
}


/* ======================================================================
   Prova de customização — logo e cores do app (seção #app)
   ====================================================================== */

.np-appshow__customization {
  margin-top: clamp(3rem, 5vw, 4rem);
  padding-top: clamp(2.5rem, 4vw, 3rem);
  border-top: 1px solid var(--np-gray-600);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.25rem, 2vw, 1.5rem);
  text-align: center;
}

/* Mobile: dois grupos empilhados (padrão em cima, personalizado embaixo),
   cada um com seu par lado a lado — nunca os 4 celulares em fila única. */
.np-appshow__customization-media {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2rem);
  align-items: center;
  justify-content: center;
}

@media (min-width: 640px) {
  .np-appshow__customization-media {
    flex-direction: row;
    align-items: flex-start;
  }
}

.np-appshow__customization-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.np-appshow__customization-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--np-gray-300);
}

.np-appshow__customization-pair {
  display: flex;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  align-items: center;
  justify-content: center;
}

.np-appshow__phone {
  width: clamp(130px, 15vw, 190px);
  height: auto;
  border-radius: 20px;
  border: 1px solid var(--np-gray-600);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}

.np-appshow__customization-caption {
  max-width: 42rem;
  color: var(--np-gray-200);
  font-size: clamp(0.9rem, 1vw, 1rem);
  line-height: 1.6;
}

.np-appshow__customization-caption strong {
  color: var(--np-white);
}
