/* =========================================================
   MAG Soluções: folha de estilo principal
   Paleta derivada da logo: navy do logotipo, gradiente
   ciano → azul do símbolo e verde/teal dos terminais.
   ========================================================= */

:root {
  /* marca */
  --navy-900: #050d15;
  --navy-850: #07111b;
  --navy-800: #0a1824;
  --navy-700: #0e2336;   /* navy do logotipo */
  --cyan: #22b5c6;       /* ciano do símbolo (ajustado p/ contraste em fundo escuro) */
  --cyan-deep: #1497ab;
  --blue: #0a6b92;       /* azul da base do símbolo */
  --green: #2fb38a;      /* verde dos terminais */
  --teal: #1a8379;

  /* superfícies / texto */
  --bg: var(--navy-850);
  --bg-alt: #081420;
  --surface: rgba(255, 255, 255, .025);
  --surface-2: rgba(255, 255, 255, .045);
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .14);
  --text: #eaf1f6;
  --text-2: #a9b8c6;
  --text-3: #7f93a5;

  --grad: linear-gradient(100deg, var(--cyan) 0%, #3cc4b4 55%, var(--green) 100%);

  --radius: 16px;
  --radius-sm: 10px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --fs-h1: clamp(2.25rem, 1.4rem + 3.6vw, 4.1rem);
  --fs-h2: clamp(1.75rem, 1.25rem + 2vw, 2.75rem);
  --fs-lead: clamp(1.05rem, 1rem + .3vw, 1.2rem);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.02em; font-weight: 700; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: rgba(34, 181, 198, .35); color: #fff; }

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

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--cyan); color: var(--navy-900); padding: 10px 16px; border-radius: 8px; font-weight: 700;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- botões ---------- */
.btn {
  --h: 52px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 24px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 700; font-size: .98rem; letter-spacing: .005em; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, border-color .25s, box-shadow .3s, color .25s;
  isolation: isolate; overflow: hidden;
}
.btn .ico { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-sm { --h: 42px; padding: 0 18px; font-size: .92rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

.btn-primary { background: var(--cyan); color: #04131c; }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn-primary:hover { background: #3cc4d3; box-shadow: 0 8px 28px -10px rgba(34, 181, 198, .7); transform: translateY(-1px); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost { background: rgba(255,255,255,.03); border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: rgba(34, 181, 198, .55); background: rgba(34, 181, 198, .07); transform: translateY(-1px); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--cyan); font-weight: 700; font-size: .95rem; }
.link-arrow .ico { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background-color .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(7, 17, 27, .78);
  backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 38px; width: auto; }

.nav-list { display: flex; gap: 4px; }
.nav-list a {
  position: relative; display: block; padding: 8px 14px; border-radius: 8px;
  font-size: .95rem; font-weight: 600; color: var(--text-2); transition: color .2s;
}
.nav-list a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 1.5px; border-radius: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-list a:hover, .nav-list a.is-active { color: var(--text); }
.nav-list a.is-active::after { transform: scaleX(1); }
.nav-mobile-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-restrita .ico { width: 16px; height: 16px; }
.header-restrita:hover .ico { transform: none; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.03); align-items: center; justify-content: center; cursor: pointer;
}
.menu-toggle .ico { width: 22px; height: 22px; }
.menu-toggle .ico-close { display: none; }
.menu-toggle[aria-expanded="true"] .ico-open { display: none; }
.menu-toggle[aria-expanded="true"] .ico-close { display: block; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 48px) 0 96px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::before { /* grid técnico com foco no cursor */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(520px circle at var(--mx, 70%) var(--my, 40%), #000 0%, rgba(0,0,0,.35) 45%, transparent 75%);
          mask-image: radial-gradient(520px circle at var(--mx, 70%) var(--my, 40%), #000 0%, rgba(0,0,0,.35) 45%, transparent 75%);
}
.hero-bg::after { /* luz ambiente sutil nas cores da marca */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 78% 30%, rgba(20, 151, 171, .16), transparent 70%),
    radial-gradient(40% 40% at 88% 80%, rgba(47, 179, 138, .08), transparent 70%),
    linear-gradient(180deg, transparent 70%, var(--bg) 100%);
}

.hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgba(255,255,255,.025);
  font-size: .82rem; font-weight: 600; color: var(--text-2); letter-spacing: .02em;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(47,179,138,.16); }

.hero h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -.035em; margin: 22px 0 22px; max-width: 14ch; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: var(--fs-lead); color: var(--text-2); max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 40px; }
.hero-tags li { position: relative; padding-left: 16px; font-size: .88rem; color: var(--text-3); font-weight: 500; }
.hero-tags li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; border: 1.5px solid var(--cyan); }

