/* ==========================================================================
   Net In Box — fontes hospedadas AQUI, não no Google.

   Antes o site pedia a Manrope em fonts.googleapis.com. Duas consequências
   ruins: (1) toda visita mandava o IP do visitante a um terceiro, enquanto a
   nossa política de privacidade afirma que não há terceiro nenhum; (2) era
   uma folha de estilo EXTERNA e bloqueante no caminho do primeiro pixel —
   o navegador tinha de resolver DNS, abrir TLS e baixar um CSS antes de
   descobrir qual arquivo de fonte buscar.

   Servindo daqui, o arquivo vem da mesma conexão que já está aberta, entra no
   cache de 30 dias do .htaccess e a política volta a ser verdadeira.
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  /* Manrope é fonte VARIÁVEL: um arquivo por subset cobre 400..800. */
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  /* Manrope é fonte VARIÁVEL: um arquivo por subset cobre 400..800. */
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   Net In Box — Landing Page
   ========================================================================== */

:root {
  --nb-graphite: #23252b;
  --nb-graphite-2: #2e3138;
  --nb-graphite-dark: #1a1c20;
  --nb-orange: #ff7a1a;
  --nb-orange-dark: #e56a0f;
  --nb-light: #f5f7fa;
  --nb-gray: #8a8f98;
  --nb-white: #ffffff;
  --nb-radius: 10px;
  --nb-shadow: 0 14px 40px rgba(35, 37, 43, .08);
  --nb-shadow-lg: 0 24px 60px rgba(35, 37, 43, .14);
  --nb-ease: cubic-bezier(.25, .8, .3, 1);
}

/* O Lenis cuida da suavidade. Com scroll-behavior:smooth aqui, o lenis.scrollTo
   dos links âncora simplesmente não funciona — requisito da própria lib. */
html.lenis,
html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--nb-graphite);
  background: var(--nb-white);
  overflow-x: hidden;
  line-height: 1.7;
}

h1, h2, h3, h4 { font-weight: 800; line-height: 1.2; }
a { color: var(--nb-orange); text-decoration: none; transition: color .25s var(--nb-ease); }
a:hover { color: var(--nb-orange-dark); }
img { max-width: 100%; height: auto; }

.section { padding: 110px 0; }

/* Cabeçalho de seção -------------------------------------------------------- */
.section-head {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto 64px;
  text-align: center;
}
.section-head h2 { font-size: 2.25rem; margin-bottom: 18px; }
.section-head p { color: var(--nb-gray); font-size: 1.02rem; margin: 0; }
.section-head.light h2 { color: var(--nb-white); }
.section-head.light p { color: rgba(255, 255, 255, .75); }

/* Botões -------------------------------------------------------------------- */
.btn-primary-nb {
  display: inline-block;
  background: var(--nb-orange);
  color: var(--nb-white);
  font-weight: 700;
  font-size: .95rem;
  padding: 14px 34px;
  border: 0;
  border-radius: var(--nb-radius);
  box-shadow: 0 10px 24px rgba(255, 122, 26, .35);
  transition: transform .3s var(--nb-ease), box-shadow .3s var(--nb-ease), background .3s var(--nb-ease);
}
.btn-primary-nb:hover {
  background: var(--nb-orange-dark);
  color: var(--nb-white);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(255, 122, 26, .45);
}

.store-btn {
  background: none;
  font-family: inherit;
  text-align: left;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid rgba(255, 255, 255, .6);
  border-radius: var(--nb-radius);
  color: var(--nb-white);
  padding: 10px 22px;
  min-width: 178px;
  transition: background .3s var(--nb-ease), border-color .3s var(--nb-ease), transform .3s var(--nb-ease);
}
.store-btn span { display: flex; flex-direction: column; line-height: 1.25; }
.store-btn small { font-size: .68rem; opacity: .8; }
.store-btn strong { font-size: .95rem; font-weight: 700; }
.store-btn:hover {
  background: rgba(255, 255, 255, .12);
  border-color: var(--nb-white);
  color: var(--nb-white);
  transform: translateY(-3px);
}
.store-btn.dark {
  border-color: rgba(255, 255, 255, .25);
  width: 100%;
  margin-bottom: 12px;
}
.store-btn.dark:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .6); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1030;
  padding: 18px 0;
  transition: background .35s var(--nb-ease), padding .35s var(--nb-ease), box-shadow .35s var(--nb-ease);
}
.site-header .navbar { padding: 0; }
.site-header .navbar-brand img { height: 114px; width: auto; transition: height .35s var(--nb-ease), transform .3s var(--nb-ease); transform-origin: left center; }
.site-header .navbar-brand:hover img { transform: scale(1.1); }
.site-header.scrolled .navbar-brand img { height: 80px; }

/* MENU EM UMA LINHA SÓ ATÉ 1400px.
   Medido no navegador: com .container de 1140 (viewport 1200–1399) a marca e os
   sete itens somam mais do que cabe, e o menu ia pra segunda linha — já ia
   ANTES de o logo crescer, então apertar o logo não resolveria. O que sobra é
   aproximar os itens: margem 14 -> 9 e corpo .92 -> .9 devolvem ~85px, o
   bastante pra caber. Acima de 1400 nada disso é preciso. */
