/* ==========================================================================
   Portal EBD 3.0 · página de novidades (portalebd.com/novidades)
   Usa os tokens e os componentes de styles.css (botões, eyebrow, FAQ e CTA
   final); o cabeçalho e o rodapé são os do site novo, na fonte do site novo. Aqui fica só o que é desta página.
   ========================================================================== */

/* Nome da marca nova: Plus Jakarta Sans só com as letras de "PortalEBD"
   (manual da marca: "Portal" Light 300 e "EBD" ExtraBold 800, nunca outra fonte) */
@font-face { font-family: 'PEBD Logo'; font-weight: 300; font-display: block; src: url(assets/fonts/jakarta-logo-300.woff2) format('woff2'); }
@font-face { font-family: 'PEBD Logo'; font-weight: 800; font-display: block; src: url(assets/fonts/jakarta-logo-800.woff2) format('woff2'); }

:root { --font: 'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif; }

/* ---------- Cabeçalho e rodapé do site novo (os mesmos do início e da 404) ---------- */
@media (max-width: 959.98px) { .so-desk { display: none !important; } }
@media (min-width: 960px) { .so-cel { display: none !important; } }
.rodape-cols { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .rodape-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .rodape-cols { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.1fr); } }

.n-page {
  --n-grad: linear-gradient(135deg, #8A3373 0%, #5A1D4C 62%, #45153C 100%);  /* gradiente da marca e dos cards do app */
  --n-deep: #2A1024;           /* roxo profundo, o mesmo da seção de sedes do site */
  --n-plum-ink: #4A1740;       /* nome da marca sobre fundo claro */
  --n-soft: #F9F4F7;           /* roxo 25 do app: fundos de destaque */
  --n-device: #17131A;         /* moldura dos aparelhos */
  --n-toc-w: 210px;
}

/* ---------- Lockup: símbolo + nome ---------- */
.n-mark { display: block; flex: none; }
.n-mark.is-grad { fill: url(#mk-grad); }   /* o <use> herda o preenchimento do svg */
.n-mark.is-white { fill: #fff; }

.n-lockup { gap: 8px; color: var(--n-plum-ink); }
.n-lockup .n-mark { width: 46px; height: 46px; margin-left: -6px; }
.n-wordmark { font-family: 'PEBD Logo', var(--font); font-size: 1.32rem; line-height: 1; color: var(--n-plum-ink); white-space: nowrap; }
.n-wordmark .w1 { font-weight: 300; letter-spacing: -.053em; }
.n-wordmark .w-gap { display: inline-block; width: .13em; }
.n-wordmark .w2 { font-weight: 800; letter-spacing: -.055em; }
.n-wordmark .w-d { margin-left: -.02em; }

/* ==========================================================================
   Capa
   ========================================================================== */
.n-hero {
  position: relative;
  overflow: hidden;  /* a arte pode passar da borda direita */
  color: #fff;
  background:
    radial-gradient(900px 520px at 85% 15%, rgba(176, 80, 154, .45), transparent 60%),
    radial-gradient(700px 480px at 0% 100%, rgba(138, 51, 115, .35), transparent 60%),
    var(--n-deep);
  padding: 88px 0 104px;
}
.n-hero::after {          /* textura de pontos bem leve */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000, transparent 85%);
  pointer-events: none;
}
.n-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 500px) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.n-eyebrow-dark { background: rgba(255, 255, 255, .12); color: #F2D5EA; display: inline-flex; align-items: center; gap: 8px; }
.n-pulse { width: 8px; height: 8px; border-radius: 50%; background: #FFD86B; box-shadow: 0 0 0 0 rgba(255, 216, 107, .6); animation: n-pulse 2s infinite; }
@keyframes n-pulse { 70% { box-shadow: 0 0 0 8px rgba(255, 216, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 216, 107, 0); } }

.n-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); line-height: 1.08; letter-spacing: -.025em; color: #fff; margin: 4px 0 20px; text-wrap: balance; }
.n-lead { font-size: 1.12rem; color: rgba(255, 255, 255, .78); margin: 0 0 32px; max-width: 480px; }
.n-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.n-btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .4); background: transparent; }
.n-btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.n-hero-note { margin: 20px 0 0; font-size: .9rem; color: rgba(255, 255, 255, .6); max-width: 440px; }

/* composição: computador atrás, celular na frente */
.n-hero-art { position: relative; aspect-ratio: 640 / 500; }
@media (min-width: 1101px) {
  .n-hero > .container { max-width: min(1320px, calc(100vw - 96px)); }
  .n-hero-grid { grid-template-columns: minmax(0, 470px) minmax(0, 1fr); gap: 48px; }
}
.n-hero-art .n-hero-pc { position: absolute; top: 0; right: 0; width: 90%; }
.n-hero-art .n-hero-phone { position: absolute; left: 0; bottom: 0; width: 30%; max-width: none; padding: 6px; border-radius: 34px; }
.n-hero-art .n-hero-phone > img { border-radius: 29px; }
.n-float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--pill);
  background: #fff;
  color: var(--ink);
  font-size: .85rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 12px 30px rgba(20, 6, 18, .35);
}
.n-float-1 { right: 4%; bottom: 10%; }
.n-float-2 { left: 26%; top: 6%; }
.n-float-dot { width: 9px; height: 9px; border-radius: 50%; }
.n-float-dot.is-green { background: #27A68C; }
.n-float-dot.is-amber { background: #E0A43A; }
@media (prefers-reduced-motion: no-preference) {
  .n-float-1 { animation: n-bob 6s ease-in-out infinite; }
  .n-float-2 { animation: n-bob 6s ease-in-out -3s infinite; }
  .n-hero-phone { animation: n-bob 8s ease-in-out -2s infinite; }
}
@keyframes n-bob { 50% { transform: translateY(-8px); } }

/* ==========================================================================
   Molduras dos aparelhos
   ========================================================================== */
.n-phone {
  position: relative;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 390 / 844;
  padding: 5px;
  border-radius: 44px;
  /* moldura clara e fina, no cinza da barra da janela do navegador */
  background: #F3EFF2;
  border: 1px solid var(--hairline);
  box-shadow: 0 30px 70px rgba(42, 16, 36, .18), 0 6px 18px rgba(42, 16, 36, .08);
}
.n-phone > img,
.n-compare-before img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 39px;
  background: #F8F6F5;
}

.n-browser {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--hairline);
  box-shadow: 0 30px 70px rgba(42, 16, 36, .18), 0 6px 18px rgba(42, 16, 36, .08);
}
.n-browser img { display: block; width: 100%; height: auto; }
.n-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  background: #F3EFF2;
  border-bottom: 1px solid var(--hairline);
}
.n-browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #DDD3DA; }
.n-browser-bar span {
  margin: 0 auto;
  padding: 3px 14px;
  border-radius: var(--pill);
  background: #fff;
  font-size: .72rem;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 70%;
  transform: translateX(-17px);   /* centraliza descontando as três bolinhas */
}
.n-hero .n-browser { border-color: rgba(255, 255, 255, .12); }
.n-browser.is-dark { border-color: rgba(255, 255, 255, .1); }