/* painel visual */
.hero-visual { perspective: 1200px; }
.panel {
  position: relative;
  border: 1px solid var(--line-strong); border-radius: 20px;
  background: linear-gradient(180deg, rgba(14, 35, 54, .75), rgba(8, 20, 32, .85));
  box-shadow: 0 30px 80px -40px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.05);
  padding: 18px 18px 16px;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s var(--ease);
  transform-style: preserve-3d;
}
.panel::before { /* borda superior em gradiente */
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(34,181,198,.5), transparent 35%, transparent 70%, rgba(47,179,138,.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.panel-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 12px; border-bottom: 1px solid var(--line); }
.panel-title { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; color: var(--text-2); font-weight: 600; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }

.flow { width: 100%; height: auto; margin: 10px 0 6px; overflow: visible; }
.flow .tracks path { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 1.5; }
.flow .pulses path {
  fill: none; stroke: url(#gLine); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 14 240; stroke-dashoffset: 254; opacity: .9;
  animation: pulse 3.6s linear infinite;
}
.flow .pulses path[data-src="2"] { animation-delay: -1.2s; }
.flow .pulses path[data-src="3"] { animation-delay: -2.4s; }
.flow .pulses path[data-src="out"] { animation-delay: -.6s; animation-duration: 3s; }
@keyframes pulse { to { stroke-dashoffset: 0; } }
.flow .pulses path.is-hl { stroke-dasharray: 60 200; stroke-width: 2.4; }

.flow .core-ring { fill: rgba(10, 24, 36, .9); stroke: rgba(34,181,198,.45); stroke-width: 1.2; }
.flow .core-ring-2 { fill: none; stroke: rgba(34,181,198,.18); stroke-dasharray: 3 6; transform-origin: 260px 165px; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.flow .node { cursor: default; }
.flow .node rect { fill: rgba(255,255,255,.035); stroke: rgba(255,255,255,.12); stroke-width: 1; transition: fill .3s, stroke .3s; }
.flow .node text { fill: var(--text); font-size: 14px; font-weight: 600; font-family: inherit; }
.flow .node .term { fill: var(--navy-800); stroke: var(--green); stroke-width: 2.2; transition: fill .3s; }
.flow .node-out rect { fill: rgba(34,181,198,.06); stroke: rgba(34,181,198,.28); }
.flow .node.is-hl rect { fill: rgba(34,181,198,.1); stroke: rgba(34,181,198,.6); }
.flow .node.is-hl .term { fill: var(--green); }
.flow .node[data-node] { cursor: pointer; }

.panel-log { display: grid; gap: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.panel-log li {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px;
  font-size: .85rem; color: var(--text-3); transition: background-color .5s, color .5s;
}
.panel-log .ico { width: 16px; height: 16px; color: var(--text-3); transition: color .5s; }
.panel-log li.is-on { background: rgba(47,179,138,.08); color: var(--text); }
.panel-log li.is-on .ico { color: var(--green); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid var(--line-strong); border-radius: 14px;
}
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--cyan); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- seções ---------- */
.section { position: relative; padding: clamp(64px, 8.5vw, 112px) 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan);
}
h2 { font-size: var(--fs-h2); font-weight: 700; }
.section-sub { margin-top: 18px; color: var(--text-2); font-size: 1.05rem; max-width: 40rem; }

/* sobre */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(48px, 7vw, 80px); }
.about h2 { max-width: 18ch; }
.about-body { display: grid; gap: 18px; color: var(--text-2); font-size: 1.05rem; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.pillar { padding: 32px 28px; border-left: 1px solid var(--line); transition: background-color .3s; }
.pillar:first-child { border-left: 0; }
.pillar:hover { background: rgba(34,181,198,.04); }
.pillar .ico { width: 26px; height: 26px; color: var(--cyan); margin-bottom: 22px; }
.pillar h3 { font-size: 1.05rem; margin-bottom: 8px; }
.pillar p { font-size: .93rem; color: var(--text-3); }

/* cards */
.card {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
}
.icon-box {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  border: 1px solid rgba(34,181,198,.25); background: rgba(34,181,198,.07); color: var(--cyan);
  transition: transform .35s var(--ease), background-color .35s, border-color .35s;
}
.icon-box .ico { width: 22px; height: 22px; }

/* serviços */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  display: flex; flex-direction: column; padding: 30px 28px 28px;
  transition: transform .4s var(--ease), border-color .4s, background-color .4s;
  overflow: hidden;
}
.service::before { /* linha de destaque no topo */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1.5px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.service::after { /* luz que segue o cursor */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(360px circle at var(--cx, 50%) var(--cy, 0%), rgba(34,181,198,.08), transparent 60%);
}
.service:hover { transform: translateY(-4px); border-color: rgba(34,181,198,.3); }
.service:hover::before { transform: scaleX(1); }
.service:hover::after { opacity: 1; }
.service:hover .icon-box { transform: translateY(-2px); background: rgba(34,181,198,.13); border-color: rgba(34,181,198,.5); }
.service-top { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.service h3 { font-size: 1.12rem; line-height: 1.3; }
.service-desc { color: var(--text-2); font-size: .96rem; margin-bottom: 22px; }

.psb { margin: auto 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.psb > div { display: grid; grid-template-columns: 82px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px dashed rgba(255,255,255,.07); }
.psb > div:last-child { border-bottom: 0; padding-bottom: 0; }
.psb dt { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); padding-top: 3px; }
.psb dd { margin: 0; font-size: .9rem; color: var(--text-2); line-height: 1.5; }
.psb > div:last-child dt { color: var(--green); }
.psb > div:last-child dd { color: var(--text); }

.service-featured {
  grid-column: 1 / -1; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(28px, 4vw, 44px);
  background:
    radial-gradient(80% 120% at 0% 0%, rgba(20,151,171,.12), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.012));
  border-color: rgba(34,181,198,.22);
}
.service-featured h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.6rem); }
.service-featured .service-desc { font-size: 1rem; }
.badge {
  display: inline-block; margin-bottom: 18px; padding: 5px 11px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green); border: 1px solid rgba(47,179,138,.35); background: rgba(47,179,138,.08);
}
.psb-row { margin: 0; border-top: 0; border-left: 1px solid var(--line); padding-left: clamp(20px, 3vw, 40px); }
.psb-row > div { padding: 16px 0; }
.psb-row > div:first-child { padding-top: 0; }