@media (min-width: 992px) and (max-width: 1399.98px) {
  .site-header .nav-link { margin: 0 9px; font-size: .9rem; }
}
/* Abaixo de 1200 o .container cai pra 960 e não há aperto de menu que faça os
   sete itens caberem: aqui o logo cede um pouco pra sobrar o máximo pra eles. */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .site-header .navbar-brand img { height: 96px; }
  .site-header.scrolled .navbar-brand img { height: 68px; }
}
.site-header .logo-on-dark { display: block; }
.site-header .logo-on-light { display: none; }
.site-header.scrolled .logo-on-dark { display: none; }
.site-header.scrolled .logo-on-light { display: block; }
.site-header .nav-link {
  color: rgba(255, 255, 255, .88);
  font-weight: 600;
  font-size: .92rem;
  margin: 0 14px;
  padding: 6px 0 !important;
  position: relative;
}
.site-header .nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: currentColor;
  transition: right .3s var(--nb-ease);
}
.site-header .nav-link:hover::after,
.site-header .nav-link.active::after { right: 0; }
/* O Bootstrap pinta .nav-link.active com a cor escura dele e vence a regra
   acima por especificidade (3 classes contra 2). No topo da home, onde o header
   é transparente sobre o hero escuro, isso deixava o "Início" preto no preto.
   A página atual fica laranja nos dois estados do header. */
.site-header .navbar-nav .nav-link.active { color: var(--nb-orange); }

/* Header compactado após rolar */
.site-header.scrolled {
  background: var(--nb-white);
  padding: 10px 0;
  box-shadow: 0 6px 24px rgba(35, 37, 43, .08);
}
.site-header.scrolled .nav-link { color: var(--nb-graphite); }
.site-header.scrolled .nav-link:hover,
.site-header.scrolled .navbar-nav .nav-link.active { color: var(--nb-orange); }

.navbar-toggler {
  border: 0;
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.navbar-toggler span {
  width: 24px; height: 2px;
  background: var(--nb-white);
  transition: background .35s var(--nb-ease);
}
.site-header.scrolled .navbar-toggler span { background: var(--nb-graphite); }
.navbar-toggler:focus { box-shadow: none; }

.mobile-menu { max-width: 300px; }
.mobile-nav { list-style: none; margin: 0; padding: 0; }
.mobile-nav a {
  display: block;
  padding: 12px 0;
  color: var(--nb-graphite);
  font-weight: 700;
  border-bottom: 1px solid var(--nb-light);
}
.mobile-nav a:hover { color: var(--nb-orange); padding-left: 6px; }

/* --------------------------------------------------------------------------
   CTA do menu — "Quero ativar o meu"
   Pílula laranja em vez de link: é a única ação do menu que leva a pessoa pra
   dentro do processo de compra, e precisa se distinguir dos links de leitura.
   Sólida de propósito — assim funciona igual sobre o header escuro (topo) e
   sobre o branco (rolado), sem depender do estado .scrolled.
-------------------------------------------------------------------------- */
.site-header .nav-cta,
.site-header.scrolled .nav-cta {
  background: var(--nb-orange);
  color: var(--nb-white);
  border-radius: 999px;
  padding: 10px 20px !important;
  margin-left: 18px;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 8px 22px rgba(255, 122, 26, .32);
  transition: background .3s var(--nb-ease), transform .3s var(--nb-ease), box-shadow .3s var(--nb-ease);
}
.site-header .nav-cta:hover,
.site-header.scrolled .nav-cta:hover {
  background: var(--nb-orange-dark);
  color: var(--nb-white);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 122, 26, .4);
}
/* O sublinhado animado dos links não faz sentido dentro da pílula. */
.site-header .nav-cta::after { content: none; }

.mobile-nav .mobile-cta {
  margin-top: 14px;
  background: var(--nb-orange);
  color: var(--nb-white);
  border-radius: var(--nb-radius);
  text-align: center;
  border-bottom: 0;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .85rem;
}
.mobile-nav .mobile-cta:hover {
  background: var(--nb-orange-dark);
  color: var(--nb-white);
  padding-left: 0;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: 190px 0 150px;
  overflow: hidden;
  color: var(--nb-white);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(255, 122, 26, .28), transparent 60%),
    radial-gradient(700px 480px at 10% 90%, rgba(255, 122, 26, .16), transparent 55%),
    linear-gradient(135deg, #2e3138 0%, #23252b 45%, #1a1c20 100%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1.6px);
  background-size: 26px 26px;
  animation: heroDrift 24s linear infinite;
}
@keyframes heroDrift {
  from { background-position: 0 0; }
  to { background-position: 260px 260px; }
}

