/* ==========================================================================
   Cyber Consultoria e Serviços — folha de estilo principal
   ========================================================================== */

:root {
  /* Marca */
  --ink-950: #06121e;
  --ink-900: #0a1a2a;
  --ink-800: #0f2638;
  --ink-700: #173550;
  --blue-600: #0a6fc2;
  --blue-500: #1a82d6;
  --blue-50:  #eef5fc;
  --green-500: #17b384;
  --green-50:  #e8f7f1;

  /* Neutros */
  --text: #16222e;
  --text-2: #4a5a6a;
  --text-3: #7a8896;
  --line: #e2e7ed;
  --line-strong: #cfd7e0;
  --surface: #ffffff;
  --surface-2: #f6f8fa;
  --surface-3: #eef2f6;

  /* Sistema */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-1: 0 1px 2px rgba(10, 26, 42, .06), 0 1px 3px rgba(10, 26, 42, .06);
  --shadow-2: 0 4px 12px rgba(10, 26, 42, .06), 0 12px 32px rgba(10, 26, 42, .08);
  --shadow-3: 0 24px 64px rgba(6, 18, 30, .28);
  --container: 1200px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.022em; line-height: 1.15; color: var(--ink-900); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Tipografia de seção ------------------------------------------------------ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue-600);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.section { padding: 112px 0; scroll-margin-top: var(--header-h); }
.section--muted { background: var(--surface-2); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }
.section-head h2 { margin-top: 14px; font-size: clamp(30px, 3.4vw, 42px); }
.section-head p { margin-top: 16px; font-size: 18px; color: var(--text-2); }

/* Botões ------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px;
  border-radius: var(--radius-sm); border: 1px solid transparent;
  font-size: 15px; font-weight: 600; white-space: nowrap; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn--primary { background: var(--blue-600); color: #fff; }
.btn--primary:hover { background: #075da5; }
.btn--secondary { background: #fff; color: var(--ink-900); border-color: var(--line-strong); }
.btn--secondary:hover { border-color: var(--ink-900); }
.btn--ghost-dark { color: #fff; border-color: rgba(255,255,255,.24); background: transparent; }
.btn--ghost-dark:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.04); }
.btn--white { background: #fff; color: var(--ink-900); }
.btn--white:hover { background: #e9eef3; }
.btn--sm { height: 38px; padding: 0 14px; font-size: 14px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 15px; color: var(--blue-600);
}
.link-arrow .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* Topbar ------------------------------------------------------------------- */
.topbar { background: var(--ink-950); color: rgba(255,255,255,.62); font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 38px; gap: 24px; }
.topbar__group { display: flex; align-items: center; gap: 22px; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar .icon { width: 14px; height: 14px; }

/* Header ------------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 26, 42, .96);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: box-shadow .25s var(--ease), background-color .25s var(--ease);
}
@supports (backdrop-filter: blur(10px)) {
  .header { background: rgba(10, 26, 42, .86); backdrop-filter: saturate(160%) blur(14px); }
}
.header.is-scrolled { box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 40px; }
.header__brand img { width: 132px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-right: auto; }
.nav a {
  position: relative; padding: 8px 14px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 500; color: rgba(255,255,255,.72);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.05); }
.nav a.is-active { color: #fff; }
.nav a.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: -15px; height: 2px; background: var(--green-500);
}
.nav__badge {
  margin-left: 6px; padding: 2px 6px; border-radius: 4px; vertical-align: 1px;
  font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(23,179,132,.16); color: #4fd8ac;
}
.header__actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none; width: 42px; height: 42px; border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.16); background: transparent; color: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle .icon--close { display: none; }
.menu-toggle[aria-expanded="true"] .icon--menu { display: none; }
.menu-toggle[aria-expanded="true"] .icon--close { display: block; }

/* Hero --------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--ink-900); color: #fff;
  padding: 104px 0 120px;
}
.hero::before { /* grade técnica */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%);
}
.hero::after { /* luz da marca */
  content: ""; position: absolute; z-index: -1;
  width: 900px; height: 900px; right: -260px; top: -380px;
  background: radial-gradient(closest-side, rgba(26,130,214,.28), rgba(23,179,132,.08) 55%, transparent);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 64px; align-items: center; }
