/* ==========================================================================
   Homepage nova ("nz") — desenho do template "NextSaaS" (Pixels71), demo "AI Resume Builder", tema claro.
   Tudo medido com o browser (390 → 1920px) e escrito de raiz: nada de CSS, JS, HTML ou imagens copiados do template.
   Pontos de quebra (os do template): sm 640 · md 768 · lg 1024 · xl 1280 · lp 1440 · 2xl 1536.
   Cada secção tem o seu css/nz/<nome>.css e, se precisar, js/nz/<nome>.js (ligados sozinhos pelo layout).
   ========================================================================== */

@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../fonts/nz/inter-tight-var-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../fonts/nz/inter-tight-var-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; }

:root {
  /* azul do logótipo (#3fa8f4) como cor principal: um só sítio para trocar */
  --nz-primary-50: #eff8ff; --nz-primary-100: #d9eeff; --nz-primary-200: #b9e0fd; --nz-primary-300: #8fcdfa; --nz-primary-400: #62b9f7; --nz-primary-500: #3fa8f4; --nz-primary-600: #2490e0;
  --nz-secondary: #1a1a1c;
  --nz-accent: #fcfcfc;
  --nz-bg-1: #fcfcfd; --nz-bg-2: #f9fafb; --nz-bg-3: #f4f5f8; --nz-bg-4: #f0f2f6; --nz-bg-12: #eaeceb;
  --nz-stroke-1: #dfe4eb; --nz-stroke-2: #e3e7ed; --nz-stroke-3: #d7dde5; --nz-stroke-4: #eceff4;
  --nz-yellow: #f9eb57; --nz-azul: #3fa8f4; --nz-red: #ffb9a2; --nz-cyan: #83e7ee;
  --nz-azul-claro: #d9eeff; --nz-cyan-light: #cdf5f8; --nz-yellow-light: #fdf7bc; --nz-ivory: #f4efe7; --nz-linen: #beab9a;
  --nz-font: 'Inter Tight', sans-serif;
  --nz-ease: cubic-bezier(.4, 0, .2, 1);
  --nz-shadow-1: 0 1px 2px 0 #1018280d;
  --nz-shadow-14: 0 1px 2px 0 #1018280f;
}

