/* A Home tem cabeçalho e rodapé próprios (editorial, full-bleed) — o menu e
   o rodapé padrão de base.html (usados no resto do site) ficam escondidos
   só nesta página, via CSS. Nenhum arquivo compartilhado é alterado.
   Exceção: usuário do painel logado (dev/master/admin/monitor) vê o mesmo
   nav padrão do resto do site (com acesso ao Painel), não o cabeçalho
   editorial voltado a visitantes — "Garantir meu lugar" não faz sentido
   pra quem já é da equipe. */
:where(body:has(.nx-home-header)) nav.nx-nav { display: none !important; }   /* .nx-home-header só existe pra visitante (anônimo) */
footer.nx-foot { display: none !important; }

body { background: var(--nx-preto); }
main { position: relative; z-index: 1; overflow: clip; }

.nx-container { max-width: 1440px; margin: 0 auto; padding-inline: 24px; }
.nx-section-gap { padding-block: clamp(64px, 9vw, 120px); }

/* Regra do verde da home: só os dots de status são verdes. "Garantir meu lugar" (bilhete e barra
   inferior mobile) é branco sólido, como os demais botões de ação do site. */

/* ── Header ──────────────────────────────────────────── */
.nx-home-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: 80px; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  background: transparent;
  border-bottom: 1px solid rgba(254,254,254,.12);
  transition: background .25s ease;
}
.nx-home-header.is-solido { background: var(--nx-preto); }
.nx-hh-brand { display: flex; align-items: center; flex-shrink: 0; }
.nx-hh-brand img { height: 26px; width: auto; display: block; mix-blend-mode: screen; }
.nx-hh-nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.nx-hh-nav a:not(.nx-hh-cta) {
  font-family: var(--nx-mono); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .16em;
  color: var(--nx-suave); text-decoration: none;
  transition: color .15s ease;
}
.nx-hh-nav a:not(.nx-hh-cta):hover { color: var(--nx-branco); }
.nx-hh-cta {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 22px; box-sizing: border-box;
  font-family: var(--nx-mono); font-size: 12px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  background: transparent; color: var(--nx-branco);
  border: 1px solid var(--nx-branco); border-radius: var(--nx-radius);
  text-decoration: none; white-space: nowrap; flex-shrink: 0;
  transition: background .15s, color .15s;
}
a.nx-hh-cta:hover { background: var(--nx-branco); color: var(--nx-preto); }
.nx-hh-cta--menu { display: none; }
.nx-cta-off { opacity: .32; cursor: not-allowed; pointer-events: none; }

.nx-hh-hamburger {
  display: none; flex-direction: column; justify-content: center; align-items: center; gap: 7px;
  width: 44px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer;
  border-radius: var(--nx-radius);
}
.nx-hh-hamburger:focus-visible { outline: none; box-shadow: var(--nx-focus); }
.nx-hh-hamburger span {
  display: block; width: 22px; height: 2px; background: var(--nx-branco);
  border-radius: 2px; transition: transform .2s ease;
}
.nx-hh-hamburger.open span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nx-hh-hamburger.open span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 640px) {
  .nx-home-header { height: 64px; padding: 0 20px; }
  .nx-hh-brand img { height: 22px; }
  .nx-hh-hamburger { display: flex; }
  .nx-home-header > .nx-hh-cta { display: none; }
  .nx-hh-nav { display: none; }
  /* menu: painel em tela cheia sob o cabeçalho */
  .nx-hh-nav.open {
    display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start;
    position: fixed; inset: 64px 0 0 0; z-index: 49; margin: 0; gap: 0;
    padding: 24px 20px calc(24px + env(safe-area-inset-bottom, 0px));
    background: var(--nx-preto); overflow-y: auto;
  }
  .nx-hh-nav.open a:not(.nx-hh-cta) {
    font-family: var(--nx-display); font-stretch: 125%; font-weight: 850; font-size: 28px;
    letter-spacing: 0; text-transform: uppercase; color: var(--nx-branco);
    padding: 16px 0; border-bottom: 1px solid var(--nx-linha);
  }
  .nx-hh-nav.open .nx-hh-cta--menu { display: flex; margin-top: 28px; height: 52px; }
  .nx-home-header:has(.nx-hh-nav.open) { background: var(--nx-preto); }
  body.nx-menu-aberto { overflow: hidden; }
}