/* Foto do evento por trás de tudo, bem discreta e esmaecida nas bordas */
.hero-photo {
  position: absolute;
  inset: 0;
  /* Era um JPEG de 178 KB embrulhado em SVG. Agora AVIF onde houver suporte,
     WebP no resto — a segunda declaração só vence em quem entende image-set
     com type(), então navegador antigo fica com o WebP e nada quebra. */
  background: center/cover no-repeat;
  background-image: url("../images/hero-bg-1600.webp");
  background-image: image-set(
    url("../images/hero-bg-1600.avif") type("image/avif"),
    url("../images/hero-bg-1600.webp") type("image/webp")
  );
  opacity: .34;
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 62%, transparent 96%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 62%, transparent 96%);
  animation: heroBreath 18s ease-in-out infinite;
}
/* Telas estreitas não precisam de 1600px de foto. */
@media (max-width: 700px) {
  .hero-photo {
    background-image: url("../images/hero-bg-960.webp");
    background-image: image-set(
      url("../images/hero-bg-960.avif") type("image/avif"),
      url("../images/hero-bg-960.webp") type("image/webp")
    );
  }
}

@keyframes heroBreath {
  0%, 100% { transform: scale(1); opacity: .3; }
  50%      { transform: scale(1.045); opacity: .4; }
}

/* Camada animada: emissores de Wi-Fi + pontos de luz */
.hero-signals {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hs-emitter {
  transform: translate(calc(var(--x) * 1px), calc(var(--y) * 1px));
  fill: none;
  stroke: #ff9d4d;
  stroke-width: 5;
  stroke-linecap: round;
}
.hs-core { fill: #ff9d4d; stroke: none; animation: hsCore 3.2s ease-in-out infinite; }

/* Os arcos acendem de dentro para fora, como sinal saindo */
.hs-arc { opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; }
.hs-arc-1 { animation: hsPulse 3.2s ease-out infinite; }
.hs-arc-2 { animation: hsPulse 3.2s ease-out .28s infinite; }
.hs-arc-3 { animation: hsPulse 3.2s ease-out .56s infinite; }

.hs-emitter:nth-of-type(2) .hs-arc-1 { animation-delay: .8s; }
.hs-emitter:nth-of-type(2) .hs-arc-2 { animation-delay: 1.08s; }
.hs-emitter:nth-of-type(2) .hs-arc-3 { animation-delay: 1.36s; }
.hs-emitter:nth-of-type(2) .hs-core { animation-delay: .8s; }
.hs-emitter:nth-of-type(3) .hs-arc-1 { animation-delay: 1.6s; }
.hs-emitter:nth-of-type(3) .hs-arc-2 { animation-delay: 1.88s; }
.hs-emitter:nth-of-type(3) .hs-arc-3 { animation-delay: 2.16s; }
.hs-emitter:nth-of-type(3) .hs-core { animation-delay: 1.6s; }
.hs-emitter:nth-of-type(4) .hs-arc-1 { animation-delay: 2.3s; }
.hs-emitter:nth-of-type(4) .hs-arc-2 { animation-delay: 2.58s; }
.hs-emitter:nth-of-type(4) .hs-arc-3 { animation-delay: 2.86s; }
.hs-emitter:nth-of-type(4) .hs-core { animation-delay: 2.3s; }

@keyframes hsPulse {
  0%   { opacity: 0; transform: scale(.72); }
  22%  { opacity: .85; }
  70%  { opacity: .12; transform: scale(1.12); }
  100% { opacity: 0; transform: scale(1.18); }
}
@keyframes hsCore {
  0%, 100% { opacity: .35; }
  50%      { opacity: 1; }
}

/* Pontos de luz espalhados, acendendo e apagando fora de sincronia */
.hs-dots circle {
  fill: #ffd2ab;
  opacity: .15;
  animation: hsTwinkle 5.5s ease-in-out infinite;
}
@keyframes hsTwinkle {
  0%, 100% { opacity: .12; }
  50%      { opacity: .85; }
}
.hs-dots circle:nth-child(3n)   { animation-duration: 7s;   animation-delay: .9s; }
.hs-dots circle:nth-child(3n+1) { animation-duration: 4.6s; animation-delay: 2.1s; }
.hs-dots circle:nth-child(4n)   { animation-duration: 8.2s; animation-delay: 3.4s; fill: #ffffff; }
.hs-dots circle:nth-child(5n)   { animation-duration: 6.1s; animation-delay: 1.3s; }
.hs-dots circle:nth-child(7n)   { animation-duration: 9s;   animation-delay: 4.2s; fill: #ff9d4d; }

.hero-inner { position: relative; z-index: 2; }
.hero-title { font-size: 3.1rem; margin-bottom: 22px; }
.hero-lead {
  color: rgba(255, 255, 255, .95);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 18px;
}
.hero-text {
  color: rgba(255, 255, 255, .72);
  font-size: .94rem;
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-phones {
  position: relative;
  height: 560px;
  margin-top: 20px;
}
.hero-phone {
  position: absolute;
  width: 258px;
  filter: drop-shadow(0 30px 45px rgba(0, 0, 0, .35));
}
.hero-router {
  position: absolute;
  max-width: none;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .45));
}
/* Starter: mesma posição (esquerda/acima), agora POR CIMA */
.hero-router-back {
  width: 510px;
  left: -16%;
  top: -4%;
  z-index: 2;
  opacity: 1;
  animation: floatRouterBack 8s ease-in-out infinite;
}
/* Starter Wi-Fi: mesma posição (direita/abaixo), agora ATRÁS */
.hero-router-front {
  width: 570px;
  right: -9%;
  bottom: -9%;
  z-index: 1;
  animation: floatRouterFront 6.5s ease-in-out infinite;
}
@keyframes floatRouterBack {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50% { transform: translateY(-22px) rotate(-1.5deg); }
}
@keyframes floatRouterFront {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-16px) rotate(1.5deg); }
}
.hero-phone-1 {
  left: 12%;
  top: 0;
  transform: rotate(-14deg);
  z-index: 2;
  animation: floatA 7s ease-in-out infinite;
}
.hero-phone-2 {
  right: 6%;
  top: 60px;
  transform: rotate(10deg);
  animation: floatB 8s ease-in-out infinite;
}
@keyframes floatA {
  0%, 100% { transform: rotate(-14deg) translateY(0); }
  50% { transform: rotate(-14deg) translateY(-16px); }
}
@keyframes floatB {
  0%, 100% { transform: rotate(10deg) translateY(0); }
  50% { transform: rotate(10deg) translateY(-22px); }
}

/* Ondas animadas: a última camada usa a MESMA cor da seção seguinte,
   para não existir emenda de cor entre o hero e o conteúdo. */
.hero-wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  z-index: 3;
  line-height: 0;
  overflow: hidden;
}
.hero-wave svg {
  display: block;
  width: 200%;
  height: 140px;
}
.wave { animation: waveSlide linear infinite; }
.wave-back  { fill: rgba(245, 247, 250, .28); animation-duration: 13s; }
.wave-mid   { fill: rgba(245, 247, 250, .5);  animation-duration: 9s; animation-direction: reverse; }
.wave-front { fill: var(--nb-light);          animation-duration: 6.5s; }

