/* ============================================================
   Vizius — Soluções Industriais
   Design tokens + components, extracted from Vizius.dc.html
   ============================================================ */

:root {
  --accent: #F5A524;          /* options: #FF7A1A #E5484D #3DD68C #4C8DFF */
  --bg: #08090B;
  --bg-alt: #0a0c0f;
  --panel: #0b0d10;
  --panel-2: #0c0e11;
  --panel-3: #101317;
  --ink: #ECEEF1;
  --ink-2: #dfe2e6;
  --ink-3: #c4c8ce;
  --muted: #a4a9b0;
  --muted-2: #9aa0a7;
  --muted-3: #8b9097;
  --muted-4: #7e8289;
  --faint: #6c7077;
  --faint-2: #5a5e64;
  --line: rgba(255,255,255,0.07);
  --line-2: rgba(255,255,255,0.09);
  --line-3: rgba(255,255,255,0.18);
  --max: 1280px;
  --pad: 40px;
  --font-body: 'Space Grotesk', sans-serif;
  --font-display: 'Archivo', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body { min-height: 100vh; }

a { text-decoration: none; color: inherit; }

::selection { background: var(--accent); color: #0C0D10; }

@keyframes vzScan  { 0% { top: 10%; } 100% { top: 88%; } }
@keyframes vzPulse { 0%, 100% { opacity: 1; } 50% { opacity: .32; } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
}

/* ---------- shared layout ---------- */
.section__inner,
.nav__inner,
.band__inner,
.footer__inner,
.footer__bar-inner { max-width: var(--max); margin: 0 auto; }

.section { border-top: 1px solid var(--line); }
.section--alt { background: var(--bg-alt); }
.section--diff { background: linear-gradient(180deg, var(--bg-alt), var(--bg)); }
.section__inner { padding: 100px var(--pad); }

/* ---------- typography helpers ---------- */
.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 20px;
}
.h2 {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
}
.h2--lg { font-size: 46px; letter-spacing: -0.03em; line-height: 1.03; }
.h2--xl { font-size: 52px; letter-spacing: -0.03em; line-height: 1.02; max-width: 880px; margin-bottom: 56px; }
.muted-strong { color: var(--faint); }
.muted { color: var(--muted-3); }
.accent-text { color: var(--accent); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.13em;
  color: var(--accent);
}
.eyebrow--dot { display: flex; align-items: center; gap: 10px; }
.eyebrow--dot::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); animation: vzPulse 2.4s ease-in-out infinite;
}

