/* Nova Mídia — site institucional
   Paleta: branco + azul do logo. Texto no marinho do wordmark.
   Tipografia: Barlow Condensed 900 itálico (títulos) + Clash Grotesk (texto). */

@font-face { font-family: "NM Display"; font-style: italic; font-weight: 900; font-display: swap;
  src: url(../fonts/barlow-cond-900i-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: "NM Display"; font-style: italic; font-weight: 900; font-display: swap;
  src: url(../fonts/barlow-cond-900i-latinext.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; }
/* As quatro fontes acima sao pre-carregadas no <head>: sem isso as de peso 500 e 600 so
   chegavam a ~1,9s. Medido em 23/09/2026 no site no ar (celular, 4x CPU, 1,6 Mbps, 4 execucoes
   por configuracao): o preload NAO muda o CLS, que fica em ~0,045 com ou sem ele - bem dentro
   da faixa boa (<0,1) - mas adianta em ~1s o momento em que o texto para de mexer.
   O que sobra de CLS e o h1 do hero: com a fonte de reserva ele ocupa 166px, com a Barlow
   Condensed 133px, porque quebra em um numero diferente de linhas. Tentei corrigir com um
   @font-face de reserva usando size-adjust e NAO funcionou (a altura nao mudou), entao a
   tentativa foi removida em vez de ficar no codigo sem efeito. */
@font-face { font-family: "Clash Grotesk"; font-weight: 400; font-display: swap; src: url(../fonts/clash-grotesk-400.woff2) format("woff2"); }
@font-face { font-family: "Clash Grotesk"; font-weight: 500; font-display: swap; src: url(../fonts/clash-grotesk-500.woff2) format("woff2"); }
@font-face { font-family: "Clash Grotesk"; font-weight: 600; font-display: swap; src: url(../fonts/clash-grotesk-600.woff2) format("woff2"); }

:root {
  --nm-blue: #056DF0;          /* azul da arte oficial (#0576FD), um passo mais fundo p/ dar 4,7:1 no branco */
  --nm-blue-deep: #0553C4;     /* hover/pressed do azul (6,9:1) */
  --nm-ink: #0E1A33;           /* marinho do wordmark: texto */
  --nm-ink-soft: #3A4763;      /* texto secundário (contraste 9:1 no branco) */
  --nm-echo: #DCE7FF;          /* azul claríssimo: títulos-eco, divisórias */
  --nm-wash: #F3F7FF;          /* superfície levemente azulada */
  --nm-line: #8093B8;          /* borda de campo (3,1:1 no branco, WCAG 1.4.11) */
  --nm-placeholder: #5F6B85;   /* texto de exemplo nos campos (5,3:1) */
  --nm-white: #FFFFFF;

  --font-display: "NM Display", "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-text: "Clash Grotesk", "General Sans", Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --gutter: clamp(20px, 5vw, 72px);
  --section-gap: clamp(88px, 12vw, 160px);
  --header-h: 72px;
  --radius-btn: 10px;
  --radius-pill: 9999px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--nm-white); color: var(--nm-ink);
  font: 400 18px/1.45 var(--font-text); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--nm-blue); outline-offset: 3px; border-radius: 4px; }
.story[data-step="6"] :focus-visible, .contact :focus-visible { outline-color: #fff; }
.contact .form :focus-visible { outline-color: var(--nm-blue); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--nm-ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* ---------- tipografia ---------- */
.display {
  font-family: var(--font-display); font-style: italic; font-weight: 900;
  line-height: .82; letter-spacing: -.005em; text-transform: uppercase; margin: 0;
  color: var(--nm-blue);
}
.label {
  font: 500 13px/1.2 var(--font-text); letter-spacing: .14em; text-transform: uppercase;
  color: var(--nm-blue); margin: 0 0 18px; display: flex; align-items: center; gap: 10px;
}
.label::before { content: ""; width: 18px; height: 3px; background: currentColor; transform: skewX(-18deg); }
.section--wash .label { color: var(--nm-blue-deep); }
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--nm-ink-soft); max-width: 56ch; margin: 0; }
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 0; border-radius: var(--radius-btn);
  background: var(--nm-blue); color: #fff; font-weight: 600; font-size: 17px; text-decoration: none;
  cursor: pointer; transition: background-color .2s ease, transform .16s var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn--invert { background: #fff; color: var(--nm-blue); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--nm-blue-deep); }
  .btn--invert:hover { background: var(--nm-echo); color: var(--nm-blue-deep); }
}