@keyframes waveSlide {
  from { transform: translateX(0); }
  to   { transform: translateX(-480px); }
}

/* ==========================================================================
   Jornada — cards que viram (frente: usuário / verso: operador)
   ========================================================================== */
.journey { background: var(--nb-light); }
.hero { background: var(--nb-light); }
.flip-track { position: relative; padding-top: 34px; }

.flip-line {
  position: absolute;
  left: 6%; right: 6%;
  top: 16px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(255,122,26,.25), var(--nb-orange) 20%, var(--nb-orange) 80%, rgba(255,122,26,.25));
}

.flip-col { position: relative; }
.flip-node {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  margin: -55px auto 20px;
  border-radius: 50%;
  background: var(--nb-orange);
  color: var(--nb-white);
  font-weight: 800;
  font-size: .98rem;
  box-shadow: 0 0 0 7px var(--nb-light), 0 10px 22px rgba(255, 122, 26, .4);
}

/* Palco 3D */
.flip-card {
  height: 350px;
  perspective: 1400px;
  outline: none;
  cursor: pointer;
}
.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .75s cubic-bezier(.3, .8, .3, 1);
}
.flip-card:hover .flip-inner,
.flip-card:focus-visible .flip-inner,
.flip-card.is-flipped .flip-inner { transform: rotateY(180deg); }

.flip-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 26px 24px;
  border-radius: 16px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}
.flip-front {
  background: var(--nb-white);
  box-shadow: var(--nb-shadow);
}
.flip-back {
  background: linear-gradient(150deg, #2e3138 0%, #23252b 55%, #1a1c20 100%);
  box-shadow: var(--nb-shadow-lg);
  transform: rotateY(180deg);
}
.flip-back::after {
  content: "";
  position: absolute;
  right: -70px; top: -70px;
  width: 190px; height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,122,26,.35), transparent 68%);
}

