/*
Theme Name: Inubia Theme
Template: twentytwentyfive
Description: Tema filho da Inubia para fullwidth sem header/footer do tema pai
Version: 3.0
*/
/* Remove header e footer do tema pai */
.wp-block-template-part[data-slug="header"],
.wp-block-template-part[data-slug="footer"],
header.wp-block-template-part,
footer.wp-block-template-part {
  display: none !important;
}
/* Remove título da página */
.wp-block-post-title,
h1.wp-block-post-title,
.entry-header,
.page-header {
  display: none !important;
}
/* Remove padding/margin do tema em páginas fullwidth */
.page-template-inubia-fullwidth .wp-site-blocks,
.page-template-inubia-fullwidth .wp-block-group,
.page-template-inubia-fullwidth main {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
}
.page-template-inubia-fullwidth .entry-content,
.page-template-inubia-fullwidth .wp-block-post-content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
}
.page-template-inubia-fullwidth body,
.page-template-inubia-fullwidth .wp-site-blocks > * {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
}

/* =====================================================================
   nx: design novo (cabeçalho, menu, barra, rodapé e classes das páginas novas)
   ===================================================================== */
/* =====================================================================
   Inubia, design novo 2026-11-12 (publicado no tema a 12-11; carregado só com o interruptor INUBIA_NX do functions.php)
   Prefixo de classes: nx-  (não colide com .inh / .ind / .iav do tema)
   Fontes (ronda 2): Manrope em tudo, pesos leves 400/450/500, como na referência do José;
   Ubuntu só no cabeçalho, no menu e na barra do topo.
   <link href="https://fonts.googleapis.com/css2?family=Manrope:wght@300..700&family=Ubuntu:wght@400;500&display=swap" rel="stylesheet">
   ===================================================================== */

/* ---------- 1. Variáveis ---------- */
:root {
  /* marca (guia oficial) */
  --nx-navy: #00215D;
  --nx-blue: #0034FF;
  --nx-red: #FF0025;          /* só acentos gráficos, nunca texto pequeno */
  --nx-sky: #CBD6FF;
  /* base editorial (herdada da referência) */
  --nx-paper: #f3f3ef;
  --nx-paper-2: #e9e9e3;
  --nx-black: #08090b;
  --nx-black-2: #12151b;
  --nx-white: #ffffff;
  /* texto */
  --nx-ink: #15171c;
  --nx-ink-soft: #4b515b;      /* 6.7:1 sobre papel */
  --nx-on-dark: #f4f5f7;
  --nx-on-dark-soft: #aab1bf;  /* 9:1 sobre quase-preto */
  --nx-on-navy-soft: #c3cbe0;
  /* linhas */
  --nx-line: #d6d6cf;
  --nx-line-dark: #272c37;
  --nx-line-navy: rgba(203, 214, 255, .22);
  /* tipografia */
  --nx-display: 'Manrope', Arial, sans-serif;
  --nx-body: 'Manrope', Arial, sans-serif;
  --nx-ui: 'Ubuntu', Arial, sans-serif;      /* só cabeçalho, menu e barra do topo */
  /* escala acertada pela referência (inubia-aprovacao-v10), medida a 1440 e 375 px em 2026-11-12 */
  --nx-fs-h1: clamp(42px, 6.1vw, 88px);     /* IA do José: Manrope 88 px, peso 450 */
  --nx-fs-h2: clamp(34px, 4.17vw, 60px);    /* 60 px a 1440, peso 500 */
  --nx-fs-h3: clamp(22px, 2vw, 30px);
  --nx-fs-lead: clamp(17px, 1.4vw, 20px);
  --nx-fs-body: clamp(16px, 1.15vw, 17px);
  --nx-fs-label: clamp(10px, .77vw, 11px);   /* etiquetas em maiúsculas */
  --nx-fs-btn: clamp(12px, .91vw, 13px);     /* botões em pílula */
  --nx-fs-faq: clamp(15px, 1.12vw, 16px);    /* perguntas do FAQ */
  --nx-lh-body: 1.65;
  --nx-track-label: .12em;
  --nx-track-tight: -0.045em;
  --nx-w-h1: 450;
  --nx-w-head: 500;
  --nx-w-body: 400;
  /* espaço */
  --nx-gutter: clamp(16px, 5vw, 72px);
  --nx-max: 1280px;
  --nx-sec-y: clamp(72px, 9vw, 136px);
  --nx-header-h: 72px;
  --nx-radius: 22px;
  /* movimento */
  --nx-ease: cubic-bezier(.16, 1, .3, 1);
  --nx-fast: .18s;
}