/* ── Hero ────────────────────────────────────────────── */
.nx-hero {
  position: relative;
  min-height: min(100svh, 820px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 120px 24px 40px;
  overflow: hidden;
}
.nx-hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.nx-hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(19,17,17,.72) 0%, rgba(19,17,17,.62) 45%, rgba(19,17,17,.94) 100%);
  pointer-events: none;
}
.nx-hero-content { position: relative; max-width: 1440px; margin: 0 auto; width: 100%; }

.nx-hero-h1 {
  font-family: var(--nx-display);
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  font-weight: 850;
  font-size: clamp(2.75rem, 9.2vw, 8.25rem);
  line-height: .9;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--nx-branco);
  margin: 0 0 32px;
}
.nx-line { overflow: hidden; display: block; padding-top: .16em; margin-top: -.16em; }
.nx-line > span {
  display: block;
  transform: translateY(105%);
  transition: transform .9s cubic-bezier(.16,1,.3,1);
}
.nx-on .nx-line > span { transform: none; }
.nx-hero-h1 .nx-line:nth-child(1) > span { transition-delay: .08s; }
.nx-hero-h1 .nx-line:nth-child(2) > span { transition-delay: .2s; }

.nx-hero-foot {
  display: flex; gap: 28px; justify-content: space-between; align-items: flex-end;
  border-top: 1px solid var(--nx-linha);
  padding: 20px 0 28px;
}
.nx-hero-tagline {
  font-family: var(--nx-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--nx-suave); margin: 0;
}
.nx-hero-lede {
  font-family: var(--nx-corpo); font-size: 1rem; color: var(--nx-suave);
  line-height: 1.6; max-width: 44ch; margin: 0; text-align: right;
}
@media (max-width: 640px) {
  .nx-hero { min-height: min(100svh, 700px); padding: 96px 20px 24px; }
  .nx-hero-h1 { font-size: min(44px, calc((100vw - 40px) / 9.5));   /* "DO NORDESTE" cabe em 1 linha até 360px */ margin-bottom: 24px; }
  .nx-hero-foot { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 0 20px; }
  .nx-hero-lede { text-align: left; }
}

/* ── Bilhete da próxima saída ────────────────────────── */
.nx-ticket-home {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto;
  background: rgba(19,17,17,.86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--nx-linha); border-radius: var(--nx-radius);
}
.nx-ticket-home--vazio { grid-template-columns: minmax(0, 1fr) auto; }
.nx-ticket-home--so-insta { grid-template-columns: auto; justify-content: start; }
/* entrada do bilhete (e do texto acima dele) quando o hero ganha .nx-on */
.nx-hero-foot, .nx-ticket-home {
  opacity: 0; transform: translateY(32px);
  transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1);
}
.nx-hero-foot { transition-delay: .35s; }
.nx-ticket-home { transition-delay: .55s; }
.nx-on .nx-hero-foot, .nx-on .nx-ticket-home { opacity: 1; transform: none; }
.nx-tk-col { padding: 24px 28px; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.nx-tk-col + .nx-tk-col { border-left: 2px dashed var(--nx-linha); }
.nx-tk-status {
  display: flex; align-items: center; gap: 8px; margin: 0 0 10px;
  font-family: var(--nx-mono); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--nx-suave);
}
.nx-tk-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--nx-verde); flex: none; }
.nx-tk-status.is-esgotado .nx-tk-dot { background: var(--nx-erro); }
.nx-tk-status.is-neutro .nx-tk-dot { background: var(--nx-cinza); }
.nx-tk-nome {
  font-family: var(--nx-display); font-stretch: 118%; font-variation-settings: "wdth" 118; font-weight: 850;
  font-size: 34px; line-height: 1; text-transform: uppercase; color: var(--nx-branco); margin: 0 0 10px;
}
.nx-tk-nome--vazio { color: var(--nx-cinza); }
.nx-tk-meta { font-family: var(--nx-mono); font-size: 13px; color: var(--nx-suave); letter-spacing: .06em; text-transform: uppercase; margin: 0; }
.nx-tk-meta--texto { text-transform: none; letter-spacing: .02em; line-height: 1.5; max-width: 52ch; }

