/* ==========================================================================
   PCnovo Informática — IA aplicada à operação real
   Design system: industrial-editorial · ink + lime · Archivo / DM Sans / Plex
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink: #070906;
  --ink-2: #0B0E09;
  --panel: #11150E;
  --panel-2: #171C13;
  --panel-3: #1D2318;
  --line: rgba(232, 255, 190, 0.12);
  --line-strong: rgba(232, 255, 190, 0.26);
  --paper: #F1EFE4;
  --paper-2: #E7E4D6;
  --muted: #A2AA98;
  --muted-2: #8B9482;
  --lime: #D8FF4F;
  --lime-2: #C3EF35;
  --mint: #8BE8C6;
  --warn: #FFC857;
  --ink-on-lime: #0A0C07;

  --font-display: "Archivo", "Arial Black", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Courier New", monospace;

  --container: 1240px;
  --radius: 20px;
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
svg { display: block; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--lime); color: var(--ink); }

:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 999;
  background: var(--lime); color: var(--ink); padding: 10px 18px;
  border-radius: 0 0 10px 10px; font-weight: 600; transition: top 0.2s;
}
.skip-link:focus { top: 0; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #050704; }
::-webkit-scrollbar-thumb { background: #2C3426; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #43503A; }

/* ---------- Global helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.section { position: relative; padding: clamp(84px, 9vw, 136px) 0; }
section[id] { scroll-margin-top: 84px; }
.section__head { max-width: 860px; }
.section__head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 52px;
}
.section__intro { color: #B5BCAB; font-size: 16.5px; line-height: 1.65; max-width: 52ch; }
.section__head--split .section__intro { padding-bottom: 4px; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; line-height: 1.6; }
.mono-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; color: var(--muted); text-transform: uppercase; }
.h2 { font-size: clamp(2.05rem, 4.4vw, 3.65rem); letter-spacing: -0.04em; }
.hl { color: var(--lime); }
.muted-mark { color: var(--muted-2); }

.kicker {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.18em; color: var(--muted); text-transform: uppercase;
  margin-bottom: 22px;
}
.kicker .dot, .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--lime);
  box-shadow: 0 0 0 4px rgba(216, 255, 79, 0.1);
  flex: none;
}
.kicker--dark { color: rgba(10, 12, 7, 0.6); }
.dot--dark { background: var(--ink); box-shadow: 0 0 0 4px rgba(10, 12, 7, 0.1); }

.grain {
  position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120;
  background: transparent; pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%; width: 0%; background: var(--lime);
  box-shadow: 0 0 12px rgba(216, 255, 79, 0.6);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 1px solid transparent; border-radius: 999px;
  padding: 12px 20px; font-size: 13.5px; font-weight: 600; line-height: 1;
  cursor: pointer; transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(0.985); }
.btn--lime { background: var(--lime); color: var(--ink); box-shadow: 0 8px 30px rgba(216, 255, 79, 0.12); }
.btn--lime:hover { background: #E3FF81; box-shadow: 0 10px 40px rgba(216, 255, 79, 0.25); }
.btn--outline { border-color: var(--line-strong); color: var(--paper); background: rgba(255, 255, 255, 0.02); }
.btn--outline:hover { border-color: var(--lime); color: var(--lime); }
.btn--ghost { color: var(--muted); font-weight: 500; }
.btn--ghost:hover { color: var(--paper); }
.btn--ghost svg { width: 14px; height: 14px; }
.btn--lg { padding: 16px 26px; font-size: 14.5px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  padding: 20px 0; transition: padding 0.3s var(--ease), background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding: 10px 0; background: rgba(7, 9, 6, 0.82);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand__logo { height: 46px; width: auto; display: block; }
.footer .brand__logo { height: 54px; }
.brand__mark { width: 38px; height: 38px; color: var(--lime); flex: none; }
.brand__mark svg { width: 100%; height: 100%; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong { font-family: var(--font-display); font-size: 17px; font-weight: 800; letter-spacing: 0.04em; }
.brand__text span { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.3em; color: var(--muted); margin-top: 4px; }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a {
  font-size: 13px; font-weight: 500; color: var(--muted); position: relative; padding: 4px 0;
  transition: color 0.2s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav__links a:hover { color: var(--paper); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__links a.is-active { color: var(--paper); }
.nav__links a.is-active::after { transform: scaleX(1); }
.nav__menu-cta { display: none; }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: transparent; border-radius: 50%; cursor: pointer; padding: 0; position: relative; }
.nav__burger span { position: absolute; left: 12px; width: 17px; height: 1.5px; background: var(--paper); transition: transform 0.25s, top 0.25s; }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 23px; }
.nav.menu-open .nav__burger span:first-child { top: 20px; transform: rotate(45deg); }
.nav.menu-open .nav__burger span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; overflow: hidden; isolation: isolate; padding-bottom: 44px; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img {
  width: 100%; height: 112%; object-fit: cover; object-position: center 40%;
  opacity: 0.46; filter: saturate(0.72) contrast(1.12);
  transform: translate3d(0, var(--parallax, 0px), 0) scale(1.04);
  will-change: transform;
}
.hero__veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(75% 65% at 82% 16%, rgba(216, 255, 79, 0.13), transparent 62%),
    linear-gradient(90deg, var(--ink) 6%, rgba(7, 9, 6, 0.88) 40%, rgba(7, 9, 6, 0.38) 72%, rgba(7, 9, 6, 0.72) 100%),
    linear-gradient(0deg, var(--ink) 1%, rgba(7, 9, 6, 0.25) 38%, transparent 62%);
}
.hero__grid {
  position: absolute; inset: 0; opacity: 0.5;
  background-image:
    linear-gradient(to right, rgba(216, 255, 79, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(216, 255, 79, 0.055) 1px, transparent 1px);
  background-size: 86px 86px;
  -webkit-mask-image: radial-gradient(70% 80% at 70% 30%, black, transparent 78%);
  mask-image: radial-gradient(70% 80% at 70% 30%, black, transparent 78%);
}
.hero__inner {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
  min-height: calc(100svh - 44px); padding-top: 120px; padding-bottom: 70px;
}
.hero__title {
  font-size: clamp(2.9rem, 6.1vw, 6rem);
  line-height: 0.94; letter-spacing: -0.045em; font-weight: 800;
  margin-bottom: 26px; text-wrap: balance;
}
.strike { position: relative; color: var(--muted-2); white-space: nowrap; }
.strike::after {
  content: ""; position: absolute; left: -2%; top: 54%; width: 104%; height: 4px;
  background: var(--lime); transform: rotate(-2.2deg); border-radius: 4px;
  box-shadow: 0 0 18px rgba(216, 255, 79, 0.45);
}
.hero__lead { max-width: 54ch; color: #C4CBB9; font-size: clamp(15.5px, 1.4vw, 18px); line-height: 1.65; margin-bottom: 32px; }
.hero__lead strong { color: var(--paper); font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 38px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 26px; border-top: 1px solid var(--line); padding-top: 20px; }
.hero__facts li { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.hero__facts span { font-family: var(--font-mono); font-size: 9.5px; color: var(--lime); border: 1px solid rgba(216, 255, 79, 0.25); border-radius: 999px; padding: 2px 6px; }

/* HUD */
.hud {
  justify-self: end; width: 100%; max-width: 438px;
  background: linear-gradient(180deg, rgba(23, 28, 19, 0.92), rgba(8, 11, 7, 0.94));
  border: 1px solid rgba(232, 255, 190, 0.16); border-radius: 22px;
  padding: 20px 20px 16px; position: relative;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  animation: hudFloat 9s ease-in-out infinite;
}
.hud::before {
  content: ""; position: absolute; top: -1px; left: 18%; right: 18%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
  opacity: 0.7;
}
.hud__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.hud__label { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.16em; color: #C9D3BA; }
.hud__clock { font-family: var(--font-mono); font-size: 10px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--lime);
  box-shadow: 0 0 0 3px rgba(216, 255, 79, 0.14);
  animation: pulse 2.4s ease-in-out infinite; flex: none;
}
.hud__kpi { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.hud__kpi-label { display: block; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.18em; color: var(--muted-2); margin-bottom: 4px; }
.hud__kpi-value { font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.hud__kpi-value em { font-style: normal; font-size: 1.05rem; color: var(--muted); margin-left: 2px; }
.delta { font-family: var(--font-mono); font-size: 10px; padding: 4px 8px; border-radius: 999px; }
.delta--up { color: var(--lime); background: rgba(216, 255, 79, 0.1); border: 1px solid rgba(216, 255, 79, 0.2); }
.hud__chart { padding: 14px 0 12px; border-bottom: 1px solid var(--line); }
.hud__chart-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.14em; color: var(--muted-2); margin-bottom: 8px; }
.mono-sm { font-family: var(--font-mono); font-size: 9px; color: var(--lime); letter-spacing: 0; }
.hud__chart svg { width: 100%; height: 78px; overflow: visible; }
.hud__line { stroke-dasharray: 700; stroke-dashoffset: 700; animation: drawLine 2.4s 0.6s var(--ease) forwards; }
.hud__machines { display: grid; gap: 9px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.hud__machines li { display: grid; grid-template-columns: 8px minmax(72px, 0.8fr) 1fr 34px; align-items: center; gap: 9px; }
.m-dot { width: 6px; height: 6px; border-radius: 50%; }
.m-dot--ok { background: var(--lime); box-shadow: 0 0 8px rgba(216, 255, 79, 0.5); }
.m-dot--warn { background: var(--warn); box-shadow: 0 0 8px rgba(255, 200, 87, 0.45); }
.m-name { font-size: 11.5px; color: #CBD3BE; }
.m-bar { height: 3px; background: rgba(255, 255, 255, 0.07); border-radius: 99px; overflow: hidden; }
.m-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #7E9E2A, var(--lime)); border-radius: 99px; animation: growBar 1.6s 0.8s var(--ease) forwards; }
.m-val { font-family: var(--font-mono); font-size: 9.5px; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.hud__insight { margin-top: 14px; background: rgba(216, 255, 79, 0.06); border: 1px solid rgba(216, 255, 79, 0.16); border-radius: 12px; padding: 12px 13px; }
.hud__insight-tag { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.16em; color: var(--lime); margin-bottom: 6px; }
.hud__insight-tag svg { width: 11px; height: 11px; }
.hud__insight p { font-size: 11.5px; line-height: 1.5; color: #B9C2AE; }
.hud__insight strong { color: var(--paper); font-weight: 600; }
.hud__note { font-size: 9px; color: var(--muted-2); margin-top: 12px; line-height: 1.4; }

/* Marquee */
.marquee { position: absolute; bottom: 0; left: 0; right: 0; height: 44px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; display: flex; align-items: center; background: rgba(7, 9, 6, 0.6); }
.marquee__track { display: flex; align-items: center; flex: none; animation: marquee 42s linear infinite; }
.marquee__track span { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.2em; color: var(--muted-2); white-space: nowrap; padding: 0 18px; }
.marquee__track i { color: var(--lime); font-style: normal; font-size: 9px; }

/* ---------- Problem ---------- */
.section--problem { background: linear-gradient(180deg, var(--ink), #0A0D08 40%, var(--ink)); border-top: 1px solid rgba(232, 255, 190, 0.06); }
.symptoms { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); margin-top: 8px; }
.symptom { position: relative; padding: 30px 28px 30px 0; border-right: 1px solid var(--line); transition: background 0.3s; }
.symptom:not(:first-child) { padding-left: 28px; }
.symptom:last-child { border-right: 0; }
.symptom:hover { background: rgba(216, 255, 79, 0.025); }
.symptom__num { font-family: var(--font-mono); font-size: 10px; color: var(--lime); letter-spacing: 0.14em; display: block; margin-bottom: 30px; }
.symptom h3 { font-size: 1.32rem; margin-bottom: 10px; letter-spacing: -0.025em; }
.symptom p { color: var(--muted); font-size: 14px; line-height: 1.6; margin-bottom: 18px; }
.symptom__tag { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.1em; color: #C9D2BC; text-transform: uppercase; }
.bridge { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin-top: 48px; padding: 18px 24px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.bridge__lead { flex: 1 1 280px; color: var(--muted); font-size: 13px; }
.bridge__step { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: #D6DDC9; }
.bridge__step b { color: var(--lime); margin-right: 5px; }
.bridge__step--hot { background: var(--lime); color: var(--ink); padding: 5px 12px; border-radius: 999px; font-weight: 500; }
.bridge__step--hot b { color: var(--ink); }
.bridge__arrow { color: var(--muted-2); font-size: 12px; }

/* ---------- Services ---------- */
.section--services { background: radial-gradient(60% 50% at 88% 0%, rgba(216, 255, 79, 0.055), transparent 60%), var(--ink); }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; margin-top: 8px; }
.card {
  position: relative; display: flex; flex-direction: column;
  padding: 26px; min-height: 250px; border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(155deg, rgba(24, 30, 20, 0.85), rgba(11, 14, 9, 0.92));
  overflow: hidden; grid-column: span 4;
  transition: transform 0.4s var(--ease), border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(216, 255, 79, 0.1), transparent 62%);
}
.card:hover { transform: translateY(-5px); border-color: rgba(216, 255, 79, 0.38); box-shadow: 0 26px 60px rgba(0, 0, 0, 0.35); }
.card:hover::after { opacity: 1; }
.card--wide { grid-column: span 7; }
.card--hot { grid-column: span 5; background: linear-gradient(150deg, #E5FF88 0%, #D2F84D 48%, #BFE62F 100%); border-color: transparent; color: var(--ink); }
.card--hot::after { display: none; }
.card--hot:hover { box-shadow: 0 26px 70px rgba(216, 255, 79, 0.16); }
.card__icon {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(216, 255, 79, 0.08); border: 1px solid rgba(216, 255, 79, 0.16);
  color: var(--lime); margin-bottom: 18px; flex: none;
}
.card__icon svg { width: 22px; height: 22px; }
.card--hot .card__icon { background: rgba(10, 12, 7, 0.1); border-color: rgba(10, 12, 7, 0.2); color: var(--ink); }
.card__tag { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 9px; }
.card h3 { font-size: 1.34rem; line-height: 1.16; letter-spacing: -0.028em; margin-bottom: 10px; max-width: 30ch; }
.card--wide h3 { font-size: 1.62rem; max-width: 24ch; }
.card p { color: #AEB6A3; font-size: 14px; line-height: 1.62; }
.card__list { margin: 16px 0 4px; display: grid; gap: 6px; }
.card__list li { position: relative; padding-left: 15px; font-size: 12.5px; color: #C6CEBA; }
.card__list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--lime); }
.card__link { margin-top: auto; padding-top: 20px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime); transition: letter-spacing 0.3s; }
.card:hover .card__link { letter-spacing: 0.19em; }
.card--hot .card__tag { color: rgba(10, 12, 7, 0.7); }
.card--hot p { color: rgba(10, 12, 7, 0.72); }
.card--hot .card__link { color: var(--ink); }
.card--hot h3 { max-width: 26ch; }
/* Linhas fechadas em 12 colunas: 7+5 / 4+4+4 / 7+5 */
.bento .card:nth-child(2) { grid-column: span 5; }
.bento .card--hot { grid-column: span 7; }
.bento .card:nth-child(7) { grid-column: span 5; }

/* ---------- Lab / Dashboard ---------- */
.section--lab { background: linear-gradient(180deg, var(--ink), #090C07 50%, var(--ink)); border-top: 1px solid rgba(232, 255, 190, 0.06); }
.lab {
  border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
  background:
    radial-gradient(110% 120% at 100% 0%, rgba(216, 255, 79, 0.055), transparent 55%),
    var(--panel);
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.4);
}
.lab__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.lab__tabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(0, 0, 0, 0.28); border: 1px solid var(--line); }
.lab__tab {
  border: 0; background: transparent; color: var(--muted); cursor: pointer;
  padding: 9px 20px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  transition: background 0.25s, color 0.25s;
}
.lab__tab:hover { color: var(--paper); }
.lab__tab.is-active { background: var(--lime); color: var(--ink); }
.lab__status { display: flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em; color: var(--muted-2); text-transform: uppercase; }
.lab__tag { border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px 8px; color: var(--muted); font-size: 8px; letter-spacing: 0.12em; }
.lab__body { padding: 18px; }
.lab__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpi {
  padding: 15px 17px; border-radius: 13px; border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.22);
}
.kpi__label { display: block; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.15em; color: var(--muted-2); text-transform: uppercase; margin-bottom: 7px; }
.kpi__row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.kpi__value { font-family: var(--font-display); font-size: clamp(1.45rem, 2.4vw, 1.95rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.kpi__delta { font-family: var(--font-mono); font-size: 9px; color: var(--lime); white-space: nowrap; }
.kpi__delta--down { color: var(--mint); }
.lab__main { display: grid; grid-template-columns: minmax(0, 1fr) 316px; gap: 12px; margin-top: 12px; }
.lab__chart-wrap { border: 1px solid var(--line); border-radius: 13px; background: rgba(0, 0, 0, 0.18); padding: 16px 16px 8px; }
.lab__chart-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.lab__chart-head strong { display: block; font-family: var(--font-display); font-size: 15px; letter-spacing: -0.02em; margin-top: 3px; }
.lab__legend { display: flex; gap: 14px; flex-wrap: wrap; }
.lab__legend span { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 8.5px; color: var(--muted); letter-spacing: 0.06em; }
.lab__legend i { width: 14px; height: 2px; border-radius: 2px; display: block; }
.lab__chart { position: relative; height: 232px; }
.lab__chart svg { width: 100%; height: 100%; overflow: visible; }
.lab__axis { display: flex; justify-content: space-between; padding: 6px 2px 8px; font-family: var(--font-mono); font-size: 8px; color: var(--muted-2); letter-spacing: 0.06em; }
.chart-grid { stroke: rgba(232, 255, 190, 0.07); stroke-width: 1; stroke-dasharray: 2 6; }
.chart-line { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chart-line--dashed { stroke-dasharray: 4 7; stroke-width: 1.4; }
.chart-area { opacity: 0.16; }
.chart-dot { filter: drop-shadow(0 0 6px currentColor); }
.lab__alerts { border: 1px solid var(--line); border-radius: 13px; background: rgba(0, 0, 0, 0.18); padding: 16px; display: flex; flex-direction: column; }
.lab__alerts-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.pill { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.1em; padding: 3px 8px; border-radius: 999px; text-transform: uppercase; }
.pill--live { color: var(--lime); background: rgba(216, 255, 79, 0.09); border: 1px solid rgba(216, 255, 79, 0.18); }
.alerts { display: grid; gap: 10px; }
.alert { display: grid; grid-template-columns: 26px 1fr; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid rgba(232, 255, 190, 0.07); }
.alert:last-child { border-bottom: 0; padding-bottom: 0; }
.alert__mark { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-family: var(--font-mono); font-size: 11px; flex: none; }
.alert--warn .alert__mark { background: rgba(255, 200, 87, 0.12); color: var(--warn); border: 1px solid rgba(255, 200, 87, 0.22); }
.alert--ok .alert__mark { background: rgba(216, 255, 79, 0.1); color: var(--lime); border: 1px solid rgba(216, 255, 79, 0.2); }
.alert--insight .alert__mark { background: rgba(139, 232, 198, 0.1); color: var(--mint); border: 1px solid rgba(139, 232, 198, 0.2); }
.alert strong { display: block; font-size: 11.5px; font-weight: 600; margin-bottom: 2px; }
.alert p { font-size: 10.5px; line-height: 1.45; color: var(--muted); }
.alert time { font-family: var(--font-mono); font-size: 8px; color: var(--muted-2); display: block; margin-top: 4px; }
.lab__machines { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.machine { border: 1px solid var(--line); border-radius: 11px; background: rgba(0, 0, 0, 0.16); padding: 11px 13px; }
.machine__top { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 7px; }
.machine__name { font-size: 10.5px; color: #C9D2BC; }
.machine__state { font-family: var(--font-mono); font-size: 7.5px; letter-spacing: 0.08em; padding: 2px 6px; border-radius: 999px; }
.machine--ok .machine__state { color: var(--lime); background: rgba(216, 255, 79, 0.09); }
.machine--warn .machine__state { color: var(--warn); background: rgba(255, 200, 87, 0.1); }
.machine--off .machine__state { color: var(--muted-2); background: rgba(255, 255, 255, 0.05); }
.machine__load { display: flex; align-items: center; gap: 8px; }
.machine__bar { flex: 1; height: 3px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.machine__bar i { display: block; height: 100%; border-radius: 99px; background: var(--lime); transition: width 0.8s var(--ease); }
.machine--warn .machine__bar i { background: var(--warn); }
.machine--off .machine__bar i { background: var(--muted-2); }
.machine__pct { font-family: var(--font-mono); font-size: 8.5px; color: var(--muted); }
.lab__foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 13px 20px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.05em; color: var(--muted-2); }
.lab__foot a { color: var(--lime); }
.lab__foot a:hover { text-decoration: underline; }

/* ---------- Retrofit ---------- */
.section--retrofit {
  background:
    radial-gradient(70% 50% at 20% 10%, rgba(216, 255, 79, 0.045), transparent 60%),
    linear-gradient(180deg, var(--ink), #0A1108 45%, var(--ink));
  border-top: 1px solid rgba(232, 255, 190, 0.06);
}
.compare { position: relative; margin-bottom: 44px; }
.compare__frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line-strong); background: #0A0C07;
}
.compare__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__img--before { filter: grayscale(0.9) brightness(0.5) contrast(1.08) sepia(0.12); }
.compare__img--after { filter: saturate(1.05) brightness(0.88) contrast(1.06); }
.compare__after {
  position: absolute; inset: 0;
  clip-path: inset(0 0 0 var(--pos, 52%));
  transition: clip-path 0.08s linear;
}
.compare__after::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(216, 255, 79, 0.1), transparent 40%),
    radial-gradient(70% 80% at 80% 25%, rgba(216, 255, 79, 0.14), transparent 60%);
  mix-blend-mode: screen;
}
.compare__hud { position: absolute; inset: 0; pointer-events: none; }
.chud {
  position: absolute; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.1em; color: #E8FFC9;
  background: rgba(8, 11, 7, 0.72); border: 1px solid rgba(216, 255, 79, 0.4);
  padding: 6px 9px; border-radius: 7px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}
.chud i { width: 5px; height: 5px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px var(--lime); }
.chud--a { top: 14%; right: 8%; }
.chud--b { top: 32%; right: 26%; }
.chud--c { bottom: 30%; right: 10%; }
.chud--d { top: 16%; left: 8%; color: var(--lime); font-size: 11px; padding: 7px 11px; }
.compare__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 52%);
  width: 2px; background: var(--lime); transform: translateX(-50%);
  display: flex; align-items: center; justify-content: center; z-index: 4;
  box-shadow: 0 0 22px rgba(216, 255, 79, 0.55); pointer-events: none;
}
.compare__handle span {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--lime); border: 2px solid var(--lime);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.5);
}
.compare__handle svg { width: 20px; height: 20px; }
.compare__badge {
  position: absolute; bottom: 16px; z-index: 3;
  font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.12em;
  padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(6, 8, 5, 0.62); color: #D6DDC9; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.compare__badge--before { left: 16px; }
.compare__badge--after { right: 16px; color: var(--lime); border-color: rgba(216, 255, 79, 0.35); }
.compare__range { position: absolute; left: 0; top: 0; width: 100%; height: calc(100% - 34px); opacity: 0; cursor: ew-resize; z-index: 6; margin: 0; }
.compare:has(.compare__range:focus-visible) .compare__frame { outline: 2px solid var(--lime); outline-offset: 4px; }
.compare__hint { text-align: center; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em; color: var(--muted-2); margin-top: 10px; text-transform: uppercase; }

.chain { display: flex; align-items: stretch; gap: 6px; margin-bottom: 44px; }
.chain__node { flex: 1; min-width: 0; padding: 14px; border: 1px solid var(--line); border-radius: 13px; background: var(--panel); }
.chain__node span { display: block; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.14em; color: var(--lime); margin-bottom: 8px; }
.chain__node b { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 3px; }
.chain__node small { display: block; font-size: 10px; line-height: 1.45; color: #99A28D; }
.chain__node--hot { background: var(--lime); border-color: transparent; }
.chain__node--hot span, .chain__node--hot b, .chain__node--hot small { color: var(--ink); }
.chain__node--hot small { color: rgba(10, 12, 7, 0.68); }
.chain__arrow { align-self: center; color: var(--muted-2); font-size: 12px; flex: none; }

.retrofit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.retrofit-block { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(165deg, rgba(22, 28, 19, 0.7), rgba(10, 13, 9, 0.9)); }
.retrofit-block h3 { font-size: 1.18rem; margin-bottom: 16px; letter-spacing: -0.02em; }
.retrofit-photo { margin: 0 0 16px; border-radius: 11px; overflow: hidden; border: 1px solid var(--line); }
.retrofit-photo img { width: 100%; height: 108px; object-fit: cover; filter: saturate(0.85) brightness(0.85); }
.checklist { display: grid; gap: 9px; }
.checklist li { position: relative; padding-left: 21px; font-size: 13px; color: #C4CCB8; }
.checklist li::before { content: "+"; position: absolute; left: 0; top: -1px; color: var(--lime); font-family: var(--font-mono); font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font-size: 11px; color: #C9D1BD; border: 1px solid var(--line-strong); padding: 5px 10px; border-radius: 999px; transition: border-color 0.2s, color 0.2s; }
.chips span:hover { border-color: var(--lime); color: var(--lime); }
.retrofit-block .muted.small { margin-top: 14px; }
.retrofit-block--results .results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.results div { display: flex; flex-direction: column; }
.results strong { font-family: var(--font-display); font-size: clamp(1.4rem, 2.3vw, 1.9rem); color: var(--lime); letter-spacing: -0.04em; line-height: 1.1; }
.results span { font-size: 9.5px; line-height: 1.3; color: var(--muted); margin-top: 4px; }
.retrofit-block--results .btn { margin-top: 14px; width: 100%; }
.retrofit-callout { margin-top: 40px; padding: 22px 26px; border-left: 2px solid var(--lime); background: rgba(216, 255, 79, 0.035); border-radius: 0 14px 14px 0; }
.retrofit-callout p { color: #BFC7B3; font-size: 14.5px; line-height: 1.65; max-width: 90ch; }
.retrofit-callout strong { color: var(--lime); font-weight: 600; }

/* ---------- Calculator ---------- */
.section--calc {
  background: var(--paper); color: var(--ink);
  background-image:
    linear-gradient(to right, rgba(10, 12, 7, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 12, 7, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
}
.section--calc .h2 { color: var(--ink); }
.section--calc .section__intro { color: rgba(10, 12, 7, 0.66); }
.calc { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(30px, 5vw, 64px); align-items: start; margin-top: 8px; }
.calc__controls { display: grid; gap: 30px; }
.calc__field label { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; font-size: 14.5px; font-weight: 500; color: rgba(10, 12, 7, 0.78); margin-bottom: 12px; }
.calc__field output { font-family: var(--font-display); font-size: 1.55rem; font-weight: 700; letter-spacing: -0.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.calc input[type="range"] { width: 100%; height: 22px; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; display: block; margin: 0; }
.calc input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 999px; background: linear-gradient(90deg, var(--ink) 0 var(--fill, 50%), rgba(10, 12, 7, 0.14) var(--fill, 50%) 100%); }
.calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -7px; border-radius: 50%; background: var(--ink); border: 3px solid var(--paper); box-shadow: 0 0 0 1px var(--ink); }
.calc input[type="range"]::-moz-range-track { height: 4px; border-radius: 999px; background: rgba(10, 12, 7, 0.14); }
.calc input[type="range"]::-moz-range-progress { height: 4px; border-radius: 999px; background: var(--ink); }
.calc input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 3px solid var(--paper); box-shadow: 0 0 0 1px var(--ink); }
.calc input[type="range"]:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.calc__scale { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 9px; color: rgba(10, 12, 7, 0.62); margin-top: 3px; }
.calc__result { background: var(--ink); color: var(--paper); border-radius: 22px; padding: 30px; box-shadow: 0 30px 80px rgba(10, 12, 7, 0.22); }
.calc__result-label { display: block; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.16em; color: var(--muted-2); margin-bottom: 10px; }
.calc__value { display: block; font-family: var(--font-display); font-size: clamp(2.35rem, 4.2vw, 3.55rem); font-weight: 800; letter-spacing: -0.045em; color: var(--lime); line-height: 1; margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.calc__result-sub { display: block; font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.calc__result-sub strong { color: var(--paper); }
.calc__bars { display: grid; gap: 10px; margin: 22px 0 18px; padding-top: 20px; border-top: 1px solid var(--line); }
.calc__bar-row { display: grid; grid-template-columns: 132px 1fr; align-items: center; gap: 12px; }
.calc__bar-row > span:first-child { font-size: 10.5px; color: var(--muted); }
.calc__bar { display: block; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.calc__bar i { display: block; height: 100%; border-radius: 99px; transition: width 0.5s var(--ease); }
.calc__bar--manual i { background: #5D6753; }
.calc__bar--auto i { background: var(--lime); }
.calc__note { font-size: 10.5px; line-height: 1.5; color: var(--muted-2); margin-bottom: 18px; }
.calc__result .btn { width: 100%; }

/* ---------- Process ---------- */
.section--process { background: var(--ink); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 8px; }
.step { position: relative; padding: 28px 26px 0 0; border-top: 1px solid var(--line-strong); transition: border-color 0.3s; }
.step:not(:first-child) { padding-left: 26px; }
.step:hover { border-top-color: var(--lime); }
.step__num { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; color: var(--lime); display: block; margin-bottom: 26px; }
.step__time { display: inline-block; font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.14em; color: var(--muted-2); border: 1px solid var(--line); padding: 3px 8px; border-radius: 999px; margin-bottom: 12px; }
.step h3 { font-size: 1.24rem; margin-bottom: 9px; letter-spacing: -0.025em; }
.step p { font-size: 13px; line-height: 1.62; color: var(--muted); margin-bottom: 18px; }
.step__out { display: block; font-family: var(--font-mono); font-size: 8.5px; line-height: 1.5; letter-spacing: 0.06em; text-transform: uppercase; color: #BFC9AF; }
.step__out::before { content: "→ "; color: var(--lime); }

/* ---------- Why ---------- */
.section--why { background: linear-gradient(180deg, var(--ink), #0A0D08); border-top: 1px solid rgba(232, 255, 190, 0.06); }
.why { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(36px, 6vw, 72px); align-items: center; }
.why__list { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 30px; margin-top: 36px; }
.why__item b { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--paper); }
.why__item p { font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.why__media { position: relative; margin: 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--line-strong); }
.why__media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; filter: saturate(0.85) contrast(1.04) brightness(0.9); transition: transform 0.8s var(--ease); }
.why__media:hover img { transform: scale(1.03); }
.why__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 9, 6, 0.9), transparent 55%); pointer-events: none; }
.why__media figcaption { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; display: flex; align-items: flex-start; gap: 9px; font-size: 11.5px; line-height: 1.5; color: #D3DAC6; }
.why__media figcaption .live-dot { margin-top: 5px; }
.sectors { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line); }
.sectors__label { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.18em; color: var(--muted-2); }
.sectors__list { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.sectors__list span { font-size: 11.5px; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: color 0.2s, border-color 0.2s; }
.sectors__list span:hover { color: var(--lime); border-color: var(--lime); }

/* ---------- FAQ ---------- */
.section--faq { background: var(--ink); border-top: 1px solid rgba(232, 255, 190, 0.06); }
.faq { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq__head .h2 { margin-bottom: 20px; }
.faq__list { border-top: 1px solid var(--line-strong); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; position: relative; padding: 21px 44px 21px 0;
  font-size: 15px; font-weight: 500; color: #DDE3D4; line-height: 1.45;
  transition: color 0.2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-mono); font-size: 22px; font-weight: 300; color: var(--lime);
  transition: transform 0.3s var(--ease);
}
.faq__item summary:hover { color: var(--lime); }
.faq__item[open] summary { color: var(--paper); }
.faq__item[open] summary::after { content: "−"; }
.faq__body { padding: 0 44px 22px 0; }
.faq__body p { font-size: 13.5px; line-height: 1.7; color: var(--muted); }

/* ---------- CTA ---------- */
.section--cta {
  background: var(--lime); color: var(--ink); overflow: hidden;
  border-top: 1px solid rgba(10, 12, 7, 0.1); border-bottom: 1px solid rgba(10, 12, 7, 0.1);
}
.section--cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(10, 12, 7, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 12, 7, 0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(70% 70% at 20% 40%, black, transparent 80%);
  mask-image: radial-gradient(70% 70% at 20% 40%, black, transparent 80%);
}
.section--cta .container { position: relative; z-index: 1; }
.cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); gap: clamp(36px, 6vw, 76px); align-items: start; }
.cta .h2 { color: var(--ink); margin-bottom: 20px; }
.cta .hl { color: var(--ink); }
.cta .kicker { color: rgba(10, 12, 7, 0.72); }
.cta .kicker .dot { background: var(--ink); box-shadow: 0 0 0 4px rgba(10, 12, 7, 0.1); }
.cta .section__intro { color: rgba(10, 12, 7, 0.72); max-width: 46ch; }
.cta__points { display: grid; gap: 8px; margin: 26px 0 34px; }
.cta__points li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: rgba(10, 12, 7, 0.8); }
.cta__points span { width: 18px; height: 18px; border-radius: 50%; background: var(--ink); color: var(--lime); display: grid; place-items: center; font-size: 9px; flex: none; }
.cta__direct { display: grid; grid-template-columns: 1fr; gap: 18px; border-top: 1px solid rgba(10, 12, 7, 0.2); padding-top: 20px; }
.cta__direct a { display: block; border-radius: 4px; }
.cta__direct a:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.cta__direct span { display: block; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(10, 12, 7, 0.66); margin-bottom: 4px; }
.cta__direct strong { font-size: 13.5px; font-weight: 600; color: var(--ink); border-bottom: 1px solid rgba(10, 12, 7, 0.25); padding-bottom: 2px; transition: border-color 0.2s; }
.cta__direct a:hover strong { border-color: var(--ink); }

.form { background: var(--ink); color: var(--paper); border-radius: 22px; padding: 26px; display: grid; gap: 13px; box-shadow: 0 30px 80px rgba(10, 12, 7, 0.25); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form__field label { display: block; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #AEB8A2; margin-bottom: 6px; }
.form__field input, .form__field select, .form__field textarea {
  width: 100%; background: #11150E; border: 1px solid rgba(232, 255, 190, 0.14);
  border-radius: 9px; color: var(--paper); padding: 11px 12px; font-family: var(--font-body);
  font-size: 13px; line-height: 1.4; transition: border-color 0.2s, background 0.2s;
}
.form__field input::placeholder, .form__field textarea::placeholder { color: #68715F; }
.form__field input:focus, .form__field select:focus, .form__field textarea:focus { outline: none; border-color: var(--lime); background: #141A10; }
.form__field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A2AA98' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
.form__field textarea { resize: vertical; min-height: 76px; }
.form__submit { width: 100%; margin-top: 4px; }
.form__hint { font-size: 9.5px; line-height: 1.5; color: var(--muted-2); text-align: center; }
.form__hint a { color: var(--lime); text-decoration: underline; }
.form__feedback { font-size: 11.5px; color: var(--lime); text-align: center; min-height: 0; }
.form__feedback a { color: var(--lime); text-decoration: underline; overflow-wrap: anywhere; }
.form__feedback.is-error { color: var(--warn); }
.form__feedback.is-error a { color: var(--warn); }
.form__field input[aria-invalid="true"], .form__field select[aria-invalid="true"] { border-color: var(--warn); }

/* ---------- Footer ---------- */
.footer { background: #050704; border-top: 1px solid var(--line); padding: 64px 0 22px; }
.footer__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 56px; padding-bottom: 48px; }
.footer__brand .brand { margin-bottom: 16px; }
.footer__brand p { font-size: 12.5px; line-height: 1.65; color: var(--muted-2); max-width: 34ch; }
.footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__nav > div { display: flex; flex-direction: column; gap: 9px; }
.footer__nav span:first-child { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.18em; color: var(--muted-2); margin-bottom: 4px; }
.footer__nav a { font-size: 12.5px; color: var(--muted); transition: color 0.2s; }
.footer__nav a:hover { color: var(--lime); }
.footer__note { font-family: var(--font-mono); font-size: 9px; color: var(--muted-2); margin-top: 3px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.06em; color: var(--muted-2); }

/* ---------- Chat demo ---------- */
.chat { position: fixed; right: 22px; bottom: 22px; z-index: 95; font-family: var(--font-body); }
.chat__launcher {
  position: relative; display: flex; align-items: center; gap: 10px;
  background: var(--lime); color: var(--ink); border: 0; border-radius: 999px;
  padding: 9px 18px 9px 9px; font-size: 12.5px; font-weight: 600; cursor: pointer;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.5); transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.chat__launcher:hover { transform: translateY(-2px); box-shadow: 0 18px 52px rgba(0, 0, 0, 0.55); }
.chat__launcher-icon { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--lime); display: grid; place-items: center; flex: none; }
.chat__launcher-icon svg { width: 17px; height: 17px; }
.chat__launcher-text em { font-style: normal; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.04em; opacity: 0.6; }
.chat__launcher-ping { position: absolute; top: 2px; right: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); border: 2px solid var(--lime); }
.chat__panel {
  position: absolute; right: 0; bottom: calc(100% + 12px); width: 352px; max-width: calc(100vw - 36px);
  max-height: calc(100dvh - 100px);
  display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line-strong); border-radius: 18px;
  overflow: hidden; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
  animation: chatIn 0.28s var(--ease);
}
.chat__head, .chat__suggestions, .chat__disclaimer { flex: none; }
.chat__panel[hidden] { display: none; }
.chat__head { display: flex; align-items: flex-start; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); background: rgba(0, 0, 0, 0.2); }
.chat__head strong { font-family: var(--font-display); font-size: 14px; display: block; }
.chat__head span { display: flex; align-items: center; gap: 6px; font-size: 9.5px; color: var(--muted-2); margin-top: 2px; }
.chat__head button { background: transparent; border: 0; color: var(--muted); cursor: pointer; padding: 4px; }
.chat__head button:hover { color: var(--paper); }
.chat__head svg { width: 15px; height: 15px; }
.chat__log { flex: 1 1 auto; max-height: min(244px, 40dvh); min-height: 80px; overflow-y: auto; padding: 16px; display: grid; gap: 10px; align-content: start; }
.msg { max-width: 86%; padding: 9px 12px; border-radius: 12px; font-size: 12px; line-height: 1.5; }
.msg--bot { background: var(--panel-2); border: 1px solid var(--line); color: #C9D2BC; border-bottom-left-radius: 4px; justify-self: start; }
.msg--user { background: var(--lime); color: var(--ink); border-bottom-right-radius: 4px; justify-self: end; }
.msg--typing { display: inline-flex; gap: 4px; }
.msg--typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); animation: typing 1s infinite; }
.msg--typing i:nth-child(2) { animation-delay: 0.15s; }
.msg--typing i:nth-child(3) { animation-delay: 0.3s; }
.chat__suggestions { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px; }
.chat__suggestions button { background: transparent; border: 1px solid rgba(216, 255, 79, 0.28); color: var(--lime); font-size: 10.5px; padding: 6px 10px; border-radius: 999px; cursor: pointer; transition: background 0.2s, color 0.2s; }
.chat__suggestions button:hover { background: var(--lime); color: var(--ink); }
.chat__disclaimer { font-size: 9px; line-height: 1.5; color: var(--muted-2); padding: 0 16px 14px; }
.chat__disclaimer a { color: var(--lime); text-decoration: underline; }

/* ---------- Reveal / motion ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes growBar { to { width: var(--w); } }
@keyframes hudFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes chatIn { from { opacity: 0; transform: translateY(8px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes typing { 0%, 60%, 100% { opacity: 0.25; } 30% { opacity: 1; } }

/* ---------- Legal (Política de Privacidade) ---------- */
.nav--solid {
  padding: 12px 0; background: rgba(7, 9, 6, 0.92);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.nav--solid .brand__logo { height: 40px; }
.legal {
  padding: clamp(120px, 14vw, 168px) 0 90px;
  background: radial-gradient(70% 50% at 50% 0%, rgba(216, 255, 79, 0.05), transparent 60%), var(--ink);
}
.legal__title { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.04em; margin: 0 0 10px; }
.legal__updated { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 46px; }
.legal__body { max-width: 760px; display: grid; gap: 18px; }
.legal__body h2 { font-size: 1.16rem; letter-spacing: -0.02em; margin-top: 18px; color: var(--paper); }
.legal__body p, .legal__body li { font-size: 14px; line-height: 1.75; color: var(--muted); }
.legal__body ul { display: grid; gap: 8px; padding-left: 18px; margin: 0; }
.legal__body li::marker { color: var(--lime); }
.legal__body a { color: var(--lime); text-decoration: underline; text-underline-offset: 2px; }
.legal__note { margin-top: 24px; padding: 20px 22px; border-left: 2px solid var(--lime); background: rgba(216, 255, 79, 0.04); border-radius: 0 12px 12px 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.legal__note strong { color: var(--lime); }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .nav__links { gap: 18px; }
  .nav__links a { font-size: 12px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr); }
  .hud { max-width: 400px; }
  .card { grid-column: span 4; }
  .card--wide { grid-column: span 8; }
  .card--hot { grid-column: span 6; }
  .bento .card:nth-child(2) { grid-column: span 4; }
  .bento .card--hot { grid-column: span 6; }
  .bento .card:nth-child(7) { grid-column: span 6; }
  .lab__main { grid-template-columns: 1fr; }
  .lab__alerts { display: grid; grid-template-columns: 1fr; }
  .retrofit-grid { grid-template-columns: 1fr 1fr; }
  .retrofit-block--results { grid-column: span 2; }
  .results { max-width: 520px; }
}

@media (max-width: 980px) {
  .nav { padding: 14px 0; }
  .nav__links {
    position: fixed; top: 74px; left: 16px; right: 16px; z-index: 91;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(13, 16, 11, 0.98); border: 1px solid var(--line-strong);
    border-radius: 16px; padding: 10px; display: none;
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  }
  .nav.menu-open .nav__links { display: flex; }
  .nav__links a { padding: 13px 12px; font-size: 14px; border-bottom: 1px solid rgba(232, 255, 190, 0.07); }
  .nav__links a:last-child { border-bottom: 0; }
  .nav__links a::after { display: none; }
  .nav__links .nav__menu-cta {
    display: block; margin-top: 8px; padding: 12px; text-align: center;
    background: var(--lime); color: var(--ink); font-weight: 600;
    border-radius: 10px; border-bottom: 0;
  }
  .nav__links .nav__menu-cta:hover { color: var(--ink); background: #E3FF81; }
  .nav__phone { display: none; }
  .nav__burger { display: block; }
  .nav__actions .btn--lime { display: none; }

  .hero__inner { grid-template-columns: 1fr; gap: 44px; padding-top: 108px; padding-bottom: 90px; min-height: auto; }
  .hero__title { font-size: clamp(2.8rem, 9vw, 4.6rem); }
  .hud { justify-self: start; max-width: 480px; }
  .hero__facts { gap: 8px 18px; }

  .section__head--split { grid-template-columns: 1fr; gap: 22px; align-items: start; }
  .section__head--split .section__intro { max-width: 60ch; }
  .symptoms { grid-template-columns: 1fr; }
  .symptom, .symptom:not(:first-child) { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .symptom:last-child { border-bottom: 0; }
  .symptom__num { margin-bottom: 12px; }

  .bento { grid-template-columns: 1fr 1fr; }
  .bento .card { grid-column: span 1; }
  .bento .card--wide, .bento .card--hot { grid-column: span 2; }
  .bento .card:nth-child(2) { grid-column: span 1; }
  .bento .card:nth-child(7) { grid-column: span 2; }
  .card { min-height: 0; }

  .lab__kpis { grid-template-columns: repeat(3, 1fr); }
  .lab__machines { grid-template-columns: 1fr 1fr; }
  .lab__status { font-size: 8px; letter-spacing: 0.06em; }

  .chain { flex-wrap: wrap; }
  .chain__node { flex: 1 1 calc(33% - 6px); }
  .chain__arrow { display: none; }

  .retrofit-grid { grid-template-columns: 1fr; }
  .retrofit-block--results { grid-column: auto; }

  .calc { grid-template-columns: 1fr; gap: 34px; }
  .why { grid-template-columns: 1fr; gap: 36px; }
  .why__media { max-width: 620px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step { padding: 24px 24px 30px 0; }
  .step:not(:first-child) { padding-left: 24px; }
  .step:nth-child(3), .step:nth-child(4) { border-top: 1px solid var(--line); }
  .step:nth-child(odd) { padding-left: 0; }
  .faq { grid-template-columns: 1fr; gap: 34px; }
  .cta { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .section { padding: 68px 0; }
  .hero__inner { padding-top: 96px; }
  .hero__cta .btn { flex: 1 1 auto; }
  .hero__facts { flex-direction: column; gap: 7px; }
  .hud { padding: 16px; }
  .hud__kpi-value { font-size: 2.1rem; }
  .hero__lead { font-size: 15.5px; }

  .bento { grid-template-columns: 1fr; }
  .bento .card, .bento .card--wide, .bento .card--hot, .bento .card:nth-child(2), .bento .card:nth-child(7) { grid-column: auto; }
  .card h3 { max-width: none; }

  .lab__bar { padding: 12px; }
  .lab__tabs { width: 100%; }
  .lab__tab { flex: 1; padding: 9px 6px; font-size: 11.5px; }
  .lab__body { padding: 12px; }
  .lab__kpis { grid-template-columns: 1fr 1fr 1fr; gap: 7px; }
  .kpi { padding: 11px 12px; }
  .kpi__label { font-size: 7.5px; letter-spacing: 0.1em; }
  .kpi__row { flex-direction: column; align-items: flex-start; gap: 3px; }
  .kpi__value { font-size: 1.3rem; }
  .lab__chart { height: 180px; }
  .lab__machines { grid-template-columns: 1fr 1fr; }
  .lab__foot { font-size: 8px; padding: 12px; }

  .compare__frame { aspect-ratio: 4 / 3; }
  .compare__badge { font-size: 7px; padding: 5px 7px; bottom: 10px; }
  .compare__badge--before { left: 10px; }
  .compare__badge--after { right: 10px; }
  .compare__handle span { width: 38px; height: 38px; }
  .chud { font-size: 7px; padding: 4px 6px; }
  .chud--d { font-size: 8.5px; }
  .chud--b, .chud--c { display: none; }

  .chain__node { flex: 1 1 calc(50% - 6px); }
  .retrofit-block { padding: 20px; }
  .retrofit-block--results .results { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .results strong { font-size: 1.35rem; }
  .retrofit-callout { padding: 18px 20px; }

  .calc__result { padding: 22px; }
  .calc__bar-row { grid-template-columns: 108px 1fr; gap: 8px; }
  .calc__bar-row > span:first-child { font-size: 9.5px; }

  .steps { grid-template-columns: 1fr; }
  .step, .step:not(:first-child), .step:nth-child(odd) { padding: 22px 0 26px; border-top: 1px solid var(--line); }
  .steps .step:first-child { border-top: 1px solid var(--line-strong); }
  .step:last-child { padding-bottom: 0; }
  .step__num { margin-bottom: 14px; }

  .why__list { grid-template-columns: 1fr; gap: 18px; }
  .sectors { flex-direction: column; align-items: flex-start; gap: 14px; }

  .form { padding: 20px; }
  .form__row { grid-template-columns: 1fr; }
  .cta__direct { grid-template-columns: 1fr; gap: 14px; }

  .footer__nav { grid-template-columns: 1fr 1fr; }
  .footer__inner { padding-bottom: 34px; }

  .chat { right: 14px; bottom: 14px; }
  .chat__launcher-text { display: none; }
  .chat__launcher { padding: 8px; }
  .chat__launcher-icon { width: 34px; height: 34px; }
  .chat__launcher-ping { top: 1px; right: 1px; }
}

@media (max-width: 420px) {
  .hero__title { font-size: 2.6rem; }
  .hud__machines li { grid-template-columns: 8px 1fr 34px; }
  .hud__machines .m-bar { display: none; }
  .calc__result { padding: 18px; }
  .retrofit-block--results .results { grid-template-columns: 1fr 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__media img { transform: none; }
  .marquee__track { animation: none; }
}