/* ---------- topo ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  background: rgba(255,255,255,.96); border-bottom: 1px solid var(--nm-echo);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 30px; width: auto; }
.brand span { font: 500 13px/1 var(--font-text); letter-spacing: .42em; color: var(--nm-ink); white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a:not(.btn) { font-weight: 500; font-size: 15px; text-decoration: none; color: var(--nm-ink); }
@media (hover: hover) and (pointer: fine) { .site-nav a:not(.btn):hover { color: var(--nm-blue); text-decoration: underline; } }
@media (max-width: 760px) { .site-nav a:not(.btn) { display: none; } }
@media (max-width: 420px) { .brand span { display: none; } }

/* ---------- história no scroll (hero) ---------- */
.story { position: relative; --steps: 7; height: calc(var(--steps) * 80svh); }
/* sem svh (navegadores antigos): 'var()' invalidaria a alternativa na mesma regra, então vai por @supports */
@supports not (height: 1svh) {
  .story { height: calc(var(--steps) * 80vh); }
  .story__stage { height: 100vh; }
}
.story__stage {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center;
  gap: clamp(24px, 4vw, 72px);
  padding: calc(var(--header-h) + 24px) max(var(--gutter), calc((100% - 1440px) / 2 + var(--gutter))) 40px;
}
.story__climax {
  position: absolute; inset: 0; z-index: 0; background: var(--nm-blue); pointer-events: none;
  clip-path: inset(100% 0 0 0); transition: clip-path .7s var(--ease-in-out);
}
.story[data-step="6"] .story__climax { clip-path: inset(0 0 0 0); }
.story__copy { position: relative; z-index: 1; min-height: 60%; display: grid; align-content: center; container-type: inline-size; }
/* "Como funciona" no menu cai no meio da 1ª etapa (1,5 de 7 partes da altura da história) */
.story__anchor { position: absolute; left: 0; top: calc(100% * 1.5 / 7); width: 1px; height: 1px; }

/* cada estado do texto ocupa a mesma célula; só o ativo aparece */
.beat {
  grid-area: 1 / 1; align-self: center;
  opacity: 0; transform: translate3d(0, 28px, 0);
  transition: opacity .45s var(--ease-out), transform .6s var(--ease-out);
  pointer-events: none;
}
.beat.is-active { opacity: 1; transform: none; pointer-events: auto; }
.beat.is-past { transform: translate3d(0, -28px, 0); }
.beat__count { font: 500 14px/1 var(--font-text); letter-spacing: .12em; color: var(--nm-ink-soft); margin: 0 0 14px; }
/* a palavra nunca passa da coluna: a mais longa ("ESTRATÉGIA.") mede ~4,61em; 19cqi (87% da coluna) deixa folga para a inclinação.
   padding-bottom: espaço para o Ç e os acentos não encostarem no texto de baixo. */
.beat__word { font-size: clamp(72px, 7.5vw, 136px); font-size: min(clamp(72px, 13.5vw, 232px), 19cqi); padding-bottom: .16em; } /* 1ª linha: navegador sem container query */
.beat__text { margin-top: 22px; }
/* gancho + palavra gigante no mesmo h2: quem navega por títulos ouve a frase inteira ("Não começa no anúncio. Começa na Estratégia.") */
.beat__head { margin: 0; font: inherit; }
.beat__kicker { display: block; font: 600 clamp(20px, 1.8vw, 28px)/1.2 var(--font-text); color: var(--nm-ink); margin: 0 0 8px; max-width: 32ch; text-wrap: balance; }
.beat__word { display: block; }
.beat__tags { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.beat__tags li { padding: 6px 13px; border-radius: var(--radius-pill); background: var(--nm-wash); color: var(--nm-ink); font-size: 14px; font-weight: 500; }
.beat--intro h1 { font-size: clamp(52px, 7vw, 124px); }
.beat--intro h1 .ink { color: var(--nm-ink); display: block; }
.beat--intro .lead { margin-top: 26px; }
.beat--intro .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; }
.beat--intro .actions a:not(.btn) { padding-block: 4px; }
.link-skip { font-weight: 500; font-size: 16px; color: var(--nm-ink); text-underline-offset: 4px; }
@media (hover: hover) and (pointer: fine) { .link-skip:hover { color: var(--nm-blue); } }
.scroll-hint { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--nm-ink-soft); }
.scroll-hint i { width: 1px; height: 26px; background: var(--nm-ink-soft); transform-origin: top; animation: hint 1.8s var(--ease-in-out) infinite; }
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