/* como podemos ajudar */
.help { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.help-list { display: grid; gap: 8px; }
.help-list button {
  position: relative; display: flex; align-items: flex-start; gap: 16px; width: 100%; text-align: left;
  padding: 20px 22px; border-radius: 14px; border: 1px solid var(--line); background: transparent; cursor: pointer;
  font-size: 1.02rem; font-weight: 600; line-height: 1.4; color: var(--text-2);
  transition: border-color .3s, background-color .3s, color .3s;
}
.help-list button .n { font-size: .78rem; font-weight: 700; color: var(--text-3); padding-top: 3px; letter-spacing: .06em; font-variant-numeric: tabular-nums; transition: color .3s; }
.help-list button:hover { color: var(--text); border-color: var(--line-strong); background: rgba(255,255,255,.02); }
.help-list button[aria-selected="true"] { color: var(--text); border-color: rgba(34,181,198,.4); background: rgba(34,181,198,.06); }
.help-list button[aria-selected="true"] .n { color: var(--cyan); }
.help-list button[aria-selected="true"]::before { content: ""; position: absolute; left: -1px; top: 18px; bottom: 18px; width: 2px; border-radius: 2px; background: var(--grad); }

.help-panels { position: sticky; top: calc(var(--header-h) + 24px); }
.help-panel {
  padding: clamp(28px, 3.5vw, 44px); border-radius: var(--radius); border: 1px solid var(--line);
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(20,151,171,.1), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.012));
  animation: panelIn .45s var(--ease);
}
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.panel-kicker { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green); margin-bottom: 16px; }
.help-panel h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.65rem); margin-bottom: 14px; }
.help-panel > p { color: var(--text-2); margin-bottom: 24px; }
.checks { display: grid; gap: 12px; margin-bottom: 30px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-size: .96rem; }
.checks .ico { width: 18px; height: 18px; color: var(--cyan); margin-top: 3px; }

