/* Nuvel site shell (out/2026), shared by every page: Fira Sans, the Nuvel WEB 2026 --a-* tokens in light
   and dark, base, buttons, header (with the theme toggle), mobile menu, footer, section typography and the
   mobile sticky bar. Page-specific sheets build on it: assets/home/home.v2.css (home) and
   assets/pages.v1.css (/precos, /cadastro, /termos, /news, 404).
   Port of docs/site-home-conversao/A-caixa-que-nao-para.css + tema.css (Claude Design, approved).
   Theme: class "dark" on <html>, set before first paint by the inline script in each page's <head>
   (follows prefers-color-scheme until the visitor clicks the toggle; then localStorage["theme"] wins).
   .htaccess caches CSS for a month: on any change, bump the version in the file name and in every page. */

@font-face {
  font-family: "Fira Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("home/fonts/firasans-v18-latin-400.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: "Fira Sans"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("home/fonts/firasans-v18-latin-500.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: "Fira Sans"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("home/fonts/firasans-v18-latin-600.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: "Fira Sans"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("home/fonts/firasans-v18-latin-700.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;
}

/* Tokens. Light values = the approved home, byte for byte. Dark values derive from the Nuvel WEB 2026 dark
   tokens. Light islands (product screens: hero PDV, mini-screens, demo PDV and demo Retaguarda) re-declare
   the light tokens, so they stay a light capture of the PDV inside a dark page. */
:root,
.dark :is(.a-pdv, .a-mini, .a-dp, .a-dr) {
  --a-bg: #ffffff;
  --a-bg-soft: #f6f8fb;
  --a-l0: #eef1f6;
  --a-surface: #ffffff;            /* cards, buttons, rail, popovers */
  --a-ink: #0f172a;
  --a-ink-2: #475569;
  --a-on-ink: #ffffff;             /* text/icon on an ink-filled element */
  --a-line: rgba(15, 23, 42, 0.1);
  --a-line-2: rgba(15, 23, 42, 0.18);
  --a-line-strong: rgba(15, 23, 42, 0.32);  /* hover borders, dashed placeholders */
  --a-outline: rgba(15, 23, 42, 0.3);       /* outline buttons, menu button */
  --a-track: rgba(15, 23, 42, 0.12);        /* progress tracks */
  --a-veil: rgba(238, 241, 246, 0.72);      /* demo start overlay */
  --a-ph-1: #e2e8f0;
  --a-ph-2: #f1f5f9;
  --a-sw-off: #94a3b8;                      /* demo network switch, off */
  --a-pulse: rgba(15, 23, 42, 0.35);        /* demo network button pulse */
  --a-cta: #0175b9;
  --a-cta-hover: #016eae;
  --a-cta-active: #015f96;
  --a-on-cta: #ffffff;
  --a-ok: #166534;
  --a-ok-bg: #dcfce7;
  --a-ok-dot: #16a34a;
  --a-warn: #92400e;
  --a-warn-bg: #fef3c7;
  --a-warn-dot: #d97706;
  --a-err: #b91c1c;
  --a-err-bg: #fef2f2;
  --a-field: rgba(15, 23, 42, 0.3);         /* form field border */
  --a-pdv-bg: #f0f3f8;
  --a-pdv-ink: #1e293b;
  --a-pdv-mute: #64748b;
  --a-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 1px rgba(15, 23, 42, 0.03);
  --a-shadow-lg: 0 32px 64px -24px rgba(15, 23, 42, 0.28), 0 10px 24px -10px rgba(15, 23, 42, 0.12);
  --a-shadow-up: 0 -8px 24px -16px rgba(15, 23, 42, 0.3);
  --a-shadow-pop: 0 12px 24px -12px rgba(15, 23, 42, 0.5);
  color-scheme: light;
}
:root {
  --a-font: "Fira Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --a-font-pdv: "Roboto", -apple-system, "Segoe UI", sans-serif;
  --a-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --a-gutter: 24px;
}
.dark {
  --a-bg: #0f1318;
  --a-bg-soft: #13181f;
  --a-l0: #1e242e;
  --a-surface: #171c24;
  --a-ink: #e6eaf0;
  --a-ink-2: #9aa4b2;
  --a-on-ink: #0f1318;
  --a-line: rgba(148, 163, 184, 0.14);
  --a-line-2: rgba(148, 163, 184, 0.24);
  --a-line-strong: rgba(230, 234, 240, 0.3);
  --a-outline: rgba(230, 234, 240, 0.36);
  --a-track: rgba(230, 234, 240, 0.14);
  --a-veil: rgba(15, 19, 24, 0.55);
  --a-ph-1: #1e242e;
  --a-ph-2: #252c37;
  --a-sw-off: #6b7584;
  --a-pulse: rgba(230, 234, 240, 0.35);
  --a-cta: #0175b9;            /* unchanged: white text 4.95:1; fill vs #0F1318 3.77:1 (non-text >= 3:1) */
  --a-cta-hover: #016eae;
  --a-cta-active: #015f96;
  --a-on-cta: #ffffff;
  --a-ok: #66bb6a;
  --a-ok-bg: rgba(102, 187, 106, 0.14);
  --a-ok-dot: #66bb6a;
  --a-warn: #f5a524;
  --a-warn-bg: rgba(245, 165, 36, 0.14);
  --a-warn-dot: #f5a524;
  --a-err: #f2665e;
  --a-err-bg: rgba(242, 102, 94, 0.12);
  --a-field: rgba(230, 234, 240, 0.36);
  --a-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  --a-shadow-lg: 0 32px 64px -24px rgba(0, 0, 0, 0.7), 0 10px 24px -10px rgba(0, 0, 0, 0.5);
  --a-shadow-up: 0 -8px 24px -16px rgba(0, 0, 0, 0.7);
  --a-shadow-pop: 0 12px 24px -12px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}

/* Base */
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--a-bg); color: var(--a-ink); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* Browsers without overflow: clip (Safari < 16) would scroll sideways on the hero backdrop. */
@supports not (overflow: clip) { body { overflow-x: hidden; } }

.a-page {
  font-family: var(--a-font);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--a-ink);
  background: var(--a-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
.a-page *, .a-page *::before, .a-page *::after { box-sizing: border-box; }
.a-page [hidden] { display: none !important; }
:where(.a-page) :is(h1, h2, h3, p, dl, dd) { margin: 0; }
:where(.a-page) a { color: var(--a-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
:where(.a-page) a:hover { color: var(--a-ink); text-decoration-thickness: 2px; }
.a-page :focus-visible { outline: 2px solid var(--a-ink); outline-offset: 3px; border-radius: 4px; }
.a-page section[id] { scroll-margin-top: 84px; }
.a-wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--a-gutter); }
.a-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.a-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }

/* Buttons */
.a-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 8px; border: 1.5px solid transparent;
  font: 600 16px/1 var(--a-font); letter-spacing: 0; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color 0.18s ease-out, color 0.18s ease-out, border-color 0.18s ease-out;
}
.a-page a.a-btn { text-decoration: none; }
.a-btn-primary, .a-page a.a-btn-primary { background: var(--a-cta); color: var(--a-on-cta); }
.a-btn-primary:hover, .a-page a.a-btn-primary:hover { background: var(--a-cta-hover); color: var(--a-on-cta); }
.a-btn-primary:active, .a-page a.a-btn-primary:active { background: var(--a-cta-active); }
.a-btn-outline, .a-page a.a-btn-outline { background: var(--a-surface); color: var(--a-ink); border-color: var(--a-outline); }
.a-btn-outline:hover, .a-page a.a-btn-outline:hover { border-color: var(--a-ink); color: var(--a-ink); }
.a-btn-lg { height: 56px; padding: 0 30px; font-size: 17px; }
.a-btn-neutral {
  height: 44px; padding: 0 18px; font-size: 15px; background: var(--a-surface); color: var(--a-ink); border-color: var(--a-ink);
}
.a-btn-neutral:hover { background: var(--a-bg-soft); }
.a-linkbtn {
  background: none; border: 0; padding: 0; font: inherit; color: var(--a-ink); text-decoration: underline;
  text-underline-offset: 3px; cursor: pointer;
}