.n-tablet {
  position: relative;
  padding: 5px;
  border-radius: 26px;
  background: #F3EFF2;
  border: 1px solid var(--hairline);
  box-shadow: 0 30px 70px rgba(42, 16, 36, .18), 0 6px 18px rgba(42, 16, 36, .08);
}
.n-tablet img { display: block; width: 100%; height: auto; border-radius: 21px; }

/* ==========================================================================
   Em 1 minuto
   ========================================================================== */
.n-summary { padding-bottom: 72px; }
.n-summary-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.n-sum-card {
  padding: 28px 26px 26px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--hairline);
  transition: transform .2s ease, box-shadow .2s ease;
}
.n-sum-card:hover { box-shadow: 0 14px 34px rgba(111, 39, 95, .14); transform: translateY(-4px); }
.n-sum-card h3 { font-size: 1.08rem; margin: 18px 0 6px; }
.n-sum-card p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.n-sum-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--n-grad);
  color: #fff;
}
.n-sum-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================================
   Layout dos tópicos: índice lateral + conteúdo
   ========================================================================== */
.n-layout {
  display: grid;
  grid-template-columns: var(--n-toc-w) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
  padding-bottom: 40px;
}

.n-toc {
  position: sticky;
  top: 104px;
  padding-top: 8px;
}
.n-toc-title { margin: 0 0 14px; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.n-toc-list { list-style: none; margin: 0; padding: 0 0 0 18px; display: grid; gap: 2px; border-left: 2px solid var(--hairline); }
.n-toc-list a {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 10px;
  color: var(--ink-soft);
  font-size: .93rem;
  font-weight: 500;
  line-height: 1.35;
  transition: color .2s ease, background .2s ease;
}
.n-toc-list a:hover { color: var(--brand); text-decoration: none; background: var(--n-soft); }
.n-toc-n { font-size: .72rem; font-weight: 600; color: #B6ACB2; font-variant-numeric: tabular-nums; transition: color .2s ease; }
.n-toc-list a.is-active { color: var(--brand); font-weight: 600; background: var(--brand-soft); }
.n-toc-list a.is-active .n-toc-n { color: var(--brand); }
.n-toc-list a.is-active::before {     /* marcador na linha do índice */
  content: "";
  position: absolute;
  left: -21px;
  top: 8px;
  bottom: 8px;
  width: 4px;
  border-radius: 4px;
  background: var(--brand);
}
.n-toc-progress { margin: 22px 0 0 18px; height: 4px; border-radius: 4px; background: var(--hairline); overflow: hidden; }
.n-toc-progress span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--p, 0)); background: var(--n-grad); }

