/* VALUTAX — site institucional
   Layout: faixas horizontais escuras sobre grade de "livro fiscal"; tipografia larga do logotipo nos títulos,
   mono para códigos fiscais; verde-limão da marca como único acento, rosa e ciano só nos produtos que os usam. */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("../fonts/plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("../fonts/plex-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #07090A;
  --bg-2: #0C0F0D;
  --panel: #111512;
  --line: #1E251F;
  --line-2: #2B342C;
  --ink: #EEF2EA;
  --muted: #8E9A89;
  --lime: #9CFF1E;
  --lime-ink: #0A1200;
  --pink: #F90276;
  --cyan: #0DF5FD;

  --f-display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --r: 14px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: 17px; line-height: 1.6; font-stretch: 100%;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; }
::selection { background: var(--lime); color: var(--lime-ink); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--lime); color: var(--lime-ink); padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow {
  font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--lime); display: inline-flex; align-items: center; gap: 10px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(156,255,30,.6); animation: ping 2s infinite; flex: none; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(156,255,30,.55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(156,255,30,0); } }

.h2 {
  font-family: var(--f-display); font-stretch: 125%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(30px, 4.4vw, 56px); line-height: 1.02; letter-spacing: -.005em;
}

/* Buttons */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding-inline: 22px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--f-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn--sm { --h: 40px; padding-inline: 16px; font-size: 14px; }
.btn--lime { background: var(--lime); color: var(--lime-ink); box-shadow: 0 0 0 0 rgba(156,255,30,0); }
.btn--lime:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px rgba(156,255,30,.55); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn--block { width: 100%; }

/* NAV */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid { background: rgba(7,9,10,.78); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-color: var(--line); }
.nav__in { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); height: 72px; display: flex; align-items: center; gap: 28px; }
.nav__brand img { width: 150px; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { text-decoration: none; font-size: 14.5px; color: var(--muted); transition: color .2s; }
.nav__links a:hover { color: var(--ink); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.access { position: relative; }
.access__menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 250px;
  background: var(--panel); border: 1px solid var(--line-2); border-radius: 12px; padding: 6px;
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.8);
}
.access__menu a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 14px; }
.access__menu a span { font-family: var(--f-mono); font-weight: 400; font-size: 12px; color: var(--muted); }
.access__menu a:hover { background: rgba(156,255,30,.08); }
.nav__burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); transition: transform .25s; }
.nav__burger span:first-child { top: 16px; } .nav__burger span:last-child { top: 23px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile { background: rgba(7,9,10,.97); border-top: 1px solid var(--line); padding: 10px var(--gutter) 22px; display: grid; }
.mobile a { padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--f-display); font-stretch: 115%; font-weight: 700; text-transform: uppercase; font-size: 15px; }
.mobile a:last-child { border: 0; }