.flip-tag {
  position: absolute;
  top: 22px;
  z-index: 2;
  display: inline-block;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 122, 26, .12);
  color: var(--nb-orange-dark);
  margin-bottom: 16px;
}
.flip-tag-owner { background: rgba(255, 122, 26, .22); color: #ffb27a; }

.flip-ill { position: relative; z-index: 2; height: 116px; display: flex; align-items: center; }
.flip-ill svg { width: 112px; height: 112px; }

.flip-face h3 { position: relative; z-index: 2; font-size: 1.05rem; margin: 12px 0 10px; }
.flip-face p { position: relative; z-index: 2; font-size: .88rem; margin: 0; }
.flip-front h3 { color: var(--nb-graphite); }
.flip-front p { color: var(--nb-gray); }
.flip-back h3 { color: var(--nb-white); }
.flip-back p { color: rgba(255, 255, 255, .75); }


/* ==========================================================================
   Recursos
   ========================================================================== */
.feature-item {
  display: flex;
  gap: 20px;
  margin-bottom: 46px;
}
.feature-item:last-child { margin-bottom: 0; }
.feature-icon {
  flex: 0 0 52px;
  width: 52px; height: 52px;
  color: var(--nb-orange);
  transition: transform .35s var(--nb-ease);
}
.feature-icon svg { width: 100%; height: 100%; }
.feature-item:hover .feature-icon { transform: translateY(-6px) scale(1.06); }
.feature-item h3 { font-size: 1.12rem; margin-bottom: 10px; }
.feature-item p { color: var(--nb-gray); font-size: .93rem; margin: 0; }

/* Dois aparelhos empilhados, cada um com seu próprio flutuar */
.features-devices {
  position: relative;
  z-index: 1;
  height: 350px;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.features-devices img {
  width: 118%;
  max-width: none;
  filter: drop-shadow(0 26px 40px rgba(35, 37, 43, .28));
}
.fd-top { filter: drop-shadow(0 30px 34px rgba(35, 37, 43, .42)); }
/* O STARTER (de cima) sobrepõe o Starter Wi-Fi */
.fd-top    { position: relative; z-index: 2; animation: fdFloatTop 7.5s ease-in-out infinite; }
.fd-bottom { position: relative; z-index: 1; margin-top: -186px; animation: fdFloatBottom 6s ease-in-out infinite; }

@keyframes fdFloatTop {
  0%, 100% { transform: translate(-6%, 0) rotate(-2deg); }
  50%      { transform: translate(-6%, -12px) rotate(1deg); }
}
@keyframes fdFloatBottom {
  0%, 100% { transform: translate(6%, 0) rotate(2deg); }
  50%      { transform: translate(6%, -8px) rotate(-1.5deg); }
}

/* ==========================================================================
   Público em potencial

   Faixa GRAFITE de propósito: ela entra entre "Recursos" (branca) e
   "Investimento" (clara), e uma terceira seção clara seguida faria as três
   virarem um bloco só. O fundo escuro dá o corte e ainda deixa as pílulas
   claras respirarem — mesmo recurso da faixa de estatísticas.
   ========================================================================== */
.audiencia {
  position: relative;
  background: linear-gradient(160deg, var(--nb-graphite-dark), var(--nb-graphite-2));
  overflow: hidden;
}
/* Brilho quente no canto, para o grafite não ficar chapado. */
.audiencia::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -140px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 26, .16), transparent 68%);
  pointer-events: none;
}
.audiencia .container { position: relative; z-index: 2; }

/* Os três grupos ------------------------------------------------------------ */
.aud-grupo {
  height: 100%;
  padding: 30px 28px;
  border-radius: var(--nb-radius);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  transition: border-color .35s var(--nb-ease), background .35s var(--nb-ease);
}
.aud-grupo:hover {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 122, 26, .38);
}
.aud-icone {
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--nb-orange), var(--nb-orange-dark));
  box-shadow: 0 8px 20px rgba(255, 122, 26, .3);
}
.aud-icone svg { width: 24px; height: 24px; color: var(--nb-white); }
.aud-grupo h3 {
  margin-bottom: 6px;
  color: var(--nb-white);
  font-size: 1.08rem;
}
.aud-grupo > p {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, .62);
  font-size: .9rem;
  line-height: 1.6;
}

/* As pílulas ---------------------------------------------------------------- */
.aud-lista {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.aud-lista li {
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .88);
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.35;
}

/* Provedor de internet ------------------------------------------------------
   Fica fora dos grupos porque não é um LUGAR: é um parceiro que leva o
   equipamento à própria carteira de clientes. Enfiá-lo numa das listas
   confundiria quem lê. */
.aud-canal {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 26px;
  padding: 26px 30px;
  border-radius: var(--nb-radius);
  background: rgba(255, 122, 26, .1);
  border: 1px solid rgba(255, 122, 26, .3);
}
.aud-canal-icone {
  flex: none;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 122, 26, .18);
}
.aud-canal-icone svg { width: 26px; height: 26px; color: var(--nb-orange); }
.aud-canal h3 { margin-bottom: 5px; color: var(--nb-white); font-size: 1.04rem; }
.aud-canal p {
  margin: 0;
  color: rgba(255, 255, 255, .7);
  font-size: .93rem;
  line-height: 1.65;
}

@media (max-width: 575.98px) {
  .aud-grupo { padding: 26px 22px; }
  .aud-canal { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 22px; }
}

/* ==========================================================================
   Como funciona
   ========================================================================== */
/* Investimento --------------------------------------------------------------
   Os tres numeros que o candidato quer saber antes de tudo: quanto custa, qual
   a taxa e se paga frete. Fundo claro para separar da secao de recursos, que e
   branca. */
/* Branca, não clara: com a saída da faixa "gera renda", Investimento passou a
   encostar direto na seção seguinte, que também era clara — as duas viravam um
   bloco só. A seção de público (escura) já separa esta da anterior. */
.invest { background: var(--nb-white); }
.invest-card {
  background: var(--nb-white);
  border-radius: var(--nb-radius);
  box-shadow: var(--nb-shadow);
  text-align: center;
  padding: 44px 30px;
  height: 100%;
  transition: transform .35s var(--nb-ease), box-shadow .35s var(--nb-ease);
}
.invest-card:hover { transform: translateY(-10px); box-shadow: var(--nb-shadow-lg); }
.invest-card-destaque { border-top: 4px solid var(--nb-orange); }
.invest-num {
  display: block;
  margin-bottom: 14px;
  color: var(--nb-orange);
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
}
.invest-card h3 {
  margin-bottom: 12px;
  font-size: 1.12rem;
  font-weight: 700;
}
.invest-card p {
  margin: 0;
  color: var(--nb-gray);
  font-size: .95rem;
  line-height: 1.7;
}
.invest-card strong { color: var(--nb-graphite); }
.invest-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 46px;
  text-align: center;
}
.invest-cta span {
  color: var(--nb-gray);
  font-size: .88rem;
}