/* ---------- Tópico ---------- */
.n-topics { min-width: 0; }
.n-topic { padding: 72px 0; scroll-margin-top: 88px; }
.n-topic + .n-topic { border-top: 1px solid var(--hairline); }
.n-topic-head { max-width: 680px; margin-bottom: 44px; }
.n-kicker { display: inline-block; font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.n-topic-head h2 { font-size: clamp(1.7rem, 3.1vw, 2.35rem); line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.n-topic-head p { margin: 0; font-size: 1.06rem; color: var(--ink-soft); }

.n-row {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.n-row + .n-row, .n-media-wide + .n-row, .n-row + .n-media-wide { margin-top: 64px; }
.n-row-flip { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); }
.n-row-flip > .n-media { order: 2; }

.n-media { margin: 0; }
.n-media-phone { justify-self: center; width: 100%; max-width: 300px; }
.n-media-wide { margin: 0 0 8px; }

/* lista de pontos com título em negrito */
.n-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.n-points li { position: relative; padding-left: 40px; color: var(--ink-soft); }
.n-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%236F275F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.n-points b { display: block; color: var(--ink); font-weight: 600; font-size: 1.02rem; margin-bottom: 2px; }

/* dois celulares lado a lado, o segundo um pouco abaixo */
.n-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; max-width: 380px; justify-self: center; width: 100%; }
.n-duo .n-phone { border-radius: 33px; padding: 4px; }
.n-duo .n-phone > img { border-radius: 29px; }
.n-duo .n-phone:nth-child(2) { margin-top: 48px; }
.n-row:has(.n-duo) { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); }