/* diferenciais */
.diff { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.diff-head { position: sticky; top: calc(var(--header-h) + 40px); }
.diff-head .btn { margin-top: 32px; }
.diff-list { border-top: 1px solid var(--line); }
.diff-list li {
  display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 26px 4px; border-bottom: 1px solid var(--line);
  transition: background-color .3s, padding .4s var(--ease);
}
.diff-list li:hover { background: linear-gradient(90deg, rgba(34,181,198,.05), transparent 70%); padding-left: 14px; }
.diff-list .ico { width: 24px; height: 24px; color: var(--cyan); margin-top: 2px; }
.diff-list h3 { font-size: 1.1rem; margin-bottom: 6px; }
.diff-list p { color: var(--text-2); font-size: .96rem; }

/* áreas */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.area { background: var(--bg); padding: 34px 30px; transition: background-color .35s; }
.area:hover { background: #0a1621; }
.area .ico { width: 24px; height: 24px; color: var(--cyan); margin-bottom: 20px; transition: transform .35s var(--ease); }
.area:hover .ico { transform: translateY(-3px); }
.area h3 { font-size: 1.05rem; margin-bottom: 8px; }
.area p { font-size: .93rem; color: var(--text-3); }

/* processo */
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.timeline::before, .timeline::after {
  content: ""; position: absolute; left: 22px; right: calc((100% - 96px) / 5 - 23px); top: 22px; height: 1.5px; background: var(--line-strong);
}
.timeline::after { background: var(--grad); transform: scaleX(var(--progress, 0)); transform-origin: left; transition: transform .2s linear; }
.step { position: relative; z-index: 1; }
.step-n {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; margin-bottom: 26px;
  background: var(--bg-alt); border: 1.5px solid var(--line-strong);
  font-size: .85rem; font-weight: 800; color: var(--text-2); font-variant-numeric: tabular-nums;
  transition: border-color .4s, color .4s, box-shadow .4s;
}
.step.is-done .step-n { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 0 5px rgba(34,181,198,.1); }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--text-2); font-size: .95rem; max-width: 22ch; }