.hero .eyebrow { color: #5cc8ff; }
.hero h1 {
  margin-top: 22px; color: #fff;
  font-size: clamp(38px, 5vw, 60px); line-height: 1.05; letter-spacing: -.035em; font-weight: 600;
}
.hero h1 em { font-style: normal; color: #8fd3ff; }
.hero__lead { margin-top: 24px; max-width: 560px; font-size: 18px; line-height: 1.65; color: rgba(255,255,255,.7); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 48px; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 14px; color: rgba(255,255,255,.6);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta .icon { width: 16px; height: 16px; color: #4fd8ac; }

/* Mock de produto (hero) */
.preview { position: relative; }
.app {
  background: #fff; color: var(--text); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-3), 0 0 0 1px rgba(255,255,255,.08);
  overflow: hidden;
}
.app__bar {
  display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 16px;
  background: var(--surface-2); border-bottom: 1px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--ink-900);
}
.app__dots { display: flex; gap: 6px; }
.app__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.app__title { display: flex; align-items: center; gap: 8px; }
.app__title b { color: var(--blue-600); font-weight: 700; }
.app__status { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--text-3); font-size: 12px; }
.app__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 3px rgba(23,179,132,.18); }
.app__body { padding: 20px; display: grid; gap: 16px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpi { padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); }
.kpi small { display: block; font-size: 12px; color: var(--text-3); }
.kpi strong { display: block; margin-top: 4px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: var(--ink-900); font-variant-numeric: tabular-nums; }
.kpi em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--green-500); }
.chart { padding: 14px 14px 10px; border: 1px solid var(--line); border-radius: var(--radius); }
.chart__head { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-3); margin-bottom: 12px; }
.chart__head b { color: var(--ink-900); font-weight: 600; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 92px; }
.bars span {
  flex: 1; border-radius: 3px 3px 0 0; background: #cfe3f5; height: var(--h);
  transform-origin: bottom; animation: grow 1s var(--ease) both; animation-delay: calc(var(--i) * 60ms + 300ms);
}
.bars span.is-hi { background: var(--blue-600); }
.bars-axis { display: flex; gap: 8px; margin-top: 6px; font-size: 10px; color: var(--text-3); }
.bars-axis span { flex: 1; text-align: center; }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.tasks { border: 1px solid var(--line); border-radius: var(--radius); }
.task { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; padding: 10px 14px; font-size: 13px; }
.task + .task { border-top: 1px solid var(--line); }
.task b { font-weight: 600; color: var(--ink-900); }
.task small { color: var(--text-3); font-size: 12px; font-variant-numeric: tabular-nums; }
.chip { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 4px; font-size: 11px; font-weight: 600; }
.chip--ok { background: var(--green-50); color: #0e8a64; }
.chip--run { background: var(--blue-50); color: var(--blue-600); }
.chip--wait { background: #fdf4e3; color: #a76a06; }

.preview__float {
  position: absolute; left: -44px; bottom: -36px; width: 248px;
  padding: 14px 16px; border-radius: var(--radius);
  background: var(--ink-800); border: 1px solid rgba(255,255,255,.1); box-shadow: var(--shadow-3);
  display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center;
}
.preview__float .face {
  width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center;
  background: rgba(23,179,132,.14); color: #4fd8ac;
}
.preview__float small { display: block; font-size: 11px; color: rgba(255,255,255,.5); letter-spacing: .04em; text-transform: uppercase; }
.preview__float strong { display: block; font-size: 14px; font-weight: 600; color: #fff; }
.preview__float span { font-size: 12px; color: rgba(255,255,255,.6); }

/* Faixa de números ------------------------------------------------------- */
.figures { border-bottom: 1px solid var(--line); background: #fff; }
.figures__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.figure { padding: 40px 32px; }
.figure + .figure { border-left: 1px solid var(--line); }
.figure strong { display: block; font-size: 34px; font-weight: 600; letter-spacing: -.03em; color: var(--ink-900); font-variant-numeric: tabular-nums; }
.figure span { display: block; margin-top: 4px; font-size: 15px; color: var(--text-2); }

/* Produtos ------------------------------------------------------------------ */
.product {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
  padding: 72px 0;
}
.product:first-of-type { padding-top: 8px; }
.product + .product { border-top: 1px solid var(--line); }
.product, .suite-head { scroll-margin-top: calc(var(--header-h) + 24px); }
.product--reverse .product__visual { order: -1; }
.product__tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; color: var(--text-2);
}
.tag-new {
  padding: 3px 8px; border-radius: 4px;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--green-50); color: #0e8a64;
}
.product h3 { margin-top: 16px; font-size: clamp(28px, 3vw, 38px); letter-spacing: -.03em; }
.product h3 span { color: var(--blue-600); }
.product__lead { margin-top: 16px; font-size: 17px; color: var(--text-2); max-width: 520px; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin-top: 32px; }
.feature-list li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 15px; color: var(--text); line-height: 1.5; }
.feature-list .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--green-500); stroke-width: 2; }
.product__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 36px; }