/* Header */
.a-header { position: sticky; top: 0; z-index: 40; background: var(--a-bg); border-bottom: 1px solid var(--a-line); }
.a-header-in { height: 68px; display: flex; align-items: center; gap: 36px; }
.a-logo { display: flex; align-items: center; flex: none; }
.a-logo img { height: 36px; width: auto; display: block; }
.a-nav { display: flex; align-items: center; gap: 28px; }
.a-nav a, .a-hlink { font-size: 15px; font-weight: 500; color: var(--a-ink-2); text-decoration: none; }
.a-page .a-nav a:hover, .a-page a.a-hlink:hover { color: var(--a-ink); text-decoration: underline; }
.a-page .a-nav a[aria-current="page"] { color: var(--a-ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.a-header-right { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.a-hlink-wa { white-space: nowrap; }
.a-hcta { height: 42px; padding: 0 18px; font-size: 15px; }
.a-menu-btn {
  display: none; height: 44px; padding: 0 14px; border-radius: 8px; border: 1.5px solid var(--a-outline);
  background: var(--a-surface); font: 600 15px/1 var(--a-font); color: var(--a-ink); cursor: pointer;
}
.a-mnav { border-top: 1px solid var(--a-line); background: var(--a-bg); }
.a-mnav ul { list-style: none; margin: 0 auto; padding-top: 8px; padding-bottom: 16px; display: grid; }
.a-mnav a { display: flex; align-items: center; min-height: 48px; font-size: 17px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--a-line); }
.a-mnav a[aria-current="page"] { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* Theme toggle: sun in light, moon in dark (header at every width + a "Tema escuro" row in the mobile menu) */
.t-toggle {
  flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; margin: 0;
  border: 1px solid var(--a-line-2); border-radius: 8px; background: var(--a-surface); color: var(--a-ink); cursor: pointer;
  transition: border-color 0.18s ease-out, background-color 0.18s ease-out;
}
.t-toggle:hover { border-color: var(--a-ink); }
.t-toggle svg { width: 18px; height: 18px; display: block; grid-area: 1 / 1; }
.t-ic-moon { display: none !important; }
.dark .t-ic-sun { display: none !important; }
.dark .t-ic-moon { display: block !important; }
.a-page .t-toggle:focus-visible { outline: 2px solid var(--a-ink); outline-offset: 3px; }
.t-mrow { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; border-bottom: 1px solid var(--a-line); font-size: 17px; font-weight: 500; color: var(--a-ink); }
.t-mcta { padding-top: 16px; }
.t-mcta .a-btn { width: 100%; }

/* Hero typography and CTA block (home hero and the subpage heads) */
.a-eyebrow { font-size: 15px; font-weight: 600; color: var(--a-ink-2); margin-bottom: 18px; }
.a-h1 { font-size: 52px; line-height: 1.06; font-weight: 600; letter-spacing: -0.025em; text-wrap: balance; }
.a-sub { font-size: 19px; line-height: 1.55; color: var(--a-ink-2); margin-top: 24px; max-width: 31em; text-wrap: pretty; }
.a-cta-block { margin-top: 34px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.a-risk { font-size: 14px; line-height: 1.45; color: var(--a-ink-2); text-wrap: balance; }
.a-nw { white-space: nowrap; }
.a-wa { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 15px; color: var(--a-ink-2); }
.a-wa a { font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.a-wa-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--a-ink-2); }

/* Sections */
.a-sec { padding: 104px 0; }
.a-soft { background: var(--a-bg-soft); }
.a-sec-line { border-top: 1px solid var(--a-line); }
.a-sec-head { max-width: 720px; margin-bottom: 52px; }
.a-h2 { font-size: 40px; line-height: 1.12; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
.a-lead { font-size: 18px; color: var(--a-ink-2); margin-top: 16px; text-wrap: pretty; }
.a-h3 { font-size: 21px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
.a-p { font-size: 16px; color: var(--a-ink-2); margin-top: 8px; text-wrap: pretty; }
.a-seg-tag { font: 600 12px/1 var(--a-font); letter-spacing: 0.06em; text-transform: uppercase; color: var(--a-ink-2); }

/* Footer */
.a-footer { border-top: 1px solid var(--a-line); padding: 64px 0 40px; font-size: 14px; color: var(--a-ink-2); }
.a-foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.a-foot-grid > [id] { scroll-margin-top: 84px; }
.a-foot-brand img { height: 34px; width: auto; display: block; margin-bottom: 14px; }
.a-foot-h { font-size: 14px; font-weight: 600; color: var(--a-ink); margin-bottom: 14px; }
.a-foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.a-foot-list a { color: var(--a-ink-2); text-decoration: none; }
.a-page .a-foot-list a:hover { color: var(--a-ink); text-decoration: underline; }
.a-foot-list .a-linkbtn { color: var(--a-ink-2); text-decoration: none; font-size: 14px; }
.a-foot-legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--a-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.a-foot-legal > span { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

/* Sticky bar (mobile). The cookie banner is the shared /assets/consent.v1.css; only its lift above
   this bar lives here (max-width: 640px). */
.a-mbar {
  position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; display: none; gap: 8px; align-items: center;
  padding: 7px 16px 8px; background: var(--a-bg); border-top: 1px solid var(--a-line); box-shadow: var(--a-shadow-up);
  transform: translateY(110%); visibility: hidden; transition: transform 0.2s ease-out, visibility 0s linear 0.2s;
}
.a-mbar.is-on { transform: none; visibility: visible; transition: transform 0.2s ease-out, visibility 0s; }
.a-mbar .a-btn { height: 48px; padding: 0 14px; font-size: 15px; }
.a-mbar .a-btn-primary { flex: 1 1 auto; }
.a-page a.a-mbar-wa { flex: 0 1 auto; height: 48px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; text-align: center; white-space: normal; line-height: 1.15; font-size: 13.5px; font-weight: 600; border: 1.5px solid var(--a-outline); border-radius: 8px; text-decoration: none; color: var(--a-ink); background: var(--a-surface); text-wrap: balance; }
/* With the menu open, the sticky bar steps aside (one primary on screen). */
.a-page:has(.a-mnav:not([hidden])) .a-mbar { display: none; }

/* Production cookie banner (assets/consent.v1.css): its dark variant points at these tokens.
   html.dark outranks the .dark .nv-consent rule of consent.v1.css whatever the load order. */
html.dark .nv-consent {
  --nvc-bg: var(--a-surface);
  --nvc-bg-hover: var(--a-l0);
  --nvc-ink: var(--a-ink);
  --nvc-ink-2: var(--a-ink-2);
  --nvc-line: var(--a-line-2);
  --nvc-chip: var(--a-l0);
}

/* Responsive */
@media (max-width: 1180px) {
  .a-h1 { font-size: 48px; }
  .a-header-right .a-hlink-wa { display: none; }
}
@media (max-width: 1100px) {
  .a-header-in { gap: 28px; }
  .a-nav { gap: 22px; }
  .a-header-right { gap: 16px; }
}
@media (min-width: 1001px) {
  .a-mnav { display: none; }
}
@media (max-width: 1000px) {
  .a-nav, .a-header-right .a-hlink-wa { display: none; }
  .a-menu-btn { display: inline-flex; align-items: center; }
  .a-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  :root { --a-gutter: 16px; }
  .a-page { padding-bottom: 72px; }
  .a-header-in { height: 60px; gap: 12px; }
  .a-logo img { height: 32px; }
  .a-header-right { gap: 12px; }
  .a-hcta { display: none; }
  .a-hlink { min-height: 44px; display: inline-flex; align-items: center; padding: 0 4px; }
  .a-eyebrow { order: 1; }
  .a-h1 { order: 2; }
  .a-sub { order: 3; }
  .a-cta-block { order: 4; }
  .a-eyebrow { font-size: 14px; margin-bottom: 10px; }
  .a-h1 { font-size: 33px; line-height: 1.12; letter-spacing: -0.02em; }
  .a-sub { font-size: 16px; margin-top: 14px; }
  .a-cta-block { margin-top: 22px; align-items: stretch; gap: 10px; }
  .a-cta-block .a-btn { width: 100%; }
  .a-risk { font-size: 14px; text-align: center; }
  .a-wa { margin-top: 10px; justify-content: center; text-align: center; }
  .a-wa-dot { display: none; }
  .a-wa-note { flex-basis: 100%; }
  .a-sec { padding: 64px 0; }
  .a-sec-head { margin-bottom: 32px; }
  .a-h2 { font-size: 29px; }
  .a-lead { font-size: 16px; }
  .a-h3 { font-size: 19px; }
  .a-foot-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  /* Touch targets of at least 44 px for the text links. */
  .a-foot-list a, .a-foot-list .a-linkbtn { display: inline-flex; align-items: center; min-height: 44px; }
  .a-foot-list { gap: 0; }
  .a-mbar { display: flex; }
  .nv-consent.is-above-bar { bottom: 64px; }
}