html.nz-html { background: #fff; }
body.nz-body { background: #fff; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* reset só dentro do que é nosso (o rodapé do site traz o CSS dele) */
/* "saltar para o conteúdo" (layouts/nz): escondido até receber o foco do teclado */
.nz-salta { position: fixed; top: 12px; left: 12px; z-index: 10000; padding: 12px 18px; border-radius: 12px; background: #0d0d0f; color: #fff; font: 500 15px/1 var(--nz-font, sans-serif); transform: translateY(-160%); transition: transform .2s; }
.nz-salta:focus { transform: none; color: #fff; }
#conteudo:focus { outline: none; }
.nz-top, .nz-head, .nz-main { font-family: var(--nz-font); font-size: 16px; line-height: 1.5; font-weight: 400; color: var(--nz-secondary); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
:where(.nz-top, .nz-head, .nz-main), :where(.nz-top, .nz-head, .nz-main) *, :where(.nz-top, .nz-head, .nz-main) *::before, :where(.nz-top, .nz-head, .nz-main) *::after { box-sizing: border-box; }
:where(.nz-top, .nz-head, .nz-main) :is(h1, h2, h3, h4, h5, h6, p, figure, blockquote, ul, ol, li, dl, dd) { margin: 0; padding: 0; }
:where(.nz-top, .nz-head, .nz-main) :is(h1, h2, h3, h4, h5, h6) { font-weight: 500; font-size: inherit; line-height: inherit; }
:where(.nz-top, .nz-head, .nz-main) :is(ul, ol) { list-style: none; }
:where(.nz-top, .nz-head, .nz-main) :is(img, svg, video) { display: block; max-width: 100%; }
:where(.nz-top, .nz-head, .nz-main) :is(img) { height: auto; }
:where(.nz-top, .nz-head, .nz-main) a { color: inherit; text-decoration: none; }
:where(.nz-top, .nz-head, .nz-main) :is(button, input, textarea, select) { font: inherit; color: inherit; }
:where(.nz-top, .nz-head, .nz-main) button { background: none; border: 0; padding: 0; cursor: pointer; }
.nz-top *, .nz-head *, .nz-main * { font-family: inherit; }   /* o tema do site força o Kanit nos títulos e nos textos: aqui é sempre a Inter Tight */
.nz-top :is(h1, h2, h3, h4, h5, h6), .nz-head :is(h1, h2, h3, h4, h5, h6), .nz-main :is(h1, h2, h3, h4, h5, h6) { color: inherit; letter-spacing: normal; text-transform: none; }
.nz-main { overflow-x: clip; }

.nz-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* contentor: 1290px, 20px de margem até 1439px */
.nz-container { width: 100%; max-width: 1290px; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 1440px) { .nz-container { padding-inline: 0; } }

/* escala de texto do template */
.nz-h1 { font-size: 68px; line-height: 110%; }
.nz-h2 { font-size: 52px; line-height: 120%; }
.nz-h3 { font-size: 40px; line-height: 120%; }
.nz-h4 { font-size: 32px; line-height: 130%; }
.nz-h5 { font-size: 24px; line-height: 140%; }
.nz-h6 { font-size: 20px; line-height: 140%; }
.nz-t1 { font-size: 16px; line-height: 150%; }
.nz-t2 { font-size: 14px; line-height: 150%; }
.nz-t3 { font-size: 12px; line-height: 150%; }

/* entrada ao scroll (js/nz.js): de opacidade 0 + blur 16px + deslocamento (60px) para o sítio; sem JS ou sem animação nada fica escondido */
/* o que entra logo (data-instant: o título e a frase do topo) não se esconde: conta para o LCP e não pode depender do JS (js/nz.js só o faz subir um pouco) */
html.nz-js [data-nz-animate]:not([data-instant]) { opacity: 0; }
@media (prefers-reduced-motion: reduce) { html.nz-js [data-nz-animate] { opacity: 1; } }

/* ---------- botões (v2 do template) ----------
   <div class="nz-btn-w"><a class="nz-btn nz-btn--xl nz-btn--escuro"><span>Texto</span><i class="nz-btn__ic">…duas setas de pixels…</i></a></div>
   Texto em minúsculas com a 1.ª letra maiúscula; ao passar o rato o botão fica azul e a seta de pixels entra da esquerda e sai pela direita. */
.nz-btn-w { display: inline-block; border-radius: 9999px; transition: transform .5s ease-in-out; }
.nz-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-width: 90px; padding: 10px 20px; border-radius: 9999px;
  font-size: 16px; line-height: 150%; font-weight: 500; text-align: center; white-space: nowrap; text-transform: lowercase; cursor: pointer;
  transition: all .5s ease-in-out;
}
.nz-btn > span:first-child::first-letter { text-transform: uppercase; }
.nz-btn > span:first-child { display: inline-block; transition: transform .3s ease-in-out; }
.nz-btn--lg { padding: 12px 24px; }
.nz-btn--xl { padding: 14px 32px; }
.nz-btn--escuro { background: var(--nz-secondary); color: #fff; box-shadow: 0 1px 2px 0 #10182842; }
.nz-btn--claro { background: var(--nz-bg-12); color: var(--nz-secondary); font-weight: 400; }
.nz-btn--azul { background: var(--nz-primary-500); color: #fff; }
.nz-btn--branco { background: #fff; color: var(--nz-secondary); box-shadow: var(--nz-shadow-1); }
.nz-btn__ic { position: relative; flex: none; width: 24px; height: 24px; overflow: hidden; }
.nz-btn__ic svg { position: absolute; top: 1px; left: 0; width: 24px; height: 24px; fill: currentColor; transition: all .3s ease-in-out; }
.nz-btn__ic svg:nth-child(1) { transform: translateX(-24px); }
.nz-btn__ic svg:nth-child(2) { transform: translateX(-8px); }
@media (hover: hover) {
  .nz-btn-w:hover .nz-btn--escuro { background: var(--nz-primary-500); }
  .nz-btn-w:hover .nz-btn--claro { background: var(--nz-secondary); color: var(--nz-accent); }
  .nz-btn-w:hover .nz-btn--azul { background: var(--nz-secondary); }
  .nz-btn-w:hover .nz-btn--branco { background: var(--nz-primary-500); color: #fff; }
  .nz-btn-w:hover .nz-btn__ic svg:nth-child(1) { transform: translateX(4px); }
  .nz-btn-w:hover .nz-btn__ic svg:nth-child(2) { transform: translateX(24px); }
}


/* ---------- cartão "ondas" (componente partilhado: processo, serviços, testemunhos, banner, backoffice…) ----------
   Linguagem do site: cartões pretos (ou cinza / brancos) com um padrão de linhas onduladas (curvas de nível) escondido atrás do texto, num canto,
   que se desvanece com a distância e mexe devagar; nos pretos as linhas são azuis (as do logótipo), com um brilho suave por baixo.
   <div class="nz-wv nz-wv--preto">…</div>   variantes de cor: --preto · --cinza · --branco   |   cantos: --tr (por omissão) · --tl · --bl · --br
   A forma vem da máscara images/nz/ondas-<canto>.svg; a cor e a força vêm de --wv-cor / --wv-op. */
.nz-wv { position: relative; isolation: isolate; overflow: hidden; }
.nz-wv::before { content: ''; position: absolute; z-index: -1; top: 0; right: 0; width: 300px; height: 300px; pointer-events: none; transform-origin: 100% 0;
  background: var(--wv-cor, var(--nz-secondary)); opacity: var(--wv-op, .07);
  -webkit-mask: url('../images/nz/ondas-tr.svg') 0 0 / 100% 100% no-repeat; mask: url('../images/nz/ondas-tr.svg') 0 0 / 100% 100% no-repeat; }
.nz-wv--tl::before { right: auto; left: 0; transform-origin: 0 0; -webkit-mask-image: url('../images/nz/ondas-tl.svg'); mask-image: url('../images/nz/ondas-tl.svg'); }
.nz-wv--bl::before { top: auto; right: auto; bottom: 0; left: 0; transform-origin: 0 100%; -webkit-mask-image: url('../images/nz/ondas-bl.svg'); mask-image: url('../images/nz/ondas-bl.svg'); }
.nz-wv--br::before { top: auto; bottom: 0; transform-origin: 100% 100%; -webkit-mask-image: url('../images/nz/ondas-br.svg'); mask-image: url('../images/nz/ondas-br.svg'); }
.nz-wv--preto { background: var(--nz-secondary); color: #fff; --wv-cor: var(--nz-azul); --wv-op: .42; }
.nz-wv--cinza { background: var(--nz-bg-3); --wv-op: .07; }
.nz-wv--branco { background: #fff; --wv-cor: var(--nz-azul); --wv-op: .13; }
/* brilho azul no canto (só nos pretos) */
.nz-wv--preto::after { content: ''; position: absolute; z-index: -1; top: -90px; right: -90px; width: 280px; height: 280px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(63, 168, 244, .26) 0%, rgba(63, 168, 244, 0) 66%); }
.nz-wv--preto.nz-wv--tl::after { right: auto; left: -90px; }
.nz-wv--preto.nz-wv--bl::after { top: auto; right: auto; bottom: -90px; left: -90px; }
.nz-wv--preto.nz-wv--br::after { top: auto; bottom: -90px; }
/* só os pretos mexem (as linhas rodam de leve à volta do canto e o brilho respira) */
.nz-wv--preto::before { animation: nz-wv-ondas 16s ease-in-out infinite alternate; }
.nz-wv--preto::after { animation: nz-wv-brilho 16s ease-in-out infinite alternate; }
@keyframes nz-wv-ondas { from { rotate: -5deg; scale: 1; } to { rotate: 6deg; scale: 1.06; } }
@keyframes nz-wv-brilho { from { scale: .92; } to { scale: 1.12; } }
@media (prefers-reduced-motion: reduce) { .nz-wv--preto::before, .nz-wv--preto::after { animation: none; } }