.nx-tk-ocup-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.nx-tk-rotulo { font-family: var(--nx-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--nx-cinza); }
.nx-tk-pct { font-family: var(--nx-mono); font-weight: 700; font-size: 14px; color: var(--nx-branco); }
.nx-tk-pct.alta { color: var(--nx-alerta); }
.nx-tk-pct.esgotado { color: var(--nx-erro); }
.nx-tk-bar { height: 3px; background: var(--nx-linha); overflow: hidden; margin-bottom: 12px; }
.nx-tk-bar-fill { height: 100%; width: 0%; background: var(--nx-branco); transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.nx-tk-bar-fill.alta { background: var(--nx-alerta); }
.nx-tk-bar-fill.esgotado { background: var(--nx-erro); }
.nx-tk-ocup-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-family: var(--nx-mono); font-size: 13px; color: var(--nx-suave); }
.nx-tk-restam { color: var(--nx-alerta); font-weight: 700; }
.nx-tk-esgotado-txt { color: var(--nx-erro); font-weight: 700; }

.nx-tk-acao { align-items: stretch; min-width: 260px; }
.btn.nx-tk-cta { justify-content: center; min-height: 56px; padding: 0 28px; font-weight: 700; }
.nx-tk-esgotado-aviso {
  margin: 0; max-width: 24ch; text-align: center;
  font-family: var(--nx-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--nx-erro); line-height: 1.5;
}
.btn.nx-tk-insta {
  justify-content: center; min-height: 52px; background: transparent; color: var(--nx-branco);
  border-color: var(--nx-branco); font-family: var(--nx-mono); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: none;
}
.btn.nx-tk-insta:hover { background: var(--nx-branco); color: var(--nx-preto); }

@media (max-width: 900px) {
  .nx-ticket-home, .nx-ticket-home--vazio { grid-template-columns: 1fr; }
  .nx-tk-col + .nx-tk-col { border-left: 0; border-top: 2px dashed var(--nx-linha); }
  .nx-tk-acao { min-width: 0; }
  .nx-tk-col { padding: 20px; }
  .nx-tk-nome { font-size: 28px; }
}

/* ── Barra inferior mobile ───────────────────────────── */
.nx-mbar { display: none; }
@media (max-width: 640px) {
  .nx-mbar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(19,17,17,.94); border-top: 1px solid var(--nx-linha);
    transform: translateY(110%); transition: transform .3s ease; pointer-events: none;
  }
  .nx-mbar.is-visivel { transform: none; pointer-events: auto; }
  .nx-mbar-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .nx-mbar-nome { font-family: var(--nx-display); font-stretch: 112%; font-weight: 750; font-size: 14px; text-transform: uppercase; color: var(--nx-branco); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nx-mbar-vagas { font-family: var(--nx-mono); font-size: 12px; color: var(--nx-suave); }
  .btn.nx-mbar-cta { min-height: 44px; padding: 0 20px; font-weight: 700; flex: none; }
}