/* ---------- 2. Base (escopada ao wrapper .nx) ---------- */
.nx, .nx *, .nx *::before, .nx *::after { box-sizing: border-box; }
.nx {
  counter-reset: nx-sec;
  margin: 0;
  background: var(--nx-paper);
  color: var(--nx-ink);
  font-family: var(--nx-body);
  font-weight: var(--nx-w-body);
  font-size: var(--nx-fs-body);
  line-height: var(--nx-lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
:where(.nx) :where(h1, h2, h3, h4, p, ul, figure) { margin: 0; }
:where(.nx) ul { padding: 0; list-style: none; }
:where(.nx) a { color: inherit; text-decoration: none; }
:where(.nx) img { display: block; max-width: 100%; height: auto; }
:where(.nx) :where(button, input) { font: inherit; color: inherit; }
:where(.nx) button { cursor: pointer; }
:where(.nx) svg { display: block; }

.nx-skip {
  position: absolute; left: 16px; top: -80px; z-index: 200;
  background: var(--nx-white); color: var(--nx-ink); padding: 12px 20px; border-radius: 999px;
}
.nx-skip:focus { top: 12px; }
.nx-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* foco visível: azul sobre claro, azul claro sobre escuro */
.nx a:focus-visible, .nx button:focus-visible, .nx summary:focus-visible,
.nx input:focus-visible, .nx [tabindex]:focus-visible {
  outline: 3px solid var(--nx-blue); outline-offset: 4px; border-radius: 6px;
}
.nx-dark a:focus-visible, .nx-dark button:focus-visible, .nx-dark summary:focus-visible,
.nx-dark input:focus-visible, .nx-dark [tabindex]:focus-visible,
.nx-navy a:focus-visible, .nx-navy button:focus-visible,
.nx-blue a:focus-visible, .nx-blue button:focus-visible, .nx-blue summary:focus-visible, .nx-dark .nx-mk__tab:focus-visible,
.nx-drop a:focus-visible, .nx-footer a:focus-visible, .nx-footer button:focus-visible, .nx-footer input:focus-visible {
  outline-color: var(--nx-sky);
}

/* ---------- 3. Tipografia ---------- */
.nx-h1, .nx-h2, .nx-h3, .nx-display {
  font-family: var(--nx-display);
  font-weight: var(--nx-w-head);
  letter-spacing: var(--nx-track-tight);
  text-wrap: balance;
}
.nx-h1 { font-size: var(--nx-fs-h1); font-weight: var(--nx-w-h1); line-height: 1.06; letter-spacing: -0.04em; }
.nx-h2 { font-size: var(--nx-fs-h2); line-height: 1.1; }
.nx-h3 { font-size: var(--nx-fs-h3); line-height: 1.18; letter-spacing: -0.04em; }
.nx-lead { font-size: var(--nx-fs-lead); line-height: 1.55; letter-spacing: 0; }
.nx-soft { color: var(--nx-ink-soft); }
.nx-dark .nx-soft { color: var(--nx-on-dark-soft); }
.nx-navy .nx-soft { color: var(--nx-on-navy-soft); }
:where(.nx) p + p { margin-top: 1.05em; }

/* etiqueta "01 / ..." : o número vem de um contador CSS, o texto fica igual */
.nx-kicker {
  display: flex; align-items: baseline; gap: .7em;
  font-family: var(--nx-body);
  font-size: var(--nx-fs-label); font-weight: 500; line-height: 1.6;
  letter-spacing: var(--nx-track-label); text-transform: uppercase;
  color: var(--nx-ink-soft);
}
.nx-kicker--num::before {
  counter-increment: nx-sec;
  content: counter(nx-sec, decimal-leading-zero) " /";
  white-space: nowrap; flex: none;
  color: var(--nx-blue);
  letter-spacing: .08em;
}
.nx-dark .nx-kicker, .nx-navy .nx-kicker { color: var(--nx-on-dark-soft); }
.nx-dark .nx-kicker--num::before, .nx-navy .nx-kicker--num::before { color: var(--nx-sky); }
.nx-sky .nx-kicker { color: #2c3d6e; }
.nx-sky .nx-kicker--num::before { color: var(--nx-navy); }
.nx-blue .nx-kicker { color: #dfe5ff; }
.nx-blue .nx-kicker--num::before { color: var(--nx-white); }

/* realce de frase */
.nx-hl {
  background: linear-gradient(transparent 12%, var(--nx-sky) 12%, var(--nx-sky) 92%, transparent 92%);
  color: var(--nx-navy); padding: 0 .18em; border-radius: 2px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- 4. Layout e secções ---------- */
.nx-wrap { max-width: var(--nx-max); margin: 0 auto; padding: 0 var(--nx-gutter); }
.nx-sec { padding: var(--nx-sec-y) 0; position: relative; }
.nx-paper { background: var(--nx-paper); color: var(--nx-ink); }
.nx-white { background: #fbfbf9; color: var(--nx-ink); }
.nx-dark { background: var(--nx-black); color: var(--nx-on-dark); }
.nx-navy { background: var(--nx-navy); color: var(--nx-white); }
.nx-sky { background: var(--nx-sky); color: var(--nx-navy); }
.nx-blue { background: var(--nx-blue); color: var(--nx-white); }

/* cabeçalho de secção: etiqueta à esquerda, título e texto */
.nx-head { display: grid; grid-template-columns: minmax(180px, 3fr) 9fr; gap: 24px clamp(24px, 4vw, 64px); align-items: start; margin-bottom: clamp(40px, 5vw, 72px); }
.nx-head .nx-kicker { padding-top: .9em; }
.nx-head__sub { margin-top: 22px; max-width: 46ch; }
@media (max-width: 860px) {
  .nx-head { grid-template-columns: 1fr; gap: 18px; }
  .nx-head .nx-kicker { padding-top: 0; }
}

/* ---------- 5. Botões em pílula com círculo e seta ---------- */
.nx-btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 22px;
  min-height: 52px; max-width: 100%;
  padding: 3px 4px 3px 22px;
  border: 1px solid currentColor; border-radius: 999px;
  font-family: var(--nx-body); font-size: var(--nx-fs-btn); font-weight: 500; line-height: 1.4;
  transition: background-color var(--nx-fast), color var(--nx-fast), border-color var(--nx-fast);
}
.nx-btn__i {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--nx-black); color: var(--nx-white);
  transition: transform .28s var(--nx-ease), background-color var(--nx-fast);
}
.nx-btn__i svg { width: 16px; height: 16px; }
.nx-btn:hover .nx-btn__i, .nx-btn:focus-visible .nx-btn__i { transform: rotate(45deg); }
.nx-chip:hover { transform: translateY(-1px); }
/* claro: sobre fundos escuros e azul */
.nx-btn--light { background: var(--nx-white); border-color: var(--nx-white); color: var(--nx-ink); }
.nx-btn--light:hover { background: var(--nx-sky); border-color: var(--nx-sky); }
.nx-btn--light:hover .nx-btn__i { background: var(--nx-blue); }
/* escuro: sobre papel */
.nx-btn--dark { background: var(--nx-black); border-color: var(--nx-black); color: var(--nx-white); }
.nx-btn--dark .nx-btn__i { background: var(--nx-blue); }
.nx-btn--dark:hover { background: var(--nx-navy); border-color: var(--nx-navy); }
/* contorno */
.nx-btn--line { background: transparent; border-color: rgba(21, 23, 28, .45); color: var(--nx-ink); }
.nx-btn--line:hover { background: var(--nx-sky); border-color: var(--nx-navy); }
.nx-btn--line:hover .nx-btn__i { background: var(--nx-blue); }
.nx-dark .nx-btn--line, .nx-navy .nx-btn--line, .nx-blue .nx-btn--line { border-color: rgba(255, 255, 255, .45); color: var(--nx-white); }
.nx-dark .nx-btn--line .nx-btn__i, .nx-navy .nx-btn--line .nx-btn__i { background: var(--nx-sky); color: var(--nx-navy); }
.nx-dark .nx-btn--line:hover, .nx-navy .nx-btn--line:hover { background: rgba(203, 214, 255, .12); border-color: var(--nx-sky); }
/* ligação com seta, sem pílula */
.nx-arrowlink { display: inline-flex; align-items: center; gap: 10px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; min-height: 44px; }
.nx-arrowlink svg { width: 14px; height: 14px; transition: transform var(--nx-fast); }
.nx-arrowlink:hover svg { transform: translate(2px, -2px); }

/* filtros e alternadores em pílula */
.nx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.nx-chip {
  min-height: 44px; padding: 10px 20px; border-radius: 999px;
  border: 1px solid rgba(21, 23, 28, .35); background: transparent;
  font-size: 14px; font-weight: 500; transition: background-color var(--nx-fast), color var(--nx-fast), border-color var(--nx-fast), transform var(--nx-fast);
}
.nx-chip:hover { border-color: var(--nx-ink); }
.nx-chip[aria-pressed="true"] { background: var(--nx-black); border-color: var(--nx-black); color: var(--nx-white); }
.nx-dark .nx-chip { border-color: rgba(255, 255, 255, .32); color: var(--nx-on-dark); }
.nx-dark .nx-chip:hover { border-color: var(--nx-sky); }
.nx-dark .nx-chip[aria-pressed="true"] { background: var(--nx-sky); border-color: var(--nx-sky); color: var(--nx-navy); }

/* ---------- 6. Barra de anúncio ---------- */
.nx-announce {
  font-family: var(--nx-ui);
  background: var(--nx-navy); color: var(--nx-white);
  font-size: 13px; line-height: 1.4; text-align: center;
  padding: 9px var(--nx-gutter);
}
.nx-announce::before {
  content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--nx-red); margin-right: 10px; vertical-align: 2px;
}
.nx-announce a { color: var(--nx-white); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; white-space: nowrap; }
.nx-announce a:hover { color: var(--nx-sky); }
.nx-announce a:focus-visible { outline: 2px solid var(--nx-sky); outline-offset: 3px; border-radius: 4px; }

/* ---------- 7. Cabeçalho e menu ---------- */
.nx-header {
  position: sticky; top: 0; z-index: 90;
  height: var(--nx-header-h);
  background: rgba(243, 243, 239, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--nx-line);
  color: var(--nx-ink);
  font-family: var(--nx-ui);
}
.nx-header--static { position: relative; }
.nx-header__in {
  height: 100%; max-width: 1440px; margin: 0 auto;
  padding: 0 clamp(16px, 2.4vw, 32px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nx-logo { flex: none; display: block; }
.nx-logo img { height: 30px; width: auto; }
.nx-logo--es img { height: 26px; }

.nx-nav { display: flex; align-items: center; gap: clamp(4px, 1.2vw, 14px); }
.nx-nav__list { display: flex; align-items: center; gap: clamp(2px, .9vw, 10px); }
.nx-item { position: relative; }
.nx-nav__link, .nx-sub-btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 12px;
  border: 0; background: none; border-radius: 999px;
  font-size: 15px; font-weight: 400; line-height: 1.5; color: var(--nx-ink);
  transition: background-color var(--nx-fast);
}
.nx-nav__link:hover, .nx-sub-btn:hover, .nx-item.nx-open > .nx-sub-btn { background: rgba(0, 33, 93, .07); }
.nx-nav__link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--nx-blue); border-radius: 0; }
.nx-chev { width: 9px; height: 9px; transition: transform .22s var(--nx-ease); }
.nx-item.nx-open > .nx-sub-btn .nx-chev { transform: rotate(180deg); }

/* submenu (painel escuro) */
.nx-drop {
  position: absolute; top: calc(100% + 12px); left: -8px; z-index: 5;
  min-width: 300px; padding: 20px 10px 12px;
  background: var(--nx-black); color: var(--nx-on-dark);
  border: 1px solid #2b313d; border-radius: 20px; box-shadow: 0 24px 60px rgba(0, 33, 93, .26);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .24s var(--nx-ease), visibility 0s .24s;
}
.nx-drop::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nx-drop__k { padding: 0 14px 10px; font-size: var(--nx-fs-label); letter-spacing: var(--nx-track-label); text-transform: uppercase; color: var(--nx-on-dark-soft); }
.nx-drop a {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 48px; padding: 10px 14px; border-radius: 12px;
  font-family: var(--nx-ui); font-size: 17px; font-weight: 400; letter-spacing: -0.01em;
  transition: background-color var(--nx-fast);
}
.nx-drop a svg { width: 14px; height: 14px; opacity: .5; transition: transform var(--nx-fast), opacity var(--nx-fast); }
.nx-drop a:hover { background: var(--nx-black-2); }
.nx-drop a:hover svg { opacity: 1; transform: translate(2px, -2px); color: var(--nx-sky); }
.nx-drop__all { margin-top: 8px; border-top: 1px solid var(--nx-line-dark); padding-top: 8px; }
.nx-drop__all a { font-family: var(--nx-body); font-size: 14px; letter-spacing: 0; color: var(--nx-sky); }

.nx-cta {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px;
  padding: 6px 6px 6px 18px; border-radius: 999px;
  background: var(--nx-black); color: var(--nx-white);
  font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: background-color var(--nx-fast);
}
.nx-cta span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--nx-blue); transition: transform .28s var(--nx-ease); }
.nx-cta span svg { width: 13px; height: 13px; }
.nx-cta:hover { background: var(--nx-navy); }
.nx-cta:hover span { transform: rotate(45deg); }