.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); animation: vzPulse 1.8s ease-in-out infinite;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display);
  font-weight: 700; letter-spacing: 0.02em;
  border-radius: 7px;
  transition: transform .15s ease, filter .15s ease, background .15s ease, border-color .15s ease;
}
.btn--accent { color: #0C0D10; background: var(--accent); padding: 16px 28px; font-size: 14.5px; }
.btn--accent:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn--ghost { color: var(--ink); border: 1px solid var(--line-3); padding: 16px 28px; font-size: 14.5px; font-weight: 600; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--sm { padding: 11px 20px; font-size: 13.5px; border-radius: 6px; }
.btn--lg { padding: 18px 34px; font-size: 16px; border-radius: 8px; }

/* ============================ NAV ============================ */
.nav {
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(8,9,11,0.78);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad);
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand__logo { height: 24px; width: auto; display: block; }
.brand__mark { color: var(--accent); flex: none; }
.brand__name { font-family: var(--font-display); font-weight: 800; letter-spacing: 0.15em; font-size: 16px; }
.brand__tag {
  font-family: var(--font-mono); font-size: 10.5px; color: var(--faint);
  letter-spacing: 0.08em; margin-left: 2px; padding-top: 2px;
}
.nav__menu { display: flex; align-items: center; gap: 34px; }
.nav__links { display: flex; gap: 30px; font-size: 14px; font-family: var(--font-mono); letter-spacing: 0.01em; }
.nav__links a { color: #aeb2b8; transition: color .15s ease; }
.nav__links a:hover { color: var(--accent); }

/* ============================ HERO ============================ */
.hero {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
}
.hero__copy { padding: 96px var(--pad) 90px; display: flex; flex-direction: column; justify-content: center; }
.hero .eyebrow { margin-bottom: 28px; }
.hero__title {
  font-family: var(--font-display);
  font-size: 68px; line-height: 0.99; font-weight: 800;
  letter-spacing: -0.035em; margin: 0 0 26px;
}
.hero__lead { font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 470px; margin: 0 0 40px; }
.hero__actions { display: flex; gap: 13px; flex-wrap: wrap; }

/* ---------- HUD ---------- */
.hud {
  position: relative;
  background: linear-gradient(135deg, var(--panel-3) 0%, #0a0c0f 100%);
  border-left: 1px solid var(--line);
  overflow: hidden;
  min-height: 620px;
}
.hud__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(245,165,36,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,165,36,0.05) 1px, transparent 1px);
  background-size: 42px 42px;
}
.hud__frame {
  position: absolute; inset: 72px; overflow: hidden;
  border: 1px dashed rgba(255,255,255,0.12); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 45%, rgba(245,165,36,0.06), transparent 62%);
}
.hud__placeholder {
  font-family: var(--font-mono); font-size: 12px; color: var(--faint-2);
  letter-spacing: 0.08em; text-align: center; line-height: 1.8;
}
.hud__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
/* escurece e dá tom âmbar à foto pra integrar ao HUD e destacar os overlays */
.hud__frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8,9,11,0.35), rgba(8,9,11,0.20) 40%, rgba(8,9,11,0.55)),
    radial-gradient(circle at 50% 45%, rgba(245,165,36,0.10), transparent 60%);
}
.hud__scan {
  position: absolute; left: 72px; right: 72px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 14px var(--accent);
  animation: vzScan 3.4s ease-in-out infinite alternate;
}
.hud__box { position: absolute; }
.hud__box--accent {
  top: 150px; left: 150px; width: 190px; height: 148px;
  border: 1.5px solid var(--accent);
  box-shadow: 0 0 0 1px rgba(245,165,36,0.22);
}
.hud__box--light { bottom: 160px; right: 140px; width: 150px; height: 118px; border: 1.5px solid var(--ink); }
.hud__label {
  position: absolute; top: -23px; left: -1px;
  background: var(--accent); color: #0C0D10;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600;
  padding: 3px 8px; letter-spacing: 0.04em; white-space: nowrap;
}
.hud__label--light { background: var(--ink); }
.hud__corner { position: absolute; width: 10px; height: 10px; }
.hud__corner--tl { top: -5px; left: -5px; border-top: 2px solid var(--accent); border-left: 2px solid var(--accent); }
.hud__corner--br { bottom: -5px; right: -5px; border-bottom: 2px solid var(--accent); border-right: 2px solid var(--accent); }
.hud__crosshair { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; transform: translate(-50%,-50%); }
.hud__crosshair-h { position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: rgba(245,165,36,0.6); }
.hud__crosshair-v { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: rgba(245,165,36,0.6); }
.hud__crosshair-ring {
  position: absolute; top: 50%; left: 50%; width: 15px; height: 15px;
  border: 1px solid var(--accent); border-radius: 50%; transform: translate(-50%,-50%);
}
.hud__focus {
  position: absolute; top: 28px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.1em;
  color: var(--accent); white-space: nowrap;
}
.hud__readout {
  position: absolute; font-family: var(--font-mono); font-size: 10.5px;
  color: var(--muted-4); letter-spacing: 0.06em; line-height: 1.8;
}
.hud__readout--tl { top: 22px; left: 24px; }
.hud__readout--tr { top: 22px; right: 24px; text-align: right; }
.hud__readout--bl { bottom: 22px; left: 24px; }
.hud__readout--accent { color: var(--accent); display: flex; align-items: center; gap: 7px; }
.hud__readout--accent .dot { animation: vzPulse 1.6s ease-in-out infinite; }

/* ===================== CAPABILITY BAND ===================== */
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.band__inner {
  padding: 26px var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.band__title { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--muted-3); }
.band__items {
  display: flex; gap: 28px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-3); letter-spacing: 0.04em;
}
.band__items .sep { color: #3a3d42; }

/* ===================== SECTION HEAD ===================== */
.section__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 54px; gap: 40px;
}
.section__head .h2 { max-width: 620px; }
.section__intro { font-size: 15.5px; line-height: 1.6; color: var(--muted-3); max-width: 330px; margin: 0; }