/* ── Próxima saída · UP19 (sem excursão aberta) ──────── */
.nx-proxima { border-top: 1px solid var(--nx-linha); }
.nx-proxima__body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); padding-block: clamp(48px, 7vw, 88px); }
.nx-proxima__col-left, .nx-proxima__col-tabela { display: flex; flex-direction: column; min-width: 0; }
.nx-proxima__eyebrow {
  font-family: var(--nx-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--nx-cinza); margin: 0 0 14px;
}
.nx-proxima__titulo {
  font-family: var(--nx-display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 850;
  text-transform: uppercase; font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: .95;
  color: var(--nx-branco); margin: 0 0 18px;
}
.nx-proxima__desc { font-size: 1rem; color: var(--nx-suave); line-height: 1.6; margin: 0 0 24px; max-width: 46ch; }
.nx-proxima__botoes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.nx-proxima__btn {
  display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px;
  min-height: 56px; box-sizing: border-box;
  font-family: var(--nx-mono); font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; padding: 12px 20px; border-radius: var(--nx-radius); text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
}
.nx-proxima__btn--primary { background: var(--nx-branco); color: var(--nx-preto); border: 1px solid var(--nx-branco); }
.nx-proxima__btn--primary .nx-proxima__btn-tel { color: #4A4545; }
.nx-proxima__btn--primary:hover { filter: brightness(.92); }
.nx-proxima__btn--secondary { background: transparent; color: var(--nx-branco); border: 1px solid var(--nx-linha); }
.nx-proxima__btn--secondary:hover { border-color: var(--nx-cinza); }
.nx-proxima__btn-tel { font-weight: 500; color: var(--nx-suave); letter-spacing: .02em; text-transform: none; }

.nx-proxima__tabela-head {
  display: flex; justify-content: space-between;
  font-family: var(--nx-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--nx-cinza); padding-bottom: 12px; border-bottom: 1px solid var(--nx-linha);
}
.nx-proxima__linha {
  display: flex; align-items: baseline; gap: 10px;
  padding: 16px 0; border-bottom: 1px dashed var(--nx-linha);
}
.nx-proxima__cidade {
  font-family: var(--nx-display); font-stretch: 112%; font-weight: 750;
  text-transform: uppercase; font-size: 1.3rem; color: var(--nx-branco); white-space: nowrap;
}
.nx-proxima__leader { flex: 1; }
.nx-proxima__preco { font-family: var(--nx-mono); font-weight: 700; font-size: 1rem; color: var(--nx-branco); white-space: nowrap; }
.nx-proxima__leito-status { font-family: var(--nx-mono); font-weight: 700; font-size: .9rem; color: var(--nx-alerta); white-space: nowrap; letter-spacing: .06em; }
.nx-proxima__linha.is-esgotado .nx-proxima__cidade,
.nx-proxima__linha.is-esgotado .nx-proxima__leito-status { color: var(--nx-apagado); }
.nx-proxima__nota { font-size: 13px; line-height: 1.6; color: var(--nx-cinza); margin: 18px 0 0; }
.nx-proxima__nota strong { color: var(--nx-suave); font-weight: 600; }
@media (max-width: 900px) {
  .nx-proxima__body { grid-template-columns: 1fr; }
}

/* ── Loader (letreiro de partidas) ──────────────────── */
#nx-boot {
  position: fixed; inset: 0; z-index: 9999; background: var(--nx-preto);
  display: flex; align-items: center; padding: 0 clamp(20px, 6vw, 96px);
  transition: opacity .6s ease;
}
#nx-boot.nx-boot--saindo { opacity: 0; pointer-events: none; }
.nx-boot-logo { position: absolute; top: clamp(20px, 4vw, 40px); left: clamp(20px, 6vw, 96px); height: clamp(14px, 2vw, 22px); width: auto; }
.nx-boot-board { width: 100%; max-width: 1100px; display: flex; flex-direction: column; gap: clamp(10px, 1.4vw, 16px); }
.nx-boot-eyebrow { font-family: var(--nx-mono); font-size: .7rem; letter-spacing: .24em; color: var(--nx-cinza); }
.nx-boot-l1 {
  font-family: var(--nx-mono); font-weight: 700; font-size: clamp(1.1rem, 5.2vw, 4.2rem); line-height: 1.05;
  color: var(--nx-branco); white-space: pre-wrap; word-break: break-word; min-height: 1.05em;
}
.nx-boot-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px;
  padding-top: 14px; border-top: 1px dashed var(--nx-linha);
}
.nx-boot-l2 { font-family: var(--nx-mono); font-size: clamp(.7rem, 1.3vw, .95rem); color: var(--nx-suave); white-space: pre; min-height: 1em; }
.nx-boot-status {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--nx-mono); font-size: .7rem; letter-spacing: .2em;
  opacity: 0; transition: opacity .2s linear;
}
.nx-boot-status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.nx-boot-status--ok { color: var(--nx-verde); }
.nx-boot-status--alerta { color: var(--nx-alerta); }
#nx-boot.nx-boot--status .nx-boot-status { opacity: 1; }
@media (prefers-reduced-motion: reduce) { #nx-boot { display: none; } }

/* ── Scroll reveal genérico ──────────────────────────── */
.nx-rev { opacity: 0; transform: translateY(24px); transition: opacity .6s cubic-bezier(.2,.8,.2,1), transform .6s cubic-bezier(.2,.8,.2,1); }
.nx-rev.nx-on { opacity: 1; transform: none; }

/* ── Cascata de entrada (linhas, passos, fotos): cada item sobe com atraso
   crescente quando entra na tela. A prévia do admin não carrega este CSS,
   então lá os cartões nascem visíveis. ── */
.nx-casc {
  opacity: 0; transform: translateY(28px);
  transition: opacity .6s cubic-bezier(.2,.8,.2,1), transform .6s cubic-bezier(.2,.8,.2,1), background .2s ease, border-color .2s ease;
}
.nx-casc.nx-on { opacity: 1; transform: none; }
.nx-casc:nth-child(2) { transition-delay: .06s; }
.nx-casc:nth-child(3) { transition-delay: .12s; }
.nx-casc:nth-child(4) { transition-delay: .18s; }
.nx-casc:nth-child(5) { transition-delay: .24s; }
.nx-casc:nth-child(6) { transition-delay: .3s; }
.nx-casc:nth-child(7) { transition-delay: .36s; }
.nx-casc:nth-child(n+8) { transition-delay: .42s; }
/* depois de revelado, o hover/foco responde sem o atraso da cascata */
.nx-casc.nx-on:hover { transition-delay: 0s; }

/* ── Título de seção ─────────────────────────────────── */
.nx-sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.nx-sec-titulo {
  font-family: var(--nx-display); font-stretch: 112%; font-variation-settings: "wdth" 112; font-weight: 850;
  font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1; text-transform: uppercase; color: var(--nx-branco); margin: 0;
}
.nx-sec-count { font-family: var(--nx-mono); font-size: 12px; letter-spacing: .14em; color: var(--nx-cinza); white-space: nowrap; }
.nx-sec-vazio { font-family: var(--nx-mono); font-size: .78rem; color: var(--nx-cinza); padding: 10px 0; }
.nx-sec-count.nx-sec-count-esp { margin-bottom: 10px; }

/* ── Painel de partidas ──────────────────────────────── */
.nx-dep-lista { border-top: 1px solid var(--nx-branco); }
.nx-dep-cab, .nx-dep-linha { display: grid; grid-template-columns: 140px minmax(0, 1fr) 220px 48px; align-items: center; column-gap: 16px; }
.nx-dep-cab {
  padding: 12px 0; border-bottom: 1px solid var(--nx-linha);
  font-family: var(--nx-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--nx-cinza);
}
.nx-dep-linha {
  padding: 20px 0; border-bottom: 1px solid var(--nx-linha); text-decoration: none; color: var(--nx-branco);
  transition: background .15s;
}
.nx-dep-linha:hover { background: #1A1818; }
.nx-dep-linha:focus-visible { outline: none; box-shadow: var(--nx-focus); }
.nx-dep-hora { font-family: var(--nx-mono); font-weight: 700; font-size: 28px; line-height: 1; letter-spacing: -.02em; padding-left: 8px; }
.nx-dep-nome { font-family: var(--nx-display); font-stretch: 112%; font-weight: 750; font-size: 22px; line-height: 1.15; text-transform: uppercase; }
.nx-dep-status {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--nx-mono); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--nx-suave);
}
.nx-dep-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--nx-cinza); flex: none; }
.nx-dep-status.ok .nx-dep-dot { background: var(--nx-verde); }
.nx-dep-status.alerta .nx-dep-dot { background: var(--nx-alerta); }
.nx-dep-status.erro .nx-dep-dot { background: var(--nx-erro); }
.nx-dep-arrow { font-family: var(--nx-mono); font-size: 18px; color: var(--nx-cinza); text-align: center; transition: transform .2s ease, color .2s ease; }
.nx-dep-linha:hover .nx-dep-arrow { transform: translateX(4px); color: var(--nx-branco); }
.nx-dep-note { font-family: var(--nx-mono); font-size: 12px; color: var(--nx-cinza); margin: 16px 0 0; letter-spacing: .04em; }
@media (max-width: 640px) {
  .nx-dep-cab { display: none; }
  .nx-dep-linha {
    grid-template-columns: 72px minmax(0, 1fr) 16px; grid-template-areas: "hora nome seta" "hora status seta";
    column-gap: 14px; row-gap: 6px; min-height: 72px; box-sizing: border-box; padding: 14px 0;
  }
  .nx-dep-hora { grid-area: hora; font-size: 22px; padding-left: 0; }
  .nx-dep-nome { grid-area: nome; font-size: 18px; }
  .nx-dep-status { grid-area: status; font-size: 11px; }
  .nx-dep-arrow { grid-area: seta; }
}