.nx-burger {
  display: none; align-items: center; gap: 10px; min-height: 44px; padding: 6px 8px 6px 16px;
  border: 1px solid rgba(21, 23, 28, .35); border-radius: 999px; background: transparent;
  font-size: 14px; font-weight: 500;
}
.nx-burger i { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--nx-black); }
.nx-burger i::before, .nx-burger i::after {
  content: ''; position: absolute; left: 9px; right: 9px; top: 50%; height: 1.5px; margin-top: -.75px;
  background: var(--nx-white); transition: transform .25s var(--nx-ease);
}
.nx-burger i::after { transform: rotate(90deg); }
.nx-menu-open .nx-burger i::before { transform: rotate(45deg); }
.nx-menu-open .nx-burger i::after { transform: rotate(135deg); }

@media (min-width: 1081px) {
  .nx-item:hover > .nx-drop, .nx-item:focus-within > .nx-drop, .nx-item.nx-open > .nx-drop {
    opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .24s var(--nx-ease), visibility 0s;
  }
  .nx-item:hover > .nx-sub-btn .nx-chev { transform: rotate(180deg); }
  .nx-nav__cta-m { display: none; }
}

/* versão móvel do menu */
@media (max-width: 1080px) {
  .nx-header { --nx-header-h: 64px; }
  .nx-logo img { height: 26px; }
  .nx-logo--es img { height: 22px; }
  .nx-burger { display: inline-flex; }
  .nx-header__cta { display: none; }
  .nx-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    height: calc(100vh - var(--nx-header-h)); height: calc(100dvh - var(--nx-header-h));
    overflow-y: auto; overscroll-behavior: contain;
    background: var(--nx-paper); border-top: 1px solid var(--nx-line);
    padding: 8px var(--nx-gutter) 32px;
    flex-direction: column; align-items: stretch; gap: 0;
  }
  .nx-menu-open .nx-nav { display: flex; }
  .nx-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nx-item, .nx-nav__list > li { border-bottom: 1px solid var(--nx-line); }
  .nx-nav__link, .nx-sub-btn {
    width: 100%; justify-content: space-between; min-height: 64px; padding: 14px 2px; border-radius: 0;
    font-family: var(--nx-ui); font-size: 20px; font-weight: 400; line-height: 1.5; letter-spacing: -0.01em; text-align: left;
  }
  .nx-nav__link:hover, .nx-sub-btn:hover, .nx-item.nx-open > .nx-sub-btn { background: none; }
  .nx-nav__link[aria-current="page"] { box-shadow: none; color: var(--nx-blue); }
  .nx-chev { width: 14px; height: 14px; }
  .nx-drop {
    position: static; display: none; min-width: 0; margin: 0 0 16px; padding: 8px;
    opacity: 1; visibility: visible; transform: none; transition: none; box-shadow: none; border-radius: 16px;
  }
  .nx-drop::before { display: none; }
  .nx-item.nx-open > .nx-drop { display: block; }
  .nx-drop a { font-size: 18px; }
  .nx-nav__cta-m { margin-top: 28px; }
  .nx-nav__cta-m .nx-btn { width: 100%; }
}
html.nx-lock, html.nx-lock body { overflow: hidden; }