/* CTA */
.cta-section { padding-top: clamp(72px, 9vw, 120px); padding-bottom: 0; }
.cta {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(48px, 7vw, 88px) clamp(20px, 5vw, 64px);
  border-radius: 24px; border: 1px solid rgba(34,181,198,.25);
  background:
    radial-gradient(60% 90% at 50% 0%, rgba(20,151,171,.2), transparent 70%),
    linear-gradient(180deg, #0c1f2f, #09172a);
}
.cta-mark { position: absolute; right: -40px; bottom: -60px; width: 300px; height: auto; opacity: .06; pointer-events: none; }
.cta h2 { max-width: 20ch; margin: 0 auto 18px; }
.cta p { max-width: 38rem; margin: 0 auto; color: var(--text-2); font-size: 1.08rem; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* contato */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact h2 { max-width: 16ch; }
.channels { display: grid; gap: 12px; margin-top: 40px; }
.channel {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--surface);
  transition: border-color .3s, background-color .3s, transform .3s var(--ease);
}
.channel > span:nth-child(2) { display: grid; min-width: 0; }
.channel-label { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.channel-value { font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
.channel-arrow { margin-left: auto; color: var(--text-3); transition: transform .3s var(--ease), color .3s; }
.channel:hover { border-color: rgba(34,181,198,.4); background: rgba(34,181,198,.05); transform: translateX(3px); }
.channel:hover .channel-arrow { color: var(--cyan); transform: translateX(3px); }

.form { padding: clamp(24px, 3.5vw, 40px); }
.form-title { font-size: 1.25rem; margin-bottom: 24px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; margin-bottom: 16px; }
.field label { font-size: .88rem; font-weight: 600; color: var(--text-2); }
.field label span { color: var(--cyan); }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 10px; border: 1px solid var(--line-strong);
  background: rgba(5, 13, 21, .6); color: var(--text); font-size: 1rem;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #5f7384; }
.field input:hover, .field textarea:hover { border-color: rgba(255,255,255,.22); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(34,181,198,.14); background: rgba(5,13,21,.85); }
.field.has-error input, .field.has-error textarea { border-color: #e0777d; }
.field-error { min-height: 0; font-size: .82rem; color: #f0999e; }
.field-error:empty { display: none; }

.channel-pick { border: 0; padding: 0; margin: 6px 0 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.channel-pick legend { float: left; margin-right: 6px; font-size: .88rem; font-weight: 600; color: var(--text-2); }
.channel-pick label { position: relative; cursor: pointer; }
.channel-pick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.channel-pick span {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px;
  border: 1px solid var(--line-strong); font-size: .9rem; font-weight: 600; color: var(--text-2);
  transition: border-color .25s, background-color .25s, color .25s;
}
.channel-pick .ico { width: 17px; height: 17px; }
.channel-pick input:checked + span { border-color: var(--cyan); background: rgba(34,181,198,.1); color: var(--text); }
.channel-pick input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }

.form-note { margin-top: 16px; font-size: .82rem; color: var(--text-3); line-height: 1.55; }
.form-status { margin-top: 10px; font-size: .9rem; color: var(--green); font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-error { color: #f0999e; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--navy-900); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.footer-brand img { height: 42px; width: auto; margin-bottom: 20px; }
.footer-brand p { color: var(--text-3); max-width: 30ch; font-size: .95rem; }
.footer-col h2 { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: var(--text-3); font-size: .95rem; transition: color .2s; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--text-3); }
.footer-legal { font-size: .8rem; color: #5f7384; }
.to-top { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-strong); color: var(--text-2); transition: border-color .25s, color .25s; }
.to-top .ico { transform: rotate(-90deg); width: 18px; height: 18px; }
.to-top:hover { border-color: var(--cyan); color: var(--cyan); }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px;
  background: var(--green); color: #04131c;
  box-shadow: 0 12px 30px -12px rgba(0,0,0,.7);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .35s, transform .35s var(--ease), background-color .25s;
}
.wa-float .ico { width: 26px; height: 26px; }
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { background: #3cc79b; }

/* ---------- animação de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsivo ---------- */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillar:nth-child(3) { border-left: 0; }
  .pillar:nth-child(n+3) { border-top: 1px solid var(--line); }
  .timeline { grid-template-columns: 1fr; gap: 0; padding-left: 0; }
  .timeline::before, .timeline::after { display: none; }
  .step:not(:last-child)::before {
    content: ""; position: absolute; left: 22px; top: 46px; bottom: 0; width: 1.5px;
    background: var(--line-strong); transition: background-color .5s;
  }
  .step:has(+ .step.is-done)::before { background: linear-gradient(180deg, var(--cyan), var(--green)); }
  .step { display: grid; grid-template-columns: 46px 1fr; column-gap: 24px; padding-bottom: 36px; }
  .step:last-child { padding-bottom: 0; }
  .step-n { grid-row: span 2; margin-bottom: 0; }
  .step h3 { padding-top: 10px; }
  .step p { max-width: none; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .menu-toggle { display: inline-flex; }
  .header-cta, .header-restrita { display: none; }
  .brand img { height: 34px; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
    display: flex; flex-direction: column; justify-content: space-between;
    padding: 24px var(--gutter) calc(28px + env(safe-area-inset-bottom));
    background: rgba(7, 17, 27, .97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s, transform .35s var(--ease), visibility 0s .35s;
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .35s var(--ease); }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { padding: 18px 4px; font-size: 1.35rem; font-weight: 700; color: var(--text); border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-list a::after { display: none; }
  .nav-list a.is-active { color: var(--cyan); }
  .nav-mobile-extra { display: grid; gap: 20px; margin-top: 32px; }
  .nav-mobile-contacts { display: grid; gap: 8px; font-size: .95rem; color: var(--text-3); }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { background: rgba(7, 17, 27, .97); border-bottom-color: var(--line); }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 40px); padding-bottom: 80px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { max-width: 16ch; }
  .hero-visual { max-width: 560px; }
  .scroll-cue { display: none; }

  .about { grid-template-columns: 1fr; align-items: start; }
  .help { grid-template-columns: 1fr; }
  .help-panels { position: static; }
  .diff { grid-template-columns: 1fr; }
  .diff-head { position: static; }
  .areas { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
  .service-featured { grid-template-columns: 1fr; }
  .psb-row { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .psb-row > div:first-child { padding-top: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .eyebrow { font-size: .76rem; }
  .services, .areas, .pillars { grid-template-columns: 1fr; }
  .pillar { border-left: 0; }
  .pillar + .pillar { border-top: 1px solid var(--line); }
  .service { padding: 26px 22px 24px; }
  .service-featured { padding: 26px 22px; }
  .psb > div { grid-template-columns: 1fr; gap: 4px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .hero-actions .btn { flex: 1 1 100%; }
  .cta-actions .btn { flex: 1 1 100%; }
  .help-list button { padding: 16px 18px; font-size: .98rem; }
  .area { padding: 28px 22px; }
  .panel { padding: 14px 12px 12px; }
  .panel-log li:nth-child(n+3) { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .to-top { display: none; }
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

@media (hover: none) {
  .service:hover, .channel:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .flow .pulses, .integ-wires .w-pulse { display: none; }
  .panel { transform: none !important; }
}

/* =========================================================
   v2: especialidade ERP, resultados e conteúdo enxuto
   ========================================================= */
.pillar { display: flex; align-items: center; gap: 14px; padding: 26px 24px; }
.pillar .ico { margin-bottom: 0; }
.pillar h3 { margin-bottom: 0; font-size: 1rem; }

/* nó de destaque no hero */
.flow .node-rm rect { fill: rgba(47,179,138,.1); stroke: rgba(47,179,138,.55); }
.flow .node-rm text { font-weight: 700; }

/* serviços compactos */
.service .icon-box { margin-bottom: 22px; }
.service h3 { margin-bottom: 10px; }
.service-desc { margin-bottom: 20px; }
.service-result {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700;
  color: var(--green); background: rgba(47,179,138,.08); border: 1px solid rgba(47,179,138,.25);
}
.service-result .ico { width: 14px; height: 14px; }

/* especialidade: integração com ERP */
.spec { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.25fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.spec h2 { max-width: 18ch; }
.spec .checks { margin: 28px 0 32px; }
.integ {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(48px, 80px) auto minmax(32px, 52px) minmax(0, 1.5fr); align-items: center;
  padding: clamp(22px, 3vw, 32px); border-radius: 20px; border: 1px solid var(--line-strong);
  background:
    radial-gradient(70% 90% at 100% 50%, rgba(47,179,138,.1), transparent 60%),
    radial-gradient(50% 70% at 0% 50%, rgba(34,181,198,.08), transparent 60%),
    linear-gradient(180deg, rgba(14,35,54,.7), rgba(8,20,32,.8));
}
.integ-sys { display: grid; gap: 10px; }
.integ-sys li {
  display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px;
  border: 1px solid rgba(34,181,198,.22); background: rgba(34,181,198,.05); font-size: .86rem; font-weight: 600; white-space: nowrap;
}
.integ-sys .ico { width: 17px; height: 17px; color: var(--cyan); }
.integ-sys .ok { width: 7px; height: 7px; margin-left: auto; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(47,179,138,.15); }
/* fios desenhados via JS a partir da posição real de cada ponto */
.integ { position: relative; }
.integ > :not(.integ-wires) { position: relative; z-index: 1; }
.integ-gap { min-height: 180px; }
.integ-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 2 !important; }
.integ-wires .w-base { fill: none; stroke: rgba(34,181,198,.4); stroke-width: 1.5; stroke-dasharray: 3 5; animation: dash 1.2s linear infinite; }
.integ-wires .w-pulse {
  fill: none; stroke: var(--cyan); stroke-width: 2.4; stroke-linecap: round;
  filter: drop-shadow(0 0 4px rgba(34,181,198,.8));
  animation: wire 2.8s cubic-bezier(.45,.05,.55,.95) infinite; animation-delay: var(--delay, 0s);
}
.integ-wires .w-end { fill: var(--cyan); }
@keyframes dash { to { stroke-dashoffset: -16; } }
@keyframes wire { 0% { stroke-dashoffset: 16; opacity: 0; } 8% { opacity: 1; } 70% { stroke-dashoffset: calc(var(--len) * -1); opacity: 1; } 71%, 100% { stroke-dashoffset: calc(var(--len) * -1); opacity: 0; } }
.integ-sys .ok { animation: okPulse 2.8s ease-in-out infinite; animation-delay: var(--delay, 0s); }
@keyframes okPulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(47,179,138,.15); } 10% { box-shadow: 0 0 0 6px rgba(47,179,138,.3); } }
.integ-mag img { animation: magGlow 2.8s ease-in-out infinite; }
@keyframes magGlow { 0%, 60%, 100% { box-shadow: 0 0 0 6px rgba(34,181,198,.06), 0 0 40px -8px rgba(34,181,198,.5); } 75% { box-shadow: 0 0 0 9px rgba(34,181,198,.12), 0 0 56px -6px rgba(34,181,198,.8); } }
@keyframes dash { to { stroke-dashoffset: -18; } }
.integ-mag { display: grid; justify-items: center; gap: 8px; }
.integ-mag img { width: 64px; height: 64px; padding: 12px; border-radius: 18px; border: 1px solid rgba(34,181,198,.5); background: var(--navy-800); box-shadow: 0 0 0 6px rgba(34,181,198,.06), 0 0 40px -8px rgba(34,181,198,.5); }
.integ-mag span { font-size: .74rem; font-weight: 800; letter-spacing: .12em; color: var(--text-2); }
.integ-link { position: relative; height: 3px; margin: 0 -1px 20px; background: linear-gradient(90deg, var(--cyan), var(--green)); }
.integ-link span { position: absolute; top: -2px; left: 0; width: 16px; height: 7px; border-radius: 4px; background: #fff; opacity: .85; filter: blur(1px); animation: travel 1.6s linear infinite; }
.integ-link em { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: .68rem; font-weight: 800; letter-spacing: .12em; color: var(--green); }
@keyframes travel { from { left: 0; } to { left: calc(100% - 16px); } }
.integ-erp { border-radius: 16px; border: 1px solid rgba(47,179,138,.5); background: rgba(47,179,138,.07); padding: 16px; }
.integ-erp-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid rgba(47,179,138,.2); }
.integ-erp-head .ico { width: 22px; height: 22px; color: var(--green); }
.integ-erp-head strong { font-size: 1.15rem; letter-spacing: .02em; }
.integ-tag { margin-left: auto; white-space: nowrap; padding: 3px 10px; border-radius: 999px; font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: var(--green); color: #04131c; }
.integ-mods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.integ-mods li {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; padding: 10px; border-radius: 10px;
  background: rgba(5,13,21,.45); border: 1px solid rgba(255,255,255,.07); font-size: .78rem; font-weight: 700;
}
.integ-mods li span { min-width: 0; overflow-wrap: anywhere; }
.integ-mods .ico { width: 16px; height: 16px; color: var(--green); }
.integ-mods i { flex: 1 0 100%; height: 4px; border-radius: 3px; background: rgba(255,255,255,.07); overflow: hidden; }
.integ-mods b { display: block; height: 100%; border-radius: inherit; background: var(--grad); transform-origin: left; animation: fill 3.2s var(--ease) infinite; }
.integ-mods li:nth-child(2) b { animation-delay: .4s; }
.integ-mods li:nth-child(3) b { animation-delay: .8s; }
.integ-mods li:nth-child(4) b { animation-delay: 1.2s; }
@keyframes fill { 0% { transform: scaleX(0); } 55%, 85% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: .4; } }
.integ-run { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: .76rem; font-weight: 600; color: var(--text-2); }

/* hero: ecossistema */
.flow .orbit { fill: none; stroke: rgba(255,255,255,.07); stroke-dasharray: 2 6; }
.flow .sat .sat-c { fill: var(--navy-800); stroke: rgba(34,181,198,.35); stroke-width: 1.2; transition: stroke .3s, fill .3s; }
.flow .sat .sat-i { color: var(--cyan); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.flow .sat text { font-size: 12.5px; fill: var(--text-2); }
.flow .sat.is-hl .sat-c { fill: rgba(34,181,198,.14); stroke: var(--cyan); }
.flow .sat.is-hl text { fill: var(--text); }
.flow .hub rect { fill: rgba(47,179,138,.1); stroke: rgba(47,179,138,.55); stroke-width: 1.2; }
.flow .hub.is-hl rect { fill: rgba(47,179,138,.16); stroke: var(--green); }
.flow .hub text.sub { fill: var(--green); font-size: 10px; letter-spacing: .14em; }
.flow .hub-t { font-size: 24px !important; font-weight: 800 !important; letter-spacing: .04em; }
.flow .core-ring-2 { animation: spin 18s linear infinite; }

/* resultados */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.metric { padding: 26px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012)); }
.metric-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 26px; }
.metric h3 { font-size: 1rem; color: var(--text-2); font-weight: 600; }
.metric-val { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.metric-val b { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.metric-val .ico { width: 26px; height: 26px; padding: 4px; border-radius: 8px; color: var(--green); background: rgba(47,179,138,.12); stroke-width: 2.2; }
.metric[data-dir="down"] .metric-val .ico { transform: rotate(90deg); }
.metric[data-dir="up"] .metric-val .ico { transform: rotate(-90deg); }
.bars { display: grid; gap: 14px; }
.bar-row { display: grid; gap: 6px; }
.bar-row > span { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.bar { height: 10px; border-radius: 6px; background: rgba(255,255,255,.05); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: rgba(255,255,255,.22); transform-origin: left; transition: transform 1.2s var(--ease) .2s; }
.bar-mag i { background: var(--grad); }
.js .metric:not(.is-in) .bar i { transform: scaleX(0); }
.metrics-note { margin-top: 22px; font-size: .82rem; color: var(--text-3); }

/* diferenciais e áreas compactos */
.diff-list li { align-items: center; padding: 20px 4px; }
.diff-list h3 { margin-bottom: 0; }
.diff-list .ico { margin-top: 0; }
.area { display: flex; align-items: center; gap: 16px; padding: 28px 26px; }
.area .ico { margin-bottom: 0; }
.area h3 { margin-bottom: 0; }

@media (max-width: 1080px) {
  .metrics { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1200px) {
  .spec { grid-template-columns: 1fr; }
  .integ { max-width: 760px; }
}
@media (max-width: 640px) {
  .metrics { grid-template-columns: 1fr; }
  .integ { grid-template-columns: 1fr; justify-items: center; }
  .integ-sys { width: 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .integ-sys li { flex-direction: column; gap: 7px; padding: 12px 4px 10px; font-size: .74rem; text-align: center; white-space: normal; }
  .integ-sys .ok { margin: 2px auto 0; }
  .sys-long { display: none; }
  .integ-gap { min-height: 0; height: 64px; }
  .integ-erp { width: 100%; }
  .integ-link { width: 3px; height: 48px; margin: 8px 0; background: linear-gradient(180deg, var(--cyan), var(--green)); }
  .integ-link span { width: 7px; height: 14px; left: -2px; animation-name: travelY; }
  .integ-link em { top: 50%; left: 14px; transform: translateY(-50%); }
  @keyframes travelY { from { top: 0; } to { top: calc(100% - 14px); } }
  .pillar { padding: 20px 22px; }
}