/* ==========================================================================
   Estatísticas (parallax)
   ========================================================================== */
.stats {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
  color: var(--nb-white);
}
.stats-bg {
  position: absolute;
  inset: -25% 0;
  background: url("../images/bg-stats.svg") center/cover no-repeat, var(--nb-graphite-dark);
  will-change: transform;
}
.stats .container { position: relative; z-index: 2; }
.stat svg { width: 40px; height: 40px; color: var(--nb-orange); margin-bottom: 14px; }
.stat-number { display: block; font-size: 2.4rem; font-weight: 800; line-height: 1.1; }
.stat-label { color: rgba(255, 255, 255, .7); font-size: .9rem; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-accordion { max-width: 860px; margin: 0 auto; }
.faq-accordion .accordion-item {
  border: 0;
  border-bottom: 1px solid #e8ebf0;
  background: transparent;
}
.faq-accordion .accordion-button {
  font-family: inherit;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--nb-graphite);
  background: transparent;
  box-shadow: none;
  padding: 24px 8px;
}
.faq-accordion .accordion-button:not(.collapsed) { color: var(--nb-orange); }
.faq-accordion .accordion-button::after {
  background: none;
  content: "";
  width: 12px; height: 12px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .3s var(--nb-ease);
  margin-top: -6px;
}
.faq-accordion .accordion-button:not(.collapsed)::after { transform: rotate(225deg); margin-top: 6px; }
.faq-accordion .accordion-body { color: var(--nb-gray); font-size: .95rem; padding: 0 8px 26px; }
.faq-more { text-align: center; margin: 40px 0 0; color: var(--nb-gray); }
.faq-more a { font-weight: 700; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--nb-graphite-dark);
  color: rgba(255, 255, 255, .72);
  padding: 90px 0 0;
}
.footer-about { font-size: .92rem; margin: 24px 0; max-width: 300px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  color: rgba(255, 255, 255, .72);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .3s var(--nb-ease);
}
.footer-social a:hover {
  background: var(--nb-orange);
  border-color: var(--nb-orange);
  color: var(--nb-white);
  transform: translateY(-4px);
}
.footer-title { color: var(--nb-white); font-size: 1rem; margin-bottom: 22px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a {
  display: inline-block;
  color: rgba(255, 255, 255, .65);
  font-size: .9rem;
  padding: 6px 0;
  transition: color .3s var(--nb-ease), padding-left .3s var(--nb-ease);
}
.footer-links a:hover { color: var(--nb-orange); padding-left: 6px; }
.footer-stores { max-width: 210px; }
.footer-painel-texto { font-size: .85rem; color: rgba(255, 255, 255, .55); margin: 0 0 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  margin-top: 70px;
  padding: 26px 0;
  text-align: center;
}
.footer-bottom p { margin: 0; font-size: .85rem; color: rgba(255, 255, 255, .5); }
.footer-bottom strong { color: var(--nb-white); }
.footer-bottom a { color: rgba(255, 255, 255, .72); }
.footer-bottom a:hover, .footer-bottom a:focus-visible { color: var(--nb-orange); }

/* ==========================================================================
   Modais de produto
   ========================================================================== */
.product-modal { overflow-y: auto; -webkit-overflow-scrolling: touch; }
.product-modal .modal-dialog { margin-top: 178px; margin-bottom: 48px; }
.product-modal .modal-content {
  position: relative;
  border: 0;
  border-radius: 16px;
  overflow: visible;
  background: var(--nb-white);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .4);
}
.product-modal .modal-body { padding: 0 44px 44px; }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 20;
  width: 38px; height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: var(--nb-graphite);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s var(--nb-ease), transform .25s var(--nb-ease);
}
.modal-close:hover { background: var(--nb-orange); color: var(--nb-white); transform: rotate(90deg); }