/* Visual WMS — fluxo */
.visual {
  position: relative; border-radius: var(--radius-lg);
  background: var(--surface-2); border: 1px solid var(--line);
  padding: 32px;
}
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; position: relative; }
.flow__step {
  position: relative; padding: 16px 12px; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}
.flow__step .icon { width: 22px; height: 22px; margin: 0 auto 10px; color: var(--blue-600); }
.flow__step b { display: block; font-size: 13px; font-weight: 600; color: var(--ink-900); }
.flow__step small { display: block; margin-top: 2px; font-size: 11px; color: var(--text-3); }
.flow__step:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -9px; width: 8px; height: 8px;
  border-top: 1.5px solid var(--line-strong); border-right: 1.5px solid var(--line-strong);
  transform: translateY(-50%) rotate(45deg); z-index: 1;
}
.wms-table { margin-top: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 13px; }
.wms-table__head, .wms-table__row { display: grid; grid-template-columns: 1.1fr 1.4fr .9fr .9fr; gap: 12px; padding: 11px 16px; align-items: center; }
.wms-table__head { background: var(--surface-2); font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--text-3); }
.wms-table__row { border-top: 1px solid var(--line); }
.wms-table__row code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12px; color: var(--ink-900); }
.wms-table__row span { color: var(--text-2); }
.progress { height: 6px; border-radius: 3px; background: var(--surface-3); overflow: hidden; }
.progress i { display: block; height: 100%; width: var(--p); background: var(--blue-600); border-radius: 3px; }
.integrations { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; font-size: 12px; color: var(--text-3); }
.integrations b { padding: 5px 10px; border-radius: 4px; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--ink-900); }