.story[data-step="6"] .beat--final .display,
.story[data-step="6"] .beat--final .beat__count,
.story[data-step="6"] .beat--final .beat__kicker,
.story[data-step="6"] .beat--final .lead { color: #fff; }

/* linhas de velocidade (eco do logo) na troca de etapa */
.speed { position: absolute; left: 0; top: 50%; width: 42%; z-index: 2; pointer-events: none; }
.speed i {
  display: block; height: 7px; margin: 9px 0; background: var(--nm-blue); border-radius: 2px;
  transform: translate3d(-110%, 0, 0) skewX(-18deg); opacity: 0;
}
.speed i:nth-child(2) { width: 82%; } .speed i:nth-child(3) { width: 64%; }
.speed.is-go i { animation: speed .62s var(--ease-out) both; }
.speed.is-go i:nth-child(2) { animation-delay: .05s; } .speed.is-go i:nth-child(3) { animation-delay: .1s; }
@keyframes speed {
  0% { transform: translate3d(-110%, 0, 0) skewX(-18deg); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translate3d(240%, 0, 0) skewX(-18deg); opacity: 0; }
}
.story[data-step="6"] .speed i { background: #fff; }

/* trilha do funil: as 6 etapas estreitando da esquerda para a direita; preenche conforme o scroll */
.funnel { position: absolute; z-index: 2; left: max(var(--gutter), calc((100% - 1440px) / 2 + var(--gutter))); bottom: 24px; margin: 0; padding: 0; list-style: none; display: flex; gap: 6px; transition: opacity .4s var(--ease-out); }
.story[data-step="0"] .funnel { opacity: 0; } /* na abertura a trilha encostava no botão em telas baixas; entra com a 1ª etapa */
.funnel li { width: 84px; display: grid; gap: 8px; }
.funnel i { display: block; height: var(--h); margin-block: calc((30px - var(--h)) / 2); background: var(--nm-echo); transform: skewX(-18deg); transition: background-color .3s ease; }
.funnel span { font: 500 12px/1 var(--font-text); color: var(--nm-ink-soft); white-space: nowrap; transition: color .3s ease; }
.funnel li.on i { background: var(--nm-blue); }
.funnel li.is-current span { color: var(--nm-ink); }
.story[data-step="6"] .funnel i { background: rgba(255,255,255,.35); }
.story[data-step="6"] .funnel li.on i { background: #fff; }
.story[data-step="6"] .funnel span { color: #fff; }

/* ---------- celular ---------- */
.phone-wrap { position: relative; z-index: 1; display: grid; place-items: center; height: 100%; }
.phone {
  --pw: min(340px, 28vw, calc((100svh - var(--header-h) - 120px) * .49));
  width: var(--pw); aspect-ratio: 9 / 18.6; position: relative;
  background: var(--nm-ink); border-radius: calc(var(--pw) * .15); padding: calc(var(--pw) * .035);
  will-change: transform;
}
.phone::before { /* câmera */
  content: ""; position: absolute; z-index: 3; top: calc(var(--pw) * .06); left: 50%;
  width: 30%; height: calc(var(--pw) * .06); border-radius: 99px; background: var(--nm-ink); transform: translateX(-50%);
}
.phone__screen { position: relative; height: 100%; border-radius: calc(var(--pw) * .12); background: #fff; overflow: hidden; font-size: calc(var(--pw) * .042); }
.screen {
  position: absolute; inset: 0; padding: 18% 7% 7%; display: flex; flex-direction: column; gap: .8em;
  opacity: 0; transform: translate3d(12%, 0, 0);
  transition: opacity .4s var(--ease-out), transform .55s var(--ease-out);
}
.screen.is-active { opacity: 1; transform: none; }
.screen.is-past { transform: translate3d(-12%, 0, 0); }
.screen b, .screen strong { font-weight: 600; }
.s-small { font-size: .78em; color: var(--nm-ink-soft); } /* também usada na política de privacidade */
.s-top { display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
.s-chip { display: inline-block; padding: .25em .7em; border-radius: 99px; background: var(--nm-wash); color: var(--nm-blue); font-size: .78em; font-weight: 600; }

/* 0 tela bloqueada */
.screen--lock { background: var(--nm-blue); color: #fff; align-items: stretch; padding-top: 22%; gap: .6em; }
.lock__time { font: italic 900 3.8em/1 var(--font-display); text-align: center; }
.lock__date { text-align: center; opacity: .85; margin-bottom: .5em; }
/* funil do dia: só as etapas, sem valores (nenhum resultado inventado) */
.lock__funnel { display: grid; gap: .3em; padding: .7em .8em .8em; border-radius: .9em; background: rgba(255,255,255,.14); font-size: .8em; }
.lock__funnel b { margin-bottom: .2em; }
.lock__funnel span { position: relative; isolation: isolate; width: var(--w); padding: .3em .6em; white-space: nowrap; }
.lock__funnel span::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: .4em; background: rgba(255,255,255,.24); transform-origin: left; }
.lock__funnel span:last-child { color: var(--nm-blue); font-weight: 600; }
.lock__funnel span:last-child::before { background: #fff; }
.screen--lock.is-active .lock__funnel span::before { animation: bar-in .8s var(--ease-out) both; }
.screen--lock.is-active .lock__funnel span:nth-child(3)::before { animation-delay: .1s; }
.screen--lock.is-active .lock__funnel span:nth-child(4)::before { animation-delay: .2s; }
.screen--lock.is-active .lock__funnel span:nth-child(5)::before { animation-delay: .3s; }
.screen--lock.is-active .lock__funnel span:nth-child(6)::before { animation-delay: .4s; }
@keyframes bar-in { from { transform: scaleX(.12); } to { transform: none; } }
.screen--lock.is-active .lock__note { animation: note-in .5s var(--ease-out) .8s both; }
.screen--lock.is-active .lock__note--soft { animation-delay: 1.3s; }
@keyframes note-in { from { opacity: 0; transform: translate3d(0, .8em, 0); } to { opacity: 1; transform: none; } }
.lock__note { background: #fff; color: var(--nm-ink); border-radius: .9em; padding: .75em .9em; line-height: 1.3; }
.lock__note--soft { background: rgba(255,255,255,.82); }
.lock__bar { align-self: center; width: 36%; height: .35em; border-radius: 99px; background: #fff; margin-top: auto; }

/* 1 estratégia: peças soltas se organizam e viram uma direção */
.screen--plan { gap: .65em; }
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5em; }
.plan-card {
  padding: .65em .7em; border-radius: .7em; background: var(--nm-wash); font-size: .95em; font-weight: 600; line-height: 1.25;
  opacity: .5; transform: translate3d(var(--x), var(--y), 0) rotate(var(--r));
  transition: transform .7s var(--ease-out), opacity .5s var(--ease-out);
}
.plan-card small, .plan-dir small { display: block; margin-bottom: .25em; font-size: .78em; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--nm-blue); }
.screen--plan.is-active .plan-card { opacity: 1; transform: none; }
.screen--plan.is-active .plan-card:nth-child(2) { transition-delay: .08s; }
.screen--plan.is-active .plan-card:nth-child(3) { transition-delay: .16s; }
.screen--plan.is-active .plan-card:nth-child(4) { transition-delay: .24s; }
.plan-link { align-self: center; width: .14em; height: 1.4em; background: var(--nm-blue); transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease-out); }
.screen--plan.is-active .plan-link { transform: none; transition-delay: .55s; }
.plan-dir { padding: .75em .8em; border-radius: .8em; background: var(--nm-blue); color: #fff; font-size: .9em; line-height: 1.3; opacity: 0; transform: translate3d(0, .6em, 0); transition: opacity .4s var(--ease-out), transform .5s var(--ease-out); }
.plan-dir small { color: #fff; opacity: .85; }
.screen--plan.is-active .plan-dir { opacity: 1; transform: none; transition-delay: .8s; }
.plan-next { list-style: none; margin: 0; padding: 0; display: grid; gap: .4em; counter-reset: pn; font-size: .9em; opacity: 0; transition: opacity .4s var(--ease-out); }
.plan-next li { counter-increment: pn; display: flex; align-items: center; gap: .55em; padding: .45em .6em; border: .1em solid var(--nm-echo); border-radius: .6em; }
.plan-next li::before { content: counter(pn); flex: none; display: grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--nm-wash); color: var(--nm-blue); font-size: .85em; font-weight: 600; }
.screen--plan.is-active .plan-next { opacity: 1; transition-delay: 1.05s; }

/* 2 a 4: a arte ocupa a tela inteira (imagem ou vídeo) */
.screen--shot { padding: 0; gap: 0; }
.screen--shot > img, .screen--shot > video { width: 100%; height: 100%; object-fit: cover; }
/* 4 conversão: a visita vira contato */
.toast {
  position: absolute; left: 5%; right: 5%; top: 13%; display: grid; gap: .1em; padding: .65em .85em; border-radius: .9em;
  background: rgba(255,255,255,.97); color: var(--nm-ink); font-size: .9em; line-height: 1.25; box-shadow: 0 .6em 1.6em rgba(14,26,51,.22);
  opacity: 0; transform: translate3d(0, -.8em, 0); transition: opacity .35s var(--ease-out), transform .5s var(--ease-out);
}
.toast b { color: var(--nm-blue); }
.screen.is-active .toast { opacity: 1; transform: none; transition-delay: .7s; }


/* 5 automação: o lead segue sozinho pelas etapas */
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: .7em; position: relative; }
.flow::before { content: ""; position: absolute; left: .47em; top: .8em; bottom: .8em; width: .12em; background: var(--nm-echo); transform: scaleY(0); transform-origin: top; transition: transform 1.1s var(--ease-out); }
.screen.is-active .flow::before { transform: none; }
.flow li {
  position: relative; margin-left: 1.2em; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: .5em;
  padding: .6em .65em .6em .75em; border-radius: .7em; background: var(--nm-wash); line-height: 1.25;
  opacity: 0; transform: translate3d(0, .6em, 0); transition: opacity .35s var(--ease-out), transform .45s var(--ease-out);
}
.flow li::before { content: ""; position: absolute; left: -.95em; top: 50%; width: .55em; height: .55em; margin-top: -.275em; border-radius: 50%; background: var(--nm-blue); box-shadow: 0 0 0 .18em #fff; }
.flow b { font-size: 1em; }
.flow span { grid-column: 1; color: var(--nm-ink-soft); font-size: .8em; }
.flow em { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; font-size: .72em; font-weight: 600; color: var(--nm-blue); background: #fff; border-radius: 99px; padding: .25em .6em; }
.screen.is-active .flow li { opacity: 1; transform: none; }
.screen.is-active .flow li:nth-child(2) { transition-delay: .15s; }
.screen.is-active .flow li:nth-child(3) { transition-delay: .3s; }
.screen.is-active .flow li:nth-child(4) { transition-delay: .45s; }
.screen.is-active .flow li:nth-child(5) { transition-delay: .6s; }
.auto { margin-top: auto; background: var(--nm-ink); color: #fff; border-radius: .7em; padding: .7em .8em; font-size: .85em; line-height: 1.3; }

/* 6 vendas: oportunidades chegando */
.inbox { display: grid; gap: .5em; }
.msg-row {
  display: grid; gap: .15em; padding: .65em .8em; border-radius: .7em; background: var(--nm-wash); line-height: 1.25;
  opacity: 0; transform: translate3d(0, .8em, 0);
  transition: opacity .35s var(--ease-out), transform .45s var(--ease-out);
}
.msg-row span { color: var(--nm-ink-soft); font-size: .88em; }
.screen.is-active .msg-row { opacity: 1; transform: none; }
.screen.is-active .msg-row:nth-child(2) { transition-delay: .2s; }
.screen.is-active .msg-row:nth-child(3) { transition-delay: .4s; }
.screen.is-active .msg-row:nth-child(4) { transition-delay: .6s; }
.screen.is-active .msg-row:nth-child(5) { transition-delay: .8s; }
.screen.is-active .msg-row:nth-child(6) { transition-delay: 1s; }

.phone-note { justify-self: center; margin: 32px 0 0; /* folga para a inclinação do celular (até 5°) */ text-align: center; font-size: 12px; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; color: var(--nm-ink-soft); }
.story[data-step="6"] .phone-note { color: #fff; }

/* ---------- seções ---------- */
.section { padding-block: var(--section-gap); }
.section--wash { background: var(--nm-wash); }
.h2 { font-size: clamp(56px, 8.4vw, 132px); }
.h2 .ink { color: var(--nm-ink); }
.section-lead { margin-top: 26px; }

/* funil em faixas (Soluções): cada etapa é um trapézio que começa na largura em que o de cima terminou.
   O recuo lateral cresce --step por faixa; o texto usa o recuo de baixo (a parte mais estreita) mais uma margem. */
.bands { --step: 4%; list-style: none; margin: clamp(40px, 6vw, 72px) 0 0; padding: 0; display: grid; gap: 8px; }
.band {
  --in-t: calc(var(--i) * var(--step)); --in-b: calc((var(--i) + 1) * var(--step));
  clip-path: polygon(var(--in-t) 0, calc(100% - var(--in-t)) 0, calc(100% - var(--in-b)) 100%, var(--in-b) 100%);
  display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 14px; text-align: center; color: #fff; background: var(--c);
  padding: clamp(36px, 5vw, 60px) calc(var(--in-b) + clamp(20px, 4vw, 56px));
}
/* azuis que escurecem descendo; todos com contraste de pelo menos 5:1 para o texto branco */
.band:nth-child(1) { --c: #1A63F0; } .band:nth-child(2) { --c: #165AE0; } .band:nth-child(3) { --c: #1452CD; }
.band:nth-child(4) { --c: #1149B8; } .band:nth-child(5) { --c: #0E3FA0; } .band:nth-child(6) { --c: #0B3585; }
.band__num { margin: 0; font: 600 13px/1.2 var(--font-text); letter-spacing: .14em; text-transform: uppercase; color: #fff; } /* .9 dava 4,46:1 na 1ª faixa */
.band > * { min-width: 0; max-width: 100%; } /* nenhum filho alarga a faixa além da parte estreita */
.band__title { margin: 0; font-size: clamp(34px, 4vw, 64px); line-height: .92; color: #fff; text-wrap: balance; }
.band__title span { display: block; color: #BFD4FF; }
.band__text { margin: 0; max-width: 58ch; font-size: clamp(16px, 1.3vw, 19px); color: rgba(255,255,255,.92); }
.band__tags { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.band__tags li { padding: 6px 13px; border: 1.5px solid rgba(255,255,255,.45); border-radius: var(--radius-pill); font-size: 14px; font-weight: 500; }
.band .btn { margin-top: 6px; }
.band :focus-visible { outline-color: #fff; }
.bands.will-reveal .band { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.bands.will-reveal .band.is-in { opacity: 1; transform: none; }
.opt { font-weight: 400; color: var(--nm-ink-soft); }
.tag { display: inline-block; padding: 7px 15px; border-radius: var(--radius-pill); background: var(--nm-wash); color: var(--nm-ink); font-size: 14px; font-weight: 500; }

.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; margin-top: clamp(40px, 6vw, 72px); }
.step { border-top: 4px solid var(--nm-blue); padding-top: 18px; container-type: inline-size; }
/* "ACOMPANHAMOS" mede ~5,9em: 15,5cqi cabe em 1/5 da largura; 1ª linha é a reserva sem container query */
.step h3 { font: italic 900 clamp(24px, 2.4vw, 36px)/.9 var(--font-display); font-size: min(clamp(28px, 2.9vw, 44px), 15.5cqi); text-transform: uppercase; color: var(--nm-blue); margin: 0 0 12px; }
.step__n { display: block; font: 500 14px/1 var(--font-text); letter-spacing: .12em; color: var(--nm-ink-soft); margin-bottom: 14px; font-style: normal; }
.step p { margin: 0; color: var(--nm-ink-soft); }

/* tecnologia sob medida: módulos que se conectam */
.mods { list-style: none; margin: clamp(40px, 6vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.mod { position: relative; padding: 22px 20px 24px; border: 2px solid var(--nm-echo); border-radius: 18px; background: #fff; container-type: inline-size; }
/* "INTELIGÊNCIA" mede ~4,9em: 18cqi deixa folga na coluna estreita (1101px); 1ª linha é a reserva sem container query */
.mod h3 { font: italic 900 clamp(22px, 2vw, 32px)/.95 var(--font-display); font-size: min(clamp(28px, 2.4vw, 38px), 18cqi); text-transform: uppercase; color: var(--nm-blue); margin: 0 0 12px; }
.mod p { margin: 0; font-size: 16px; color: var(--nm-ink-soft); }
.mod + .mod::before { content: ""; position: absolute; left: -18px; top: 38px; width: 20px; height: 3px; background: var(--nm-blue); transform-origin: left; }
.mods.will-reveal .mod { opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.mods.will-reveal .mod + .mod::before { transform: scaleX(0); transition: transform .35s var(--ease-out); }
.mods.will-reveal.is-in .mod { opacity: 1; transform: none; }
.mods.will-reveal.is-in .mod + .mod::before { transform: none; }
.mods.is-in .mod:nth-child(2) { transition-delay: .08s; } .mods.is-in .mod:nth-child(2)::before { transition-delay: .3s; }
.mods.is-in .mod:nth-child(3) { transition-delay: .16s; } .mods.is-in .mod:nth-child(3)::before { transition-delay: .4s; }
.mods.is-in .mod:nth-child(4) { transition-delay: .24s; } .mods.is-in .mod:nth-child(4)::before { transition-delay: .5s; }
.mods.is-in .mod:nth-child(5) { transition-delay: .32s; } .mods.is-in .mod:nth-child(5)::before { transition-delay: .6s; }
.mods__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 28px; }
.mods__foot .note { margin: 0; }

.subhead { font: 600 22px/1.2 var(--font-text); margin: clamp(56px, 7vw, 88px) 0 18px; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.plan { background: #fff; border: 2px solid var(--nm-echo); border-radius: 20px; padding: clamp(22px, 3vw, 36px); }
.plan--alt { background: var(--nm-blue); border-color: var(--nm-blue); color: #fff; }
.plan h4 { font: italic 900 clamp(32px, 3.4vw, 48px)/.9 var(--font-display); text-transform: uppercase; margin: 0 0 14px; color: var(--nm-blue); }
.plan--alt h4 { color: #fff; }
.plan p { margin: 0; }
.plan:not(.plan--alt) p { color: var(--nm-ink-soft); }
.note { margin: 16px 0 0; font-size: 15px; color: var(--nm-ink-soft); }

.fit-lead { margin-top: 26px; }
.needs { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: n; }
.needs li { border-top: 4px solid var(--nm-blue); padding-top: 16px; font-size: 19px; counter-increment: n; }
.needs li::before { content: "0" counter(n); display: block; font: 500 14px/1 var(--font-text); letter-spacing: .12em; color: var(--nm-ink-soft); margin-bottom: 12px; }
.needs b { display: block; font: italic 900 clamp(30px, 3vw, 42px)/.95 var(--font-display); text-transform: uppercase; color: var(--nm-blue); }
.examples { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }

.faq { margin-top: clamp(40px, 6vw, 72px); border-top: 2px solid var(--nm-echo); max-width: 980px; }
.faq details { border-bottom: 2px solid var(--nm-echo); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 48px 24px 0; position: relative; font: 600 clamp(19px, 1.8vw, 23px)/1.3 var(--font-text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 16px; margin-top: -8px;
  background: linear-gradient(var(--nm-blue), var(--nm-blue)) center / 100% 3px no-repeat, linear-gradient(var(--nm-blue), var(--nm-blue)) center / 3px 100% no-repeat;
  transition: transform .25s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 24px; color: var(--nm-ink-soft); max-width: 70ch; }

/* ---------- formulário ---------- */
.contact { background: var(--nm-blue); color: #fff; }
.contact .label { color: #fff; }
.contact .display { color: #fff; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.contact .lead { color: #fff; margin-top: 24px; }
.contact__q { font: 600 clamp(24px, 2.4vw, 34px)/1.2 var(--font-text); color: #fff; margin: 22px 0 0; max-width: 26ch; text-wrap: balance; }
.contact__list { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: #fff; }
.contact__list li { display: flex; gap: 12px; align-items: baseline; }
.contact__list li::before { content: ""; flex: none; width: 14px; height: 3px; background: #fff; transform: skewX(-18deg) translateY(-4px); }

.form { background: #fff; color: var(--nm-ink); border-radius: 20px; padding: clamp(22px, 3vw, 40px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 16px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 15px; font-weight: 500; }
.field input, .field select {
  width: 100%; min-height: 50px; padding: 0 14px; border: 2px solid var(--nm-line); border-radius: var(--radius-btn);
  background: #fff; font-size: 16px; transition: border-color .2s ease;
}
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230E1A33' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 16px center; padding-right: 40px; }
.field input:focus, .field select:focus { border-color: var(--nm-blue); outline: none; box-shadow: 0 0 0 3px var(--nm-echo); }
.field input::placeholder { color: var(--nm-placeholder); }
.field [aria-invalid="true"] { border-color: #C62828; }
.field__error { font-size: 14px; color: #B3261E; min-height: 0; }
.field__error:empty { display: none; }
.consent { grid-column: 1 / -1; display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 14px; color: var(--nm-ink-soft); }
.consent input { width: 24px; height: 24px; margin: 0; accent-color: var(--nm-blue); }
.consent a { color: var(--nm-blue); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form .btn { grid-column: 1 / -1; min-height: 58px; font-size: 18px; }
.form .btn[disabled] { opacity: .7; cursor: progress; }
.form__status { grid-column: 1 / -1; margin: 0; font-size: 15px; min-height: 1.4em; }
.form__status[data-kind="error"] { color: #B3261E; }
.form-done { grid-column: 1 / -1; text-align: left; padding: 8px 0; }
.form-done h3 { font: italic 900 clamp(44px, 5vw, 72px)/.9 var(--font-display); text-transform: uppercase; color: var(--nm-blue); margin: 0 0 14px; }
.form-done p { margin: 0; color: var(--nm-ink-soft); }

/* ---------- rodapé ---------- */
.site-footer { padding-block: 56px; border-top: 1px solid var(--nm-echo); font-size: 15px; color: var(--nm-ink-soft); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 20px; }
/* padding vertical para o link do rodape chegar aos 24px de alvo de toque (WCAG 2.2 2.5.8) */
.site-footer nav a { padding-block: 4px; }
.site-footer a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .site-footer a:hover { color: var(--nm-blue); text-decoration: underline; } }

/* ---------- responsivo ---------- */
@media (max-width: 1100px) {
  .steps, .mods { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mod + .mod::before { display: none; } /* com quebra de linha o conector apontaria para o vazio */
  .funnel li { width: 48px; }
  .funnel span { display: none; }
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  body { font-size: 17px; }
  .story__stage {
    grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: start; align-content: start;
    gap: 14px; padding: calc(var(--header-h) + 16px) var(--gutter) 34px;
  }
  .story__stage { display: flex; flex-direction: column; }
  /* a abertura flutua por cima (não define a altura); as etapas 1–6 reservam a altura do texto */
  /* align-self: stretch: com container-type o bloco não pode encolher até o conteúdo (ficava com largura 0) */
  .story__copy { flex: none; min-height: 0; align-content: start; align-self: stretch; }
  .beat { align-self: start; }
  .beat--intro { position: absolute; inset: 0 0 auto 0; }
  .beat__word { font-size: clamp(48px, 14vw, 96px); font-size: min(clamp(48px, 19vw, 132px), 19cqi); }
  .beat--intro h1 { font-size: clamp(38px, 10.4vw, 72px); }
  .beat--intro .lead { font-size: 16px; margin-top: 14px; }
  .beat__text { font-size: 15px; margin-top: 10px; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .beat--intro .actions { margin-top: 18px; }
  .beat__count { margin-bottom: 8px; }
  .phone-wrap { flex: 1; min-height: 0; height: auto; align-items: start; align-self: stretch; container-type: size; padding-top: 18px; }
  .phone { --pw: min(300px, 66vw, calc((100cqh - 30px) * 9 / 18.6)); } /* 30px: legenda "Exemplos ilustrativos" */
  .phone-note { margin-top: 10px; }
  @supports not (height: 1cqh) { .phone { --pw: min(300px, 62vw, calc((100vh - var(--header-h) - 300px) * .49)); } }
  /* na abertura o aparelho espia por baixo do botão; na etapa 1 sobe para o lugar */
  .phone-lift { transition: transform .7s var(--ease-out); }
  .story[data-step="0"] .phone-lift { transform: translate3d(0, var(--peek, 0px), 0); }
  .speed { width: 70%; top: 22%; }
  .funnel { display: none; } /* no celular o "01 / 06" já mostra a etapa; a trilha brigava com a legenda */
  .beat__kicker { font-size: 17px; margin-bottom: 4px; }
  .beat__tags { display: none; }
  .contact__grid, .plans, .needs { grid-template-columns: minmax(0, 1fr); }
  .bands { --step: 2.5%; } /* no celular estreita menos por faixa para o texto caber */
  @media (max-width: 380px) { .bands { --step: 2%; } }
  .band__title { font-size: clamp(28px, 8vw, 40px); }
  .band { padding-inline: calc(var(--in-b) + 14px); }
  .band .btn { min-height: 52px; height: auto; padding: 10px 18px; font-size: 16px; }
  .steps, .mods { grid-template-columns: minmax(0, 1fr); }
  .form { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) and (max-height: 700px) {
  .beat--intro .actions .scroll-hint { display: none; }
  .beat__text { display: none; }
}
@media (max-width: 860px) and (min-height: 800px) {
  .beat__text { -webkit-line-clamp: 4; line-clamp: 4; }
}

/* impressão / salvar como PDF: faixas que ainda não entraram na tela não podem sair em branco */
@media print { .bands.will-reveal .band { opacity: 1; transform: none; transition: none; } }

/* ---------- movimento reduzido: só esmaecer, sem deslocamento ---------- */
@media (prefers-reduced-motion: reduce) {
  .beat, .beat.is-past, .screen, .screen.is-past, .msg { transform: none !important; }
  .beat, .screen, .msg { transition: opacity .2s ease; }
  .speed { display: none; }
  .scroll-hint i { animation: none; }
  .story__climax { transition: opacity .3s ease; clip-path: none; opacity: 0; }
  .story[data-step="6"] .story__climax { opacity: 1; }
  .msg-row { transform: none !important; transition: opacity .2s ease; }
  .phone { transform: none !important; }
  .phone-lift { transition: opacity .2s ease; }
  .lock__funnel span::before, .lock__note { animation: none !important; }
  .plan-card, .plan-dir, .flow li, .toast, .mods.will-reveal .mod { transform: none !important; transition: opacity .2s ease !important; }
  .plan-link, .flow::before, .mod + .mod::before { transform: none !important; transition: none !important; }
}