/* Faixa escura: o produto vaza para fora dela de propósito */
.pm-hero {
  position: relative;
  margin: 0 -44px 30px;
  height: 200px;
  border-radius: 16px 16px 0 0;
  background:
    radial-gradient(600px 300px at 70% 25%, rgba(255, 122, 26, .32), transparent 62%),
    linear-gradient(135deg, #2e3138 0%, #23252b 50%, #1a1c20 100%);
  overflow: visible;
}
.pm-hero img {
  position: absolute;
  left: 50%;
  bottom: -16px;
  width: 58%;
  max-width: none;
  transform: translateX(-50%);
  filter: drop-shadow(0 40px 55px rgba(0, 0, 0, .55));
  z-index: 2;
}
/* Entrada: o aparelho salta pra fora quando o modal abre */
.product-modal.show .pm-hero img {
  animation: pmExplode .85s cubic-bezier(.2, .9, .25, 1.15) both,
             pmFloat 7s ease-in-out 1s infinite;
}
@keyframes pmExplode {
  0%   { transform: translateX(-50%) translateY(46px) scale(.62) rotate(-7deg); opacity: 0; }
  60%  { opacity: 1; }
  100% { transform: translateX(-50%) translateY(0) scale(1) rotate(0deg); opacity: 1; }
}
@keyframes pmFloat {
  0%, 100% { transform: translateX(-50%) translateY(0) rotate(0deg); }
  50%      { transform: translateX(-50%) translateY(-14px) rotate(-1.5deg); }
}
/* Halo atrás do produto, reforça o "estouro" */
.pm-hero::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -10px;
  width: 60%; height: 70px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(255, 122, 26, .35), transparent 70%);
  filter: blur(18px);
  z-index: 1;
}
.pm-tag { margin-top: 6px; }
.pm-tag {
  display: inline-block;
  background: rgba(255, 122, 26, .12);
  color: var(--nb-orange-dark);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.pm-title { font-size: 1.85rem; font-weight: 500; margin-bottom: 14px; }
.pm-title strong { font-weight: 800; }
.pm-lead { color: var(--nb-graphite-2); font-size: 1.02rem; margin-bottom: 28px; }
.pm-sub {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--nb-orange-dark);
  margin: 26px 0 10px;
}
.product-modal p { color: var(--nb-gray); font-size: .95rem; margin: 0; }
.product-modal p strong { color: var(--nb-graphite); font-weight: 700; }
.pm-list { list-style: none; margin: 0; padding: 0; }
.pm-list li {
  position: relative;
  color: var(--nb-gray);
  font-size: .95rem;
  padding: 8px 0 8px 30px;
}
.pm-list li::before {
  content: "";
  position: absolute;
  left: 4px; top: 17px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--nb-orange);
}
.pm-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid #eef1f5;
}
.pm-ghost {
  background: none;
  border: 0;
  color: var(--nb-gray);
  font-family: inherit;
  font-weight: 600;
  font-size: .92rem;
  padding: 10px 6px;
  transition: color .25s var(--nb-ease);
}
.pm-ghost:hover { color: var(--nb-graphite); }

@media (max-width: 767.98px) {
  .product-modal .modal-dialog { margin-top: 140px; }
  .pm-hero { height: 170px; }
  .pm-hero img { width: 68%; bottom: -14px; }
}
@media (max-width: 575.98px) {
  .product-modal .modal-body { padding: 0 24px 32px; }
  .product-modal .modal-dialog { margin-top: 120px; }
  .pm-hero { margin: 0 -24px 24px; height: 145px; }
  .pm-hero img { width: 82%; bottom: -12px; }
  .pm-title { font-size: 1.45rem; }
}

/* ==========================================================================
   Voltar ao topo
   ========================================================================== */
.back-to-top {
  position: fixed;
  right: 28px; bottom: 28px;
  z-index: 1040;
  width: 46px; height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--nb-graphite);
  color: var(--nb-white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all .35s var(--nb-ease);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .25);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--nb-orange); }

/* ==========================================================================
   Responsividade
   ========================================================================== */
@media (max-width: 1199.98px) {
  .hero-title { font-size: 2.6rem; }
  .hero-lead { font-size: 1.06rem; }
  .hero-phone { width: 225px; }
}

@media (max-width: 991.98px) {
  .section { padding: 84px 0; }
  .flip-card { height: 380px; }
  .flip-ill svg { width: 96px; height: 96px; }
  .hero { padding: 150px 0 130px; }
  .hero-title { font-size: 2.4rem; }
  .hero-phones { height: 480px; margin-top: 60px; }
  .hero-phone-1 { left: 18%; }
  .hero-phone-2 { right: 12%; }
  .features-devices { height: 285px; }
  .features-devices img { width: 96%; }
  .fd-bottom { margin-top: -150px; }
}

@media (max-width: 767.98px) {
  .section { padding: 70px 0; }
  .hero-wave svg { height: 90px; }
  .features-devices { height: 220px; margin-bottom: 30px; }
  .features-devices img { width: 88%; }
  .fd-bottom { margin-top: -124px; }
  .section-head h2 { font-size: 1.75rem; }
  /* Timeline vira vertical: a linha horizontal deixa de fazer sentido */
  .flip-line { display: none; }
  .flip-track { padding-top: 0; }
  .flip-node { margin: 0 auto 14px; box-shadow: 0 10px 22px rgba(255, 122, 26, .4); }
  .flip-card { height: 350px; }
  .flip-ill { height: 96px; }
  .flip-ill svg { width: 88px; height: 88px; }
  .flip-face { padding: 20px 18px; }
  .hero { padding: 130px 0 110px; }
  .hero-title { font-size: 2rem; }
  .hero-phones { height: 420px; }
  .hero-phone { width: 185px; }
  .hero-router-back { width: 330px; left: -13%; top: -2%; }
  .hero-router-front { width: 378px; right: -8%; bottom: -7%; }
  .hero-phone-1 { left: 8%; }
  .hero-phone-2 { right: 4%; }
  .stat-number { font-size: 1.9rem; }
}