/* ── Como funciona ───────────────────────────────────── */
.nx-como { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 48px; align-items: start; }
.nx-como-grade { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.nx-passo { border-top: 1px solid var(--nx-linha); padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 10px; }
.nx-passo.nx-on:hover { background: #1A1818; border-top-color: var(--nx-branco); transform: translateY(-6px); }
.nx-passo:hover .nx-como-num { color: var(--nx-branco); }
.nx-passo .nx-como-num { transition: color .2s ease; }
.nx-como-num { font-family: var(--nx-mono); font-size: 12px; letter-spacing: .14em; color: var(--nx-cinza); }
.nx-passo-titulo {
  font-family: var(--nx-display); font-stretch: 112%; font-variation-settings: "wdth" 112; font-weight: 750;
  font-size: 22px; line-height: 1.1; text-transform: uppercase; color: var(--nx-branco); margin: 0;
}
.nx-passo-desc { margin: 0; font-family: var(--nx-corpo); font-size: .95rem; line-height: 1.65; color: var(--nx-suave); text-wrap: pretty; }
@media (max-width: 900px) {
  .nx-como { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .nx-como-grade { grid-template-columns: 1fr; gap: 16px; }
}

/* ── Galeria ─────────────────────────────────────────── */
.nx-galeria-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 240px; gap: 12px; }
.nx-galeria-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--nx-radius); display: block; }
.nx-galeria-grid img:first-child { grid-row: span 2; }
@media (max-width: 640px) {
  .nx-galeria-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; gap: 8px; }
  .nx-galeria-grid img:first-child { grid-row: auto; grid-column: 1 / -1; }
}