/* ---------- 8. Faixa final azul ---------- */
.nx-band { padding: clamp(64px, 8vw, 112px) 0; position: relative; overflow: hidden; }
.nx-band__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px 64px; align-items: end; position: relative; z-index: 1; }
.nx-band .nx-h2 { font-size: clamp(38px, 5vw, 76px); max-width: 15ch; margin-top: 22px; }
.nx-band__side p { color: #e6eaff; }
.nx-band__side .nx-btn { margin-top: 28px; }
.nx-band__links { margin-top: clamp(40px, 5vw, 64px); padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .35); font-size: 15px; color: #e6eaff; }
.nx-band__links a { color: var(--nx-white); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.nx-band__links a:hover { text-decoration-thickness: 2px; }
.nx-band__art { position: absolute; right: -220px; top: -60px; width: 520px; opacity: .22; pointer-events: none; }
@media (max-width: 860px) {
  .nx-band__grid { grid-template-columns: 1fr; }
  .nx-band__art { width: 340px; right: -120px; top: -60px; }
}

/* ---------- 9. Rodapé ---------- */
.nx-footer { background: var(--nx-black); color: var(--nx-on-dark); font-size: 15px; }
.nx-footer__top { display: grid; grid-template-columns: 1.3fr .8fr .8fr 1.3fr; gap: 48px clamp(24px, 4vw, 64px); padding: clamp(64px, 7vw, 96px) 0 56px; }
.nx-footer__brand img { height: 32px; width: auto; }
.nx-footer__brand p { margin-top: 24px; color: var(--nx-on-dark-soft); max-width: 36ch; }
.nx-footer h4 { font-family: var(--nx-body); font-size: var(--nx-fs-label); font-weight: 500; letter-spacing: var(--nx-track-label); text-transform: uppercase; color: var(--nx-on-dark-soft); margin-bottom: 18px; }
.nx-footer__col li + li { margin-top: 6px; }
.nx-footer__col a { display: inline-flex; min-height: 32px; align-items: center; color: var(--nx-on-dark); transition: color var(--nx-fast); }
.nx-footer__col a:hover { color: var(--nx-sky); }
.nx-footer__news h4 { font-family: var(--nx-display); font-size: 22px; font-weight: 500; letter-spacing: -0.025em; line-height: 1.25; text-transform: none; color: var(--nx-white); }
.nx-footer__news p { color: var(--nx-on-dark-soft); }
.nx-form { margin-top: 22px; display: flex; gap: 8px; border: 1px solid #3a404c; border-radius: 999px; padding: 5px 5px 5px 20px; }
.nx-form input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--nx-white); font-size: 15px; }
.nx-form input::placeholder { color: #8d94a3; }
.nx-form input:focus-visible { outline-offset: 8px; }
.nx-form button { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; background: var(--nx-white); color: var(--nx-ink); font-size: 14px; font-weight: 500; transition: background-color var(--nx-fast); }
.nx-form button:hover { background: var(--nx-sky); }
.nx-social { display: flex; gap: 8px; margin-top: 28px; }
.nx-social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #3a404c; display: grid; place-items: center; transition: border-color var(--nx-fast), background-color var(--nx-fast); }
.nx-social a:hover { border-color: var(--nx-sky); background: rgba(203, 214, 255, .1); }
.nx-social svg { width: 18px; height: 18px; }
.nx-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding: 24px 0 32px; border-top: 1px solid var(--nx-line-dark); font-size: 13px; color: var(--nx-on-dark-soft); }
.nx-footer__bottom nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.nx-footer__bottom a { display: inline-flex; min-height: 32px; align-items: center; }
.nx-footer__bottom a:hover { color: var(--nx-white); }
.nx-footer__prr { border-top: 1px solid var(--nx-line-dark); }
.nx-footer__prr img { opacity: .8; transition: opacity var(--nx-fast); }
.nx-footer__prr a:hover img { opacity: 1; }
.nx-footer__prr a { display: block; padding: 20px 0 28px; }
.nx-footer__prr img { height: 48px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
@media (max-width: 1000px) {
  .nx-footer__top { grid-template-columns: 1fr 1fr; }
  .nx-footer__brand, .nx-footer__news { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .nx-footer__prr img { height: auto; }
}

/* ---------- 9b. "Saber mais" (details nativo; o texto fica todo no HTML) ---------- */
.nx-more { margin-top: 14px; }
.nx-more > summary {
  list-style: none; display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 6px 0; cursor: pointer;
  font-family: var(--nx-body); font-size: 14px; font-weight: 500; line-height: 1.4;
  color: var(--nx-blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
}
.nx-more > summary::-webkit-details-marker { display: none; }
.nx-more > summary::marker { content: ''; }
.nx-more__ic { flex: none; position: relative; width: 22px; height: 22px; border-radius: 50%; border: 1px solid currentColor; }
.nx-more__ic::before, .nx-more__ic::after { content: ''; position: absolute; left: 6px; right: 6px; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; }
.nx-more__ic::after { transform: rotate(90deg); transition: transform .25s var(--nx-ease); }
.nx-more[open] > summary .nx-more__ic::after { transform: rotate(0deg); }
.nx-more__b { display: none; }
.nx-more[open] > summary .nx-more__a { display: none; }
.nx-more[open] > summary .nx-more__b { display: inline; }
.nx-more > summary:hover { text-decoration-thickness: 2px; }
.nx-more__c { padding-top: 10px; }
.nx-more__c > p + p { margin-top: 1.05em; }
.nx-dark .nx-more > summary { color: var(--nx-sky); }
.nx-navy .nx-more > summary { color: var(--nx-sky); }
.nx-sky .nx-more > summary { color: var(--nx-navy); }
.nx-blue .nx-more > summary { color: var(--nx-white); }
.nx-blue .nx-more__c, .nx-blue .nx-more__c p { color: #e6eaff; }
.nx-blue .nx-more__c a { color: var(--nx-white); }
@media (prefers-reduced-motion: no-preference) {
  .nx-more[open] > .nx-more__c { animation: nx-more-in .35s var(--nx-ease) both; }
}
@keyframes nx-more-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ---------- 9c. Ronda 2: resposta numa linha e maquetas animadas ---------- */
/* a resposta curta de cada bloco, em tamanho de entrada */
.nx-one { font-family: var(--nx-display); font-size: clamp(20px, 1.75vw, 25px); font-weight: 400; line-height: 1.35; letter-spacing: -0.02em; max-width: 30ch; }
.nx-more__c .nx-pts { margin-top: 18px; }

/* maqueta: um ecrã em HTML, sem dados reais nem ecrãs de apps */
.nx-mk { --mk-bg: #fdfdfb; --mk-ink: var(--nx-ink); --mk-soft: #5a606b; --mk-line: #dcdcd4; --mk-in: #eef0f4; --mk-out: var(--nx-blue); --mk-out-ink: #fff; --mk-ok: #e7ecff; --mk-ok-ink: var(--nx-navy);
  position: relative; margin: 0; display: grid; gap: 14px; min-width: 0; }
.nx-dark .nx-mk, .nx-navy .nx-mk { --mk-bg: #12151b; --mk-ink: #f4f5f7; --mk-soft: #aab1bf; --mk-line: #2b313d; --mk-in: #1d222c; --mk-ok: rgba(203, 214, 255, .14); --mk-ok-ink: var(--nx-sky); }
.nx-sky .nx-mk { --mk-line: rgba(0, 33, 93, .18); }
.nx-mk__screen { position: relative; overflow: hidden; min-height: clamp(320px, 30vw, 420px); padding: clamp(18px, 2.2vw, 28px); border-radius: 26px; background: var(--mk-bg); color: var(--mk-ink); border: 1px solid var(--mk-line); box-shadow: 0 30px 60px -30px rgba(0, 33, 93, .35); font-family: var(--nx-display); font-size: 15px; line-height: 1.45; }
.nx-mk__top { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--mk-line); font-size: 13px; color: var(--mk-soft); }
.nx-mk__top b { font-weight: 500; color: var(--mk-ink); }
.nx-mk__top i { width: 30px; height: 30px; border-radius: 50%; background: var(--nx-sky); flex: none; }
.nx-mk__top s { margin-left: auto; text-decoration: none; font-variant-numeric: tabular-nums; }
.nx-mk__pane { display: none; }
.nx-mk__pane.is-on { display: grid; gap: 12px; align-content: start; }
/* barra de escrever, só desenho */
.nx-mk__screen--chat { padding-bottom: 84px; }
.nx-mk__screen--chat::after { content: ''; position: absolute; left: clamp(18px, 2.2vw, 28px); right: clamp(18px, 2.2vw, 28px); bottom: 22px; height: 44px; border-radius: 999px; border: 1px solid var(--mk-line); background: linear-gradient(90deg, var(--mk-in) 0 38%, transparent 38%) no-repeat 18px 50% / 60% 8px; }
/* separadores e repetir: botões reais, fora da parte decorativa */
.nx-mk__tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.nx-mk__tab, .nx-mk__again { min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1px solid rgba(21, 23, 28, .3); background: transparent; color: inherit; font-family: var(--nx-display); font-size: 14px; font-weight: 500; transition: background-color var(--nx-fast), color var(--nx-fast), border-color var(--nx-fast); }
.nx-mk__tab, .nx-mk__again { transition: background-color var(--nx-fast), color var(--nx-fast), border-color var(--nx-fast), transform var(--nx-fast); }
.nx-mk__tab:hover, .nx-mk__again:hover { border-color: currentColor; transform: translateY(-1px); }
.nx-mk__tab[aria-pressed="true"] { background: var(--nx-black); border-color: var(--nx-black); color: #fff; }
.nx-dark .nx-mk__tab, .nx-navy .nx-mk__tab, .nx-dark .nx-mk__again, .nx-navy .nx-mk__again { border-color: rgba(255, 255, 255, .35); }
.nx-dark .nx-mk__tab[aria-pressed="true"], .nx-navy .nx-mk__tab[aria-pressed="true"] { background: var(--nx-sky); border-color: var(--nx-sky); color: var(--nx-navy); }
.nx-sky .nx-mk__tab, .nx-sky .nx-mk__again { border-color: rgba(0, 33, 93, .35); }
.nx-sky .nx-mk__tab[aria-pressed="true"] { background: var(--nx-navy); border-color: var(--nx-navy); color: #fff; }
.nx-mk__again { justify-self: start; display: inline-flex; align-items: center; gap: 8px; }
.nx-mk__again svg { width: 14px; height: 14px; }

/* conversa */
.nx-mk__msg { max-width: 82%; padding: 11px 15px; border-radius: 18px; }
.nx-mk__msg--in { justify-self: start; background: var(--mk-in); border-bottom-left-radius: 6px; }
.nx-mk__slot { display: grid; justify-items: end; }
.nx-mk__slot > * { grid-area: 1 / 1; }
.nx-mk__msg--out { background: var(--mk-out); color: var(--mk-out-ink); border-bottom-right-radius: 6px; }
.nx-mk__dots { display: inline-flex; gap: 5px; padding: 14px 16px; border-radius: 18px; background: var(--mk-in); opacity: 0; }
.nx-mk__dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--mk-soft); }
.nx-mk__ok { justify-self: end; display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; padding: 7px 14px; border-radius: 999px; background: var(--mk-ok); color: var(--mk-ok-ink); font-size: 13px; font-weight: 500; }
.nx-mk__ok::before { content: ''; width: 11px; height: 6px; margin-top: -3px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }

/* chamada */
.nx-mk__call { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: center; }
.nx-mk__ph { position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--nx-blue); color: #fff; }
.nx-mk__ph svg { width: 24px; height: 24px; }
.nx-mk__ph::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--nx-blue); opacity: 0; }
.nx-mk__call b { font-weight: 500; font-size: 17px; letter-spacing: -0.01em; }
.nx-mk__call s { text-decoration: none; color: var(--mk-soft); font-size: 13px; font-variant-numeric: tabular-nums; }
.nx-mk__wave { display: flex; align-items: center; gap: 4px; height: 56px; margin: 18px 0 8px; }
.nx-mk__wave i { --h: .35; flex: 1; height: 100%; border-radius: 3px; background: var(--nx-blue); opacity: .85; transform: scaleY(var(--h)); transform-origin: center; }
.nx-mk__wave i:nth-child(3n+1) { --h: .7; }
.nx-mk__wave i:nth-child(4n+2) { --h: .5; }
.nx-mk__wave i:nth-child(5n) { --h: .9; }
.nx-mk__wave i:nth-child(7n+3) { --h: .22; }
.nx-mk__sum { margin-top: 10px; padding: 16px 18px; border-radius: 18px; background: var(--mk-ok); color: var(--mk-ok-ink); }
.nx-mk__sum p { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; margin-bottom: 6px; }
.nx-mk__sum li { padding: 7px 0; border-top: 1px solid rgba(0, 33, 93, .14); }
.nx-dark .nx-mk__sum li, .nx-navy .nx-mk__sum li { border-top-color: rgba(203, 214, 255, .16); }

/* cartão de negócio no CRM */
.nx-mk__stage { display: flex; gap: 6px; margin-bottom: 16px; }
.nx-mk__stage i { flex: 1; height: 6px; border-radius: 3px; background: var(--mk-line); transition: background-color .4s var(--nx-ease); }
.nx-mk[data-on="a"] .nx-mk__stage i:first-child, .nx-mk[data-on="b"] .nx-mk__stage i:nth-child(-n+2), .nx-mk[data-on="c"] .nx-mk__stage i { background: var(--nx-blue); }
.nx-mk__deal { border: 1px solid var(--mk-line); border-radius: 18px; overflow: hidden; }
.nx-mk__deal-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; background: var(--nx-navy); color: #fff; font-weight: 500; }
.nx-mk__deal-h span { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(203, 214, 255, .2); }
.nx-mk__row { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 12px; padding: 12px 18px; border-top: 1px solid var(--mk-line); }
.nx-mk__row dt { color: var(--mk-soft); font-size: 14px; }
.nx-mk__row dd { margin: 0; font-weight: 500; }
.nx-mk__row dd span { display: none; }
.nx-mk[data-on="a"] .nx-mk__row dd span[data-s="a"], .nx-mk[data-on="b"] .nx-mk__row dd span[data-s="b"], .nx-mk[data-on="c"] .nx-mk__row dd span[data-s="c"] { display: inline; }

/* automação passo a passo */
.nx-mk__steps li { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 0; }
.nx-mk__steps li + li { border-top: 1px dashed var(--mk-line); }
.nx-mk__steps li::before { content: ''; box-sizing: border-box; width: 34px; height: 34px; border-radius: 50%; background: var(--nx-blue); border: 1.5px solid var(--nx-blue); }
.nx-mk__steps li::after { content: ''; position: absolute; left: 11px; top: 50%; width: 12px; height: 6px; margin-top: -5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.nx-mk__steps li.nx-mk__hum::before { background: var(--nx-navy); border-color: var(--nx-navy); }
.nx-dark .nx-mk__steps li.nx-mk__hum::before, .nx-navy .nx-mk__steps li.nx-mk__hum::before { background: var(--nx-sky); border-color: var(--nx-sky); }
.nx-dark .nx-mk__steps li.nx-mk__hum::after, .nx-navy .nx-mk__steps li.nx-mk__hum::after { border-color: var(--nx-navy); }

/* animação: só corre com JS (.is-run), uma vez, e pára */
@media (prefers-reduced-motion: no-preference) {
  .nx-mk.is-run .is-on .nx-mk__msg--in { animation: nx-mk-in .5s var(--nx-ease) .2s both; }
  .nx-mk.is-run .is-on .nx-mk__dots { animation: nx-mk-blip 1.1s ease-out .8s both; }
  .nx-mk.is-run .is-on .nx-mk__dots i { animation: nx-mk-dot .55s ease-in-out .8s 2 both; }
  .nx-mk.is-run .is-on .nx-mk__dots i:nth-child(2) { animation-delay: .95s; }
  .nx-mk.is-run .is-on .nx-mk__dots i:nth-child(3) { animation-delay: 1.1s; }
  .nx-mk.is-run .is-on .nx-mk__msg--out { animation: nx-mk-in .5s var(--nx-ease) 1.9s both; }
  .nx-mk.is-run .is-on .nx-mk__ok { animation: nx-mk-in .5s var(--nx-ease) 2.6s both; }
  .nx-mk.is-run .nx-mk__ph::after { animation: nx-mk-ring 1.2s ease-out .2s 2 both; }
  .nx-mk.is-run .nx-mk__wave i { animation: nx-mk-wave .7s ease-in-out .6s 4 alternate both; }
  .nx-mk.is-run .nx-mk__wave i:nth-child(3n) { animation-delay: .75s; animation-duration: .5s; }
  .nx-mk.is-run .nx-mk__wave i:nth-child(3n+1) { animation-delay: .9s; animation-duration: .8s; }
  .nx-mk.is-run .nx-mk__sum { animation: nx-mk-in .5s var(--nx-ease) 3.1s both; }
  .nx-mk.is-run .nx-mk__sum li { animation: nx-mk-in .5s var(--nx-ease) both; }
  .nx-mk.is-run .nx-mk__sum li:nth-child(1) { animation-delay: 3.4s; }
  .nx-mk.is-run .nx-mk__sum li:nth-child(2) { animation-delay: 3.8s; }
  .nx-mk.is-run .nx-mk__sum li:nth-child(3) { animation-delay: 4.2s; }
  .nx-mk.is-run .nx-mk__row dd { animation: nx-mk-fill .6s var(--nx-ease) both; }
  .nx-mk.is-run .nx-mk__row:nth-child(2) dd { animation-delay: .3s; }
  .nx-mk.is-run .nx-mk__row:nth-child(3) dd { animation-delay: .8s; }
  .nx-mk.is-run .nx-mk__row:nth-child(4) dd { animation-delay: 1.3s; }
  .nx-mk.is-run .nx-mk__row:nth-child(5) dd { animation-delay: 1.8s; }
  .nx-mk.is-run .is-on .nx-mk__steps li { animation: nx-mk-in .45s var(--nx-ease) both; }
  .nx-mk.is-run .is-on .nx-mk__steps li::before { animation: nx-mk-tick .45s var(--nx-ease) both; }
  .nx-mk.is-run .is-on .nx-mk__steps li:nth-child(1), .nx-mk.is-run .is-on .nx-mk__steps li:nth-child(1)::before { animation-delay: .2s; }
  .nx-mk.is-run .is-on .nx-mk__steps li:nth-child(2), .nx-mk.is-run .is-on .nx-mk__steps li:nth-child(2)::before { animation-delay: .9s; }
  .nx-mk.is-run .is-on .nx-mk__steps li:nth-child(3), .nx-mk.is-run .is-on .nx-mk__steps li:nth-child(3)::before { animation-delay: 1.6s; }
  .nx-mk.is-run .is-on .nx-mk__steps li:nth-child(4), .nx-mk.is-run .is-on .nx-mk__steps li:nth-child(4)::before { animation-delay: 2.3s; }
}
@keyframes nx-mk-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes nx-mk-blip { 0% { opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; } }
@keyframes nx-mk-dot { 0%, 100% { transform: none; } 50% { transform: translateY(-4px); } }
@keyframes nx-mk-ring { from { opacity: .8; transform: scale(.9); } to { opacity: 0; transform: scale(1.5); } }
@keyframes nx-mk-wave { from { transform: scaleY(var(--h)); } to { transform: scaleY(.12); } }
@keyframes nx-mk-fill { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes nx-mk-tick { from { background-color: transparent; border-color: var(--mk-line); } }
@media (prefers-reduced-motion: reduce) { .nx-mk__dots { display: none !important; } }
@media (max-width: 480px) {
  .nx-mk__row { grid-template-columns: 1fr; gap: 2px; }
  .nx-mk__screen { border-radius: 20px; }
  .nx-mk__msg { max-width: 92%; }
}

/* ---------- 10. Ilustrações isométricas (traço fino) ---------- */
.nx-iso { width: 100%; height: auto; overflow: visible; }
.nx-iso text { font-family: var(--nx-body); }
.nx-gridbg {
  background-image:
    linear-gradient(rgba(203, 214, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(203, 214, 255, .06) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* ---------- 11. Entrada ao scroll ---------- */
.nx-js .nx-rv { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--nx-ease), transform .6s var(--nx-ease); }
/* escada de 80 ms entre irmãos */
.nx-js .nx-rv:nth-child(2) { transition-delay: 80ms; }
.nx-js .nx-rv:nth-child(3) { transition-delay: 160ms; }
.nx-js .nx-rv:nth-child(4) { transition-delay: 240ms; }
.nx-js .nx-rv.nx-in { opacity: 1; transform: none; }

/* ---------- 12. Menos movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  .nx *, .nx *::before, .nx *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .nx-js .nx-rv { opacity: 1; transform: none; }
}

/* ---------- 13. Ajustes do cabeçalho, barra e rodapé globais (tema) ----------
   No site o .nx vai no próprio header, barra e rodapé (não num invólucro da página),
   para o cabeçalho ficar fixo ao rolar. As regras abaixo protegem-nos dos estilos
   globais do tema-pai, que entram no blog e nos artigos. */
.nx.nx-header { overflow: visible; }
.nx-header a, .nx-footer a { text-decoration: none; }
.nx-drop > a, .nx-footer a { color: inherit; }
.nx-header .nx-cta, .nx-header .nx-btn--dark { color: var(--nx-white); }