/* bloco de destaque ao lado de uma tela */
.n-callout { padding: 36px; border-radius: var(--radius-lg); background: var(--n-soft); }
.n-callout-kicker { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.n-callout h3 { font-size: 1.5rem; margin: 8px 0 10px; }
.n-callout p { color: var(--ink-soft); margin: 0; }
.n-chips { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.n-chips li { padding: 6px 14px; border-radius: var(--pill); background: #fff; border: 1px solid #E3D3DD; font-size: .85rem; font-weight: 500; color: var(--n-plum-ink); }

/* ---------- Antes e agora (arrastar) ---------- */
.n-compare { position: relative; touch-action: pan-y; user-select: none; -webkit-user-select: none; --pos: .5; }
.n-compare .n-phone { cursor: ew-resize; aspect-ratio: auto; }
/* No antes e agora, a tela tem a proporção das imagens do app antigo (512 × 999):
   nada é cortado nas laterais; a de agora, mais alta, só perde um pouco embaixo. */
.n-compare .n-phone > img { height: auto; aspect-ratio: 512 / 999; }
.n-compare img { pointer-events: none; -webkit-user-drag: none; user-select: none; }
.n-compare-before {
  position: absolute;
  inset: 5px;
  border-radius: 39px;
  overflow: hidden;
  clip-path: inset(0 calc((1 - var(--pos)) * 100%) 0 0);
}
.n-compare-before img { border-radius: 0; background: #fff; }
.n-compare-line {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: calc(5px + (100% - 10px) * var(--pos));
  width: 3px;
  margin-left: -1.5px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(23, 19, 26, .12), 0 0 18px rgba(23, 19, 26, .25);
  pointer-events: none;
}
.n-compare-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  background: #fff;
  color: var(--brand);
  box-shadow: 0 6px 18px rgba(23, 19, 26, .28);
}
.n-compare-knob svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.n-compare-tag {
  position: absolute;
  bottom: 26px;
  padding: 5px 12px;
  border-radius: var(--pill);
  font-size: .75rem;
  font-weight: 600;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(23, 19, 26, .18);
}
.n-compare-tag.is-before { left: 22px; background: var(--n-device); color: #fff; }
.n-compare-tag.is-after { right: 22px; background: var(--brand); color: #fff; }
.n-compare-range { position: absolute; inset: auto 0 0 0; width: 100%; opacity: 0; pointer-events: none; }
.n-compare:has(.n-compare-range:focus-visible) .n-compare-knob { outline: 3px solid #FFD86B; outline-offset: 2px; }

/* ---------- Recursos novos ---------- */
.n-new-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.n-new {
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--hairline);
  transition: transform .2s ease, box-shadow .2s ease;
}
.n-new:hover { box-shadow: 0 14px 34px rgba(111, 39, 95, .14); transform: translateY(-4px); }
/* Arte do recurso, no estilo do guia do app: pedaços da tela soltos sobre o gradiente da marca */
.n-new-media {
  position: relative;
  height: 280px;
  margin: 10px 10px 0;
  border-radius: 20px;
  overflow: hidden;
  background: var(--n-grad);
}
.n-art-mark { position: absolute; right: -40px; bottom: -60px; width: 260px; height: 260px; fill: rgba(255, 255, 255, .07); }
.n-snip {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 250px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 16px 30px rgba(26, 15, 22, .28);
  transform: rotate(var(--r, 0deg));
  transition: transform .35s ease;
}
.n-snip b { font-size: 1rem; letter-spacing: -.01em; }
.n-snip small { display: block; font-size: .78rem; color: var(--ink-soft); }
.n-snip-a { left: 26px; top: 24px; width: 56%; }
.n-snip-b { right: 22px; bottom: 22px; flex-direction: row; align-items: center; gap: 10px; white-space: nowrap; max-width: none; }
.n-snip-b.is-col { flex-direction: column; align-items: flex-start; gap: 6px; }
.n-new:hover .n-snip-a { transform: rotate(var(--r)) translateY(-4px); }
.n-new:hover .n-snip-b { transform: rotate(var(--r)) translateY(-8px); }
.n-snip-txt { font-size: .8rem; line-height: 1.45; color: var(--ink-soft); }
.n-tag { align-self: flex-start; padding: 3px 8px; border-radius: 7px; font-size: .66rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.n-tag.is-purple { background: #F3E6EF; color: #6F275F; }
.n-tag.is-green { background: #B9F0CF; color: #276B47; }
.n-tag.is-amber { background: #FBEBD2; color: #8B570A; }
.n-ico { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 11px; background: #F3E6EF; color: #6F275F; font-size: .7rem; font-weight: 800; }
.n-ico.is-amber { background: #FBEBD2; color: #8B570A; font-size: .95rem; }
.n-field { padding: 8px 10px; border-radius: 10px; border: 1.5px solid #6F275F; font-size: .82rem; font-weight: 600; }
.n-link { padding: 8px 10px; border-radius: 10px; background: #F0F2F5; font-size: .82rem; font-weight: 600; color: #6F275F; }
.n-btn { align-self: flex-start; padding: 7px 14px; border-radius: 10px; background: var(--brand); color: #fff; font-size: .78rem; font-weight: 700; }
.n-btn.is-sm { padding: 6px 10px; }
.n-switch-mini { position: relative; flex: none; width: 34px; height: 20px; border-radius: 99px; background: #276B47; }
.n-switch-mini::after { content: ""; position: absolute; right: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.n-new-copy { padding: 26px 28px 30px; }
.n-new-copy h3 { font-size: 1.25rem; margin: 12px 0 8px; }
.n-new-copy p { margin: 0; color: var(--ink-soft); font-size: .97rem; }
.n-badge {
  display: inline-block;
  padding: 3px 11px;
  border-radius: var(--pill);
  background: #FFD86B;
  color: #543005;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .02em;
}

/* ---------- Acessos ---------- */
.n-profiles { padding: 32px; border-radius: var(--radius-lg); background: var(--bg); }
.n-profiles h3 { font-size: 1.2rem; margin: 0 0 20px; }
.n-profile-group + .n-profile-group { margin-top: 20px; }
.n-profile-label { margin: 0 0 10px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.n-profile-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.n-profile-group li { padding: 12px 16px; border-radius: 14px; background: #fff; font-size: .9rem; color: var(--ink-soft); line-height: 1.45; }
.n-profile-group li b { display: block; color: var(--ink); font-weight: 600; font-size: .95rem; }
.n-tip { margin: 20px 0 0; padding: 14px 16px; border-radius: 14px; background: #FBEBD2; color: #6A3E08; font-size: .92rem; line-height: 1.5; }
.n-tip b { color: #543005; }

.n-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 40px;
  padding: 22px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid #E3D3DD;
  background: var(--n-soft);
}
.n-strip p { margin: 0; color: var(--ink-soft); }
.n-strip b { color: var(--ink); }
.n-strip-icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--n-grad); color: #fff; }
.n-strip-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }

/* ---------- Para sedes (bloco escuro) ---------- */
.n-topic-dark {
  position: relative;
  margin: 24px 0;
  padding: 64px 56px;
  border-radius: 32px;
  color: #fff;
  background:
    radial-gradient(600px 400px at 100% 0%, rgba(176, 80, 154, .35), transparent 60%),
    var(--n-deep);
}
.n-topic + .n-topic-dark, .n-topic-dark + .n-topic { border-top: 0; }
.n-topic-dark .n-kicker { color: #E3A6D2; }
.n-topic-dark .n-topic-head h2 { color: #fff; }
.n-topic-dark .n-topic-head p { color: rgba(255, 255, 255, .72); }
.n-topic-dark .n-points li { color: rgba(255, 255, 255, .72); }
.n-topic-dark .n-points b { color: #fff; }
.n-topic-dark .n-points li::before { background-color: rgba(255, 255, 255, .12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.n-topic-dark .n-phone { border-color: rgba(255, 255, 255, .1); box-shadow: 0 30px 70px rgba(0, 0, 0, .35); }

/* ---------- Em qualquer tela ---------- */
.n-devices { position: relative; aspect-ratio: 100 / 66; margin: 0 0 24px; }
.n-devices .n-dev-pc { position: absolute; top: 0; left: 8%; width: 80%; }
.n-devices .n-dev-tab { position: absolute; right: 0; bottom: 0; width: 27%; padding: 4px; border-radius: 20px; }
.n-devices .n-dev-tab img { border-radius: 16px; }
.n-devices .n-dev-cel { position: absolute; left: 0; bottom: 0; width: 17%; max-width: none; padding: 3px; border-radius: 25px; }
.n-devices .n-dev-cel > img { border-radius: 22px; }

.n-theme-phone { overflow: hidden; }
.n-theme-phone > img { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); transition: opacity .45s ease; }
.n-theme-phone > img.is-dark { opacity: 0; }
.n-theme-phone.is-dark > img.is-dark { opacity: 1; }
.n-theme-phone.is-dark > img.is-light { opacity: 0; }
.n-switch { display: inline-flex; margin-top: 24px; padding: 4px; border-radius: var(--pill); background: #fff; border: 1px solid #E3D3DD; }
.n-switch button {
  border: 0;
  background: transparent;
  padding: 9px 22px;
  border-radius: var(--pill);
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.n-switch button.is-on { background: var(--brand); color: #fff; }
.n-switch button[data-theme-btn="dark"].is-on { background: var(--n-device); }

/* ---------- Nova marca ---------- */
.n-brand { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.n-brand-stage {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 45%, #fff 0, #fff 30%, transparent 70%),
    var(--n-soft);
  overflow: hidden;
}
.n-brand-stage::before {    /* grade de construção bem leve */
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(111, 39, 95, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(111, 39, 95, .06) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 75%);
}
.n-brand-mark { position: relative; width: 62%; height: auto; aspect-ratio: 1; }
.n-brand-copy p { color: var(--ink-soft); font-size: 1.04rem; }
.n-brand-copy b { color: var(--ink); }
.n-brand-icons { display: flex; align-items: center; gap: 22px; margin-top: 28px; }
.n-brand-icons figure { margin: 0; display: grid; justify-items: center; gap: 10px; }
.n-brand-icons figcaption { font-size: .8rem; font-weight: 500; color: var(--ink-soft); }
.n-old-icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 18px; background: #fff; border: 1px solid var(--hairline); color: #B6ACB2; }
.n-old-icon svg { width: 42px; height: 42px; }
.n-app-icon { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 10px 24px rgba(69, 21, 60, .3); }
.n-brand-arrow svg { width: 24px; height: 24px; fill: none; stroke: #B6ACB2; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* as folhas entram em sequência, da lombada para fora (como o carregamento do app) */
@media (prefers-reduced-motion: no-preference) {
  .n-js .n-brand-mark path { opacity: 0; transform: translateY(14px); transform-box: fill-box; transition: opacity .6s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
  .n-js .n-brand.is-in .n-brand-mark path { opacity: 1; transform: none; }
  .n-js .n-brand.is-in .n-brand-mark .mk-2 { transition-delay: .25s; }
  .n-js .n-brand.is-in .n-brand-mark .mk-3 { transition-delay: .45s; }
  .n-js .n-brand.is-in .n-brand-mark .mk-4 { transition-delay: .65s; }
}

/* ---------- Como começar ---------- */
.n-steps { list-style: none; margin: 0 0 48px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.n-steps li { padding: 28px 26px; border-radius: var(--radius-lg); border: 1px solid var(--hairline); background: #fff; }
.n-steps h3 { font-size: 1.1rem; margin: 18px 0 6px; }
.n-steps p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.n-step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--n-grad); color: #fff; font-weight: 600; }
.n-faq { max-width: none; }

/* ---------- CTA final ---------- */
.n-final { padding-top: 40px; }
.n-cta { background: var(--n-grad); position: relative; overflow: hidden; }
.n-cta > * { position: relative; }
.n-cta .eyebrow { margin-bottom: 18px; }
.n-cta .btn-note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Aparecer ao rolar ---------- */
@media (prefers-reduced-motion: no-preference) {
  .n-js .n-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
  .n-js .n-reveal.is-in { opacity: 1; transform: none; }
  .n-js .n-points .n-reveal:nth-child(2), .n-js .n-summary-grid .n-reveal:nth-child(2) { transition-delay: .06s; }
  .n-js .n-points .n-reveal:nth-child(3), .n-js .n-summary-grid .n-reveal:nth-child(3) { transition-delay: .12s; }
  .n-js .n-points .n-reveal:nth-child(4), .n-js .n-summary-grid .n-reveal:nth-child(4) { transition-delay: .18s; }
  .n-js .n-points .n-reveal:nth-child(5), .n-js .n-summary-grid .n-reveal:nth-child(5) { transition-delay: .24s; }
  .n-js .n-summary-grid .n-reveal:nth-child(6) { transition-delay: .3s; }
}

/* ==========================================================================
   Tablet e celular
   ========================================================================== */
@media (max-width: 1100px) {
  /* índice vira uma faixa de abas presa logo abaixo do topo */
  .n-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .n-toc {
    top: 72px;
    z-index: 40;
    margin: 0 -40px;
    padding: 10px 40px;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(1.4) blur(10px);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--hairline);
  }
  .n-toc-title { display: none; }
  .n-toc-list {
    display: flex;
    gap: 6px;
    padding: 0;
    border: 0;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }
  .n-toc-list::-webkit-scrollbar { display: none; }
  .n-toc-list li { flex: none; }
  .n-toc-list a { padding: 7px 14px; border-radius: var(--pill); background: var(--bg); white-space: nowrap; font-size: .88rem; }
  .n-toc-list a.is-active::before { display: none; }
  .n-toc-list a.is-active { background: var(--brand); color: #fff; }
  .n-toc-list a.is-active .n-toc-n { color: rgba(255, 255, 255, .7); }
  .n-toc-progress { position: absolute; left: 0; right: 0; bottom: -1px; margin: 0; height: 2px; border-radius: 0; background: transparent; }
  .n-topic { scroll-margin-top: 140px; }

  .n-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .n-hero-copy { max-width: 640px; }
  .n-hero-art { max-width: 720px; width: 100%; justify-self: center; }
}

@media (max-width: 860px) {
  .n-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .n-row, .n-row-flip, .n-row:has(.n-duo) { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .n-row-flip > .n-media { order: 0; }
  .n-media-phone { max-width: 280px; }
  .n-new-grid { grid-template-columns: minmax(0, 1fr); }
  .n-brand { grid-template-columns: minmax(0, 1fr); }
  .n-brand-stage { max-width: 420px; width: 100%; justify-self: center; }
  .n-steps { grid-template-columns: minmax(0, 1fr); }
  .n-topic-dark { padding: 48px 32px; }
}

@media (max-width: 560px) {
  .n-hero { padding: 56px 0 72px; }
  .n-hero-ctas .btn { width: 100%; }
  .n-float { font-size: .75rem; padding: 8px 12px; }
  .n-float-2 { left: 18%; top: 2%; }
  .n-summary-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .n-sum-card { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; padding: 20px; }
  .n-sum-card h3 { margin: 0 0 4px; align-self: end; }
  .n-sum-card .n-sum-icon { grid-row: span 2; }
  .n-toc { margin: 0 -24px; padding: 10px 24px; }
  .n-topic { padding: 56px 0; }
  .n-topic-head { margin-bottom: 32px; }
  .n-topic-dark { margin: 16px -24px; padding: 48px 24px; border-radius: 0; }
  .n-duo { gap: 12px; }
  .n-duo .n-phone { border-radius: 25px; padding: 3px; }
  .n-duo .n-phone > img { border-radius: 22px; }
  .n-callout, .n-profiles { padding: 26px 22px; }
  .n-new-media { height: 270px; }
  .n-snip-a { width: 74%; }
  .n-strip { flex-direction: column; align-items: flex-start; }
  .n-devices { aspect-ratio: 100 / 80; }
  .n-devices .n-dev-pc { left: 0; width: 100%; }
  .n-devices .n-dev-tab { width: 36%; }
  .n-devices .n-dev-cel { width: 24%; border-radius: 18px; padding: 3px; }
  .n-devices .n-dev-cel > img { border-radius: 15px; }
  .n-browser-bar { height: 26px; }
  .n-browser-bar i { width: 7px; height: 7px; }
  .n-browser-bar span { font-size: .62rem; padding: 2px 10px; }
  .n-brand-icons { gap: 14px; }
}

@media (max-width: 560px) {
  .n-page .container { padding-inline: 24px; }
}