/* HERO */
.hero { position: relative; padding-top: calc(72px + clamp(40px, 7vw, 96px)); overflow: hidden; isolation: isolate; }
.hero__grid { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero::after {
  content: ""; position: absolute; z-index: -1; right: -12vw; top: -10vw; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(156,255,30,.16), transparent 62%); pointer-events: none;
}
.hero__in { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-bottom: clamp(48px, 7vw, 96px); }
.hero__copy { min-width: 0; display: grid; gap: 26px; justify-items: start; }
.hero__title {
  font-family: var(--f-display); font-stretch: 125%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(34px, 4.6vw, 66px); line-height: 1; letter-spacing: -.01em;
}
.hero__title .line { display: inline; }
.hero__title em { font-style: normal; color: var(--lime); position: relative; }
.hero__lead { max-width: 56ch; font-size: clamp(16px, 1.35vw, 19px); color: #C7CFC2; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__laws { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero__laws li { font-family: var(--f-mono); font-size: 12.5px; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px; }

.hero__machine { position: relative; min-width: 0; display: grid; }
.hero__machine .vmark { width: 86%; justify-self: end; }
.vmark { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 0 28px rgba(156,255,30,.35)); }
.vmark__trail { fill: none; stroke: rgba(156,255,30,.10); stroke-width: 42; }
.vmark__path, .vmark__head { fill: none; stroke: var(--lime); stroke-width: 42; stroke-linejoin: miter; stroke-miterlimit: 3; }
.vmark__path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.vmark__head { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .vmark__path { animation: draw 2.2s .25s var(--ease) both; }
.js .vmark__head { animation: draw .5s 2.3s var(--ease) both; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.vmark__pulse { opacity: .95; filter: drop-shadow(0 0 10px #fff); }

.term {
  position: relative; margin-top: -1%; margin-left: -6%; width: min(400px, 88%); z-index: 1;
  background: rgba(12,15,13,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line-2); border-radius: var(--r);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(156,255,30,.05) inset;
  font-family: var(--f-mono); font-size: 12.5px;
}
.term__bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.term__dots { display: flex; gap: 5px; } .term__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.term__name { color: var(--muted); }
.term__live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; color: var(--lime); }
.term__live .dot { width: 6px; height: 6px; }
.term__log { list-style: none; margin: 0; padding: 12px 14px; display: grid; gap: 5px; height: 168px; overflow: hidden; color: #BAC4B4; align-content: end; }
.term__log li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: logIn .35s var(--ease) both; }
.term__log b { color: var(--muted); font-weight: 500; margin-right: 6px; }
.term__log .ok { color: var(--lime); } .term__log .ok b { color: var(--lime); }
@keyframes logIn { from { transform: translateY(8px); opacity: .2; } to { transform: none; opacity: 1; } }
.term__foot { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.term__foot div { padding: 10px 14px; display: grid; gap: 2px; }
.term__foot div + div { border-left: 1px solid var(--line); }
.term__foot span { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.term__foot strong { font-weight: 500; font-size: 15px; font-variant-numeric: tabular-nums; }
.lime { color: var(--lime); }
.term__note { position: absolute; right: 12px; bottom: -22px; font-size: 10.5px; color: #5F6A5B; letter-spacing: .06em; }

.ticker { border-block: 1px solid var(--line); overflow: hidden; background: rgba(12,15,13,.6); }
.ticker__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.ticker__track span { font-family: var(--f-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 16px 26px; position: relative; white-space: nowrap; }
.ticker__track span::after { content: "◆"; position: absolute; right: -6px; color: var(--lime); font-size: 8px; top: 50%; transform: translateY(-50%); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* PROOF */
.proof { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: clamp(44px, 6vw, 80px); gap: 0; }
.proof__item { padding: 6px 24px; border-left: 1px solid var(--line-2); display: grid; gap: 8px; min-width: 0; }
.proof__item:first-child { border-left-color: var(--lime); }
.proof__item strong { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: clamp(38px, 4.6vw, 64px); line-height: 1; font-variant-numeric: tabular-nums; }
.proof__item span { color: var(--muted); font-size: 15px; max-width: 24ch; }

/* SECTIONS */
.section { padding-block: clamp(72px, 10vw, 136px); position: relative; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.sec-head { display: grid; gap: 18px; max-width: 820px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head__lead { color: #BAC4B4; font-size: 18px; max-width: 62ch; }

/* SYSTEMS */
.systems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
[data-glow] { --mx: 50%; --my: 0%; }
.sys {
  position: relative; min-width: 0; display: flex; flex-direction: column; gap: 18px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 28px 26px 26px;
  overflow: hidden; transition: border-color .3s, transform .4s var(--ease);
}
.sys::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--c) 14%, transparent), transparent 60%);
}
.sys::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--c), transparent 80%); opacity: .8; }
.sys:hover { border-color: color-mix(in srgb, var(--c) 40%, var(--line)); transform: translateY(-4px); }
.sys:hover::before { opacity: 1; }
.sys__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.sys__logo img { width: 220px; }
.badge { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; white-space: nowrap; border: 1px solid; }
.badge--ready { color: var(--lime); border-color: rgba(156,255,30,.35); background: rgba(156,255,30,.07); }
.badge--dev { color: #FFB86B; border-color: rgba(255,184,107,.35); background: rgba(255,184,107,.07); }
.sys__law { font-family: var(--f-mono); font-size: 12.5px; color: var(--c); letter-spacing: .02em; }
.sys__title { font-size: 20px; line-height: 1.3; font-weight: 600; }
.sys__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: #BAC4B4; font-size: 15px; line-height: 1.5; }
.sys__list li { padding-left: 20px; position: relative; }
.sys__list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 2px; background: var(--c); }
.sys__proof { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line-2); font-size: 14.5px; color: var(--ink); display: grid; gap: 4px; }
.sys__proof span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sys__link { font-family: var(--f-mono); font-size: 13px; color: var(--c); text-decoration: none; display: inline-flex; gap: 6px; }
.sys__link:hover { text-decoration: underline; text-underline-offset: 4px; }
.sys__link i { font-style: normal; transition: transform .2s; } .sys__link:hover i { transform: translate(2px, -2px); }

.eco { margin-top: 28px; display: grid; grid-template-columns: 1fr 2fr; gap: 18px; align-items: stretch; }
.eco__head { display: grid; gap: 10px; align-content: center; }
.eco__lead { color: var(--muted); max-width: 30ch; }
.eco__card { position: relative; overflow: hidden; display: grid; grid-template-columns: 220px 1fr; gap: 26px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 24px 26px; }
.eco__card > div { display: grid; gap: 8px; min-width: 0; }
.eco__card .sys__law { color: var(--cyan); }
.eco__card .sys__link { color: var(--cyan); }
.eco__text { color: #BAC4B4; font-size: 15px; }

/* FLOW */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; counter-reset: s; border-top: 1px solid var(--line-2); }
.flow::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: calc(var(--p, 0) * 100%); background: var(--lime); box-shadow: 0 0 16px rgba(156,255,30,.6); transition: width .2s linear; }
.flow__step { padding: 30px 28px 38px 0; display: grid; gap: 12px; align-content: start; border-bottom: 1px solid var(--line); min-width: 0; }
.flow__step:nth-child(3n+2), .flow__step:nth-child(3n) { padding-left: 28px; border-left: 1px solid var(--line); }
.flow__n { font-family: var(--f-mono); font-size: 13px; color: var(--lime); }
.flow__step h3 { font-family: var(--f-display); font-stretch: 118%; font-weight: 750; text-transform: uppercase; font-size: 19px; letter-spacing: .01em; }
.flow__step p { color: #BAC4B4; font-size: 15.5px; }
.flow__step code { font-family: var(--f-mono); font-size: 12px; color: var(--muted); border: 1px solid var(--line-2); border-radius: 6px; padding: 4px 8px; justify-self: start; }

/* TESE */
.tese { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.tese__copy { display: grid; gap: 20px; position: sticky; top: 110px; min-width: 0; }
.tese__copy .h2 { font-size: clamp(28px, 3.3vw, 46px); }
.tese__copy p:not(.eyebrow) { color: #BAC4B4; font-size: 17.5px; max-width: 54ch; }
.tese__points { display: grid; gap: 14px; }
.point { position: relative; overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 24px 24px 24px 26px; display: grid; gap: 8px; transition: border-color .3s; }
.point::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s; pointer-events: none; background: radial-gradient(320px circle at var(--mx) var(--my), rgba(156,255,30,.10), transparent 60%); }
.point:hover { border-color: rgba(156,255,30,.3); } .point:hover::before { opacity: 1; }
.point h3 { font-size: 19px; font-weight: 650; }
.point p { color: #BAC4B4; font-size: 15.5px; }

/* TECH */
.tech { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.tech__item { padding: 30px 28px; display: grid; gap: 10px; align-content: start; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); transition: background .3s; }
.tech__item:nth-child(3n) { border-right: 0; }
.tech__item:nth-last-child(-n+3) { border-bottom: 0; }
.tech__item:hover { background: var(--panel); }
.tech__item h3 { font-size: 18px; font-weight: 650; display: flex; align-items: center; gap: 10px; }
.tech__item h3::before { content: ""; width: 10px; height: 10px; border: 2px solid var(--lime); border-radius: 2px; transform: rotate(45deg); flex: none; }
.tech__item p { color: #BAC4B4; font-size: 15.5px; }

/* BRASÍLIA */
.bsb { position: relative; overflow: hidden; padding-block: clamp(72px, 10vw, 140px); border-bottom: 1px solid var(--line); }
.bsb::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(156,255,30,.10), transparent 70%),
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(156,255,30,.05) 79px 80px);
}
.bsb__in { display: grid; gap: 18px; position: relative; z-index: 0; }
.bsb__big { font-family: var(--f-display); font-stretch: 125%; font-weight: 850; text-transform: uppercase; font-size: clamp(56px, 13vw, 190px); line-height: .9; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1.5px rgba(238,242,234,.85); overflow-wrap: anywhere; }
.bsb__big span { color: var(--lime); -webkit-text-stroke: 0; white-space: nowrap; }
.bsb__text { max-width: 58ch; color: #BAC4B4; font-size: 18px; }

/* CONTACT */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact__copy { display: grid; gap: 20px; min-width: 0; }
.contact__copy > p:not(.eyebrow) { color: #BAC4B4; font-size: 17.5px; max-width: 48ch; }
.contact__data { margin: 10px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact__data div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact__data dt { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.contact__data dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.contact__data a { text-decoration: none; } .contact__data a:hover { color: var(--lime); }
.form { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3vw, 34px); display: grid; gap: 16px; min-width: 0; }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--f-body); color: var(--ink); background: var(--bg);
  border: 1px solid var(--line-2); border-radius: 10px; padding: 13px 14px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(156,255,30,.15); }
.field [aria-invalid="true"] { border-color: #FF6B6B; }
.form__err { color: #FF8A8A; font-size: 14px; }
.form__hint { color: var(--muted); font-size: 13px; }

/* FOOTER */
.foot { padding-top: 64px; background: var(--bg); }
.foot__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 48px; }
.foot__brand { display: grid; gap: 14px; align-content: start; }
.foot__brand img { width: 170px; }
.foot__brand p { color: var(--muted); font-size: 15px; max-width: 30ch; }
.foot__col { display: grid; gap: 9px; align-content: start; font-size: 14.5px; min-width: 0; }
.foot__col h4 { font-family: var(--f-mono); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin-bottom: 4px; }
.foot__col a { color: #BAC4B4; text-decoration: none; } .foot__col a:hover { color: var(--ink); }
.foot__col p { color: #BAC4B4; overflow-wrap: anywhere; }
.foot__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px calc(22px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; font-family: var(--f-mono); }
.foot__base a { color: var(--muted); text-decoration: none; } .foot__base a:hover { color: var(--lime); }

/* Reveal (só abaixo da dobra; o conteúdo continua visível sem JS) */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

/* Hero load sequence */
.js .hero__copy > * { animation: rise .9s var(--ease) both; }
.js .hero__copy > :nth-child(2) { animation-delay: .08s; }
.js .hero__copy > :nth-child(3) { animation-delay: .18s; }
.js .hero__copy > :nth-child(4) { animation-delay: .28s; }
.js .hero__copy > :nth-child(5) { animation-delay: .38s; }
.js .term { animation: rise 1s .6s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* RESPONSIVE */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__burger { display: block; }
  .systems { grid-template-columns: 1fr 1fr; }
  .systems .sys:last-child { grid-column: 1 / -1; }
  .eco { grid-template-columns: 1fr; }
  .tech { grid-template-columns: 1fr 1fr; }
  .tech__item:nth-child(3n) { border-right: 1px solid var(--line); }
  .tech__item:nth-child(2n) { border-right: 0; }
  .tech__item:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .tech__item:nth-last-child(-n+2) { border-bottom: 0; }
  .foot__in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero__in { grid-template-columns: 1fr; }
  .hero__machine { max-width: 560px; width: 100%; margin-inline: auto; padding-bottom: 28px; }
  .hero__machine .vmark { width: 84%; }
  .term { margin-left: 0; margin-top: 4px; width: min(400px, 100%); }
  .proof { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .proof__item:nth-child(3) { border-left-color: var(--lime); }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow__step, .flow__step:nth-child(3n+2), .flow__step:nth-child(3n) { padding: 26px 22px 30px 0; border-left: 0; }
  .flow__step:nth-child(2n) { padding-left: 22px; border-left: 1px solid var(--line); }
  .tese, .contact { grid-template-columns: 1fr; }
  .tese__copy { position: static; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .nav__in { height: 64px; gap: 12px; }
  .nav__brand img { width: 118px; }
  .access, .nav__cta > .btn--lime { display: none; }
  .hero { padding-top: calc(64px + 36px); }
  .hero__actions .btn { flex: 1 1 100%; }
  .systems { grid-template-columns: 1fr; }
  .sys { padding: 24px 20px; }
  .sys__logo img { width: 180px; }
  .eco__card { grid-template-columns: 1fr; gap: 16px; }
  .eco__logo img { width: 180px; }
  .flow { grid-template-columns: 1fr; }
  .flow__step, .flow__step:nth-child(2n) { padding: 24px 0 26px; border-left: 0; }
  .tech { grid-template-columns: 1fr; }
  .tech__item, .tech__item:nth-child(n) { border-right: 0; border-bottom: 1px solid var(--line); }
  .tech__item:last-child { border-bottom: 0; }
  .proof__item { padding-inline: 16px; }
  .contact__data div { grid-template-columns: 1fr; gap: 2px; }
  .foot__in { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  .vmark__pulse { display: none; }
  .ticker__track { animation: none; }
  .js .rv { opacity: 1; transform: none; }
}

/* Selo de validação SEFAZ-DF */
.seal {
  justify-self: start; align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 8px; border-radius: 999px; font-size: 13.5px; font-weight: 650; color: var(--ink);
  background: linear-gradient(90deg, rgba(156,255,30,.16), rgba(156,255,30,.04)); border: 1px solid rgba(156,255,30,.4);
}
.seal__icon { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--lime-ink); font-size: 12px; font-weight: 800; flex: none; }

/* Telas estreitas: colunas nunca maiores que a tela; títulos e painel do motor se ajustam */
@media (max-width: 860px) {
  .hero__in, .tese, .contact { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .systems, .flow, .tech, .foot__in, .eco, .eco__card { grid-template-columns: minmax(0, 1fr); }
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.term__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.term__live { flex: none; }
@media (max-width: 400px) {
  .h2, .tese__copy .h2 { font-size: clamp(22px, 7.4vw, 30px); hyphens: auto; -webkit-hyphens: auto; }
  .hero__title { font-size: clamp(26px, 8.6vw, 34px); }
  .term { font-size: 11px; }
  .term__foot div { padding: 8px 10px; }
  .term__foot strong { font-size: 13px; }
  .proof__item { padding-inline: 12px; }
  .proof__item strong { font-size: 34px; }
  .sys, .form { padding-inline: 16px; }
  .btn { padding-inline: 16px; }
}
.hero__machine { grid-template-columns: minmax(0, 1fr); }
.term__log { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 480px) { .bsb__big { font-size: 11.4vw; overflow-wrap: normal; } }