/* ===================== LAYERS (sistema) ===================== */
.layers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.layer {
  border: 1px solid var(--line-2);
  border-top: 2px solid var(--accent);
  border-radius: 8px; padding: 34px 30px; background: var(--panel-2);
}
.layer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.layer__id { font-family: var(--font-mono); font-size: 11px; color: var(--faint); letter-spacing: 0.06em; }
.layer__state { font-family: var(--font-mono); font-size: 10px; color: var(--accent); }
.layer__title { font-family: var(--font-display); font-size: 24px; font-weight: 800; margin: 0 0 12px; }
.layer__desc { font-size: 14px; line-height: 1.55; color: var(--muted-2); margin: 0 0 26px; }
.layer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.layer__list li { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.layer__num { font-family: var(--font-mono); font-size: 11px; color: var(--accent); width: 20px; }
.layer__list-spacer { opacity: 0; }

/* ===================== SOFTWARE ===================== */
.software__top { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 64px; }
.software__lead { font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 480px; margin: 0 0 26px; }
.software__points { display: flex; flex-direction: column; gap: 13px; font-size: 15px; color: var(--ink-3); }
.arrow-item { display: flex; gap: 12px; }
.arrow { color: var(--accent); }

/* dashboard mock */
.dash {
  position: relative; border: 1px solid rgba(255,255,255,0.1); border-radius: 10px;
  background: linear-gradient(160deg, var(--panel-3), #0a0c0f); overflow: hidden;
}
.dash__bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--line-2); background: var(--panel-2);
}
.dash__title { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; color: #aeb2b8; }
.dash__status { font-family: var(--font-mono); font-size: 10.5px; color: var(--accent); display: flex; align-items: center; gap: 7px; }
.dash__kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.kpi { background: var(--panel); padding: 20px 22px; }
.kpi__label { font-family: var(--font-mono); font-size: 10px; color: var(--faint); letter-spacing: 0.06em; margin-bottom: 9px; }
.kpi__value { font-family: var(--font-display); font-size: 30px; font-weight: 800; color: var(--ink); }
.kpi__value--accent { color: var(--accent); }
.kpi__unit { font-size: 16px; color: var(--faint); }
.kpi__value--accent .kpi__unit { color: inherit; }
.dash__chart { padding: 22px; border-top: 1px solid var(--line-2); }
.dash__chart-head { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 10px; color: var(--faint); letter-spacing: 0.06em; margin-bottom: 14px; }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 62px; }
.bar { flex: 1; background: rgba(245,165,36,0.32); border-radius: 2px 2px 0 0; }
.bar--peak { background: var(--accent); }
.dash__trace {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px; border-top: 1px solid var(--line-2); background: var(--panel-2);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.04em;
}
.dash__trace .muted { color: #aeb2b8; }

/* software capability grid */
.swgrid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line-2); border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden;
}
.swgrid__cell { background: var(--panel); padding: 30px 28px; }
.swgrid__num { font-family: var(--font-mono); font-size: 11px; color: var(--accent); margin-bottom: 14px; }
.swgrid__title { font-family: var(--font-display); font-size: 19px; font-weight: 700; margin: 0 0 9px; }
.swgrid__desc { font-size: 13.5px; line-height: 1.55; color: var(--muted-3); margin: 0; }