@media (max-width: 575.98px) {
  .hero-title { font-size: 1.8rem; }
  .hero-actions .store-btn { width: 100%; justify-content: center; }
  .hero-phones { height: 360px; }
  .hero-phone { width: 160px; }
  .hero-router-back { width: 255px; left: -10%; top: -1%; }
  .hero-router-front { width: 295px; right: -6%; bottom: -5%; }
  .back-to-top { right: 16px; bottom: 16px; }
}

/* Movimento reduzido -------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .hero-photo, .hs-arc, .hs-core, .hs-dots circle, .wave,
  .fd-top, .fd-bottom, .df-arrow svg { animation: none !important; }
  .hs-arc { opacity: .4; }
  html:not(.lenis) { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}


/* ==========================================================================
   Contratação na ponta

   Substituiu "Quanto custa para começar" (que ficou só em investimento.html).
   As cinco telas são capturas do portal captivo real, em largura de celular:
   o parceiro precisa ver o produto do lado de quem paga, não o preço de novo.

   Sem GIF de propósito. O mesmo trecho em GIF passaria de 3 MB, com cor
   reduzida e texto ilegível; cinco WebP somam ~160 kB, ficam nítidos em tela
   retina e ainda deixam o visitante voltar num passo específico.
   ========================================================================== */
.contrata { background: var(--nb-white); }

.ct-palco {
  display: grid;
  /* A coluna de texto tem teto: sem ele a linha passa de 100 caracteres em tela
     larga e o olho perde a linha seguinte no meio de cada passo. */
  grid-template-columns: minmax(240px, 320px) minmax(0, 580px);
  justify-content: center;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}

/* O aparelho ---------------------------------------------------------------- */
.ct-fone {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  padding: 13px;
  border-radius: 44px;
  background: linear-gradient(165deg, #43464e, #1a1c20 62%);
  box-shadow: var(--nb-shadow-lg), 0 0 0 1px rgba(255, 255, 255, .06) inset;
}
/* A ilha preta do topo. É enfeite: fica por cima da tela, sem empurrar nada. */
.ct-vinco {
  position: absolute;
  z-index: 3;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 76px;
  height: 18px;
  border-radius: 999px;
  background: #101114;
}
.ct-tela {
  position: relative;
  /* Mesma proporção dos arquivos (640×1375): sem isso a caixa nasce com altura
     zero e o telefone aparece achatado antes das imagens carregarem. */
  aspect-ratio: 640 / 1375;
  border-radius: 32px;
  overflow: hidden;
  background: #fdf4ec;
}
.ct-tela img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transition: opacity .55s var(--nb-ease);
}
.ct-tela img.ativo { opacity: 1; }

/* O toque que provoca a próxima tela. A posição vem do data-toque do passo. */
.ct-toque {
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  border-radius: 50%;
  background: rgba(255, 122, 26, .3);
  box-shadow: inset 0 0 0 2px rgba(255, 122, 26, .65);
  opacity: 0;
  pointer-events: none;
}
.ct-toque.bate { animation: ct-bate .85s var(--nb-ease); }
@keyframes ct-bate {
  0%   { opacity: 0; transform: scale(.35); }
  30%  { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.55); }
}

/* Os passos ----------------------------------------------------------------- */
.ct-passos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ct-passo {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  padding: 15px 20px;
  text-align: left;
  border: 0;
  border-left: 3px solid rgba(35, 37, 43, .09);
  border-radius: 0 var(--nb-radius) var(--nb-radius) 0;
  background: transparent;
  cursor: pointer;
  transition: background .3s var(--nb-ease), border-color .3s var(--nb-ease);
}
.ct-passo:hover { background: var(--nb-light); }
.ct-passo[aria-current="true"] {
  background: var(--nb-light);
  border-left-color: var(--nb-orange);
}
.ct-num {
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  height: 32px;
  border-radius: 50%;
  background: rgba(35, 37, 43, .07);
  color: var(--nb-gray);
  font-size: .88rem;
  font-weight: 800;
  transition: background .3s var(--nb-ease), color .3s var(--nb-ease);
}
.ct-passo[aria-current="true"] .ct-num {
  background: var(--nb-orange);
  color: var(--nb-white);
}
.ct-txt {
  color: var(--nb-gray);
  font-size: .93rem;
  line-height: 1.65;
}
.ct-txt strong {
  display: block;
  margin-bottom: 2px;
  color: var(--nb-graphite);
  font-size: 1.02rem;
  font-weight: 700;
}
.ct-txt em { font-style: normal; color: var(--nb-orange); font-weight: 700; }

.ct-remate {
  margin: 46px 0 0;
  color: var(--nb-gray);
  font-size: .95rem;
  text-align: center;
}
.ct-remate a { font-weight: 700; }

@media (max-width: 991.98px) {
  .ct-palco { grid-template-columns: 1fr; gap: 38px; }
  .ct-fone { max-width: 262px; }
}
@media (max-width: 575.98px) {
  .ct-passo { padding: 13px 15px; gap: 13px; }
  .ct-txt { font-size: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  .ct-tela img { transition: none; }
  .ct-toque { display: none; }
}