/* Visual TOTEM — dispositivo */
.visual--totem {
  display: grid; place-items: center; min-height: 520px; overflow: hidden;
  background:
    radial-gradient(closest-side, rgba(26,130,214,.18), transparent) center 40%/520px 520px no-repeat,
    var(--ink-900);
  border-color: transparent;
}
.totem { position: relative; display: grid; justify-items: center; width: 100%; }
.totem__body {
  width: min(400px, 100%); padding: 14px 16px; border-radius: 20px;
  background: linear-gradient(180deg, #1d3a55, #11263a);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 60px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.08);
}
.totem__cam { width: 8px; height: 8px; margin: 0 auto 10px; border-radius: 50%; background: #0b1622; box-shadow: 0 0 0 2px rgba(255,255,255,.08); }
.totem__screen { border-radius: 12px; background: #fff; padding: 16px 14px; color: var(--text); }
.totem__hello { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.totem__avatar { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: var(--green-50); color: #0e8a64; }
.totem__avatar .icon { width: 18px; height: 18px; }
.totem__hello small { display: block; font-size: 10px; color: var(--text-3); }
.totem__hello b { display: block; font-size: 13px; font-weight: 600; color: var(--ink-900); }
.totem__menu { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.totem__menu div {
  padding: 12px 8px; border-radius: 8px; border: 1px solid var(--line); text-align: center;
  font-size: 11px; font-weight: 600; color: var(--ink-900); line-height: 1.3;
}
.totem__menu .icon { width: 18px; height: 18px; margin: 0 auto 6px; color: var(--blue-600); }
.totem__menu div.is-primary { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.totem__menu div.is-primary .icon { color: #fff; }
.totem__foot { margin-top: 12px; text-align: center; font-size: 10px; color: var(--text-3); }
.totem__neck { width: 46px; height: 70px; background: linear-gradient(90deg, #0f2233, #1b3650, #0f2233); }
.totem__base { width: 150px; height: 14px; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, #1d3a55, #0c1b2a); }
.scan {
  position: absolute; left: 50%; top: 92px; width: 88px; height: 88px; transform: translateX(-50%);
  pointer-events: none;
}

/* Família Nexus */
.suite-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin: 96px 0 32px; }
.suite-head h3 { font-size: 26px; }
.suite-head p { margin-top: 8px; color: var(--text-2); max-width: 560px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; display: flex; flex-direction: column;
  padding: 28px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.card__icon {
  width: 44px; height: 44px; border-radius: var(--radius); display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue-600); margin-bottom: 20px;
}
.card__icon .icon { width: 22px; height: 22px; }
.card h4 { font-size: 18px; }
.card p { margin-top: 10px; font-size: 15px; color: var(--text-2); flex: 1; }
.card__meta { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-3); }

/* Serviços ------------------------------------------------------------------ */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  padding: 32px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line);
}
.service__head { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.service__head .card__icon { margin: 0; }
.service__head h3 { font-size: 19px; }
.service__head small { display: block; margin-top: 2px; font-size: 13px; color: var(--text-3); font-weight: 400; letter-spacing: 0; }
.service-list li { padding: 14px 0; }
.service-list li + li { border-top: 1px dashed var(--line); }
.service-list b { display: block; font-size: 15px; font-weight: 600; color: var(--ink-900); }
.service-list span { display: block; margin-top: 3px; font-size: 14px; line-height: 1.55; color: var(--text-2); }

/* Metodologia --------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
.step { position: relative; padding: 36px 32px 0 0; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--blue-600);
  font-variant-numeric: tabular-nums;
}
.step::after {
  content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%;
  background: #fff; border: 2px solid var(--blue-600);
}
.step h3 { margin-top: 12px; font-size: 19px; }
.step p { margin-top: 10px; font-size: 15px; color: var(--text-2); }

/* Sobre --------------------------------------------------------------------- */
.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; align-items: start; }
.about__text p { font-size: 17px; color: var(--text-2); }
.about__text p + p { margin-top: 18px; }
.about__text h2 { margin: 14px 0 24px; font-size: clamp(30px, 3.4vw, 42px); }
.values { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.value { padding: 26px 24px; }
.value:nth-child(odd) { border-right: 1px solid var(--line); }
.value:nth-child(n+3) { border-top: 1px solid var(--line); }
.value b { display: block; font-size: 16px; font-weight: 600; color: var(--ink-900); }
.value span { display: block; margin-top: 6px; font-size: 14px; color: var(--text-2); line-height: 1.55; }

/* CTA ------------------------------------------------------------------------ */
.cta { position: relative; overflow: hidden; isolation: isolate; background: var(--ink-900); color: #fff; padding: 88px 0; }
.cta::after {
  content: ""; position: absolute; z-index: -1; inset: -40% -10% auto auto; width: 720px; height: 720px;
  background: radial-gradient(closest-side, rgba(23,179,132,.18), transparent);
}
.cta__inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.cta h2 { color: #fff; font-size: clamp(28px, 3vw, 38px); max-width: 620px; }
.cta p { margin-top: 12px; color: rgba(255,255,255,.66); font-size: 17px; max-width: 560px; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Contato -------------------------------------------------------------------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact__info h2 { margin: 14px 0 16px; font-size: clamp(30px, 3.4vw, 42px); }
.contact__info > p { color: var(--text-2); font-size: 17px; }
.contact-list { margin-top: 36px; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-list .card__icon { width: 40px; height: 40px; margin: 0; }
.contact-list .card__icon .icon { width: 19px; height: 19px; }
.contact-list small { display: block; font-size: 13px; color: var(--text-3); }
.contact-list a, .contact-list address { font-style: normal; font-size: 15px; font-weight: 500; color: var(--ink-900); line-height: 1.5; }
.contact-list a:hover { color: var(--blue-600); }

.form { padding: 40px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.form h3 { font-size: 22px; }
.form > p { margin-top: 6px; font-size: 15px; color: var(--text-2); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-900); }
.field label span { font-weight: 400; color: var(--text-3); }
.field input, .field select, .field textarea {
  width: 100%; height: 46px; padding: 0 14px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff;
  font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%234a5a6a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field textarea { height: auto; min-height: 128px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b4c0cc; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(10,111,194,.14); }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; }
.form__foot small { font-size: 13px; color: var(--text-3); max-width: 320px; }
.form__status { display: none; margin-top: 18px; padding: 12px 14px; border-radius: var(--radius-sm); font-size: 14px; }
.form__status.is-ok { display: block; background: var(--green-50); color: #0b6e50; }
.form__status.is-error { display: block; background: #fdecec; color: #a12a2a; }
.hp { position: absolute; left: -9999px; }

/* Rodapé --------------------------------------------------------------------- */
.footer { background: var(--ink-950); color: rgba(255,255,255,.6); font-size: 14px; }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px; padding: 72px 0 56px; }
.footer__brand img { width: 128px; }
.footer__brand p { margin-top: 18px; max-width: 300px; line-height: 1.65; }
.footer h4 { color: #fff; font-size: 14px; font-weight: 600; letter-spacing: 0; margin-bottom: 18px; }
.footer li + li { margin-top: 10px; }
.footer a { transition: color .2s; }
.footer a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; }
.social { display: flex; gap: 8px; }
.social a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,.12); }
.social a:hover { border-color: rgba(255,255,255,.4); }
.social .icon { width: 17px; height: 17px; }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #1fa855; color: #fff; box-shadow: 0 10px 28px rgba(0,0,0,.22);
  transition: transform .2s var(--ease), background-color .2s;
}
.wa-float:hover { transform: translateY(-2px); background: #1a9149; }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }

/* Revelação ao rolar ------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsivo ------------------------------------------------------------------ */
@media (max-width: 1100px) {
  .hero__grid { grid-template-columns: 1fr; gap: 72px; }
  .preview { max-width: 620px; margin-left: 44px; }
  .product { grid-template-columns: 1fr; gap: 48px; }
  .product--reverse .product__visual { order: 0; }
  .about, .contact { grid-template-columns: 1fr; gap: 56px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .nav, .header__actions .btn--ghost-dark { display: none; }
  .menu-toggle { display: inline-flex; }
  .header__inner { justify-content: space-between; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    padding: 12px 24px 24px; margin: 0;
    background: var(--ink-900); border-bottom: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 20px 40px rgba(0,0,0,.3);
  }
  .nav.is-open a { padding: 14px 4px; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,.06); border-radius: 0; }
  .nav.is-open a.is-active::after { display: none; }
  .figures__grid { grid-template-columns: 1fr 1fr; }
  .figure:nth-child(3) { border-left: 0; }
  .figure:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cards, .services { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .suite-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 40px); }
  .topbar { display: none; }
  .header__actions .btn--primary { display: none; }
  .section { padding: 80px 0; }
  .hero { padding: 72px 0 96px; }
  .hero__lead { font-size: 17px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .preview { margin-left: 0; }
  .preview__float { left: 12px; right: 12px; width: auto; bottom: -48px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpi:last-child { display: none; }
  .task { grid-template-columns: 1fr auto; }
  .task small { display: none; }
  .figure { padding: 28px 20px; }
  .figure strong { font-size: 28px; }
  .product { padding: 56px 0; }
  .feature-list { grid-template-columns: 1fr; }
  .visual { padding: 20px; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow__step:nth-child(2)::after { display: none; }
  .wms-table__head, .wms-table__row { grid-template-columns: 1fr 1fr; }
  .wms-table__head :nth-child(n+3), .wms-table__row :nth-child(n+3) { display: none; }
  .visual--totem { min-height: 420px; }
  .totem__menu { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .value:nth-child(odd) { border-right: 0; }
  .value + .value { border-top: 1px solid var(--line); }
  .form { padding: 28px 22px; }
  .form__grid { grid-template-columns: 1fr; }
  .form__foot { flex-direction: column; align-items: stretch; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; padding-bottom: 96px; }
  .wa-float { right: 16px; bottom: 16px; }
}

/* Tema de Natal (temporário): gorro no robô do logo. Ligado pela classe cyber-natal no <html> (1º/dez a 6/jan). */
.header__brand { position: relative; display: block; flex: none; }
.cyber-natal .header__brand::after {
  content: ""; position: absolute; width: 38px; height: 30px; left: 6px; top: -21px;
  transform: rotate(-6deg); transform-origin: 35% 85%;
  background: url(../../images/gorro_natal_reto.svg) no-repeat center / contain; pointer-events: none;
}