/* ── Bora + Footer ───────────────────────────────────── */
.nx-bf-section { background: var(--nx-preto); border-top: 1px solid var(--nx-linha); }
.nx-bf-cta { max-width: 1440px; margin: 0 auto; padding: clamp(64px, 9vw, 112px) 24px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.nx-bf-title.nx-casc { transform: translateY(48px); }
.nx-bf-title.nx-casc.nx-on { transform: none; }
.nx-bf-title {
  font-family: var(--nx-display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 850;
  font-size: clamp(4rem, 8vw, 6rem); line-height: .85; text-transform: uppercase; color: var(--nx-branco); margin: 0;
}
.nx-bf-texto { font-family: var(--nx-corpo); font-size: 1.1rem; color: var(--nx-suave); line-height: 1.5; margin: 0; max-width: 46ch; }
.nx-bf-botoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.nx-bf-primary, .nx-bf-secondary {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 14px;
  height: 52px; padding: 0 22px; border-radius: var(--nx-radius); text-decoration: none; white-space: nowrap;
  font-family: var(--nx-mono); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  transition: background .15s, color .15s, border-color .15s;
}
.nx-bf-primary { background: var(--nx-branco); color: var(--nx-preto); border: 1px solid var(--nx-branco); }
a.nx-bf-primary:hover { filter: brightness(.92); }
.nx-bf-secondary { background: transparent; color: var(--nx-branco); border: 1px solid var(--nx-linha); }
.nx-bf-secondary:hover { border-color: var(--nx-cinza); }
.nx-bf-secondary-left { display: flex; align-items: center; gap: 8px; }
.nx-bf-secondary-arrow { color: var(--nx-cinza); }

/* footer{} global de style.css (centralizado, margem, borda) é neutralizado aqui */
.nx-bf-footer {
  /* largura total: logo colado na margem esquerda e copyright na direita, em qualquer tela */
  width: 100%; box-sizing: border-box; margin: 0; text-align: left; color: inherit; font-size: inherit;
  padding: 28px 24px 32px;
  border-top: 1px solid var(--nx-linha);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px;
}
.nx-bf-logo { height: 20px; width: auto; display: block; mix-blend-mode: screen; }
.nx-bf-copy { font-family: var(--nx-mono); font-size: 11px; color: var(--nx-apagado); letter-spacing: .04em; margin: 0; }

@media (max-width: 640px) {
  .nx-bf-cta { padding: 56px 20px 40px; }
  .nx-bf-title { font-size: 4rem; }
  .nx-bf-botoes { flex-direction: column; align-self: stretch; }
  .nx-bf-primary, .nx-bf-secondary { height: 52px; }
  /* logo e copyright na mesma linha, cada um colado numa margem */
  .nx-bf-footer { flex-wrap: nowrap; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px calc(18px + env(safe-area-inset-bottom, 0px)); }   /* a barra fixa some quando o rodapé entra, não precisa de folga */
  .nx-bf-logo { height: 18px; flex: none; }
  .nx-bf-copy { font-size: 10px; white-space: nowrap; text-align: right; }
}

@media (prefers-reduced-motion: reduce) {
  .nx-line > span, .nx-hero-foot, .nx-ticket-home, .nx-rev, .nx-casc, .nx-tk-bar-fill, .nx-mbar { opacity: 1 !important; transform: none !important; transition: none !important; }
  .nx-mbar:not(.is-visivel) { transform: translateY(110%) !important; }
}