/* ===================== DIFERENCIAL ===================== */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare__card { border: 1px solid var(--line-2); border-radius: 8px; padding: 38px 34px; background: var(--panel); }
.compare__card--accent {
  border: 1px solid var(--accent);
  background: linear-gradient(180deg, rgba(245,165,36,0.07), rgba(245,165,36,0.01));
}
.compare__head { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; margin-bottom: 22px; }
.compare__head--muted { color: var(--muted-4); }
.compare__head--accent { color: var(--accent); }
.compare__list { display: flex; flex-direction: column; gap: 16px; font-size: 15.5px; line-height: 1.5; color: #e6e9ec; }
.compare__list--muted { color: var(--muted-3); }
.compare__item { display: flex; gap: 13px; }
.compare__item .x { color: var(--faint-2); }

/* ===================== PROCESSO ===================== */
.section__head--single { display: block; margin-bottom: 56px; }
.process {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden;
}
.process__step { padding: 32px 26px; border-right: 1px solid var(--line-2); }
.process__step:last-child { border-right: none; }
.process__num { font-family: var(--font-mono); font-size: 12px; color: var(--accent); margin-bottom: 18px; }
.process__title { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin: 0 0 9px; }
.process__desc { font-size: 13px; line-height: 1.5; color: var(--muted-3); margin: 0; }

/* ===================== CLIENTES / CONFIANÇA ===================== */
.clients__head { text-align: center; margin-bottom: 48px; }
.clients__title { max-width: 720px; margin: 0 auto 14px; font-size: 42px; }
.clients__sub { font-size: 16px; line-height: 1.55; color: var(--muted-3); margin: 0 auto; max-width: 520px; }

.logowall {
  display: flex; flex-wrap: wrap; gap: 1px;
  background: var(--line-2); border: 1px solid var(--line-2);
  border-radius: 8px; overflow: hidden;
}
.logo {
  /* ~6 por fileira; crescem para preencher — última fileira sem buracos,
     independente da quantidade de logos */
  flex: 1 1 calc(100% / 6 - 1px);
  background: var(--panel); display: flex; align-items: center; justify-content: center;
  gap: 11px; padding: 28px 20px; height: 116px; color: #5f636a;
  transition: background .15s ease;
}
.logo:hover { background: #0e1115; }
/* caixa de tamanho uniforme: todos os logos ocupam a mesma área (150x46),
   centralizados e mantendo a proporção (object-fit: contain) */
.logo img {
  width: 100%; max-width: 150px; height: 46px; object-fit: contain;
  opacity: 0.62; transition: opacity .15s ease;
  /* compensa logos com muito espaço transparente embutido no PNG;
     ajustável por célula via style="--logo-scale:1.x" */
  transform: scale(var(--logo-scale, 1));
}
.logo:hover img { opacity: 1; }
/* força branco em logos que não vierem brancos (PNG com fundo transparente) */
.logo--invert img { filter: brightness(0) invert(1); }
/* slot aguardando arquivo */
.logo--todo { color: #44474c; }
.logo--todo span { font-family: var(--font-mono); font-weight: 600; font-size: 12px; letter-spacing: 0.08em; }
.logowall__note { font-family: var(--font-mono); font-size: 11px; color: var(--faint-2); letter-spacing: 0.05em; text-align: center; margin-top: 16px; }

/* ===================== CTA ===================== */
.cta {
  border: 1px solid rgba(255,255,255,0.1); border-radius: 12px;
  padding: 64px 56px;
  background: radial-gradient(circle at 80% 0%, rgba(245,165,36,0.1), transparent 55%), var(--panel-2);
  display: flex; justify-content: space-between; align-items: center; gap: 48px; flex-wrap: wrap;
}
.cta__copy { max-width: 620px; }
.cta__copy .h2 { margin-bottom: 16px; }
.cta__lead { font-size: 17px; line-height: 1.55; color: var(--muted-2); margin: 0; }
.cta__action { flex: none; display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.cta__email { justify-content: center; }
.cta__loc { font-family: var(--font-mono); font-size: 12px; color: var(--faint); margin-top: 18px; letter-spacing: 0.06em; text-align: center; }

/* ===================== FOOTER ===================== */
.footer { border-top: 1px solid var(--line); }
.footer__inner { padding: 56px var(--pad) 48px; display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer__brand { max-width: 300px; }
.footer__brand .brand { margin-bottom: 16px; }
.footer__about { font-size: 13.5px; line-height: 1.55; color: var(--muted-3); margin: 0; }
.footer__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__heading { font-family: var(--font-mono); font-size: 11px; color: var(--faint-2); letter-spacing: 0.08em; margin-bottom: 2px; }
.footer__col a, .footer__muted { font-size: 14px; color: #aeb2b8; }
.footer__col a { transition: color .15s ease; }
.footer__col a:hover { color: var(--accent); }
.footer__bar { border-top: 1px solid var(--line); }
.footer__bar-inner {
  padding: 20px var(--pad); display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11.5px; color: var(--faint-2); letter-spacing: 0.04em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .hero__title { font-size: 56px; }
  .h2--xl { font-size: 44px; }
  .software__top { gap: 40px; }
}

@media (max-width: 920px) {
  :root { --pad: 28px; }
  .hero { grid-template-columns: 1fr; }
  .hero__copy { padding: 72px var(--pad) 56px; }
  .hud { min-height: 460px; border-left: none; border-top: 1px solid var(--line); }
  /* posições fixas das caixas/mira desalinham quando a imagem recorta no mobile;
     mantém só readouts dos cantos + linha de varredura (ancorados nas bordas) */
  .hud__box, .hud__crosshair { display: none; }
  .software__top { grid-template-columns: 1fr; }
  .layers { grid-template-columns: 1fr; }
  .swgrid { grid-template-columns: repeat(2, 1fr); }
  .compare { grid-template-columns: 1fr; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .section__head .h2, .section__intro { max-width: none; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process__step { border-bottom: 1px solid var(--line-2); }
  .logo { flex-basis: calc(100% / 3 - 1px); height: 104px; }
}

@media (max-width: 720px) {
  .nav__inner { flex-direction: column; gap: 16px; align-items: flex-start; }
  .nav__menu { width: 100%; justify-content: space-between; gap: 16px; }
  .brand__tag { display: none; }
  .hero__title { font-size: 44px; }
  .hero__lead { font-size: 17px; }
  .h2, .h2--lg, .h2--xl { font-size: 34px; }
  .section__inner { padding: 72px var(--pad); }
  .cta { padding: 40px 32px; }
  .cta__action { width: 100%; }
  .cta__action .btn { width: 100%; justify-content: center; }
  .footer__inner { flex-direction: column; gap: 36px; }
  .footer__bar-inner { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 520px) {
  :root { --pad: 20px; }
  .nav__links { gap: 18px; font-size: 13px; }
  .hero__title { font-size: 36px; }
  .dash__kpis { grid-template-columns: 1fr 1fr; }
  .swgrid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .process__step { border-right: none; }
  .band__inner { gap: 18px; }
  .logo { flex-basis: calc(100% / 2 - 1px); }
  .clients__title { font-size: 28px; }
}
